• 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 all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Paul Clapham
  • Ron McLeod
  • Jeanne Boyarsky
  • Tim Cooke
Sheriffs:
  • Bear Bibeault
  • Henry Wong
  • Devaka Cooray
Saloon Keepers:
  • salvin francis
  • Tim Moores
  • Tim Holloway
  • Stephan van Hulst
  • Frits Walraven
Bartenders:
  • Jj Roberts
  • Carey Brown
  • Scott Selikoff

Jboss Deployment Warning

 
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
We have just migrate an application from 2.4 to 3.0. When we deploy it in 3.0 we got this warnings in a class.
18:43:46,370 INFO [EJBDeployer]
Bean : TheSystem
Method : public abstract System create() throws RemoteException, CreateException
Section: 6.8
Warning: The create method of a stateless session bean home interface must return the session bean's remote interface.
18:43:46,380 INFO [EJBDeployer]
Bean : TheSystem
Method : public abstract System create() throws RemoteException, CreateException
Section: 6.10.6
Warning: The return type for a create(...) method must be the session bean's remote interface type.
What did we do wrong?
Please help...
 
Ranch Hand
Posts: 314
2
Android VI Editor Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi there,
What is the name of your remote interface? Is it 'System'? If not, you'll need to change it.
If that's not the problem, make sure you're using the latest JBoss-specific deployment descriptors as they've changed from 2.4.x to 3.x.x. Also, make sure to search the forums on jboss.org as they're bound to have something about your problem -- and expertise to help.
Cheers,
Darryl
 
reply
    Bookmark Topic Watch Topic
  • New Topic