You are viewing a plain text version of this content. The canonical link for it is here.
Posted to server-user@james.apache.org by Darko Hojnik <ho...@virtualizing.org> on 2011/03/17 21:12:05 UTC

Deploying Apache James 3 as an WAR inside Apache Tomcat.

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: server-user-unsubscribe@james.apache.org
For additional commands, e-mail: server-user-help@james.apache.org


Re: Deploying Apache James 3 as an WAR inside Apache Tomcat.

Posted by Darko Hojnik <ho...@virtualizing.org>.
Yes that is the point Apache James doesn't ships a suitable Daemon for  
Linux and FreeBSD. Running a Service as Root is totally deprecated and  
idiotic, sorry.

Am 18.03.2011, 10:30 Uhr, schrieb Felix Knecht <fe...@apache.org>:

> On 03/18/2011 03:15 AM, Darko Hojnik wrote:
>> It seems one part is a problem with proper permissions. So by "jsvc
>> --user foo" Apache James inside Tomcat couldn't bound on port 25 .....
>
> As far as I know you MUST have root (superuser) rights to start anything  
> listening  on ports below 1024 on unix. Could this be the problem?
>
> Regards
> Felix
>
>> I thought I could run the James WAR inside Tomcat using JSVC. If I run
>> James as root the service comes almost up. Thats not my preferred  
>> method :/
>> Do I need something like Taiku instead of JSVC? I'm running RHEL6 and my
>> targets are FreeBSD 8.x
>>
>> Here is my Startscript for JSVC with Tomcat
>>
>>
>> #!/bin/sh
>> #
>> # tomcat Tomcat
>> #
>> # chkconfig: 345 99 99
>> # description: Tomcat daemon.
>> #
>> ##############################################################################
>>
>> #
>> # Copyright 2004 The Apache Software Foundation.
>> #
>> # Licensed under the Apache License, Version 2.0 (the "License");
>> # you may not use this file except in compliance with the License.
>> # You may obtain a copy of the License at
>> #
>> # http://www.apache.org/licenses/LICENSE-2.0
>> #
>> # Unless required by applicable law or agreed to in writing, software
>> # distributed under the License is distributed on an "AS IS" BASIS,
>> # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or  
>> implied.
>> # See the License for the specific language governing permissions and
>> # limitations under the License.
>> ##############################################################################
>>
>> #
>> #
>> # Adapt the following lines to your configuration
>> CATALINA_HOME=/home/darko/JAVA/Project_Mail/apache-tomcat-6.0.32
>> JAVA_HOME=/usr/lib/jvm/java-1.6.0-openjdk-1.6.0.0.x86_64
>> TOMCAT_USER=tomcat
>> TOMCAT_GROUP=tomcat
>>
>> # for multi instances adapt these lines:
>> CATALINA_BASE=$CATALINA_HOME
>> LOG_FILE=/var/log/tomcat/tomcat.log
>> PID_FILE=/var/run/tomcat.pid
>> TMP_DIR=/tmp
>>
>> CATALINA_OPTS="$CATALINA_OPTS -Djava.library.path=$CATALINA_HOME/lib"
>> CLASSPATH=\
>> $JAVA_HOME/lib/tools.jar:\
>> $CATALINA_HOME/bin/commons-daemon.jar:\
>> $CATALINA_HOME/bin/bootstrap.jar
>> JAVA_OPTS="-Xms256m -Xmx1024m -XX:MaxPermSize=256m -Dfile.encoding=UTF8"
>>
>>
>>
>> case "$1" in
>> start)
>> #
>> # Start Tomcat
>> #
>>
>> echo -n "Starting tomcat: "
>>
>> $CATALINA_HOME/bin/jsvc \
>> -user $TOMCAT_USER \
>> -home $JAVA_HOME \
>> -Dcatalina.home=$CATALINA_HOME \
>> -Dcatalina.base=$CATALINA_BASE \
>> -Djava.io.tmpdir=$TMP_DIR \
>> -wait 60 \
>> -pidfile $PID_FILE \
>> -outfile $LOG_FILE \
>> $JAVA_OPTS \
>> $CATALINA_OPTS \
>> -cp $CLASSPATH \
>> org.apache.catalina.startup.Bootstrap
>>
>> #
>> # To get a verbose JVM
>> #-verbose \
>> # To get a debug of jsvc.
>> #-debug \
>> #
>> #-Djava.awt.headless=true \
>>
>> rtn=$?
>> if [ $rtn = 0 ]; then
>> echo "OK"
>> exit $rtn
>> else
>> echo "FAIL"
>> exit $rtn
>> fi
>> ;;
>>
>> stop)
>> #
>> # Stop Tomcat
>> #
>>
>> echo -n "Stopping tomcat: "
>>
>> $CATALINA_HOME/bin/jsvc \
>> -stop \
>> -pidfile $PID_FILE \
>> org.apache.catalina.startup.Bootstrap
>>
>> rtn=$?
>> if [ $rtn = 0 ]; then
>> echo "OK"
>> exit $rtn
>> else
>> echo "FAIL"
>> exit $rtn
>> fi
>>
>> ;;
>>
>> status)
>> echo -n "Status: "
>> if [ -e $PID_FILE ]; then
>> echo "Running"
>> else
>> echo "Stopped"
>> fi
>> exit $?
>> ;;
>>
>> *)
>> echo "Usage: $0 {start|stop|status}"
>> exit 1;;
>> esac
>>
>> Am 17.03.2011, 21:30 Uhr, schrieb Eric Charles <er...@apache.org>:
>>
>>> Hi,
>>>
>>> The exception seems not to be in the catalina.out.
>>> Do you so it in james-server.log ?
>>> Have you got the same if you start tomcat with only james (without
>>> apache directory war) ?
>>>
>>> Tks,
>>> - Eric
>>>
>>> On 17/03/2011 21:12, Darko Hojnik wrote:
>>>> 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: server-user-unsubscribe@james.apache.org
>>>> For additional commands, e-mail: server-user-help@james.apache.org
>>>>
>>>
>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: server-user-unsubscribe@james.apache.org
>>> For additional commands, e-mail: server-user-help@james.apache.org
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: server-user-unsubscribe@james.apache.org
>> For additional commands, e-mail: server-user-help@james.apache.org
>>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: server-user-unsubscribe@james.apache.org
> For additional commands, e-mail: server-user-help@james.apache.org

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


