[opencms-dev] OpenCMS on JBoss 4.0.0
Michael Moossen
m.moossen at alkacon.com
Wed Jul 27 10:27:35 CEST 2005
Hi, Matthew!
the message "Critical error during OpenCms initialization: The OpenCms setup
wizard is still enabled" is just a warning, saying you deployed OpenCms but you
can not use it before you install it using the setup wizard.
the tons of exception you get later, and also every time you restart your
server with OpenCms, is due a jboss known issue with log4j. OpenCms tries to
write to its own log file, but jboss does not allows it.
--
Regards
Michael Moossen
Alkacon Software GmbH - The OpenCms Experts
http://www.alkacon.com
Quoting Matthew Edwards <medwards at computingissocial.net>:
> I work for a company developing J2EE applications. We are deploying to
> Jboss4.0.0. I was wondering if anyone can tell me how to rectify the
> following errors.
>
>
>
> Jboss console window
>
>
>
> 10:18:56,531 ERROR [OpenCmsCore] Critical error during OpenCms
> initialization: The OpenCms setup wizard is still enabled.
>
> 10:18:56,531 ERROR [OpenCmsListener] org.opencms.main.CmsInitException:
> Critical error during OpenCms initialization: The OpenCms setup wizard is
> stil
>
> l enabled.
>
> 10:18:56,546 INFO [init] . i18n configuration : the JVM default locale is
> "en_AU"
>
> 10:18:56,546 INFO [init] . Runlevel change : Switching from 1 to 2
>
> 10:18:56,562 ERROR [OpenCmsCore] Critical error during OpenCms
> initialization: The OpenCms setup wizard is still enabled.
>
> 10:18:56,562 ERROR [Engine] StandardContext[]Servlet threw load() exception
>
> javax.servlet.ServletException: Critical error during OpenCms
> initialization: The OpenCms setup wizard is still enabled.
>
> at org.opencms.main.OpenCmsServlet.init(OpenCmsServlet.java:226)
>
> at
> org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:10
> 29)
>
> at
> org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:862)
>
> at
> org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:
> 4013)
>
> at
> org.apache.catalina.core.StandardContext.start(StandardContext.java:4357)
>
> at
> org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:8
> 23)
>
> at
> org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:807)
>
> at
> org.apache.catalina.core.StandardHost.addChild(StandardHost.java:595)
>
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>
> at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39
> )
>
> at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl
> .java:25)
>
> at java.lang.reflect.Method.invoke(Method.java:585)
>
> at
> org.apache.commons.modeler.BaseModelMBean.invoke(BaseModelMBean.java:503)
>
> at
> org.jboss.mx.server.RawDynamicInvoker.invoke(RawDynamicInvoker.java:150)
>
> at
> org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:642)
>
> at
> org.apache.catalina.core.StandardContext.init(StandardContext.java:5441)
>
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>
> at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39
> )
>
> at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl
> .java:25)
>
> at java.lang.reflect.Method.invoke(Method.java:585)
>
> at
> org.apache.commons.modeler.BaseModelMBean.invoke(BaseModelMBean.java:503)
>
> at
> org.jboss.mx.server.RawDynamicInvoker.invoke(RawDynamicInvoker.java:150)
>
> at
> org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:642)
>
> at
> org.jboss.web.tomcat.tc5.TomcatDeployer.performDeployInternal(TomcatDeployer
> .java:332)
>
> at
> org.jboss.web.tomcat.tc5.TomcatDeployer.performDeploy(TomcatDeployer.java:85
> )
>
> at
> org.jboss.web.AbstractWebDeployer.start(AbstractWebDeployer.java:374)
>
> at org.jboss.web.WebModule.startModule(WebModule.java:62)
>
> at org.jboss.web.WebModule.startService(WebModule.java:40)
>
> at
> org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.
> java:272)
>
> at
> org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupp
> ort.java:222)
>
> at sun.reflect.GeneratedMethodAccessor2.invoke(Unknown Source)
>
> at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl
> .java:25)
>
> at java.lang.reflect.Method.invoke(Method.java:585)
>
> at
> org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java
> :144)
>
> at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)
>
> at org.jboss.mx.server.Invocation.invoke(Invocation.java:72)
>
> at
> org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:24
> 9)
>
> at
> org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:642)
>
> at
> org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.jav
> a:891)
>
> at $Proxy0.start(Unknown Source)
>
> at
> org.jboss.system.ServiceController.start(ServiceController.java:416)
>
> at sun.reflect.GeneratedMethodAccessor9.invoke(Unknown Source)
>
> at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl
> .java:25)
>
> at java.lang.reflect.Method.invoke(Method.java:585)
>
> at
> org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java
> :144)
>
> at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)
>
> at org.jboss.mx.server.Invocation.invoke(Invocation.java:72)
>
> at
> org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:24
> 9)
>
> at
> org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:642)
>
> at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:177)
>
> at $Proxy28.start(Unknown Source)
>
> at
> org.jboss.web.AbstractWebContainer.start(AbstractWebContainer.java:360)
>
> at org.jboss.deployment.MainDeployer.start(MainDeployer.java:964)
>
> at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:775)
>
> at
> org.jboss.deployment.MainDeployer.addDeployer(MainDeployer.java:360)
>
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>
> at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39
> )
>
> at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl
> .java:25)
>
> at java.lang.reflect.Method.invoke(Method.java:585)
>
> at
> org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java
> :144)
>
> at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)
>
> at
> org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java
> :122)
>
> at org.jboss.mx.server.Invocation.invoke(Invocation.java:74)
>
> at
> org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOpe
> rationInterceptor.java:131)
>
> at org.jboss.mx.server.Invocation.invoke(Invocation.java:74)
>
> at
> org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:24
> 9)
>
> at
> org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:642)
>
> at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:177)
>
> at $Proxy26.addDeployer(Unknown Source)
>
> at
> org.jboss.deployment.SubDeployerSupport.startService(SubDeployerSupport.java
> :112)
>
> at
> org.jboss.web.AbstractWebContainer.startService(AbstractWebContainer.java:56
> 6)
>
> at org.jboss.web.tomcat.tc5.Tomcat5.startService(Tomcat5.java:399)
>
> at
> org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.
> java:272)
>
> at
> org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupp
> ort.java:222)
>
> at sun.reflect.GeneratedMethodAccessor2.invoke(Unknown Source)
>
> at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl
> .java:25)
>
> at java.lang.reflect.Method.invoke(Method.java:585)
>
> at
> org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java
> :144)
>
> at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)
>
> at org.jboss.mx.server.Invocation.invoke(Invocation.java:72)
>
> at
> org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:24
> 9)
>
> at
> org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:642)
>
> at
> org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.jav
> a:891)
>
> at $Proxy0.start(Unknown Source)
>
> at
> org.jboss.system.ServiceController.start(ServiceController.java:416)
>
> at sun.reflect.GeneratedMethodAccessor9.invoke(Unknown Source)
>
> at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl
> .java:25)
>
> at java.lang.reflect.Method.invoke(Method.java:585)
>
> at
> org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java
> :144)
>
> at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)
>
> at org.jboss.mx.server.Invocation.invoke(Invocation.java:72)
>
> at
> org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:24
> 9)
>
> at
> org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:642)
>
> at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:177)
>
> at $Proxy4.start(Unknown Source)
>
> at org.jboss.deployment.SARDeployer.start(SARDeployer.java:261)
>
> at org.jboss.deployment.MainDeployer.start(MainDeployer.java:964)
>
> at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:775)
>
> at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:738)
>
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>
> at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39
> )
>
> at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl
> .java:25)
>
> at java.lang.reflect.Method.invoke(Method.java:585)
>
> at
> org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java
> :144)
>
> at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)
>
> at
> org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java
> :122)
>
> at org.jboss.mx.server.Invocation.invoke(Invocation.java:74)
>
> at
> org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOpe
> rationInterceptor.java:131)
>
> at org.jboss.mx.server.Invocation.invoke(Invocation.java:74)
>
> at
> org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:24
> 9)
>
> at
> org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:642)
>
> at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:177)
>
> at $Proxy8.deploy(Unknown Source)
>
> at
> org.jboss.deployment.scanner.URLDeploymentScanner.deploy(URLDeploymentScanne
> r.java:305)
>
> at
> org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentScanner.
> java:481)
>
> at
> org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.doScan(
> AbstractDeploymentScanner.java:204)
>
> at
> org.jboss.deployment.scanner.AbstractDeploymentScanner.startService(Abstract
> DeploymentScanner.java:277)
>
> at
> org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.
> java:272)
>
> at
> org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupp
> ort.java:222)
>
> at sun.reflect.GeneratedMethodAccessor2.invoke(Unknown Source)
>
> at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl
> .java:25)
>
> at java.lang.reflect.Method.invoke(Method.java:585)
>
> at
> org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java
> :144)
>
> at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)
>
> at org.jboss.mx.server.Invocation.invoke(Invocation.java:72)
>
> at
> org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:24
> 9)
>
> at
> org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:642)
>
> at
> org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.jav
> a:891)
>
> at $Proxy0.start(Unknown Source)
>
> at
> org.jboss.system.ServiceController.start(ServiceController.java:416)
>
> at sun.reflect.GeneratedMethodAccessor9.invoke(Unknown Source)
>
> at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl
> .java:25)
>
> at java.lang.reflect.Method.invoke(Method.java:585)
>
> at
> org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java
> :144)
>
> at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)
>
> at org.jboss.mx.server.Invocation.invoke(Invocation.java:72)
>
> at
> org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:24
> 9)
>
> at
> org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:642)
>
> at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:177)
>
> at $Proxy4.start(Unknown Source)
>
> at org.jboss.deployment.SARDeployer.start(SARDeployer.java:261)
>
> at org.jboss.deployment.MainDeployer.start(MainDeployer.java:964)
>
> at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:775)
>
> at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:738)
>
> at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:722)
>
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>
> at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39
> )
>
> at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl
> .java:25)
>
> at java.lang.reflect.Method.invoke(Method.java:585)
>
> at
> org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java
> :144)
>
> at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)
>
> at
> org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java
> :122)
>
> at org.jboss.mx.server.Invocation.invoke(Invocation.java:74)
>
> at
> org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOpe
> rationInterceptor.java:131)
>
> at org.jboss.mx.server.Invocation.invoke(Invocation.java:74)
>
> at
> org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:24
> 9)
>
> at
> org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:642)
>
> at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:177)
>
> at $Proxy5.deploy(Unknown Source)
>
> at org.jboss.system.server.ServerImpl.doStart(ServerImpl.java:413)
>
> at org.jboss.system.server.ServerImpl.start(ServerImpl.java:310)
>
> at org.jboss.Main.boot(Main.java:162)
>
> at org.jboss.Main$1.run(Main.java:423)
>
> at java.lang.Thread.run(Thread.java:595)
>
>
>
>
>
> I can then run setup through to step_8_import_modules.jsp
>
>
>
> Then I get Null Pointer exceptions in the window..
>
>
>
> Can anyone help me or suggest the best way to at least get the application
> up and running on Jboss4.0.0 any help would be greatly appreciated
>
>
>
> Kind Regards
>
> Matt
>
>
----------------------------------------------------------------
This message was sent using IMP, the Internet Messaging Program.
More information about the opencms-dev
mailing list