Hi,
some of you mentioned that they worked with tha
Java GUI and the internal eXist-DB
Any hint how i can add the exist.jnlp to my webapp?
I wanted to integrate it to my administration-section, is that possible? Can
anyone tell my how to achiev that?
How do i have to do the configuration? web.xml,
exist-conf.xml and may be other settings?
Which link do i have to set to href the Java
GUI?
Thanks, Marcus
-- You receive this message as a subscriber of the [hidden email] mailing list. To unsubscribe: mailto:[hidden email] For general help: mailto:[hidden email]?subject=help ObjectWeb mailing lists service home page: http://www.objectweb.org/wws |
Hi,
just wanted to ask, if there is anything new that
perhaps someone could tell me?
Refering to the standart exist.war deployment, i
added the following line to the web.xml:
<!--Register Webstart servlet-->
<servlet>
<servlet-name>jnlp</servlet-name>
<servlet-class>org.exist.webstart.JnlpServlet</servlet-class>
</servlet>
<!-- Java Webstart -->
<servlet-mapping>
<servlet-name>jnlp</servlet-name>
<url-pattern>/exist/webstart/*</url-pattern>
</servlet-mapping>
All the other exist-servlets like "rest", "webdav"
and "xmlrps" work very well, but the integrated java-gui from exist doesn't load
:-( All i get is this error-message:
HTTP Status 500 -
type Exception report
message
description The server encountered an internal
error () that prevented it from fulfilling this request.
exception
javax.servlet.ServletException: Servlet.init() for servlet jnlp threw
exception
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105) org.apache.catalina.valves.FastCommonAccessLogValve.invoke(FastCommonAccessLogValve.java:495) org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:541) org.apache.catalina.authenticator.SingleSignOn.invoke(SingleSignOn.java:392) org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148) org.apache.coyote.http11.Http11AprProcessor.process(Http11AprProcessor.java:833) org.apache.coyote.http11.Http11AprProtocol$Http11ConnectionHandler.process(Http11AprProtocol.java:639) org.apache.tomcat.util.net.AprEndpoint$Worker.run(AprEndpoint.java:1285) java.lang.Thread.run(Unknown Source) root cause java.lang.NoClassDefFoundError:
org/exist/start/LatestFileResolver
org.exist.webstart.JnlpJarFiles.<init>(JnlpJarFiles.java:59)
org.exist.webstart.JnlpServlet.init(JnlpServlet.java:51) javax.servlet.GenericServlet.init(GenericServlet.java:211) org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105) org.apache.catalina.valves.FastCommonAccessLogValve.invoke(FastCommonAccessLogValve.java:495) org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:541) org.apache.catalina.authenticator.SingleSignOn.invoke(SingleSignOn.java:392) org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148) org.apache.coyote.http11.Http11AprProcessor.process(Http11AprProcessor.java:833) org.apache.coyote.http11.Http11AprProtocol$Http11ConnectionHandler.process(Http11AprProtocol.java:639) org.apache.tomcat.util.net.AprEndpoint$Worker.run(AprEndpoint.java:1285) java.lang.Thread.run(Unknown Source) So, perhaps someone could help me with
that?
The configuration of exist-itself is the same, so
there are no changes to make i hope.
It would be very helpfull, if i could integrate
that Java-Gui to my webapp for administration purpose.
Thanks, Marcus
-- You receive this message as a subscriber of the [hidden email] mailing list. To unsubscribe: mailto:[hidden email] For general help: mailto:[hidden email]?subject=help ObjectWeb mailing lists service home page: http://www.objectweb.org/wws |
Administrator
|
In reply to this post by Marcus-2
On 5/24/07, Marcus <[hidden email]> wrote:
> some of you mentioned that they worked with tha Java GUI and the internal > eXist-DB > Any hint how i can add the exist.jnlp to my webapp? I wanted to integrate it > to my administration-section, is that possible? Can anyone tell my how to > achiev that? > How do i have to do the configuration? web.xml, exist-conf.xml and may be > other settings? > Which link do i have to set to href the Java GUI? I am using the eXist Admin Client with the internal eXist. I download the exist 1.1 jar, install it, and start bin/client.sh. Then I do a "Remote" connection, with URL xmldb:exist://localhost:8080/ops/exist/xmlrpc as I have Orbeon Forms deployed on http://localhost:8080/ops. Using Web Start is just another way to start the eXist Admin Client. You can actually even just go to the eXist site (http://exist.sourceforge.net/), click on the orange Launch icon on the left of the page, and connect this way to your eXist. Does this help? Alex -- Orbeon Forms - Web 2.0 Forms, open-source, for the Enterprise http://www.orbeon.com/ -- You receive this message as a subscriber of the [hidden email] mailing list. To unsubscribe: mailto:[hidden email] For general help: mailto:[hidden email]?subject=help ObjectWeb mailing lists service home page: http://www.objectweb.org/wws |
In reply to this post by Marcus-2
Marcus,
It looks like you are missing the file start.jar from the eXist distribution. That's the jar that has org/exist/start/LatestFileResolver If you're having trouble setting up the XMLRPC interface (which you'll need to connect to eXist from a different computer) check my previous post on this subject. [1] [1]: http://mail-archive.objectweb.org/ops-users/2007-05/msg00281.html -- Daniel E. Renfer http://kronkltd.net/ On 6/5/07, Marcus <[hidden email]> wrote:
-- You receive this message as a subscriber of the [hidden email] mailing list. To unsubscribe: mailto:[hidden email] For general help: mailto:[hidden email]?subject=help ObjectWeb mailing lists service home page: http://www.objectweb.org/wws |
In reply to this post by Alessandro Vernet
Hi Alex,
I'm sorry, but that doesn't help! As i have to deplay exist on its own and start the Java Gui external! :-( Thats the way i do it until now too, but i'm looking forward to launch the Java Gui out of OPS, or better to say, my own webapp (but thats the same, as i build my webapp on OPS as well) The point is, to have all in one webapp. While i use now the embedded exist-db from OPS for authentication and storing my data there, starting the JavaGui out of the administration area would be the best way, instead of loading it each time from the exist-page or an deployed exist. Does that make sence? So the exist.jnlp is part of the exist.jar, but looking at the error-message it looks like there is domething wrong with it :-( Hoped that someone would have some ideas or own experience with this. I also wrote to the exist-list, but didn't get any answers yet. At all i think it would be a good add-on for OPS to have, while you use the exist-db as well, why don't use the JavaGUI for administration purpose when its possible? So, lets wait and hope to get some other hints and if i got it work, i'll let you know! As i said, it would be a good add-on for OPS as well. Regards, Marcus ----- Original Message ----- From: "Alessandro Vernet" <[hidden email]> To: <[hidden email]> Sent: Tuesday, June 05, 2007 2:40 PM Subject: Re: [ops-users] Integratin eXist Java GUI exist.jnlp to OF Webapp? > On 5/24/07, Marcus <[hidden email]> wrote: >> some of you mentioned that they worked with tha Java GUI and the internal >> eXist-DB >> Any hint how i can add the exist.jnlp to my webapp? I wanted to integrate >> it >> to my administration-section, is that possible? Can anyone tell my how to >> achiev that? >> How do i have to do the configuration? web.xml, exist-conf.xml and may be >> other settings? >> Which link do i have to set to href the Java GUI? > > I am using the eXist Admin Client with the internal eXist. I download > the exist 1.1 jar, install it, and start bin/client.sh. Then I do a > "Remote" connection, with URL > xmldb:exist://localhost:8080/ops/exist/xmlrpc as I have Orbeon Forms > deployed on http://localhost:8080/ops. > > Using Web Start is just another way to start the eXist Admin Client. > You can actually even just go to the eXist site > (http://exist.sourceforge.net/), click on the orange Launch icon on > the left of the page, and connect this way to your eXist. > > Does this help? > > Alex > -- > Orbeon Forms - Web 2.0 Forms, open-source, for the Enterprise > http://www.orbeon.com/ > > -------------------------------------------------------------------------------- > > -- > You receive this message as a subscriber of the [hidden email] > mailing list. > To unsubscribe: mailto:[hidden email] > For general help: mailto:[hidden email]?subject=help > ObjectWeb mailing lists service home page: http://www.objectweb.org/wws > -- You receive this message as a subscriber of the [hidden email] mailing list. To unsubscribe: mailto:[hidden email] For general help: mailto:[hidden email]?subject=help ObjectWeb mailing lists service home page: http://www.objectweb.org/wws |
Administrator
|
Marcus,
On 6/5/07, Marcus <[hidden email]> wrote: > I'm sorry, but that doesn't help! As i have to deplay exist on its own and > start the Java Gui external! :-( > Thats the way i do it until now too, but i'm looking forward to launch the > Java Gui out of OPS, or better to say, my own webapp (but thats the same, as > i build my webapp on OPS as well) I understand. I haven't tried this myself, but maybe someone else here can help. Alex -- Orbeon Forms - Web 2.0 Forms, open-source, for the Enterprise http://www.orbeon.com/ -- You receive this message as a subscriber of the [hidden email] mailing list. To unsubscribe: mailto:[hidden email] For general help: mailto:[hidden email]?subject=help ObjectWeb mailing lists service home page: http://www.objectweb.org/wws |
In reply to this post by Daniel E. Renfer

Hi Daniel,
thanks for that advice, i copyed the start.jar too
to the libs and it seems to get a step further, but i get a new error-message as
well. The xmlrpc-servlets works very well! From "outside" i could connect to the
embedded exist-db, but as i wrote in my last reply to Alex - i don't want to
load the JavaGui from outside, but the webapp itself...
The new Error is:
HTTP Status 500 -
type Exception report
message
description The server encountered an internal
error () that prevented it from fulfilling this request.
exception
java.lang.NullPointerException
org.exist.webstart.JnlpWriter.writeJnlpXML(JnlpWriter.java:104)
org.exist.webstart.JnlpServlet.doGet(JnlpServlet.java:77)
javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
But i don't know if that is even better, hmm
:-(
Thanks for your help, Marcus
-- You receive this message as a subscriber of the [hidden email] mailing list. To unsubscribe: mailto:[hidden email] For general help: mailto:[hidden email]?subject=help ObjectWeb mailing lists service home page: http://www.objectweb.org/wws |

Sorry to join this late, not sure if I have
all the
facts, but I wanted to say that I don't
have any
problems with 1.0 or 1.1 using the
jnlp. I have
one tomcat running with Orbeon in my ROOT
and
exist deployed. I manually unzipped the war
file.
I also proxy tomcat through
apache.
I use the remote connection
type.
Cheers,
--Hank
-- You receive this message as a subscriber of the [hidden email] mailing list. To unsubscribe: mailto:[hidden email] For general help: mailto:[hidden email]?subject=help ObjectWeb mailing lists service home page: http://www.objectweb.org/wws |

Hi Hank,
no problem to join, while i never go to bed befor
3-4h in the morning at the moment :-(
Just in short: The Problem is not to use the jnlp
with exist itself, but using the jnlp with your own webapp.
I build a webapp, based on OPS. I Use the embedded
exist and i also want to use tha JavaGUI WITHOUT Loading it from outside!!!
but loading it from the embedded exist inside my webapp! ok?
Hope that brought a bit light to this case for you
:-))
Regarts, Marcus
-- You receive this message as a subscriber of the [hidden email] mailing list. To unsubscribe: mailto:[hidden email] For general help: mailto:[hidden email]?subject=help ObjectWeb mailing lists service home page: http://www.objectweb.org/wws |
OK, thanks for bringing me up to date. And I suppose it has already been discussed that you can't deploy exist even under a different location, /mydb.... That is painless, if it is possible. I have downloaded the sources and there are build targets for a minimal distribution and jnlp . There might be some ideas there. --Hank > Hi Hank, > no problem to join, while i never go to bed befor 3-4h in the morning at > the moment :-( > Just in short: The Problem is not to use the jnlp with exist itself, but > using the jnlp with your own webapp. > I build a webapp, based on OPS. I Use the embedded exist and i also want > to use tha JavaGUI WITHOUT Loading it from outside!!! but loading it from > the embedded exist inside my webapp! ok? > Hope that brought a bit light to this case for you :-)) > > Regarts, Marcus > > > ----- Original Message ----- > From: Hank Ratzesberger > To: [hidden email] > Sent: Wednesday, June 06, 2007 12:01 AM > Subject: Re: [ops-users] Integratin eXist Java GUI exist.jnlp to OF > Webapp? > > > Sorry to join this late, not sure if I have all the > facts, but I wanted to say that I don't have any > problems with 1.0 or 1.1 using the jnlp. I have > one tomcat running with Orbeon in my ROOT and > exist deployed. I manually unzipped the war file. > > I also proxy tomcat through apache. > > I use the remote connection type. > > Cheers, > --Hank > > > > ----- Original Message ----- > From: Marcus > To: [hidden email] > Sent: Tuesday, June 05, 2007 6:20 AM > Subject: Re: [ops-users] Integratin eXist Java GUI exist.jnlp to OF > Webapp? > > > Hi Daniel, > thanks for that advice, i copyed the start.jar too to the libs and it > seems to get a step further, but i get a new error-message as well. > The xmlrpc-servlets works very well! From "outside" i could connect to > the embedded exist-db, but as i wrote in my last reply to Alex - i > don't want to load the JavaGui from outside, but the webapp itself... > > The new Error is: > > HTTP Status 500 - > > ---------------------------------------------------------------------------- > > type Exception report > message > description The server encountered an internal error () that prevented > it from fulfilling this request. > exception > java.lang.NullPointerException > org.exist.webstart.JnlpWriter.writeJnlpXML(JnlpWriter.java:104) > org.exist.webstart.JnlpServlet.doGet(JnlpServlet.java:77) > javax.servlet.http.HttpServlet.service(HttpServlet.java:689) > javax.servlet.http.HttpServlet.service(HttpServlet.java:802) > > But i don't know if that is even better, hmm :-( > > Thanks for your help, Marcus > > > ----- Original Message ----- > From: Daniel E. Renfer > To: [hidden email] > Sent: Tuesday, June 05, 2007 2:52 PM > Subject: Re: [ops-users] Integratin eXist Java GUI exist.jnlp to OF > Webapp? > > > Marcus, > > It looks like you are missing the file start.jar from the eXist > distribution. That's the jar that has > org/exist/start/LatestFileResolver > > If you're having trouble setting up the XMLRPC interface (which > you'll need to connect to eXist from a different computer) check my > previous post on this subject. [1] > > [1]: > http://mail-archive.objectweb.org/ops-users/2007-05/msg00281.html > > -- > Daniel E. Renfer > http://kronkltd.net/ > > > On 6/5/07, Marcus <[hidden email]> wrote: > Hi, > just wanted to ask, if there is anything new that perhaps someone > could tell me? > Refering to the standart exist.war deployment, i added the > following line to the web.xml: > > <!--Register Webstart servlet--> > <servlet> > <servlet-name>jnlp</servlet-name> > <servlet-class>org.exist.webstart.JnlpServlet</servlet-class> > </servlet> > > <!-- Java Webstart --> > <servlet-mapping> > <servlet-name>jnlp</servlet-name> > <url-pattern>/exist/webstart/*</url-pattern> > </servlet-mapping> > > All the other exist-servlets like "rest", "webdav" and "xmlrps" > work very well, but the integrated java-gui from exist doesn't > load :-( All i get is this error-message: > > > HTTP Status 500 - > > ------------------------------------------------------------------------ > > type Exception report > message > description The server encountered an internal error () that > prevented it from fulfilling this request. > exception > javax.servlet.ServletException: Servlet.init() for servlet jnlp > threw exception > org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105) > org.apache.catalina.valves.FastCommonAccessLogValve.invoke(FastCommonAccessLogValve.java:495) > org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:541) > org.apache.catalina.authenticator.SingleSignOn.invoke(SingleSignOn.java:392) > org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148) > org.apache.coyote.http11.Http11AprProcessor.process(Http11AprProcessor.java:833) > org.apache.coyote.http11.Http11AprProtocol$Http11ConnectionHandler.process(Http11AprProtocol.java:639) > org.apache.tomcat.util.net.AprEndpoint$Worker.run(AprEndpoint.java:1285) > java.lang.Thread.run(Unknown Source) > root cause > java.lang.NoClassDefFoundError: org/exist/start/LatestFileResolver > org.exist.webstart.JnlpJarFiles.<init>(JnlpJarFiles.java:59) > org.exist.webstart.JnlpServlet.init(JnlpServlet.java:51) > javax.servlet.GenericServlet.init(GenericServlet.java:211) > org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105) > org.apache.catalina.valves.FastCommonAccessLogValve.invoke(FastCommonAccessLogValve.java > :495) > org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:541) > org.apache.catalina.authenticator.SingleSignOn.invoke(SingleSignOn.java:392) > org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148) > org.apache.coyote.http11.Http11AprProcessor.process(Http11AprProcessor.java:833) > org.apache.coyote.http11.Http11AprProtocol$Http11ConnectionHandler.process(Http11AprProtocol.java:639) > org.apache.tomcat.util.net.AprEndpoint$Worker.run(AprEndpoint.java:1285) > java.lang.Thread.run(Unknown Source) > > So, perhaps someone could help me with that? > The configuration of exist-itself is the same, so there are no > changes to make i hope. > It would be very helpfull, if i could integrate that Java-Gui to > my webapp for administration purpose. > > Thanks, Marcus > > ----- Original Message ----- > From: Marcus > To: [hidden email] > Sent: Thursday, May 24, 2007 3:04 PM > Subject: [ops-users] Integratin eXist Java GUI exist.jnlp to OF > Webapp? > > > Hi, > some of you mentioned that they worked with tha Java GUI and the > internal eXist-DB > Any hint how i can add the exist.jnlp to my webapp? I wanted to > integrate it to my administration-section, is that possible? Can > anyone tell my how to achiev that? > How do i have to do the configuration? web.xml, exist-conf.xml > and may be other settings? > Which link do i have to set to href the Java GUI? > > Thanks, Marcus > > > > ---------------------------------------------------------------------- > > > > -- > You receive this message as a subscriber of the > [hidden email] mailing list. > To unsubscribe: mailto: [hidden email] > For general help: mailto: [hidden email]?subject=help > ObjectWeb mailing lists service home page: > http://www.objectweb.org/wws > > > > > -- > You receive this message as a subscriber of the > [hidden email] mailing list. > To unsubscribe: mailto: [hidden email] > For general help: mailto: [hidden email]?subject=help > ObjectWeb mailing lists service home page: > http://www.objectweb.org/wws > > > > > > > -------------------------------------------------------------------------- > > > > -- > You receive this message as a subscriber of the > [hidden email] mailing list. > To unsubscribe: mailto:[hidden email] > For general help: mailto:[hidden email]?subject=help > ObjectWeb mailing lists service home page: > http://www.objectweb.org/wws > > > > ---------------------------------------------------------------------------- > > > > -- > You receive this message as a subscriber of the > [hidden email] mailing list. > To unsubscribe: mailto:[hidden email] > For general help: mailto:[hidden email]?subject=help > ObjectWeb mailing lists service home page: > http://www.objectweb.org/wws > > > > ------------------------------------------------------------------------------ > > > > -- > You receive this message as a subscriber of the [hidden email] > mailing list. > To unsubscribe: mailto:[hidden email] > For general help: mailto:[hidden email]?subject=help > ObjectWeb mailing lists service home page: http://www.objectweb.org/wws > -- You receive this message as a subscriber of the [hidden email] mailing list. To unsubscribe: mailto:[hidden email] For general help: mailto:[hidden email]?subject=help ObjectWeb mailing lists service home page: http://www.objectweb.org/wws |
Hi,
so as i said, (if i understand you right) - i don't want to deploy another exist-version, while an embedded version comes with OPS itself and jnlp is included there. So normaly it should work! AND: It does work :-)) OK, I'm not so confirm in java-coding, but at least i downloaded the source code of exist and looked to the jnlp-classes. And that brought me to the idea, perhaps there are some more JARs missing, besides of the start.jar, like Daniel mentioned! And indeed, this was to breaking point!!! Nevertheless the problem was, that i had to copy all the relevant JARs from the exist release, cause even with the ones came with OPS it didn't start - at least with the reason, that the JARs have different signitures????? Next i copied and override all the important JARs. The crazy thing was, that even JARs with the same version were indeed different versions :-( Now i hope that OPS didn't made any changes to the standart-libs, but until now everything just works fine in my webapp, so i didn't noticed any errors yet and hope that won't change!!! So, for all who also want to integrate the JavaGUI to their own webapp, instead of loading it everytime from outside, just to connect to the embedded db, just a few notes what i did at last to make this thing work: 1. You should enable XMLRPC! The needed step could be viewd by Daniels posting here: [1]: http://mail-archive.objectweb.org/ops-users/2007-05/msg00281.html 2. Add the following lines to your web.xml: <!--Register Webstart servlet--> <servlet> <servlet-name>jnlp</servlet-name> <servlet-class>org.exist.webstart.JnlpServlet</servlet-class> </servlet> <!-- Java Webstart --> <servlet-mapping> <servlet-name>jnlp</servlet-name> <url-pattern>/exist/webstart/*</url-pattern> </servlet-mapping> 3. Copy the following JARs from an external exist-release into your WEB-INF/lib directory: exist.jar exist-modules.jar exist-optional.jar antlr-2.7.6.jar commons-pool-1.2.jar excalibur-cli-1.0.jar jEdit-syntax.jar jgroups-all.jar jline-0_9_5.jar log4j-1.2.14.jar resolver.jar start.jar xmldb.jar xmlrpc-1.2-patched.jar The problem was, that even with the existing JARs from OPS the JavaGUI didn't because of different JAR signitures. I think that was the error message :-)) I'm sorry that i didn't copied it... But perhaps one of the OPS developers could have a short look on that files, that those where none with internal changes, so that i don't have to be afraid of crashing my webapp :-( Is that possible? While I'm not so confirm with the java-rules, i don't know if there are important things that one should do this!? At the moment my webapp works and i could start the webclient from my homepage as well :-) Hope that helps if someone also wants to include the webclient into OPS. Best regards, Marcus -- You receive this message as a subscriber of the [hidden email] mailing list. To unsubscribe: mailto:[hidden email] For general help: mailto:[hidden email]?subject=help ObjectWeb mailing lists service home page: http://www.objectweb.org/wws |
Administrator
|
Marcus,
On 6/6/07, Marcus <[hidden email]> wrote: > The problem was, that even with the existing JARs from OPS the JavaGUI > didn't because of different JAR signitures. I think that was the error > message :-)) I'm sorry that i didn't copied it... But perhaps one of the OPS > developers could have a short look on that files, that those where none with > internal changes, so that i don't have to be afraid of crashing my webapp > :-( Is that possible? You should be fine. We haven't made any changes to eXist; we should have the verbatim eXist 1.1.1 jar files. Alex -- Orbeon Forms - Web 2.0 Forms, open-source, for the Enterprise http://www.orbeon.com/ -- You receive this message as a subscriber of the [hidden email] mailing list. To unsubscribe: mailto:[hidden email] For general help: mailto:[hidden email]?subject=help ObjectWeb mailing lists service home page: http://www.objectweb.org/wws |
Free forum by Nabble | Edit this page |