• Post Reply Bookmark Topic Watch Topic
  • New Topic

deployment problem in Jboss

 
guddi venu
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
When am trying to deploy the jsf application in Jboss the following exception is coming..
and application is working fine in tomact.

java.lang.RuntimeException: Specification violation [EJB3 JPA 6.2.1.2] - You have not defined a jta-data-source for a JTA enabled persistence context named: test
at org.jboss.jpa.deployment.PersistenceUnitInfoImpl.<init>(PersistenceUnitInfoImpl.java:115)

21:43:12,680 ERROR [[/test]] Exception sending context initialized event to listener instance of class com.sun.faces.config.ConfigureListener
com.sun.faces.config.ConfigurationException: CONFIGURATION FAILED! Class org.apache.myfaces.webapp.filter.TomahawkFacesContextFactory is no javax.faces.context.FacesContextFactory
at com.sun.faces.config.ConfigManager.initialize(ConfigManager.java:213)

 
Tim Holloway
Bartender
Posts: 18417
60
Android Eclipse IDE Linux
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
http://www.coderanch.com/t/491134/JSF/java/insatllation-jsf-jpa-project-Jboss#2210268

JBoss configures its datasources differently than Tomcat does. You didn't set up a JBoss datasource.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!