You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@lenya.apache.org by Robert Goene <ro...@goene.nl> on 2005/08/09 10:57:18 UTC

14. trunk

Hi,

I have some troubles with the latest 1.4 trunk.

Message: Failed to create configuration directory for workspace default.

Description: 
org.apache.avalon.framework.configuration.ConfigurationException: Cannot 
access configuration information at 
jndi:/localhost/lenya/WEB-INF/cocoon.xconf:2246:104

Sender: org.apache.cocoon.servlet.CocoonServlet

Source: Cocoon Servlet

cause

org.apache.jackrabbit.core.config.ConfigurationException: Failed to 
create configuration directory for workspace default.

What am i missng here?

Thanks, Robert Goene

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


Re: 14. trunk

Posted by Michael Wechner <mi...@wyona.com>.
Robert Goene wrote:

> Robert Goene wrote:
>
>> Michael Wechner wrote:
>>
>>> Robert Goene wrote:
>>>
>>>>
>>>> org.apache.jackrabbit.core.config.ConfigurationException: Failed to 
>>>> create configuration directory for workspace default.
>>>>
>
> Commenting the jcr repository part out works, at least temporarily. As 
> long as i don't use jrc, i will keep it this way.
>
> Can someone tell me how the cocoon.xconf file is composed? What files 
> are responsible for the creation of this file?


src/publets/jcr/config/repository.xconf
src/publets/jcr/config/sourcefactory.xconf

HTH

Michi

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


-- 
Michael Wechner
Wyona      -   Open Source Content Management   -    Apache Lenya
http://www.wyona.com                      http://lenya.apache.org
michael.wechner@wyona.com                        michi@apache.org


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


Re: 14. trunk

Posted by Robert Goene <ro...@goene.nl>.
Robert Goene wrote:
> Michael Wechner wrote:
> 
>> Robert Goene wrote:
>>
>>>
>>> org.apache.jackrabbit.core.config.ConfigurationException: Failed to 
>>> create configuration directory for workspace default.
>>>

Commenting the jcr repository part out works, at least temporarily. As 
long as i don't use jrc, i will keep it this way.

Can someone tell me how the cocoon.xconf file is composed? What files 
are responsible for the creation of this file?

Thanx, Robert

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


Re: 14. trunk

Posted by Robert Goene <ro...@goene.nl>.
Michael Wechner wrote:
> Robert Goene wrote:
> 
>>
>> org.apache.jackrabbit.core.config.ConfigurationException: Failed to 
>> create configuration directory for workspace default.
>>
>> What am i missng here?
> 
> 
> 
> have you updated your local Cocoon_2_1_X version?

I have checked out the latest version, yes. Otherwise, it would not 
build at all.

The snippet where it all goed wrong is exactly at the end of cocoon.xconf.

Is there anything i can try?


<!--..... Start configuration from 'repository' -->


   <component class="org.apache.lenya.cms.jcr.LenyaRepository" 
logger="jcr" role="javax.jcr.Repository">
     <credentials login="anonymous" password=""/>
     <jaas src="context://jcr-repository/jaas.config"/>
     <home src="context://jcr-repository/repository"/>
     <configuration src="context://jcr-repository/repository.xml"/>

     <namespace prefix="dc" uri="http://purl.org/dc/elements/1.1/"/>
     <namespace prefix="dcterms" uri="http://purl.org/dc/terms/"/>
     <namespace prefix="lenya" 
uri="http://apache.org/cocoon/lenya/page-envelope/1.0"/>
   </component>

<!--..... End configuration from 'repository' -->

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


Re: 14. trunk

Posted by Michael Wechner <mi...@wyona.com>.
Robert Goene wrote:

>
> org.apache.jackrabbit.core.config.ConfigurationException: Failed to 
> create configuration directory for workspace default.
>
> What am i missng here?


have you updated your local Cocoon_2_1_X version?

HTH

Michi

>
> Thanks, Robert Goene
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@lenya.apache.org
> For additional commands, e-mail: user-help@lenya.apache.org
>
>


-- 
Michael Wechner
Wyona      -   Open Source Content Management   -    Apache Lenya
http://www.wyona.com                      http://lenya.apache.org
michael.wechner@wyona.com                        michi@apache.org


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


Re: 14. trunk

Posted by Andreas Hartmann <an...@apache.org>.
Robert Goene wrote:
> Hi,
> 
> I have some troubles with the latest 1.4 trunk.
> 
> Message: Failed to create configuration directory for workspace default.
> 
> Description: 
> org.apache.avalon.framework.configuration.ConfigurationException: Cannot 
> access configuration information at 
> jndi:/localhost/lenya/WEB-INF/cocoon.xconf:2246:104

Could you please attach the cocoon.xconf snippet around the line 2246?

Thanks!

-- Andreas

> 
> Sender: org.apache.cocoon.servlet.CocoonServlet
> 
> Source: Cocoon Servlet
> 
> cause
> 
> org.apache.jackrabbit.core.config.ConfigurationException: Failed to 
> create configuration directory for workspace default.
> 
> What am i missng here?
> 
> Thanks, Robert Goene


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


Re: cannot create a quartz scheduler