Re: Deploying Apache James 3 as an WAR inside Apache Tomcat.

Posted by Felix Knecht <fe...@apache.org>.
On 03/18/2011 03:15 AM, Darko Hojnik wrote:
> It seems one part is a problem with proper permissions. So by "jsvc
> --user foo" Apache James inside Tomcat couldn't bound on port 25 .....

As far as I know you MUST have root (superuser) rights to start anything 
listening  on ports below 1024 on unix. Could this be the problem?

Regards
Felix

> I thought I could run the James WAR inside Tomcat using JSVC. If I run
> James as root the service comes almost up. Thats not my preferred method :/
> Do I need something like Taiku instead of JSVC? I'm running RHEL6 and my
> targets are FreeBSD 8.x
>
> Here is my Startscript for JSVC with Tomcat
>
>
> #!/bin/sh
> #
> # tomcat Tomcat
> #
> # chkconfig: 345 99 99
> # description: Tomcat daemon.
> #
> ##############################################################################
>
> #
> # Copyright 2004 The Apache Software Foundation.
> #
> # Licensed under the Apache License, Version 2.0 (the "License");
> # you may not use this file except in compliance with the License.
> # You may obtain a copy of the License at
> #
> # http://www.apache.org/licenses/LICENSE-2.0
> #
> # Unless required by applicable law or agreed to in writing, software
> # distributed under the License is distributed on an "AS IS" BASIS,
> # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
> # See the License for the specific language governing permissions and
> # limitations under the License.
> ##############################################################################
>
> #
> #
> # Adapt the following lines to your configuration
> CATALINA_HOME=/home/darko/JAVA/Project_Mail/apache-tomcat-6.0.32
> JAVA_HOME=/usr/lib/jvm/java-1.6.0-openjdk-1.6.0.0.x86_64
> TOMCAT_USER=tomcat
> TOMCAT_GROUP=tomcat
>
> # for multi instances adapt these lines:
> CATALINA_BASE=$CATALINA_HOME
> LOG_FILE=/var/log/tomcat/tomcat.log
> PID_FILE=/var/run/tomcat.pid
> TMP_DIR=/tmp
>
> CATALINA_OPTS="$CATALINA_OPTS -Djava.library.path=$CATALINA_HOME/lib"
> CLASSPATH=\
> $JAVA_HOME/lib/tools.jar:\
> $CATALINA_HOME/bin/commons-daemon.jar:\
> $CATALINA_HOME/bin/bootstrap.jar
> JAVA_OPTS="-Xms256m -Xmx1024m -XX:MaxPermSize=256m -Dfile.encoding=UTF8"
>
>
>
> case "$1" in
> start)
> #
> # Start Tomcat
> #
>
> echo -n "Starting tomcat: "
>
> $CATALINA_HOME/bin/jsvc \
> -user $TOMCAT_USER \
> -home $JAVA_HOME \
> -Dcatalina.home=$CATALINA_HOME \
> -Dcatalina.base=$CATALINA_BASE \
> -Djava.io.tmpdir=$TMP_DIR \
> -wait 60 \
> -pidfile $PID_FILE \
> -outfile $LOG_FILE \
> $JAVA_OPTS \
> $CATALINA_OPTS \
> -cp $CLASSPATH \
> org.apache.catalina.startup.Bootstrap
>
> #
> # To get a verbose JVM
> #-verbose \
> # To get a debug of jsvc.
> #-debug \
> #
> #-Djava.awt.headless=true \
>
> rtn=$?
> if [ $rtn = 0 ]; then
> echo "OK"
> exit $rtn
> else
> echo "FAIL"
> exit $rtn
> fi
> ;;
>
> stop)
> #
> # Stop Tomcat
> #
>
> echo -n "Stopping tomcat: "
>
> $CATALINA_HOME/bin/jsvc \
> -stop \
> -pidfile $PID_FILE \
> org.apache.catalina.startup.Bootstrap
>
> rtn=$?
> if [ $rtn = 0 ]; then
> echo "OK"
> exit $rtn
> else
> echo "FAIL"
> exit $rtn
> fi
>
> ;;
>
> status)
> echo -n "Status: "
> if [ -e $PID_FILE ]; then
> echo "Running"
> else
> echo "Stopped"
> fi
> exit $?
> ;;
>
> *)
> echo "Usage: $0 {start|stop|status}"
> exit 1;;
> esac
>
> Am 17.03.2011, 21:30 Uhr, schrieb Eric Charles <er...@apache.org>:
>
>> Hi,
>>
>> The exception seems not to be in the catalina.out.
>> Do you so it in james-server.log ?
>> Have you got the same if you start tomcat with only james (without
>> apache directory war) ?
>>
>> Tks,
>> - Eric
>>
>> On 17/03/2011 21:12, Darko Hojnik wrote:
>>> 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: server-user-unsubscribe@james.apache.org
>>> For additional commands, e-mail: server-user-help@james.apache.org
>>>
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: server-user-unsubscribe@james.apache.org
>> For additional commands, e-mail: server-user-help@james.apache.org
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: server-user-unsubscribe@james.apache.org
> For additional commands, e-mail: server-user-help@james.apache.org
>


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


