Hello,
thanks to many posts on dev and install mailing list, I read about
installing Jahia under JBoss for having a full J2EE running platform. I've
understand it's better to installa jahia as an unzipped war directory, and so I
done, but seems there is something to configure about jetspeed in order to let
it run under JBoss.
Looking at JBoss logs, found the following:
...
2004-08-02 16:14:07,210 ERROR [org.jboss.web.WebModule] Starting failed
jboss.web.deployment:war=jahia.war,id=1375337157
org.jboss.deployment.DeploymentException: Error during deploy; - nested
throwable: (javax.naming.NamingException: resource-ref: jdbc/jetspeed has no
valid JNDI binding. Check the jboss-web/resource-ref.)
at org.jboss.web.AbstractWebDeployer.start(AbstractWebDeployer.java:315)
at org.jboss.web.WebModule.startModule(WebModule.java:62)
...
I am not a JBoss guru, neither a Jetspeed one, but looking for a similar error
on Google I realized it's a common error in configuring JDBC resources for
JBoss, and it's resolved by defining a xxx-ds.xml file, used for JNDI resources
mapping.
Something like this
...
<datasources>
<local-tx-datasource>
<jndi-name>jdbc/mysql</jndi-name>
<connection-url>jdbc:mysql://localhost:3306/mysql</connection-url>
<driver-class>com.mysql.jdbc.Driver</driver-class>
<user-name>root</user-name>
<password></password>
</local-tx-datasource>
</datasources>
...
(extracted from
http://www.jroller.org/page/RickHigh?anchor=configuring_a_mysql_datasource_in)
Do you know if jetspeed needs some ds.xml file for let it integrate with JBoss?
Pasquale Rossiello
Twinergy spa
Ravenna, Viale Newton 30, Tel. 0544 471238, Fax. 0544 471935
Casalecchio di Reno (Bo), Via de Carracci 11, Tel. 051 6191161, Fax. 051
560038
Reggio Emilia, Via M.K. Gandhi 18, Tel. 0522 299202, Fax. 0522 299258
<www.twinergy.it>
<mailto:[EMAIL PROTECTED]>