Solved

Running servlets under WS Studio and WAS 4

Posted on 2002-07-10
3
189 Views
Last Modified: 2013-12-10
I've taken one of the WS Studio examples, FastEmployeeList_21, compiled it, exported
the EAR
 into WAS 4.0 and deployed it.  I need to know several things.  First, how do I run
this in Studio?
How do I figure out what URL to put in the browser to run it in WAS4.0?  (i.e http://localhost:????/??????.)
Do i need to make some kind of html page to invoke it?
This is the web.xml listing.

 <?xml version="1.0" encoding="UTF-8" ?>
  <!DOCTYPE application (View Source for full doctype...)>
- <application id="Application_ID">
  <display-name>FastEmployeeListEAR</display-name>
- <module id="WebModule_1">
- <web>
  <web-uri>FastEmployeeList.war</web-uri>
  <context-root>FastEmployeeList</context-root>
  </web>
  </module>
  </application>
 

0
Comment
Question by:xoxomos
3 Comments
 
LVL 3

Expert Comment

by:jerelw
ID: 7146401
What is the signature of the virtual host you bound your Application to?

Then, what is the URL Pattern you mapped you servlet to?

Did you configure your .war file to serve servlets by class name?

0
 

Author Comment

by:xoxomos
ID: 7146886
1.You mean like default_host?
2. None.  I didn't use the AAT to put anything togather.  I just exported the EAR from Studio, then deployed whatever Studio produced onto WAS.
3. No,  
0
 

Accepted Solution

by:
Mommasal earned 100 total points
ID: 7177814
In my experience with WAS 4.0, it usually deploys applications to port 9080, so it would be http://localhost:9080/...
Then you should look in the AppServer directory for installedApps, then the deployed .ear file, maybe FastEmployeeList_21.ear, then the .war file, similarly, FastEmployeeList_21.war, and that should be the starting address for the application.  So the address would be http://localhost:9080/FastEmployeeList_21/whatever is in the .war file...
The example should have a start page to invoke the app, probably a .jsp, so I recommend searching for one, and just plugging in into your browser...
like http://localhost:9080/FastEmployeeList_21/stuff/TestClient.jsp

But maybe you've already figured it out
0

Featured Post

Portable, direct connect server access

The ATEN CV211 connects a laptop directly to any server allowing you instant access to perform data maintenance and local operations, for quick troubleshooting, updating, service and repair.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Verbose logging is used to diagnose garbage collector problems. By default, -verbose:gc output is written to either native_stderr.log or native_stdout.log.   It is also possible to redirect the logs to a user-specified file. This article will de…
This exercise is about for the following scenario: Dmgr and One node with 2 application server. Each application server contains it owns application. Application server name as follows server1 contains app1 server2 contains app1 Prereq…
Two types of users will appreciate AOMEI Backupper Pro: 1 - Those with PCIe drives (and haven't found cloning software that works on them). 2 - Those who want a fast clone of their boot drive (no re-boots needed) and it can clone your drive wh…
I've attached the XLSM Excel spreadsheet I used in the video and also text files containing the macros used below. https://filedb.experts-exchange.com/incoming/2017/03_w12/1151775/Permutations.txt https://filedb.experts-exchange.com/incoming/201…

808 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question