Java API question - how to save a filter
Java ARS API 7.6 Any idea how to save a filter…. f = user.getFilter(SomeSampleFilter) f.setHelpText(John was here) f.save ??? f.commit ??? f. I looked through the docs -- couldn't find anything …. I may have totally missed it. ??? -John -- *John Sundberg* Kinetic Data, Inc. Your Business. Your Process. *WWRUG10 Best Customer Service/Support Award* *WWRUG09 Innovator of the Year Award* * * 651-556-0930 I john.sundb...@kineticdata.com www.kineticdata.com I community.kineticdata.com ___ UNSUBSCRIBE or access ARSlist Archives at www.arslist.org attend wwrug12 www.wwrug12.com ARSList: Where the Answers Are
Re: Java API question - how to save a filter
(Found my own answer) -- actually - walked away from the computer -- did some dishes -- then thought uggg - the user needs to save it -- not the filter itself… Often the best way to solve a problem - is to walk away from the computer. My wife would say -- would be to do some dishes :) user.setFilter(f) UG -- sorry for the wasted post. -John On Sat, Apr 7, 2012 at 4:10 PM, John Sundberg john.sundb...@kineticdata.com wrote: Java ARS API 7.6 Any idea how to save a filter…. f = user.getFilter(SomeSampleFilter) f.setHelpText(John was here) f.save ??? f.commit ??? f. I looked through the docs -- couldn't find anything …. I may have totally missed it. ??? -John -- *John Sundberg* Kinetic Data, Inc. Your Business. Your Process. *WWRUG10 Best Customer Service/Support Award* *WWRUG09 Innovator of the Year Award* * * 651-556-0930 I john.sundb...@kineticdata.com www.kineticdata.com I community.kineticdata.com -- *John Sundberg* Kinetic Data, Inc. Your Business. Your Process. *WWRUG10 Best Customer Service/Support Award* *WWRUG09 Innovator of the Year Award* * * 651-556-0930 I john.sundb...@kineticdata.com www.kineticdata.com I community.kineticdata.com ___ UNSUBSCRIBE or access ARSlist Archives at www.arslist.org attend wwrug12 www.wwrug12.com ARSList: Where the Answers Are
Java API Question
Hi All, I'm trying to get started using the Java API and am running into something I don't understand. I have the following code that simply queries CMT:People for everybody that has Unrestricted Access: ARServerUser srv = new ARServerUser(user, password, null, server, port); try { srv.login(); int fields[] = {1, 4}; OutputInteger nMatches = new OutputInteger(); ListEntry entries = srv.getListEntryObjects(CTM:People, srv.decodeQualification('Unrestricted Access' != $NULL$), 0, 0, null, fields, false, nMatches); if ( nMatches.intValue() 0 ) { for (Entry entry : entries) { String id = entry.getEntryId(); String str = entry.toString(); } } } catch (ARException e) { e.printStackTrace(); } The code compiles fine and runs but throws an exception when it tries to decode the qualification string. I get the following error: ERROR (402): Incorrect format in the definition file; (missing cond op -- 'Unrestricted Access' != $NULL$) If I understand correctly, the qualification shouldn't need a conditional operator, a relational operator should be just fine. If I remove the qualification and simply pass null, it works without any errors. Has anyone seen this error before and have an idea of what I might be doing wrong or missing? Let me know if I need to provide more information. Thanks, Lyle Taylor NOTICE: This email message is for the sole use of the intended recipient(s) and may contain confidential and privileged information. Any unauthorized review, use, disclosure or distribution is prohibited. If you are not the intended recipient, please contact the sender by reply email and destroy all copies of the original message. ___ UNSUBSCRIBE or access ARSlist Archives at www.arslist.org Platinum Sponsor: RMI Solutions ARSlist: Where the Answers Are
Re: Java API Question
http://www.mail-archive.com/arslist@arslist.org/msg26634.html 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 Wed, Jan 28, 2009 at 12:00 AM, Lyle Taylor tayl...@ldschurch.org wrote: ** Hi All, I'm trying to get started using the Java API and am running into something I don't understand. I have the following code that simply queries CMT:People for everybody that has Unrestricted Access: ARServerUser srv = *new* ARServerUser(user, password, * null*, server, port); *try* { srv.login(); *int* fields[] = {1, 4}; OutputInteger nMatches = *new* OutputInteger(); ListEntry entries = srv.getListEntryObjects( CTM:People, srv.decodeQualification('Unrestricted Access' != $NULL$), 0, 0, *null*, fields, *false*, nMatches); *if* ( nMatches.intValue() 0 ) { *for* (Entry entry : entries) { String *id* = entry.getEntryId(); String *str* = entry.toString(); } } } *catch* (ARException e) { e.printStackTrace(); } The code compiles fine and runs but throws an exception when it tries to decode the qualification string. I get the following error: ERROR (402): Incorrect format in the definition file; (missing cond op -- 'Unrestricted Access' != $NULL$) If I understand correctly, the qualification shouldn't need a conditional operator, a relational operator should be just fine. If I remove the qualification and simply pass null, it works without any errors. Has anyone seen this error before and have an idea of what I might be doing wrong or missing? Let me know if I need to provide more information. Thanks, Lyle Taylor NOTICE: This email message is for the sole use of the intended recipient(s) and may contain confidential and privileged information. Any unauthorized review, use, disclosure or distribution is prohibited. If you are not the intended recipient, please contact the sender by reply email and destroy all copies of the original message. __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 Question
Excellent! Thanks. Switching to parseQualification rather than decodeQualification fixed it. Thanks, Lyle From: Action Request System discussion list(ARSList) [mailto:arsl...@arslist.org] On Behalf Of Axton Sent: Tuesday, January 27, 2009 11:49 AM To: arslist@ARSLIST.ORG Subject: Re: Java API Question ** http://www.mail-archive.com/arslist@arslist.org/msg26634.html 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 Wed, Jan 28, 2009 at 12:00 AM, Lyle Taylor tayl...@ldschurch.orgmailto:tayl...@ldschurch.org wrote: ** Hi All, I'm trying to get started using the Java API and am running into something I don't understand. I have the following code that simply queries CMT:People for everybody that has Unrestricted Access: ARServerUser srv = new ARServerUser(user, password, null, server, port); try { srv.login(); int fields[] = {1, 4}; OutputInteger nMatches = new OutputInteger(); ListEntry entries = srv.getListEntryObjects(CTM:People, srv.decodeQualification('Unrestricted Access' != $NULL$), 0, 0, null, fields, false, nMatches); if ( nMatches.intValue() 0 ) { for (Entry entry : entries) { String id = entry.getEntryId(); String str = entry.toString(); } } } catch (ARException e) { e.printStackTrace(); } The code compiles fine and runs but throws an exception when it tries to decode the qualification string. I get the following error: ERROR (402): Incorrect format in the definition file; (missing cond op -- 'Unrestricted Access' != $NULL$) If I understand correctly, the qualification shouldn't need a conditional operator, a relational operator should be just fine. If I remove the qualification and simply pass null, it works without any errors. Has anyone seen this error before and have an idea of what I might be doing wrong or missing? Let me know if I need to provide more information. Thanks, Lyle Taylor NOTICE: This email message is for the sole use of the intended recipient(s) and may contain confidential and privileged information. Any unauthorized review, use, disclosure or distribution is prohibited. If you are not the intended recipient, please contact the sender by reply email and destroy all copies of the original message. __Platinum Sponsor: RMI Solutions ARSlist: Where the Answers Are html___ __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 Question
I agree with Axton...you are likely looking for parseQualification, not decode http://arswiki.org/dist/ars/docs/ARS/7.1/com/bmc/arsys/api/ARServerUser.html #parseQualification(java.lang.String,%20java.lang.String) _ From: Action Request System discussion list(ARSList) [mailto:arsl...@arslist.org] On Behalf Of Lyle Taylor Sent: Tuesday, January 27, 2009 11:30 AM To: arslist@ARSLIST.ORG Subject: Java API Question ** Hi All, I'm trying to get started using the Java API and am running into something I don't understand. I have the following code that simply queries CMT:People for everybody that has Unrestricted Access: ARServerUser srv = new ARServerUser(user, password, null, server, port); try { srv.login(); int fields[] = {1, 4}; OutputInteger nMatches = new OutputInteger(); ListEntry entries = srv.getListEntryObjects(CTM:People, srv.decodeQualification('Unrestricted Access' != $NULL$), 0, 0, null, fields, false, nMatches); if ( nMatches.intValue() 0 ) { for (Entry entry : entries) { String id = entry.getEntryId(); String str = entry.toString(); } } } catch (ARException e) { e.printStackTrace(); } The code compiles fine and runs but throws an exception when it tries to decode the qualification string. I get the following error: ERROR (402): Incorrect format in the definition file; (missing cond op -- 'Unrestricted Access' != $NULL$) If I understand correctly, the qualification shouldn't need a conditional operator, a relational operator should be just fine. If I remove the qualification and simply pass null, it works without any errors. Has anyone seen this error before and have an idea of what I might be doing wrong or missing? Let me know if I need to provide more information. Thanks, Lyle Taylor NOTICE: This email message is for the sole use of the intended recipient(s) and may contain confidential and privileged information. Any unauthorized review, use, disclosure or distribution is prohibited. If you are not the intended recipient, please contact the sender by reply email and destroy all copies of the original message. __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
Java API Question
I'm using the 7.1 Java API to create a new field on a form. Be All: I'm using the 7.1 Java API to create a new field on a form. Before creating the field, I'd like to make sure a field with the same Field ID does not already exist. I found the isPresent() method of the Field object in the javadocs, but since a generic Field cannot be instantiated (must use CharacterField or IntegerField, etc), how do I use isPresent() to check for any type existing field with a given Field ID? Do I have to first check for an AttachmentField, then check for an AttachmentPoolField, then check for a CharacterField, etc? Sorry if this is a dumb question -- I'm new at this OO programming stuff. TIA, --Phil ___ UNSUBSCRIBE or access ARSlist Archives at www.arslist.org Platinum Sponsor: www.rmsportal.com ARSlist: Where the Answers Are
Re: Java API Question
It is probably not necessary to check beforehand if a field with the same ID doesn't exist. If it does, the create function should fail and throw an exception (most likely ARERR 407, Duplicate field or VUI-ID in the definition), which your program then might catch and handle somehow. Regards, Thilo Stapff Phil Murnane wrote: I'm using the 7.1 Java API to create a new field on a form. Be All: I'm using the 7.1 Java API to create a new field on a form. Before creating the field, I'd like to make sure a field with the same Field ID does not already exist. I found the isPresent() method of the Field object in the javadocs, but since a generic Field cannot be instantiated (must use CharacterField or IntegerField, etc), how do I use isPresent() to check for any type existing field with a given Field ID? Do I have to first check for an AttachmentField, then check for an AttachmentPoolField, then check for a CharacterField, etc? Sorry if this is a dumb question -- I'm new at this OO programming stuff. TIA, --Phil ___ UNSUBSCRIBE or access ARSlist Archives at www.arslist.org Platinum Sponsor: www.rmsportal.com ARSlist: Where the Answers Are ___ UNSUBSCRIBE or access ARSlist Archives at www.arslist.org Platinum Sponsor: www.rmsportal.com ARSlist: Where the Answers Are
Re: Java API Question
Phil, I think your looking in the wrong class... com.bmc.arsys.api.ARServerUser.getField(String form, int fieldId) In this case I think you want the getField to throw an com.bmc.arsys.api.ARException ( if object is not loaded) then you add the field you want in the catch block. :) HTH. -- Carey Matthew Black Remedy Skilled Professional (RSP) ARS = Action Request System(Remedy) Love, then teach Solution = People + Process + Tools Fast, Accurate, Cheap Pick two. On Mon, Nov 24, 2008 at 12:12 PM, Phil Murnane [EMAIL PROTECTED] wrote: I'm using the 7.1 Java API to create a new field on a form. Be All: I'm using the 7.1 Java API to create a new field on a form. Before creating the field, I'd like to make sure a field with the same Field ID does not already exist. I found the isPresent() method of the Field object in the javadocs, but since a generic Field cannot be instantiated (must use CharacterField or IntegerField, etc), how do I use isPresent() to check for any type existing field with a given Field ID? Do I have to first check for an AttachmentField, then check for an AttachmentPoolField, then check for a CharacterField, etc? Sorry if this is a dumb question -- I'm new at this OO programming stuff. TIA, --Phil ___ UNSUBSCRIBE or access ARSlist Archives at www.arslist.org Platinum Sponsor: www.rmsportal.com ARSlist: Where the Answers Are
Re: Java API Question
If you would like to get a list of existing Field ID's on a form you want to look to your ARServerUser object and use the method getListField. You would want to use the form and the constant Constants.AR_FIELD_TYPE_ALL leaving the 3rd parameter either non existent, or set it to 0 -Original Message- From: Action Request System discussion list(ARSList) [mailto:[EMAIL PROTECTED] On Behalf Of Phil Murnane Sent: Monday, November 24, 2008 10:12 AM To: arslist@ARSLIST.ORG Subject: Java API Question I'm using the 7.1 Java API to create a new field on a form. Be All: I'm using the 7.1 Java API to create a new field on a form. Before creating the field, I'd like to make sure a field with the same Field ID does not already exist. I found the isPresent() method of the Field object in the javadocs, but since a generic Field cannot be instantiated (must use CharacterField or IntegerField, etc), how do I use isPresent() to check for any type existing field with a given Field ID? Do I have to first check for an AttachmentField, then check for an AttachmentPoolField, then check for a CharacterField, etc? Sorry if this is a dumb question -- I'm new at this OO programming stuff. TIA, --Phil ___ UNSUBSCRIBE or access ARSlist Archives at www.arslist.org Platinum Sponsor: www.rmsportal.com ARSlist: Where the Answers Are ___ UNSUBSCRIBE or access ARSlist Archives at www.arslist.org Platinum Sponsor: www.rmsportal.com ARSlist: Where the Answers Are
Resolved: Java API Question
Thanks, everyone, for your suggestions. I think I'll go with trapping the error off a getField() call. Thanks Again, --Phil - Original Message From: LJ Longwing [EMAIL PROTECTED] To: arslist@ARSLIST.ORG Sent: Monday, November 24, 2008 10:54:27 AM Subject: Re: Java API Question If you would like to get a list of existing Field ID's on a form you want to look to your ARServerUser object and use the method getListField. You would want to use the form and the constant Constants.AR_FIELD_TYPE_ALL leaving the 3rd parameter either non existent, or set it to 0 -Original Message- From: Action Request System discussion list(ARSList) [mailto:[EMAIL PROTECTED] On Behalf Of Phil Murnane Sent: Monday, November 24, 2008 10:12 AM To: arslist@ARSLIST.ORG Subject: Java API Question I'm using the 7.1 Java API to create a new field on a form. Be All: I'm using the 7.1 Java API to create a new field on a form. Before creating the field, I'd like to make sure a field with the same Field ID does not already exist. I found the isPresent() method of the Field object in the javadocs, but since a generic Field cannot be instantiated (must use CharacterField or IntegerField, etc), how do I use isPresent() to check for any type existing field with a given Field ID? Do I have to first check for an AttachmentField, then check for an AttachmentPoolField, then check for a CharacterField, etc? Sorry if this is a dumb question -- I'm new at this OO programming stuff. TIA, --Phil ___ UNSUBSCRIBE or access ARSlist Archives at www.arslist.org Platinum Sponsor: www.rmsportal.com ARSlist: Where the Answers Are ___ UNSUBSCRIBE or access ARSlist Archives at www.arslist.org Platinum Sponsor: www.rmsportal.com ARSlist: Where the Answers Are ___ UNSUBSCRIBE or access ARSlist Archives at www.arslist.org Platinum Sponsor: www.rmsportal.com ARSlist: Where the Answers Are
Resolved: Remedy JAVA api question
You hit the nail on the head. When the OS was upgraded, the JVM was also upgraded to 64 bit. Our infrastructure group is really pushing 64 bit, especially the WebSphere folks. With everything headed in that general direction, I sure hope BMC starts releasing 64bit native server code. Thanks for the help! Matt From: Action Request System discussion list(ARSList) [mailto:[EMAIL PROTECTED] On Behalf Of Axton Sent: Tuesday, April 01, 2008 8:32 PM To: arslist@ARSLIST.ORG Subject: Re: FW: Remedy JAVA api question ** Try using a 32-bit jvm. I am not positive on this, but loading 32-bit native libraries using a 64-bit jvm may be the source of your invalid magic number error. I believe the compatiblity matrix for mid-tier, fb, email, etc. all state that you must use a 32-bit jvm, I assume for this reason. http://www.ibm.com/developerworks/java/jdk/aix/j564/sdkguide.aix64.html Axton Grams On Tue, Apr 1, 2008 at 4:01 PM, Matthew Kunkel [EMAIL PROTECTED] wrote: ** It's a 64 bit binary. I was thinking that the ld_library_path was wrong, but it does indeed reference the directory containing the ..a's $ file /u/applic/wsadmin/WAS61/AppServer/java/bin/java /u/applic/wsadmin/WAS61/AppServer/java/bin/java: 64-bit XCOFF executable or object module not stripped I apologize about the confusion earlier. For some reason I have it in my head this is on another platform, but it's AIX all the way. Thanks, Matt From: Action Request System discussion list(ARSList) [mailto:[EMAIL PROTECTED] On Behalf Of Axton Sent: Tuesday, April 01, 2008 1:04 PM To: arslist@ARSLIST.ORG Subject: Re: FW: Remedy JAVA api question ** If you run file against the java binary, what do you get back? e.g., [EMAIL PROTECTED] c]$ which java /usr/bin/java [EMAIL PROTECTED] c]$ file /usr/bin/java /usr/bin/java: ELF 32-bit MSB executable SPARC Version 1, dynamically linked, stripped Axton Grams On Tue, Apr 1, 2008 at 11:29 AM, Matthew Kunkel [EMAIL PROTECTED] wrote: ** Correction: The first line should have read: We're getting the error below when trying to use the JAVA api on an AIX platform. I originally thought it was windows, so I keep getting the process confused. The whole app runs on a 64 bit AIX platform, no windows. Thanks, Matt From: Matthew Kunkel Sent: Tuesday, April 01, 2008 9:46 AM To: 'arslist@ARSLIST.ORG' Subject: Remedy JAVA api question List, We're getting the error below when trying to use the JAVA api on a windows platform. This particular program is running on AIX, whereas I'm most familiar with HP-UX. I've googled the error and can't seem to find anything. We get the same result on both the 6.3 and 7.0 versions of the API. Any help is appreciated. Caused by: java.lang.UnsatisfiedLinkError: /u/applic/Remedy/libarjni70.a (0509-022 Cannot load module /u/applic/Remedy/libarjni70.a. 0509-103 The module has an invalid magic number.) at com.ibm.ws.tcp.channel.impl.NewConnectionInitialReadCallback.complete(Ne wConnectionInitialReadCallback.java:113) at com.ibm.ws.tcp.channel.impl.AioReadCompletionListener.futureCompleted(Ai oReadCompletionListener.java:165) at com.ibm.io.async.AbstractAsyncFuture.invokeCallback(AbstractAsyncFuture. java:217) at com.ibm.io.async.AsyncChannelFuture.fireCompletionActions(AsyncChannelFu ture.java:161) at com.ibm.io.async.AsyncFuture.completed(AsyncFuture.java:136) at com.ibm.io.async.ResultHandler.complete(ResultHandler.java:195) at com.ibm.io.async.ResultHandler.runEventProcessingLoop(ResultHandler.java :743) at com.ibm.io.async.ResultHandler$2.run(ResultHandler.java:873) at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1469) Thanks, Matt ** This email and any files transmitted with it are confidential and intended solely for the individual or entity to whom they are addressed. If you have received this email in error destroy it immediately. ** Wal-Mart Confidential
Re: Resolved: Remedy JAVA api question
If they remove all native stuff (jni) from the java api and refactor all the existing code (email, fb, mid-tier, etc.) with 7.5, you will be there. It is my understanding that the native stuff will be gone, but I've not heard anything about refactoring the existing apps. With mid-tier 7.1, the older jni stuff (7.0.1) is included in the war, but who knows with the next release. Axton Grams On Thu, Apr 3, 2008 at 5:30 PM, Matthew Kunkel [EMAIL PROTECTED] wrote: ** You hit the nail on the head. When the OS was upgraded, the JVM was also upgraded to 64 bit. Our infrastructure group is really pushing 64 bit, especially the WebSphere folks. With everything headed in that general direction, I sure hope BMC starts releasing 64bit native server code. Thanks for the help! Matt -- *From:* Action Request System discussion list(ARSList) [mailto: [EMAIL PROTECTED] *On Behalf Of *Axton *Sent:* Tuesday, April 01, 2008 8:32 PM *To:* arslist@ARSLIST.ORG *Subject:* Re: FW: Remedy JAVA api question ** Try using a 32-bit jvm. I am not positive on this, but loading 32-bit native libraries using a 64-bit jvm may be the source of your invalid magic number error. I believe the compatiblity matrix for mid-tier, fb, email, etc. all state that you must use a 32-bit jvm, I assume for this reason. http://www.ibm.com/developerworks/java/jdk/aix/j564/sdkguide.aix64.html Axton Grams On Tue, Apr 1, 2008 at 4:01 PM, Matthew Kunkel [EMAIL PROTECTED] wrote: ** It's a 64 bit binary. I was thinking that the ld_library_path was wrong, but it does indeed reference the directory containing the ..a's $ file /u/applic/wsadmin/WAS61/AppServer/java/bin/java /u/applic/wsadmin/WAS61/AppServer/java/bin/java: 64-bit XCOFF executable or object module not stripped I apologize about the confusion earlier. For some reason I have it in my head this is on another platform, but it's AIX all the way. Thanks, Matt -- *From:* Action Request System discussion list(ARSList) [mailto: [EMAIL PROTECTED] *On Behalf Of *Axton *Sent:* Tuesday, April 01, 2008 1:04 PM *To:* arslist@ARSLIST.ORG *Subject:* Re: FW: Remedy JAVA api question ** If you run file against the java binary, what do you get back? e.g., [EMAIL PROTECTED] c]$ which java /usr/bin/java [EMAIL PROTECTED] c]$ file /usr/bin/java /usr/bin/java: ELF 32-bit MSB executable SPARC Version 1, dynamically linked, stripped Axton Grams On Tue, Apr 1, 2008 at 11:29 AM, Matthew Kunkel [EMAIL PROTECTED] wrote: ** Correction: The first line should have read: We're getting the error below when trying to use the JAVA api on an AIX platform. I originally thought it was windows, so I keep getting the process confused. The whole app runs on a 64 bit AIX platform, no windows. Thanks, Matt -- *From:* Matthew Kunkel *Sent:* Tuesday, April 01, 2008 9:46 AM *To:* 'arslist@ARSLIST.ORG' *Subject:* Remedy JAVA api question List, We're getting the error below when trying to use the JAVA api on a windows platform. This particular program is running on AIX, whereas I'm most familiar with HP-UX. I've googled the error and can't seem to find anything. We get the same result on both the 6.3 and 7.0 versions of the API. Any help is appreciated. Caused by: java.lang.UnsatisfiedLinkError: /u/applic/Remedy/libarjni70.a (0509-022 Cannot load module /u/applic/Remedy/libarjni70.a. 0509-103 The module has an invalid magic number.) at com.ibm.ws.tcp.channel.impl.NewConnectionInitialReadCallback.complete(NewConnectionInitialReadCallback.java:113) at com.ibm.ws.tcp.channel.impl.AioReadCompletionListener.futureCompleted(AioReadCompletionListener.java:165) at com.ibm.io.async.AbstractAsyncFuture.invokeCallback(AbstractAsyncFuture.java:217) at com.ibm.io.async.AsyncChannelFuture.fireCompletionActions(AsyncChannelFuture.java:161) at com.ibm.io.async.AsyncFuture.completed(AsyncFuture.java:136) at com.ibm.io.async.ResultHandler.complete(ResultHandler.java:195) at com.ibm.io.async.ResultHandler.runEventProcessingLoop(ResultHandler.java:743) at com.ibm.io.async.ResultHandler$2.run(ResultHandler.java:873) at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1469) Thanks, Matt -- *** This email and any files transmitted with it are confidential and intended solely for the individual or entity to whom they are addressed. If you have received this email in error destroy it immediately. ** Wal-Mart Confidential ** * __Platinum Sponsor
Re: Remedy JAVA api question
With my recent activity with API Programming, an unsatisfied link error is because your ld_library_path does not include the system native libraries that the jar needs _ From: Action Request System discussion list(ARSList) [mailto:[EMAIL PROTECTED] On Behalf Of Matthew Kunkel Sent: Tuesday, April 01, 2008 8:46 AM To: arslist@ARSLIST.ORG Subject: Remedy JAVA api question ** List, We're getting the error below when trying to use the JAVA api on a windows platform. This particular program is running on AIX, whereas I'm most familiar with HP-UX. I've googled the error and can't seem to find anything. We get the same result on both the 6.3 and 7.0 versions of the API. Any help is appreciated. Caused by: java.lang.UnsatisfiedLinkError: /u/applic/Remedy/libarjni70.a (0509-022 Cannot load module /u/applic/Remedy/libarjni70.a. 0509-103 The module has an invalid magic number.) at com.ibm.ws.tcp.channel.impl.NewConnectionInitialReadCallback.complete(NewCon nectionInitialReadCallback.java:113) at com.ibm.ws.tcp.channel.impl.AioReadCompletionListener.futureCompleted(AioRea dCompletionListener.java:165) at com.ibm.io.async.AbstractAsyncFuture.invokeCallback(AbstractAsyncFuture.java :217) at com.ibm.io.async.AsyncChannelFuture.fireCompletionActions(AsyncChannelFuture .java:161) at com.ibm.io.async.AsyncFuture.completed(AsyncFuture.java:136) at com.ibm.io.async.ResultHandler.complete(ResultHandler.java:195) at com.ibm.io.async.ResultHandler.runEventProcessingLoop(ResultHandler.java:743 ) at com.ibm.io.async.ResultHandler$2.run(ResultHandler.java:873) at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1469) Thanks, Matt _ ** This email and any files transmitted with it are confidential and intended solely for the individual or entity to whom they are addressed. If you have received this email in error destroy it immediately. ** Wal-Mart Confidential ** __Platinum Sponsor: www.rmsportal.com ARSlist: Where the Answers Are html___ ___ UNSUBSCRIBE or access ARSlist Archives at www.arslist.org Platinum Sponsor: www.rmsportal.com ARSlist: Where the Answers Are
FW: Remedy JAVA api question
Correction: The first line should have read: We're getting the error below when trying to use the JAVA api on an AIX platform. I originally thought it was windows, so I keep getting the process confused. The whole app runs on a 64 bit AIX platform, no windows. Thanks, Matt From: Matthew Kunkel Sent: Tuesday, April 01, 2008 9:46 AM To: 'arslist@ARSLIST.ORG' Subject: Remedy JAVA api question List, We're getting the error below when trying to use the JAVA api on a windows platform. This particular program is running on AIX, whereas I'm most familiar with HP-UX. I've googled the error and can't seem to find anything. We get the same result on both the 6.3 and 7.0 versions of the API. Any help is appreciated. Caused by: java.lang.UnsatisfiedLinkError: /u/applic/Remedy/libarjni70.a (0509-022 Cannot load module /u/applic/Remedy/libarjni70.a. 0509-103 The module has an invalid magic number.) at com.ibm.ws.tcp.channel.impl.NewConnectionInitialReadCallback.complete(Ne wConnectionInitialReadCallback.java:113) at com.ibm.ws.tcp.channel.impl.AioReadCompletionListener.futureCompleted(Ai oReadCompletionListener.java:165) at com.ibm.io.async.AbstractAsyncFuture.invokeCallback(AbstractAsyncFuture. java:217) at com.ibm.io.async.AsyncChannelFuture.fireCompletionActions(AsyncChannelFu ture.java:161) at com.ibm.io.async.AsyncFuture.completed(AsyncFuture.java:136) at com.ibm.io.async.ResultHandler.complete(ResultHandler.java:195) at com.ibm.io.async.ResultHandler.runEventProcessingLoop(ResultHandler.java :743) at com.ibm.io.async.ResultHandler$2.run(ResultHandler.java:873) at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1469) Thanks, Matt - ** This email and any files transmitted with it are confidential and intended solely for the individual or entity to whom they are addressed. If you have received this email in error destroy it immediately. ** Wal-Mart Confidential ** ___ UNSUBSCRIBE or access ARSlist Archives at www.arslist.org Platinum Sponsor: www.rmsportal.com ARSlist: Where the Answers Are
Re: FW: Remedy JAVA api question
I could be wrong, but it looks like your app is referencing AIX drivers rather than Windows. Are you sure that the app itself does not have any hardcoded references to the Remedy API drivers on AIX? Have you confirmed your PATH and JAVA_PATH variables on the Windows box are pointing to the correct directories? (Embedded image moved to file: pic15022.gif)Countrywide James Van Sickle Remedy Developer II IT - Enterprise Change Config 972-696-5779 Office 1000 Coit Road 92-540-5779Mail Stop: PCRD-2-78 Internal Plano, TX 75075 Matthew Kunkel [EMAIL PROTECTED] AL-MART.COM To Sent by: Action arslist@ARSLIST.ORG Request System cc discussion list(ARSList)Subject [EMAIL PROTECTED] [ARSLIST] FW: Remedy JAVA api ORG question 04/01/2008 10:33 AM Please respond to [EMAIL PROTECTED] RG ** Correction: The first line should have read: We're getting the error below when trying to use the JAVA api on an AIX platform. I originally thought it was windows, so I keep getting the process confused. The whole app runs on a 64 bit AIX platform, no windows. Thanks, Matt From: Matthew Kunkel Sent: Tuesday, April 01, 2008 9:46 AM To: 'arslist@ARSLIST.ORG' Subject: Remedy JAVA api question List, We're getting the error below when trying to use the JAVA api on a windows platform. This particular program is running on AIX, whereas I'm most familiar with HP-UX. I've googled the error and can't seem to find anything. We get the same result on both the 6.3 and 7.0 versions of the API. Any help is appreciated. Caused by: java.lang.UnsatisfiedLinkError: /u/applic/Remedy/libarjni70.a (0509-022 Cannot load module /u/applic/Remedy/libarjni70.a. 0509-103 The module has an invalid magic number.) at com.ibm.ws.tcp.channel.impl.NewConnectionInitialReadCallback.complete(NewConnectionInitialReadCallback.java:113) at com.ibm.ws.tcp.channel.impl.AioReadCompletionListener.futureCompleted(AioReadCompletionListener.java:165) at com.ibm.io.async.AbstractAsyncFuture.invokeCallback(AbstractAsyncFuture.java:217) at com.ibm.io.async.AsyncChannelFuture.fireCompletionActions(AsyncChannelFuture.java:161) at com.ibm.io.async.AsyncFuture.completed(AsyncFuture.java:136) at com.ibm.io.async.ResultHandler.complete(ResultHandler.java:195) at com.ibm.io.async.ResultHandler.runEventProcessingLoop(ResultHandler.java:743) at com.ibm.io.async.ResultHandler$2.run(ResultHandler.java:873) at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1469) Thanks, Matt ** This email and any files transmitted with it are confidential and intended solely for the individual or entity to whom they are addressed. If you have received this email in error destroy it immediately. ** Wal-Mart Confidential ** __Platinum Sponsor: www.rmsportal.com ARSlist: Where the Answers Are html___ == Confidentiality Notice: The information contained in and transmitted with this communication is strictly confidential, is intended only for the use of the intended recipient, and is the property of Countrywide Financial Corporation or its affiliates and subsidiaries. If you are not the intended recipient, you are hereby notified that any use of the information contained in or transmitted
OzZY: Remedy JAVA api question
Hey, Have you already resolve your problem with Java API ? I had an experience with this error ... My AR Server is AIX too ... but I was testing a batch process java on local system ... I'm using Windows XP... In this case, I did some like this: I searched for libarjni70.a in my Computer But I found libarjni70.dll (because I'm using Windows)... and I put this file in my System32 folder... When I tried to execute my java programm again ... I received another error message ... With other and other libs that were faulting ... I'll putting this libs on my System32 folder one by one and finally I achieve to execute my program very well... Try to do this and tell me, please! P.S.: I put OzZy in reply because I'm not believing that today I confirmed my passport to the show of madman! rs Yours Sincerelly, Tadeu Augusto Dutra Pinto - IT Web Services ATM Cinq Technologies http://www.cinq.com.br [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] Fone: 41 3018-2833 - Cinq Fone: 41 2107-5736 - HSBC Outsourcing - Confiabilidade, Inovação e Qualidade em T.I. De: Action Request System discussion list(ARSList) em nome de Axton Enviada: ter 1/4/2008 15:04 Para: arslist@ARSLIST.ORG Assunto: Re: FW: Remedy JAVA api question ** If you run file against the java binary, what do you get back? e.g., [EMAIL PROTECTED] c]$ which java /usr/bin/java [EMAIL PROTECTED] c]$ file /usr/bin/java /usr/bin/java: ELF 32-bit MSB executable SPARC Version 1, dynamically linked, stripped Axton Grams On Tue, Apr 1, 2008 at 11:29 AM, Matthew Kunkel [EMAIL PROTECTED] wrote: ** Correction: The first line should have read: We're getting the error below when trying to use the JAVA api on an AIX platform. I originally thought it was windows, so I keep getting the process confused. The whole app runs on a 64 bit AIX platform, no windows. Thanks, Matt From: Matthew Kunkel Sent: Tuesday, April 01, 2008 9:46 AM To: 'arslist@ARSLIST.ORG' Subject: Remedy JAVA api question List, We're getting the error below when trying to use the JAVA api on a windows platform. This particular program is running on AIX, whereas I'm most familiar with HP-UX. I've googled the error and can't seem to find anything. We get the same result on both the 6.3 and 7.0 versions of the API. Any help is appreciated. Caused by: java.lang.UnsatisfiedLinkError: /u/applic/Remedy/libarjni70.a (0509-022 Cannot load module /u/applic/Remedy/libarjni70.a. 0509-103 The module has an invalid magic number.) at com.ibm.ws.tcp.channel.impl.NewConnectionInitialReadCallback.complete(NewConnectionInitialReadCallback.java:113) at com.ibm.ws.tcp.channel.impl.AioReadCompletionListener.futureCompleted(AioReadCompletionListener.java:165) at com.ibm.io.async.AbstractAsyncFuture.invokeCallback(AbstractAsyncFuture.java:217) at com.ibm.io.async.AsyncChannelFuture.fireCompletionActions(AsyncChannelFuture.java:161) at com.ibm.io.async.AsyncFuture.completed(AsyncFuture.java:136) at com.ibm.io.async.ResultHandler.complete(ResultHandler.java:195) at com.ibm.io.async.ResultHandler.runEventProcessingLoop(ResultHandler.java:743) at com.ibm.io.async.ResultHandler$2.run(ResultHandler.java:873) at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1469) Thanks, Matt ** This email and any files transmitted with it are confidential and intended solely for the individual or entity to whom they are addressed. If you have received this email in error destroy it immediately. ** Wal-Mart Confidential ** __Platinum Sponsor: www.rmsportal.com http://www.rmsportal.com/ ARSlist: Where the Answers Are html___ __Platinum Sponsor: www.rmsportal.com ARSlist: Where the Answers Are html___ ___ UNSUBSCRIBE or access ARSlist Archives at www.arslist.org Platinum Sponsor: www.rmsportal.com ARSlist: Where the Answers Are
Re: FW: Remedy JAVA api question
If you run file against the java binary, what do you get back? e.g., [EMAIL PROTECTED] c]$ which java /usr/bin/java [EMAIL PROTECTED] c]$ file /usr/bin/java /usr/bin/java: ELF 32-bit MSB executable SPARC Version 1, dynamically linked, stripped Axton Grams On Tue, Apr 1, 2008 at 11:29 AM, Matthew Kunkel [EMAIL PROTECTED] wrote: ** Correction: The first line should have read: We're getting the error below when trying to use the JAVA api on an AIX platform. I originally thought it was windows, so I keep getting the process confused. The whole app runs on a 64 bit AIX platform, no windows. Thanks, Matt -- *From:* Matthew Kunkel *Sent:* Tuesday, April 01, 2008 9:46 AM *To:* 'arslist@ARSLIST.ORG' *Subject:* Remedy JAVA api question List, We're getting the error below when trying to use the JAVA api on a windows platform. This particular program is running on AIX, whereas I'm most familiar with HP-UX. I've googled the error and can't seem to find anything. We get the same result on both the 6.3 and 7.0 versions of the API. Any help is appreciated. Caused by: java.lang.UnsatisfiedLinkError: /u/applic/Remedy/libarjni70.a (0509-022 Cannot load module /u/applic/Remedy/libarjni70.a. 0509-103 The module has an invalid magic number.) at com.ibm.ws.tcp.channel.impl.NewConnectionInitialReadCallback.complete( NewConnectionInitialReadCallback.java:113) at com.ibm.ws.tcp.channel.impl.AioReadCompletionListener.futureCompleted( AioReadCompletionListener.java:165) at com.ibm.io.async.AbstractAsyncFuture.invokeCallback( AbstractAsyncFuture.java:217) at com.ibm.io.async.AsyncChannelFuture.fireCompletionActions( AsyncChannelFuture.java:161) at com.ibm.io.async.AsyncFuture.completed(AsyncFuture.java:136) at com.ibm.io.async.ResultHandler.complete(ResultHandler.java:195) at com.ibm.io.async.ResultHandler.runEventProcessingLoop( ResultHandler.java:743) at com.ibm.io.async.ResultHandler$2.run(ResultHandler.java:873) at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1469) Thanks, Matt -- * ** This email and any files transmitted with it are confidential and intended solely for the individual or entity to whom they are addressed. If you have received this email in error destroy it immediately. ** Wal-Mart Confidential ** * __Platinum Sponsor: www.rmsportal.com ARSlist: Where the Answers Are html___ ___ UNSUBSCRIBE or access ARSlist Archives at www.arslist.org Platinum Sponsor: www.rmsportal.com ARSlist: Where the Answers Are
Re: FW: Remedy JAVA api question
It's a 64 bit binary. I was thinking that the ld_library_path was wrong, but it does indeed reference the directory containing the .a's $ file /u/applic/wsadmin/WAS61/AppServer/java/bin/java /u/applic/wsadmin/WAS61/AppServer/java/bin/java: 64-bit XCOFF executable or object module not stripped I apologize about the confusion earlier. For some reason I have it in my head this is on another platform, but it's AIX all the way. Thanks, Matt From: Action Request System discussion list(ARSList) [mailto:[EMAIL PROTECTED] On Behalf Of Axton Sent: Tuesday, April 01, 2008 1:04 PM To: arslist@ARSLIST.ORG Subject: Re: FW: Remedy JAVA api question ** If you run file against the java binary, what do you get back? e.g., [EMAIL PROTECTED] c]$ which java /usr/bin/java [EMAIL PROTECTED] c]$ file /usr/bin/java /usr/bin/java: ELF 32-bit MSB executable SPARC Version 1, dynamically linked, stripped Axton Grams On Tue, Apr 1, 2008 at 11:29 AM, Matthew Kunkel [EMAIL PROTECTED] wrote: ** Correction: The first line should have read: We're getting the error below when trying to use the JAVA api on an AIX platform. I originally thought it was windows, so I keep getting the process confused. The whole app runs on a 64 bit AIX platform, no windows. Thanks, Matt From: Matthew Kunkel Sent: Tuesday, April 01, 2008 9:46 AM To: 'arslist@ARSLIST.ORG' Subject: Remedy JAVA api question List, We're getting the error below when trying to use the JAVA api on a windows platform. This particular program is running on AIX, whereas I'm most familiar with HP-UX. I've googled the error and can't seem to find anything. We get the same result on both the 6.3 and 7.0 versions of the API. Any help is appreciated. Caused by: java.lang.UnsatisfiedLinkError: /u/applic/Remedy/libarjni70.a (0509-022 Cannot load module /u/applic/Remedy/libarjni70.a. 0509-103 The module has an invalid magic number.) at com.ibm.ws.tcp.channel.impl.NewConnectionInitialReadCallback.complete(Ne wConnectionInitialReadCallback.java:113) at com.ibm.ws.tcp.channel.impl.AioReadCompletionListener.futureCompleted(Ai oReadCompletionListener.java:165) at com.ibm.io.async.AbstractAsyncFuture.invokeCallback(AbstractAsyncFuture. java:217) at com.ibm.io.async.AsyncChannelFuture.fireCompletionActions(AsyncChannelFu ture.java:161) at com.ibm.io.async.AsyncFuture.completed(AsyncFuture.java:136) at com.ibm.io.async.ResultHandler.complete(ResultHandler.java:195) at com.ibm.io.async.ResultHandler.runEventProcessingLoop(ResultHandler.java :743) at com.ibm.io.async.ResultHandler$2.run(ResultHandler.java:873) at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1469) Thanks, Matt ** This email and any files transmitted with it are confidential and intended solely for the individual or entity to whom they are addressed. If you have received this email in error destroy it immediately. ** Wal-Mart Confidential ** __Platinum Sponsor: www.rmsportal.com ARSlist: Where the Answers Are html___ __Platinum Sponsor: www.rmsportal.com ARSlist: Where the Answers Are html___ - ** This email and any files transmitted with it are confidential and intended solely for the individual or entity to whom they are addressed. If you have received this email in error destroy it immediately. ** Wal-Mart Confidential ** ___ UNSUBSCRIBE or access ARSlist Archives at www.arslist.org Platinum Sponsor: www.rmsportal.com ARSlist: Where the Answers Are
Re: OzZY: Remedy JAVA api question
We're testing the app on the AIX server, not locally on a workstation. All the .a files on the box where the program is running and are referenced where the doc recommends. Thanks, Matt -Original Message- From: Action Request System discussion list(ARSList) [mailto:[EMAIL PROTECTED] On Behalf Of Tadeu Augusto Dutra Pinto Sent: Tuesday, April 01, 2008 1:20 PM To: arslist@ARSLIST.ORG Subject: OzZY: Remedy JAVA api question Hey, Have you already resolve your problem with Java API ? I had an experience with this error ... My AR Server is AIX too ... but I was testing a batch process java on local system ... I'm using Windows XP... In this case, I did some like this: I searched for libarjni70.a in my Computer But I found libarjni70.dll (because I'm using Windows)... and I put this file in my System32 folder... When I tried to execute my java programm again ... I received another error message ... With other and other libs that were faulting ... I'll putting this libs on my System32 folder one by one and finally I achieve to execute my program very well... Try to do this and tell me, please! P.S.: I put OzZy in reply because I'm not believing that today I confirmed my passport to the show of madman! rs Yours Sincerelly, Tadeu Augusto Dutra Pinto - IT Web Services ATM Cinq Technologies http://www.cinq.com.br [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] Fone: 41 3018-2833 - Cinq Fone: 41 2107-5736 - HSBC Outsourcing - Confiabilidade, Inovação e Qualidade em T.I. De: Action Request System discussion list(ARSList) em nome de Axton Enviada: ter 1/4/2008 15:04 Para: arslist@ARSLIST.ORG Assunto: Re: FW: Remedy JAVA api question ** If you run file against the java binary, what do you get back? e.g., [EMAIL PROTECTED] c]$ which java /usr/bin/java [EMAIL PROTECTED] c]$ file /usr/bin/java /usr/bin/java: ELF 32-bit MSB executable SPARC Version 1, dynamically linked, stripped Axton Grams On Tue, Apr 1, 2008 at 11:29 AM, Matthew Kunkel [EMAIL PROTECTED] wrote: ** Correction: The first line should have read: We're getting the error below when trying to use the JAVA api on an AIX platform. I originally thought it was windows, so I keep getting the process confused. The whole app runs on a 64 bit AIX platform, no windows. Thanks, Matt From: Matthew Kunkel Sent: Tuesday, April 01, 2008 9:46 AM To: 'arslist@ARSLIST.ORG' Subject: Remedy JAVA api question List, We're getting the error below when trying to use the JAVA api on a windows platform. This particular program is running on AIX, whereas I'm most familiar with HP-UX. I've googled the error and can't seem to find anything. We get the same result on both the 6.3 and 7.0 versions of the API. Any help is appreciated. Caused by: java.lang.UnsatisfiedLinkError: /u/applic/Remedy/libarjni70.a (0509-022 Cannot load module /u/applic/Remedy/libarjni70.a. 0509-103 The module has an invalid magic number.) at com.ibm.ws.tcp.channel.impl.NewConnectionInitialReadCallback.complete(NewConnectionInitialReadCallback.java:113) at com.ibm.ws.tcp.channel.impl.AioReadCompletionListener.futureCompleted(AioReadCompletionListener.java:165) at com.ibm.io.async.AbstractAsyncFuture.invokeCallback(AbstractAsyncFuture.java:217) at com.ibm.io.async.AsyncChannelFuture.fireCompletionActions(AsyncChannelFuture.java:161) at com.ibm.io.async.AsyncFuture.completed(AsyncFuture.java:136) at com.ibm.io.async.ResultHandler.complete(ResultHandler.java:195) at com.ibm.io.async.ResultHandler.runEventProcessingLoop(ResultHandler.java:743) at com.ibm.io.async.ResultHandler$2.run(ResultHandler.java:873) at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1469) Thanks, Matt ** This email and any files transmitted with it are confidential and intended solely for the individual or entity to whom they are addressed. If you have received this email in error destroy it immediately. ** Wal-Mart Confidential ** __Platinum Sponsor: www.rmsportal.com http://www.rmsportal.com/ ARSlist: Where the Answers Are html___ __Platinum Sponsor: www.rmsportal.com ARSlist: Where the Answers Are html___ ___ UNSUBSCRIBE
Re: FW: Remedy JAVA api question
Try using a 32-bit jvm. I am not positive on this, but loading 32-bit native libraries using a 64-bit jvm may be the source of your invalid magic number error. I believe the compatiblity matrix for mid-tier, fb, email, etc. all state that you must use a 32-bit jvm, I assume for this reason. http://www.ibm.com/developerworks/java/jdk/aix/j564/sdkguide.aix64.html Axton Grams On Tue, Apr 1, 2008 at 4:01 PM, Matthew Kunkel [EMAIL PROTECTED] wrote: ** It's a 64 bit binary. I was thinking that the ld_library_path was wrong, but it does indeed reference the directory containing the .a's $ file /u/applic/wsadmin/WAS61/AppServer/java/bin/java /u/applic/wsadmin/WAS61/AppServer/java/bin/java: 64-bit XCOFF executable or object module not stripped I apologize about the confusion earlier. For some reason I have it in my head this is on another platform, but it's AIX all the way. Thanks, Matt -- *From:* Action Request System discussion list(ARSList) [mailto: [EMAIL PROTECTED] *On Behalf Of *Axton *Sent:* Tuesday, April 01, 2008 1:04 PM *To:* arslist@ARSLIST.ORG *Subject:* Re: FW: Remedy JAVA api question ** If you run file against the java binary, what do you get back? e.g., [EMAIL PROTECTED] c]$ which java /usr/bin/java [EMAIL PROTECTED] c]$ file /usr/bin/java /usr/bin/java: ELF 32-bit MSB executable SPARC Version 1, dynamically linked, stripped Axton Grams On Tue, Apr 1, 2008 at 11:29 AM, Matthew Kunkel [EMAIL PROTECTED] wrote: ** Correction: The first line should have read: We're getting the error below when trying to use the JAVA api on an AIX platform. I originally thought it was windows, so I keep getting the process confused. The whole app runs on a 64 bit AIX platform, no windows. Thanks, Matt -- *From:* Matthew Kunkel *Sent:* Tuesday, April 01, 2008 9:46 AM *To:* 'arslist@ARSLIST.ORG' *Subject:* Remedy JAVA api question List, We're getting the error below when trying to use the JAVA api on a windows platform. This particular program is running on AIX, whereas I'm most familiar with HP-UX. I've googled the error and can't seem to find anything. We get the same result on both the 6.3 and 7.0 versions of the API. Any help is appreciated. Caused by: java.lang.UnsatisfiedLinkError: /u/applic/Remedy/libarjni70.a (0509-022 Cannot load module /u/applic/Remedy/libarjni70.a. 0509-103 The module has an invalid magic number.) at com.ibm.ws.tcp.channel.impl.NewConnectionInitialReadCallback.complete (NewConnectionInitialReadCallback.java:113) at com.ibm.ws.tcp.channel.impl.AioReadCompletionListener.futureCompleted (AioReadCompletionListener.java:165) at com.ibm.io.async.AbstractAsyncFuture.invokeCallback( AbstractAsyncFuture.java:217) at com.ibm.io.async.AsyncChannelFuture.fireCompletionActions( AsyncChannelFuture.java:161) at com.ibm.io.async.AsyncFuture.completed(AsyncFuture.java:136) at com.ibm.io.async.ResultHandler.complete(ResultHandler.java:195) at com.ibm.io.async.ResultHandler.runEventProcessingLoop( ResultHandler.java:743) at com.ibm.io.async.ResultHandler$2.run(ResultHandler.java:873) at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1469) Thanks, Matt -- *** This email and any files transmitted with it are confidential and intended solely for the individual or entity to whom they are addressed. If you have received this email in error destroy it immediately. ** Wal-Mart Confidential ** * __Platinum Sponsor: www.rmsportal.com ARSlist: Where the Answers Are html___ __Platinum Sponsor: www.rmsportal.com ARSlist: Where the Answers Are html___ -- * ** This email and any files transmitted with it are confidential and intended solely for the individual or entity to whom they are addressed. If you have received this email in error destroy it immediately. ** Wal-Mart Confidential ** * __Platinum Sponsor: www.rmsportal.com ARSlist: Where the Answers Are html___ ___ UNSUBSCRIBE or access ARSlist Archives at www.arslist.org Platinum Sponsor: www.rmsportal.com ARSlist: Where the Answers Are
Resolved: Java API Question Regarding fields of type Enum
Thanks Appajee ... With your help I was able to figure it out. It looks something like this: EnumLimitInfo einfo = (EnumLimitInfo) Field.getFieldLimit(); EnumItems[] enums = einfo.getEnumCustomLimit(); For each EnumItem you can do something like this enums[0]. getEnumItemName().toString(). Sean From: Action Request System discussion list(ARSList) [mailto:[EMAIL PROTECTED] On Behalf Of Papolu, Appajee Sent: Wednesday, November 07, 2007 6:09 PM To: arslist@ARSLIST.ORG Subject: Re: Java API Question Regarding fields of type Enum ** Get the definition of the field in question (using FieldFactory.findByKey in 7.1 version, or, getField method in 7.1). Look into its Limit information. You'll find the lookup information for enum labels values. So, only once you would want to retrieve this field definition up front and maintain a mapping of the values labels; then whenever you have an entry with enum field value as an int value - you can simply look it up in this mapping for the corresponding string value. Appajee From: Action Request System discussion list(ARSList) [mailto:[EMAIL PROTECTED] On Behalf Of Garrison, Sean (Norcross) Sent: Wednesday, November 07, 2007 2:17 PM To: arslist@ARSLIST.ORG Subject: Java API Question Regarding fields of type Enum Someone else has written the java code and I am trying to assist him w/ a problem. He is trying to get the enum values for a field in a string format ... unfortunately it returns the integer value instead. So if I have this: 0 = Enum1 1= Enum2 2 = Enum3 Here is an example of the call he is currently using (I think ) Entry.EntryItems[0].getValue().toString() He is getting the values 0,1,2 when he wants Enum1,Enum2, Enum3. We are using version 7 of the Java api. I know this has to be an easy call ... but we just can't see it. Anybody know how to do this? Thanks, Sean __20060125___This posting was submitted with HTML in it___ __20060125___This posting was submitted with HTML in it___ ___ UNSUBSCRIBE or access ARSlist Archives at www.arslist.org Platinum Sponsor: www.rmsportal.com ARSlist: Where the Answers Are
Java API Question Regarding fields of type Enum
Someone else has written the java code and I am trying to assist him w/ a problem. He is trying to get the enum values for a field in a string format ... unfortunately it returns the integer value instead. So if I have this: 0 = Enum1 1= Enum2 2 = Enum3 Here is an example of the call he is currently using (I think ) Entry.EntryItems[0].getValue().toString() He is getting the values 0,1,2 when he wants Enum1,Enum2, Enum3. We are using version 7 of the Java api. I know this has to be an easy call ... but we just can't see it. Anybody know how to do this? Thanks, Sean ___ UNSUBSCRIBE or access ARSlist Archives at www.arslist.org Platinum Sponsor: www.rmsportal.com ARSlist: Where the Answers Are