Win a copy of The Little Book of Impediments (e-book only) this week in the Agile and Other Processes forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

jnlp and db connection

 
Zelimir Koljesar
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
This is my problem. When I run the application in NetBeans, I can connect to the db server. However, when I run the .jnlp file the connection fails! Why is this happening???
 
Greg Fidster
Greenhorn
Posts: 10
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Check your permission settings in your .jnlp file
If i recall correctly, if you are sandboxing your application, it will only allow you to establish a network connection to the host server and not to any other.
one option is you can set your permissions as
<security>
<all-permissions/>
</security>
and then sign all your jar files

as always,
enjoy
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic