Hello,
When i directly typed the URL in the browser the following message
showed up. Could u pls help.


-----------------------------------------------------------------------------------------------------------------------------------------------
500 Internal Server Error
The servlet named invoker at the requested URL

http://192.168.0.97:8080/servlet/PWS_Submodule
reported this exception: java.lang.VerifyError. Please report this to
the administrator of the web server.

java.lang.VerifyError at
java.lang.ClassLoader.resolveClass(ClassLoader.java:237) at
com.sun.server.loader.ServletClassLoader.loadClass(ServletClassLoader.java:316)

at
com.sun.server.loader.JarClassLoader.loadClass(JarClassLoader.java:603)

at java.lang.ClassLoader.loadClass(Compiled Code) at
com.sun.server.loader.ClassLoaderFactory.checkHashForLoader(Compiled
Code) at
com.sun.server.loader.ClassLoaderFactory.getClassFromLoader(ClassLoaderFactory.java:985)

at com.sun.server.loader.ClassLoaderFactory.instantiateClass(Compiled
Code) at
com.sun.server.ServletManager.instantiateLocalServlet(ServletManager.java:513)

at
com.sun.server.ServletManager.instantiateServlet(ServletManager.java:474)

at com.sun.server.ServletManager.loadServlet(ServletManager.java:689)
at com.sun.server.ServletManager.loadServlet(ServletManager.java:606)
at
com.sun.server.ServletManager.getAndLoadServletState(ServletManager.java:819)

at
com.sun.server.ServletManager.getAndLoadServletState(ServletManager.java:802)

at com.sun.server.ServletMa
nager.callServletService(Compiled Code) at
com.sun.server.http.servlet.InvokerServlet.service(InvokerServlet.java:137)

at javax.servlet.http.HttpServlet.service(HttpServlet.java:840) at
com.sun.server.ServletState.callService(ServletState.java:226) at
com.sun.server.ServletManager.callServletService(Compiled Code) at
com.sun.server.ProcessingState.invokeTargetServlet(ProcessingState.java:423)

at
com.sun.server.http.HttpProcessingState.execute(HttpProcessingState.java:79)

at com.sun.server.http.stages.Runner.process(Runner.java:79) at
com.sun.server.ProcessingSupport.process(Compiled Code) at
com.sun.server.Service.process(Service.java:204) at
com.sun.server.http.HttpServiceHandler.handleRequest(HttpServiceHandler.java:374)

at com.sun.server.http.HttpServiceHandler.handleRequest(Compiled Code)
at com.sun.server.HandlerThread.run(Compiled Code)
--------------------------------------------------------------------------------------------------------------------------------------------

thanks
donny.




"Rob Griffin" <[EMAIL PROTECTED]> on 01/18/2001 10:02:42 AM

To:   "Servlets" <[EMAIL PROTECTED]>
cc:   <[EMAIL PROTECTED]>
Subject:  RE: urgent...


Donny,

What is the URL that you used?

IE returns FileNotFoundException when it can't connect
to the given URL. Try typing the servlet URL directly
into the browser and see what you get.

Also I'd be inclined to set the content type to
application/octet-stream.

And on a final note it's better if you use a more
meaningful subject. Urgent isn't going to make anyone
reply, either they have time or they don't.

Regards,

Rob Griffin
Quest Software

E-mail: [EMAIL PROTECTED]
Web site: http://www.quest.com

> -----Original Message-----
> From: A mailing list for discussion about Sun Microsystem's Java
Servlet
> API Technology. [mailto:[EMAIL PROTECTED]]On Behalf Of
Donny
> Philip
> Sent: Thursday, 18 January 2001 15:12
> To: [EMAIL PROTECTED]
> Subject: urgent...
>
>
> Scenario.
> Applet to servlet communication.
> Protocol used is http.
> Jdk 1.3 used for java
> Servlets on Java Web Server
>
> Code.
> ------------------------------------------------------------------
> --------------------------------------------------------
>    URLConnection con = ser.openConnection();
>    try{
>    con.setRequestProperty("Content-Type","java-internal"
+objs.getClass
> ().getName());
>    ObjectOutputStream out = new
ObjectOutputStream(con.getOutputStream
> ());
>     out.writeObject(objs);
>    out.flush();
>    out.close();
>
>    }
>    catch(Exception e)
>    {
>      System.out.println("Exception is =========>"+e);
>      e.printStackTrace();
>    }
>
>
>
> Exception is
> (occours on the  out.flush() statement)..
> ------------------------------------------------------------------
> --------------------------------------------------------------
> Exception is =========>java.io.FileNotFoundException:
> 192.168.0.97:8080//servlet/PWS_Submodule
> java.io.FileNotFoundException:
192.168.0.97:8080//servlet/PWS_Submodule
>      at com/ms/net/wininet/http/HttpInputStream.connect
> (HttpInputStream.java)
>      at com/ms/net/wininet/http/HttpInputStream.<init>
> (HttpInputStream.java)
>      at
> com/ms/net/wininet/http/HttpURLConnection.createInputStream
> (HttpURLConnection.java)
>      at com/ms/net/wininet/WininetURLConnection.getInputStream
> (WininetURLConnection.java)
>      at com/ms/net/wininet/http/HttpPostBufferStream.close
> (HttpPostBufferStream.java)
>      at java/io/ObjectOutputStream.close (ObjectOutputStream.java)
>      at PWG_ServletWriter.postObjects (PWG_ServletWriter.java:37)
>      at PWG_DatabaseProxy.exchangeDataWithServlet
> (PWG_DatabaseProxy.java:25)
>      at PWA_SubModule_Mnt.init (PWA_SubModule_Mnt.java:149)
>      at com/ms/applet/AppletPanel.securedCall0 (AppletPanel.java)
>      at com/ms/applet/AppletPanel.securedCall (AppletPanel.java)
>      at com/ms/applet/AppletPanel.processSentEvent
(AppletPanel.java)
>      at com/ms/applet/AppletPanel.processSentEvent
(AppletPanel.java)
>      at com/ms/applet/AppletPanel.run (AppletPanel.java)
>      at java/lang/Thread.run (Thread.java)
>
>
> Could you pls help me out
>
>
> thanks and regards
> Donny.
>
> __________________________________________________________________
> _________
> To unsubscribe, send email to [EMAIL PROTECTED] and include
> in the body
> of the message "signoff SERVLET-INTEREST".
>
> Archives:
http://archives.java.sun.com/archives/servlet-interest.html
> Resources:
http://java.sun.com/products/servlet/external-resources.html
> LISTSERV Help: http://www.lsoft.com/manuals/user/user.html
>

___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".

Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html

Reply via email to