ws-soap-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Naggi Rao" <na...@softhome.net>
Subject Re: Jar Problem
Date Fri, 21 Dec 2001 00:57:30 GMT
I guess its in no way related to SOAP..
But try the following
1)DO a javap on that class (with the Jar in the CLASSPATH) manually and get
it to work..

2Write a small test Harness with a main() which calls that class
    main(String args[]){


System.out.println(com.sun.forte4j.persistence.internal.PersistenceCapable.g
etClass().getName());
    }

And get it to work..you would have figured out the error by then..

----- Original Message -----
From: "Chistian Lacetera" <ChristianLacetera.guest@intesabci.it>
To: <soap-dev@xml.apache.org>
Sent: Tuesday, December 18, 2001 3:00 AM
Subject: Jar Problem


> Hello,
>
> I'm try to use a jar package created with forteForJava 3.0 jarPackager
> with TomCat + Apache SOAP 2.2
> i put it into lib directory but when i call a Web Services the server
> return this message
>
> .<stackTrace>java.lang.NoClassDefFoundE
>   rror: com/sun/forte4j/persistence/internal/PersistenceCapable..at
> java.lang.ClassLoader.defineClass0(Native Method)..at
>   java.lang.ClassLoader.defineClass(ClassLoader.java:486)..at
> java.security.SecureClassLoader.defineClass(SecureClassLoade
>   r.java:111)..at
> java.net.URLClassLoader.defineClass(URLClassLoader.java:248)..at
> java.net.URLClassLoader.access$100(URLC
>   lassLoader.java:56)..at
> java.net.URLClassLoader$1.run(URLClassLoader.java:195)..at
> java.security.AccessController.doPriv
>   ileged(Native Method)..at
> java.net.URLClassLoader.findClass(URLClassLoader.java:188)..at
> java.lang.ClassLoader.loadClass
>   (ClassLoader.java:297)..at
> sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:286)..at
> java.lang.ClassLoader.loadC
>   lass(ClassLoader.java:253)..at
> java.lang.ClassLoader.loadClassInternal(ClassLoader.java:313)..at
> java.lang.Class.forName
>   0(Native Method)..at java.lang.Class.forName(Class.java:195)..at
> org.apache.soap.rpc.SOAPContext.loadClass(SOAPContext.j
>   ava:557)..at
>
org.apache.soap.server.http.ServerHTTPUtils.getTargetObject(ServerHTTPUtils.
java:274)..at
> org.apache.soap.p
>   roviders.RPCJavaProvider.locate(RPCJavaProvider.java:117)..at
> org.apache.soap.server.http.RPCRouterServlet.doPost(RPCRou
>   terServlet.java:285)..at
> javax.servlet.http.HttpServlet.service(HttpServlet.java:760)..at
> javax.servlet.http.HttpServlet
>   .service(HttpServlet.java:853)..at
>
org.apache.tomcat.core.ServletWrapper.doService(ServletWrapper.java:405)..at
> org.apac
>   he.tomcat.core.Handler.service(Handler.java:287)..at
> org.apache.tomcat.core.ServletWrapper.service(ServletWrapper.java:3
>   72)..at
>
org.apache.tomcat.core.ContextManager.internalService(ContextManager.java:81
2)..at
> org.apache.tomcat.core.Contex
>   tManager.service(ContextManager.java:758)..at
> org.apache.tomcat.service.http.HttpConnectionHandler.processConnection(Htt
>
>   pConnectionHandler.java:213)..at
>
org.apache.tomcat.service.TcpWorkerThread.runIt(PoolTcpEndpoint.java:416)..a
t
> org.apach
>   e.tomcat.util.ThreadPool$ControlRunnable.run(ThreadPool.java:501)..at
> java.lang.Thread.run(Thread.java:484).</stackTrace >
>
>
> the same files packaged manually works
>
> someone have suggestions ??
>
> Regards
>


Mime
View raw message