You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by "Brzezinski, Paul J" <pa...@eds.com> on 2007/01/08 04:55:12 UTC

tomcat 5.5.20: /jsp-examples and /servlets-examples

I'm having trouble getting /jsp-examples and /servlets-examples
started/running.  

I'm not sure where to start troubleshooting.  I have searched the tomcat
site.  Manager & Admin app starts up OK.  

I feel like I'm just getting started, but don't know if the above is
related to the problem.  Suggestions, please?  

Platform: Solaris 8 UltraSPARC
JAVA_HOME=/usr/jdk/instances/jdk1.5.0 [JDK 1.5.0_10]


In the localhost.2007-01-07.log file [removed the stack-trace]:
SEVERE: Skipped installing application listeners due to previous
error(s)
Jan 7, 2007 8:07:30 PM org.apache.catalina.core.StandardContext
listenerStart
SEVERE: Error configuring application listener of class
listeners.ContextListener
java.lang.ClassFormatError: Extra bytes at the end of class file
listeners/ContextListener
Jan 7, 2007 8:07:30 PM org.apache.catalina.core.StandardContext
listenerStart
SEVERE: Error configuring application listener of class
listeners.SessionListener
java.lang.ClassFormatError: Extra bytes at the end of class file
listeners/SessionListener
Jan 7, 2007 8:07:30 PM org.apache.catalina.core.StandardContext
listenerStart
SEVERE: Skipped installing application listeners due to previous
error(s)
Jan 7, 2007 8:07:30 PM org.apache.catalina.core.StandardContext
listenerStart
SEVERE: Error configuring application listener of class
listeners.ContextListener
java.lang.ClassFormatError: Extra bytes at the end of class file
listeners/ContextListener
Jan 7, 2007 8:07:30 PM org.apache.catalina.core.StandardContext
listenerStart
SEVERE: Error configuring application listener of class
listeners.SessionListener
java.lang.ClassFormatError: Extra bytes at the end of class file
listeners/SessionListener
Jan 7, 2007 8:07:30 PM org.apache.catalina.core.StandardContext
listenerStart
SEVERE: Skipped installing application listeners due to previous
error(s)
Jan 7, 2007 8:07:30 PM org.apache.catalina.core.ApplicationContext log
Jan 7, 2007 8:10:40 PM org.apache.catalina.core.StandardContext
listenerStart
SEVERE: Error configuring application listener of class
listeners.ContextListener
java.lang.ClassFormatError: Extra bytes at the end of class file
listeners/ContextListener
Jan 7, 2007 8:10:41 PM org.apache.catalina.core.StandardContext
listenerStart
SEVERE: Error configuring application listener of class
listeners.SessionListener
java.lang.ClassFormatError: Extra bytes at the end of class file
listeners/SessionListener
Jan 7, 2007 8:10:41 PM org.apache.catalina.core.StandardContext
listenerStart
SEVERE: Skipped installing application listeners due to previous
error(s)
Jan 7, 2007 8:10:50 PM org.apache.catalina.core.StandardContext
listenerStart
SEVERE: Error configuring application listener of class
listeners.ContextListener
java.lang.ClassFormatError: Extra bytes at the end of class file
listeners/ContextListener
Jan 7, 2007 8:10:50 PM org.apache.catalina.core.StandardContext
listenerStart
SEVERE: Error configuring application listener of class
listeners.SessionListener
java.lang.ClassFormatError: Extra bytes at the end of class file
listeners/SessionListener
Jan 7, 2007 8:10:50 PM org.apache.catalina.core.StandardContext
listenerStart
SEVERE: Skipped installing application listeners due to previous
error(s)
Jan 7, 2007 8:11:00 PM org.apache.catalina.core.StandardContext
listenerStart
SEVERE: Error configuring application listener of class
listeners.ContextListener
java.lang.ClassFormatError: Extra bytes at the end of class file
listeners/ContextListener
Jan 7, 2007 8:11:00 PM org.apache.catalina.core.StandardContext
listenerStart
SEVERE: Error configuring application listener of class
listeners.SessionListener
java.lang.ClassFormatError: Extra bytes at the end of class file
listeners/SessionListener
Jan 7, 2007 8:11:00 PM org.apache.catalina.core.StandardContext
listenerStart
SEVERE: Skipped installing application listeners due to previous
error(s)
Jan 7, 2007 8:11:09 PM org.apache.catalina.core.StandardContext
listenerStart
SEVERE: Error configuring application listener of class
listeners.ContextListener
java.lang.ClassFormatError: Extra bytes at the end of class file
listeners/ContextListener
Jan 7, 2007 8:11:09 PM org.apache.catalina.core.StandardContext
listenerStart
SEVERE: Error configuring application listener of class
listeners.SessionListener
java.lang.ClassFormatError: Extra bytes at the end of class file
listeners/SessionListener
Jan 7, 2007 8:11:09 PM org.apache.catalina.core.StandardContext
listenerStart
SEVERE: Skipped installing application listeners due to previous
error(s)
Jan 7, 2007 8:17:22 PM org.apache.catalina.core.StandardContext
listenerStart
SEVERE: Error configuring application listener of class
listeners.ContextListener
java.lang.ClassFormatError: Extra bytes at the end of class file
listeners/ContextListener
Jan 7, 2007 8:17:22 PM org.apache.catalina.core.StandardContext
listenerStart
SEVERE: Error configuring application listener of class
listeners.SessionListener
java.lang.ClassFormatError: Extra bytes at the end of class file
listeners/SessionListener
Jan 7, 2007 8:17:22 PM org.apache.catalina.core.StandardContext
listenerStart
SEVERE: Skipped installing application listeners due to previous
error(s)

