[jboss-user] [Datasource Configuration] - Re: Error in JBOSS

2009-03-25 Thread davestar
Did you get this issue resolved? Can you post the resolution please? View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4220995#4220995 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4220995

[jboss-user] [JCA/JBoss] - Re: JBOSS Error

2009-03-24 Thread davestar
Did you get this issue resolved? Can you post the resolution please? View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4220722#4220722 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4220722

[jboss-user] [EJB 3.0] - InitialContext reference and definition

2009-01-20 Thread davestar
My Session EJB is successfully deployed in JBoss 4.2.2 and here's the entry in the Global JNDI Namespace from the JMX console. +- MXIntegrationEAR (class: org.jnp.interfaces.NamingContext) | | +- BurdenRateFacade (class: org.jnp.interfaces.NamingContext) | | | +- local (proxy:

[jboss-user] [EJB 3.0] - Re: InitialContext reference and definition

2009-01-20 Thread davestar
Thanks Peter! I no longer get the NoInitialContext exception. Now when I do a look up with the code BurdenRateFacade bean = (BurdenRateFacade)context.lookup(BurdenRateFacade); I get a Classcast exception. java.lang.ClassCastException: org.jnp.interfaces.NamingContext I did a

[jboss-user] [EJB 3.0] - Re: InitialContext reference and definition

2009-01-20 Thread davestar
Thanks Peter! it worked View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4203415#4203415 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4203415 ___ jboss-user mailing list

[jboss-user] [EJB 3.0] - Re: There is no default persistence unit in this deployment

2009-01-16 Thread davestar
Thanks Everyone. Thanks jaikiran! it worked when i moved the persistence.xml to the META-INF within the EJB jar. I also found with my existing file structure with the persistence.xml at the top level META-INF in the ear file. It works if I add the unitName to the @PersistenceContext

[jboss-user] [EJB 3.0] - Re: There is no default persistence unit in this deployment

2009-01-16 Thread davestar
Thanks Everyone, the JIRA ticket can be closed. Thanks jaikiran! that worked when I moved the persistence.xml to the META-INF within the EJB jar. I also found that with my current structure of having persistence.xml at the top level META-INF within the ear, it works when I have the unitName for

[jboss-user] [EJB 3.0] - Re: There is no default persistence unit in this deployment

2009-01-15 Thread davestar
I reverse engineered and generated hibernate pojos and Session EJB dao code. They are packaged in my ear. My persistence.xml is in the MET-INF folder in the ear file. Here's my persistence.xml persistence xmlns=http://java.sun.com/xml/ns/persistence; |

[jboss-user] [EJB 3.0] - Re: There is no default persistence unit in this deployment

2009-01-15 Thread davestar
JBoss version - 4.2.2, Yes I meant META-INF Here's my application.xml ?xml version=1.0 encoding=ASCII? | application xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance; xmlns=http://java.sun.com/xml/ns/javaee; xmlns:application=http://java.sun.com/xml/ns/javaee/application_5.xsd;

[jboss-user] [EJB 3.0] - Re: There is no default persistence unit in this deployment

2009-01-15 Thread davestar
JIRA ticket: EJBTHREE-1687 View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4202275#4202275 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4202275 ___ jboss-user mailing list

[jboss-user] [EJB 3.0] - There is no default persistence unit in this deployment - Il

2009-01-14 Thread davestar
I get the following exception when my JBoss server starts up. java.lang.RuntimeException: Illegal @PersistenceUnit on private javax.persistence.EntityManager gov.usbr.data.cdw.BurdenRateHome.entityManager :There is no default persistence unit in this deployment. at

[jboss-user] [EJB 3.0] - Re: There is no default persistence unit in this deployment

2009-01-14 Thread davestar
Here's my persistence.xml persistence xmlns=http://java.sun.com/xml/ns/persistence; xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance; xsi:schemaLocation=http://java.sun.com/xml/ns/persistence http://java.sun.com/xml/ns/persistence/persistence_1_0.xsd; version=1.0 persistence-unit

[jboss-user] [EJB 3.0] - Re: There is no default persistence unit in this deployment

2009-01-14 Thread davestar
I also have the below two properties set but they dont seem to display in this forum when I copy paste the persistence.xml hibernate.dialect value=org.hibernate.dialect.HSQLDialect/ hibernate.hbm2ddl.auto value=create-drop/ View the original post :