• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Glassfish v3.0 Virtual Servers not working.

 
Ranch Hand
Posts: 48
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I made a simple webapplication named MyFirstWebApp and i am trying to configure Virtual Server but it's not working. Here is a list of what i did :

Under Virtual Servers node i created a new Virtual server
id: jacc
Host : www.jacc.com
Default Web Module: MyFirstWebApp
Clicked Ok to create Virtual Server

Then went to Network Listener and added a new Network Listener

Name: MyListener
Protocol: MyListener-protocol
Port: 8888
Address: 0.0.0.0
Selected Default Web Server : jacc

Then again went to jacc Virtual server and selected Network Listener as MyListener

Then went under Applications node and for MyFirstWebApp selected Default Virtual Server as jacc

Lastly, restarted the server and went into hosts file and added entry
127.0.0.1 jacc.com

Then i went into browser and typed :

www.jacc.com
jacc.com
localhost:8888
localhost:8888/MyFirstWebApp

for all of the above i get webpage cannot be displayed. What can be wrong here?
Another thing is if removed Default web module (MyFirstWebApp) then i go in browser and type

localhost:8888
it shows one page "your server is up and running"

Please help me. It's now almost 2 days trying to solve this.

I've attached screenshot files also.
Waiting for replies.
VirtualServers.JPG
[Thumbnail for VirtualServers.JPG]
MyListener.JPG
[Thumbnail for MyListener.JPG]
MyFirstWebAp.JPG
[Thumbnail for MyFirstWebAp.JPG]
 
Consider Paul's rocket mass heater.
reply
    Bookmark Topic Watch Topic
  • New Topic