You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tapestry.apache.org by "Howard M. Lewis Ship" <hl...@attbi.com> on 2003/02/07 22:29:10 UTC

RE: [Tapestry-developer] Running on Weblogic 5.1

A complete stack trace (should be part of the exception report) would be
useful.
 
 
It looks to me like maybe WebLogic 5.1 doesn't set the
Thread.contextClassLoader property.  Tapestry needs that set so that the
Tapestry code, in the system classpath, can see the classes available in the
WAR (which is in a child classloader).
 
With a little work, you can repackage the tutorial.war to include all the
Tapestry libraries (again, watch out for naming).  You may even be able to
"sneak" them in; WebLogic creates an "exploded war" directory for deployed
war files; you may be able to copy libraries there. 
 
 

--
Howard M. Lewis Ship
Creator, Tapestry: Java Web Components
http://jakarta.apache.org/proposals/tapestry



-----Original Message-----
From: tapestry-developer-admin@lists.sourceforge.net
[mailto:tapestry-developer-admin@lists.sourceforge.net] On Behalf Of Joel
Trunick
Sent: Friday, February 07, 2003 3:44 PM
To: 'tapestry-developer@lists.sourceforge.net'
Subject: [Tapestry-developer] Running on Weblogic 5.1




OK, so now I'm attempting Weblogic 5.1 anyway. 

I've tried to run the tutorial on Weblogic 5.1. It can't seem to find the
".application" files in the .war file. I'm getting the following exception,
for every ".application" file that needs to be loaded:

javax.servlet.ServletException: Could not locate application specification
/tutorial/hello/HelloWorld.application. 
... 

Here's my path: 
set
TAPESTRY=c:\Tapestry\Tapestry-2.3-rc-1\lib\net.sf.tapestry-2.3-rc-1.jar;c:\T
apestry\Tapestry-2.3-rc-1\lib\net.sf.tapestry.contrib-2.3-rc-1.jar;C:\Tapest
ry\Tapestry-2.3-rc-1\lib\ext\commons-logging-1.0.2.jar;C:\Tapestry\Tapestry-
2.3-rc-1\lib\ext\commons-lang-1.0.jar;C:\Tapestry\Tapestry-2.3-rc-1\lib\ext\
log4j-1.2.6.jar;C:\Tapestry\Tapestry-2.3-rc-1\lib\ext\javax.xml.jaxp.jar;C:\
Tapestry\Tapestry-2.3-rc-1\lib\ext\org.apache.crimson.jar;C:\Tapestry\Tapest
ry-2.3-rc-1\lib\ext\jakarta-oro-2.0.6.jar;C:\Tapestry\Tapestry-2.3-rc-1\lib\
ext\ognl-2.3.0-opt.jar

I've declared the .war file in the .properties file (apparently correctly,
since it is attempting to load it). Any ideas?


Joel