Openbravo Forum End of Life Notice

Dear Openbravo Forum User,

Because of continued very low usage we decided to stop the forums on 31st of August 2017

In case of questions: webmaster "at" openbravo.com

Cannot deploy Openbravo 3 RC4

<<

Neil Smith

Posts: 202

Joined: Wed Mar 18, 2009 7:26 pm

Post Thu Mar 03, 2011 10:39 am

Cannot deploy Openbravo 3 RC4

Hello!


I am trying to deploy your all new version of Openbravo 3 RC4, that I am very excited about, but I can't deploy it onto my tomcat (6.0.20 or 7.0.8) server.


In my logs, I have the following (same on both tomcat servers


 


Localhost log


3 mars 2011 08:07:10 org.apache.catalina.core.StandardContext listenerStart

GRAVE: Exception lors de l'envoi de l'évènement contexte initialisé (context initialized) à l'instance de classe d'écoute (listener) org.openbravo.client.kernel.KernelContextListener

java.lang.IllegalArgumentException: No bean found for type class org.openbravo.client.kernel.KernelInitializer

    at org.openbravo.base.weld.WeldUtils.getInstanceFromStaticBeanManager(WeldUtils.java:76)

    at org.openbravo.client.kernel.KernelContextListener.contextInitialized(KernelContextListener.java:37)

    at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4600)

    at org.apache.catalina.core.StandardContext$1.call(StandardContext.java:5097)

    at org.apache.catalina.core.StandardContext$1.call(StandardContext.java:5092)

    at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source)

    at java.util.concurrent.FutureTask.run(Unknown Source)

    at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source)

    at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)

    at java.lang.Thread.run(Unknown Source)

 


Catalina log


3 mars 2011 08:07:11 org.apache.catalina.loader.WebappClassLoader clearReferencesThreads

GRAVE: The web application [/c3] appears to have started a thread named [Thread-11] but has failed to stop it. This is very likely to create a memory leak.

3 mars 2011 08:07:40 org.apache.catalina.loader.WebappClassLoader loadClass

INFO: Illegal access: this web application instance has been stopped already.  Could not load org.quartz.utils.ExceptionHelper.  The eventual following stack trace is caused by an error thrown for debugging purposes as well as to attempt to terminate the thread which caused the illegal access, and has no functional impact.

java.lang.IllegalStateException

    at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1562)

    at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1521)

    at java.lang.ClassLoader.loadClassInternal(Unknown Source)

    at org.quartz.SchedulerException.getUnderlyingException(SchedulerException.java:169)

    at org.quartz.SchedulerException.toString(SchedulerException.java:265)

    at org.apache.log4j.spi.VectorWriter.println(ThrowableInformation.java:88)

    at java.lang.Throwable.printStackTrace(Throwable.java:509)

    at org.quartz.SchedulerException.printStackTrace(SchedulerException.java:325)

    at org.apache.log4j.spi.ThrowableInformation.getThrowableStrRep(ThrowableInformation.java:50)

    at org.apache.log4j.spi.LoggingEvent.getThrowableStrRep(LoggingEvent.java:333)

    at org.apache.log4j.WriterAppender.subAppend(WriterAppender.java:295)

    at org.apache.log4j.RollingFileAppender.subAppend(RollingFileAppender.java:225)

    at org.apache.log4j.WriterAppender.append(WriterAppender.java:150)

    at org.apache.log4j.AppenderSkeleton.doAppend(AppenderSkeleton.java:221)

    at org.apache.log4j.helpers.AppenderAttachableImpl.appendLoopOnAppenders(AppenderAttachableImpl.java:57)

    at org.apache.log4j.Category.callAppenders(Category.java:187)

    at org.apache.log4j.Category.forcedLog(Category.java:372)

    at org.apache.log4j.Category.log(Category.java:864)

    at org.apache.commons.logging.impl.Log4JLogger.error(Log4JLogger.java:251)

    at org.quartz.core.QuartzScheduler$1.run(QuartzScheduler.java:478)

    at java.lang.Thread.run(Unknown Source)

 


tomcat7-stderr log


3 mars 2011 08:07:11 org.apache.catalina.loader.WebappClassLoader clearReferencesThreads

GRAVE: The web application [/c3] appears to have started a thread named [Thread-11] but has failed to stop it. This is very likely to create a memory leak.

3 mars 2011 08:07:40 org.apache.catalina.loader.WebappClassLoader loadClass

INFO: Illegal access: this web application instance has been stopped already.  Could not load org.quartz.utils.ExceptionHelper.  The eventual following stack trace is caused by an error thrown for debugging purposes as well as to attempt to terminate the thread which caused the illegal access, and has no functional impact.

java.lang.IllegalStateException

    at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1562)

    at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1521)

    at java.lang.ClassLoader.loadClassInternal(Unknown Source)

    at org.quartz.SchedulerException.getUnderlyingException(SchedulerException.java:169)

    at org.quartz.SchedulerException.toString(SchedulerException.java:265)

    at org.apache.log4j.spi.VectorWriter.println(ThrowableInformation.java:88)

    at java.lang.Throwable.printStackTrace(Throwable.java:509)

    at org.quartz.SchedulerException.printStackTrace(SchedulerException.java:325)

    at org.apache.log4j.spi.ThrowableInformation.getThrowableStrRep(ThrowableInformation.java:50)

    at org.apache.log4j.spi.LoggingEvent.getThrowableStrRep(LoggingEvent.java:333)

    at org.apache.log4j.WriterAppender.subAppend(WriterAppender.java:295)

    at org.apache.log4j.RollingFileAppender.subAppend(RollingFileAppender.java:225)

    at org.apache.log4j.WriterAppender.append(WriterAppender.java:150)

    at org.apache.log4j.AppenderSkeleton.doAppend(AppenderSkeleton.java:221)

    at org.apache.log4j.helpers.AppenderAttachableImpl.appendLoopOnAppenders(AppenderAttachableImpl.java:57)

    at org.apache.log4j.Category.callAppenders(Category.java:187)

    at org.apache.log4j.Category.forcedLog(Category.java:372)

    at org.apache.log4j.Category.log(Category.java:864)

    at org.apache.commons.logging.impl.Log4JLogger.error(Log4JLogger.java:251)

    at org.quartz.core.QuartzScheduler$1.run(QuartzScheduler.java:478)

    at java.lang.Thread.run(Unknown Source)

