aspose file tools*
The moose likes Oracle/OAS and the fly likes Deployment problem in OC4J Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » Oracle/OAS
Bookmark "Deployment problem in OC4J" Watch "Deployment problem in OC4J" New topic
Author

Deployment problem in OC4J

dnyan ginde
Ranch Hand

Joined: Jan 17, 2006
Posts: 68
Hello,

I have created an EJB project in Eclipse Ganymede. This EJB project contains one stateless session bean and a client to test this bean. I have created a separate JPA project which contains one EJB 3.0 entity bean. I packaged both these projects in one single EAR file. When i try to deploy this EAR file to OC4J 10.1.3.4, i get the following warning on server startup:


Terminal is the EJB 3.0 entity bean.
The EAR gets deployed successfully even after this warning. However when i test the application i get the following exception:


While creating the JPA project in eclipse i have selected "Automatic detection of entity beans" hence i have not declared the entity beans in persistence.xml.

Can anybody tell me if I am missing anything?
dnyan ginde
Ranch Hand

Joined: Jan 17, 2006
Posts: 68
When i move the contents of the JPA project to the stateless bean project, everything works fine. The problem arises only when the JPA project and the stateless bean projects are different.
dnyan ginde
Ranch Hand

Joined: Jan 17, 2006
Posts: 68
I was able to resolve the issue. Thanks
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Deployment problem in OC4J
 
Similar Threads
Which is a good choice ( EJB Vs Hibernate )
XML name space error in Spring data JPA hibernate applicationContext.xml
how to execute ejb3.0
Application-Managed Transaction without joining
Unable to deploy first enterprise application EJB 3.0