Win a copy of Cross-Platform Desktop Applications: Using Node, Electron, and NW.js this week in the JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

help in deploying the new application  RSS feed

 
pavikavi
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi
i have 2 servlets , 1 ejb jar file 1 normal java bean 1 object
I tried to deploy using the following way
i put the servlet in the in ./config/mydomain/applications/defaultwebapp_myserver /WEB-INF/classes & i kept the ejb in ./config/mydomain/applications
& i called my servlet which contains some html thing in that which it accepted & displayed on pressing the submit button it has to invoke another servlet which in turn ivokes ejb bean, norml bean, objects etc duringthis time i got this error
java.rmi.marshalling exception
can anybody help me out
 
sandy gupta
Ranch Hand
Posts: 228
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
If its a marshalling xception then either u'r parameters on the 2 sides (client and implementation) do not match or the ejbc did not work properly in generating the proper stubs and skeletons OR u'r parameters are not serializable
HTH
Sahil
 
Saran Vel
Ranch Hand
Posts: 111
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
U'r normal bean should implement Serializable interface..
Hope this helps
Saran
 
Matt Midcap
Sheriff
Posts: 440
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
pavikavi,
The Java Ranch has thousands of visitors every week, many with surprisingly similar names. To avoid confusion we have a naming convention, described at http://www.javaranch.com/name.jsp .
We require names to have at least two words, separated by a space, and strongly recommend that you use your full real name. Please choose a new name which meets the requirements.
Thanks.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!