You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cocoon.apache.org by Uwe Gerger <Uw...@bmw.de> on 2003/03/03 15:36:57 UTC

Re: Please Help: Problems with Cocoon2 V2.03 with Bea WebLogic5.1

Hello to all interested people,
I could run Cocoon2.0.3 on Bea WebLogic5.1:
The following steps are necessary:
1) In your start-script of Bea-server add to the JAVA_CLASSPATH all the
libraries you found in your cocoon-distribution;
2) In the web.policy-file set in the last grant section add "permission
java.security.AllPermission;" for the first run
after you have cocoon running you can try to set the permissions you
need!


The same procedure I've done on SOLARIS with BeaWebLogic 5.1!

Good luck!
	Uwe


mlangham@s-und-n.de schrieb:
> 
> Hi Uwe,
> 
> unfortunately I can't really help - apart from the fact that it seems really
> difficult to install Cocoon in Bea 5.x. We managed to get Cocoon running in
> the 6.x series - and there is information here:
> 
> http://xml.apache.org/cocoon/installing/index.html
> 
> Sorry I can't be more help on this. Have you searched the archives?
> 
> Regards from Paderborn
> 
> Matthew
> 
> --
> Open Source Group       Cocoon { Consulting, Training, Projects }
> =================================================================
> Matthew Langham, S&N AG, Klingenderstrasse 5, D-33100 Paderborn
> Tel:+49-5251-1581-30  mlangham@s-und-n.de - http://www.s-und-n.de
> -----------------------------------------------------------------
> Cocoon book:
>   http://www.amazon.com/exec/obidos/ASIN/0735712352/needacake-20
> Weblogs:
>   http://radio.weblogs.com/0103021/
>   http://www.oreillynet.com/weblogs/author/1014
> =================================================================
> 
> > -----Original Message-----
> > From: Uwe Gerger [mailto:Uwe.Gerger@bmw.de]
> > Sent: Monday, February 24, 2003 11:55 AM
> > To: cocoon-users@xml.apache.org
> > Subject: Please Help: Problems with Cocoon2 V2.03 with Bea WebLogic5.1
> >
> >
> > Hallo,
> >  I have problems running Cocoon2 2.0.3 with Bea WebLogic 5.1. When
> >  starting the web-server I receive the following exception:
> >
> >  Fr Feb 22 16:58:40 CET 2002:<I> <WebAppServletContext-cocoon>
> >  Pre-Loading servlet Cocoon2
> >  Fr Feb 22 16:58:40 CET 2002:<E> <WebAppServletContext-cocoon> Error
> >  instantiating servlet: org.apache.cocoon.servlet.CocoonServlet
> >  java.lang.NoClassDefFoundError:
> >  org/apache/avalon/framework/context/Context
> >          at java.lang.Class.newInstance0(Native Method)
> >          at java.lang.Class.newInstance(Class.java:232)
> >         at
> >
> > weblogic.servlet.internal.ServletStubImpl.createServlet(ServletStu
> > bImpl.java:469)
> >          at
> >
> > weblogic.servlet.internal.ServletStubImpl.createInstances(ServletS
> tubImpl.java:453)
> >          at
> >
> > weblogic.servlet.internal.ServletStubImpl.prepareServlet(ServletSt
> ubImpl.java:442)
> >          at
> >
> > weblogic.servlet.internal.ServletStubImpl.prepareServlet(ServletSt
> ubImpl.java:361)
> >          at
> >
> > weblogic.servlet.internal.ServletContextImpl.preloadServlet(Servle
> tContextImpl.java:752)
> >          at
> >
> > weblogic.servlet.internal.ServletContextImpl.preloadServlets(Servl
> etContextImpl.java:726)
> >          at
> >  weblogic.t3.srvr.HttpServer.initServletContexts(HttpServer.java:683)
> >          at weblogic.t3.srvr.HttpServer.start(HttpServer.java:479)
> >          at weblogic.t3.srvr.T3Srvr.start(T3Srvr.java:1393)
> >          at weblogic.t3.srvr.T3Srvr.main(T3Srvr.java:879)
> >          at java.lang.reflect.Method.invoke(Native Method)
> >          at weblogic.Server.startServerDynamically(Server.java:140)
> >          at weblogic.Server.main(Server.java:97)
> >          at weblogic.Server.main(Server.java:58)
> >
> >  My start-command is:
> >
> >
> > JAVA_CLASSPATH=.\lib\weblogic510sp12boot.jar;.\classes\boot;.\eval
> > \cloudscape\lib\cloudscape.jar
> >
> >
> > WEBLOGIC_CLASSPATH=c:\jdk1.3.1_06\lib\tools.jar;.\lib\cocoon\cocoo
> > n-2.0.3.jar;.\lib\cocoon\avalon-framework-4.1.2.jar;.\lib\cocoon\a
> > valon-excalibur-4.1.jar;.\lib\cocoon\batik-libs-1.1.1.jar;.\lib\co
> > coon\bsf-2.2.jar;.\lib\cocoon\fop-0.20.3rc.jar;.\lib\cocoon\jakart
> > a-regexp-1.2.jar;.\lib\cocoon\jstyle.jar;.\lib\cocoon\logkit-1.0.1
> > .jar;.\lib\cocoon\rhino-1.5r3.jar;.\lib\cocoon\xalan-2.3.1.jar;.\l
> > ib\cocoon\xercesImpl-2.0.0.jar;.\lib\cocoon\xml-apis.jar;.\lib\coc
> > oon\xt-19991105.jar;.\license;.\lib\weblogic510sp12.jar;.\classes;
> > .\lib\weblogicaux.jar;.\myserver\serverclasses
> >
> >  start-command:
> >
> >  c:\jdk1.3.1_06\bin\java -ms64m -mx64m -classpath
> >
> > .\lib\weblogic510sp12boot.jar;.\classes\boot;.\eval\cloudscape\lib
> > \cloudscape.jar
> >
> > -Dweblogic.class.path=c:\jdk1.3.1_06\lib\tools.jar;.\lib\cocoon\co
> > coon-2.0.3.jar;.\lib\cocoon\avalon-framework-4.1.2.jar;.\lib\cocoo
> > n\avalon-excalibur-4.1.jar;.\lib\cocoon\batik-libs-1.1.1.jar;.\lib
> > \cocoon\bsf-2.2.jar;.\lib\cocoon\fop-0.20.3rc.jar;.\lib\cocoon\jak
> > arta-regexp-1.2.jar;.\lib\cocoon\jstyle.jar;.\lib\cocoon\logkit-1.
> > 0.1.jar;.\lib\cocoon\rhino-1.5r3.jar;.\lib\cocoon\xalan-2.3.1.jar;
> > .\lib\cocoon\xercesImpl-2.0.0.jar;.\lib\cocoon\xml-apis.jar;.\lib\
> > cocoon\xt-19991105.jar;.\license;.\lib\weblogic510sp12.jar;.\class
> > es;.\lib\weblogicaux.jar;.\myserver\serverclasses
> >  -Dweblogic.home=. -Djava.security.manager
> >  -Djava.security.policy==.\weblogic.policy
> >  -Dweblogic.system.disableWeblogicClassPath=true weblogic.Server
> >
> >  Any idea whats wrong?
> >  --
> >  Uwe Gerger
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: cocoon-users-unsubscribe@xml.apache.org
> For additional commands, e-mail: cocoon-users-help@xml.apache.org

-- 
Uwe Gerger                                _/_/_/   _/    _/  _/    _/
BMW AG, TG-53 IT-Technologie             _/   _/  _/_/_/_/  _/    _/
80788 Muenchen                          _/_/_/   _/ _/ _/  _/ _/ _/
Tel: +49 89 382 35687                  _/   _/  _/    _/  _/_/_/_/
Fax: +49 89 382 49040                 _/_/_/   _/    _/  _/    _/
mailto:Uwe.Gerger@bmw.de