You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lenya.apache.org by Jörn Nettingsmeier <po...@uni-duisburg.de> on 2006/05/19 23:53:29 UTC
latest trunk broken: missing lenya.roles
latest trunk gives me:
==========
Initialization Problem
Message: User-roles configuration
'/WEB-INF/classes/org/apache/lenya/lenya.roles' cannot be found.
Description:
org.apache.avalon.framework.configuration.ConfigurationException: Error
trying to load user-roles configuration
Sender: org.apache.cocoon.servlet.CocoonServlet
Source: Cocoon Servlet
cause
org.apache.avalon.framework.configuration.ConfigurationException:
User-roles configuration '/WEB-INF/classes/org/apache/lenya/lenya.roles'
cannot be found.
request-uri
/
==========
when i create the directory tree under WEB-INF/classes by hand and copy
lenya.roles from src/impl/java/org/apache/lenya/lenya.roles, i get
==========
Initialization Problem
Message: org.apache.lenya.cms.repo.avalon.RepositoryFactoryImpl
Description:
org.apache.avalon.framework.configuration.ConfigurationException: Could
not get class
Sender: org.apache.cocoon.servlet.CocoonServlet
Source: Cocoon Servlet
cause
java.lang.ClassNotFoundException:
org.apache.lenya.cms.repo.avalon.RepositoryFactoryImpl
==========
looks like some code restructuring is going on...
can anyone reproduce this, or is it caused by my local setup?
regards,
jörn
--
"Open source takes the bullshit out of software."
- Charles Ferguson on TechnologyReview.com
--
Jörn Nettingsmeier, EDV-Administrator
Institut für Politikwissenschaft
Universität Duisburg-Essen, Standort Duisburg
Mail: pol-admin@uni-due.de, Telefon: 0203/379-2736
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lenya.apache.org
For additional commands, e-mail: dev-help@lenya.apache.org
Re: latest trunk broken: missing lenya.roles
Posted by Michael Wechner <mi...@wyona.com>.
Renaud Richardet wrote:
> Hello,
>
> I still have the same initialization problem with a plain-vanilla
> trunk checkout (see stacktrace below). Am I missing something?
well, a plain trunk checkout Revision 409007 works for me, but I am
still struggling
getting my modules working again.
Michi
>
> Thanks,
> Renaud
>
> Initialization Problem
>
> Message: User-roles configuration
> '/WEB-INF/classes/org/apache/lenya/lenya.roles' cannot be found.
>
> Description:
> org.apache.avalon.framework.configuration.ConfigurationException:
> Error trying to load user-roles configuration
>
> Sender: org.apache.cocoon.servlet.CocoonServlet
>
> Source: Cocoon Servlet
>
> cause
>
> org.apache.avalon.framework.configuration.ConfigurationException:
> User-roles configuration
> '/WEB-INF/classes/org/apache/lenya/lenya.roles' cannot be found.
>
> request-uri
>
> /
>
> full exception chain stacktrace
>
> org.apache.avalon.framework.configuration.ConfigurationException:
> Error trying to load user-roles configuration
> at org.apache.cocoon.Cocoon.configure(Cocoon.java:459)
> at org.apache.cocoon.Cocoon.initialize(Cocoon.java:334)
> at
> org.apache.avalon.framework.container.ContainerUtil.initialize(ContainerUtil.java:244)
>
> at
> org.apache.cocoon.servlet.CocoonServlet.createCocoon(CocoonServlet.java:1428)
>
> at
> org.apache.cocoon.servlet.CocoonServlet.init(CocoonServlet.java:498)
> at
> org.mortbay.jetty.servlet.ServletHolder.initServlet(ServletHolder.java:383)
>
> at
> org.mortbay.jetty.servlet.ServletHolder.start(ServletHolder.java:243)
> at
> org.mortbay.jetty.servlet.ServletHandler.initializeServlets(ServletHandler.java:445)
>
> at
> org.mortbay.jetty.servlet.WebApplicationHandler.initializeServlets(WebApplicationHandler.java:323)
>
> at
> org.mortbay.jetty.servlet.WebApplicationContext.doStart(WebApplicationContext.java:511)
>
> at
> org.mortbay.jetty.plus.PlusWebAppContext.doStart(PlusWebAppContext.java:149)
>
> at org.mortbay.util.Container.start(Container.java:72)
> at org.mortbay.http.HttpServer.doStart(HttpServer.java:753)
> at org.mortbay.jetty.plus.Server.doStart(Server.java:153)
> at org.mortbay.util.Container.start(Container.java:72)
> at org.mortbay.jetty.plus.Server.main(Server.java:202)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
>
> at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>
> at java.lang.reflect.Method.invoke(Method.java:324)
> at Loader.invokeMain(Unknown Source)
> at Loader.run(Unknown Source)
> at Loader.main(Unknown Source)
> Caused by:
> org.apache.avalon.framework.configuration.ConfigurationException:
> User-roles configuration
> '/WEB-INF/classes/org/apache/lenya/lenya.roles' cannot be found.
> at org.apache.cocoon.Cocoon.configure(Cocoon.java:452)
> ... 22 more
>
>
> Andreas Hartmann wrote:
>
>> Jörn Nettingsmeier wrote:
>>
>>> latest trunk gives me:
>>>
>>> ==========
>>> Initialization Problem
>>>
>>> Message: User-roles configuration
>>> '/WEB-INF/classes/org/apache/lenya/lenya.roles' cannot be found.
>>
>>
>>
>> I had this problem too, but after changing the build process it
>> worked again for me. Would you mind trying another svn update?
>> Thanks!
>>
>> -- Andreas
>>
>>
>>
>>
>
--
Michael Wechner
Wyona - Open Source Content Management - Apache Lenya
http://www.wyona.com http://lenya.apache.org
michael.wechner@wyona.com michi@apache.org
+41 44 272 91 61
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lenya.apache.org
For additional commands, e-mail: dev-help@lenya.apache.org
Re: latest trunk broken: missing lenya.roles
Posted by Renaud Richardet <re...@wyona.com>.
Hello,
I still have the same initialization problem with a plain-vanilla trunk
checkout (see stacktrace below). Am I missing something?
Thanks,
Renaud
Initialization Problem
Message: User-roles configuration
'/WEB-INF/classes/org/apache/lenya/lenya.roles' cannot be found.
Description:
org.apache.avalon.framework.configuration.ConfigurationException: Error
trying to load user-roles configuration
Sender: org.apache.cocoon.servlet.CocoonServlet
Source: Cocoon Servlet
cause
org.apache.avalon.framework.configuration.ConfigurationException:
User-roles configuration '/WEB-INF/classes/org/apache/lenya/lenya.roles'
cannot be found.
request-uri
/
full exception chain stacktrace
org.apache.avalon.framework.configuration.ConfigurationException: Error
trying to load user-roles configuration
at org.apache.cocoon.Cocoon.configure(Cocoon.java:459)
at org.apache.cocoon.Cocoon.initialize(Cocoon.java:334)
at
org.apache.avalon.framework.container.ContainerUtil.initialize(ContainerUtil.java:244)
at
org.apache.cocoon.servlet.CocoonServlet.createCocoon(CocoonServlet.java:1428)
at org.apache.cocoon.servlet.CocoonServlet.init(CocoonServlet.java:498)
at
org.mortbay.jetty.servlet.ServletHolder.initServlet(ServletHolder.java:383)
at org.mortbay.jetty.servlet.ServletHolder.start(ServletHolder.java:243)
at
org.mortbay.jetty.servlet.ServletHandler.initializeServlets(ServletHandler.java:445)
at
org.mortbay.jetty.servlet.WebApplicationHandler.initializeServlets(WebApplicationHandler.java:323)
at
org.mortbay.jetty.servlet.WebApplicationContext.doStart(WebApplicationContext.java:511)
at
org.mortbay.jetty.plus.PlusWebAppContext.doStart(PlusWebAppContext.java:149)
at org.mortbay.util.Container.start(Container.java:72)
at org.mortbay.http.HttpServer.doStart(HttpServer.java:753)
at org.mortbay.jetty.plus.Server.doStart(Server.java:153)
at org.mortbay.util.Container.start(Container.java:72)
at org.mortbay.jetty.plus.Server.main(Server.java:202)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at Loader.invokeMain(Unknown Source)
at Loader.run(Unknown Source)
at Loader.main(Unknown Source)
Caused by:
org.apache.avalon.framework.configuration.ConfigurationException:
User-roles configuration '/WEB-INF/classes/org/apache/lenya/lenya.roles'
cannot be found.
at org.apache.cocoon.Cocoon.configure(Cocoon.java:452)
... 22 more
Andreas Hartmann wrote:
> Jörn Nettingsmeier wrote:
>
>> latest trunk gives me:
>>
>> ==========
>> Initialization Problem
>>
>> Message: User-roles configuration
>> '/WEB-INF/classes/org/apache/lenya/lenya.roles' cannot be found.
>
>
> I had this problem too, but after changing the build process it
> worked again for me. Would you mind trying another svn update?
> Thanks!
>
> -- Andreas
>
>
>
>
--
Renaud Richardet
COO America
Wyona Inc. - Open Source Content Management - Apache Lenya
office +1 857 776-3195 mobile +1 617 230 9112
renaud.richardet <at> wyona.com http://www.wyona.com
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lenya.apache.org
For additional commands, e-mail: dev-help@lenya.apache.org
Re: latest trunk broken: missing lenya.roles
Posted by Andreas Hartmann <an...@apache.org>.
Jörn Nettingsmeier wrote:
> latest trunk gives me:
>
> ==========
> Initialization Problem
>
> Message: User-roles configuration
> '/WEB-INF/classes/org/apache/lenya/lenya.roles' cannot be found.
I had this problem too, but after changing the build process it
worked again for me. Would you mind trying another svn update?
Thanks!
-- Andreas
--
Andreas Hartmann
Wyona Inc. - Open Source Content Management - Apache Lenya
http://www.wyona.com http://lenya.apache.org
andreas.hartmann@wyona.com andreas@apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lenya.apache.org
For additional commands, e-mail: dev-help@lenya.apache.org
Re: latest trunk broken: missing lenya.roles
Posted by Andreas Hartmann <an...@apache.org>.
Antonio Gallardo wrote:
> I ran
>
> svn up, ./build.sh clean-all webapp
>
> and failed too:
>
> compile-src:
> Compiling 6 source files to
> /home/agallardo/svn/lenya-trunk/build/lenya/modules
> /home/agallardo/svn/lenya-trunk/build/lenya/java/modules/org/apache/lenya/defaultpub/cms/usecases/Publish.java:272:
> cannot find symbol
> symbol : method getUnitOfWork()
> location: interface org.apache.lenya.cms.repository.Session
> User sender = getSession().getUnitOfWork().getIdentity().getUser();
It should work now. Sorry for the inconvenience.
-- Andreas
--
Andreas Hartmann
Wyona Inc. - Open Source Content Management - Apache Lenya
http://www.wyona.com http://lenya.apache.org
andreas.hartmann@wyona.com andreas@apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lenya.apache.org
For additional commands, e-mail: dev-help@lenya.apache.org
Re: latest trunk broken: missing lenya.roles
Posted by Antonio Gallardo <ag...@agssa.net>.
I ran
svn up, ./build.sh clean-all webapp
and failed too:
compile-src:
Compiling 6 source files to
/home/agallardo/svn/lenya-trunk/build/lenya/modules
/home/agallardo/svn/lenya-trunk/build/lenya/java/modules/org/apache/lenya/defaultpub/cms/usecases/Publish.java:272:
cannot find symbol
symbol : method getUnitOfWork()
location: interface org.apache.lenya.cms.repository.Session
User sender = getSession().getUnitOfWork().getIdentity().getUser();
^
1 error
Best Regards,
Antonio Gallardo.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lenya.apache.org
For additional commands, e-mail: dev-help@lenya.apache.org