Dear All,
I'm running OpenOLAT 9.1 on Tomcat 7 through eclipse juno on Ununtu Server 10.04. While I have set the reload to false it seems as the server restarts and different exceptions occur (spring related I think).
Up to the restart there are no Errors shown no exceptions.
...
09:44:31,058 INFO CourseModule:175 - OLAT::INFO ^%^ N1-I148 ^%^ org.olat.course ^%^ n/a ^%^ n/a ^%^ n/a ^%^ n/a ^%^ n/a ^%^ Course 'Demo Kurs' has been previousely deployed. Skipping.
09:44:31,060 INFO CourseModule:175 - OLAT::INFO ^%^ N1-I149 ^%^ org.olat.course ^%^ n/a ^%^ n/a ^%^ n/a ^%^ n/a ^%^ n/a ^%^ Course 'OLAT::help-course_de.zip' has been previousely deployed. Skipping.
Jan 31, 2014 9:44:31 AM com.sun.jersey.server.impl.application.WebApplicationImpl _initiate
INFO: Initiating Jersey application, version 'Jersey: 1.17.1 02/28/2013 12:47 PM'
Jan 31, 2014 9:44:31 AM com.sun.jersey.server.impl.application.DeferredResourceConfig$ApplicationHolder <init>
INFO: Instantiated the Application class org.olat.restapi.support.OlatRestApplication
09:44:32,108 INFO RSSServlet:175 - OLAT::INFO ^%^ N1-I150 ^%^ org.olat.commons.servlets ^%^ n/a ^%^ n/a ^%^ n/a ^%^ n/a ^%^ n/a ^%^ init statics servlet
09:44:32,109 INFO RSSServlet:175 - OLAT::INFO ^%^ N1-I151 ^%^ org.olat.commons.servlets ^%^ n/a ^%^ n/a ^%^ n/a ^%^ n/a ^%^ n/a ^%^ input buffer size: 32768
09:44:32,109 INFO RSSServlet:175 - OLAT::INFO ^%^ N1-I152 ^%^ org.olat.commons.servlets ^%^ n/a ^%^ n/a ^%^ n/a ^%^ n/a ^%^ n/a ^%^ output buffer size: 32768
09:44:32,111 INFO ICalServlet:175 - OLAT::INFO ^%^ N1-I153 ^%^ org.olat.commons.servlets ^%^ n/a ^%^ n/a ^%^ n/a ^%^ n/a ^%^ n/a ^%^ init statics servlet
09:44:32,111 INFO ICalServlet:175 - OLAT::INFO ^%^ N1-I154 ^%^ org.olat.commons.servlets ^%^ n/a ^%^ n/a ^%^ n/a ^%^ n/a ^%^ n/a ^%^ input buffer size: 32768
09:44:32,111 INFO ICalServlet:175 - OLAT::INFO ^%^ N1-I155 ^%^ org.olat.commons.servlets ^%^ n/a ^%^ n/a ^%^ n/a ^%^ n/a ^%^ n/a ^%^ output buffer size: 32768
Jan 31, 2014 9:44:32 AM org.apache.catalina.startup.HostConfig deployDirectory
INFO: Deploying web application directory /kwebo/servers/apache-tomcat-7.0.50/webapps/host-manager <---------------- Here is the restarting
Jan 31, 2014 9:44:32 AM org.apache.catalina.startup.HostConfig deployDirectory
INFO: Deploying web application directory /kwebo/servers/apache-tomcat-7.0.50/webapps/olat
Jan 31, 2014 9:44:39 AM org.apache.catalina.core.ApplicationContext log
INFO: No Spring WebApplicationInitializer types detected on classpath
Jan 31, 2014 9:44:39 AM com.sun.xml.ws.transport.http.servlet.WSServletDelegate <init>
INFO: WSSERVLET14: JAX-WS servlet initializing
Jan 31, 2014 9:44:39 AM com.sun.xml.ws.transport.http.servlet.WSServletContextListener contextInitialized
INFO: WSSERVLET12: JAX-WS context listener initializing
log4j:WARN Continuable parsing error 32 and column 23
log4j:WARN The content of element type "log4j:configuration" must match "(renderer*,appender*,(category|logger)*,root?,categoryFactory?)".
Jan 31, 2014 9:44:40 AM org.apache.catalina.core.ApplicationContext log
INFO: Initializing Spring root WebApplicationContext
09:44:40,123 INFO ContextLoader:273 - Root WebApplicationContext: initialization started
09:44:40,228 INFO CoreSpringInitializer:247 - OLAT::INFO ^%^ N0-I1 ^%^ org.olat.core ^%^ n/a ^%^ n/a ^%^ n/a ^%^ n/a ^%^ n/a ^%^ Bootstrapping spring startup
09:44:40,229 INFO XmlWebApplicationContext:510 - Refreshing Root WebApplicationContext: startup date [Fri Jan 31 09:44:40 EET 2014]; root of context hierarchy
09:44:40,284 INFO XmlBeanDefinitionReader:315 - Loading XML bean definitions from class path resource [org/olat/_spring/mainContext.xml]
...
After the restart the following exception is show:
...
09:44:51,054 ERROR BrokerService:506 - Failed to start ActiveMQ JMS Message Broker. Reason: javax.management.InstanceAlreadyExistsException: org.apache.activemq:BrokerName=embedded,Type=Broker
javax.management.InstanceAlreadyExistsException: org.apache.activemq:BrokerName=embedded,Type=Broker
at com.sun.jmx.mbeanserver.Repository.addMBean(Repository.java:437)
at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.registerWithRepository(DefaultMBeanServerInterceptor.java:1898)
at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.registerDynamicMBean(DefaultMBeanServerInterceptor.java:966)
at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.registerObject(DefaultMBeanServerInterceptor.java:900)
at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.registerMBean(DefaultMBeanServerInterceptor.java:324)
at com.sun.jmx.mbeanserver.JmxMBeanServer.registerMBean(JmxMBeanServer.java:522)
which is normal since the JMS was started before the auto-restart of tomcat.
What is more interesting the similar setup (for development purposes) on my MacOS is working just perfect. The only differences between the systems are: MySQL (5.1 on ubuntu, 5.6 on MacOS) and the Eclipse (juno on Ubuntu and kepler on Mac).
Do you have any idea what may be causing the problem?
Thank you so much. Have a great day all.