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
Marcos Maia
Ranch Hand
Joined: Jan 06, 2001
Posts: 973
posted
0
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
Joined: May 23, 2001
Posts: 36
posted
0
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