Win a copy of Kotlin in Action this week in the Kotlin forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

J2EE Client/Server: Failed to initialize EJB  RSS feed

 
Tanvi Panchal
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

1. There is one POJO class which implements serializable interface. I have added one field and its setter and getter in this class.

2. From the J2EE Client code I want to set the value of this field and from J2EE Server code(EJB) I want to get the value of this field and save it into database.

When I just codded first step mentioned above and deployed my EAR and ran J2EE Client code, I get exception saying "Failed to Initialize EJB".

Has someone came across the same situation? Is the POJO which is serializable making all problem?

Can someone help..!!

Tanvi.
 
Jaikiran Pai
Sheriff
Posts: 10447
227
IntelliJ IDE Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Please post more details including the entire exception stacktrace, the relevant code and the application server you are using.
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!