Hello List
Now I have the time to play a little bit with Apache Directory and Apache
James :)
So current status is Apache Directory Server almost successful integrated
and runs on Apache Tomcat 6.x deployed as an WAR file. Apache James 3
latest Milestone sources successful compiled and packaged as an WAR File
(mvn package) The WAR I have tried to deploy in Apache Tomcat too, but it
hangs up with errors
INFO: The APR based Apache Tomcat Native library which allows optimal
performance in production environments was not found on the
java.library.path:
/usr/lib/jvm/java-1.6.0-openjdk-1.6.0.0.x86_64/jre/lib/amd64/server:/usr/lib/jvm/java-1.6.0-openjdk-1.6.0.0.x86_64/jre/lib/amd64:/usr/lib/jvm/java-1.6.0-openjdk-1.6.0.0.x86_64/jre/../lib/amd64:/usr/java/packages/lib/amd64:/usr/lib64:/lib64:/lib:/usr/lib
17.03.2011 20:35:56 org.apache.coyote.http11.Http11Protocol init
INFO: Initializing Coyote HTTP/1.1 on http-8080
17.03.2011 20:35:56 org.apache.catalina.startup.Catalina load
INFO: Initialization processed in 1302 ms
17.03.2011 20:35:56 org.apache.catalina.core.StandardService start
INFO: Starting service Catalina
17.03.2011 20:35:56 org.apache.catalina.core.StandardEngine start
INFO: Starting Servlet Engine: Apache Tomcat/6.0.32
17.03.2011 20:35:56 org.apache.catalina.startup.HostConfig deployDescriptor
INFO: Deploying configuration descriptor manager.xml
17.03.2011 20:35:57 org.apache.catalina.startup.HostConfig deployDescriptor
INFO: Deploying configuration descriptor host-manager.xml
17.03.2011 20:35:57 org.apache.catalina.startup.HostConfig deployWAR
INFO: Deploying web application archive
james-server-container-spring-3.0-M2.war
17.03.2011 20:35:58 org.apache.catalina.loader.WebappClassLoader
validateJarFile
INFO: validateJarFile(/home/darko/JAVA/Project
Mail/apache-tomcat-6.0.32/webapps/james-server-container-spring-3.0-M2/WEB-INF/lib/servlet-api-2.4.jar)
- jar not loaded. See Servlet Spec 2.3, section 9.7.2. Offending class:
javax/servlet/Servlet.class
17.03.2011 20:36:11 org.apache.catalina.core.StandardContext start
SCHWERWIEGEND: Error listenerStart
17.03.2011 20:36:11 org.apache.catalina.core.StandardContext start
SCHWERWIEGEND: Context [/james-server-container-spring-3.0-M2] startup
failed due to previous errors
17.03.2011 20:36:11 org.apache.catalina.loader.WebappClassLoader
clearReferencesJdbc
SCHWERWIEGEND: The web application [/james-server-container-spring-3.0-M2]
registered the JDBC driver [org.apache.derby.jdbc.AutoloadedDriver] but
failed to unregister it when the web application was stopped. To prevent a
memory leak, the JDBC Driver has been forcibly unregistered.
17.03.2011 20:36:11 org.apache.catalina.loader.WebappClassLoader
clearReferencesThreads
SCHWERWIEGEND: The web application [/james-server-container-spring-3.0-M2]
appears to have started a thread named [AMQPersistenceAdaptor Task] but
has failed to stop it. This is very likely to create a memory leak.
17.03.2011 20:36:11 org.apache.catalina.loader.WebappClassLoader
clearReferencesThreads
SCHWERWIEGEND: The web application [/james-server-container-spring-3.0-M2]
appears to have started a thread named [Camel Thread 0 - ShutdownTask] but
has failed to stop it. This is very likely to create a memory leak.
17.03.2011 20:36:11 org.apache.catalina.loader.WebappClassLoader
clearThreadLocalMap
SCHWERWIEGEND: The web application [/james-server-container-spring-3.0-M2]
created a ThreadLocal with key of type
[com.sun.xml.bind.v2.ClassFactory$1] (value
[com.sun.xml.bind.v2.ClassFactory$1@5b3ac14d]) and a value of type
[java.util.WeakHashMap] (value [{class
org.apache.camel.spring.CamelProducerTemplateFactoryBean=java.lang.ref.WeakReference@7ffbfbf9,
class java.util.ArrayList=java.lang.ref.WeakReference@785bda13, class
javax.xml.bind.annotation.adapters.CollapsedStringAdapter=java.lang.ref.WeakReference@564a5320,
class
org.apache.camel.spring.CamelContextFactoryBean=java.lang.ref.WeakReference@29978622,
class
org.apache.camel.core.xml.CamelJMXAgentDefinition=java.lang.ref.WeakReference@1ae73783}])
but failed to remove it when the web application was stopped. This is very
likely to create a memory leak.
17.03.2011 20:36:11 org.apache.catalina.loader.WebappClassLoader
clearThreadLocalMap
SCHWERWIEGEND: The web application [/james-server-container-spring-3.0-M2]
created a ThreadLocal with key of type
[com.sun.xml.bind.v2.runtime.Coordinator$1] (value
[com.sun.xml.bind.v2.runtime.Coordinator$1@41ed8741]) and a value of type
[java.lang.Object[]] (value [[Ljava.lang.Object;@514ade37]) but failed to
remove it when the web application was stopped. This is very likely to
create a memory leak.
17.03.2011 20:36:12 org.apache.catalina.startup.HostConfig deployWAR
INFO: Deploying web application archive ApacheDS.war
So is there Documentation to fix it? Or how I could to deploy Apache James
3 inside Apache Tomcat or Apache Gernonimo?
My Idea is running Apache James 3 inside Apache Tomcat with an Apache
Directory Backend for administering Users with LDAP. If it will possible
use Apache Harmony as the default JAVA API. Targets for deploy are RHEL6
and FreeBSD 8.x Apache Tomcat with JSVC to able to run on UNIX privileged
Ports
Powerfull for Enterprises or little ISP's like me. But nothing comes from
Oracle ;)
kind regards
Darko Hojnik
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]