Java Web Start Error: Found unsigned entry in resource:

Questions, answers, tips and ideas on Servoy Client

Java Web Start Error: Found unsigned entry in resource:

Postby jcarlos » Sat May 08, 2010 11:06 am

If you perform a full install of Servoy 5.1.2 you may get into this problem in Client after deployment.

#### Java Web Start Error:
#### Found unsigned entry in resource: (http://server_host:8080/plugins/scheduler/quartz.jar, 1.0)

The issue is not juts with the scheduler plugin. The issue is with all of the .jar.jnlp files:

excelxport.jar.jnlp
http.jar.jnlp
images.jar.jnlp
pdf_output.jar.jnlp
scheduler.jar.jnlp
serialize.jar.jnlp
spellcheck.jar.jnlp

You should:

1) Make sure that all of the .jar.jnpl files contain version="%%version%%" for every <jar> node. You will find those file in the application_server\plugins directory

2) Then the server cache (remove everything located in: /application_server/server/work/Catalina/localhost/)

3) Restart the Servoy server

4) Clear the client's cache (using the Java console)

It should work

I think that this issue will be resolved in 5.1.3. Johan Compagner said that in the upcoming release “the version information of a plugin is calculated way better and we will insert version information on all jar and extension tags of a plugin.jnlp for an extension this is recursive so it will uses all time stamps of all the jnlp and jar files it touches.”

See: http://forum.servoy.com/viewtopic.php?f=6&t=14003

Johan, could you please confirm that all of the issues with the jar.jnlp files will be addressed.

Thanks.

JC

PS: thanks Hancock for this tip!
jcarlos
 
Posts: 578
Joined: Thu May 04, 2006 8:55 pm
Location: Palo Alto, California USA

Re: Java Web Start Error: Found unsigned entry in resource:

Postby jcompagner » Mon May 10, 2010 11:22 am

yes this is addressed in the next release.
Johan Compagner
Servoy
User avatar
jcompagner
 
Posts: 8829
Joined: Tue May 27, 2003 7:26 pm
Location: The Internet

Re: Java Web Start Error: Found unsigned entry in resource:

Postby Foobrother » Fri May 28, 2010 12:57 pm

