Re: Java API/ARS 7.1 question [Resolved]

2009-03-26 Thread Axton
This is a statement I received from Doug Mueller a few years back on the
subject:

http://arswiki.org/dist/docs/RE_Open_Source_Initiative.pdf

To my knowledge this has not changed.

Axton Grams

The opinions, statements, and/or suggested courses of action expressed in
this E-mail do not necessarily reflect those of BMC Software, Inc.  My
voluntary participation in this forum is not intended to convey a role as a
spokesperson, liaison or public relations representative for BMC Software,
Inc.

On Thu, Mar 26, 2009 at 2:59 AM, Krombholz, Robert, VF-Group <
robert.krombh...@vodafone.com> wrote:

>
> What about the license of the ARS APIs?
> Are they OpenSource?
> Or am I only allowed to use the 7.5 libaries if I pay for a 7.5 server?
> (because we still use 7.1)
>
> If it is legal it would be very nice if you could send  me the 7.5 Java
> libs.
> Is there an API documentation included?
>
> Thanks ahead
> Robert
>
>
> -Ursprüngliche Nachricht-
> Von: Action Request System discussion list(ARSList) [mailto:
> arsl...@arslist.org] Im Auftrag von James Pifer
> Gesendet: Mittwoch, 25. März 2009 18:44
> An: arslist@ARSLIST.ORG
> Betreff: Re: Java API/ARS 7.1 question [Resolved]
>
> I was able to get my hands on 7.5 api. 100% java is VERY nice, works great.
> Also works on 64bit.
>
> James
>
>
> ___
> UNSUBSCRIBE or access ARSlist Archives at www.arslist.org Platinum
> Sponsor: RMI Solutions ARSlist: "Where the Answers Are"
>
>
> ___
> UNSUBSCRIBE or access ARSlist Archives at www.arslist.org
> Platinum Sponsor: RMI Solutions ARSlist: "Where the Answers Are"
>

___
UNSUBSCRIBE or access ARSlist Archives at www.arslist.org
Platinum Sponsor: RMI Solutions ARSlist: "Where the Answers Are"


Re: Java API/ARS 7.1 question [Resolved]

2009-03-26 Thread Michiel Beijen
The API's are mostly proprietary and owned by BMC. There are also dll's for
Unicode, XML and XSLT (ICU, Xerces and Xalan) included in the API which fall
under a different license. This is all explained here:
http://arswiki.org/wiki/Remedy_API_Downloads

So the API is not open source, but parts of it are. Axton received an OK
from Doug Mueller, CTO of BMC Software, to host them on ARSwiki though.

I'm not a lawyer, but if you are using 7.1 server and have a support
contract, I guess you will be allowed to use the 7.5 java libraries if you'd
want to do API programming.
API docs are part of the 7.5 java distribution.

HTH,
--
Michiel Beijen
Software Consultant
+31 6 - 457 42 418
Bee Free IT + http://beefreeit.nl


On Thu, Mar 26, 2009 at 08:59, Krombholz, Robert, VF-Group <
robert.krombh...@vodafone.com> wrote:

>
> What about the license of the ARS APIs?
> Are they OpenSource?
> Or am I only allowed to use the 7.5 libaries if I pay for a 7.5 server?
> (because we still use 7.1)
>
> If it is legal it would be very nice if you could send  me the 7.5 Java
> libs.
> Is there an API documentation included?
>
> Thanks ahead
> Robert
>
>
> -Ursprüngliche Nachricht-
> Von: Action Request System discussion list(ARSList) [mailto:
> arsl...@arslist.org] Im Auftrag von James Pifer
> Gesendet: Mittwoch, 25. März 2009 18:44
> An: arslist@ARSLIST.ORG
> Betreff: Re: Java API/ARS 7.1 question [Resolved]
>
> I was able to get my hands on 7.5 api. 100% java is VERY nice, works great.
> Also works on 64bit.
>
> James
>
>
> ___
> UNSUBSCRIBE or access ARSlist Archives at www.arslist.org Platinum
> Sponsor: RMI Solutions ARSlist: "Where the Answers Are"
>
>
> ___
> UNSUBSCRIBE or access ARSlist Archives at www.arslist.org
> Platinum Sponsor: RMI Solutions ARSlist: "Where the Answers Are"
>

___
UNSUBSCRIBE or access ARSlist Archives at www.arslist.org
Platinum Sponsor: RMI Solutions ARSlist: "Where the Answers Are"


Re: Java API/ARS 7.1 question

2009-03-25 Thread Axton
Depends on which api.  The c header files are probably not bundled with the
mid-tier installation.

