Re: Does JDK1.3 works with Tomcat?

2001-03-22 Thread Holger Eichelberger

Jack Li wrote:
 
 Hello,
 Does JDK1.3 works with tomcat. My beans do not work with JDK1.3. Error
 message says can't find the class. But all these beans works fine with
 JDK1.1.8. Any ideas?
 
 Thanks,
 Jack Li

It runs with JDK1.3, even with Sun JDK 1.3.1 beta on Linux. If you are
working on linux/solaris don't use /usr/lib/java..., use
/usr/java/jdk1.3/bin

Holger.



T3.2.2 b1, C2 and Resource not found (404)

2001-03-22 Thread Holger Eichelberger


I've installed Tomcat 3.2.2 beta 1 with mod_jk on apache-1.3.17-0 and
Cocoon2 as a build from the latest CVS sources. Tomcat runs with apache
(localhost:8080 and localhost/admin works) but when accessing an xml
file in the cocoon samples directory I get

type resource-not-found

message Resource not found

description The requested URI "/cocoon/docs/samples/samples.xml" was not
found.

sender org.apache.cocoon.servlet.CocoonServlet

source Cocoon servlet

request-uri

/cocoon/docs/samples/samples.xml

path-info

docs/samples/samples.xml

In the log files the following lines appears:

cocoon.log
DEBUG   6432[cocoon  ] (Thread-24): Sitemap regeneration complete
DEBUG   6432[cocoon  ] (Thread-24): The sitemap has been
successfully compiled!
DEBUG   6433[cocoon  ] (Thread-21): Changing Cocoon
context(sitemap.xmap) to prefix()
DEBUG   6434[cocoon  ] (Thread-21): from
context(file:/opt/jakarta-tomcat-3.2.2b1/webapps/cocoon/) and prefix()
DEBUG   6434[cocoon  ] (Thread-21): at URI
docs/samples/samples.xml
DEBUG   6435[cocoon  ] (Thread-21): New context is
file:/opt/jakarta-tomcat-3.2.2b1/webapps/cocoon/
INFO6488[cocoon  ] (Thread-21): 'docs/samples/samples.xml'
Processed by Apache Cocoon 2.0a4 in 5.552 seconds. 

mod_jk.log
[jk_uri_worker_map.c (184)]: In
jk_uri_worker_map_t::uri_worker_map_free, NULL parameters
[jk_uri_worker_map.c (184)]: In
jk_uri_worker_map_t::uri_worker_map_free, NULL parameters

httpd/access_log
127.0.0.1 - - [23/Mar/2001:08:50:45 +0100] "GET
/cocoon/docs/samples/samples.xml HTTP/1.0" 404 814 

Thanks for any helpful comments.

Holger