aspose file tools*
The moose likes Websphere and the fly likes Default Server port  assignments in WSAD Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » Websphere
Bookmark "Default Server port  assignments in WSAD" Watch "Default Server port  assignments in WSAD" New topic
Author

Default Server port assignments in WSAD

Ajay Xavier
Ranch Hand

Joined: Jan 03, 2005
Posts: 109
Hi,

Sorry please ignore my previous post since the information in it is not properly formatted.

I created a default server configuration with the following port information in WSAD
Cell Settings


Server settings

I installed some sample web applications in this serverand when i tried to hit my index page with the following url's

1. http://localhost:9080/context-root/Page-name - page gets displayed
2. http://localhost:80/context-root/Page-name - The page cannot be displayed
3. http://localhost:9443/context-root/Page-name - The page cannot be displayed

In the last two cases the request is not even received at the server end verified through server logs). why is it so?

my virtualhost.xml has the following entries

host:VirtualHost
aliases xmi:id="HostAlias_1" hostname="*" port="9080"
aliases xmi:id="HostAlias_2" hostname="*"
aliases xmi:id="HostAlias_3" hostname="*" port="9443"

host:VirtualHost
(Sorry i am unable to display it in the xml format)

Thanks in advance,
Regards,
Ajay.

[ October 02, 2006: Message edited by: Ajay Xavier ]
[ October 02, 2006: Message edited by: Ajay Xavier ]
Cameron Wallace McKenzie
author and cow tipper
Saloon Keeper

Joined: Aug 26, 2006
Posts: 4968
    
    1

Would it be possible that none of you web or J2EE apps are associated with a server?

What happens when you right-click on a Servlet or JSP and select "Run on Server"? The embedded browser should appear: what port/url does it come up on?

That's my guess - you've created a server, but the EAR or WAR file isn't associated with it, or even worse, is associated with another, default, server.

Good luck.

-Cameron
Ajay Xavier
Ranch Hand

Joined: Jan 03, 2005
Posts: 109
Hi,

Cameron Thanks for your reply.

I am sure that my j2ee apps are deployed on the specified server because

when i right click a JSP page and selecting "Run on server" option i get the url as

http://localhost:9080/context-root/Page-name

and my page gets displayed properly.

if my application is deployed in a different server, page should not get displayed when i type
the same url in browser.

I guess application is deployed in the appropriate server and what else could be the problem?
 
 
subject: Default Server port assignments in WSAD