Axton Grams

On Wed, Mar 25, 2009 at 10:59 AM, Chintan Shah  wrote:

> ** You can probably get all API related stuff (libraries and Jars) it from
> "midtier" installation.
>
> I think midtier installation should be faster than arserver. I  havent done
> any 7.5 midtier installations however,  with 7.1 its just deploying WAR file
> and i got all required files from the below path .
>
> PATH- webapps/arsys/WEB-INF/lib
>
> Hope it helps.
>
> Thanks
> Chintan
> --- On *Wed, 3/25/09, James Pifer * wrote:
>
> From: James Pifer 
> Subject: Re: Java API/ARS 7.1 question
> To: arslist@ARSLIST.ORG
> Date: Wednesday, March 25, 2009, 8:55 AM
>
>
> On Wed, 2009-03-25 at 09:51 -0500, Axton wrote:
> > ** Yes, a rather painful way to get them out.  The new
>  installers pack
> > everything in a file that I do not know how to unpack, so an install
> > of the server is required to get the api's.  I will not be able to
> > accomodate this for HPUX or AIX since I do not have machines on those
> > platforms.
> >
> > Axton Grams
>
> Yeah, I downloaded the installer and tried as well, but couldn't find it
> the way they have it packaged. I could throw a VM together to do the
> install, but then I also have to install oracle, etc etc etc. Major
> pain, but may come to that.
>
> If anyone has a linux machine running ARS 7.5, would you be willing to
> zip up the api dir and send it to me?
>
> Thanks,
> James
>
> ___
> UNSUBSCRIBE or access ARSlist Archives at www.arslist.org
> Platinum Sponsor: RMI Solutions ARSlist: "Where the Answers Are"
>
>
> __Platinum Sponsor: RMI Solutions ARSlist: "Where the Answers Are" html___

___
UNSUBSCRIBE or access ARSlist Archives at www.arslist.org
Platinum Sponsor: RMI Solutions ARSlist: "Where the Answers Are"


Re: Java API/ARS 7.1 question [Resolved]

2009-03-25 Thread James Pifer
I was able to get my hands on 7.5 api. 100% java is VERY nice, works
great. Also works on 64bit. 

James

___
UNSUBSCRIBE or access ARSlist Archives at www.arslist.org
Platinum Sponsor: RMI Solutions ARSlist: "Where the Answers Are"


Re: Java API/ARS 7.1 question

2009-03-25 Thread Chintan Shah
You can probably get all API related stuff (libraries and Jars) it from 
"midtier" installation.

I think midtier installation should be faster than arserver. I  havent done any 
7.5 midtier installations however,  with 7.1 its just deploying WAR file and i 
got all required files from the below path .

PATH- webapps/arsys/WEB-INF/lib

Hope it helps.

Thanks
Chintan
--- On Wed, 3/25/09, James Pifer  wrote:
From: James Pifer 
Subject: Re: Java API/ARS 7.1 question
To: arslist@ARSLIST.ORG
Date: Wednesday, March 25, 2009, 8:55 AM

On Wed, 2009-03-25 at 09:51 -0500, Axton wrote:
> ** Yes, a rather painful way to get them out.  The new installers pack
> everything in a file that I do not know how to unpack, so an install
> of the server is required to get the api's.  I will not be able to
> accomodate this for HPUX or AIX since I do not have machines on those
> platforms.
> 
> Axton Grams

Yeah, I downloaded the installer and tried as well, but couldn't find it
the way they have it packaged. I could throw a VM together to do the
install, but then I also have to install oracle, etc etc etc. Major
pain, but may come to that. 

If anyone has a linux machine running ARS 7.5, would you be willing to
zip up the api dir and send it to me?

Thanks,
James

___
UNSUBSCRIBE or access ARSlist Archives at www.arslist.org
Platinum Sponsor: RMI Solutions ARSlist: "Where the Answers Are"





___
UNSUBSCRIBE or access ARSlist Archives at www.arslist.org
Platinum Sponsor: RMI Solutions ARSlist: "Where the Answers Are"

Re: Java API/ARS 7.1 question

2009-03-25 Thread James Pifer
On Wed, 2009-03-25 at 09:51 -0500, Axton wrote:
> ** Yes, a rather painful way to get them out.  The new installers pack
> everything in a file that I do not know how to unpack, so an install
> of the server is required to get the api's.  I will not be able to
> accomodate this for HPUX or AIX since I do not have machines on those
> platforms.
> 
> Axton Grams

Yeah, I downloaded the installer and tried as well, but couldn't find it
the way they have it packaged. I could throw a VM together to do the
install, but then I also have to install oracle, etc etc etc. Major
pain, but may come to that. 

