[opencms-dev] Install OpenCMS on Glassfish V2

Cristian Camilo Lopez Vidal calovi86 at hotmail.com
Mon Mar 17 20:08:53 CET 2008


I could fix the error, It was the wizard.enabled flag on the opencms.properties, I changed it to false during the OpenCMS init and after that changed it to true again and refreseh the page.... :-).......but..... now I'm getting another error, In the setup step 6 when it tries to load the modules I'm getting a SAX Exception...
I already tried the sun-web.xml workaround (<class-loader delegate="false" />), the exceptionis thrown by the apache parser, this is the exception trace :
What could I do ?  :'(

17 Mar 2008 11:20:47,019 ERROR [ache.commons.digester.Digester:1224] End event threw exception
java.lang.reflect.InvocationTargetException
    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:597)
    at org.apache.commons.beanutils.MethodUtils.invokeMethod(MethodUtils.java:216)
    at org.apache.commons.digester.CallMethodRule.end(CallMethodRule.java:626)
    at org.apache.commons.digester.Rule.end(Rule.java:253)
    at org.apache.commons.digester.Digester.endElement(Digester.java:1222)
    at org.apache.xerces.parsers.AbstractSAXParser.endElement(Unknown Source)
    at org.apache.xerces.parsers.AbstractXMLDocumentParser.emptyElement(Unknown Source)
    at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanStartElement(Unknown Source)
    at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(Unknown Source)
    at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source)
    at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
    at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
    at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
    at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)
    at org.apache.xerces.jaxp.SAXParserImpl$JAXPSAXParser.parse(Unknown Source)
    at org.apache.commons.digester.Digester.parse(Digester.java:1765)     
    at org.opencms.module.CmsModuleImportExportHandler.readModuleFromImport(CmsModuleImportExportHandler.java:167)
    at org.opencms.module.CmsModuleManager.getAllModulesFromPath(CmsModuleManager.java:276)
    at org.opencms.setup.CmsSetupBean.getAvailableModules(CmsSetupBean.java:497)
    at org.opencms.setup.CmsSetupBean.jsModuleNames(CmsSetupBean.java:1447)
    at org.apache.jsp.setup.step_005f6_005fmodule_005fselection_jsp._jspService(step_005f6_005fmodule_005fselection_jsp.java from :86)
    at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:93)


       

Date: Mon, 17 Mar 2008 09:18:28 -0500
From: tim_kuntz at pamperedchef.com
To: opencms-dev at opencms.org
Subject: Re: [opencms-dev] Install OpenCMS on Glassfish V2



















What version of OpenCms are you trying to
install? 

 

If it is 7.0.3 or earlier, you can get it
to work by updating the web.xml as the instructions state.

 

If it is 7.0.4, you will need to update
the source code. I updated the instructions this morning: http://opencms-wiki.org/App_server_related_topics#Glassfish_V2

 

tim

 









From:
opencms-dev-bounces at opencms.org [mailto:opencms-dev-bounces at opencms.org] On Behalf Of Cristhian C Lopez Vidal

Sent: Sunday, March 16, 2008 10:19
AM

To: opencms-dev at opencms.org

Subject: [opencms-dev] Install
OpenCMS on Glassfish V2



 

Hello,



I was unable to configure OpenCMS on Glassfish v2, I follow the instructions
posted here http://opencms-wiki.org/App_server_related_topics
, but it still not working, this is the error : 



16 mar 2008 02:26:07,591 ERROR [  org.opencms.main.OpenCmsCore: 320]
Critical error during OpenCms initialization: The OpenCms setup wizard is still
enabled.

org.opencms.main.CmsException: Critical error during OpenCms initialization:
The OpenCms setup wizard is still enabled.

    at
org.opencms.main.OpenCmsCore.setErrorCondition(OpenCmsCore.java:320)

    at
org.opencms.main.CmsInitException.setErrorCondition(CmsInitException.java:120)

    at
org.opencms.main.CmsInitException.<init>(CmsInitException.java:78)

    at
org.opencms.main.CmsInitException.<init>(CmsInitException.java:64)

    at
org.opencms.main.OpenCmsCore.initContext(OpenCmsCore.java:1256)

    at
org.opencms.main.OpenCmsCore.upgradeRunlevel(OpenCmsCore.java:1731)

    at org.opencms.main.OpenCmsServlet.init(OpenCmsServlet.java:235)

    at
org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1178)

    at
org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:1007)

    at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:4808)

    at
org.apache.catalina.core.StandardContext.start(StandardContext.java:5196)

    at
com.sun.enterprise.web.WebModule.start(WebModule.java:326)

    at com.sun.enterprise.web.LifecycleStarter.doRun(LifecycleStarter.java:58)

    at
com.sun.appserv.management.util.misc.RunnableBase.runSync(RunnableBase.java:304)

    at
com.sun.appserv.management.util.misc.RunnableBase._submit(RunnableBase.java:176)

    at com.sun.appserv.management.util.misc.RunnableBase.submit(RunnableBase.java:192)

    at
com.sun.enterprise.web.VirtualServer.startChildren(VirtualServer.java:1672)

    at
org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1231)

    at
org.apache.catalina.core.StandardHost.start(StandardHost.java:955)

    at
com.sun.enterprise.web.LifecycleStarter.doRun(LifecycleStarter.java:58)

    at
com.sun.appserv.management.util.misc.RunnableBase.runSync(RunnableBase.java:304)

    at
com.sun.appserv.management.util.misc.RunnableBase._submit(RunnableBase.java:176)

    at
com.sun.appserv.management.util.misc.RunnableBase.submit(RunnableBase.java:192)

    at
com.sun.enterprise.web.EmbeddedWebContainer$WebEngine.startChildren(EmbeddedWebContainer.java:453)

    at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1231)

    at
org.apache.catalina.core.StandardEngine.start(StandardEngine.java:533)

    at
org.apache.catalina.startup.Embedded.start(Embedded.java:936)

    at
com.sun.enterprise.web.WebContainer.start(WebContainer.java:873)

    at com.sun.enterprise.web.PEWebContainer.startInstance(PEWebContainer.java:790)

    at
com.sun.enterprise.web.PEWebContainerLifecycle.onStartup(PEWebContainerLifecycle.java:84)

    at
com.sun.enterprise.server.ApplicationServer.onStartup(ApplicationServer.java:442)

    at com.sun.enterprise.server.ondemand.OnDemandServer.onStartup(OnDemandServer.java:120)

    at com.sun.enterprise.server.PEMain.run(PEMain.java:411)

    at com.sun.enterprise.server.PEMain.main(PEMain.java:338)

    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:597)

    at
com.sun.enterprise.server.PELaunch.main(PELaunch.java:412)

16 mar 2008 02:26:07,591  INFO [.opencms.i18n.CmsLocaleManager: 333] .
i18n configuration   : the JVM default locale is "en"



Thanks...

 







_________________________________________________________________
Express yourself instantly with MSN Messenger! Download today it's FREE!
http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://webmail.opencms.org/pipermail/opencms-dev/attachments/20080317/23944765/attachment.htm>


More information about the opencms-dev mailing list