Mbeans with JeniusDS: jboss.jca # name=JeniusDS,service=ConnectionFactoryBinding # name=JeniusDS,service=ManagedConnectionFactory # name=JeniusDS,service=ManagedConnectionPool # name=JeniusDS,service=TxCM
PS: I'm using a -ds.xml file to config the datasource and it was working with EJB RC3. Deploy: - I have a EAR (jenius.ear). - Inside EAR there is one WAR (jenius.war) and one JAR (jenius.jar). - Inside JAR there are Session beans and Entity beans. I also put persistence.xml in META-INF. Follow application.xml: <application xmlns="http://java.sun.com/xml/ns/j2ee" | xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/application_1_4.xsd" | version="1.4"> | | <display-name>B2Brasil - Jenius</display-name> | | <!-- Modulos Persistencia --> | <module> | <ejb>jenius.jar</ejb> | </module> | | <!-- Modulos Web --> | <module> | <web> | <web-uri>jenius.war</web-uri> | <context-root>/jenius</context-root> | </web> | </module> | | </application> Follow persistence.xml: <persistence> | <persistence-unit name="JeniusEntityManager"> | <jta-data-source>java:/JeniusDS</jta-data-source> | | <properties> | <property name="hibernate.dialect" value="org.hibernate.dialect.FirebirdDialect" /> | <property name="hibernate.cache.provider_class" value="org.hibernate.cache.HashtableCacheProvider" /> | </properties> | </persistence-unit> | </persistence> View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3920993#3920993 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3920993 ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642 _______________________________________________ JBoss-user mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/jboss-user