If anyone has a linux machine running ARS 7.5, would you be willing to
zip up the api dir and send it to me?

Thanks,
James

___
UNSUBSCRIBE or access ARSlist Archives at www.arslist.org
Platinum Sponsor: RMI Solutions ARSlist: "Where the Answers Are"


Re: Java API/ARS 7.1 question

2009-03-25 Thread Axton
Yes, a rather painful way to get them out.  The new installers pack
everything in a file that I do not know how to unpack, so an install of the
server is required to get the api's.  I will not be able to accomodate this
for HPUX or AIX since I do not have machines on those platforms.

Axton Grams

On Wed, Mar 25, 2009 at 8:55 AM, Grooms, Frederick W <
frederick.w.gro...@xo.com> wrote:

>  It used to be that the server install asked if you wanted to install the
> API (so you could choose No to the Server question and Yes to the API
> question and just install the API).  Now with 7.5 you no longer get that
> option and to get the API you just have to install the server and copy the
> API folder.
>
>
>
>
>
> *From:* Action Request System discussion list(ARSList) [mailto:
> arsl...@arslist.org] *On Behalf Of *Michiel Beijen
> *Sent:* Wednesday, March 25, 2009 3:07 AM
> *To:* arslist@ARSLIST.ORG
> *Subject:* Re: Java API/ARS 7.1 question
>
>
>
> ** Well, obviously they are in the 'api' subdirectory from a 7.5 server...
>
> The APIs used to be hosted as a separate download from http://arswiki.org- 
> Axton put them there. But since there was little user contribution to the
> wiki (and axton is a busy guy) the last api's you'll find there are v7.1.
>
> You can probably extract them easiest from the tarballs on the patch
> download site of BMC.
>
> Kind regards,
> --
> Michiel Beijen
> Software Consultant
> +31 6 - 457 42 418
> Bee Free IT + http://beefreeit.nl
>
>  On Tue, Mar 24, 2009 at 16:00, James Pifer  wrote:
>
> On Mon, 2009-03-23 at 16:26 +0100, Michiel Beijen wrote:
>
> > ** James,
>
> >
> > I saw a reference to 'lib64' in your error message.
> >
> > Please make sure that you use a 32-bit version of Java - the 7.1 API
> > libs contain JNI and are not 100% 'pure' java.
> >
> > You could also use the 7.5 api libs, which are 100% java (assuming
> > that your server is running 7.0.1 or newer).
> >
>
> Where can I get 7.5 api libs?
>
>
> James
>
>
>
>

___
UNSUBSCRIBE or access ARSlist Archives at www.arslist.org
Platinum Sponsor: RMI Solutions ARSlist: "Where the Answers Are"


Re: Java API/ARS 7.1 question

2009-03-25 Thread Grooms, Frederick W
It used to be that the server install asked if you wanted to install the API 
(so you could choose No to the Server question and Yes to the API question and 
just install the API).  Now with 7.5 you no longer get that option and to get 
the API you just have to install the server and copy the API folder.

 

 

From: Action Request System discussion list(ARSList) 
[mailto:arsl...@arslist.org] On Behalf Of Michiel Beijen
Sent: Wednesday, March 25, 2009 3:07 AM
To: arslist@ARSLIST.ORG
Subject: Re: Java API/ARS 7.1 question

 

** Well, obviously they are in the 'api' subdirectory from a 7.5 server...

The APIs used to be hosted as a separate download from http://arswiki.org 
<http://arswiki.org/>  - Axton put them there. But since there was little user 
contribution to the wiki (and axton is a busy guy) the last api's you'll find 
there are v7.1.

You can probably extract them easiest from the tarballs on the patch download 
site of BMC.

Kind regards,
--
Michiel Beijen
Software Consultant
+31 6 - 457 42 418
Bee Free IT + http://beefreeit.nl



On Tue, Mar 24, 2009 at 16:00, James Pifer  wrote:

On Mon, 2009-03-23 at 16:26 +0100, Michiel Beijen wrote:

> ** James,

>
> I saw a reference to 'lib64' in your error message.
>
> Please make sure that you use a 32-bit version of Java - the 7.1 API
> libs contain JNI and are not 100% 'pure' java.
>
> You could also use the 7.5 api libs, which are 100% java (assuming
> that your server is running 7.0.1 or newer).
>

Where can I get 7.5 api libs?


James




 



Re: Java API/ARS 7.1 question

2009-03-25 Thread Michiel Beijen
Well, obviously they are in the 'api' subdirectory from a 7.5 server...

