Win a copy of The Java Performance Companion this week in the Performance forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

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

 
Michael Malley
Greenhorn
Posts: 20
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Sheriff
Posts: 21133
32
Eclipse IDE Firefox Browser MySQL Database
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 20
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 20
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 20
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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?
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic