java.lang.NoClassDefFoundError: javax/xml/rpc/ServiceException

This is a discussion on java.lang.NoClassDefFoundError: javax/xml/rpc/ServiceException within the J2EE forums in Framework and Interface Programming category; I just wrote an EJB that calls the webservices from a JBoss App server. The EJB contains the WSDL Java classes and depends on the jaxrpc.jar I included the following JAR files in the C:\Sybase\EAServer\java\lib and C:\Sybase\EAServer\java\classes folders jaxrpc.jar commons-io-1.4.jar axis.jar wsdl4j-1.5.1.jar I currently get this error in the Jag Log: May 02 17:05:51 2008: Exception May 02 17:05:51 2008: in thread "Thread-0" May 02 17:05:51 2008: java.lang.NoClassDefFoundError: javax/xml/rpc/ServiceException May 02 17:05:51 2008: at com.kingsway.services.dsinterface._sk_DSInterface_ XpressionInterface.create(_sk_DSInterface_Xpressio nInterface.java:42) May 02 17:05:51 2008: ERROR: UNKNOWN (DSInterface/XpressionInterface/setSessionContext - constructor) May 02 17:05:51 2008: java.lang.NullPointerException May 02 17:05:51 2008: at com.kingsway.services.dsinterface._sk_DSInterface_ XpressionInterface.invoke(_sk_DSInterface_Xpressio nInterface.java:154) May ...

Go Back   Application Development Forum > Framework and Interface Programming > J2EE

Object Mix

Register FAQ Calendar Search Today's Posts Mark Forums Read
  #1  
Old 05-02-2008, 06:07 PM
BN
Guest
 
Default java.lang.NoClassDefFoundError: javax/xml/rpc/ServiceException

I just wrote an EJB that calls the webservices from a JBoss App server.
The EJB contains the WSDL Java classes and depends on the jaxrpc.jar

I included the following JAR files in the C:\Sybase\EAServer\java\lib and
C:\Sybase\EAServer\java\classes folders
jaxrpc.jar
commons-io-1.4.jar
axis.jar
wsdl4j-1.5.1.jar

I currently get this error in the Jag Log:
May 02 17:05:51 2008: Exception
May 02 17:05:51 2008: in thread "Thread-0"
May 02 17:05:51 2008: java.lang.NoClassDefFoundError:
javax/xml/rpc/ServiceException
May 02 17:05:51 2008: at
com.kingsway.services.dsinterface._sk_DSInterface_ XpressionInterface.create(_sk_DSInterface_Xpressio nInterface.java:42)
May 02 17:05:51 2008: ERROR: UNKNOWN
(DSInterface/XpressionInterface/setSessionContext - constructor)
May 02 17:05:51 2008: java.lang.NullPointerException
May 02 17:05:51 2008: at
com.kingsway.services.dsinterface._sk_DSInterface_ XpressionInterface.invoke(_sk_DSInterface_Xpressio nInterface.java:154)
May 02 17:05:51 2008: ERROR: UNKNOWN
(DSInterface/XpressionInterface/ejbRemove - destructor)
May 02 17:05:51 2008: SystemException: UNKNOWN
(DSInterface/XpressionInterface/createDocument - jagadmin@192.168.11.111)
NKNOWN (DSInterface/XpressionInterface/createDocument -
jagadmin@192.168.11.111)

And the test client gives this:
Remote Exception: CORBA UNKNOWN 0; nested exception is:
org.omg.CORBA.UNKNOWN: vmcid: 0x0 minor code: 0 completed: No

Do I need to add these JARs to the HTML folders as well to make this work?

Thanks,
Biju


Reply With Quote
Reply


Thread Tools
Display Modes


All times are GMT -5. The time now is 05:38 AM.


Powered by vBulletin® Version 3.7.2
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0
vB Ad Management by =RedTyger=

In an effort to better serve ads to our visitors, cookies are used on objectmix.com. For more information, check out our Privacy Policy.