[opencms-dev] Install OpenCMS on Glassfish V2

Cristhian C Lopez Vidal calovi86 at hotmail.com
Thu Mar 20 21:33:18 CET 2008


Thank you so much Cherif, I installed OpenCms 7.0.3 and It works fine on
Windows Xp, java6,GlassfishV2,MS SqlServer (this is a test environment for
proof of concepts, I’m evaluating OpenCms), I had to apply the sun-web.xml
workaround and the BEA Workaround and everything is running now
.

 

Regards,

 

 

De: opencms-dev-bounces at opencms.org [mailto:opencms-dev-bounces at opencms.org]
En nombre de cherif
Enviado el: Martes, 11 de Marzo de 2008 06:11 a.m.
Para: The OpenCms mailing list
Asunto: Re: [opencms-dev] Install OpenCMS on Glassfish V2

 

Cristhian,

You didn’t say a word about your system : os, java,


Anyway, opencms on glassfish2 is known not to work properly.

Maybe you can try : opencms (7.0.0,7.0.1,7.0.2,7.0.3 or lower) + SJSAS91(sun
java system application server) which is just another name of glassfish. You
can find more on that on the web.

We are using solaris 10 x86+sjasas91+apche2+java6+opencms7.0.3. SJSAS91 IS
OR CONTAINER so no need tomcat. We are running the container behind apache2
so, almost all what is said about opencms+apache+tomcat just work here.

Regards

Cherif 

 

-----Message d'origine-----
De : opencms-dev-bounces at opencms.org
[mailto:opencms-dev-bounces at opencms.org]De la part de Cristhian C Lopez
Vidal
Envoyé : jeudi 20 mars 2008 02:49
À : 'The OpenCms mailing list'
Objet : Re: [opencms-dev] Install OpenCMS on Glassfish V2

 

Any idea ¿?

 

De: opencms-dev-bounces at opencms.org [mailto:opencms-dev-bounces at opencms.org]
En nombre de Cristian Camilo Lopez Vidal
Enviado el: Lunes, 17 de Marzo de 2008 02:09 p.m.
Para: The OpenCms mailing list
Asunto: Re: [opencms-dev] Install OpenCMS on Glassfish V2

 

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(Unkno
wn Source)
    at
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatc
her.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(CmsModu
leImportExportHandler.java:167)
    at
org.opencms.module.CmsModuleManager.getAllModulesFromPath(CmsModuleManager.j
ava: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(ste
p_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>
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:12
0)
    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:11
78)
    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:1
92)
    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:1
92)
    at
com.sun.enterprise.web.EmbeddedWebContainer$WebEngine.startChildren(Embedded
WebContainer.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(PEWebContainerLifec
ycle.java:84)
    at
com.sun.enterprise.server.ApplicationServer.onStartup(ApplicationServer.java
:442)
    at
com.sun.enterprise.server.ondemand.OnDemandServer.onStartup(OnDemandServer.j
ava: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! MSN Messenger
<http://clk.atdmt.com/AVE/go/onm00200471ave/direct/01/> 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://webmail.opencms.org/pipermail/opencms-dev/attachments/20080320/c31e0798/attachment.htm>


More information about the opencms-dev mailing list