You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cocoon.apache.org by AK...@burntsand.com on 2001/02/06 19:22:39 UTC
Problem installing on Web Logic
I 've installed Cocoon 1.8.2 on WebLogic 6.0 on a NT machine and when I
tried accessing http://localhost:7001/cocoon/Cocoon.xml
<http://localhost:7001/cocoon/Cocoon.xml>
it worked fine. However, when I tried running the sample application :
http://localhost:7001/cocoon/samples/index.xml
<http://localhost:7001/cocoon/samples/index.xml> , I get the error message
given after the text in red. Any ideas of what the problem could be - the
classpath seems to be set correctly as indicated by the following output
(in red) on the console.
ANy positive feedback from you will greatly be appreciated
Thanks
D:\bea\wlserver6.0>set PATH=.\bin;D:\OraHome1\bin;C:\Program
Files\Oracle\jre\1.1.7\bin;C:\WINNT\system32
;C:\WINNT;D:\OraHome1\orb\bin
D:\bea\wlserver6.0>set cocoon_home=d:\cocoon-1.8.2
D:\bea\wlserver6.0>set
CLASSPATH=.;d:\bea\jdk130\lib\tools.jar;\lib\ejb20.jar;.\lib\weblogic_sp.jar
;.\lib
\weblogic.jar;d:\cocoon-1.8.2\bin\cocoon.jar;d:\cocoon-1.8.2\lib\xerces_1_2.
jar;d:\cocoon-1.8.2\lib\xalan
_1_2_D02.jar;d:\cocoon-1.8.2\lib\fop_0_15_0.jar;d:\cocoon-1.8.2\lib\turbine-
pool.jar;d:\cocoon-1.8.2\lib\
w3c.jar;
D:\bea\wlserver6.0>REM ORIGINAL set
CLASSPATH=.;.\lib\weblogic_sp.jar;.\lib\weblogic.jar
D:\bea\wlserver6.0>"d:\bea\jdk130\bin\java" -hotspot -ms64m -mx64m
-classpath .;d:\bea\jdk130\lib\tools.j
ar;\lib\ejb20.jar;.\lib\weblogic_sp.jar;.\lib\weblogic.jar;d:\cocoon-1.8.2\b
in\cocoon.jar;d:\cocoon-1.8.2
\lib\xerces_1_2.jar;d:\cocoon-1.8.2\lib\xalan_1_2_D02.jar;d:\cocoon-1.8.2\li
b\fop_0_15_0.jar;d:\cocoon-1.
8.2\lib\turbine-pool.jar;d:\cocoon-1.8.2\lib\w3c.jar;
-Dweblogic.Domain=mydomain -Dweblogic.Name=myserver
"-Dbea.home=d:\bea"
"-Djava.security.policy==d:\bea\wlserver6.0/lib/weblogic.policy"
-Dweblogic.manageme
nt.password= weblogic.Server
Enter password to boot weblogic server:weblogic
Starting WebLogic Server ....
<Feb 6, 2001 9:59:34 AM PST> <Notice> <Management> <Loading configuration
file .\config\mydomain\config.x
ml ...>
<Feb 6, 2001 9:59:36 AM PST> <Info> <Logging> <Only log messages of severity
"Error" or worse will be dis
played in this window. This can be changed at Admin Console> mydomain>
Servers> myserver> Logging> Debugg
ing> Stdout severity threshold>
<Feb 6, 2001 9:59:45 AM PST> <Notice> <WebLogicServer> <WebLogic Server
started>
<Feb 6, 2001 9:59:45 AM PST> <Notice> <WebLogicServer> <ListenThread
listening on port 7001>
<Feb 6, 2001 9:59:45 AM PST> <Notice> <WebLogicServer> <SSLListenThread
listening on port 7002>
FOP_VERSION = FOP 0.15
FOP_VERSION_NO = 0.15
Cocoon 1.8.2
Error found handling the request.
java.lang.RuntimeException: Cannot access non-file/war resources
at org.apache.cocoon.Utils.getBasename(Utils.java:277)
at
org.apache.cocoon.producer.ProducerFromFile.getDocument(ProducerFromFile.jav
a:76)
at org.apache.cocoon.Engine.handle(Engine.java:359)
at org.apache.cocoon.Cocoon.service(Cocoon.java:183)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at
weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java
:208)
at
weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletCo
ntext.java:1127)
at
weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java
:1529)
at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:137)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:120)
Warning: this page has been dynamically generated.
Copyright (c) 1999-2001 The Apache XML Project <http://xml.apache.org/> .
All rights reserved.
AYUB KHAN
1500, 1075 West Georgia Street
Vancouver, B.C. V6E 3C9
(604) 642-2329 Off.
AKhan@burntsand.com <ma...@burntsand.com>
<http://www.burntsand.com/>