Thomas Skowronek

Greenhorn
+ Follow
since Jul 05, 2002
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by Thomas Skowronek

The doGet method is for handling HTTP GET requests and the doPost method is for handling HTTP POST requests.
If a client clicks a hyperlink a GET is sent to the server, which causes the doGet to be invoked.
If a client submits a form, generally a POST is sent to the server, which causes the doPost to be invoked.
For more detailed information on POST and GET see the spec at:
http://www.ietf.org/rfc/rfc2616.txt
19 years ago
I have developed a small web app runing on WAS 4.0.3, which uses a servlet that access a session bean successfully.
Now I am trying to create a remote command-line Java client, which will access the same session bean from a remote workstation.
When running the client in WSAD the application executes correctly. When I try to execute the appliation outside of WSAD I get the following exception:
javax.naming.NoInitialContextException: Cannot instantiate class: com.ibm.websphere.naming.WsnInitialContextFactory [Root exception is java.lang.ClassNotFoundException: com.ibm.websphere.naming.WsnInitialContextFactory]
Exception in thread "main" java.lang.NoClassDefFoundError: com/palmharbor/roi/ejb/InventoryManagerHome
at com.palmharbor.roi.remote.TestClient.main(TestClient.java:76)
After reading all the other posts, I'm guessing I need to deploy some JAR files with my app on the remote workstation, but I am not sure which ones. Can anyone tell me exactly what I need to deploy with my app to get it to successfully connect to WAS?
The JRE I am using on the remote workstation is the same one used in WSAD.
Regards,
Thomas
19 years ago