The APIs used to be hosted as a separate download from http://arswiki.org -
Axton put them there. But since there was little user contribution to the
wiki (and axton is a busy guy) the last api's you'll find there are v7.1.

You can probably extract them easiest from the tarballs on the patch
download site of BMC.

Kind regards,
--
Michiel Beijen
Software Consultant
+31 6 - 457 42 418
Bee Free IT + http://beefreeit.nl


On Tue, Mar 24, 2009 at 16:00, James Pifer  wrote:

> On Mon, 2009-03-23 at 16:26 +0100, Michiel Beijen wrote:
> > ** James,
> >
> > I saw a reference to 'lib64' in your error message.
> >
> > Please make sure that you use a 32-bit version of Java - the 7.1 API
> > libs contain JNI and are not 100% 'pure' java.
> >
> > You could also use the 7.5 api libs, which are 100% java (assuming
> > that your server is running 7.0.1 or newer).
> >
>
> Where can I get 7.5 api libs?
>
> James
>
>
> ___
> UNSUBSCRIBE or access ARSlist Archives at www.arslist.org
> Platinum Sponsor: RMI Solutions ARSlist: "Where the Answers Are"
>

___
UNSUBSCRIBE or access ARSlist Archives at www.arslist.org
Platinum Sponsor: RMI Solutions ARSlist: "Where the Answers Are"


Re: Java API/ARS 7.1 question

2009-03-24 Thread James Pifer
On Mon, 2009-03-23 at 16:26 +0100, Michiel Beijen wrote:
> ** James,
> 
> I saw a reference to 'lib64' in your error message.
> 
> Please make sure that you use a 32-bit version of Java - the 7.1 API
> libs contain JNI and are not 100% 'pure' java. 
> 
> You could also use the 7.5 api libs, which are 100% java (assuming
> that your server is running 7.0.1 or newer). 
> 

Where can I get 7.5 api libs?

James

___
UNSUBSCRIBE or access ARSlist Archives at www.arslist.org
Platinum Sponsor: RMI Solutions ARSlist: "Where the Answers Are"


Re: Java API/ARS 7.1 question

2009-03-24 Thread Ben Chernys
Don't know what version we're using here.  You'll need to check the IBM docs
for that and use the version they tell you.  It doesn't matter what version
of the Gateway you use with respect to the Remedy API (as long as it is 5.12
or greater).

Cheers
Ben
www.softwaretoolhouse.com 

-Original Message-
From: Action Request System discussion list(ARSList)
[mailto:arsl...@arslist.org] On Behalf Of James Pifer
Sent: March 23, 2009 8:22 PM
To: arslist@ARSLIST.ORG
Subject: Re: Java API/ARS 7.1 question

My omnibus version is 3.6, can I use 7.0.1 gateway?

Thanks,
James

On Mon, 2009-03-23 at 15:59 +0100, Ben Chernys wrote:
> The NetCool GW works fine.  Just make sure you use the 7.0.1 version 
> AND you have the 7.0.1 .so files.
> Ben
> 
> -Original Message-
> From: Action Request System discussion list(ARSList) 
> [mailto:arsl...@arslist.org] On Behalf Of James Pifer
> Sent: March 23, 2009 4:45 PM
> To: arslist@ARSLIST.ORG
> Subject: Java API/ARS 7.1 question
> 
> I've had no luck getting IBM Netcol Gateway connected to ARS 7.1.
> Technically it's not supported, so I'm looking at other options. I'm 
> looking at creating tickets using Java API and then updating back to 
> Netcool using nco_sql.
> 
> ARS 7.1 is running on linux. From another linux machine I'm trying a 
> very simple java app using the API to just make a connection to my dev
server.
> I've downloaded the linux and windows 7.1 APIs and they are located in 
> /usr/ar/api/lib. That path is in my ?LD_LIBRARY_PATH:
> #echo $LD_LIBRARY_PATH
> /usr/lib64/gtk-2.0/modules:/usr/ar/api/lib
> 
> My app compiles ok, but when I try to run it I get:
> log4j:WARN No appenders could be found for logger 
> (com.bmc.arsys.api.Config).
> log4j:WARN Please initialize the log4j system properly.
> Exception in thread "main" java.lang.UnsatisfiedLinkError:
> com.bmc.arsys.api.Proxy.ARInitialization()J
> at com.bmc.arsys.api.Proxy.ARInitialization(Native Method)
> at com.bmc.arsys.api.Proxy.(Unknown Source)
> at com.bmc.arsys.api.ProxyJRpcBase.(Unknown Source)
> at com.bmc.arsys.api.ProxyJRpc.(Unknown Source)
> at com.bmc.arsys.api.ProxyManager.createProxy(Unknown Source)
> at com.bmc.arsys.api.ProxyPool.get(Unknown Source)
> at com.bmc.arsys.api.PoolingProxyManager.getProxy(Unknown Source)
> at com.bmc.arsys.api.ARServerUser.verifyUser(Unknown Source)
> at com.bmc.arsys.api.ARServerUser.login(Unknown Source)
> at VerifyRemedyLogin.main(VerifyRemedyLogin.java:19)
> 
> Anyone know what I'm missing?
> 
> Thanks,
> James
> 
> __
> __
> ___
> UNSUBSCRIBE or access ARSlist Archives at www.arslist.org Platinum
Sponsor:
> RMI Solutions ARSlist: "Where the Answers Are"
> 
> __
> _ UNSUBSCRIBE or access ARSlist Archives at www.arslist.org 
> Platinum Sponsor: RMI Solutions ARSlist: "Where the Answers Are"


