This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
The moose likes EJB and other Java EE Technologies and the fly likes Can't Run Application from WebStart, But Works in IDE Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
Bookmark "Can Watch "Can New topic
Author

Can't Run Application from WebStart, But Works in IDE

Michael Malley
Greenhorn

Joined: Oct 12, 2011
Posts: 20
Hi,

I developed an application (in NetBeans 7.1) that connects to a MySQL database using an Entity Class and JPA.

When I build my application in an Application Client, and add it to an Enterprise Application Project, then deploy and run my project within NetBeans, all is well. If I try to add the EAR file via the glassfish 3.1 console and then "Launch" using Web Start in my browser, it doesn't work. I get:



I'm fairly new to Java EE, and I apparently am not good at getting applications to deploy. Any help, or pointers in the right direction would be greatly appreciated. And if you need any extra info, no problem, just ask.

Thanks!
Paul Clapham
Bartender

Joined: Oct 14, 2005
Posts: 18541
    
    8

Apparently the URL you are using to download the application isn't right. The problem is nothing to do with the application, it's just that Web Start can't download it because you provided the wrong URL.
Michael Malley
Greenhorn

Joined: Oct 12, 2011
Posts: 20
Thanks for your quick reply Paul.

The thing is, I uploaded the EAR to the glassfish server via the console, and then launched that very application from the console by clicking "launch" so I'm not sure where I'd specify a URL?
Michael Malley
Greenhorn

Joined: Oct 12, 2011
Posts: 20
Per the message at the top of this forum, should this thread be moved to Objects and Relational Mapping? I'm not sure. Or perhaps, is this thread better suited for the Web Start forum?
Michael Malley
Greenhorn

Joined: Oct 12, 2011
Posts: 20
Per the message at the top of this forum, should this thread be moved to Objects and Relational Mapping? I'm not sure. Or perhaps, is this thread better suited for the Web Start forum? Mods?
 
Don't get me started about those stupid light bulbs.
 
subject: Can't Run Application from WebStart, But Works in IDE
 
Similar Threads
JNLP I am getting the File Not found exception
java.io.IOException: There is not enough space on the disk JNLP
Unable to launch JNLP application
JWS: Executable jar runs but doesn't show the data
JWS Download Error