[nbj2ee] Re: hello world java web app works with tomcat but not with glassfish

  • From: "emiddio-frontier" < >
  • To: < >
  • Subject: [nbj2ee] Re: hello world java web app works with tomcat but not with glassfish
  • Date: Fri, 29 Jun 2012 07:56:28 -0700

sounds like the default url is set to wrong location for the hello world 
servlet to respond and the default servlet has no page to return.

----- Original Message ----- 
From: "engrgrl" 
< >
To: 
< >
Sent: Wednesday, June 27, 2012 5:51 AM
Subject: [nbj2ee] hello world java web app works with tomcat but not with 
glassfish


After getting very frustrated yesterday that I didn't know how to run the 
e-commerce tutorial on tomcat, i decided to uninstall everything netbeans 
and reinstall with glassfish as well so I could access the database.

I'm trying the most basic program: java web application as is the starter 
program without adding a single line of code, which should output hello 
world.

On tomcat, this works fine and I see "hello world" in the firefox browser.

However, on glassfish, nothing is appearing in firefox. a blank page that 
runs with no errors but no outputs.

As I just reinstalled everything this morning with the packaged tomcat and 
glassfish, i'm not sure what would be wrong such that only one server works. 
Is there something I need to do within glassfish to make it work or 
compatible with netbeans?

version are as follows in case it matters: apachee tomcat 7.0.22, glassfish 
server open source edition 3.1.2, netbeans ide 7.1.2, mozilla firefox 12.0






[nbj2ee] hello world java web app works with tomcat but not with glassfish

engrgrl 06/27/2012

[nbj2ee] Re: hello world java web app works with tomcat but not with glassfish

emiddio-frontier 06/29/2012

Project Features

About this Project

www was started in November 2009, is owned by jpirek, and has 21 members.
By use of this website, you agree to the NetBeans Policies and Terms of Use (revision 20140418.2d69abc). © 2013, Oracle Corporation and/or its affiliates. Sponsored by Oracle logo
 
 
Close
loading
Please Confirm
Close