[opencms-dev] Can not Deploy OpenCMS 9

Andreas Ernst ae at ae-online.de
Wed Nov 13 16:40:28 CET 2013


Am 13.11.13 16:08, schrieb Tony Thul:
> I am unable to deploy OpenCMS 9 on Glassfish 4. Because guava 14.0.1 cannot be deployed in a JEE7 Container. Any Idea when this will be updated?
>
> This is the server log:
>
> [2013-11-12T13:08:00.280-0600] [glassfish 4.0] [SEVERE] [AS-WEB-GLUE-00192] [javax.enterprise.web] [tid: _ThreadID=202 _ThreadName=admin-listener(43)] [timeMillis: 1384283280280] [levelValue: 1000] [[
>    Undeployment failed for context /opencms]]
>
> [2013-11-12T13:08:00.342-0600] [glassfish 4.0] [SEVERE] [] [javax.enterprise.system.core] [tid: _ThreadID=202 _ThreadName=admin-listener(43)] [timeMillis: 1384283280342] [levelValue: 1000] [[
>    Exception while loading the app : CDI deployment failure:WELD-001408 Unsatisfied dependencies for type [Set<Service>] with qualifiers [@Default] at injection point [[BackedAnnotatedParameter] Parameter 1 of [BackedAnnotatedConstructor] @Inject com.google.common.util.concurrent.ServiceManager(Set<Service>)]
> org.jboss.weld.exceptions.DeploymentException: WELD-001408 Unsatisfied dependencies for type [Set<Service>] with qualifiers [@Default] at injection point [[BackedAnnotatedParameter] Parameter 1 of [BackedAnnotatedConstructor] @Inject com.google.common.util.concurrent.ServiceManager(Set<Service>)]

Deselect Implicit CDI.

The experience i did: you have to restart GF after deploy OpemCms, 
sometimes the MySQL driver is not found. After installation, restart GF 
again.

You will find several solr issues. Nevertheless OpenCms is not working 
propper with GF 3.x and 4.

OpenCms looks great, but until now you can't use it with GF.

Some of the issues:

The error-page 
/opt/glassfish4/glassfish/domains/domain1/applications/opencms/opencms-errorhandler/system/handler/handle500.html 
or /ope
ncms-errorhandler/system/handler/handle500.html does not exist


   Servlet.service() for servlet jsp threw exception
java.lang.NullPointerException
         at 
org.opencms.jsp.CmsJspTagBundle.findMatch(CmsJspTagBundle.java:224)
         at 
org.opencms.jsp.CmsJspTagBundle.getLocalizationContext(CmsJspTagBundle.java:98)
         at 
org.opencms.jsp.CmsJspTagBundle.doStartTag(CmsJspTagBundle.java:260)
         at 
org.apache.jsp.WEB_002dINF.jsp.online.system.modules.com_alkacon_bootstrap_formatters.elements.login_jsp._jspService(login_jsp.java:110)


opencms/opencms/demo/login/

???bootstrap.login.title.loggedoff???
???bootstrap.login.message.loggedoff???

-- 
ae | Andreas Ernst | IT Spektrum
Postfach 5, 65612 Beselich
Schupbacher Str. 32, 65614 Beselich, Germany
Tel: +49-6484-91002 Fax: +49-6484-91003
ae at ae-online.de | www.ae-online.de
www.tachyon-online.de



More information about the opencms-dev mailing list