You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@lenya.apache.org by Alvin Haryadi <al...@lycos.com> on 2003/09/29 06:30:49 UTC

Installation Problem on Lenya

Hi,

I try to install Lenya using the procedure found on:
http://cocoon.apache.org/lenya/installation/source_version.html, which results in the following directory tree:
resin-2.1.9 -> webapps -> lenya
Inside lenya:
lenya -> api
      -> docs
      -> legal
      -> lenya
      -> resources
      -> samples
      -> stylesheets
      -> WEB-INF

I encountered the following error msg as I tried to run Lenya:
java.lang.NoClassDefFoundError
	at org.apache.cocoon.components.axis.SoapServerImpl.setManagedServices(SoapServerImpl.java:411)
	at org.apache.cocoon.components.axis.SoapServerImpl.configure(SoapServerImpl.java:238)
	at org.apache.avalon.framework.container.ContainerUtil.configure(ContainerUtil.java:239)
	at org.apache.avalon.excalibur.component.DefaultComponentFactory.newInstance(DefaultComponentFactory.java:315)
	at org.apache.avalon.excalibur.component.ThreadSafeComponentHandler.initialize(ThreadSafeComponentHandler.java:141)
	at org.apache.avalon.excalibur.component.ExcaliburComponentManager.initialize(ExcaliburComponentManager.java:554)
	at org.apache.cocoon.components.CocoonComponentManager.initialize(CocoonComponentManager.java:530)
	at org.apache.avalon.framework.container.ContainerUtil.initialize(ContainerUtil.java:282)
	at org.apache.cocoon.Cocoon.initialize(Cocoon.java:324)
	at org.apache.cocoon.servlet.CocoonServlet.createCocoon(CocoonServlet.java:1352)
	at org.apache.cocoon.servlet.CocoonServlet.init(CocoonServlet.java:501)
	at com.caucho.server.http.Application.createServlet(Application.java:3111)
	at com.caucho.server.http.Application.loadServlet(Application.java:3062)
	at com.caucho.server.http.QServletConfig.loadServlet(QServletConfig.java:435)
	at com.caucho.server.http.Application.getFilterChainServlet(Application.java:2806)
	at com.caucho.server.http.Application.buildFilterChain(Application.java:2762)
	at com.caucho.server.http.Invocation.service(Invocation.java:313)
	at com.caucho.server.http.HttpRequest.handleRequest(HttpRequest.java:246)
	at com.caucho.server.http.HttpRequest.handleConnection(HttpRequest.java:163)
	at com.caucho.server.TcpConnection.run(TcpConnection.java:139)
	at java.lang.Thread.run(Thread.java:534)

which is caused by the following code: new WSDDDocument(d) on line 411 of SoapServerImpl.java
Question: What class has it missed?
---------------------------------------------------


The second approach I took:
copy the compiled Cocoon (inside .\build\webapps\) to my resin directory, copy 2 directories of Lenya into Cocoon directory.
The 2 directories are 'lenya' and 'classes'
The tree is as follows:
resin-2.1.9 -> webapps

Inside webapps:
webapps -> api
        -> docs
        -> lenya
        -> resources
        -> samples
        -> stylesheets
        -> WEB-INF

Inside lenya:
lenya -> bin
      -> config
      -> and so on ...

Inside WEB-INF:
WEB-INF -> ch
        -> org -> w3c
               -> oscom
               -> apache -> cocoon -> and so on ...
                         -> leyna -> and so on ...

Installation failed saying that file org.apache.lenya.cms.ac2.AccessControllerResolverSelector could not be found.
However, the file doesn't exist on lenya CVS server:
http://cvs.apache.org/viewcvs.cgi/cocoon-lenya/src/java/org/apache/lenya/cms/ac2/
cvs -d :pserver:anoncvs@cvs.apache.org:/home/cvspublic login



Thanks
---------------------------------------------------
Spec:
Web Server Resin 2.1.9
Cocoon 2.1.1
Lenya



____________________________________________________________
Get advanced SPAM filtering on Webmail or POP Mail ... Get Lycos Mail!
http://login.mail.lycos.com/r/referral?aid=27005

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