cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From hg...@cswebmail.com
Subject RE: Deploy with portal/auth
Date Tue, 25 Feb 2003 10:19:25 GMT
Tony,

after building and deploying cocoon.war you need to do
the following:

Delete (if anything) in
..\jakarta-tomcat-4.1.12\common\endorsed 

and copy 

xalan-2.3.1.jar 
xercesImpl-2.0.0.jar
xml-apis.jar

(or more recent copies of these)

from ..\jakarta-tomcat-4.1.12\webapps\cocoon\WEB-INF\lib
into ..\jakarta-tomcat-4.1.12\common\endorsed

Restart Tomcat again.

Then it should work

Holger



On Tue, 25 Feb 2003, "Tony Linde" wrote:

> 
> In fact I get the same error trying to log into:
>   <a
href="http://mail.cswebmail.com/jump/http://cocoon.cocoondev.org/sunspotdemoportal">http://cocoon.cocoondev.org/sunspotdemoportal</a>
> 
> Am I missing something obvious here?
> 
> Cheers,
> Tony. 
> 
> > -----Original Message-----
> > From: Tony Linde [mailto:ael@star.le.ac.uk] 
> > Sent: 24 February 2003 23:26
> > To: cocoon-users@xml.apache.org
> > Subject: RE: Deploy with portal/auth
> > 
> > 
> > I tried doing a build (be patient with me - I'm from
> a Win VB dev
> > background) using:
> > 
> >   build -Dinclude.webapp.libs=yes
> -Dinclude.scratchpad.libs=yes webapp
> > 
> > Then deployed the .war file - got the Cocoon start
> page up okay but:
> > 
> > 1. all the docs were empty (I got that with the
> package 
> > installation I installed a while back as well).
> > 
> > 2. I ran the portal sample, but when I logged in
with 
> > guest/guest (or cocoon/cocoon), I got:
> > 
> >     type fatal
> >     message null
> >     description java.lang.NullPointerException
> >     sender org.apache.cocoon.servlet.CocoonServlet
> >     source Cocoon servlet
> >     request-uri
> >     /cocoon/sunspotdemo-portal
> >     path-info
> >     sunspotdemo-portal
> >     stack-trace
> >     java.lang.NullPointerException
> >       at 
> >
>
org.apache.cocoon.sunshine.xml.XMLUtil.getNodesFromPath(XMLUti
> > l.java:869
> > )
> >       at 
> >
>
org.apache.cocoon.sunshine.xml.XMLUtil.getNodesFromPath(XMLUti
> > l.java:871
> > )
> >       ...
> > 	at 
> >
>
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(
> > ThreadPool
> > .java:533)
> > 	at java.lang.Thread.run(Thread.java:536)
> > 
> > Any ideas what I did wrong?
> > 
> > Cheers,
> > Tony. 
> > 
> > > -----Original Message-----
> > > From: Carsten Ziegeler
[mailto:cziegeler@s-und-n.de]
> > > Sent: 24 February 2003 15:42
> > > To: cocoon-users@xml.apache.org
> > > Subject: RE: Deploy with portal/auth
> > > 
> > > 
> > > You have to build Cocoon to get a portal demo
> running.
> > > 
> > > If you are refering to 2.0.x, you have to include
> the
> > > scratchpad part of cocoon. This is described in
> detail (I 
> > > hope :) ) in the installation documentation of
> cocoon.
> > > 
> > > If you are refering to 2.1 (the CVS HEAD) you have
> a problem
> > > :), the build system is currently changing and the
> samples 
> > > are not included in the webapp. But as soon as
this
> works 
> > > again, you have to build the webapp and this again
> is 
> > > described in the installation documentation.
> > > 
> > > HTH
> > > Carsten
> > > 
> > > > -----Original Message-----
> > > > From: Tony Linde [mailto:ael@star.le.ac.uk]
> > > > Sent: Monday, February 24, 2003 4:24 PM
> > > > To: Cocoon-Users-List
> > > > Subject: Deploy with portal/auth
> > > > 
> > > > 
> > > > Hi. I want to deploy Cocoon with the beta
version
> of the
> > > authorisation
> > > > and portal webapps, initially on my Windows
> laptop for demo but
> > > > latterly on a Linux platform. Is this available
> in a simple 
> > > war? Or do
> > > > I need to go through the build? If the latter,
> are there 
> > any simple
> > > > instructions somewhere (I'm sure I came across
> some once while 
> > > > Google-ing but cannot find them again)?
> > > > 
> > > > Apologies if this a faq - just point me at the
> answer if 
> > it is in a
> > > > web page somewhere.
> > > > 
> > > > Many thanks,
> > > > Tony.
> > > > 
> > > > __
> > > > Tony Linde                       Phone:  +44
> (0)116 223 1292
> > > > AstroGrid Project Manager        Fax:    +44
> (0)116 252 3311
> > > > Dept of Physics & Astronomy      Mobile: +44
> (0)7753 603356
> > > > University of Leicester          Email: 
> ael@star.le.ac.uk
> > > > Leicester, UK   LE1 7RH          Web:   
> <a
href="http://mail.cswebmail.com/jump/http://www.astrogrid.org">http://www.astrogrid.org</a>
> > > > 
> > > > 
> > > > 
> > > 
> >
>
---------------------------------------------------------------------
> > > > 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
> > > 
> > 
> > 
> >
>
---------------------------------------------------------------------
> > 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

___________________________________________________
The ALL NEW CS2000 from CompuServe
 Better!  Faster! More Powerful!
 250 FREE hours! Sign-on Now!
 http://www.compuserve.com/trycsrv/cs2000/webmail/





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