GateIn 3.1.0 with JBoss AS 5.1.0 deployment fails
snon Jan 27, 2011 8:51 AMHi all,
I'm trying to start GateIn Portal 3.1.0 on JBoss AS 5.1.0 with a MySQL 5.5 server. Here's my configuration :
# JCR
gatein.jcr.config.type=local
gatein.jcr.datasource.name=java:jdbcjcr
gatein.jcr.datasource.dialect=org.hibernate.dialect.MySQLDialect
gatein.jcr.datasource.driver=com.mysql.jdbc.Driver
gatein.jcr.datasource.url=jdbc:mysql://localhost:3306/mygateindb_portal
gatein.jcr.datasource.username=root
gatein.jcr.datasource.password=XXX
# IDM
gatein.idm.datasource.name=java:jdbcidm
gatein.idm.datasource.driver=com.mysql.jdbc.Driver
gatein.idm.datasource.url=jdbc:mysql://localhost:3306/mygateindb_portal
gatein.idm.datasource.username=root
gatein.idm.datasource.password=XXX
I see that 2 ears have deployment errors :
DEPLOYMENTS IN ERROR:
Deployment "vfszip:/D:/Perso/GateIn-3.1.0-GA/server/default/deploy/starter-gatein.ear/" is in error due to the following reason(s): org.jboss.deployers.spi.DeploymentException: URL file:/D:/Perso/GateIn-3.1.0-GA/server/default/tmp/a1w5w3o-g2ax8v-gjfol6qg-1-gjfotuqs-a5/starter.war/ deployment failed
Deployment "vfsfile:/D:/Perso/GateIn-3.1.0-GA/server/default/deploy/gatein.ear/" is in error due to the following reason(s): org.xml.sax.SAXException: s4s-elt-character: Non-whitespace characters are not allowed in schema elements other than 'xs:appinfo' and 'xs:documentation'. Saw 'JDK 6 XML-related APIs '. @ http://java.sun.com/xml/ns/javaee/javaee_web_services_metadata_handler_2_0.xsd[5,31]
^M
Before that I saw errors while reading the configuration.properties file :
2011-01-27 14:10:56,486 DEBUG [exo.kernel.container.ManageableComponentAdapter] ==> add org.exoplatform.container.definition.PortalContainerConfig@1a68065 to a mbean server^M
2011-01-27 14:10:56,486 DEBUG [org.exoplatform.container.util.ContainerUtil] Attempt to load property file /D:/Perso/GateIn-3.1.0-GA/server/default/conf/gatein/configuration.properties^M
2011-01-27 14:10:56,486 DEBUG [org.exoplatform.container.util.ContainerUtil] Attempt to load property file /D:/Perso/GateIn-3.1.0-GA/server/default/conf/gatein/configuration.properties^M
2011-01-27 14:10:56,486 DEBUG [exo.kernel.container.PortalContainerConfig] The static method valueOf(String) cannot be found for the class class java.lang.String^M
java.lang.NoSuchMethodException: java.lang.String.valueOf(java.lang.String)^M
at java.lang.Class.getMethod(Class.java:1605)^M
at org.exoplatform.container.definition.PortalContainerConfig.mergeSettings(PortalContainerConfig.java:899)^M
at org.exoplatform.container.definition.PortalContainerConfig.initializeSettings(PortalContainerConfig.java:653)^M
at org.exoplatform.container.definition.PortalContainerConfig.initialize(PortalContainerConfig.java:978)^M
at org.exoplatform.container.definition.PortalContainerConfig.start(PortalContainerConfig.java:1017)^M
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)^M
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)^M
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)^M
at java.lang.reflect.Method.invoke(Method.java:597)^M
at org.picocontainer.defaults.LifecycleVisitor.traverse(LifecycleVisitor.java:75)^M
at org.picocontainer.defaults.LifecycleVisitor.start(LifecycleVisitor.java:113)^M
at org.exoplatform.container.ConcurrentPicoContainer.start(ConcurrentPicoContainer.java:453)^M
at org.exoplatform.container.ExoContainer.start(ExoContainer.java:186)^M
at org.exoplatform.container.ExoContainer.start(ExoContainer.java:180)^M
at org.exoplatform.container.RootContainer.buildRootContainer(RootContainer.java:406)^M
at org.exoplatform.container.RootContainer.getInstance(RootContainer.java:443)^M
at org.exoplatform.container.ExoContainerContext.getTopContainer(ExoContainerContext.java:123)^M
at org.exoplatform.container.PortalContainer.<clinit>(PortalContainer.java:81)^M
at org.exoplatform.container.web.PortalContainerConfigOwner.contextInitialized(PortalContainerConfigOwner.java:57)^M
at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3910)^M
at org.apache.catalina.core.StandardContext.start(StandardContext.java:4393)^M
at org.jboss.web.tomcat.service.deployers.TomcatDeployment.performDeployInternal(TomcatDeployment.jav
When I try to acces to the portal url : http://localhost:8080/portal, I receive a 404 error.
Regards,
Sovanna.