On 19 juin, 19:09, juszczec <mark.juszc...@gmail.com> wrote: > I am also having the same problem when I run bookstore5. I get the > following displayed athttp://localhost:13078/bookstore5/bookstore Could you check if using an IP address (127.0.0.1 for example) instead of localhost make it work?
Michèle Garoche > > HTTP Status 500 - > > type Exception report > > message > > descriptionThe server encountered an internal error () that prevented > it from fulfilling this request. > > exception > > java.net.ConnectException: Connection refused > > note The full stack traces of the exception and its root causes are > available in the GlassFish v3 logs. > GlassFish v3 > > Note: I am using Personal Glass Fish v3 Domain, I don't know if that > is significant. > > I have double checked project.properties as instructed above and > everything is the same. > I have double checked javadb server and it is running and contains > data in the Books table. > > When I run bookstore4-jndi I get the following message > athttp://localhost:13078/bookstore4-jndi/bookstore > > Duke's Duke holding books Bookstore > > Your request cannot be completed. The server got the following error: > > javax.servlet.jsp.JspException: Unable to get connection, DataSource > invalid: "java.sql.SQLException: Error in allocating a connection. > Cause: The connection could not be allocated: The url cannot be null" > Copyright © 2003-2004 Sun Microsystems, Inc. > > I've been looking at this for a few days, and am at a complete loss. > > Can anyone help? > > Mark -- You received this message because you are subscribed to the Google Groups "Java EE (J2EE) Programming with Passion!" group. To post to this group, send email to java-ee-j2ee-programming-with-passion@googlegroups.com To unsubscribe from this group, send email to java-ee-j2ee-programming-with-passion+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/java-ee-j2ee-programming-with-passion?hl=en?hl=en