0 Replies Latest reply on Jun 7, 2005 9:22 PM by Jayaram Nair

    Error accessing native libraries

    Jayaram Nair Newbie

      Hi,
      I have a web service in JBoss on Windows that uses a native DLL library. I could get it running on other app servers by disabling the java security policy. Will much appreciate it if some one could tell me how I can do this in JBoss 402. Thanks in advance.


      The server error I get when trying to invoke the method that accesses the native library on JBoss:


      {http://xml.apache.org/axis/}stackTrace: java.lang.NullPointerException
      at com.ibm.sapws.BAPI_SALESORDER_GETLIST.BAPISalesOrderRetriever.<ini
      t>(BAPISalesOrderRetriever.java:67)
      at com.ibm.sapws.RequestWrapperImpl.salesOrderGetList(RequestWrapperImpl
      .java:23)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
      java:39)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
      sorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:324)
      at org.jboss.webservice.server.InvokerProviderJSE.invokeServiceEndpoint(
      InvokerProviderJSE.java:154)
      at org.jboss.webservice.server.InvokerProvider.invokeMethod(InvokerProvi
      der.java:238)
      at org.jboss.axis.providers.java.RPCProvider.invokeTarget(RPCProvider.ja
      va:176)
      at org.jboss.webservice.server.InvokerProviderJSE.invokeTarget(InvokerPr
      oviderJSE.java:93)
      at org.jboss.axis.providers.java.RPCProvider.processMessage(RPCProvider.
      java:121)
      at org.jboss.axis.providers.java.JavaProvider.invoke(JavaProvider.java:3
      58)
      at org.jboss.axis.strategies.InvocationStrategy.visit(InvocationStrategy
      .java:73)
      at org.jboss.axis.SimpleChain.doVisiting(SimpleChain.java:160)
      at org.jboss.axis.SimpleChain.invoke(SimpleChain.java:123)
      at org.jboss.axis.handlers.soap.SOAPService.invoke(SOAPService.java:560)
      {http://xml.apache.org/axis/}stackTrace: java.lang.NullPointerException
      at com.ibm.sapws.BAPI_SALESORDER_GETLIST.BAPISalesOrderRetriever.<ini
      t>(BAPISalesOrderRetriever.java:67)
      at com.ibm.sapws.RequestWrapperImpl.salesOrderGetList(RequestWrapperImpl
      .java:23)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
      java:39)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
      sorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:324)
      at org.jboss.webservice.server.InvokerProviderJSE.invokeServiceEndpoint(
      InvokerProviderJSE.java:154)
      at org.jboss.webservice.server.InvokerProvider.invokeMethod(InvokerProvi
      der.java:238)
      at org.jboss.axis.providers.java.RPCProvider.invokeTarget(RPCProvider.ja
      va:176)
      at org.jboss.webservice.server.InvokerProviderJSE.invokeTarget(InvokerPr
      oviderJSE.java:93)
      at org.jboss.axis.providers.java.RPCProvider.processMessage(RPCProvider.
      java:121)
      at org.jboss.axis.providers.java.JavaProvider.invoke(JavaProvider.java:3
      58)
      at org.jboss.axis.strategies.InvocationStrategy.visit(InvocationStrategy
      .java:73)
      at org.jboss.axis.SimpleChain.doVisiting(SimpleChain.java:160)
      at org.jboss.axis.SimpleChain.invoke(SimpleChain.java:123)
      at org.jboss.axis.handlers.soap.SOAPService.invoke(SOAPService.java:560)
      .
      .
      .