BBDD problem

classic Classic list List threaded Threaded
9 messages Options
Reply | Threaded
Open this post in threaded view
|

BBDD problem

Dromela
Hi all,

I have the following problem. I have deployed the ".war" of Orbeon and a external eXist database in the same tomcat.

Then I have a query from Orbeon to this external database :

<exist:query xmlns:exist="http://exist.sourceforge.net/NS/exist">
... code
let $collection-name := concat('xmldb:exist://localhost:8080/exist/xmlrpc/db/orbeon/',$search, $direccion)
... code
</exist:query>

The result is null !!. The problem is the "localhost". If I put 127.0.0.1 the error is the same, but if I put the I.P. adress of my network : 192.168.41.219 ... the result is OK !!!.

If I put the external database in another server, the result is OK too !! Only in the same tomcat of Orbeon is deploying, the query is null.

Can Anybody help me? Thanks in advice
Reply | Threaded
Open this post in threaded view
|

Re: BBDD problem

Hank Ratzesberger

One issue is that Orbeon deploys eXist alongside.
Presuming you deployed Orbeon in the ROOT application,
the url /exist/rest/db/*
points to Orbeon's eXist database.

I am not sure how to correct this.  Possibly, rename the
exist war so it is deployed in a different context.

Regards,
Hank

On Jul 1, 2008, at 2:37 AM, Dromela wrote:

>
> Hi all,
>
> I have the following problem. I have deployed the ".war" of Orbeon  
> and a
> external eXist database in the same tomcat.
>
> Then I have a query from Orbeon to this external database :
>
> <exist:query xmlns:exist="http://exist.sourceforge.net/NS/exist">
> ... code
> let $collection-name :=
> concat('xmldb:exist://localhost:8080/exist/xmlrpc/db/orbeon/',$search,
> $direccion)
> ... code
> </exist:query>
>
> The result is null !!. The problem is the "localhost". If I put  
> 127.0.0.1
> the error is the same, but if I put the I.P. adress of my network :
> 192.168.41.219 ... the result is OK !!!.
>
> If I put the external database in another server, the result is OK  
> too !!
> Only in the same tomcat of Orbeon is deploying, the query is null.
>
> Can Anybody help me? Thanks in advice
> --
> View this message in context: http://www.nabble.com/BBDD-problem- 
> tp18212658p18212658.html
> Sent from the ObjectWeb OPS - Users mailing list archive at  
> Nabble.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
> OW2 mailing lists service home page: http://www.ow2.org/wws
Hank Ratzesberger
NEES@UCSB
Institute for Crustal Studies,
University of California, Santa Barbara
805-893-8042







--
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
OW2 mailing lists service home page: http://www.ow2.org/wws
Reply | Threaded
Open this post in threaded view
|

Re: BBDD problem

Erik Bruchez
Administrator
In reply to this post by Dromela
Hard to tell. Could this be specific to your local configuration?

By null result, you mean an empty result, or a NullPointerException?

-Erik

On Jul 1, 2008, at 2:37 AM, Dromela wrote:

>
> Hi all,
>
> I have the following problem. I have deployed the ".war" of Orbeon  
> and a
> external eXist database in the same tomcat.
>
> Then I have a query from Orbeon to this external database :
>
> <exist:query xmlns:exist="http://exist.sourceforge.net/NS/exist">
> ... code
> let $collection-name :=
> concat('xmldb:exist://localhost:8080/exist/xmlrpc/db/orbeon/',$search,
> $direccion)
> ... code
> </exist:query>
>
> The result is null !!. The problem is the "localhost". If I put  
> 127.0.0.1
> the error is the same, but if I put the I.P. adress of my network :
> 192.168.41.219 ... the result is OK !!!.
>
> If I put the external database in another server, the result is OK  
> too !!
> Only in the same tomcat of Orbeon is deploying, the query is null.
>
> Can Anybody help me? Thanks in advice
> --
> View this message in context: http://www.nabble.com/BBDD-problem-tp18212658p18212658.html
> Sent from the ObjectWeb OPS - Users mailing list archive at  
> Nabble.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
> OW2 mailing lists service home page: http://www.ow2.org/wws
--
Orbeon Forms - Web Forms for the Enterprise Done the Right Way
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
OW2 mailing lists service home page: http://www.ow2.org/wws
Reply | Threaded
Open this post in threaded view
|

Re: BBDD problem

Dromela
In reply to this post by Hank Ratzesberger

Hi Hank,

It´s sounds good, but I don´t think so. The query maybe something like this :

<exist:query xmlns:exist="http://exist.sourceforge.net/NS/exist">
... code
let $collection-name :=
concat('xmldb:exist://localhost:8080/orbeon/exist/xmlrpc/db/orbeon/',$search,
$direccion)
... code
</exist:query>

but I´m not sure. I think about this.

Thanks you

Hank Ratzesberger wrote
One issue is that Orbeon deploys eXist alongside.
Presuming you deployed Orbeon in the ROOT application,
the url /exist/rest/db/*
points to Orbeon's eXist database.

I am not sure how to correct this.  Possibly, rename the
exist war so it is deployed in a different context.

Regards,
Hank

On Jul 1, 2008, at 2:37 AM, Dromela wrote:

>
> Hi all,
>
> I have the following problem. I have deployed the ".war" of Orbeon  
> and a
> external eXist database in the same tomcat.
>
> Then I have a query from Orbeon to this external database :
>
> <exist:query xmlns:exist="http://exist.sourceforge.net/NS/exist">
> ... code
> let $collection-name :=
> concat('xmldb:exist://localhost:8080/exist/xmlrpc/db/orbeon/',$search,
> $direccion)
> ... code
> </exist:query>
>
> The result is null !!. The problem is the "localhost". If I put  
> 127.0.0.1
> the error is the same, but if I put the I.P. adress of my network :
> 192.168.41.219 ... the result is OK !!!.
>
> If I put the external database in another server, the result is OK  
> too !!
> Only in the same tomcat of Orbeon is deploying, the query is null.
>
> Can Anybody help me? Thanks in advice
> --
> View this message in context: http://www.nabble.com/BBDD-problem- 
> tp18212658p18212658.html
> Sent from the ObjectWeb OPS - Users mailing list archive at  
> Nabble.com.
>
>
> --
> You receive this message as a subscriber of the ops-users@ow2.org  
> mailing list.
> To unsubscribe: mailto:ops-users-unsubscribe@ow2.org
> For general help: mailto:sympa@ow2.org?subject=help
> OW2 mailing lists service home page: http://www.ow2.org/wws

Hank Ratzesberger
NEES@UCSB
Institute for Crustal Studies,
University of California, Santa Barbara
805-893-8042







--
You receive this message as a subscriber of the ops-users@ow2.org mailing list.
To unsubscribe: mailto:ops-users-unsubscribe@ow2.org
For general help: mailto:sympa@ow2.org?subject=help
OW2 mailing lists service home page: http://www.ow2.org/wws
Reply | Threaded
Open this post in threaded view
|

Re: BBDD problem

Dromela
In reply to this post by Erik Bruchez
Hi Erik,

I told about this with a lot of friends engineers and anybody known what is. The result is null because the code don´t run the query. The error in the widget is this :


<error>
<html><head><title>Apache Tomcat/5.5.26 - Informe de Error</title><style><!--H1 {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:22px;} H2 {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:16px;} H3 {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:14px;} BODY {font-family:Tahoma,Arial,sans-serif;color:black;background-color:white;} B {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;} P {font-family:Tahoma,Arial,sans-serif;background:white;color:black;font-size:12px;}A {color : black;}A.name {color : black;}HR {color : #525D76;}--></style> </head><body>

Estado HTTP 400 - Query exception while parsing request: Could not locate collection: xmldb:exist://localhost:8080/exist/xmlrpc/db/orbeon/forms [at line 15, column 47] In call to function: functx:calculo-collections(item*) [55:13]

<HR size="1" noshade="noshade"><p>type Informe de estado</p><p>mensaje <u>Query exception while parsing request: Could not locate collection: xmldb:exist://localhost:8080/exist/xmlrpc/db/orbeon/forms [at line 15, column 47] In call to function: functx:calculo-collections(item*) [55:13]</u></p><p>descripción <u>El requerimiento enviado por el cliente era sintácticamente incorrecto (Query exception while parsing request: Could not locate collection: xmldb:exist://localhost:8080/exist/xmlrpc/db/orbeon/forms [at line 15, column 47] In call to function: functx:calculo-collections(item*) [55:13]).</u></p><HR size="1" noshade="noshade">

Apache Tomcat/5.5.26

</body></html>
</error>


Can´t solve the "localhost" or "127.0.0.1" ip. I create a hard solution. I create a loopback to a static ip. But I need to know what´s happens.

Thank You


Erik Bruchez wrote
Hard to tell. Could this be specific to your local configuration?

By null result, you mean an empty result, or a NullPointerException?

-Erik

On Jul 1, 2008, at 2:37 AM, Dromela wrote:

>
> Hi all,
>
> I have the following problem. I have deployed the ".war" of Orbeon  
> and a
> external eXist database in the same tomcat.
>
> Then I have a query from Orbeon to this external database :
>
> <exist:query xmlns:exist="http://exist.sourceforge.net/NS/exist">
> ... code
> let $collection-name :=
> concat('xmldb:exist://localhost:8080/exist/xmlrpc/db/orbeon/',$search,
> $direccion)
> ... code
> </exist:query>
>
> The result is null !!. The problem is the "localhost". If I put  
> 127.0.0.1
> the error is the same, but if I put the I.P. adress of my network :
> 192.168.41.219 ... the result is OK !!!.
>
> If I put the external database in another server, the result is OK  
> too !!
> Only in the same tomcat of Orbeon is deploying, the query is null.
>
> Can Anybody help me? Thanks in advice
> --
> View this message in context: http://www.nabble.com/BBDD-problem-tp18212658p18212658.html
> Sent from the ObjectWeb OPS - Users mailing list archive at  
> Nabble.com.
>
>
> --
> You receive this message as a subscriber of the ops-users@ow2.org  
> mailing list.
> To unsubscribe: mailto:ops-users-unsubscribe@ow2.org
> For general help: mailto:sympa@ow2.org?subject=help
> OW2 mailing lists service home page: http://www.ow2.org/wws

--
Orbeon Forms - Web Forms for the Enterprise Done the Right Way
http://www.orbeon.com/



--
You receive this message as a subscriber of the ops-users@ow2.org mailing list.
To unsubscribe: mailto:ops-users-unsubscribe@ow2.org
For general help: mailto:sympa@ow2.org?subject=help
OW2 mailing lists service home page: http://www.ow2.org/wws
Reply | Threaded
Open this post in threaded view
|

Re: Re: BBDD problem

Erik Bruchez
Administrator
So the root cause seems to be this:

   "Could not locate collection: xmldb:exist://localhost:8080/exist/
xmlrpc/db/orbeon/forms"

Right?

But you do have an eXist at this address, and listening on that port  
with XMLRPC enabled?

-Erik

On Jul 1, 2008, at 11:27 PM, Dromela wrote:

>
> Hi Erik,
>
> I told about this with a lot of friends engineers and anybody known  
> what is.
> The result is null because the code don´t run the query. The error  
> in the
> widget is this :
>
>
> <error>
> <html><head><title>Apache Tomcat/5.5.26 - Informe de
> Error</title><style><!--H1
> {font-family:Tahoma,Arial,sans-serif;color:white;background-
> color:#525D76;font-size:22px;}
> H2
> {font-family:Tahoma,Arial,sans-serif;color:white;background-
> color:#525D76;font-size:16px;}
> H3
> {font-family:Tahoma,Arial,sans-serif;color:white;background-
> color:#525D76;font-size:14px;}
> BODY
> {font-family:Tahoma,Arial,sans-serif;color:black;background-
> color:white;} B
> {font-family:Tahoma,Arial,sans-serif;color:white;background-
> color:#525D76;}
> P
> {font-family:Tahoma,Arial,sans-
> serif;background:white;color:black;font-size:12px;}A
> {color : black;}A.name {color : black;}HR {color : #525D76;}--></
> style>
> </head><body><h1>Estado HTTP 400 - Query exception while parsing  
> request:
> Could not locate collection:
> xmldb:exist://localhost:8080/exist/xmlrpc/db/orbeon/forms [at line 15,
> column 47] In call to function: functx:calculo-collections(item*)
> [55:13]</h1><HR size="1" noshade="noshade"><p>type Informe de
> estado</p><p>mensaje <u>Query exception while parsing request: Could  
> not
> locate collection: xmldb:exist://localhost:8080/exist/xmlrpc/db/
> orbeon/forms
> [at line 15, column 47] In call to function:
> functx:calculo-collections(item*) [55:13]</u></p><p>descripción <u>El
> requerimiento enviado por el cliente era sintácticamente incorrecto  
> (Query
> exception while parsing request: Could not locate collection:
> xmldb:exist://localhost:8080/exist/xmlrpc/db/orbeon/forms [at line 15,
> column 47] In call to function: functx:calculo-collections(item*)
> [55:13]).</u></p><HR size="1" noshade="noshade"><h3>Apache
> Tomcat/5.5.26</h3></body></html>
> </error>
>
>
> Can´t solve the "localhost" or "127.0.0.1" ip. I create a hard  
> solution. I
> create a loopback to a static ip. But I need to know what´s happens.
>
> Thank You
>
>
>
> Erik Bruchez wrote:
>>
>> Hard to tell. Could this be specific to your local configuration?
>>
>> By null result, you mean an empty result, or a NullPointerException?
>>
>> -Erik
>>
>> On Jul 1, 2008, at 2:37 AM, Dromela wrote:
>>
>>>
>>> Hi all,
>>>
>>> I have the following problem. I have deployed the ".war" of Orbeon
>>> and a
>>> external eXist database in the same tomcat.
>>>
>>> Then I have a query from Orbeon to this external database :
>>>
>>> <exist:query xmlns:exist="http://exist.sourceforge.net/NS/exist">
>>> ... code
>>> let $collection-name :=
>>> concat('xmldb:exist://localhost:8080/exist/xmlrpc/db/orbeon/',
>>> $search,
>>> $direccion)
>>> ... code
>>> </exist:query>
>>>
>>> The result is null !!. The problem is the "localhost". If I put
>>> 127.0.0.1
>>> the error is the same, but if I put the I.P. adress of my network :
>>> 192.168.41.219 ... the result is OK !!!.
>>>
>>> If I put the external database in another server, the result is OK
>>> too !!
>>> Only in the same tomcat of Orbeon is deploying, the query is null.
>>>
>>> Can Anybody help me? Thanks in advice
>>> --
>>> View this message in context:
>>> http://www.nabble.com/BBDD-problem-tp18212658p18212658.html
>>> Sent from the ObjectWeb OPS - Users mailing list archive at
>>> Nabble.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
>>> OW2 mailing lists service home page: http://www.ow2.org/wws
>>
>> --
>> Orbeon Forms - Web Forms for the Enterprise Done the Right Way
>> 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
>> OW2 mailing lists service home page: http://www.ow2.org/wws
>>
>>
>
> --
> View this message in context: http://www.nabble.com/BBDD-problem-tp18212658p18231052.html
> Sent from the ObjectWeb OPS - Users mailing list archive at  
> Nabble.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
> OW2 mailing lists service home page: http://www.ow2.org/wws
--
Orbeon Forms - Web Forms for the Enterprise Done the Right Way
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
OW2 mailing lists service home page: http://www.ow2.org/wws
Reply | Threaded
Open this post in threaded view
|

Re: Re: BBDD problem

Dromela
I think yes but I don´t know a configuration file for exist to look this.

Erik Bruchez wrote
So the root cause seems to be this:

   "Could not locate collection: xmldb:exist://localhost:8080/exist/
xmlrpc/db/orbeon/forms"

Right?

But you do have an eXist at this address, and listening on that port  
with XMLRPC enabled?

-Erik

On Jul 1, 2008, at 11:27 PM, Dromela wrote:

>
> Hi Erik,
>
> I told about this with a lot of friends engineers and anybody known  
> what is.
> The result is null because the code don´t run the query. The error  
> in the
> widget is this :
>
>
> <error>
> <html><head><title>Apache Tomcat/5.5.26 - Informe de
> Error</title><style></
> style>
> </head><body>

Estado HTTP 400 - Query exception while parsing  
> request:
> Could not locate collection:
> xmldb:exist://localhost:8080/exist/xmlrpc/db/orbeon/forms [at line 15,
> column 47] In call to function: functx:calculo-collections(item*)
> [55:13]

<HR size="1" noshade="noshade"><p>type Informe de
> estado</p><p>mensaje <u>Query exception while parsing request: Could  
> not
> locate collection: xmldb:exist://localhost:8080/exist/xmlrpc/db/
> orbeon/forms
> [at line 15, column 47] In call to function:
> functx:calculo-collections(item*) [55:13]</u></p><p>descripción <u>El
> requerimiento enviado por el cliente era sintácticamente incorrecto  
> (Query
> exception while parsing request: Could not locate collection:
> xmldb:exist://localhost:8080/exist/xmlrpc/db/orbeon/forms [at line 15,
> column 47] In call to function: functx:calculo-collections(item*)
> [55:13]).</u></p><HR size="1" noshade="noshade">

Apache
> Tomcat/5.5.26

</body></html>
> </error>
>
>
> Can´t solve the "localhost" or "127.0.0.1" ip. I create a hard  
> solution. I
> create a loopback to a static ip. But I need to know what´s happens.
>
> Thank You
>
>
>
> Erik Bruchez wrote:
>>
>> Hard to tell. Could this be specific to your local configuration?
>>
>> By null result, you mean an empty result, or a NullPointerException?
>>
>> -Erik
>>
>> On Jul 1, 2008, at 2:37 AM, Dromela wrote:
>>
>>>
>>> Hi all,
>>>
>>> I have the following problem. I have deployed the ".war" of Orbeon
>>> and a
>>> external eXist database in the same tomcat.
>>>
>>> Then I have a query from Orbeon to this external database :
>>>
>>> <exist:query xmlns:exist="http://exist.sourceforge.net/NS/exist">
>>> ... code
>>> let $collection-name :=
>>> concat('xmldb:exist://localhost:8080/exist/xmlrpc/db/orbeon/',
>>> $search,
>>> $direccion)
>>> ... code
>>> </exist:query>
>>>
>>> The result is null !!. The problem is the "localhost". If I put
>>> 127.0.0.1
>>> the error is the same, but if I put the I.P. adress of my network :
>>> 192.168.41.219 ... the result is OK !!!.
>>>
>>> If I put the external database in another server, the result is OK
>>> too !!
>>> Only in the same tomcat of Orbeon is deploying, the query is null.
>>>
>>> Can Anybody help me? Thanks in advice
>>> --
>>> View this message in context:
>>> http://www.nabble.com/BBDD-problem-tp18212658p18212658.html
>>> Sent from the ObjectWeb OPS - Users mailing list archive at
>>> Nabble.com.
>>>
>>>
>>> --
>>> You receive this message as a subscriber of the ops-users@ow2.org
>>> mailing list.
>>> To unsubscribe: mailto:ops-users-unsubscribe@ow2.org
>>> For general help: mailto:sympa@ow2.org?subject=help
>>> OW2 mailing lists service home page: http://www.ow2.org/wws
>>
>> --
>> Orbeon Forms - Web Forms for the Enterprise Done the Right Way
>> http://www.orbeon.com/
>>
>>
>>
>> --
>> You receive this message as a subscriber of the ops-users@ow2.org  
>> mailing
>> list.
>> To unsubscribe: mailto:ops-users-unsubscribe@ow2.org
>> For general help: mailto:sympa@ow2.org?subject=help
>> OW2 mailing lists service home page: http://www.ow2.org/wws
>>
>>
>
> --
> View this message in context: http://www.nabble.com/BBDD-problem-tp18212658p18231052.html
> Sent from the ObjectWeb OPS - Users mailing list archive at  
> Nabble.com.
>
>
> --
> You receive this message as a subscriber of the ops-users@ow2.org  
> mailing list.
> To unsubscribe: mailto:ops-users-unsubscribe@ow2.org
> For general help: mailto:sympa@ow2.org?subject=help
> OW2 mailing lists service home page: http://www.ow2.org/wws

--
Orbeon Forms - Web Forms for the Enterprise Done the Right Way
http://www.orbeon.com/



--
You receive this message as a subscriber of the ops-users@ow2.org mailing list.
To unsubscribe: mailto:ops-users-unsubscribe@ow2.org
For general help: mailto:sympa@ow2.org?subject=help
OW2 mailing lists service home page: http://www.ow2.org/wws
Reply | Threaded
Open this post in threaded view
|

Re: Re: BBDD problem

Dromela
exist is listening in the 8080 port because if I change the ip of the query for the ip of the network :

xmldb:exist://192.168.41.219:8080/exist/xmlrpc/db/orbeon/forms

the query is run, and is the same port ...

Dromela wrote
I think yes but I don´t know a configuration file for exist to look this.

Erik Bruchez wrote
So the root cause seems to be this:

   "Could not locate collection: xmldb:exist://localhost:8080/exist/
xmlrpc/db/orbeon/forms"

Right?

But you do have an eXist at this address, and listening on that port  
with XMLRPC enabled?

-Erik

On Jul 1, 2008, at 11:27 PM, Dromela wrote:

>
> Hi Erik,
>
> I told about this with a lot of friends engineers and anybody known  
> what is.
> The result is null because the code don´t run the query. The error  
> in the
> widget is this :
>
>
> <error>
> <html><head><title>Apache Tomcat/5.5.26 - Informe de
> Error</title><style></
> style>
> </head><body>

Estado HTTP 400 - Query exception while parsing  
> request:
> Could not locate collection:
> xmldb:exist://localhost:8080/exist/xmlrpc/db/orbeon/forms [at line 15,
> column 47] In call to function: functx:calculo-collections(item*)
> [55:13]

<HR size="1" noshade="noshade"><p>type Informe de
> estado</p><p>mensaje <u>Query exception while parsing request: Could  
> not
> locate collection: xmldb:exist://localhost:8080/exist/xmlrpc/db/
> orbeon/forms
> [at line 15, column 47] In call to function:
> functx:calculo-collections(item*) [55:13]</u></p><p>descripción <u>El
> requerimiento enviado por el cliente era sintácticamente incorrecto  
> (Query
> exception while parsing request: Could not locate collection:
> xmldb:exist://localhost:8080/exist/xmlrpc/db/orbeon/forms [at line 15,
> column 47] In call to function: functx:calculo-collections(item*)
> [55:13]).</u></p><HR size="1" noshade="noshade">

Apache
> Tomcat/5.5.26

</body></html>
> </error>
>
>
> Can´t solve the "localhost" or "127.0.0.1" ip. I create a hard  
> solution. I
> create a loopback to a static ip. But I need to know what´s happens.
>
> Thank You
>
>
>
> Erik Bruchez wrote:
>>
>> Hard to tell. Could this be specific to your local configuration?
>>
>> By null result, you mean an empty result, or a NullPointerException?
>>
>> -Erik
>>
>> On Jul 1, 2008, at 2:37 AM, Dromela wrote:
>>
>>>
>>> Hi all,
>>>
>>> I have the following problem. I have deployed the ".war" of Orbeon
>>> and a
>>> external eXist database in the same tomcat.
>>>
>>> Then I have a query from Orbeon to this external database :
>>>
>>> <exist:query xmlns:exist="http://exist.sourceforge.net/NS/exist">
>>> ... code
>>> let $collection-name :=
>>> concat('xmldb:exist://localhost:8080/exist/xmlrpc/db/orbeon/',
>>> $search,
>>> $direccion)
>>> ... code
>>> </exist:query>
>>>
>>> The result is null !!. The problem is the "localhost". If I put
>>> 127.0.0.1
>>> the error is the same, but if I put the I.P. adress of my network :
>>> 192.168.41.219 ... the result is OK !!!.
>>>
>>> If I put the external database in another server, the result is OK
>>> too !!
>>> Only in the same tomcat of Orbeon is deploying, the query is null.
>>>
>>> Can Anybody help me? Thanks in advice
>>> --
>>> View this message in context:
>>> http://www.nabble.com/BBDD-problem-tp18212658p18212658.html
>>> Sent from the ObjectWeb OPS - Users mailing list archive at
>>> Nabble.com.
>>>
>>>
>>> --
>>> You receive this message as a subscriber of the ops-users@ow2.org
>>> mailing list.
>>> To unsubscribe: mailto:ops-users-unsubscribe@ow2.org
>>> For general help: mailto:sympa@ow2.org?subject=help
>>> OW2 mailing lists service home page: http://www.ow2.org/wws
>>
>> --
>> Orbeon Forms - Web Forms for the Enterprise Done the Right Way
>> http://www.orbeon.com/
>>
>>
>>
>> --
>> You receive this message as a subscriber of the ops-users@ow2.org  
>> mailing
>> list.
>> To unsubscribe: mailto:ops-users-unsubscribe@ow2.org
>> For general help: mailto:sympa@ow2.org?subject=help
>> OW2 mailing lists service home page: http://www.ow2.org/wws
>>
>>
>
> --
> View this message in context: http://www.nabble.com/BBDD-problem-tp18212658p18231052.html
> Sent from the ObjectWeb OPS - Users mailing list archive at  
> Nabble.com.
>
>
> --
> You receive this message as a subscriber of the ops-users@ow2.org  
> mailing list.
> To unsubscribe: mailto:ops-users-unsubscribe@ow2.org
> For general help: mailto:sympa@ow2.org?subject=help
> OW2 mailing lists service home page: http://www.ow2.org/wws

--
Orbeon Forms - Web Forms for the Enterprise Done the Right Way
http://www.orbeon.com/



--
You receive this message as a subscriber of the ops-users@ow2.org mailing list.
To unsubscribe: mailto:ops-users-unsubscribe@ow2.org
For general help: mailto:sympa@ow2.org?subject=help
OW2 mailing lists service home page: http://www.ow2.org/wws
Reply | Threaded
Open this post in threaded view
|

Re: Re: Re: BBDD problem

Erik Bruchez
Administrator
Could it be that for some reason eXist is only listening to the  
interface with the IP 192.168.41.219, and not to localhost?

I don't have this issue on my machine certainly. But try asking the  
eXist mailing-list about this, they should know more about this than  
we do.

-Erik

On Jul 1, 2008, at 11:45 PM, Dromela wrote:

>
> exist is listening in the 8080 port because if I change the ip of  
> the query
> for the ip of the network :
>
> xmldb:exist://192.168.41.219:8080/exist/xmlrpc/db/orbeon/forms
>
> the query is run, and is the same port ...
>
>
> Dromela wrote:
>>
>> I think yes but I don´t know a configuration file for exist to look  
>> this.
>>
>>
>> Erik Bruchez wrote:
>>>
>>> So the root cause seems to be this:
>>>
>>>   "Could not locate collection: xmldb:exist://localhost:8080/exist/
>>> xmlrpc/db/orbeon/forms"
>>>
>>> Right?
>>>
>>> But you do have an eXist at this address, and listening on that port
>>> with XMLRPC enabled?
>>>
>>> -Erik
>>>
>>> On Jul 1, 2008, at 11:27 PM, Dromela wrote:
>>>
>>>>
>>>> Hi Erik,
>>>>
>>>> I told about this with a lot of friends engineers and anybody known
>>>> what is.
>>>> The result is null because the code don´t run the query. The error
>>>> in the
>>>> widget is this :
>>>>
>>>>
>>>> <error>
>>>> <html><head><title>Apache Tomcat/5.5.26 - Informe de
>>>> Error</title><style><!--H1
>>>> {font-family:Tahoma,Arial,sans-serif;color:white;background-
>>>> color:#525D76;font-size:22px;}
>>>> H2
>>>> {font-family:Tahoma,Arial,sans-serif;color:white;background-
>>>> color:#525D76;font-size:16px;}
>>>> H3
>>>> {font-family:Tahoma,Arial,sans-serif;color:white;background-
>>>> color:#525D76;font-size:14px;}
>>>> BODY
>>>> {font-family:Tahoma,Arial,sans-serif;color:black;background-
>>>> color:white;} B
>>>> {font-family:Tahoma,Arial,sans-serif;color:white;background-
>>>> color:#525D76;}
>>>> P
>>>> {font-family:Tahoma,Arial,sans-
>>>> serif;background:white;color:black;font-size:12px;}A
>>>> {color : black;}A.name {color : black;}HR {color : #525D76;}--></
>>>> style>
>>>> </head><body><h1>Estado HTTP 400 - Query exception while parsing
>>>> request:
>>>> Could not locate collection:
>>>> xmldb:exist://localhost:8080/exist/xmlrpc/db/orbeon/forms [at  
>>>> line 15,
>>>> column 47] In call to function: functx:calculo-collections(item*)
>>>> [55:13]</h1><HR size="1" noshade="noshade"><p>type Informe de
>>>> estado</p><p>mensaje <u>Query exception while parsing request:  
>>>> Could
>>>> not
>>>> locate collection: xmldb:exist://localhost:8080/exist/xmlrpc/db/
>>>> orbeon/forms
>>>> [at line 15, column 47] In call to function:
>>>> functx:calculo-collections(item*) [55:13]</u></p><p>descripción  
>>>> <u>El
>>>> requerimiento enviado por el cliente era sintácticamente  
>>>> incorrecto
>>>> (Query
>>>> exception while parsing request: Could not locate collection:
>>>> xmldb:exist://localhost:8080/exist/xmlrpc/db/orbeon/forms [at  
>>>> line 15,
>>>> column 47] In call to function: functx:calculo-collections(item*)
>>>> [55:13]).</u></p><HR size="1" noshade="noshade"><h3>Apache
>>>> Tomcat/5.5.26</h3></body></html>
>>>> </error>
>>>>
>>>>
>>>> Can´t solve the "localhost" or "127.0.0.1" ip. I create a hard
>>>> solution. I
>>>> create a loopback to a static ip. But I need to know what´s  
>>>> happens.
>>>>
>>>> Thank You
>>>>
>>>>
>>>>
>>>> Erik Bruchez wrote:
>>>>>
>>>>> Hard to tell. Could this be specific to your local configuration?
>>>>>
>>>>> By null result, you mean an empty result, or a  
>>>>> NullPointerException?
>>>>>
>>>>> -Erik
>>>>>
>>>>> On Jul 1, 2008, at 2:37 AM, Dromela wrote:
>>>>>
>>>>>>
>>>>>> Hi all,
>>>>>>
>>>>>> I have the following problem. I have deployed the ".war" of  
>>>>>> Orbeon
>>>>>> and a
>>>>>> external eXist database in the same tomcat.
>>>>>>
>>>>>> Then I have a query from Orbeon to this external database :
>>>>>>
>>>>>> <exist:query xmlns:exist="http://exist.sourceforge.net/NS/exist">
>>>>>> ... code
>>>>>> let $collection-name :=
>>>>>> concat('xmldb:exist://localhost:8080/exist/xmlrpc/db/orbeon/',
>>>>>> $search,
>>>>>> $direccion)
>>>>>> ... code
>>>>>> </exist:query>
>>>>>>
>>>>>> The result is null !!. The problem is the "localhost". If I put
>>>>>> 127.0.0.1
>>>>>> the error is the same, but if I put the I.P. adress of my  
>>>>>> network :
>>>>>> 192.168.41.219 ... the result is OK !!!.
>>>>>>
>>>>>> If I put the external database in another server, the result is  
>>>>>> OK
>>>>>> too !!
>>>>>> Only in the same tomcat of Orbeon is deploying, the query is  
>>>>>> null.
>>>>>>
>>>>>> Can Anybody help me? Thanks in advice
>>>>>> --
>>>>>> View this message in context:
>>>>>> http://www.nabble.com/BBDD-problem-tp18212658p18212658.html
>>>>>> Sent from the ObjectWeb OPS - Users mailing list archive at
>>>>>> Nabble.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
>>>>>> OW2 mailing lists service home page: http://www.ow2.org/wws
>>>>>
>>>>> --
>>>>> Orbeon Forms - Web Forms for the Enterprise Done the Right Way
>>>>> 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
>>>>> OW2 mailing lists service home page: http://www.ow2.org/wws
>>>>>
>>>>>
>>>>
>>>> --
>>>> View this message in context:
>>>> http://www.nabble.com/BBDD-problem-tp18212658p18231052.html
>>>> Sent from the ObjectWeb OPS - Users mailing list archive at
>>>> Nabble.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
>>>> OW2 mailing lists service home page: http://www.ow2.org/wws
>>>
>>> --
>>> Orbeon Forms - Web Forms for the Enterprise Done the Right Way
>>> 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
>>> OW2 mailing lists service home page: http://www.ow2.org/wws
>>>
>>>
>>
>>
>
> --
> View this message in context: http://www.nabble.com/BBDD-problem-tp18212658p18231327.html
> Sent from the ObjectWeb OPS - Users mailing list archive at  
> Nabble.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
> OW2 mailing lists service home page: http://www.ow2.org/wws
--
Orbeon Forms - Web Forms for the Enterprise Done the Right Way
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
OW2 mailing lists service home page: http://www.ow2.org/wws