Posted by Andy Savin <A....@bath.ac.uk>.

On Tue, 9 Aug 2005, Andy Savin wrote:

>
> On Tue, 9 Aug 2005, Thorsten Scherler wrote:
>
> > Try the following:
> > ./build.sh clean (cocoon)
> > rm local.b* (cocoon)
> > cp local.b* (from lenya 1.4 to cocoon)
> > ./build.sh (cocoon)
> > ./build.sh (lenya 1.4)
> >
> > The important thing is that *no* files from lenya 1.2 can be found in
> > your cocoon. You *have to* use cocoon-2.1.x and lenya-1.4.x from svn.
> >
>


Hi,

Thanks for all the help.  Discovered that hsqldb couldn't write to its db
due to a permissions issue.  Now fixed.

Now getting a different error message.

Regards,

Andy


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


Re: cannot create a quartz scheduler

Posted by Andy Savin <A....@bath.ac.uk>.
On Tue, 9 Aug 2005, Thorsten Scherler wrote:

> Try the following:
> ./build.sh clean (cocoon)
> rm local.b* (cocoon)
> cp local.b* (from lenya 1.4 to cocoon)
> ./build.sh (cocoon)
> ./build.sh (lenya 1.4)
>
> The important thing is that *no* files from lenya 1.2 can be found in
> your cocoon. You *have to* use cocoon-2.1.x and lenya-1.4.x from svn.
>

Hi,

I had done all that already.

Regards,

Andy


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


Re: cannot create a quartz scheduler

Posted by Thorsten Scherler <th...@apache.org>.
On Tue, 2005-08-09 at 15:22 +0100, Andy Savin wrote:
> > >
> > > org.apache.avalon.framework.configuration.ConfigurationException: cannot
> > > create a quartz scheduler
> >
> > are you running 1.2 and 1.4 side by side? if yes, then you need to start
> > 1.4 first iirc (otherwise there is a hsqldb port conflict)
> 
> Hi, I'm not running 1.2 just trying to get 1.4 to work.  Checked the ports
> the only extra ports in use after tomcat starts are the tomcat ones
> (8080,7001,7000).  (I undertand that hsqldb uses port 9002.)
> 

Try the following:
./build.sh clean (cocoon)
rm local.b* (cocoon)
cp local.b* (from lenya 1.4 to cocoon)
./build.sh (cocoon)
./build.sh (lenya 1.4)

The important thing is that *no* files from lenya 1.2 can be found in
your cocoon. You *have to* use cocoon-2.1.x and lenya-1.4.x from svn.

HTH

> regards,
> 
> Andy
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@lenya.apache.org
> For additional commands, e-mail: user-help@lenya.apache.org
> 
-- 
thorsten

"Together we stand, divided we fall!" 
Hey you (Pink Floyd)


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


Re: cannot create a quartz scheduler

Posted by Andy Savin <A....@bath.ac.uk>.
> >
> > org.apache.avalon.framework.configuration.ConfigurationException: cannot
> > create a quartz scheduler
>
> are you running 1.2 and 1.4 side by side? if yes, then you need to start
> 1.4 first iirc (otherwise there is a hsqldb port conflict)

Hi, I'm not running 1.2 just trying to get 1.4 to work.  Checked the ports
the only extra ports in use after tomcat starts are the tomcat ones
(8080,7001,7000).  (I undertand that hsqldb uses port 9002.)

regards,

Andy


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


Re: cannot create a quartz scheduler

Posted by "Gregor J. Rothfuss" <gr...@apache.org>.
Andy Savin wrote:

request-uri
> 
> /lenya/
> 
> full exception chain stacktrace
> 
> org.apache.avalon.framework.configuration.ConfigurationException: cannot
> create a quartz scheduler

are you running 1.2 and 1.4 side by side? if yes, then you need to start 
1.4 first iirc (otherwise there is a hsqldb port conflict)

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


cannot create a quartz scheduler

Posted by Andy Savin <A....@bath.ac.uk>.
Hi,

I have the 2_1_X branch of cocoon and the latest trunk of lenya (although
I get the same error with the version on the lenya website) (also running
tomcat 5.5).  I've built
cocoon using the properties files from $LENYA_HOME/src/cocoon.  And run
build.sh clean on both lenya and coocoon.  However, when attempting to
start lenya I get the follow error:

Message: Failure occured during job recovery.

Description:
org.apache.avalon.framework.configuration.ConfigurationException: cannot
create a quartz scheduler

Sender: org.apache.cocoon.servlet.CocoonServlet

Source: Cocoon Servlet

cause

org.quartz.SchedulerConfigException: Failure occured during job recovery.
[See nested exception: org.quartz.JobPersistenceException: Failed to
obtain DB connection from data source 'excalibur:LenyaScheduler':
java.sql.SQLException: socket creation error [See nested exception:
java.sql.SQLException: socket creation error]]

request-uri

/lenya/

full exception chain stacktrace

org.apache.avalon.framework.configuration.ConfigurationException: cannot
create a quartz scheduler


Any suggestions?

Cheers

Andy

-- 
----------------------------
  SYSTEMS / WEB  DEVELOPER
  University of Bath
----------------------------



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