Re: Deploying Apache James 3 as an WAR inside Apache Tomcat.

Posted by Darko Hojnik <ho...@virtualizing.org>.
It seems one part is a problem with proper permissions. So by "jsvc --user  
foo" Apache James inside Tomcat couldn't bound on port 25 .....
I thought I could run the James WAR inside Tomcat using JSVC. If I run  
James as root the service comes almost up. Thats not my preferred method :/
Do I need something like Taiku instead of JSVC? I'm running RHEL6 and my  
targets are FreeBSD 8.x

Here is my Startscript for JSVC with Tomcat


#!/bin/sh
#
# tomcat Tomcat
#
# chkconfig: 345 99 99
# description: Tomcat daemon.
#
##############################################################################
#
#   Copyright 2004 The Apache Software Foundation.
#
#   Licensed under the Apache License, Version 2.0 (the "License");
#   you may not use this file except in compliance with the License.
#   You may obtain a copy of the License at
#
#       http://www.apache.org/licenses/LICENSE-2.0
#
#   Unless required by applicable law or agreed to in writing, software
#   distributed under the License is distributed on an "AS IS" BASIS,
#   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or  
implied.
#   See the License for the specific language governing permissions and
#   limitations under the License.
##############################################################################
#
#
# Adapt the following lines to your configuration
CATALINA_HOME=/home/darko/JAVA/Project_Mail/apache-tomcat-6.0.32
JAVA_HOME=/usr/lib/jvm/java-1.6.0-openjdk-1.6.0.0.x86_64
TOMCAT_USER=tomcat
TOMCAT_GROUP=tomcat

