directory-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Chris Council (JIRA)" <>
Subject [jira] Commented: (DIRSERVER-1598) Code referenced in "Embedding ApacheDS as a Web Application" doesn't compile with apacheds-all 1.5.8-SNAPSHOT
Date Thu, 13 Jan 2011 17:01:54 GMT


Chris Council commented on DIRSERVER-1598:

Running 'mvn jetty:run' with apacheds-all 1.5.7, I get the exception

Caused by: ERR_10004 Expecting to find a schema.ldif file in
provided baseDirectory path '/y/apacheds-embedded/ApacheDS/target/work/server-work/schema/ou=schema.ldif'
but no such file found.
	at org.example.StartStopListener.initSchema(
	at org.example.StartStopListener.contextInitialized(
	... 41 more
2011-01-13 09:57:23.681::INFO:  Started SelectChannelConnector@
[INFO] Started Jetty Server

...which I believe is a known issue. When I extract the schema files from apacheds-all and
stick them in /y/apacheds-embedded/ApacheDS/target/work/server-work/schema/ (as a workaround),
I get this error:

2011-01-13 09:59:36.533::INFO:  jetty-6.1.21
2011-01-13 09:59:36.798::INFO:  No Transaction manager found - if your webapp requires one,
please configure one.
schema partition directory exists, skipping schema extraction
[09:59:51] ERROR [] - ERR_04450
The value {0} is incorrect, it hasnt been added

> Code referenced in "Embedding ApacheDS as a Web Application" doesn't compile with apacheds-all
> -------------------------------------------------------------------------------------------------------------
>                 Key: DIRSERVER-1598
>                 URL:
>             Project: Directory ApacheDS
>          Issue Type: Bug
>            Reporter: Chris Council
> The code referenced from
doesn't compile with apacheds-all 1.5.8-SNAPSHOT and it doesn't seem to work with apacheds-all
> This also applies to a project created using the instructions provided in the "Creating
the WebApp using the ApacheDS Maven Archetype" section on that same page. 
> Specifically, there is no longer a "setWorkingDirectory" method in
I'm not sure exactly how to solve this issue, it's not immediately obvious what the replacement
method is.
> Also, it was rather difficult to get apacheds-all 1.5.8-SNAPSHOT in the first place -
after some time, I finally determined that it was available from
(I think). It would be nice to have this information on that page as well. Still, I had to
grab the artifact manually and install it in a local maven repo, since it didn't seem to download
from the repo correctly.

This message is automatically generated by JIRA.
You can reply to this email to add a comment to the issue online.

View raw message