Emmanuel Lecharny schrieb:
simon litwan wrote:
hi all
Hi Simon,
i tried to follow
http://directory.apache.org/apacheds/1.5/embedding-apacheds-as-a-web-application.html
and wanted to use the ApacheDSWebApp.zip.
i tried to buld with apacheds 1.5.2 but get a lot of "cannot find
symbol" build errors.
Can you post the compile logs ?
compile:
[javac] Compiling 3 source files to /home/simon/download/ApacheDS
WebApp/WebContent/WEB-INF/classes
[javac] /home/simon/download/ApacheDS
WebApp/src/org/apache/directory/samples/embed/webapp/StartStopListener.java:31:
cannot find symbol
[javac] symbol : class MutableServerStartupConfiguration
[javac] location: package org.apache.directory.server.configuration
[javac] import
org.apache.directory.server.configuration.MutableServerStartupConfiguration;
[javac] ^
[javac] /home/simon/download/ApacheDS
WebApp/src/org/apache/directory/samples/embed/webapp/StartStopListener.java:32:
cannot find symbol
[javac] symbol : class ShutdownConfiguration
[javac] location: package org.apache.directory.server.core.configuration
[javac] import
org.apache.directory.server.core.configuration.ShutdownConfiguration;
[javac] ^
[javac] /home/simon/download/ApacheDS
WebApp/src/org/apache/directory/samples/embed/webapp/StartStopListener.java:33:
cannot find symbol
[javac] symbol : class LdapConfiguration
[javac] location: package org.apache.directory.server.ldap
[javac] import org.apache.directory.server.ldap.LdapConfiguration;
[javac] ^
[javac] /home/simon/download/ApacheDS
WebApp/src/org/apache/directory/samples/embed/webapp/StartStopListener.java:49:
cannot find symbol
[javac] symbol : class MutableServerStartupConfiguration
[javac] location: class
org.apache.directory.samples.embed.webapp.StartStopListener
[javac] MutableServerStartupConfiguration cfg = new
MutableServerStartupConfiguration();
[javac] ^
[javac] /home/simon/download/ApacheDS
WebApp/src/org/apache/directory/samples/embed/webapp/StartStopListener.java:49:
cannot find symbol
[javac] symbol : class MutableServerStartupConfiguration
[javac] location: class
org.apache.directory.samples.embed.webapp.StartStopListener
[javac] MutableServerStartupConfiguration cfg = new
MutableServerStartupConfiguration();
[javac] ^
[javac] /home/simon/download/ApacheDS
WebApp/src/org/apache/directory/samples/embed/webapp/StartStopListener.java:58:
cannot find symbol
[javac] symbol : class LdapConfiguration
[javac] location: class
org.apache.directory.samples.embed.webapp.StartStopListener
[javac] LdapConfiguration ldapCfg =
cfg.getLdapConfiguration();
[javac] ^
[javac] /home/simon/download/ApacheDS
WebApp/src/org/apache/directory/samples/embed/webapp/StartStopListener.java:77:
cannot find symbol
[javac] symbol : class ShutdownConfiguration
[javac] location: class
org.apache.directory.samples.embed.webapp.StartStopListener
[javac] ShutdownConfiguration cfg = new
ShutdownConfiguration();
[javac] ^
[javac] /home/simon/download/ApacheDS
WebApp/src/org/apache/directory/samples/embed/webapp/StartStopListener.java:77:
cannot find symbol
[javac] symbol : class ShutdownConfiguration
[javac] location: class
org.apache.directory.samples.embed.webapp.StartStopListener
[javac] ShutdownConfiguration cfg = new
ShutdownConfiguration();
[javac] ^
[javac] Note: /home/simon/download/ApacheDS
WebApp/src/org/apache/directory/samples/embed/webapp/EnvHelper.java uses
unchecked or unsafe operations.
[javac] Note: Recompile with -Xlint:unchecked for details.
[javac] 8 errors
BUILD FAILED
/home/simon/download/ApacheDS WebApp/build.xml:58: Compile failed; see
the compiler error output for details.
did the api change this much from 1.5.1 to 1.5.2?
well, not that much, but yes.
then i tried to get apacheds 1.5.1 from
http://apache.mirror.testserver.li/directory/apacheds/unstable/1.5/1.5.1
but got a 404. i tried other mirrors as well and always get a 404.
We just moved all the old versions to the archives server, but
apparently forgot to changed the links to the archives server on the
web page. Sorry for this, I will fix it asap.
cool.
why is this release not available anymore? and why it's still
mentioned on the website?
In the mean time, you can get the old versions here :
http://archive.apache.org/dist/directory/apacheds/unstable/1.5/1.5.1/
thank you for this pointer.
any hint is very appreciated.
Hope it helps !
thanks very much. this helped so far. at least it builded successfully
with version 1.5.1. now i will try it out and maybe come back with other
questions ;)
simon