aspose file tools*
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
Author

What will be the URL to my Java Application ?

Shailesh Welankar
Ranch Hand

Joined: Dec 30, 2002
Posts: 35
Hi

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 :

installedApps
|
|--- Admin.ear
|
|--- AdminWeb.war
|
. . .
logon.jsp
. . .
|--- images
|--- META-INF
|--- 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.
--NotNew2WAS


--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 :
http://yourServerNameOrIP:9080/AdminWeb/myPage.jsp
[ 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="http://www.epfwiki.net/wikis/openup/" 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 - 127.0.0.1 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 !
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: What will be the URL to my Java Application ?
 
Similar Threads
TechnologySamples WAS 5
Accessing a file in an installed application in WebSphere App Server 4.0 Advanced Ed
Yes UTC.WAR is missing........
Finding path location on server returning null
My Webspere contains so many errors how to resolve it