This week's book giveaway is in the OO, Patterns, UML and Refactoring forum.
We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line!
See this thread for details.
The moose likes Websphere and the fly likes What will be the URL to my Java Application ? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

JavaRanch » Java Forums » Products » Websphere
Bookmark "What will be the URL to my Java Application ?" Watch "What will be the URL to my Java Application ?" New topic

What will be the URL to my Java Application ?

Shailesh Welankar
Ranch Hand

Joined: Dec 30, 2002
Posts: 35

I know this may sound weird, but could anyone help me in accessing the simple Java application that I have deployed on WAS 4.0.7 AE. I want to know what the URL will be to access my application.

Application Server Name : Admin
Installed Web Module Name : AdminWeb
Virtual Host : Admin_Host on port 9090 (Also have default_host on 9080,80)
Context root : AdminWeb
InstalledApps folder looks like :

|--- Admin.ear
|--- AdminWeb.war
. . .
. . .
|--- images
|--- WEB-INF

I am trying to type in various possible URLs in the address bar of my browser to no avail, for past 2 days.
And yes the web module as well as the server both are started and running perfectly !

Thanks in advance.

--Shailesh Welankar
SCDJWS 1.4 | SCBCD 5.0 | SCWCD 1.4 | SCJP 1.4 | Preparing for SCEA 5
JeanLouis Marechaux
Ranch Hand

Joined: Nov 12, 2001
Posts: 906
Should be something like : http://yourServerNameOrIP:9080/AdminWeb/

If you have not defined any default page, then you need to specify a jsp page in the URL, like :
[ December 16, 2004: Message edited by: Jean-Louis Marechaux ]

/ JeanLouis<br /><i>"software development has been, is, and will remain fundamentally hard" (Grady Booch)</i><br /> <br />Take a look at <a href="" target="_blank" rel="nofollow">Agile OpenUP</a> in the Eclipse community
Shailesh Welankar
Ranch Hand

Joined: Dec 30, 2002
Posts: 35
Thanx JeanLouis

Have been trying that, but no success. Some more info if thats gonna help.
My PC is the localhost (WAS is installed on same machine). I am trying to type in http://localhost:9080/AdminWeb/logon.jsp OR http://localhost:9080/AdminWeb/ .... but get the "Cannot find server or DNS Error".
Even http://localhost:9080 OR http://localhost:80/ is not working !!
The hosts file has the entry - localhost and the WAS is running when I try accessing the URL. This is baffling !!

Thanks in advance.
Shailesh Welankar
Ranch Hand

Joined: Dec 30, 2002
Posts: 35
Ok !! the problem is not yet solved but I am now using the WSAD (which is installed on the same machine) to access my Java application ! That gives me some breathing time to analyze whats the problem with the WAS.

One point to note though, if anyone can help me on this :
WSAD is using port 9080 and WAS it seems has to use the port 9085 for HTTP due to this. So 9080 in WSAD works in browser internal to WSAD as well as IE. But, 9085 on localhost does not work even if WSAD Server is stopped and WAS is started ! Any ideas ??!!

Thanks !
Have you checked out Aspose?
subject: What will be the URL to my Java Application ?
It's not a secret anymore!