eXist-db / dashboard

eXist-db Dashboard
GNU Lesser General Public License v2.1
11 stars 19 forks source link

Java Admin Client Error #43

Closed welblaud closed 8 years ago

welblaud commented 8 years ago

I like the Java Admin app but for an unknown reason, I am not able to start it (since, let’s say, February). I thought it could be because of some new Java version but it is the same on Linux and Win 10 or Win 7 machine.

After the verification, it throws an error (window). In the Details section there is:

com.sun.deploy.net.JARSigningException: Found unsigned entry in resource: http://46.28.111.241:8081/exist/webstart/exist.jar
    at com.sun.javaws.security.SigningInfo.getCommonCodeSignersForJar(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)

and

<?xml version="1.0" ?><jnlp spec="7.0" codebase="http://46.28.111.241:8081/exist/webstart/" href="exist.jnlp"><information><title>eXist XML-DB client</title><vendor>exist-db.org</vendor><homepage href="http://exist-db.org"></homepage><description>Integrated command-line and gui client, entirely based on the XML:DB API and provides commands for most database related tasks, like creating and removing collections, user management, batch-loading XML data or querying.</description><description kind="short">eXist XML-DB client</description><description kind="tooltip">eXist XML-DB client</description><icon href="jnlp_logo.jpg"></icon><icon href="jnlp_icon_128x128.gif" width="128" height="128"></icon><icon href="jnlp_icon_64x64.gif" width="64" height="64"></icon><icon href="jnlp_icon_32x32.gif" width="32" height="32"></icon></information><security><all-permissions/></security><resources><property name="jnlp.packEnabled" value="true"></property><java version="1.8+"></java><jar href="xmlrpc-common-3.1.3.jar" size="122351"></jar><jar href="sunxacml-1.2.jar" size="210074"></jar><jar href="jline-0.9.94.jar" size="93057"></jar><jar href="rsyntaxtextarea-2.5.6.jar" size="1081139"></jar><jar href="xmlrpc-client-3.1.3.jar" size="65437"></jar><jar href="ws-commons-util-1.0.2.jar" size="38457"></jar><jar href="log4j-jul-2.3.jar" size="24060"></jar><jar href="slf4j-api-1.7.10.jar" size="36571"></jar><jar href="exist.jar" size="4482013"></jar><jar href="xmldb.jar" size="12722"></jar><jar href="commons-io-2.4.jar" size="198441"></jar><jar href="log4j-slf4j-impl-2.3.jar" size="25551"></jar><jar href="log4j-core-2.3.jar" size="889605"></jar><jar href="excalibur-cli-1.0.jar" size="25946"></jar><jar href="log4j-api-2.3.jar" size="146688"></jar><jar href="commons-pool-1.6.jar" size="118633"></jar></resources><application-desc main-class="org.exist.client.InteractiveClient"><argument>-ouri=xmldb:exist://46.28.111.241:8081/exist/xmlrpc</argument><argument>--no-embedded-mode</argument></application-desc></jnlp>
dizzzz commented 8 years ago

Again: which excist-db version?

Did you (re)build exist-db yourself?

see documentation (needs to be updated)

welblaud commented 8 years ago

It is 3.0.RC1. No, I didn’t build it myself. I will try the last nightly build tomorrow and let you know. At the moment, cleaning cache does not help. I will try on Win 7 machine tomorrow too.

dizzzz commented 8 years ago

Please clean Tour webstart cache .... That helps probably

welblaud commented 8 years ago

Well, cleaning the cache did not help. I tried that on Linux Mint machine (there is Iced Tea version used) and on Win 7 machine (classical WebStart). Still the same. For 3.0.RC1 and #d084a50 as well. I guess there could be something between eXist and my desktop clients but have no clue what. Thanks.

joewiz commented 8 years ago

Honza,

Sounds like you're starting the client by accessing a server's .jnlp file. To do that I believe you have to have run the jar signer build step on the binaries on the server (from $EXIST_HOME):

./build.sh -f build/scripts/jarsigner.xml

An alternative, if you have eXist on your system, is to start the client locally,

bin/client.sh

See http://exist-db.org/exist/apps/doc/java-admin-client.xml for more info. If you are still having problems, please detail the steps you use to start the client.

Joe

On Fri, Apr 29, 2016 at 7:50 AM, Honza Hejzl notifications@github.com wrote:

Well, cleaning the cache did not help. I tried that on Linux Mint machine (there is Iced Tea version used) and on a Win 7 machine (classical WebStart). Still the same. For 3.0.RC1 and #d084a50 as well. I guess there could be something between eXist and my desktop clients but have no clue what. Thanks.

— You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub https://github.com/eXist-db/dashboard/issues/43#issuecomment-215691719

welblaud commented 8 years ago

Joe, thanks, it really works! I wonder how I was able to run it during the winter without this step. These errors started much later and I was not able to solve that. Thanks again.

joewiz commented 8 years ago

Good, glad this helped!