cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Piroumian, Konstantin" <KPiroum...@flagship.ru>
Subject Re: [C2] WebLogic 6.0sp1 installation problem
Date Wed, 30 May 2001 14:21:39 GMT
Hi, dims!

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

I have only a few days experience with WL6, but I'll try your instructions
and tell you if I could find out something new.

>
> 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.j
ar;.\lib\weblogic.jar

I've seen somewhere in WebLogic a file called xmlx.jar where both Xerces and
Xalan are present. Maybe that file is conflicting?

> 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.

Me too, but I'm not sure that WL handles classpath as, say, Tomcat, where
jars from WEB-INF/lib are used before server or system jars.

>
> Thanks,
> dims
>
> --- "Piroumian, Konstantin" <KPiroumian@flagship.ru> 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: cocoon-dev-unsubscribe@xml.apache.org
> > For additional commands, email: cocoon-dev-help@xml.apache.org
> >
>
>
> =====
> 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: cocoon-dev-unsubscribe@xml.apache.org
> For additional commands, email: cocoon-dev-help@xml.apache.org
>

---------------------------------------------------------------------
To unsubscribe, e-mail: cocoon-dev-unsubscribe@xml.apache.org
For additional commands, email: cocoon-dev-help@xml.apache.org


Mime
View raw message