RE: [tcljava-user] Problem with init.tcl
Brought to you by:
mdejong
From: Vikram R. <Vi...@PL...> - 2001-01-22 07:00:08
|
Well, it is not JDK 1.3. Thats for sure now. I did get it working. It was a Weblogic classloader problem. We need to have the tcljava.jar and jacl.jar in our JAVA_CLASSPATH and not the WEBLOGIC_CLASSPATH. The weblogic classloader has problems in finding the init.tcl file within the jacl.jar. - Vikram Rajan > -----Original Message----- > From: D. J. Hagberg [SMTP:dha...@mi...] > Sent: Monday, January 22, 2001 10:38 AM > To: tcl...@li... > Cc: dh...@mi... > Subject: Re: [tcljava-user] Problem with init.tcl > > 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. > > _______________________________________________ > tcljava-user mailing list > tcl...@li... > http://lists.sourceforge.net/lists/listinfo/tcljava-user |