I have the same error but when trying to do an old install using Servoy 5.1.1 and Java update 18 (on both server and client) :shock:
Code: Select all
com.sun.deploy.net.JARSigningException: Found unsigned entry in resource: (http://localhost:8080/lib/log4j.jar, 0)
   at com.sun.javaws.security.SigningInfo.getCommonCodeSignersForJar(Unknown Source)
...


Launch file generated: http://paste2.org/p/854828

I don't remenber having this problem in the past :roll:
It's only from Java Update 19 that you should get this unsigned Jar error? I'm confused now :?
Current configuration: Servoy 5.2.6 Build 1011, Java 6u24, PostgreSQL 8.3, Windows Server 2003

Servoy / Java Developer
http://www.assetguardian.com
User avatar
Foobrother
 
Posts: 530
Joined: Tue Jan 13, 2009 5:46 pm

Re: Java Web Start Error: Found unsigned entry in resource:

Postby jcompagner » Fri May 28, 2010 2:26 pm

i think you use a 3th party plugin that includes our log4j.jar and ask for permissions
(a 3th party plugin that is already up to the java 6u19/20 standard)
Johan Compagner
Servoy
User avatar
jcompagner
 
Posts: 8829
Joined: Tue May 27, 2003 7:26 pm
Location: The Internet

Re: Java Web Start Error: Found unsigned entry in resource:

Postby Foobrother » Fri May 28, 2010 3:18 pm

jcompagner wrote:i think you use a 3th party plugin that includes our log4j.jar and ask for permissions
(a 3th party plugin that is already up to the java 6u19/20 standard)

Yes, that was it. We apparently updated 2 plugins from our installation package without testing it :oops:
Thx :D
Current configuration: Servoy 5.2.6 Build 1011, Java 6u24, PostgreSQL 8.3, Windows Server 2003

Servoy / Java Developer
http://www.assetguardian.com
User avatar
Foobrother
 
Posts: 530
Joined: Tue Jan 13, 2009 5:46 pm

Re: Java Web Start Error: Found unsigned entry in resource:

Postby faheemhameed » Thu May 05, 2011 8:30 am

Hi there,

I have got the same issue displayed as below:

Java version: 1.6.0_25
Servoy version: 3.5.12

We have moved our old servoy solutions to a new server with the updated java version. Everything I have installed and got stuck when accessing the solution through the client. Please let me know what I can do to fix it. This is urgent as our clients waiting for accessing their solutions.

Code: Select all
com.sun.deploy.net.JARSigningException: Found unsigned entry in resource: (http://localhost:8080/plugins/images/jai_imageio.jar, 1282725915140)
   at com.sun.javaws.security.SigningInfo.getCommonCodeSignersForJar(Unknown Source)
   at com.sun.javaws.security.SigningInfo.check(Unknown Source)
   at com.sun.javaws.LaunchDownload.checkSignedResourcesHelper(Unknown Source)
   at com.sun.javaws.LaunchDownload.checkSignedResources(Unknown Source)
   at com.sun.javaws.Launcher.prepareResources(Unknown Source)
   at com.sun.javaws.Launcher.prepareAllResources(Unknown Source)
   at com.sun.javaws.Launcher.prepareToLaunch(Unknown Source)
   at com.sun.javaws.Launcher.prepareToLaunch(Unknown Source)
   at com.sun.javaws.Launcher.launch(Unknown Source)
   at com.sun.javaws.Main.launchApp(Unknown Source)
   at com.sun.javaws.Main.continueInSecureThread(Unknown Source)
   at com.sun.javaws.Main$1.run(Unknown Source)
   at java.lang.Thread.run(Unknown Source)




Code: Select all
<?xml version="1.0" encoding="utf-8"?>
<jnlp spec="1.0+" codebase="http://localhost:8080" href="/servoy-client/servoy_client.jnlp">
   <information>
      <title>Servoy Client</title>
      <vendor>Servoy</vendor>
      <homepage href="http://www.servoy.com/"/>
      <description>Database client</description>
      <icon kind="shortcut" href="/lib/images/servoy_client_icon.gif" width="32" height="32"/>
      <icon kind="splash" href="/lib/splashclient.gif" width="64" height="64"/>
      <shortcut online="true">
      <desktop/>
      </shortcut>
   </information>
   <resources>
      <j2se version="1.4+"    />
      <j2se version="1.5+"    />
      <j2se version="1.6+"    />
      <property name="apple.laf.useScreenMenuBar" value="true"/>
      <jar href="/lib/j2db.jar" main="true" version="1282725915084" download="eager"/>
      <jar href="/lib/js.jar" part="script" version="1282725763956" download="eager"/>
      <package name="org.mozilla.*" part="script" recursive="true"/>
      <jar href="/lib/BrowserLauncher2.jar" part="BrowserLauncher2" version="1282725763825" download="eager"/>
      <package name="edu.stanford.ejalbert.*" part="BrowserLauncher2" recursive="true"/>
      <jar href="/lib/commons-logging.jar" part="logging" version="1282725763860" download="eager"/>
      <package name="org.apache.commons.logging.*" part="logging" recursive="true"/>
      <jar href="/lib/MRJAdapter.jar" part="mac_menu" version="1282725763960" download="eager"/>
      <package name="net.roydesign.*" part="mac_menu" recursive="true"/>
      <extension name="lafs_skinlf.jar" href="/servoy-client/lafs/skinlf.jar.jnlp" version="1282725889716"/>
      <extension name="lafs_kunststoff.jar" href="/servoy-client/lafs/kunststoff.jar.jnlp" version="1282725889707"/>
      <extension name="plugin_rawSQL.jar" href="/servoy-client/plugins/rawSQL.jar.jnlp" version="1282725915161"/>
      <extension name="plugin_serialize.jar" href="/servoy-client/plugins/serialize.jar.jnlp" version="1282725915170"/>
      <extension name="plugin_uss_http.jar" href="/servoy-client/plugins/uss_http.jar.jnlp" version="1207894221610"/>
      <extension name="plugin_scheduler.jar" href="/servoy-client/plugins/scheduler.jar.jnlp" version="1282725915165"/>
      <extension name="plugin_excelxport.jar" href="/servoy-client/plugins/excelxport.jar.jnlp" version="1282725915130"/>
      <extension name="plugin_it2be-tools.jar" href="/servoy-client/plugins/it2be-tools.jar.jnlp" version="1192006610015"/>
      <extension name="plugin_it2be-menubar.jar" href="/servoy-client/plugins/it2be-menubar.jar.jnlp" version="1192006588593"/>
      <extension name="plugin_images.jar" href="/servoy-client/plugins/images.jar.jnlp" version="1282725915141"/>
      <extension name="plugin_tabxport.jar" href="/servoy-client/plugins/tabxport.jar.jnlp" version="1282725915192"/>
      <extension name="plugin_it2be-splash.jar" href="/servoy-client/plugins/it2be-splash.jar.jnlp" version="1192006600468"/>
      <extension name="plugin_dialog.jar" href="/servoy-client/plugins/dialog.jar.jnlp" version="1282725915125"/>
      <extension name="plugin_default_validators.jar" href="/servoy-client/plugins/default_validators.jar.jnlp" version="1282725915123"/>
      <extension name="plugin_converters.jar" href="/servoy-client/plugins/converters.jar.jnlp" version="1282725915120"/>
      <extension name="plugin_file.jar" href="/servoy-client/plugins/file.jar.jnlp" version="1282725915132"/>
      <extension name="plugin_http.jar" href="/servoy-client/plugins/http.jar.jnlp" version="1282725915137"/>
      <extension name="plugin_mail.jar" href="/servoy-client/plugins/mail.jar.jnlp" version="1282725915147"/>
      <extension name="plugin_udp.jar" href="/servoy-client/plugins/udp.jar.jnlp" version="1282725915194"/>
      <extension name="plugin_it2be-ftp.jar" href="/servoy-client/plugins/it2be-ftp.jar.jnlp" version="1192005059968"/>
      <extension name="plugin_spellcheck.jar" href="/servoy-client/plugins/spellcheck.jar.jnlp" version="1282725915189"/>
      <extension name="plugin_popupmenu.jar" href="/servoy-client/plugins/popupmenu.jar.jnlp" version="1282725915158"/>
      <extension name="plugin_amortization.jar" href="/servoy-client/plugins/amortization.jar.jnlp" version="1282725915117"/>
      <extension name="plugin_kioskmode.jar" href="/servoy-client/plugins/kioskmode.jar.jnlp" version="1282725915144"/>
      <extension name="plugin_agent.jar" href="/servoy-client/plugins/agent.jar.jnlp" version="1282725915114"/>
      <extension name="plugin_jasperPluginRMI.jar" href="/servoy-client/plugins/jasperPluginRMI.jar.jnlp" version="1211284219704"/>
      <extension name="plugin_xmlreader.jar" href="/servoy-client/plugins/xmlreader.jar.jnlp" version="1282725915197"/>
      <extension name="plugin_pdf_output.jar" href="/servoy-client/plugins/pdf_output.jar.jnlp" version="1282725915154"/>
   </resources>
   <application-desc main-class="com.servoy.j2db.J2DBClient">
   </application-desc>
   <security>
      <all-permissions/>
   </security>
</jnlp>


Thanks a lot,
Hameed
Hameed
Pilot simple software
Hong Kong
User avatar
faheemhameed
 
Posts: 763
Joined: Wed Sep 10, 2003 7:23 am

Re: Java Web Start Error: Found unsigned entry in resource:

Postby pbakker » Thu May 05, 2011 9:42 am

Did is discussed at length in various topics on the forum and there's a tutorial on this in the tutorial section on the wiki: http://wiki.servoy.com/pages/viewpage.a ... Id=8099146

Paul
pbakker
 
Posts: 2822
Joined: Wed Oct 01, 2003 8:12 pm
Location: Amsterdam, the Netherlands

Re: Java Web Start Error: Found unsigned entry in resource:

Postby faheemhameed » Thu May 05, 2011 10:35 am

Hi Paul,

Thanks for your prompt reply. For the time being I have downgraded the java as we need to get up and running immediately. I will certainly look in to the detail that you have provided to have my solution work for the latest update of java.

Thanks,
Hameed
Hameed
Pilot simple software
Hong Kong
User avatar
faheemhameed
 
Posts: 763
Joined: Wed Sep 10, 2003 7:23 am

Re: Java Web Start Error: Found unsigned entry in resource:

Postby faheemhameed » Sun Feb 16, 2014 6:10 pm

Hi there,

I have the following issue. I guess the client has upgraded to java 1.7.0_45. Now I got the un-signed entry issue:

My Servoy version is 3.5.12


Code: Select all
java.lang.SecurityException: com.sun.deploy.net.JARSigningException: Found unsigned entry in resource: (http://localhost:8080/lib/commons-logging.jar, 1392560297765)
   at com.sun.deploy.cache.CacheEntry.checkAllJarEntriesSigned(Unknown Source)
   at com.sun.deploy.cache.CacheEntry.getJarFile(Unknown Source)
   at com.sun.javaws.security.SigningInfo.check(Unknown Source)
   at com.sun.javaws.security.JNLPSignedResourcesHelper.checkSignedResourcesHelper(Unknown Source)
   at com.sun.javaws.security.JNLPSignedResourcesHelper.checkSignedResources(Unknown Source)
   at com.sun.javaws.Launcher.prepareResources(Unknown Source)
   at com.sun.javaws.Launcher.prepareAllResources(Unknown Source)
   at com.sun.javaws.Launcher.prepareToLaunch(Unknown Source)
   at com.sun.javaws.Launcher.prepareToLaunch(Unknown Source)
   at com.sun.javaws.Launcher.launch(Unknown Source)
   at com.sun.javaws.Main.launchApp(Unknown Source)
   at com.sun.javaws.Main.continueInSecureThread(Unknown Source)
   at com.sun.javaws.Main.access$000(Unknown Source)
   at com.sun.javaws.Main$1.run(Unknown Source)
   at java.lang.Thread.run(Unknown Source)
Caused by: com.sun.deploy.net.JARSigningException: Found unsigned entry in resource: (http://localhost:8080/lib/commons-logging.jar, 1392560297765)
   ... 15 more


I have also verified that all the libraries are signed.

Code: Select all
c:\Servoy>java -jar C:\Pilot\BeanSigning\signtester.jar

Verifiying dir: .\beans

Verifiying dir: .\lafs
c:\Servoy\.\lafs\kunststoff.jar did verify
c:\Servoy\.\lafs\skinlf.jar did verify

Verifiying dir: .\lib
c:\Servoy\.\lib\activation.jar did verify
c:\Servoy\.\lib\antlr.jar did verify
c:\Servoy\.\lib\BrowserLauncher2.jar did verify

Verifiying dir: .\lib\client
c:\Servoy\.\lib\client\httpclient.jar did verify
c:\Servoy\.\lib\client\httpcore.jar did verify
c:\Servoy\.\lib\client\jcifs.jar did verify
c:\Servoy\.\lib\client\slf4j-jdk14.jar did verify
c:\Servoy\.\lib\commons-codec.jar did verify
c:\Servoy\.\lib\commons-collections.jar did verify
c:\Servoy\.\lib\commons-dbcp.jar did verify
c:\Servoy\.\lib\commons-fileupload-1.0.jar did verify
c:\Servoy\.\lib\commons-httpclient.jar did verify
c:\Servoy\.\lib\commons-logging.jar did verify
c:\Servoy\.\lib\commons-pool.jar did verify
c:\Servoy\.\lib\concurrent.jar did verify
c:\Servoy\.\lib\dom4j.jar did verify
c:\Servoy\.\lib\help.jar did verify
c:\Servoy\.\lib\hibernate3.jar did verify

Verifiying dir: .\lib\images
c:\Servoy\.\lib\j2db.jar did verify
c:\Servoy\.\lib\j2dbdev.jar did verify
c:\Servoy\.\lib\jdbc2_0-stdext.jar did verify
c:\Servoy\.\lib\jmx.jar did verify
c:\Servoy\.\lib\jndi.jar did verify
c:\Servoy\.\lib\joda-time.jar did verify
c:\Servoy\.\lib\js.jar did verify
c:\Servoy\.\lib\jta.jar did verify
c:\Servoy\.\lib\jug.jar did verify
c:\Servoy\.\lib\log4j.jar did verify
c:\Servoy\.\lib\mail.jar did verify
c:\Servoy\.\lib\mailapi.jar did verify
c:\Servoy\.\lib\MRJAdapter.jar did verify
c:\Servoy\.\lib\networktnl.jar did verify
c:\Servoy\.\lib\ohj-jewt.jar did verify
c:\Servoy\.\lib\oracle_ice.jar did verify
c:\Servoy\.\lib\rmitnl.jar did verify
c:\Servoy\.\lib\server-bootstrap.jar did verify
c:\Servoy\.\lib\servlet-api.jar did verify
c:\Servoy\.\lib\slf4j-api.jar did verify
c:\Servoy\.\lib\slf4j-log4j.jar did verify
c:\Servoy\.\lib\wicket-calendar.jar did verify
c:\Servoy\.\lib\wicket-extentions.jar didnt verify
c:\Servoy\.\lib\wicket.jar did verify
c:\Servoy\.\lib\xerces.jar did verify

Verifiying dir: .\plugins

Verifiying dir: .\plugins\adobe_pdf_forms
c:\Servoy\.\plugins\adobe_pdf_forms\jFdfTk.jar did verify
c:\Servoy\.\plugins\agent.jar did verify
c:\Servoy\.\plugins\amortization.jar did verify
c:\Servoy\.\plugins\converters.jar did verify
c:\Servoy\.\plugins\default_validators.jar did verify
c:\Servoy\.\plugins\dialog.jar did verify
c:\Servoy\.\plugins\excelxport.jar did verify
c:\Servoy\.\plugins\file.jar did verify

Verifiying dir: .\plugins\http
c:\Servoy\.\plugins\http\commons-httpclient-2.0.jar did verify
c:\Servoy\.\plugins\http.jar did verify

Verifiying dir: .\plugins\images
c:\Servoy\.\plugins\images\jai_imageio.jar did verify
c:\Servoy\.\plugins\images\metadataextractor.jar did verify
c:\Servoy\.\plugins\images.jar did verify

Verifiying dir: .\plugins\it2be-developer
c:\Servoy\.\plugins\it2be-developer\ftp-developer.jar did verify
c:\Servoy\.\plugins\it2be-developer\menubar-developer.jar did verify
c:\Servoy\.\plugins\it2be-developer\server-developer.jar did verify
c:\Servoy\.\plugins\it2be-developer\splash-developer.jar did verify
c:\Servoy\.\plugins\it2be-developer\tools-developer.jar did verify
c:\Servoy\.\plugins\it2be-ftp.jar did verify
c:\Servoy\.\plugins\it2be-menubar.jar did verify

Verifiying dir: .\plugins\it2be-runtime
c:\Servoy\.\plugins\it2be-runtime\ftp-runtime.jar did verify
c:\Servoy\.\plugins\it2be-runtime\menubar-runtime.jar did verify
c:\Servoy\.\plugins\it2be-runtime\server-runtime.jar did verify
c:\Servoy\.\plugins\it2be-runtime\splash-runtime.jar did verify
c:\Servoy\.\plugins\it2be-runtime\tools-runtime.jar did verify
c:\Servoy\.\plugins\it2be-server.jar did verify
c:\Servoy\.\plugins\it2be-splash.jar did verify
c:\Servoy\.\plugins\it2be-tools.jar did verify
c:\Servoy\.\plugins\it2be-updatemanager.jar did verify

Verifiying dir: .\plugins\jakarta-poi
c:\Servoy\.\plugins\jakarta-poi\jakarta-poi.jar did verify
c:\Servoy\.\plugins\kioskmode.jar did verify
c:\Servoy\.\plugins\mail.jar did verify
c:\Servoy\.\plugins\pdf_forms.jar did verify

Verifiying dir: .\plugins\pdf_output
c:\Servoy\.\plugins\pdf_output\bcmail-jdk14-135.jar did verify
c:\Servoy\.\plugins\pdf_output\bcprov-jdk14-135.jar did verify
c:\Servoy\.\plugins\pdf_output\itext.jar did verify
c:\Servoy\.\plugins\pdf_output.jar did verify
c:\Servoy\.\plugins\popupmenu.jar did verify
c:\Servoy\.\plugins\rawSQL.jar did verify
c:\Servoy\.\plugins\runtime_builder.jar did verify

Verifiying dir: .\plugins\scheduler
c:\Servoy\.\plugins\scheduler\quartz.jar did verify
c:\Servoy\.\plugins\scheduler.jar did verify

Verifiying dir: .\plugins\serialize
c:\Servoy\.\plugins\serialize\jabsorb-1.2.2.jar did verify
c:\Servoy\.\plugins\serialize\jsonrpc-1.0.jar ignored! It has no entry
c:\Servoy\.\plugins\serialize.jar did verify

Verifiying dir: .\plugins\spellcheck
c:\Servoy\.\plugins\spellcheck\RapidSpell.jar did verify
c:\Servoy\.\plugins\spellcheck\RapidSpell_US_UK_Dict.jar did verify
c:\Servoy\.\plugins\spellcheck.jar did verify
c:\Servoy\.\plugins\tabxport.jar did verify

Verifiying dir: .\plugins\temp

Verifiying dir: .\plugins\temp\images

Verifiying dir: .\plugins\temp\it2be-lib

Verifiying dir: .\plugins\temp\it2be-runtime

Verifiying dir: .\plugins\temp\jakarta-poi

Verifiying dir: .\plugins\temp\jasperPluginRMI

Verifiying dir: .\plugins\temp\pdf_output

Verifiying dir: .\plugins\temp\scheduler

Verifiying dir: .\plugins\temp\serialize

Verifiying dir: .\plugins\temp\spellcheck
c:\Servoy\.\plugins\udp.jar did verify
c:\Servoy\.\plugins\uss_http.jar did verify
c:\Servoy\.\plugins\xmlreader.jar did verify

Verifiying dir: .\server\webapps\ROOT\browser_suite

Total process time: 5407ms



Please help!

Many thanks.
Hameed
Pilot simple software
Hong Kong
User avatar
faheemhameed
 
Posts: 763
Joined: Wed Sep 10, 2003 7:23 am

Re: Java Web Start Error: Found unsigned entry in resource:

Postby jcompagner » Mon Feb 17, 2014 11:18 am

maybe the client had an older jar?
if you clear the client cache it keeps saying that?

I guess you can force sign everything once again with the latest signtester and a valid certificate
Johan Compagner
Servoy
User avatar
jcompagner
 
Posts: 8829
Joined: Tue May 27, 2003 7:26 pm
Location: The Internet


Return to Servoy Client

Who is online

Users browsing this forum: No registered users and 7 guests

cron