# Error testing Reply and Target RDBMS Gateways

**URL:** <https://techcommunity.softwareag.com/t/error-testing-reply-and-target-rdbms-gateways/59288>\
**Category:** Forum\
**Tags:** Former-Crossvision-Products, Service-Orchestrator\
**Created:** [May 3, 2005, 3:30pm UTC](https://techcommunity.softwareag.com/t/error-testing-reply-and-target-rdbms-gateways/59288 "2005-05-03T15:30:26Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![Raffaele](https://avatars.discourse-cdn.com/v4/letter/r/90db22/32.png) [@Raffaele](https://techcommunity.softwareag.com/u/Raffaele)\
**Post date:** [May 3, 2005, 3:30pm UTC](https://techcommunity.softwareag.com/t/error-testing-reply-and-target-rdbms-gateways/59288/1 "2005-05-03T15:30:26Z")

</div>

Hi everybody,

I made a RDBMS Target Gateway to store a record into the table Region of the database Northwind (Microsoft SQL Server).  
When I test it from SMH, I get the following error:

\<soapenv:Envelope xmlns:soapenv=“[http://schemas.xmlsoap.org/soap/envelope/](http://schemas.xmlsoap.org/soap/envelope/)” xmlns:xsd=“[XML Schema](http://www.w3.org/2001/XMLSchema)” xmlns:xsi=“[http://www.w3.org/2001/XMLSchema-instance](http://www.w3.org/2001/XMLSchema-instance)”\>soapenv:Bodysoapenv:Faultns1:HTTP(401)Unauthorizedreturn code: 401

Apache Tomcat/4.1.24-LE-jdk14 - Error report 
# HTTP Status 401 -

* * *

**type** Status report

**message**

**description** This request requires HTTP authentication ().

* * *

### Apache Tomcat/4.1.24-LE-jdk14
401

I’ve also made a Reply Gateway to select a record from Customers’ table.  
When I test it from SMH, I get the following error:

\<soapenv:Envelope xmlns:soapenv=“[http://schemas.xmlsoap.org/soap/envelope/](http://schemas.xmlsoap.org/soap/envelope/)” xmlns:xsd=“[XML Schema](http://www.w3.org/2001/XMLSchema)” xmlns:xsi=“[http://www.w3.org/2001/XMLSchema-instance](http://www.w3.org/2001/XMLSchema-instance)”\>soapenv:Bodysoapenv:Faultsoapenv:Server.userExceptionjavax.resource.ResourceException: Invalid user / password.  
Detailed Message : Unable to process request; nested exception is:  
com.softwareag.fresno.persistence.ElementLoaderCreateException\<ns1:hostname xmlns:ns1=“[http://xml.apache.org/axis/](http://xml.apache.org/axis/)”\>sagirap04\</ns1:hostname\>\</soapenv:Fault\>\</soapenv:Body\>\</soapenv:Envelope\>

From the XML Gateways wizard, they work fine.  
I can’t understand what’s wrong with them.

Does anyone help me, please?

☹

---

<div class="post-metadata">

**Author:** ![Jason](https://avatars.discourse-cdn.com/v4/letter/j/dc4da7/32.png) [@Jason](https://techcommunity.softwareag.com/u/Jason)\
**Post date:** [May 4, 2005, 4:13am UTC](https://techcommunity.softwareag.com/t/error-testing-reply-and-target-rdbms-gateways/59288/2 "2005-05-04T04:13:08Z")

</div>

Hi,

Which userid and password did you use when logging into the repository?

Does it fail when you log into the repository as root/root?

Regards,

Jason

---

<div class="post-metadata">

**Author:** ![Raffaele](https://avatars.discourse-cdn.com/v4/letter/r/90db22/32.png) [@Raffaele](https://techcommunity.softwareag.com/u/Raffaele)\
**Post date:** [May 4, 2005, 2:24pm UTC](https://techcommunity.softwareag.com/t/error-testing-reply-and-target-rdbms-gateways/59288/3 "2005-05-04T14:24:45Z")

</div>

Hi Jason,  
I log into the repository as root/root when I test the gateway into SMH and when I use the Web Service wizard.  
I don’t get any errors, but the test of the web service via SMH fails as described in the last post.

Regards

Raffaele

---

<div class="post-metadata">

**Author:** ![Kalpesh\_Shah](https://avatars.discourse-cdn.com/v4/letter/k/3bc359/32.png) [@Kalpesh\_Shah](https://techcommunity.softwareag.com/u/Kalpesh_Shah)\
**Post date:** [May 4, 2005, 9:29pm UTC](https://techcommunity.softwareag.com/t/error-testing-reply-and-target-rdbms-gateways/59288/4 "2005-05-04T21:29:17Z")

</div>

Hi,

Can you make sure that you have configured Runtime User from SMH.  
In SMH (Admin Console), you would see XMLGateways. Under XMLGateways, click on Runtime User node. Click on Update User and make sure user id / password are correct there.

Which version of XMLGateways are you using?

Thanks,  
-Kalpesh.

---

<div class="post-metadata">

**Author:** ![Raffaele](https://avatars.discourse-cdn.com/v4/letter/r/90db22/32.png) [@Raffaele](https://techcommunity.softwareag.com/u/Raffaele)\
**Post date:** [May 5, 2005, 2:38pm UTC](https://techcommunity.softwareag.com/t/error-testing-reply-and-target-rdbms-gateways/59288/5 "2005-05-05T14:38:22Z")

</div>

Hi Kelpesh,

Under SMH I log to the Repository as root/root.  
Now I’ve updated Runtime User as root/root too.  
(It wasn’t root/root)

Unfortunately, the test of the web services fails again.

I’m using EntireX XML Gateways Version 7.2.3.1

Thanks anyway

Regards

Raffaele

---

<div class="post-metadata">

**Author:** ![Kalpesh\_Shah](https://avatars.discourse-cdn.com/v4/letter/k/3bc359/32.png) [@Kalpesh\_Shah](https://techcommunity.softwareag.com/u/Kalpesh_Shah)\
**Post date:** [May 5, 2005, 8:18pm UTC](https://techcommunity.softwareag.com/t/error-testing-reply-and-target-rdbms-gateways/59288/6 "2005-05-05T20:18:57Z")

</div>

Hi,

Can you send us the detailed exception or server.log of JBOSS. It may help us to find more hints regarding the problem.

Thanks,  
-Kalpesh.

---

<div class="post-metadata">

**Author:** ![Raffaele](https://avatars.discourse-cdn.com/v4/letter/r/90db22/32.png) [@Raffaele](https://techcommunity.softwareag.com/u/Raffaele)\
**Post date:** [May 5, 2005, 10:46pm UTC](https://techcommunity.softwareag.com/t/error-testing-reply-and-target-rdbms-gateways/59288/7 "2005-05-05T22:46:00Z")

</div>

Hi Kalpesh,  
after I’ve changed Runtime user, the errors changed too.  
More exactly, when I test the target gateway, I get the following error:

\<soapenv:Envelope xmlns:soapenv=“[http://schemas.xmlsoap.org/soap/envelope/](http://schemas.xmlsoap.org/soap/envelope/)” xmlns:xsd=“[XML Schema](http://www.w3.org/2001/XMLSchema)” xmlns:xsi=“[http://www.w3.org/2001/XMLSchema-instance](http://www.w3.org/2001/XMLSchema-instance)”\>soapenv:Bodysoapenv:Faultns1:HTTP(401)Unauthorizedreturn code: 401

Apache Tomcat/4.1.24-LE-jdk14 - Error report 
# HTTP Status 401 -

* * *

**type** Status report

**message**

**description** This request requires HTTP authentication ().

* * *

### Apache Tomcat/4.1.24-LE-jdk14
401

while, testing the reply gateway, I get the following error:

\<soapenv:Envelope xmlns:soapenv=“[http://schemas.xmlsoap.org/soap/envelope/](http://schemas.xmlsoap.org/soap/envelope/)” xmlns:xsd=“[XML Schema](http://www.w3.org/2001/XMLSchema)” xmlns:xsi=“[http://www.w3.org/2001/XMLSchema-instance](http://www.w3.org/2001/XMLSchema-instance)”\>soapenv:Bodysoapenv:Faultsoapenv:Server.userExceptionjavax.resource.ResourceException: Failed to connect to database. The reason is null .; nested exception is:  
com.softwareag.fresno.resourceadapter.managed.ManagedAdapterConnectionException: Failed to connect to database. The reason is null .\<ns1:hostname xmlns:ns1=“[http://xml.apache.org/axis/](http://xml.apache.org/axis/)”\>sagirap04\</ns1:hostname\>\</soapenv:Fault\>\</soapenv:Body\>\</soapenv:Envelope\>

I’ve attached server.log file to this post.

Regards

Raffaele  
[server.log](https://techcommunity.softwareag.com/uploads/short-url/v1QWvsmyvHbm9E9bsf3L1Tunl7L.log) (186 KB)

---

<div class="post-metadata">

**Author:** ![Jason](https://avatars.discourse-cdn.com/v4/letter/j/dc4da7/32.png) [@Jason](https://techcommunity.softwareag.com/u/Jason)\
**Post date:** [May 6, 2005, 8:21pm UTC](https://techcommunity.softwareag.com/t/error-testing-reply-and-target-rdbms-gateways/59288/8 "2005-05-06T20:21:35Z")

</div>

Hi Raffaele,

I noticed that the MS JDBC driver is both in \server\default\lib and  
\server\default\deploy. Can you remove the driver jars from \server\default\lib restart Jboss and test the Gateways from the administration console again?

Jason

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/techcommunity/original/3X/c/d/cd19967bb605d28a72d77eb83a1cae22f3df2eb8.svg) [@system](https://techcommunity.softwareag.com/u/system)\
**Post date:** [April 2, 2021, 2:39pm UTC](https://techcommunity.softwareag.com/t/error-testing-reply-and-target-rdbms-gateways/59288/9 "2021-04-02T14:39:45Z")

</div>

Closed on April 2, 2021, 2:39pm UTC


