Konstantin,

Am trying to modify C2 to deploy it as a WAR file. Can you help me fix things? Here 
are the new
steps:

1. Cleanup/re-install weblogic.
2. Get the latest C2 from CVS xml-cocoon2
3. Build cocoon.war and place it in \bea\wlserver6.0sp1\config\mydomain\applications 
directory
4. Place the xalan,xerces jars in \bea\wlserver6.0sp1\lib directory
5. Modify the startWebLogic.cmd to include xalan and xerces before weblogic jars
   set
CLASSPATH=.\lib\xerces_1_4_0.jar;.\lib\xalan-2.0.1.jar;.;.\lib\weblogic_sp.jar;.\lib\weblogic.jar
6. Fire up the server and point your browser to /cocoon/ URL.

I have gotten as far as the initial screen. Now i need to see what else is broken and 
how to fix
it. Patches are welcome. I really want to get rid of the steps #4 and #5 to be able to 
deploy
Cocoon2 in a distributed environment (web-farm?) without needing manual edits.

Thanks,
dims

--- "Piroumian, Konstantin" <[EMAIL PROTECTED]> wrote:
> Hi!
> 
> Tryied to install Cocoon 2.0a7 into WebLogic 6.0sp1 according to the
> installation instructions from C2 docs, but couldn't get it run correctly.
> It fails with NPE in java.io.File at the initialization stage, when tries to
> create the AbstractEnvironment with a null argument: , new File(context),
> ... // I think that 'contex' is null.
> 
> Can anybody tell lme how do they run C2 on WebLogic?
> Is it necessary to place C2 libs outside of the WebLogic 'myserver' root as
> it is in instructions? Can that be the problem?
> 
> Btw, placed all jars into WEB-INF/lib directory of
> myserver/applications/cocoon context and removed them from the CLASSPATH in
> startWebLogic.cmd and Cocoon started (at least it used Xerces and Xalan to
> display the error page). So, maybe it's not necessary to have all that
> classes in CLASSPATH?
> 
> Regards,
>     Konstantin Piroumian.
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, email: [EMAIL PROTECTED]
> 


=====
Davanum Srinivas, JNI-FAQ Manager
http://www.jGuru.com/faq/JNI

__________________________________________________
Do You Yahoo!?
Get personalized email addresses from Yahoo! Mail - only $35 
a year!  http://personal.mail.yahoo.com/

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]

Reply via email to