Re: [tcljava-user] Problem with init.tcl
Brought to you by:
mdejong
From: D. J. H. <dha...@mi...> - 2001-01-22 05:17:24
|
Well, I can help you rule out JDK 1.3 as the culprit. I've written some servlets using Jacl Interp objects with JDK 1.3 and they work well, as long as the tcljava.jar and jacl.jar files are in the WEB-INF/lib/ directory in my .war file when installed on Tomcat, or in the JDK 1.3 boot classpath by putting the jars under $JAVA_HOME/jre/lib/ext/ perhaps this is mostly a classpath issue with the EJB container? Are you deploying from a .ear file (not that I could really help you with this as I haven't done much with EJB's...). More info on your environment may help, as I think your environment is the culprit here... -=- D. J. Vikram Rajan wrote: > I am using the Tcl Interpreter inside a Stateless session bean. On > initialization of the interpreter: > > Interp interp = new Interp(); > > a TCLException is being thrown which says: > > javax.transaction.TransactionRolledbackException: tcl.lang.TclRuntimeError: > unexpected TclException: tcl.lang.TclException: cannot read resource > "/tcl/lang/library/init.tcl" > > I have both jacl.jar and tcljava.jar in my class path. I cannot figure out > why it is giving me this exception. I am using JDK1.3 ... could that be a > problem? But simple console Java applications are running using JDK1.3. |