The Source for Java Technology Collaboration

Home » java.net Forums » Java Deployment & Distribution » Java Web Start

Thread: .jnlp cant read & write on browser despite signed .jar

Welcome, Guest Help
Login Login
Guest Settings Guest Settings
Reply to this Thread Reply to this Thread Search Forum Search Forum Back to Thread List Back to Thread List

Permlink Replies: 4 - Last Post: Nov 18, 2007 2:04 PM by: andyherrick Threads: [ Previous | Next ]
bongia

Posts: 3
.jnlp cant read & write on browser despite signed .jar
Posted: Nov 6, 2007 3:28 AM
  Click to reply to this thread Reply

[Please read the bottom section] (Problem 1 - solved) Hi, i currently have a project runnin using netbeans 5.5. In this project, it is suppose to perform a search by reading from some directories containing only .txt files and writing into another directory in .txt form, which i used BufferReader and PrintWriter to fulfil the task. I build and run this project on Netbeans and it works perfectly with the GUI and the search results printed out. I then run & deploy it with Java Web Start, the GUI did appear but the search seems to fail as no results is printed out.

anyone have any idea whats wrong ??

`bong
--------------------------------------------------------

(Problem 2)
Hi again. now i have this problem. My .jnlp is workin perfectly with the I/O files after i signed the .jar and stuff. Then i try to link this .jnlp using . The sandbox did load but the search results did not come out just like the outcome before i signed the .jar.
Anyone got any idea why?
bong
Message was edited by: bongia

rabbe

Posts: 35
Re: Outcome differ from Netbeans and Java Web Start
Posted: Nov 6, 2007 1:54 PM   in response to: bongia
  Click to reply to this thread Reply

When you run your application through webstart it will be sandboxed unless you sign the jar file. The security manager may be denying you access to the disk.

bongia

Posts: 3
Re: Outcome differ from Netbeans and Java Web Start
Posted: Nov 10, 2007 7:17 AM   in response to: rabbe
  Click to reply to this thread Reply

hi rabbe. Wanna thank you for your pointer, because now i have completed my project with my java web start running fine after i signed my .jar.
=)

Love
bong

bongia

Posts: 3
Re: Outcome differ from Netbeans and Java Web Start
Posted: Nov 14, 2007 6:04 AM   in response to: bongia
  Click to reply to this thread Reply

Hi, now i do have another smal problem. I have my .jnlp workin fine withl I/O after i signed it. But when i link this .jnlp file on a webpage, the outcome for the .jnlp is just like the .jnlp before i sign it (no output results).


Anyone knows why is this so ?


`bong

andyherrick

Posts: 41
Re: Outcome differ from Netbeans and Java Web Start
Posted: Nov 18, 2007 2:04 PM   in response to: bongia
  Click to reply to this thread Reply

Can you post the content of the jnlp file ?
Can you turn on tracing and console in the advanced tab if the Java Control Panel and then post what exceptions are shown in the console ?

/Andy




 XML java.net RSS