Yes, it is necessary to deploy C2 webapp outside of the WebLogic applications dir. It
is called
static deployment. In your %WEBLOGIC_DOMAIN_ROOT%\config.xml it should something like
this:
<Application Deployed="true" Name="cocoon" Path="C:\xml-cocoon2">
<WebAppComponent Name="cocoon" Targets="myserver" URI="webapp"/>
</Application>
Jiri.
--- "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.
>
>
> ---------------------------------------------------------------------
> Please check that your question has not already been answered in the
> FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>
>
> To unsubscribe, e-mail: <[EMAIL PROTECTED]>
> For additional commands, e-mail: <[EMAIL PROTECTED]>
>
__________________________________________________
Do You Yahoo!?
Get personalized email addresses from Yahoo! Mail - only $35
a year! http://personal.mail.yahoo.com/
---------------------------------------------------------------------
Please check that your question has not already been answered in the
FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>
To unsubscribe, e-mail: <[EMAIL PROTECTED]>
For additional commands, e-mail: <[EMAIL PROTECTED]>