You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cocoon.apache.org by "Piroumian, Konstantin" <KP...@flagship.ru> on 2001/05/30 13:17:08 UTC
[C2] WebLogic 6.0sp1 installation problem
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
Re: [C2] WebLogic 6.0sp1 installation problem
Posted by Davanum Srinivas <di...@yahoo.com>.
Konstantin,
After trying a few more things.....Here's one more update with a simpler approach.
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
using the command: (all on one line)
build -Dinclude.webapp.libs=yes -Dinstall.war=\bea\wlserver6.0sp1\config\mydomain\applications
install
4. create a directory ext at \bea\jdk130\jre\lib\ext and place xerces_1_4_0.jar in this directory.
5. Fire up the server and point your browser to /cocoon/ URL.
With this the initial page should show up fine.
Thanks,
dims
Note: You don't have to do anything for Xalan and you don't have to edit any cmd files.
--- "Piroumian, Konstantin" <KP...@flagship.ru> wrote:
> 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" <KP...@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
=====
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
Re: [C2] WebLogic 6.0sp1 installation problem
Posted by "Piroumian, Konstantin" <KP...@flagship.ru>.
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" <KP...@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
Re: [C2] WebLogic 6.0sp1 installation problem
Posted by Davanum Srinivas <di...@yahoo.com>.
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" <KP...@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