Java Web Server uses jdk1.1.7 as default
to use jdk 1.2.2
start web server with httpdnojre -javahome <jdk1.2.2's path>
like httpdnojre -javahome c:\jdk1.2.2
----- Original Message -----
From: Fernand Gonzalez <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, June 13, 2000 2:26 AM
Subject: Help me with JavaWebServer and Java 2
> Hi:
>
> I hav an applet in Java 2 (jdk1.2.2). When I try to run with Java Web
> Server 2.0, the JWS send me an error:
> 500 Internal Server Error
> > The servlet named invoker at the requested URL
> >
> > http://127.0.0.1:8080/servlet/sertvletTest
> > reported this exception: javax/swing/table/DefaultTableModel. Please
> report this to the administrator of the web server.
> >
> > java.lang.NoClassDefFoundError: javax/swing/table/DefaultTableModel at
> varios.servletTest.service(servletTest.java:29) at
> javax.servlet.http.HttpServlet.service(Compiled Code) at
> com.sun.server.ServletState.callService(Compiled Code) at
> com.sun.server.ServletManager.callServletService(Compiled Code) at
>
com.sun.server.http.servlet.InvokerServlet.service(InvokerServlet.java:137)
> at javax.servlet.http.HttpServlet.service(Compiled Code) at
> com.sun.server.ServletState.callService(Compiled Code) 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)
>
>
> I read the release notes from JWS 2.0 and I find this:
>
> > Known Issues
> > a.. Using the JavaTM 2 SDK (formerly code-named "JDK 1.2")
> > Windows platforms:
> > a.. When running Java Web Server with Java 2, you might get an
> exception and have the Java Web Server fail to start after creating a
server
> certificate with the authstore utility.
> > The exception will look similar to the following:
> >
> > Exception in thread "main" java.lang.NoClassDefFoundError:
> com/sun/server/util/
> > ErrorMessages
> > at
com.sun.server.util.ErrorMessages.class$(ErrorMessages.java:31)
> > at
> com.sun.server.util.ErrorMessages.<clinit>(ErrorMessages.java:33)
> > at com.sun.server.ServerProcess.<clinit>(ServerProcess.java:51)
> > at java.lang.Class.forName0(Native Method)
> > at java.lang.Class.forName(Compiled Code)
> > at sun.security.Login.getClass(Login.java:78)
> > at sun.security.Login.main(Compiled Code)
> >
> > To avoid this problem, disable the JIT. (Note that disabling the JIT
> will have a negative impact on performance.) To disable the JIT, start the
> server using the jserv startup script and specify
> "-vmargs -Djava.compiler=NONE". For example:
> > jserv -javahome d:\jdk1.2 -vmargs -Djava.compiler=NONE
> --------------------------------------------------------------------
>
> I try this and it Works but the performance of my applet slow down.
>
> Somebody knows a way to use the JIT and my applet with Java 2 and avoid
the
> JWS error Msg?
>
> Please, help me!!
> Thank you
> Sincerly
> Fernand
>
>
___________________________________________________________________________
> 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