# for multi instances adapt these lines:
CATALINA_BASE=$CATALINA_HOME
LOG_FILE=/var/log/tomcat/tomcat.log
PID_FILE=/var/run/tomcat.pid
TMP_DIR=/tmp

CATALINA_OPTS="$CATALINA_OPTS -Djava.library.path=$CATALINA_HOME/lib"
CLASSPATH=\
$JAVA_HOME/lib/tools.jar:\
$CATALINA_HOME/bin/commons-daemon.jar:\
$CATALINA_HOME/bin/bootstrap.jar
JAVA_OPTS="-Xms256m -Xmx1024m -XX:MaxPermSize=256m -Dfile.encoding=UTF8"



case "$1" in
   start)
     #
     # Start Tomcat
     #

     echo -n "Starting tomcat: "

     $CATALINA_HOME/bin/jsvc \
     -user $TOMCAT_USER \
     -home $JAVA_HOME \
     -Dcatalina.home=$CATALINA_HOME \
     -Dcatalina.base=$CATALINA_BASE \
     -Djava.io.tmpdir=$TMP_DIR \
     -wait 60 \
     -pidfile $PID_FILE \
     -outfile $LOG_FILE \
     $JAVA_OPTS \
     $CATALINA_OPTS \
     -cp $CLASSPATH \
     org.apache.catalina.startup.Bootstrap

     #
     # To get a verbose JVM
     #-verbose \
     # To get a debug of jsvc.
     #-debug \
     #
     #-Djava.awt.headless=true \

     rtn=$?
     if [ $rtn = 0 ]; then
       echo "OK"
       exit $rtn
     else
       echo "FAIL"
       exit $rtn
     fi
     ;;

   stop)
     #
     # Stop Tomcat
     #

     echo -n "Stopping tomcat: "

     $CATALINA_HOME/bin/jsvc \
     -stop \
     -pidfile $PID_FILE \
     org.apache.catalina.startup.Bootstrap

     rtn=$?
     if [ $rtn = 0 ]; then
       echo "OK"
       exit $rtn
     else
       echo "FAIL"
       exit $rtn
     fi

     ;;

   status)
     echo -n "Status: "
     if [ -e $PID_FILE ]; then
       echo "Running"
     else
       echo "Stopped"
     fi
     exit $?
     ;;

   *)
     echo "Usage: $0 {start|stop|status}"
     exit 1;;
esac

Am 17.03.2011, 21:30 Uhr, schrieb Eric Charles <er...@apache.org>:

> Hi,
>
> The exception seems not to be in the catalina.out.
> Do you so it in james-server.log ?
> Have you got the same if you start tomcat with only james (without  
> apache directory war) ?
>
> Tks,
> - Eric
>
> On 17/03/2011 21:12, Darko Hojnik wrote:
>> 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: server-user-unsubscribe@james.apache.org
>> For additional commands, e-mail: server-user-help@james.apache.org
>>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: server-user-unsubscribe@james.apache.org
> For additional commands, e-mail: server-user-help@james.apache.org

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


Re: Deploying Apache James 3 as an WAR inside Apache Tomcat.

Posted by Eric Charles <er...@apache.org>.
Hi,

The exception seems not to be in the catalina.out.
Do you so it in james-server.log ?
Have you got the same if you start tomcat with only james (without 
apache directory war) ?

Tks,
- Eric

On 17/03/2011 21:12, Darko Hojnik wrote:
> 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: server-user-unsubscribe@james.apache.org
> For additional commands, e-mail: server-user-help@james.apache.org
>


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