Wrox Programmer Forums
Go Back   Wrox Programmer Forums > Java > Java and JDK > J2EE
|
J2EE General J2EE (Java 2 Enterprise Edition) discussions. Questions not specific to EE will be redirected elsewhere.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the J2EE section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old April 2nd, 2004, 05:13 AM
Authorized User
 
Join Date: Apr 2004
Posts: 11
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to partho_choudhury Send a message via Yahoo to partho_choudhury
Default How to set up Java AppServer



Hi all:

I have downloaded and setup (using default admin settings) J2EE appserver for Win2k platform. As instructed in the documentation in the set up folder, I start the default server from Start->Programs->Sun Microsystems->J2EE 1.4 SDK->Start Default Server. Once deployed as instructed in the documentation, I try to access the localhost (by clicking the http://localhost:8080 link on the documentation page, or typing it in the address bar). However, I am unable to see any web page on the browser window, and get a general error message. I am unable to run any other user or admin application too.

I am using IE 6.0, though I haven't tried this on Netscape 5.0 or Opera 7.0. Is there something wrong with the settings in my browser, or setup, or am I missing some setup or configuration step? I am using the default port settings (4848 for admin, 8080 for http and such).

Please advise, or mail [email protected]

Partho Choudhury
Engineering (Systems Architecture)

Sindhara SuperMedia, Inc.
Willows Tech. Pk., Bldg. # E
8809 148th Ave., NE
Redmond WA - 98052 USA
__________________
Watch your thoughts; they become words.
Watch your words; they become actions.
Watch your actions; they become habits.
Watch your habits; they become character.
Watch your character; it becomes your destiny.

I will, hence I can
 
Old April 3rd, 2004, 05:23 AM
Friend of Wrox
 
Join Date: Jun 2003
Posts: 175
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Do you have a local firewall that is preventing access to port 8080?

Cheers

Martyn
 
Old April 3rd, 2004, 07:32 AM
Authorized User
 
Join Date: Apr 2004
Posts: 11
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to partho_choudhury Send a message via Yahoo to partho_choudhury
Default

Hi:

Let me rephrase the question. I am using the default server settings, and the thing works with Opera 7.0 and Netscape 7.0. However, with IE 6.0, everything breaks down. I am sure it has something to do with the settings of the IE 6.0 browser, but I am not able to figure which settings I need to tinker around with.

I have compared the settings of all 3 browsers.

Partho Choudhury
Engineering (Systems Architecture)

Sindhara SuperMedia, Inc.
Willows Technology Park, Bldg. # E
8809 148th Ave., NE
Redmond WA - 98052 USA
 
Old April 3rd, 2004, 10:47 AM
Friend of Wrox
 
Join Date: Jun 2003
Posts: 175
Thanks: 0
Thanked 0 Times in 0 Posts
Default

OK,so assuming you have checked your local firewall settings try this:

Internet Explorer>tools>internet options>security then set the local intranet to its lowest setting. I think you also have to have cookies enabled: tools>internet options>privacy>advanced.

Cheers

Martyn
 
Old April 5th, 2004, 03:05 AM
Authorized User
 
Join Date: Apr 2004
Posts: 11
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to partho_choudhury Send a message via Yahoo to partho_choudhury
Default

Hi:

I tried setting the IE settings to the minimum security level possible, with all cookies enabled. However, the problem persists.

Please help

Partho
 
Old April 5th, 2004, 06:41 AM
Authorized User
 
Join Date: Aug 2003
Posts: 10
Thanks: 0
Thanked 0 Times in 0 Posts
Default

what does it do if you try ;

http://127.0.0.1:8080

or the same without http:// at the start ?

 
Old April 5th, 2004, 07:34 AM
Authorized User
 
Join Date: Apr 2004
Posts: 11
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to partho_choudhury Send a message via Yahoo to partho_choudhury
Default

Hi....

It works perfectly alright with all 3 browsers (IE 6, Netscape 7 and Opera 7.11) if I enter http://127.0.0.1:8080/ However, if I omit the http:// header, IE 6 again fails, though it works for the other 2 browsers.

What is going on? Could you explain

Partho Choudhury
Engineering (Systems Architecture)

Sindhara SuperMedia, Inc.
Willows Tech. Pk., Bldg. # E
8809 148th Ave., NE
Redmond WA - 98052 USA
 
Old June 14th, 2004, 02:29 AM
Registered User
 
Join Date: Jun 2004
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Default

check the "hosts" file located in the WINDOWS directory. open it with notepad. see whether there is a line "127.0.0.1 localhost".
if there isn't then add one. good luck.






Similar Threads
Thread Thread Starter Forum Replies Last Post
How to set a single location of java plug in temp orfano Pro Java 0 September 27th, 2006 10:06 AM
Is it possible to set $_Session Variables in java rinventive Java Basics 1 February 13th, 2006 05:41 AM
How to set a session in Java Filter? Edward King Pro JSP 1 January 31st, 2006 05:34 AM
J2EE 1.4 + Sun AppServer + NetBeans 3.6 allruiz Java Espanol 1 January 6th, 2005 02:28 PM
How to set Java HotSpot Server VM for Linux suhasw J2EE 0 February 25th, 2004 01:44 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.