___
UNSUBSCRIBE or access ARSlist Archives at www.arslist.org Platinum Sponsor:
RMI Solutions ARSlist: "Where the Answers Are"

___
UNSUBSCRIBE or access ARSlist Archives at www.arslist.org
Platinum Sponsor: RMI Solutions ARSlist: "Where the Answers Are"


Re: Java API/ARS 7.1 question

2009-03-23 Thread James Pifer
Yes, I switched to 32 bit java and it is working. 

I will look at 7.5 api too. 

Thanks,
James

On Mon, 2009-03-23 at 16:26 +0100, Michiel Beijen wrote:
> ** James,
> 
> I saw a reference to 'lib64' in your error message.
> 
> Please make sure that you use a 32-bit version of Java - the 7.1 API
> libs contain JNI and are not 100% 'pure' java. 
> 
> You could also use the 7.5 api libs, which are 100% java (assuming
> that your server is running 7.0.1 or newer). 
> 
> Kind regards,
> --
> Michiel Beijen
> Software Consultant
> +31 6 - 457 42 418
> Bee Free IT + http://beefreeit.nl
> 
> 
> On Mon, Mar 23, 2009 at 16:45, James Pifer 
> wrote:
> I've had no luck getting IBM Netcol Gateway connected to ARS
> 7.1.
> Technically it's not supported, so I'm looking at other
> options. I'm
> looking at creating tickets using Java API and then updating
> back to
> Netcool using nco_sql.
> 
> ARS 7.1 is running on linux. From another linux machine I'm
> trying a
> very simple java app using the API to just make a connection
> to my dev
> server. I've downloaded the linux and windows 7.1 APIs and
> they are
> located in /usr/ar/api/lib. That path is in
> my LD_LIBRARY_PATH:
> #echo $LD_LIBRARY_PATH
> /usr/lib64/gtk-2.0/modules:/usr/ar/api/lib
> 
> My app compiles ok, but when I try to run it I get:
> log4j:WARN No appenders could be found for logger
> (com.bmc.arsys.api.Config).
> log4j:WARN Please initialize the log4j system properly.
> Exception in thread "main" java.lang.UnsatisfiedLinkError:
> com.bmc.arsys.api.Proxy.ARInitialization()J
>at com.bmc.arsys.api.Proxy.ARInitialization(Native
> Method)
>at com.bmc.arsys.api.Proxy.(Unknown Source)
>at com.bmc.arsys.api.ProxyJRpcBase.(Unknown
> Source)
>at com.bmc.arsys.api.ProxyJRpc.(Unknown Source)
>at com.bmc.arsys.api.ProxyManager.createProxy(Unknown
> Source)
>at com.bmc.arsys.api.ProxyPool.get(Unknown Source)
>at
> com.bmc.arsys.api.PoolingProxyManager.getProxy(Unknown Source)
>at com.bmc.arsys.api.ARServerUser.verifyUser(Unknown
> Source)
>at com.bmc.arsys.api.ARServerUser.login(Unknown Source)
>at VerifyRemedyLogin.main(VerifyRemedyLogin.java:19)
> 
> Anyone know what I'm missing?
> 
> Thanks,
> James
> 
> 
> ___
> UNSUBSCRIBE or access ARSlist Archives at www.arslist.org
> Platinum Sponsor: RMI Solutions ARSlist: "Where the Answers
> Are"
> 
> __Platinum Sponsor: RMI Solutions ARSlist: "Where the Answers Are"
> html___

