Re: jakarta-tomcat-5.0.27 on alpha arch

mel kravitz <[email protected]> Thu, 31 Mar 2005 15:43:48 -0500
Newsgroups gmane.comp.java.vm.sablevm.general,gmane.linux.debian.ports.alpha
Message-ID <[email protected]>
Hi, and thanks!
I reviewed in detail what i have and recompiled sablevm-1.11.3, with 
.configure --with-threading=direct ,my java -V:
casey99:/home/mel# java -V
SableVM version 1.11.3
- compile date and time: 2005-03-31 19:12:02 UTC
- gcc version: 3.3.5 (Debian 1:3.3.5-8)
- 'real life brokenness' features enabled
- signal based exception detection
- copying garbage collection
- bidirectional object layout
- direct-threaded interpreter
my javac -V:
casey99:/home/mel# javac -V
Jikes Compiler - Version 1.22 - 3 October 2004
Copyright (C) IBM Corporation 1997-2003, 2004.
- Licensed Materials - Program Property of IBM - All Rights Reserved.
Originally written by Philippe Charles and David Shields of IBM Research,
Jikes is now maintained and refined by the Jikes Project at:
<http://ibm.com/developerworks/opensource/jikes>
Please consult this URL for more information and for reporting problems.

I down graded to Jakarta-tomcat-5.0.19 and modified ../conf/web.xml
to use 'compiler -> jikes'
i now get:
casey99:/home/mel/jakarta-tomcat-5.0.19/bin# export 
JAVA_OPTS="-Dorg.apache.commons.logging.Log=org.apache.commons.logging.impl.SimpleLog"
casey99:/home/mel/jakarta-tomcat-5.0.19/bin# sh catalina.sh run
Using CATALINA_BASE:   /home/mel/jakarta-tomcat-5.0.19
Using CATALINA_HOME:   /home/mel/jakarta-tomcat-5.0.19
Using CATALINA_TMPDIR: /home/mel/jakarta-tomcat-5.0.19/temp
Using JAVA_HOME:       /usr/local/lib/sablevm
[INFO] Http11Protocol - -Initializing Coyote HTTP/1.1 on port 8080
[INFO] Catalina - -Initialization processed in 10624 ms
[INFO] StandardService - -Starting service Catalina
[INFO] StandardEngine - -Starting Servlet Engine: Apache Tomcat/5.0.19
[INFO] StandardHost - -XML validation disabled
[INFO] StandardHost - -Create Host deployer for direct deployment ( 
non-jmx )
[INFO] StandardHostDeployer - -Processing Context configuration file URL 
file:/home/mel/jakarta-tomcat-5.0.19/conf/Catalina/localhost/admin.xml
[INFO] PropertyMessageResources - -Initializing, 
config='org.apache.struts.util.LocalStrings', returnNull=true
[INFO] PropertyMessageResources - -Initializing, 
config='org.apache.struts.action.ActionResources', returnNull=true
[INFO] PropertyMessageResources - -Initializing, 
config='org.apache.webapp.admin.ApplicationResources', returnNull=true
[INFO] StandardHostDeployer - -Processing Context configuration file URL 
file:/home/mel/jakarta-tomcat-5.0.19/conf/Catalina/localhost/balancer.xml
[INFO] StandardHostDeployer - -Processing Context configuration file URL 
file:/home/mel/jakarta-tomcat-5.0.19/conf/Catalina/localhost/manager.xml
[INFO] StandardHostDeployer - -Installing web application at context 
path  from URL file:/home/mel/jakarta-tomcat-5.0.19/webapps/ROOT
[INFO] StandardHostDeployer - -Installing web application at context 
path /jsp-examples from URL 
file:/home/mel/jakarta-tomcat-5.0.19/webapps/jsp-examples
[INFO] StandardHostDeployer - -Installing web application at context 
path /servlets-examples from URL 
file:/home/mel/jakarta-tomcat-5.0.19/webapps/servlets-examples
[INFO] StandardHostDeployer - -Installing web application at context 
path /tomcat-docs from URL 
file:/home/mel/jakarta-tomcat-5.0.19/webapps/tomcat-docs
[INFO] StandardHostDeployer - -Installing web application at context 
path /webdav from URL file:/home/mel/jakarta-tomcat-5.0.19/webapps/webdav
[INFO] Http11Protocol - -Starting Coyote HTTP/1.1 on port 8080
[INFO] ChannelSocket - -JK2: ajp13 listening on 0.0.0.0/0.0.0.0:8009
[INFO] JkMain - -Jk running ID=0 time=3/309  
config=/home/mel/jakarta-tomcat-5.0.19/conf/jk2.properties
[INFO] Catalina - -Server startup in 101388 ms
---> it runs fine, all the jsp examples/servlet examples compile. including
jsp-examples/jsp2/misc/config.jsp [would previous crash jakarta]
Best -Mel




Grzegorz B. Prokopski wrote:

>Hi,
>
>It seems the jikes problem is gone, now the server really starts to
>start up.
>
>Please see:
>   http://sablevm.org/lists/sablevm-user/2005-March/000225.html
>  
>
Yes, but i need jakarta-tomcat-5*  for servlet2.4

>for a description of how to successfully start up Tomcat on SableVM.
>It seems, however, that there were problems starting up actual
>applications in it :-(
>
>In case it didn't help, could you please file a bug report at
>http://sablevm.org/bugs/new ?
>
>We're finishing Debugging Interface implemantation in SableVM (see
>screenshots on the web page) and finding out what this problem is would
>be a good field-test for it.
>
>Thank you for your help and patience,
>
>			Grzegorz B. Prokopski
>
>  
>
>>[INFO] StandardHostDeployer - Installing web application at context path 
>>/webdav from URL file:/home/mel/jakarta-tomcat-5.0.27/webapps/webdav
>>[INFO] Http11Protocol - Starting Coyote HTTP/1.1 on http-8080
>>java.lang.NullPointerException
>>    
>>
>
>  
>
>>-> ? now what, any comments welcome, jikes-V reports:
>>casey99:/home/mel/jakarta-tomcat-5.0.27/bin# jikes -V
>>Jikes Compiler - Version 1.22 - 3 October 2004
>>Copyright (C) IBM Corporation 1997-2003, 2004.
>>- Licensed Materials - Program Property of IBM - All Rights Reserved.
>>Originally written by Philippe Charles and David Shields of IBM Research,
>>Jikes is now maintained and refined by the Jikes Project at:
>><http://ibm.com/developerworks/opensource/jikes>
>>Please consult this URL for more information and for reporting problems.
>>    
>>
>
>  
>