• 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

Please Help with lookup problem

 
Ranch Hand
Posts: 36
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,
I have an EJB deployed on Weblogic 6.0. The client runs fine from inside Forte. When I try and run the client outside of Forte I get an error saying this:
Exception in thread "main" java.lang.NoClassDefFoundError: com.mycompany.document.DocumentHome
at DocumentClient.lookupHome(DocumentClient.java:42)
Does anyone know why it has a problem dong a lookup outside of Forte? I thought the whole MVC thing was so that I could have a stand alone client hit the WL server from the network.
If you have a client front end, what does it need to envoke the WL server and do a lookup? It works in Forte so I know that it is envoking the create() and it is executing the business methods just fine. What do I have to do to make a standalone client work outside of the Forte IDE?
Can someone enlighten me?
Steve
 
Ranch Hand
Posts: 977
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,
It problably works on Forte because it keeps a classpath pointing to your ejb classes, to deploy the client sucessfully you can package the home and remote interfaces of your bean with the client classes.
 
steve dowdall
Ranch Hand
Posts: 36
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Thanks,
Is packaging the Remote and Home Interfaces with the client the common practice when deploying a client that needs to access an EJB?
Steve
 
Don't get me started about those stupid light bulbs.
reply
    Bookmark Topic Watch Topic
  • New Topic