Discussion:
JahiaDS not found
Sabelo
2008-08-29 13:14:54 UTC
Permalink
I am trying to setup Jahia on JBOSS 4.2.2 with MySQL 5.0. I have followed the
instructions on the PDF "How to install Jahia on JBOSS" but I keep getting
the exception "Error creating bean with name
org.springframework.beans.factory.BeanCreationException: Error creating bean
with name 'JetspeedDS' defined in ServletContext resource
[/WEB-INF/etc/jetspeed/conf/assembly/boot/datasource.xml]: Initialization of
bean failed; nested exception is javax.naming.NameNotFoundException: jahiaDS
not bound.

I have tried to play around with the configs in the datasource.xml and
applicationcontext-hibernate.xml but I cant seem to get any further than
that.

Are there any ideas I can try?? Please help!!
--
View this message in context: http://www.nabble.com/JahiaDS-not-found-tp19215202p19215202.html
Sent from the Jahia - Template mailing list archive at Nabble.com.
Jahia papez
2008-08-29 18:09:27 UTC
Permalink
Hello Sabelo,

I have answered on a similar question in our install mailing list. See
here: http://article.gmane.org/gmane.comp.cms.jahia.install/1553

Some more points:

1.) When you remove WEB-INF\lib\jboss*.jar like mentioned in the
referenced mail, you have to first go sure that in server\default\lib
there is one jboss-cache*.jar and jgroups*.jar. If it is not then you
should not delete these two files from WEB-INF\lib.

2.) With the instructions in the above mail, you do not need to make any
changes in the configuration files regarding the datasource, but you
should leave the settings as they are in the deployment (e.g.
java:comp/env/jdbc/jetspeed in the
WEB-INF\etc\jetspeed\conf\assembly\boot\datasource.xml).

3.) Please make sure that the datasource configuration in jahia-ds.xml
uses <no-tx-datasource> and not <local-tx-datasource> and that you
remove this line if you have it there:
<use-java-context>false</use-java-context>

Regards,
Benjamin
Post by Sabelo
I am trying to setup Jahia on JBOSS 4.2.2 with MySQL 5.0. I have followed the
instructions on the PDF "How to install Jahia on JBOSS" but I keep getting
the exception "Error creating bean with name
org.springframework.beans.factory.BeanCreationException: Error creating bean
with name 'JetspeedDS' defined in ServletContext resource
[/WEB-INF/etc/jetspeed/conf/assembly/boot/datasource.xml]: Initialization of
bean failed; nested exception is javax.naming.NameNotFoundException: jahiaDS
not bound.
I have tried to play around with the configs in the datasource.xml and
applicationcontext-hibernate.xml but I cant seem to get any further than
that.
Are there any ideas I can try?? Please help!!
Loading...