Exception in thread "Thread-11" java.lang.NoClassDefFoundError: org/quartz/utils/ExceptionHelper

    at org.quartz.SchedulerException.getUnderlyingException(SchedulerException.java:169)

    at org.quartz.SchedulerException.toString(SchedulerException.java:265)

    at org.apache.log4j.spi.VectorWriter.println(ThrowableInformation.java:88)

    at java.lang.Throwable.printStackTrace(Throwable.java:509)

    at org.quartz.SchedulerException.printStackTrace(SchedulerException.java:325)

    at org.apache.log4j.spi.ThrowableInformation.getThrowableStrRep(ThrowableInformation.java:50)

    at org.apache.log4j.spi.LoggingEvent.getThrowableStrRep(LoggingEvent.java:333)

    at org.apache.log4j.WriterAppender.subAppend(WriterAppender.java:295)

    at org.apache.log4j.RollingFileAppender.subAppend(RollingFileAppender.java:225)

    at org.apache.log4j.WriterAppender.append(WriterAppender.java:150)

    at org.apache.log4j.AppenderSkeleton.doAppend(AppenderSkeleton.java:221)

    at org.apache.log4j.helpers.AppenderAttachableImpl.appendLoopOnAppenders(AppenderAttachableImpl.java:57)

    at org.apache.log4j.Category.callAppenders(Category.java:187)

    at org.apache.log4j.Category.forcedLog(Category.java:372)

    at org.apache.log4j.Category.log(Category.java:864)

    at org.apache.commons.logging.impl.Log4JLogger.error(Log4JLogger.java:251)

    at org.quartz.core.QuartzScheduler$1.run(QuartzScheduler.java:478)

    at java.lang.Thread.run(Unknown Source)

Caused by: java.lang.ClassNotFoundException: org.quartz.utils.ExceptionHelper

    at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1676)

    at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1521)

    at java.lang.ClassLoader.loadClassInternal(Unknown Source)

    ... 18 more

 


Nothing in particular in the Openbravo.log.


 


I am successfully running Openbravo 2.5 on my Tomcat 6.0.20 server.


 


Thanks for your time


Best regards


Neil.

<<

Iván Perdomo

Posts: 1981

Joined: Wed Mar 18, 2009 7:25 pm

Post Mon Mar 07, 2011 9:13 am

RE:Cannot deploy Openbravo 3 RC4

Hi,


How did you installed this version? How are you trying to deploy the context to tomcat?


 


 


Best Regards,


--

Iván

<<

Neil Smith

Posts: 202

Joined: Wed Mar 18, 2009 7:26 pm

Post Mon Mar 07, 2011 9:23 am

RE:Cannot deploy Openbravo 3 RC4

Hi Ivàn,


I'm installing from main (sources -> ant install.source). And it runs OK all the way through.


All the config files are ok (ant setup).


I tried to deploy 'dynamically' (deploy.mode=class) and to deploy the war (ant war) on the tomcat servers.


I'm trying to deploy on the same server I have another instance of OB 2.5 running.


 


Thanks for your time


Best regards


Neil.

<<

Iván Perdomo

Posts: 1981

Joined: Wed Mar 18, 2009 7:25 pm

Post Mon Mar 07, 2011 9:56 am

RE:Cannot deploy Openbravo 3 RC4

Hi,


Perhaps is a memory issue. Can you try to stop/disable the other 2.50 contexts?


 


 


Best Regards,


--

Iván

<<

Neil Smith

Posts: 202

Joined: Wed Mar 18, 2009 7:26 pm

Post Mon Mar 07, 2011 11:40 am

RE:Cannot deploy Openbravo 3 RC4

On the tomcat 7 server, there is no other webapp.


I removed all the other webapps on the tomcat 6 server, and is still does not start.


 


I had a java heap space error to start (on tomcat 7), and corrected it, and I don't get it anymore.


 


Thanks for your help and your time


Neil.

<<

Neil Smith

Posts: 202

Joined: Wed Mar 18, 2009 7:26 pm

Post Thu Mar 17, 2011 12:26 pm

RE:Cannot deploy Openbravo 3 RC4

Any news or ideas on this issue?


Thanks


Neil.

<<

Dorin Cobzac

Posts: 38

Joined: Wed Apr 01, 2009 10:06 pm

Post Sun Jun 05, 2011 2:31 pm

RE:Cannot deploy Openbravo 3 RC4

Hi,

I'm getting the similar "org.openbravo.client.kernel.KernelContextListener"

error when deploying on Windows 2003 Openbravo 3RC7.



I'm searching for the cause right now

Return to Early Releases Discussion

Who is online

Users browsing this forum: No registered users and 2 guests

cron
Website Terms


Designed by ST Software for PTF.