• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Deployment problem in OC4J

 
Ranch Hand
Posts: 68
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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
Posts: 68
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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
Posts: 68
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I was able to resolve the issue. Thanks
 
He was expelled for perverse baking experiments. This tiny ad is a model student:
a bit of art, as a gift, the permaculture playing cards
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic