cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Pat Laplante" <plapla...@vanteon.com>
Subject RE: cocoon in a web application in weblogic..
Date Fri, 26 May 2000 14:54:21 GMT
After further investigation, Cocoon doesn't even start.
I put a trace statement in cocoon code in the init function
to know when cocoon gets loaded, and it does when I hit a
page in my public_html folder, but if I hit a page in my
webapp (http://localhost/mywebapp/page.xml) cocoon doesn't start.

My question now, is how do you setup a web app in such a way
that cocoon will start when *.xml gets hit???

What is your files cocoon-wl.properties???

Thanks for all of you for help...
Pat

-----Original Message-----
From: Russell Castagnaro [mailto:russell@synctank.com]
Sent: Friday, May 26, 2000 9:19 AM
To: cocoon-users@xml.apache.org
Subject: Re: cocoon in a web application in weblogic..


Hmm...
I'm not sure what you mean pat.
 the way you register cocoon is:
weblogic.httpd.register.*.xml=\
       org.apache.cocoon.Cocoon
weblogic.httpd.initArgs.*.xml=\
  properties=c:/cocoon-1.7.4/conf/cocoon-wl.properties

But you must have that working already, since you get cocoon errors.

You should be able to call the .xml file directly, or use it in a SHTML
file.
(can't use GNUJSP Includes though)
-rrc

Pat Laplante wrote:

> Can you tell me if you have something special that reference cocoon
> in you web.xml file (in your webapp)?
>
> How do you specify weblogic in you weblogic.properties file?
>
> Thanks
> Pat
>
> -----Original Message-----
> From: Russell Castagnaro [mailto:russell@synctank.com]
> Sent: Friday, May 26, 2000 1:40 AM
> To: cocoon-users@xml.apache.org
> Subject: Re: cocoon in a web application in weblogic..
>
> Pat,
>
> What version of WLS are you using?  It works for me just fine with 4.51
and
> 5.1
> If your 'webpath' is your public_html directory, you shouldn't include it
in
> the
> xsl href.
> You could try using the http://localhost/webpath/hello-page.xsl
>
> If you haven't chaged the default settings though you need to point it to
> port
> 7001.
> http://localhost:7001/webpath/hello-page.xsl
> -rrc
>
> Pat Laplante wrote:
>
> > Yep they are both under the webapppath folder.  I put the reference to
be
> > href="hello-page.xsl" and now the browser tell me this:
> >
> > The XML page cannot be displayed
> > Cannot view XML input using XSL style sheet. Please correct the error
and
> > then click the Refresh button, or try again later.
> >
>
> --------------------------------------------------------------------------
> --
> > ----
> >
> > The system cannot locate the object specified. Error processing resource
> > 'http://localhost/hello-page-html.xsl'.
> >
> > And web logic tell me this:
> > hu May 25 07:57:59 PDT 2000:<E> <ServletContext-General> Cannot find
> > resource 'hello-page-html.xsl' in d
> > cument root 'P:\weblogic\myserver\public_html'
> >
> > What is wrong then.....
> >
> > -----Original Message-----
> > From: Hans Ulrich Niedermann [mailto:niedermann@isd.uni-stuttgart.de]
> > Sent: Thursday, May 25, 2000 1:57 AM
> > To: cocoon-users@xml.apache.org
> > Cc: Azathoth@cyberdude.com
> > Subject: Re: cocoon in a web application in weblogic..
> >
> > "Pat Laplante" <plaplante@vanteon.com> writes:
> >
> > > I am trying to run cocoon in a web application.  I took the
> hello-page.xml
> > > file and the hello-page-html.xsl file and move them under my
> > webapplication
> > > folder.
> > >
> > > I change the path in the hello-page.xml from
> > > <?xml-stylesheet href="hello-page-html.xsl" type="text/xsl"?> to
> > > <?xml-stylesheet href="webapppath/hello-page-html.xsl"
type="text/xsl"?>
> >
> > If both hello-page.xml and hello-page-html.xsl are located in the same
> > directory, the reference should be href="hello-page-html.xsl". The
> > stylesheet location is interpreted relatively to the location of the
> > hello-page.xml file.
> >
> > > when I hit the address "localhost/mywebapp, I got that message in the
> > > browser:
> > > type="text/html"
> >
> > Uli
> > --
> > Hans Ulrich Niedermann      <niedermann@normans.isd.uni-stuttgart.de>
> > Systemadministration         http://www.normans.isd.uni-stuttgart.de/
> > Institut für Statik und Dynamik der Luft- und Raumfahrtkonstruktionen
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: cocoon-users-unsubscribe@xml.apache.org
> > For additional commands, e-mail: cocoon-users-help@xml.apache.org
>
> --
> Hope to see you at my presentation, "Making the Most of XML, XSL and
> Server-Side
> Processing"
> at XML DevCon 2000, June 25-28, 2000.
>
> Russell Castagnaro
> Chief Mentor
> SyncTank Solutions
> http://www.synctank.com
>
> Earth is the cradle of mankind; one does not remain in the cradle forever
> -Tsiolkovsky
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: cocoon-users-unsubscribe@xml.apache.org
> For additional commands, e-mail: cocoon-users-help@xml.apache.org
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: cocoon-users-unsubscribe@xml.apache.org
> For additional commands, e-mail: cocoon-users-help@xml.apache.org

--
Hope to see you at my presentation, "Making the Most of XML, XSL and
Server-Side
Processing"
at XML DevCon 2000, June 25-28, 2000.

Russell Castagnaro
Chief Mentor
SyncTank Solutions
http://www.synctank.com

Earth is the cradle of mankind; one does not remain in the cradle forever
-Tsiolkovsky



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


Mime
View raw message