The Artima Developer Community
Sponsored Link

Java Answers Forum
Non Application Error: plz help me

1 reply on 1 page. Most recent reply: Sep 6, 2006 4:09 AM by Matthias Neumair

Welcome Guest
  Sign In

Go back to the topic listing  Back to Topic List Click to reply to this topic  Reply to this Topic Click to search messages in this forum  Search Forum Click for a threaded view of the topic  Threaded View   
Previous Topic   Next Topic
Flat View: This topic has 1 reply on 1 page
Anand Mohan Sravanam

Posts: 1
Nickname: anand7504
Registered: Sep, 2006

Non Application Error: plz help me Posted: Sep 6, 2006 3:39 AM
Reply to this message Reply
Advertisement
Hi friends,

I am using WSAD 5.1.1 in windows environament. I have a stateless sessionbean having textFileCreator() method in EJBProject that uses a java class ELUWS14 having a method eluws14() which returns a HashMap. This class is in WebProject. I am getting the following error while invoking the Stateless Session bean.

Could any One help me.

Advance thanks.

[9/6/06 12:42:08:500 IST] 5145b290 ExceptionUtil E CNTR0020E: Non-application exception occurred while processing method "txtFileCreator" on bean "BeanId(DefaultEAR#ProtoMVC2EJB.jar#XMLDomReader, null)". Exception data: java.lang.NoClassDefFoundError: com/sound/delegator/service/message/ELUWS14
at com.sound.bean.XMLDomReader.txtFileCreator(XMLDomR eader.java:75)
at com.sound.bean.EJSRemoteStatelessXMLDomReader_ac07 dc27.txtFileCreator(EJSRemoteStatelessXMLDomReader _ac07dc27.java:22)
at com.sound.bean._XMLDomReaderRemote_Stub.txtFileCre ator(_XMLDomReaderRemote_Stub.java:255)
at com.sound.delegator.service.message.MessageRequest orDelegator.load(MessageRequestorDelegator.java:18 2)
at com.sound.delegator.service.message.MessageRequest orDelegator.process(MessageRequestorDelegator.java :106)
at com.sound.controller.TaskController.executeTask(Ta skController.java:108)
at com.sound.controller.SDRControlServlet.performTask (SDRControlServlet.java:143)
at com.sound.controller.SDRControlServlet.doPost(SDRC ontrolServlet.java:83)
at javax.servlet.http.HttpServlet.service(HttpServlet .java:760)
at javax.servlet.http.HttpServlet.service(HttpServlet .java:853)
at com.ibm.ws.webcontainer.servlet.StrictServletInsta nce.doService(StrictServletInstance.java:110)
at com.ibm.ws.webcontainer.servlet.StrictLifecycleSer vlet._service(StrictLifecycleServlet.java:174)
at com.ibm.ws.webcontainer.servlet.IdleServletState.s ervice(StrictLifecycleServlet.java:313)
at com.ibm.ws.webcontainer.servlet.StrictLifecycleSer vlet.service(StrictLifecycleServlet.java:116)
at com.ibm.ws.webcontainer.servlet.ServletInstance.se rvice(ServletInstance.java:283)
at com.ibm.ws.webcontainer.servlet.ValidServletRefere nceState.dispatch(ValidServletReferenceState.java: 42)
at com.ibm.ws.webcontainer.servlet.ServletInstanceRef erence.dispatch(ServletInstanceReference.java:40)
at com.ibm.ws.webcontainer.webapp.WebAppRequestDispat cher.handleWebAppDispatch(WebAppRequestDispatcher. java:974)
at com.ibm.ws.webcontainer.webapp.WebAppRequestDispat cher.dispatch(WebAppRequestDispatcher.java:555)
at com.ibm.ws.webcontainer.webapp.WebAppRequestDispat cher.forward(WebAppRequestDispatcher.java:200)
at com.ibm.ws.webcontainer.srt.WebAppInvoker.doForwar d(WebAppInvoker.java:119)
at com.ibm.ws.webcontainer.srt.WebAppInvoker.handleIn vocationHook(WebAppInvoker.java:276)
at com.ibm.ws.webcontainer.cache.invocation.CachedInv ocation.handleInvocation(CachedInvocation.java:71)
at com.ibm.ws.webcontainer.srp.ServletRequestProcesso r.dispatchByURI(ServletRequestProcessor.java:182)
at com.ibm.ws.webcontainer.oselistener.OSEListenerDis patcher.service(OSEListener.java:334)
at com.ibm.ws.webcontainer.http.HttpConnection.handle Request(HttpConnection.java:56)
at com.ibm.ws.http.HttpConnection.readAndHandleReques t(HttpConnection.java:618)
at com.ibm.ws.http.HttpConnection.run(HttpConnection. java:439)
at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.j ava:593)


Matthias Neumair

Posts: 660
Nickname: neumi
Registered: Sep, 2003

Re: Non Application Error: plz help me Posted: Sep 6, 2006 4:09 AM
Reply to this message Reply
"java.lang.NoClassDefFoundError"
That means that a class could not be found.

In this case it's the class "com/sound/delegator/service/message/ELUWS14"

If you called the class by it's name (using a String) you should replace "/" with "." in your sourcecode. I could also be wrong, it's a while since I encountered this error.

Also make sure that the path to the jar file containing this class is in included your classpath variable.

Flat View: This topic has 1 reply on 1 page
Topic: Framework to generate Word doc / PPT Previous Topic   Next Topic Topic: JavaScript Contest

Sponsored Links



Google
  Web Artima.com   

Copyright © 1996-2019 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use