You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by pharish2 <ph...@gmail.com> on 2008/12/03 11:52:32 UTC

tomcat 6.0 problem with weblogic.jar

Hi 
I am using weblogic.jar and api.jar in my project and when i try to run it
from the tomcat 6.0.14, I am getting this error in console 
ile
INFO:
validateJarFile(C:\apache-tomcat-6.0.14\webapps\DinahGui\WEB-INF\lib\api.j
ar) - jar not loaded. See Servlet Spec 2.3, section 9.7.2. Offending class:
java
x/servlet/Servlet.class
Dec 3, 2008 4:20:59 PM org.apache.catalina.loader.WebappClassLoader
validateJarF
ile
INFO:
validateJarFile(C:\apache-tomcat-6.0.14\webapps\DinahGui\WEB-INF\lib\weblo
gic.jar) - jar not loaded. See Servlet Spec 2.3, section 9.7.2. Offending
class:
 javax/servlet/Servlet.class


I tried running my project - i got class not found exception(weblogic.jar)
is not loaded

can any one has faced similar problem. can you please suggest me

Thanks
harish
-- 
View this message in context: http://www.nabble.com/tomcat-6.0-problem-with-weblogic.jar-tp20810683p20810683.html
Sent from the Tomcat - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
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 6.0 problem with weblogic.jar

Posted by Juha Laiho <Ju...@iki.fi>.
Mark Thomas wrote:
> pharish2 wrote:
>> java.lang.NoClassDefFoundError: weblogic/wsee/jaxrpc/ServiceImpl
>> 	java.lang.ClassLoader.defineClass1(Native Method)
>> 	java.lang.ClassLoader.defineClass(ClassLoader.java:620)
>> 	java.security.SecureClassLoader.defineClass(SecureClassLoader.java:124)
>>
>> I am getting this exception in tomcat
> 
> Then you need to find a jar that provides that class but does not include
> any of the servlet or jsp API classes.

There's also the potential legal issue of using weblogic.jar without
using the rest of WebLogic, i.e. using weblogic.jar without buying the
server license from Oracle. IANAL, but I would be very wary of using
a setup like this. Corporate licensing spats are not something to be
involved in.
-- 
..Juha

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


Re: tomcat 6.0 problem with weblogic.jar

Posted by Mark Thomas <ma...@apache.org>.
pharish2 wrote:
> java.lang.NoClassDefFoundError: weblogic/wsee/jaxrpc/ServiceImpl
> 	java.lang.ClassLoader.defineClass1(Native Method)
> 	java.lang.ClassLoader.defineClass(ClassLoader.java:620)
> 	java.security.SecureClassLoader.defineClass(SecureClassLoader.java:124)
> 
> I am getting this exception in tomcat

Then you need to find a jar that provides that class but does not include
any of the servlet or jsp API classes.

Mark



---------------------------------------------------------------------
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 6.0 problem with weblogic.jar

Posted by pharish2 <ph...@gmail.com>.
java.lang.NoClassDefFoundError: weblogic/wsee/jaxrpc/ServiceImpl
	java.lang.ClassLoader.defineClass1(Native Method)
	java.lang.ClassLoader.defineClass(ClassLoader.java:620)
	java.security.SecureClassLoader.defineClass(SecureClassLoader.java:124)

I am getting this exception in tomcat

Harish

-- 
View this message in context: http://www.nabble.com/tomcat-6.0-problem-with-weblogic.jar-tp20810683p20812001.html
Sent from the Tomcat - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
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 6.0 problem with weblogic.jar

Posted by Mark Thomas <ma...@apache.org>.
pharish2 wrote:
> Hi 
> I am using weblogic.jar and api.jar in my project and when i try to run it
> from the tomcat 6.0.14, I am getting this error in console 
> ile
> INFO:
> validateJarFile(C:\apache-tomcat-6.0.14\webapps\DinahGui\WEB-INF\lib\api.j
> ar) - jar not loaded. See Servlet Spec 2.3, section 9.7.2. Offending class:
> java
> x/servlet/Servlet.class
> Dec 3, 2008 4:20:59 PM org.apache.catalina.loader.WebappClassLoader
> validateJarF
> ile
> INFO:
> validateJarFile(C:\apache-tomcat-6.0.14\webapps\DinahGui\WEB-INF\lib\weblo
> gic.jar) - jar not loaded. See Servlet Spec 2.3, section 9.7.2. Offending
> class:
>  javax/servlet/Servlet.class
> 
> 
> I tried running my project - i got class not found exception(weblogic.jar)
> is not loaded
> 
> can any one has faced similar problem. can you please suggest me

Web applications are not permitted to include API classes in their lib
directory. Without the JAR, exactly what error message do you see?

Mark



---------------------------------------------------------------------
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