Win a copy of Practice Tests for OCP Java 17 Certification Exam (1Z0-829) this week in the OCPJP forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Tim Cooke
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Liutauras Vilda
Sheriffs:
  • Rob Spoor
  • Junilu Lacar
  • paul wheaton
Saloon Keepers:
  • Stephan van Hulst
  • Tim Moores
  • Tim Holloway
  • Carey Brown
  • Scott Selikoff
Bartenders:
  • Piet Souris
  • Jj Roberts
  • fred rosenberger

internal Servlet Error??? Pls help me urgently ATTN: George Brown also

 
Ranch Hand
Posts: 92
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
dear all,

i am have deployed a servlet called "Transaction_Servlet" in the weblogic/myserver/servletclasses directory and also included this path in the classpath.
I also have several servlets running under this directoru so i think that all configurations are correct.
I am getting this peculiar exception thrown when I try to invoke the above mentioned servlet through an html page.
I am trying to access the database through this servlet. The database connection is working fine on the network.
Pls help me urgently

please do let me know as to what does this error specify and what does it means.
Tue Mar 06 12:53:24 GMT+05:30 2001:<I> <WebLogicServer> WebLogic Server started
Tue Mar 06 12:53:38 GMT+05:30 2001:<I> <ListenThread> Adding address: sagar_serv
er/192.168.1.74 to licensed client list
Tue Mar 06 12:53:38 GMT+05:30 2001:<I> <NT Performance Pack> Allocating: '2' NT
reader threads
Tue Mar 06 12:53:40 GMT+05:30 2001:<I> <ServletContext-General> file: init
Tue Mar 06 12:53:40 GMT+05:30 2001:<E> <ServletContext-General> Servlet failed w
ith Exception
java.net.SocketException: socket write error (code=10053)
at java.net.SocketOutputStream.socketWrite(Native Method)
at java.net.SocketOutputStream.write(SocketOutputStream.java:87)
at weblogic.servlet.internal.ChunkUtils.writeChunks(ChunkUtils.java, Com
piled Code)
at weblogic.servlet.internal.ServletOutputStreamImpl.flush(ServletOutput
StreamImpl.java:121)
at weblogic.servlet.internal.ServletOutputStreamImpl.writeStream(Servlet
OutputStreamImpl.java, Compiled Code)
at weblogic.servlet.FileServlet.sendFile(FileServlet.java:199)
at weblogic.servlet.FileServlet.service(FileServlet.java:56)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:865)
at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubIm
pl.java:105)
at weblogic.servlet.internal.ServletContextImpl.invokeServlet(ServletCon
textImpl.java:742)
at weblogic.servlet.internal.ServletContextImpl.invokeServlet(ServletCon
textImpl.java:686)
at weblogic.servlet.internal.ServletContextManager.invokeServlet(Servlet
ContextManager.java:247)
at weblogic.socket.MuxableSocketHTTP.invokeServlet(MuxableSocketHTTP.jav
a:361)
at weblogic.socket.MuxableSocketHTTP.execute(MuxableSocketHTTP.java:261)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java, Compiled Code)
Tue Mar 06 12:53:55 GMT+05:30 2001:<E> <ServletContext-General> Error loading se
rvlet: Transaction_Servlet
java.lang.NoClassDefFoundError: com/brokat/twister/toolkit/accessor/TTAccessorWr
apper
at java.lang.ClassLoader.resolveClass0(Native Method)
at java.lang.ClassLoader.resolveClass(ClassLoader.java:545)
at weblogic.utils.classloaders.GenericClassLoader.reallyLoadClass(Generi
cClassLoader.java, Compiled Code)
at weblogic.utils.classloaders.RecursiveReloadOnModifyClassLoader$Slave.
loadClass(RecursiveReloadOnModifyClassLoader.java:234)
at weblogic.utils.classloaders.GenericClassLoader.loadClass(GenericClass
Loader.java:146)
at weblogic.utils.classloaders.RecursiveReloadOnModifyClassLoader.findLo
calClass(RecursiveReloadOnModifyClassLoader.java:109)
at weblogic.utils.classloaders.GenericClassLoader.reallyLoadClass(Generi
cClassLoader.java, Compiled Code)
at weblogic.utils.classloaders.GenericClassLoader.loadClass(GenericClass
Loader.java:172)
at weblogic.utils.classloaders.GenericClassLoader.loadClass(GenericClass
Loader.java:146)
at weblogic.servlet.internal.ServletStubImpl.prepareServlet(ServletStubI
mpl.java:291)
at weblogic.servlet.internal.ServletStubImpl.getServlet(ServletStubImpl.
java:164)
at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubIm
pl.java:99)
at weblogic.servlet.internal.ServletContextImpl.invokeServlet(ServletCon
textImpl.java:742)
at weblogic.servlet.internal.ServletContextImpl.invokeServlet(ServletCon
textImpl.java:686)
at weblogic.servlet.internal.ServletContextManager.invokeServlet(Servlet
ContextManager.java:247)
at weblogic.socket.MuxableSocketHTTP.invokeServlet(MuxableSocketHTTP.jav
a:361)
at weblogic.socket.MuxableSocketHTTP.execute(MuxableSocketHTTP.java:261)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java, Compiled Code)
Tue Mar 06 12:53:55 GMT+05:30 2001:<E> <ServletContext-General> Servlet failed w
ith Exception
javax.servlet.ServletException: Servlet class: Transaction_Servlet could not be
resolved - a class upon which this class depends wasn't found
at weblogic.servlet.internal.ServletStubImpl.prepareServlet(ServletStubI
mpl.java:305)
at weblogic.servlet.internal.ServletStubImpl.getServlet(ServletStubImpl.
java:164)
at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubIm
pl.java:99)
at weblogic.servlet.internal.ServletContextImpl.invokeServlet(ServletCon
textImpl.java:742)
at weblogic.servlet.internal.ServletContextImpl.invokeServlet(ServletCon
textImpl.java:686)
at weblogic.servlet.internal.ServletContextManager.invokeServlet(Servlet
ContextManager.java:247)
at weblogic.socket.MuxableSocketHTTP.invokeServlet(MuxableSocketHTTP.jav
a:361)
at weblogic.socket.MuxableSocketHTTP.execute(MuxableSocketHTTP.java:261)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java, Compiled Code)

Cheers

Sagar
 
Ranch Hand
Posts: 532
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
This part: "javax.servlet.ServletException: Servlet class: Transaction_Servlet could not be
resolved - a class upon which this class depends wasn't found"
indicates you probably have a classpath problem.
 
Ranch Hand
Posts: 46
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
java.lang.NoClassDefFoundError: com/brokat/twister/toolkit/accessor/TTAccessorWrapper
If you are using weblogic51, you need put class about either in classpath or weblogic.class.path in your startup script.
 
Ranch Hand
Posts: 229
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Dear guys,
Even I am having the same problem...whereas my examples work fine...when i write my own servlet and try to access it ....weblogic gives EXACTLY SAME ERROR....if it is class path problem...what has to be put in class path......pls tell or what else could be the problem....
thanks in advance,
Harpal
 
Harpal Singh
Ranch Hand
Posts: 229
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Dear Friends,
pls donot take the pain to answer this ques coz i solved the problem
thanks,
Harpal
 
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hey Harpal,
Could you please tell me how you resolved the problem?
Thanks
Venkat
 
pie. tiny ad:
Building a Better World in your Backyard by Paul Wheaton and Shawn Klassen-Koop
https://coderanch.com/wiki/718759/books/Building-World-Backyard-Paul-Wheaton
reply
    Bookmark Topic Watch Topic
  • New Topic