>From tomcat-5.5.20/logs/catalina.2007-01-07.log:
Jan 7, 2007 8:07:20 PM org.apache.coyote.http11.Http11BaseProtocol pause
INFO: Pausing Coyote HTTP/1.1 on http-8080
Jan 7, 2007 8:07:21 PM org.apache.catalina.core.StandardService stop
INFO: Stopping service Catalina
Jan 7, 2007 8:07:21 PM org.apache.coyote.http11.Http11BaseProtocol
destroy
INFO: Stopping Coyote HTTP/1.1 on http-8080
Jan 7, 2007 8:07:21 PM org.apache.catalina.core.AprLifecycleListener
lifecycleEvent
INFO: Failed shutdown of Apache Portable Runtime
Jan 7, 2007 8:07:28 PM org.apache.catalina.core.AprLifecycleListener
lifecycleEvent
INFO: The Apache Tomcat Native library which allows optimal performance
in production environments was not found on the java.library.path:
/usr/jdk/instances/jdk1.5.0/jre/lib/sparc/client:/usr/jdk/instances/jdk1
.5.0/jre/lib/sparc:/usr/jdk/instances/jdk1.5.0/jre/../lib/sparc::/usr/li
b
Jan 7, 2007 8:07:28 PM org.apache.coyote.http11.Http11BaseProtocol init
INFO: Initializing Coyote HTTP/1.1 on http-8080
Jan 7, 2007 8:07:28 PM org.apache.catalina.startup.Catalina load
INFO: Initialization processed in 1527 ms
Jan 7, 2007 8:07:28 PM org.apache.catalina.core.StandardService start
INFO: Starting service Catalina
Jan 7, 2007 8:07:28 PM org.apache.catalina.core.StandardEngine start
INFO: Starting Servlet Engine: Apache Tomcat/5.5.20
Jan 7, 2007 8:07:28 PM org.apache.catalina.core.StandardHost start
INFO: XML validation disabled
Jan 7, 2007 8:07:30 PM org.apache.catalina.core.StandardContext start
SEVERE: Error listenerStart
Jan 7, 2007 8:07:30 PM org.apache.catalina.core.StandardContext start
SEVERE: Context [/jsp-examples] startup failed due to previous errors
Jan 7, 2007 8:07:30 PM org.apache.catalina.core.StandardContext start
SEVERE: Error listenerStart
Jan 7, 2007 8:07:30 PM org.apache.catalina.core.StandardContext start
SEVERE: Context [/servlets-examples] startup failed due to previous
errors
Jan 7, 2007 8:07:31 PM org.apache.coyote.http11.Http11BaseProtocol start
INFO: Starting Coyote HTTP/1.1 on http-8080
Jan 7, 2007 8:07:31 PM org.apache.jk.common.ChannelSocket init
INFO: JK: ajp13 listening on /0.0.0.0:8009
Jan 7, 2007 8:07:31 PM org.apache.jk.server.JkMain start
INFO: Jk running ID=0 time=0/37  config=null
Jan 7, 2007 8:07:31 PM org.apache.catalina.storeconfig.StoreLoader load
INFO: Find registry server-registry.xml at classpath resource
Jan 7, 2007 8:07:31 PM org.apache.catalina.startup.Catalina start
INFO: Server startup in 3344 ms
Jan 7, 2007 8:10:41 PM org.apache.catalina.core.StandardContext start
SEVERE: Error listenerStart
Jan 7, 2007 8:10:41 PM org.apache.catalina.core.StandardContext start
SEVERE: Context [/servlets-examples] startup failed due to previous
errors
Jan 7, 2007 8:10:50 PM org.apache.catalina.core.StandardContext start
SEVERE: Error listenerStart
Jan 7, 2007 8:10:50 PM org.apache.catalina.core.StandardContext start
SEVERE: Context [/servlets-examples] startup failed due to previous
errors
Jan 7, 2007 8:11:00 PM org.apache.catalina.core.StandardContext start
SEVERE: Error listenerStart
Jan 7, 2007 8:11:00 PM org.apache.catalina.core.StandardContext start
SEVERE: Context [/jsp-examples] startup failed due to previous errors
Jan 7, 2007 8:11:09 PM org.apache.catalina.core.StandardContext start
SEVERE: Error listenerStart
Jan 7, 2007 8:11:09 PM org.apache.catalina.core.StandardContext start
SEVERE: Context [/servlets-examples] startup failed due to previous
errors
Jan 7, 2007 8:11:33 PM org.apache.struts.action.RequestProcessor
processMapping
SEVERE: Invalid path /login was requested
Jan 7, 2007 8:11:34 PM org.apache.struts.action.RequestProcessor
processMapping
SEVERE: Invalid path /login was requested
Jan 7, 2007 8:11:34 PM org.apache.struts.action.RequestProcessor
processMapping
SEVERE: Invalid path /login was requested
Jan 7, 2007 8:11:42 PM org.apache.struts.action.RequestProcessor
processMapping
SEVERE: Invalid path /frameset was requested
Jan 7, 2007 8:17:22 PM org.apache.catalina.core.StandardContext start
SEVERE: Error listenerStart
Jan 7, 2007 8:17:22 PM org.apache.catalina.core.StandardContext start
SEVERE: Context [/jsp-examples] startup failed due to previous errors

