You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by mel kravitz <me...@switchpwr.com> on 2005/04/14 21:21:40 UTC
graph.jsp exception non-j2sdk as JAVA_HOME
Hi,
On alpha arch- debian-unstable , 2.6.10 kernel, there is no j2sdk port
to this arch, using sablevm.org
java -version:
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
javac -version:
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.
------- ------
with jakarta-tomcat-5.0.19, sh catalina.sh run starts server all is
well, my application uses mysql-connector for database use, i have one
problem with graphing encoder -graph.jsp call to sun :
<jakarta log:>
[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/307
config=/home/mel/jakarta-tomcat-5.0.19/conf/jk2.p roperties
[INFO] Catalina - -Server startup in 100482 ms
[ERROR] Compiler - -Error compiling file:
/home/mel/jakarta-tomcat-5.0.19/work/Catalina/localh
ost/_//org/apache/jsp/prodGraph_jsp.java [javac] Since compiler
setting isn't classic or m odern,ignoring fork setting.
[javac] Compiling 1 source file
[javac] Since compiler setting isn't classic or modern,ignoring fork
setting.
[javac] Found 3 semantic errors compiling
"/home/mel/jakarta-tomcat-5.0.19/work/Catalina/l
ocalhost/_/org/apache/jsp/prodGraph_jsp.java":
[javac] 9. import com.sun.image.codec.jpeg.*;
[javac] ^----------------------^
[javac] *** Semantic Error: You need to modify your classpath,
sourcepath, bootclasspath, and/or extdirs setup. Jikes could not find
package "com.sun.image.codec.jpeg" in:
[javac] /usr/local/share/sablevm-classpath
[javac]
/usr/local/share/sablevm-classpath/libclasspath.jar
[javac] /usr/local/share/sablevm-classpath/resources.jar
[javac] /home/mel/jakarta-tomcat-5.0.19/bin/bootstrap.jar
[javac]
/home/mel/jakarta-tomcat-5.0.19/bin/commons-logging-api.jar
[javac] /usr/local/lib/sablevm/jre/lib/rt.jar
......etc error continues.
any help here welcome.., any recommendations on a 'free encoder' to call
in my graph_jsp.java that will compile with my javac? seems that this
will be a 'bigger' problem with free (non-sun) compilers.
Best -Mel
---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org