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(XMLUtil.java:869
)
      at
org.apache.cocoon.sunshine.xml.XMLUtil.getNodesFromPath(XMLUtil.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:[EMAIL PROTECTED] 
> Sent: 24 February 2003 15:42
> To: [EMAIL PROTECTED]
> 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:[EMAIL PROTECTED]
> > 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:  [EMAIL PROTECTED]
> > Leicester, UK   LE1 7RH          Web:    http://www.astrogrid.org
> > 
> > 
> > 
> ---------------------------------------------------------------------
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> > 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to