Hi Ben,
I have checked whether Linux box is behind a different firewall than the
Windows box and it's not. I have tried either the "set | grep 33333" or
"netstat -an | grep 33333" commands, and I get nothing. However, I have set
ARAPILOGGING=1, and I get the next response:
MessageText: Cannot open catalog; Message number = 90
AppendedText: 10.190.28.25 : RPC: Remote system error - Connection timed out
at
com.remedy.arsys.api.Proxy.ARVerifyUser(Lcom/remedy/arsys/api/ARServerUser;[Z)V(Proxy.java:???)
at
com.remedy.arsys.api.ARServerUser.verifyUser(Lcom/remedy/arsys/api/VerifyUserCriteria;)V(ARServerUser.java:506)
at knars.javatask.BMCUserAprov.connect()V(BMCUserAprov.java:114)
at
knars.javatask.testBMCProvision.main([Ljava/lang/String;)V(testBMCProvision.java:32)
This is the piece of code I have developed:
String metodo = clase +":connect(): ";
System.out.println(metodo + "Inicio");
this.arServer = new ARServerUser();
this.arServer.setServer(this.serverName);
this.arServer.setUser(new AccessNameID(this.userName));
this.arServer.setPassword(new AccessNameID(this.password));
this.nameID = new NameID(this.formName);
System.out.println(metodo+ " : " + "Before VerifyUserCriteria");
this.arServer.verifyUser(new VerifyUserCriteria());
System.out.println(metodo+ " : " + "After VerifyUserCriteria");
Do I have to you Proxy object??? In windows it's not necesary!!
Jordi
-----Original Message-----
From: Action Request System discussion list(ARSList)
[mailto:[email protected]] On Behalf Of Ben Chernys
Sent: jueves, 12 de noviembre de 2009 11:01
To: [email protected]
Subject: Re: Connection timed out. Message number = 90 in ars 5.1
Nope. Make sure the Linux box is not behind a different firewall than the
Windows box. Make sure also that a port is NOT set in the Linux box with the
set | grep.
Otherwise, turn the logging on with the export ARAPILOGGING=1 before you run
your app and your will have two files in the current directory (do an ls -lt to
find them)
Old versions of the .so did not include the version number. I don't remember
when that changed. Make sure that the compiled version of the java code uses
the right version of the arapi.so
Cheers
Ben
-----Original Message-----
From: Action Request System discussion list(ARSList)
[mailto:[email protected]] On Behalf Of Llinares, Jordi
Sent: November 12, 2009 10:38 AM
To: [email protected]
Subject: Re: Connection timed out. Message number = 90 in ars 5.1
Importance: High
Hi Ben,
Neither I set the port in the code, nor in an environment variable. If I
connect to it in windows and I type in the cmd netstat -an I can see the port
which is connecting is 33333. Do I have to set this environment variable?
Thanks so much for your suppport,
Jordi
-----Original Message-----
From: Action Request System discussion list(ARSList)
[mailto:[email protected]] On Behalf Of Ben Chernys
Sent: jueves, 12 de noviembre de 2009 10:13
To: [email protected]
Subject: Re: Connection timed out. Message number = 90 in ars 5.1
Are you using port mapper? If not then either your code sets the port (after
init before any other calls) or you have ARTSPPORT set in your environment.
Check that on Windows (set | find ARTCP) and Linux (set | grep ARTCP).
Else set client API tracing on with ARAPILOGGING=1 (use export on Linux)
Cheers
Ben Chernys
Senior Software Architect
Software Tool House Inc.
Canada / Deutschland / Germany
Mobile: +49 171 380 2329 GMT + 1 + [ DST ]
Email: mailto:[email protected]
Web: http://www.softwaretoolhouse.com
A free notepad for Diary fields:
An ARS API scripting tool used for migrations, integrations, imports, reports,
extracts, batch jobs:
http://www.softwaretoolhouse.com/
-----Original Message-----
From: Action Request System discussion list(ARSList)
[mailto:[email protected]] On Behalf Of Llinares, Jordi
Sent: November 12, 2009 9:31 AM
To: [email protected]
Subject: Re: Connection timed out. Message number = 90 in ars 5.1
I'm using 5.1 version of both ARS server and, of course, the java API.
-----Original Message-----
From: Action Request System discussion list(ARSList)
[mailto:[email protected]] On Behalf Of LJ Longwing
Sent: miércoles, 11 de noviembre de 2009 19:20
To: [email protected]
Subject: Re: Connection timed out. Message number = 90 in ars 5.1
What version of the Java API are you using, and have you confirmed that this
program connects to a more modern version of Remedy?
-----Original Message-----
From: Action Request System discussion list(ARSList)
[mailto:[email protected]] On Behalf Of Llinares, Jordi
Sent: Wednesday, November 11, 2009 11:01 AM
To: [email protected]
Subject: Connection timed out. Message number = 90 in ars 5.1
Importance: High
Hi,
I have developed some code which access to an ARS 5.1 Server using the java
API. I have tested this code in a windows evironment and it works properly,
calling to the .dll, however, when I try to run it in a linux Red Hat with
kernel version 2.4 environment, it works ok until it tries to connect to the
server using the .so files. In this moment, it gets stalled. I have checked the
threads and the code is able to call the .so however the .so doesn't connect.
The connection between this server and the ARS server is ok. I telnet to the
server port and it works. ¿Have you had any experiences like this one?
Thanks in advanced,
Jordi
____________________________________________________________________________
___
UNSUBSCRIBE or access ARSlist Archives at www.arslist.org Platinum
Sponsor:[email protected] ARSlist: "Where the Answers Are"
____________________________________________________________________________
___
UNSUBSCRIBE or access ARSlist Archives at www.arslist.org Platinum
Sponsor:[email protected] ARSlist: "Where the Answers Are"
____________________________________________________________________________
___
UNSUBSCRIBE or access ARSlist Archives at www.arslist.org Platinum
Sponsor:[email protected] ARSlist: "Where the Answers Are"
____________________________________________________________________________
___
UNSUBSCRIBE or access ARSlist Archives at www.arslist.org Platinum
Sponsor:[email protected] ARSlist: "Where the Answers Are"
____________________________________________________________________________
___
UNSUBSCRIBE or access ARSlist Archives at www.arslist.org Platinum
Sponsor:[email protected] ARSlist: "Where the Answers Are"
_______________________________________________________________________________
UNSUBSCRIBE or access ARSlist Archives at www.arslist.org Platinum
Sponsor:[email protected] ARSlist: "Where the Answers Are"
_______________________________________________________________________________
UNSUBSCRIBE or access ARSlist Archives at www.arslist.org
Platinum Sponsor:[email protected] ARSlist: "Where the Answers Are"