---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


RE: tomcat 5.5.20: /jsp-examples and /servlets-examples

Posted by "Brzezinski, Paul J" <pa...@eds.com>.
Thank you Chuck -- 

I rebuilt from source and this time everything works w/o problems.

Regards,
Paul

--
Paul.Brzezinski@EDS.com
Global Client Engineering - GM
EDS Corporation
248-365-9615


> -----Original Message-----
> From: Caldarale, Charles R [mailto:Chuck.Caldarale@unisys.com]
> Sent: Monday, January 08, 2007 12:53 AM
> To: Tomcat Users List
> Subject: RE: tomcat 5.5.20: /jsp-examples and /servlets-examples
> 
> > From: Brzezinski, Paul J [mailto:paul.brzezinski@eds.com]
> > Subject: tomcat 5.5.20: /jsp-examples and /servlets-examples
> >
> > SEVERE: Error configuring application listener of class
> > listeners.ContextListener
> > java.lang.ClassFormatError: Extra bytes at the end of class file
> > listeners/ContextListener
> 
> We had the same symptoms reported last March with the 5.5.16 Windows
> .exe download:
> http://issues.apache.org/bugzilla/show_bug.cgi?id=39041
> 
> The problem appears to have been caused by someone somewhere along the
> way doing an ASCII-mode FTP of the un-jar'd class files to a Windows
> box, and the Windows FTP client graciously converted all the line feed
> bytes to carriage return / line feed pairs.
> 
> Since 5.5.20 has been out for some time with no one else reporting
this
> problem, is it possible that your installation went through that kind
of
> scenario?  You might try downloading a fresh copy of 5.5.20 directly
> onto the Solaris box and see if the problem disappears.
> 
>  - Chuck
> 
> 
> THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE
PROPRIETARY
> MATERIAL and is thus for use only by the intended recipient. If you
> received this in error, please contact the sender and delete the
e-mail
> and its attachments from all computers.
> 
> ---------------------------------------------------------------------
> To start a new topic, e-mail: users@tomcat.apache.org
> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: users-help@tomcat.apache.org


---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


RE: tomcat 5.5.20: /jsp-examples and /servlets-examples

Posted by "Caldarale, Charles R" <Ch...@unisys.com>.
> From: Brzezinski, Paul J [mailto:paul.brzezinski@eds.com] 
> Subject: tomcat 5.5.20: /jsp-examples and /servlets-examples
> 
> SEVERE: Error configuring application listener of class
> listeners.ContextListener
> java.lang.ClassFormatError: Extra bytes at the end of class file
> listeners/ContextListener

We had the same symptoms reported last March with the 5.5.16 Windows
.exe download:
http://issues.apache.org/bugzilla/show_bug.cgi?id=39041

The problem appears to have been caused by someone somewhere along the
way doing an ASCII-mode FTP of the un-jar'd class files to a Windows
box, and the Windows FTP client graciously converted all the line feed
bytes to carriage return / line feed pairs.

Since 5.5.20 has been out for some time with no one else reporting this
problem, is it possible that your installation went through that kind of
scenario?  You might try downloading a fresh copy of 5.5.20 directly
onto the Solaris box and see if the problem disappears.

 - Chuck


THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY
MATERIAL and is thus for use only by the intended recipient. If you
received this in error, please contact the sender and delete the e-mail
and its attachments from all computers.

---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org