[kaffe] tomcat3.2.3 doesn't work properly on Kaffe-1.0.6-6
Godmar Back
gback@stanford.edu
Thu, 20 Jun 2002 15:16:54 -0600 (MDT)
Btw, if you don't want to wait for Dalibor to check in the proper
1.2 application class loader stuff, you could also resurrect a change
Tim had suggested 4 years ago; see
$ cvs diff -r1.2 -r1.3 Class.java
I had rejected it back then because it broke JDK 1.1 compatibility,
but I suppose that's no longer important. Back then, some applications
relied on the opposite behavior (i.e., getClassLoader() returning null).
This might fix the breakage with zero classloaders passed to Hashtable.put.
- Godmar
>
> Hi, All.
>
> I'm now testing Apache SOAP 2.2 and TOMCAT 3.2.3 on Red Hat Linux 7.2.
> to make simple Web Services.
>
> They work well on Sun's JDK1.3.1. Then I tried to use Kaffe-1.0.6-6 as
> JVM instead of Sun's JDK, and I found it doesn't work. I saw follwing
> errors.
>
> 2002-06-12 11:27:20 - Ctx( /apache-soap ): Exception in init null - java.lang.NullPointerException
> at java.lang.Throwable.fillInStackTrace(Throwable.java:native)
> at java.lang.Throwable.<init>(Throwable.java:33)
> at java.lang.Exception.<init>(Exception.java:20)
> at java.lang.RuntimeException.<init>(RuntimeException.java:17)
> at java.lang.NullPointerException.<init>(NullPointerException.java:17)
> at java.util.Hashtable.put(Hashtable.java:104)
> at org.apache.tomcat.core.Context.setAttribute(Context.java:411)
> at org.apache.tomcat.facade.ServletContextFacade.setAttribute(ServletContextFacade.java:116)
> at org.apache.soap.server.http.ServerHTTPUtils.setServletClassLoaderIntoContext
> (ServerHTTPUtils.java:144)
> at org.apache.soap.server.http.RPCRouterServlet.init(RPCRouterServlet.java:173)
> at javax.servlet.GenericServlet.init(GenericServlet.java:258)
> at org.apache.tomcat.core.ServletWrapper.doInit(ServletWrapper.java:317)
> at org.apache.tomcat.core.Handler.init(Handler.java:215)
> at org.apache.tomcat.core.ServletWrapper.init(ServletWrapper.java:296)
> at org.apache.tomcat.core.Handler.service(Handler.java:254)
> at org.apache.tomcat.core.ServletWrapper.service(ServletWrapper.java:372)
> at org.apache.tomcat.core.ContextManager.internalService(ContextManager.java:812)
> at org.apache.tomcat.core.ContextManager.service(ContextManager.java:758)
> at org.apache.tomcat.service.http.HttpConnectionHandler.processConnection
> (HttpConnectionHandler.java:213)
> at org.apache.tomcat.service.TcpWorkerThread.runIt(PoolTcpEndpoint.java:416)
> at org.apache.tomcat.util.ThreadPool$ControlRunnable.run(ThreadPool.java:501)
> at java.lang.Thread.run(Thread.java:325)
>
> I'm not sure, but I guess tomcat's servlets are not compatible with
> Kaffe because it is rated as JDK1.1 compatible.
>
> I thought it possible to get old versions tomcat, but actually they
> don't have such old modules on their web site anymore.
>
> Are there any work arounds ? Any comments would be appreciated.
>
> Best regards,
> Tatsuya Tsurukawa
>
>
> ----
> Tatsuya turukawa@isl.melco.co.jp
>
> _______________________________________________
> kaffe mailing list
> kaffe@kaffe.org
> http://kaffe.org/cgi-bin/mailman/listinfo/kaffe
>