Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Java > Offending class: javax/servlet/Servlet.class

Reply
Thread Tools

Offending class: javax/servlet/Servlet.class

 
 
chamikara
Guest
Posts: n/a
 
      06-18-2004
Hi,

I'm trying to install a ebXML server (Massage Service Handler - MSH).
This is a opensource server from freebXML. I'm running this on Tomcat
and get the following error.

INFO: Installing web application at context path /msh from URL
jar:file:\Java\jwsdp-1.3\webapps\msh.war!/
Jun 18, 2004 5:18:05 PM org.apache.catalina.loader.WebappClassLoader
validateJarFile
INFO: validateJarFile(D:\Java\jwsdp-1.3\work\Catalina\localhost\msh\WEB-INF\lib\servlet.jar)
- jar not loaded. See Servlet Spec 2.3, section 9.7.2. Offending
class: javax/servlet/Servlet.class

The specification reads about overwriting J2SE servlet class from
J2EE. I have installed both and JWSDP also. However this error comes
from the Servlet.jar which is provided by the MSH.

If any one could help on this, I would be realy grateful.

regards
chami
 
Reply With Quote
 
 
 
 
Muz
Guest
Posts: n/a
 
      06-19-2004
> I'm trying to install a ebXML server (Massage Service Handler - MSH).

I wish I had my own Massage Service

> This is a opensource server from freebXML. I'm running this on Tomcat
> and get the following error.
>
> INFO: Installing web application at context path /msh from URL
> jar:file:\Java\jwsdp-1.3\webapps\msh.war!/
> Jun 18, 2004 5:18:05 PM org.apache.catalina.loader.WebappClassLoader
> validateJarFile
> INFO: validateJarFile(D:\Java\jwsdp-1.3\work\Catalina\localhost\msh\WEB-INF\lib\servlet.jar)
> - jar not loaded. See Servlet Spec 2.3, section 9.7.2. Offending
> class: javax/servlet/Servlet.class


What version of Tomcat are you using? It looks like Tomcat is trying
to load the servlet.jar from your MSH webapp which is not compatible
with Tomcat's own servlet.jar.

Take the servlet.jar out of the MSH war and redeploy/restart tomcat,
see what happens.
 
Reply With Quote
 
 
 
Reply

Thread Tools

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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
What is the offending non 'Content' control...? =?Utf-8?B?am9uZWZlcg==?= ASP .Net 1 01-26-2007 09:56 AM
Sony's 20 offending cd's identfied so far ellis_jay Computer Support 2 11-13-2005 08:48 PM
Getting to offending code from a stack trace murphy@murphysw.com ASP .Net 1 01-05-2005 03:03 PM



Advertisments