When working with jars that use native libraries, you have to use a
common classloader for all apps that use the jars that load the native
libraries.  This means you have to place the jars that load the native
libraries in the shared/lib directory and your PATH/LD_LIBRARY_PATH
have to point to the same dll/so files.  The one pain point I have is
trying to run both the 7.0.1 and 7.1 mid-tier and other apps (Kinetic)
within a single jboss instance.  The 7.1 mid-tier includes both the 70
and 71 dll/so/jar files and I have yet to figure out which jar's call
the classloader for the native libraries.  Both versions have common
jar files (by name) that are actually different.  Kind of a pita.

Axton Grams

On Mon, Mar 3, 2008 at 10:31 AM, Peter Romain
<[EMAIL PROTECTED]> wrote:
> Hi,
>
>  Is the arapi71.jar file in any other path?
>
>  I have the same problem trying to get cmdb web services to work.
>
>  If I remove the arapi71.jar file from the mid-tier/lib directory then the
>  web services work (but mid-tier doesn't).
>
>  I tried having the file only in the Tomcat shared/lib but then neither
>  mid-tier nor cmdb web services work.
>
>  I'm waiting on support for a comment on this file.
>
>  My scenario worked fine in ARS 7.01
>
>  Cheers
>
>  Peter
>
>
>
>
>  >  Hi All,
>  >
>  > I am trying to use ARS 7.1 API on windows platform - development.
>  >
>  > Win2K 2003
>  > MS SQL 2000
>  > Tomcat Servlet engine 5.5
>  > ARS 7.1
>  >
>  > I have already set following environment variables:
>  >
>  > classpath - C:\Program Files\AR System\myserver\arapi71.jar;
>  >
>  > path - C:\Program Files\AR System\myserver\ARServer\Api\lib
>  >
>  >
>  > I have created a netbeans web project, added the lib files accordingly
>  > (all
>  > the jar files ). When i deploy it to tomcat engine and browse my
>  > application
>  > URL, it gives the error:
>  >
>  > HTTP Status 500 -
>  >
>  > *type* Exception report
>  >
>  > *message*
>  >
>  > *description* *The server encountered an internal error () that prevented
>  > it
>  > from fulfilling this request.*
>  >
>  > *exception*
>  > javax.servlet.ServletException: Servlet execution threw an exception
>  >
>  > *root cause*
>  > java.lang.UnsatisfiedLinkError: ARInitialization
>  > com.bmc.arsys.api.Proxy.ARInitialization(Native Method)
>  > com.bmc.arsys.api.Proxy.<init>(Unknown Source)
>  > com.bmc.arsys.api.ProxyJRpcBase.<init>(Unknown Source)
>  > com.bmc.arsys.api.ProxyJRpc.<init>(Unknown Source)
>  > com.bmc.arsys.api.ProxyManager.createProxy(Unknown Source)
>  > com.bmc.arsys.api.ProxyPool.get(Unknown Source)
>  > com.bmc.arsys.api.PoolingProxyManager.getProxy(Unknown Source)
>  > com.bmc.arsys.api.ARServerUser.verifyUser(Unknown Source)
>  > com.bmc.arsys.api.ARServerUser.login(Unknown Source)
>  > co.brch.cs.ctcdev.getPwd(ctcdev.java:71)
>  > co.brch.cs.ctcdev.processRequest(ctcdev.java:45)
>  > co.brch.cs.ctcdev.doGet(ctcdev.java:108)
>  > javax.servlet.http.HttpServlet.service(HttpServlet.java:690)
>  > javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
>  >
>  > *note* *The full stack trace of the root cause is available in the Apache
>  > Tomcat/5.5.23 logs.*
>  >
>  >
>  > 
> ---------------------------------------------------------------------------------------------------------------------
>  >
>  >
>  >
>  > I checked the tomcat logs - stdout_20080303.log
>  > -----------------------------------------------
>  > - Trying to load configuration arsys_api.xml
>  > - Could not load optional configuration arsys_api.xml
>  > - Trying to load configuration default.xml
>  > - constructor(arcatalog)
>  > - Trying to load configuration arsys_api.xml
>  > - Could not load optional configuration arsys_api.xml
>  > - Trying to load configuration default.xml
>  > - Connects to ARServer prashant through
>  > [EMAIL PROTECTED]
>  > - Api source is identified as: AP247547060000yVXKRwqOsAAAKQAA
>  > log4j:WARN No appenders could be found for logger (
>  > org.apache.commons.digester.Digester.sax).
>  > log4j:WARN Please initialize the log4j system properly.
>  >
>  >
>  > It must be a simple path issue but I am unable to figure it out. Please
>  > help
>  > as I am really under a pressure to meet a deadline.
>  >
>  >
>  > Thanks,
>  >
>  > Prashant
>  >
>  > 
> _______________________________________________________________________________
>
> > 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"

Reply via email to