Solved

Running servlets under WS Studio and WAS 4

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

Major Incident Management Communications

Major incidents and IT service outages cost companies millions. Often the solution to minimizing damage is automated communication. Find out more in our Major Incident Management Communications infographic.

Question has a verified solution.

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

-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 …
Upgrading Tomcat – There are a couple of methods to upgrade Tomcat is to use The Apache Installer is to download and unzip and run the services.bat remove|install Tomcat6 Because of the App that we are working with, we can only use Tomcat 6.…
This is a high-level webinar that covers the history of enterprise open source database use. It addresses both the advantages companies see in using open source database technologies, as well as the fears and reservations they might have. In this…
NetCrunch network monitor is a highly extensive platform for network monitoring and alert generation. In this video you'll see a live demo of NetCrunch with most notable features explained in a walk-through manner. You'll also get to know the philos…

707 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