Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > Java > Java Open Source > Apache Tomcat
Password Reminder
Register
| FAQ | Members List | Search | Today's Posts | Mark Forums Read
Apache Tomcat General discussion of the Apache Tomcat servlet container. For discussions specific to the Professional Apache Tomcat book, please see the book discussion forum for that book.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Apache Tomcat section of the Wrox Programmer to Programmer discussions. This is a community of tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developers’ questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
Reply
 
Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old October 13th, 2005, 10:26 AM
Authorized User
 
Join Date: Jul 2003
Location: , , .
Posts: 62
Thanks: 0
Thanked 0 Times in 0 Posts
Default why I can't visit Tomcat5.5.12 (Urgent)

I install Tomcat5.5.12 using file "apache-tomcat-5.5.12.zip",then I start Tomcat using this file apache-tomcat-5.5.12\bin\startup.bat,It show information follows:
2005-10-13 19:18:46 org.apache.commons.logging.impl.Jdk14Logger info
Info: The Apache Portable Runtime which allows optimal performance in production environments was not found on the java.library.path: c:\jdk1.5.0_04\bin;C:\WINNT;
2005-10-13 19:18:47 org.apache.commons.logging.impl.Jdk14Logger info
Info: Initializing Coyote HTTP/1.1 on http-8080
2005-10-13 19:18:47 org.apache.commons.logging.impl.Jdk14Logger info
Info: Initialization processed in 2969 ms
2005-10-13 19:18:48 org.apache.commons.logging.impl.Jdk14Logger info
info: Starting service Catalina

Then I open IE,and input http://localhost:8080,
But IE6 raise follows error:

Exception report
message
description The server encountered an internal error () that prevented it from fulfilling this request.
exception
javax.servlet.ServletException: Error allocating a servlet instance
org.apache.catalina.valves.ErrorReportValve.invoke (ErrorReportValve.java:105)
org.apache.catalina.connector.CoyoteAdapter.servic e(CoyoteAdapter.java:148)
org.apache.coyote.http11.Http11Processor.process(H ttp11Processor.java:868)
org.apache.coyote.http11.Http11BaseProtocol$Http11 ConnectionHandler.processConnection(Http11BaseProt ocol.java:663)
org.apache.tomcat.util.net.PoolTcpEndpoint.process Socket(PoolTcpEndpoint.java:527)
org.apache.tomcat.util.net.LeaderFollowerWorkerThr ead.runIt(LeaderFollowerWorkerThread.java:80)
org.apache.tomcat.util.threads.ThreadPool$ControlR unnable.run(ThreadPool.java:684)
java.lang.Thread.run(Thread.java:595)
root cause
java.lang.NoClassDefFoundError: org/apache/jasper/runtime/JspSourceDependent
java.lang.ClassLoader.defineClass1(Native Method)
java.lang.ClassLoader.defineClass(ClassLoader.java :620)
java.security.SecureClassLoader.defineClass(Secure ClassLoader.java:124)
java.net.URLClassLoader.defineClass(URLClassLoader .java:260)
java.net.URLClassLoader.access$100(URLClassLoader. java:56)
java.net.URLClassLoader$1.run(URLClassLoader.java: 195)
java.security.AccessController.doPrivileged(Native Method)
java.net.URLClassLoader.findClass(URLClassLoader.j ava:188)
java.lang.ClassLoader.loadClass(ClassLoader.java:3 06)
java.lang.ClassLoader.loadClass(ClassLoader.java:2 99)
sun.misc.Launcher$AppClassLoader.loadClass(Launche r.java:268)
java.lang.ClassLoader.loadClass(ClassLoader.java:2 51)
org.apache.catalina.loader.WebappClassLoader.loadC lass(WebappClassLoader.java:1253)
org.apache.catalina.loader.WebappClassLoader.loadC lass(WebappClassLoader.java:1187)
org.apache.catalina.valves.ErrorReportValve.invoke (ErrorReportValve.java:105)
org.apache.catalina.connector.CoyoteAdapter.servic e(CoyoteAdapter.java:148)
org.apache.coyote.http11.Http11Processor.process(H ttp11Processor.java:868)
org.apache.coyote.http11.Http11BaseProtocol$Http11 ConnectionHandler.processConnection(Http11BaseProt ocol.java:663)
org.apache.tomcat.util.net.PoolTcpEndpoint.process Socket(PoolTcpEndpoint.java:527)
org.apache.tomcat.util.net.LeaderFollowerWorkerThr ead.runIt(LeaderFollowerWorkerThread.java:80)
org.apache.tomcat.util.threads.ThreadPool$ControlR unnable.run(ThreadPool.java:684)
java.lang.Thread.run(Thread.java:595)

Why Tomcat raise "Info: The Apache Portable Runtime which allows optimal performance in production environments was not found on the java.library.path: c:\jdk1.5.0_04\bin;C:\WINNT"
Why I can't visit Tomcat? My JDK is 1.5.0_04-b05.

How to configure my Tomcat5.5.12? Please help me!

Thanks in advance!!!


Reply With Quote
  #2 (permalink)  
Old November 30th, 2005, 09:56 AM
Registered User
 
Join Date: Nov 2005
Location: , , .
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default

hi friend,
 i think you are not installed java or jdk what ever it is.first install it and then try using tomcat.
i hope it will work for u
regards
srinivas

Reply With Quote
  #3 (permalink)  
Old November 30th, 2005, 01:13 PM
Registered User
 
