This week's book giveaways are in the Java EE and JavaScript forums.
We're giving away four copies each of The Java EE 7 Tutorial Volume 1 or Volume 2(winners choice) and jQuery UI in Action and have the authors on-line!
See this thread and this one for details.
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


Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
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
 
Consider Paul's rocket mass heater.
 
subject: Deployment problem in OC4J