• 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

Ear would run in weblogic 6.1

 
Ranch Hand
Posts: 73
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I have problems with deploying an ear file. I could deploy an ear file on web logic but when start up it gives error message saying that the local interface of a stateful session bean does not throws an exception thrown in the bean class. But the interface thrown in the bean class is RemoteException and local interface are not suppose to throw that exception. I got remote interface which throw this exception.
Please help. Thanks
[ September 24, 2002: Message edited by: rastin purr ]
 
Ranch Hand
Posts: 8945
Firefox Browser Spring Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
In which method have u thrown removeException ?
Is it in ejbRemove() ?

Can u paste the local i/f class code here. That would be more helpful
 
rastin purr
Ranch Hand
Posts: 73
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi Pradeep,
Sorry, it's RemoteException not RemoveException.
Any Ideas? Thanks in advance.
 
Pradeep bhatt
Ranch Hand
Posts: 8945
Firefox Browser Spring Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi Rastin
Its not required to throw RemoteException in bean class any more .
If I am not wrong it was required only in ejb 1.0.
Hope this helps.

Originally posted by rastin purr:
Hi Pradeep,
Sorry, it's RemoteException not RemoveException.
Any Ideas? Thanks in advance.

 
rastin purr
Ranch Hand
Posts: 73
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi Pradeep,
thanks for the reply. I am using forte4 ee and it doesn;t require me to explicitly declare the throw RemoteException but it add it automatically to the remote and home interface. What should I do? manually remove them? Please suggest as weblogic seems to be having a problem with this issue. j2sdkee ri 1.3.1 is ok with it.
Thanks
 
Pradeep bhatt
Ranch Hand
Posts: 8945
Firefox Browser Spring Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
REmove them manually.
 
Consider Paul's rocket mass heater.
reply
    Bookmark Topic Watch Topic
  • New Topic