___
UNSUBSCRIBE or access ARSlist Archives at www.arslist.org
Platinum Sponsor: RMI Solutions ARSlist: "Where the Answers Are"


Re: Java API/ARS 7.1 question

2009-03-23 Thread James Pifer
My omnibus version is 3.6, can I use 7.0.1 gateway?

Thanks,
James

On Mon, 2009-03-23 at 15:59 +0100, Ben Chernys wrote:
> The NetCool GW works fine.  Just make sure you use the 7.0.1 version AND you
> have the 7.0.1 .so files.
> Ben 
> 
> -Original Message-
> From: Action Request System discussion list(ARSList)
> [mailto:arsl...@arslist.org] On Behalf Of James Pifer
> Sent: March 23, 2009 4:45 PM
> To: arslist@ARSLIST.ORG
> Subject: Java API/ARS 7.1 question
> 
> I've had no luck getting IBM Netcol Gateway connected to ARS 7.1.
> Technically it's not supported, so I'm looking at other options. I'm looking
> at creating tickets using Java API and then updating back to Netcool using
> nco_sql. 
> 
> ARS 7.1 is running on linux. From another linux machine I'm trying a very
> simple java app using the API to just make a connection to my dev server.
> I've downloaded the linux and windows 7.1 APIs and they are located in
> /usr/ar/api/lib. That path is in my ?LD_LIBRARY_PATH:
> #echo $LD_LIBRARY_PATH
> /usr/lib64/gtk-2.0/modules:/usr/ar/api/lib
> 
> My app compiles ok, but when I try to run it I get:
> log4j:WARN No appenders could be found for logger
> (com.bmc.arsys.api.Config).
> log4j:WARN Please initialize the log4j system properly.
> Exception in thread "main" java.lang.UnsatisfiedLinkError:
> com.bmc.arsys.api.Proxy.ARInitialization()J
> at com.bmc.arsys.api.Proxy.ARInitialization(Native Method)
> at com.bmc.arsys.api.Proxy.(Unknown Source)
> at com.bmc.arsys.api.ProxyJRpcBase.(Unknown Source)
> at com.bmc.arsys.api.ProxyJRpc.(Unknown Source)
> at com.bmc.arsys.api.ProxyManager.createProxy(Unknown Source)
> at com.bmc.arsys.api.ProxyPool.get(Unknown Source)
> at com.bmc.arsys.api.PoolingProxyManager.getProxy(Unknown Source)
> at com.bmc.arsys.api.ARServerUser.verifyUser(Unknown Source)
> at com.bmc.arsys.api.ARServerUser.login(Unknown Source)
> at VerifyRemedyLogin.main(VerifyRemedyLogin.java:19)
> 
> Anyone know what I'm missing?
> 
> Thanks,
> James
> 
> 
> ___
> UNSUBSCRIBE or access ARSlist Archives at www.arslist.org Platinum Sponsor:
> RMI Solutions ARSlist: "Where the Answers Are"
> 
> ___
> UNSUBSCRIBE or access ARSlist Archives at www.arslist.org
> Platinum Sponsor: RMI Solutions ARSlist: "Where the Answers Are"

___
UNSUBSCRIBE or access ARSlist Archives at www.arslist.org
Platinum Sponsor: RMI Solutions ARSlist: "Where the Answers Are"


Re: Java API/ARS 7.1 question

2009-03-23 Thread Ravi

To get rid of those WARN messages, based on one of the previous responses

"You should find a file laying around your API named log4j.xml.  Simply put
that in the same dir as your class files and you won't get that error
anymore. "


James Pifer wrote:

I've had no luck getting IBM Netcol Gateway connected to ARS 7.1.
Technically it's not supported, so I'm looking at other options. I'm
looking at creating tickets using Java API and then updating back to
Netcool using nco_sql. 


ARS 7.1 is running on linux. From another linux machine I'm trying a
very simple java app using the API to just make a connection to my dev
server. I've downloaded the linux and windows 7.1 APIs and they are
located in /usr/ar/api/lib. That path is in my LD_LIBRARY_PATH:
#echo $LD_LIBRARY_PATH
/usr/lib64/gtk-2.0/modules:/usr/ar/api/lib

