Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > Java > Java and JDK > J2EE
Password Reminder
Register
| FAQ | Members List | Search | Today's Posts | Mark Forums Read
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 tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developers’ questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
Reply
 
Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old April 2nd, 2004, 05:13 AM
Authorized User
 
Join Date: Apr 2004
Location: Redmond, WA, USA.
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 partho@ieee.org

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
Reply With Quote
  #2 (permalink)  
Old April 3rd, 2004, 05:23 AM
Friend of Wrox
 
Join Date: Jun 2003
Location: , , .
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
Reply With Quote
  #3 (permalink)  
Old April 3rd, 2004, 07:32 AM
Authorized User
 
Join Date: Apr 2004
Location: Redmond, WA, USA.
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
Reply With Quote
  #4 (permalink)  
Old April 3rd, 2004, 10:47 AM
Friend of Wrox
 
Join Date: Jun 2003
Location: , , .
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
Reply With Quote
  #5 (permalink)  
Old April 5th, 2004, 03:05 AM
Authorized User
 
Join Date: Apr 2004
Location: Redmond, WA, USA.
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
Reply With Quote
  #6 (permalink)  
Old April 5th, 2004, 06:41 AM
Authorized User
 
Join Date: Aug 2003
Location: , , .
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 ?

Reply With Quote
  #7 (permalink)  
Old April 5th, 2004, 07:34 AM
Authorized User
 
Join Date: Apr 2004
Location: Redmond, WA, USA.
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
Reply With Quote
  #8 (permalink)  
Old June 14th, 2004, 02:29 AM
Registered User
 
Join Date: Jun 2004
Location: seremban, negri sembilan, Malaysia.
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.

Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


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



All times are GMT -4. The time now is 10:00 PM.


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