I have created jira issue for this: http://fornax.itemis.de/jira/browse/CSC-362
An alternative that might work is that you add the following to web.xml: <resource-ref> <res-ref-name>jdbc/UniverseDS</res-ref-name> <res-type>javax.sql.DataSource</res-type> <res-auth>Container</res-auth> </resource-ref> And create a jboss-web.xml: <?xml version="1.0" encoding="UTF-8"?> <jboss-web> <resource-ref> <res-ref-name>jdbc/UniverseDS</res-ref-name> <jndi-name>java:jdbc/UniverseDS</jndi-name> </resource-ref> </jboss-web> /Patrik Oliver Ringel wrote: > > Hi Danny, > > this is a bug in sculptor 1.6.0. > > The correct JNDI name to lookup the datasource in JBoss > should be 'java:jdbc/UniverseDS' not java:comp/java/jdbc/UniverseDS. > We have to fix this. > > As quick workaround you can try adding this to SpecialCases.xpt. > > «AROUND templates::Hibernate::persistenceUnitDataSource FOR Application» > <non-jta-data-source>java:jdbc/«dataSourceName()»</non-jta-data-source> > «ENDAROUND» > > regards, Oliver > -- View this message in context: http://www.nabble.com/Problem-deploying-Sculptor-generated-.war-file-in-JBoss-tp24167140s17564p24173938.html Sent from the Fornax-Platform mailing list archive at Nabble.com. ------------------------------------------------------------------------------ _______________________________________________ Fornax-developer mailing list Fornax-developer@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/fornax-developer