My app compiles ok, but when I try to run it I get:
log4j:WARN No appenders could be found for logger (com.bmc.arsys.api.Config).
log4j:WARN Please initialize the log4j system properly.
Exception in thread "main" java.lang.UnsatisfiedLinkError: 
com.bmc.arsys.api.Proxy.ARInitialization()J
at com.bmc.arsys.api.Proxy.ARInitialization(Native Method)
at com.bmc.arsys.api.Proxy.(Unknown Source)
at com.bmc.arsys.api.ProxyJRpcBase.(Unknown Source)
at com.bmc.arsys.api.ProxyJRpc.(Unknown Source)
at com.bmc.arsys.api.ProxyManager.createProxy(Unknown Source)
at com.bmc.arsys.api.ProxyPool.get(Unknown Source)
at com.bmc.arsys.api.PoolingProxyManager.getProxy(Unknown Source)
at com.bmc.arsys.api.ARServerUser.verifyUser(Unknown Source)
at com.bmc.arsys.api.ARServerUser.login(Unknown Source)
at VerifyRemedyLogin.main(VerifyRemedyLogin.java:19)

Anyone know what I'm missing?

Thanks,
James

___
UNSUBSCRIBE or access ARSlist Archives at www.arslist.org
Platinum Sponsor: RMI Solutions ARSlist: "Where the Answers Are"


  



--
Thank you,
RaVi

___
UNSUBSCRIBE or access ARSlist Archives at www.arslist.org
Platinum Sponsor: RMI Solutions ARSlist: "Where the Answers Are"


Re: Java API/ARS 7.1 question

2009-03-23 Thread Axton
Make sure your LD_LIBRARY_PATH includes /usr/ar/bin.  The libraries in
./api/lib are dependent on libraries in ./bin.  You can check the
dependancies using ldd.  E.g.,

$ ldd /usr/ar/api/lib/arapi71.so

Axton Grams

On Mon, Mar 23, 2009 at 10:45 AM, James Pifer  wrote:

> I've had no luck getting IBM Netcol Gateway connected to ARS 7.1.
> Technically it's not supported, so I'm looking at other options. I'm
> looking at creating tickets using Java API and then updating back to
> Netcool using nco_sql.
>
> ARS 7.1 is running on linux. From another linux machine I'm trying a
> very simple java app using the API to just make a connection to my dev
> server. I've downloaded the linux and windows 7.1 APIs and they are
> located in /usr/ar/api/lib. That path is in my LD_LIBRARY_PATH:
> #echo $LD_LIBRARY_PATH
> /usr/lib64/gtk-2.0/modules:/usr/ar/api/lib
>
> My app compiles ok, but when I try to run it I get:
> log4j:WARN No appenders could be found for logger
> (com.bmc.arsys.api.Config).
> log4j:WARN Please initialize the log4j system properly.
> Exception in thread "main" java.lang.UnsatisfiedLinkError:
> com.bmc.arsys.api.Proxy.ARInitialization()J
>at com.bmc.arsys.api.Proxy.ARInitialization(Native Method)
>at com.bmc.arsys.api.Proxy.(Unknown Source)
>at com.bmc.arsys.api.ProxyJRpcBase.(Unknown Source)
>at com.bmc.arsys.api.ProxyJRpc.(Unknown Source)
>at com.bmc.arsys.api.ProxyManager.createProxy(Unknown Source)
>at com.bmc.arsys.api.ProxyPool.get(Unknown Source)
>at com.bmc.arsys.api.PoolingProxyManager.getProxy(Unknown Source)
>at com.bmc.arsys.api.ARServerUser.verifyUser(Unknown Source)
>at com.bmc.arsys.api.ARServerUser.login(Unknown Source)
>at VerifyRemedyLogin.main(VerifyRemedyLogin.java:19)
>
> Anyone know what I'm missing?
>
> Thanks,
> James
>
>
> ___
> UNSUBSCRIBE or access ARSlist Archives at www.arslist.org
> Platinum Sponsor: RMI Solutions ARSlist: "Where the Answers Are"
>

___
UNSUBSCRIBE or access ARSlist Archives at www.arslist.org
Platinum Sponsor: RMI Solutions ARSlist: "Where the Answers Are"


Re: Java API/ARS 7.1 question

2009-03-23 Thread Michiel Beijen
James,

I saw a reference to 'lib64' in your error message.

Please make sure that you use a 32-bit version of Java - the 7.1 API libs
contain JNI and are not 100% 'pure' java.

You could also use the 7.5 api libs, which are 100% java (assuming that your
server is running 7.0.1 or newer).

Kind regards,
--
Michiel Beijen
Software Consultant
+31 6 - 457 42 418
Bee Free IT + http://beefreeit.nl


On Mon, Mar 23, 2009 at 16:45, James Pifer  wrote:

