Solved

Running servlets under WS Studio and WAS 4

Posted on 2002-07-10
3
188 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

ScreenConnect 6.0 Free Trial

At ScreenConnect, partner feedback doesn't fall on deaf ears. We collected partner suggestions off of their virtual wish list and transformed them into one game-changing release: ScreenConnect 6.0. Explore all of the extras and enhancements for yourself!

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Shorten long url?  Apache2 and Tomcat. 7 240
Secure cookies 1 64
need to apply latest fix to websphere 7 2 98
java question on merging xls 3 82
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…
There are numerous questions about how to setup an IBM HTTP Server to be administered from WebSphere Application Server administrative console. I do hope this article will wrap things up and become a reference for this task. You need three things…
Established in 1997, Technology Architects has become one of the most reputable technology solutions companies in the country. TA have been providing businesses with cost effective state-of-the-art solutions and unparalleled service that is designed…
Although Jacob Bernoulli (1654-1705) has been credited as the creator of "Binomial Distribution Table", Gottfried Leibniz (1646-1716) did his dissertation on the subject in 1666; Leibniz you may recall is the co-inventor of "Calculus" and beat Isaac…

810 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