Solved

Running servlets under WS Studio and WAS 4

Posted on 2002-07-10
3
191 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

Flexible connectivity for any environment

The KE6900 series can extend and deploy computers with high definition displays across multiple stations in a variety of applications that suit any environment. Expand computer use to stations across multiple rooms with dynamic access.

Question has a verified solution.

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

Suggested Solutions

-Xmx and -Xms are the two JVM options often used to tune JVM heap size.   Here are some common mistakes made when using them:   Assume BigApp is a java class file for the below examples. 1.         Missing m, M, g or G at the end …
Configure Web Service (server application) I. Configure security for Web Services methods First, we need to protect Session bean which implements the service: 1. Open EJB deployment descriptor (ejb-jar.xml) in the EJB project that contains you…
In an interesting question (https://www.experts-exchange.com/questions/29008360/) here at Experts Exchange, a member asked how to split a single image into multiple images. The primary usage for this is to place many photographs on a flatbed scanner…
Suggested Courses

734 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