Join Date: Nov 2005
Location: bhimavaram, Andhra Pradesh, India.
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via Yahoo to balarkavelidi
Default

 hi King,

         U better have the environment path variable set first before u start the Tomcat5 server.This can be set by right clicking on MyComputer->properties->Advanced(tab)->Environment Variables-> type JAVA_HOME on the first field and the jdk installation directory on the value field.This may help u i hope.

bye.






Quote:
quote:Originally posted by Edward King
 I install Tomcat5.5.12 using file "apache-tomcat-5.5.12.zip",then I start Tomcat using this file apache-tomcat-5.5.12\bin\startup.bat,It show information follows:
2005-10-13 19:18:46 org.apache.commons.logging.impl.Jdk14Logger info
Info: The Apache Portable Runtime which allows optimal performance in production environments was not found on the java.library.path: c:\jdk1.5.0_04\bin;C:\WINNT;
2005-10-13 19:18:47 org.apache.commons.logging.impl.Jdk14Logger info
Info: Initializing Coyote HTTP/1.1 on http-8080
2005-10-13 19:18:47 org.apache.commons.logging.impl.Jdk14Logger info
Info: Initialization processed in 2969 ms
2005-10-13 19:18:48 org.apache.commons.logging.impl.Jdk14Logger info
info: Starting service Catalina

Then I open IE,and input http://localhost:8080,
But IE6 raise follows error:

Exception report
message
description The server encountered an internal error () that prevented it from fulfilling this request.
exception
javax.servlet.ServletException: Error allocating a servlet instance
org.apache.catalina.valves.ErrorReportValve.invoke (ErrorReportValve.java:105)
org.apache.catalina.connector.CoyoteAdapter.servic e(CoyoteAdapter.java:148)
org.apache.coyote.http11.Http11Processor.process(H ttp11Processor.java:868)
org.apache.coyote.http11.Http11BaseProtocol$Http11 ConnectionHandler.processConnection(Http11BaseProt ocol.java:663)
org.apache.tomcat.util.net.PoolTcpEndpoint.process Socket(PoolTcpEndpoint.java:527)
org.apache.tomcat.util.net.LeaderFollowerWorkerThr ead.runIt(LeaderFollowerWorkerThread.java:80)
org.apache.tomcat.util.threads.ThreadPool$ControlR unnable.run(ThreadPool.java:684)
java.lang.Thread.run(Thread.java:595)
root cause
java.lang.NoClassDefFoundError: org/apache/jasper/runtime/JspSourceDependent
java.lang.ClassLoader.defineClass1(Native Method)
java.lang.ClassLoader.defineClass(ClassLoader.java :620)
java.security.SecureClassLoader.defineClass(Secure ClassLoader.java:124)
java.net.URLClassLoader.defineClass(URLClassLoader .java:260)
java.net.URLClassLoader.access$100(URLClassLoader. java:56)
java.net.URLClassLoader$1.run(URLClassLoader.java: 195)
java.security.AccessController.doPrivileged(Native Method)
java.net.URLClassLoader.findClass(URLClassLoader.j ava:188)
java.lang.ClassLoader.loadClass(ClassLoader.java:3 06)
java.lang.ClassLoader.loadClass(ClassLoader.java:2 99)
sun.misc.Launcher$AppClassLoader.loadClass(Launche r.java:268)
java.lang.ClassLoader.loadClass(ClassLoader.java:2 51)
org.apache.catalina.loader.WebappClassLoader.loadC lass(WebappClassLoader.java:1253)
org.apache.catalina.loader.WebappClassLoader.loadC lass(WebappClassLoader.java:1187)
org.apache.catalina.valves.ErrorReportValve.invoke (ErrorReportValve.java:105)
org.apache.catalina.connector.CoyoteAdapter.servic e(CoyoteAdapter.java:148)
org.apache.coyote.http11.Http11Processor.process(H ttp11Processor.java:868)
org.apache.coyote.http11.Http11BaseProtocol$Http11 ConnectionHandler.processConnection(Http11BaseProt ocol.java:663)
org.apache.tomcat.util.net.PoolTcpEndpoint.process Socket(PoolTcpEndpoint.java:527)
org.apache.tomcat.util.net.LeaderFollowerWorkerThr ead.runIt(LeaderFollowerWorkerThread.java:80)
org.apache.tomcat.util.threads.ThreadPool$ControlR unnable.run(ThreadPool.java:684)
java.lang.Thread.run(Thread.java:595)

Why Tomcat raise "Info: The Apache Portable Runtime which allows optimal performance in production environments was not found on the java.library.path: c:\jdk1.5.0_04\bin;C:\WINNT"
Why I can't visit Tomcat? My JDK is 1.5.0_04-b05.

How to configure my Tomcat5.5.12? Please help me!

Thanks in advance!!!


vbalarka.
Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
want to convert date from 01/12/07 to 12-Jan-2007 hurperl Perl 1 April 12th, 2007 05:47 AM
puzzled with tomcat5.5.9 Edward King Apache Tomcat 1 September 21st, 2005 02:00 AM
Why Tomcat5.5.9 can't work? Edward King Apache Tomcat 1 August 12th, 2005 06:03 AM
visit Access Database error Edward King JSP Basics 1 March 28th, 2004 12:09 AM
about visit c-api 6cet6 VS.NET 2002/2003 0 March 25th, 2004 06:59 AM



All times are GMT -4. The time now is 07:03 PM.


Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.