> I've had no luck getting IBM Netcol Gateway connected to ARS 7.1.
> Technically it's not supported, so I'm looking at other options. I'm
> looking at creating tickets using Java API and then updating back to
> Netcool using nco_sql.
>
> ARS 7.1 is running on linux. From another linux machine I'm trying a
> very simple java app using the API to just make a connection to my dev
> server. I've downloaded the linux and windows 7.1 APIs and they are
> located in /usr/ar/api/lib. That path is in my LD_LIBRARY_PATH:
> #echo $LD_LIBRARY_PATH
> /usr/lib64/gtk-2.0/modules:/usr/ar/api/lib
>
> My app compiles ok, but when I try to run it I get:
> log4j:WARN No appenders could be found for logger
> (com.bmc.arsys.api.Config).
> log4j:WARN Please initialize the log4j system properly.
> Exception in thread "main" java.lang.UnsatisfiedLinkError:
> com.bmc.arsys.api.Proxy.ARInitialization()J
>at com.bmc.arsys.api.Proxy.ARInitialization(Native Method)
>at com.bmc.arsys.api.Proxy.(Unknown Source)
>at com.bmc.arsys.api.ProxyJRpcBase.(Unknown Source)
>at com.bmc.arsys.api.ProxyJRpc.(Unknown Source)
>at com.bmc.arsys.api.ProxyManager.createProxy(Unknown Source)
>at com.bmc.arsys.api.ProxyPool.get(Unknown Source)
>at com.bmc.arsys.api.PoolingProxyManager.getProxy(Unknown Source)
>at com.bmc.arsys.api.ARServerUser.verifyUser(Unknown Source)
>at com.bmc.arsys.api.ARServerUser.login(Unknown Source)
>at VerifyRemedyLogin.main(VerifyRemedyLogin.java:19)
>
> Anyone know what I'm missing?
>
> Thanks,
> James
>
>
> ___
> UNSUBSCRIBE or access ARSlist Archives at www.arslist.org
> Platinum Sponsor: RMI Solutions ARSlist: "Where the Answers Are"
>

___
UNSUBSCRIBE or access ARSlist Archives at www.arslist.org
Platinum Sponsor: RMI Solutions ARSlist: "Where the Answers Are"


Re: Java API/ARS 7.1 question

2009-03-23 Thread Ben Chernys
The NetCool GW works fine.  Just make sure you use the 7.0.1 version AND you
have the 7.0.1 .so files.
Ben 

-Original Message-
From: Action Request System discussion list(ARSList)
[mailto:arsl...@arslist.org] On Behalf Of James Pifer
Sent: March 23, 2009 4:45 PM
To: arslist@ARSLIST.ORG
Subject: Java API/ARS 7.1 question

I've had no luck getting IBM Netcol Gateway connected to ARS 7.1.
Technically it's not supported, so I'm looking at other options. I'm looking
at creating tickets using Java API and then updating back to Netcool using
nco_sql. 

ARS 7.1 is running on linux. From another linux machine I'm trying a very
simple java app using the API to just make a connection to my dev server.
I've downloaded the linux and windows 7.1 APIs and they are located in
/usr/ar/api/lib. That path is in my ?LD_LIBRARY_PATH:
#echo $LD_LIBRARY_PATH
/usr/lib64/gtk-2.0/modules:/usr/ar/api/lib

My app compiles ok, but when I try to run it I get:
log4j:WARN No appenders could be found for logger
(com.bmc.arsys.api.Config).
log4j:WARN Please initialize the log4j system properly.
Exception in thread "main" java.lang.UnsatisfiedLinkError:
com.bmc.arsys.api.Proxy.ARInitialization()J
at com.bmc.arsys.api.Proxy.ARInitialization(Native Method)
at com.bmc.arsys.api.Proxy.(Unknown Source)
at com.bmc.arsys.api.ProxyJRpcBase.(Unknown Source)
at com.bmc.arsys.api.ProxyJRpc.(Unknown Source)
at com.bmc.arsys.api.ProxyManager.createProxy(Unknown Source)
at com.bmc.arsys.api.ProxyPool.get(Unknown Source)
at com.bmc.arsys.api.PoolingProxyManager.getProxy(Unknown Source)
at com.bmc.arsys.api.ARServerUser.verifyUser(Unknown Source)
at com.bmc.arsys.api.ARServerUser.login(Unknown Source)
at VerifyRemedyLogin.main(VerifyRemedyLogin.java:19)

Anyone know what I'm missing?

Thanks,
James


___
UNSUBSCRIBE or access ARSlist Archives at www.arslist.org Platinum Sponsor:
RMI Solutions ARSlist: "Where the Answers Are"

___
UNSUBSCRIBE or access ARSlist Archives at www.arslist.org
Platinum Sponsor: RMI Solutions ARSlist: "Where the Answers Are"