Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Error launching my jnlp CacheEntry[http://localhost/miguel/jeeTest.jar]: updateAvailable=true

 
Miguel Enriquez
Ranch Hand
Posts: 95
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi friends i try load my jnlp, i signed with keytool and jarsigner every jar:

jeePrueba.jar generate: jeeTest.jar

also i signed:


02/07/2013 12:02 a. m. 8,548,299 eclipselink.jar
01/07/2013 11:49 p. m. 185,380 javax.persistence_2.1.0.v201304241213.jar
01/07/2013 11:49 p. m. 546,639 mysql-connector-java-5.0.6-bin.jar
01/07/2013 12:42 a. m. 1,396,640 org.eclipse.persistence.jpa.jpql_2.5.0.v20130507-3faac2b.jar

i activate too the Java Console: (Control Panel -> Java -> Advanced -> Show Console)

and show me the next error:

Missing Permissions manifest attribute for: http://localhost/miguel/jeeTest.jar
Missing Codebase manifest attribute for: http://localhost/miguel/jeeTest.jar
Missing Permissions manifest attribute for: http://localhost/miguel/jeeTest.jar
Missing Codebase manifest attribute for: http://localhost/miguel/jeeTest.jar
Missing Permissions manifest attribute for: http://localhost/miguel/jeeTest.jar
Missing Codebase manifest attribute for: http://localhost/miguel/jeeTest.jar


i added
Permissions: sandbox
Codebase: localhost


C:\Users\Angus\Documents\NetBeansProjects\jeePrueba>type manifest.mf
Manifest-Version: 1.0
X-COMMENT: Main-Class will be added automatically by build
Permissions: sandbox
Codebase: localhost

C:\Users\Angus\Documents\NetBeansProjects\jeePrueba>

and rebuild with netbeans again the jeePrueba.jar
also resigned and generated again jeeText.jar


test again the jnlp and java console show me the next error:

CacheEntry[http://localhost/miguel/jeeTest.jar]: updateAvailable=true,lastModified=Mon Jul 01 23:40:23 MDT 2013,length=40009

How to fix?

thanks
 
Jacob Anawalt
Ranch Hand
Posts: 64
Linux Netbeans IDE Windows
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The "Missing Permissions" and "Missing Codebase" messages were not errors, they were warnings.

http://docs.oracle.com/javase/7/docs/technotes/guides/jweb/no_redeploy.html

It sounds like you found and resolved that already. I point it out though because the next message you show also does not sound like an error. It sounds more like an INFO log message.

CacheEntry[http://localhost/miguel/jeeTest.jar]: updateAvailable=true,lastModified=Mon Jul 01 23:40:23 MDT 2013,length=40009


I don't remember seeing this message. Does the updated code not download and run? Is this message from your code?

Are the "Missing Codebase" messages still displayed? If they are gone, it would seem the updated jars are downloaded.

I would try clearing my web start cache if I suspected it wasn't updating.
 
Jacob Anawalt
Ranch Hand
Posts: 64
Linux Netbeans IDE Windows
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I did a small test and found that the CacheEntry for the jar files only show up right after I update the jar files and JNLP on the server. The next run they do not show up loading the already up-to-date jar files. They do show up for every HttpURL I open. When I call ImageIO.read with a URL I instead get "Get Image:" I do not remember these appearing before 1.7_25.

The program runs fine with these informational messages.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic