File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Websphere and the fly likes problems trying to access a deployed EAR file Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » Websphere
Bookmark "problems trying to access a deployed EAR file" Watch "problems trying to access a deployed EAR file" New topic
Author

problems trying to access a deployed EAR file

dinesh prasad
Greenhorn

Joined: Jun 03, 2003
Posts: 27
For this archive, I have set the servlet mapping to /Invoke and set the context root of the WAR file to /Hello. Using Websphere App Server 5, what's the URL that will allow me access this application? Thanks in advance.
Dinesh
dinesh prasad
Greenhorn

Joined: Jun 03, 2003
Posts: 27
By the way, I've tried http://localhost/Hello/Invoke. This doesn't work.
Thanks,
Dinesh
Vinod Bijlani
Ranch Hand

Joined: Mar 06, 2002
Posts: 133
http://webservername/contextroot/servletmapping (if from webserver)
http://appservername:embeddedwebserverport/contextroot/servletmapping (if from appserver)
Vinod Bijlani
Ranch Hand

Joined: Mar 06, 2002
Posts: 133
is ur webserver running on localhost???
dinesh prasad
Greenhorn

Joined: Jun 03, 2003
Posts: 27
Well, the administrative console is using a local hostname alias (I guess), its referring to my local host as http://compaqserver/. . .
Vinod Bijlani
Ranch Hand

Joined: Mar 06, 2002
Posts: 133
i dont think u r running ur adminconsole on port 80 (it should be something 90XX)
check ur appserver port (on the console select ur AppServer go to WebModules & then Transport Ports) u will get the port on which the appserver (embedded http server) is listening.
then try http://localhost ortwhichyoujustgot/contextroot/servletmapping
dinesh prasad
Greenhorn

Joined: Jun 03, 2003
Posts: 27
Ahh ok, I see it now. for some reason it put it on port 9080. thanks for the quick replies Vinod!
Dinesh
Vinod Bijlani
Ranch Hand

Joined: Mar 06, 2002
Posts: 133
Dinesh
all applicationservers have a embedded http server which listens for all the requests coming to tht app server
AdminConsole is 1 of the applications running inside server1 (if base install) & its embedded http server listens on 9080 (by default)
thts why i was asking u to check ur appserver embedded http port
 
wood burning stoves
 
subject: problems trying to access a deployed EAR file