GithubHelp home page GithubHelp logo

trundler / existdb-webstart Goto Github PK

View Code? Open in Web Editor NEW
2.0 2.0 2.0 441 KB

eXist-db java client bundled in a XAR file

License: GNU Lesser General Public License v2.1

XQuery 100.00%
exist-db jnlp webstart existdb

existdb-webstart's People

Contributors

dizzzz avatar joewiz avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar

Forkers

dizzzz joewiz

existdb-webstart's Issues

Ron's feedback

from @rvdb

I've given your webstart-0.1.xar a go, and in eXist's embedded Jetty context, I'm getting the same error as reported by @wolfgang:

"java.io.IOException: JNLP Jar download failure"

I've also checked in a Tomcat context and at first thought I was getting more sensible errors:

"com.sun.deploy.net.FailedDownloadException: Unable to load resource: http://localhost:8088/exist-3.5.0/rest/db/apps/webstart/jnlp.xq"

I've checked, and the resource mentioned /is/ available in a web browser. Closer investigaton revealed that the element in the generated index.jnlp file in the Tomcat context has:
codebase="http://localhost:8088/eXist-3.5.0/rest/db/apps/webstart/" href="jnlp.xq"
...while the one in eXist's embedded Jetty context has:
codebase="http://localhost:8080/exist/apps/webstart/" href="index.jnlp"

I've tried changing these values in the downladed index.jnlp from the Tomcat context to:
codebase="http://localhost:8088/eXist-3.5.0/apps/webstart/" href="jnlp.xq"
i.e. without the "/rest" prefix, and that works, in so far that I'm getting the same JAR download failure as in the embedded Jetty context :-/.

Perhaps the direct access via "/rest/" is bypassing the controller.xql and hence processing the "index.jnlp" path correctly? I've checked, and WEB-INF/web.xml does allow REST access ("hidden=false"). So, not to complicate the issue, but perhaps the $codebase variable in jnlp.xq needs to strip the "/rest/db/" part for portability?

Write documentation

  • write build howto
  • add references to quircks in macOS
  • add some screenshots for webstart settings

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.