Menu

rpc/FaultException.status

2007-10-04
2012-11-29
  • Ron_Danihel

    Ron_Danihel - 2007-10-04

    I'm trying to run j-interop on a Webspere 6.1 server.  I'm able to use it when it's built from my local workstation, windows xp machine.  When I try to deploy it to a Unix machine running WAS 6.1 I get the following error:

    10/4/07 12:44:57:672 CDT] 0000002c ServletWrappe E SRVE0068E: Uncaught exception thrown in one of the service methods of the servlet: GetAddress. Exception thrown : java.lang.NoSuchFieldError: rpc/FaultException.status
    at org.jinterop.dcom.core.JIComServer.init(JIComServer.java:309)
    at org.jinterop.dcom.core.JIComServer.initialise(JIComServer.java:238)
    at org.jinterop.dcom.core.JIComServer.(JIComServer.java:221)
    at walgreens.datamanagers.GetVerifiedAddress.getVerifiedAddress(GetVerifiedAddress.java:89)
    at walgreens.remote.AddrVerRequest.getVerifiedAddress(AddrVerRequest.java:30)
    at walgreens.servlet.GetAddress.doGet(GetAddress.java:52)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:743)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
    at com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:989)
    at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:501)
    at com.ibm.ws.wswebcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:464)
    at com.ibm.ws.webcontainer.webapp.WebApp.handleRequest(WebApp.java:3184)
    at com.ibm.ws.webcontainer.webapp.WebGroup.handleRequest(WebGroup.java:254)
    at com.ibm.ws.webcontainer.WebContainer.handleRequest(WebContainer.java:811)
    at com.ibm.ws.wswebcontainer.WebContainer.handleRequest(WebContainer.java:1433)
    at com.ibm.ws.webcontainer.channel.WCChannelLink.ready(WCChannelLink.java:111)
    at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleDiscrimination(HttpInboundLink.java:454)
    at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleNewInformation(HttpInboundLink.java:383)
    at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.ready(HttpInboundLink.java:263)
    at com.ibm.ws.tcp.channel.impl.NewConnectionInitialReadCallback.sendToDiscriminators(NewConnectionInitialReadCallback.java:214)
    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$1.run(AsyncChannelFuture.java:205)
    at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1469)

    [10/4/07 12:44:57:734 CDT] 0000002c ServiceLogger I com.ibm.ws.ffdc.IncidentStreamImpl initialize FFDC0009I: FFDC opened incident stream file /opt/was61/profiles/AppSrv01/logs/ffdc/JAddrVer_4400440_07.10.04_12.44.57_0.txt
    [10/4/07 12:44:57:885 CDT] 0000002c ServiceLogger I com.ibm.ws.ffdc.IncidentStreamImpl resetIncidentStream FFDC0010I: FFDC closed incident stream file /opt/was61/profiles/AppSrv01/logs/ffdc/JAddrVer_4400440_07.10.04_12.44.57_0.txt
    [10/4/07 12:44:57:899 CDT] 0000002c ServiceLogger I com.ibm.ws.ffdc.IncidentStreamImpl open FFDC0009I: FFDC opened incident stream file /opt/was61/profiles/AppSrv01/logs/ffdc/JAddrVer_4400440_07.10.04_12.44.57_1.txt
    [10/4/07 12:44:57:902 CDT] 0000002c ServiceLogger I com.ibm.ws.ffdc.IncidentStreamImpl resetIncidentStream FFDC0010I: FFDC closed incident stream file /opt/was61/profiles/AppSrv01/logs/ffdc/JAddrVer_4400440_07.10.04_12.44.57_1.txt
    [10/4/07 12:44:57:903 CDT] 0000002c WebApp E [Servlet Error]-[GetAddress]: java.lang.NoSuchFieldError: rpc/FaultException.status
    at org.jinterop.dcom.core.JIComServer.init(JIComServer.java:309)
    at org.jinterop.dcom.core.JIComServer.initialise(JIComServer.java:238)
    at org.jinterop.dcom.core.JIComServer.(JIComServer.java:221)
    at walgreens.datamanagers.GetVerifiedAddress.getVerifiedAddress(GetVerifiedAddress.java:89)
    at walgreens.remote.AddrVerRequest.getVerifiedAddress(AddrVerRequest.java:30)
    at walgreens.servlet.GetAddress.doGet(GetAddress.java:52)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:743)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
    at com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:989)
    at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:501)
    at com.ibm.ws.wswebcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:464)
    at com.ibm.ws.webcontainer.webapp.WebApp.handleRequest(WebApp.java:3184)
    at com.ibm.ws.webcontainer.webapp.WebGroup.handleRequest(WebGroup.java:254)
    at com.ibm.ws.webcontainer.WebContainer.handleRequest(WebContainer.java:811)
    at com.ibm.ws.wswebcontainer.WebContainer.handleRequest(WebContainer.java:1433)
    at com.ibm.ws.webcontainer.channel.WCChannelLink.ready(WCChannelLink.java:111)
    at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleDiscrimination(HttpInboundLink.java:454)
    at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleNewInformation(HttpInboundLink.java:383)
    at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.ready(HttpInboundLink.java:263)
    at com.ibm.ws.tcp.channel.impl.NewConnectionInitialReadCallback.sendToDiscriminators(NewConnectionInitialReadCallback.java:214)
    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$1.run(AsyncChannelFuture.java:205)
    at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1469)

    Does anyone know why? 

     
    • Vikram Roopchand

      This should be a classpath issue, I meant to fix it for a looong time...please place j-Interop jar ahead of it's dist jars in the classpath. I know about the AppServer and it's restrictions, but for now this is the only way out.

      Thanks,
      best regards,
      Vikram

       
    • Ron_Danihel

      Ron_Danihel - 2007-10-05

      Would this have to be done as an external jar on the server?  Can you give me more information on how I would do this?

       
      • Vikram Roopchand

        I did not get your question but Classpath ordering needs to be ascertained for your deployed application (using j-Interop) in the App Server. j-Interop needs to be loaded before it's distribution classes.

         
    • Ron_Danihel

      Ron_Danihel - 2007-10-17

      It looks as though this is a firewall issue.  What port are the requests to the DCOM Server comming though?

       
      • Vikram Roopchand

        How did you classify it as a firewall issue ??? DCOM selects the ports pretty randomly. No one can possibly say which till you configure DCOM to use certain ports.

        Did you try changing the classpaths to put the library in front ?

        best regards,
        Vikram

         
    • Ron_Danihel

      Ron_Danihel - 2007-10-17

      Tried changing the classpath and got the same message.  I'm unable to ping the DCOM server from my WAS server.  Waiting for a firewall change and will retest.

       
      • Vikram Roopchand

        okay, the not being able to ping COM server seems to be a new issue...could you dump the log file of j-Introp here...to confirm , we can see the classpath in that.

        best regards,
        Vikram

         
        • Ron_Danihel

          Ron_Danihel - 2007-10-19

          The logs are as follows:

          10/19/07 15:32:32:655 CDT] 0000002a ServletWrappe E SRVE0068E: Uncaught exception thrown in one of the service methods of the servlet: GetAddress. Exception thrown : java.lang.NoSuchFieldError: rpc/FaultException.status
          at org.jinterop.dcom.core.JIComServer.init(JIComServer.java:309)
          at org.jinterop.dcom.core.JIComServer.initialise(JIComServer.java:238)
          at org.jinterop.dcom.core.JIComServer.(JIComServer.java:221)
          at walgreens.datamanagers.GetVerifiedAddress.getVerifiedAddress(GetVerifiedAddress.java:95)
          at walgreens.remote.AddrVerRequest.getVerifiedAddress(AddrVerRequest.java:30)
          at walgreens.servlet.GetAddress.doGet(GetAddress.java:52)
          at javax.servlet.http.HttpServlet.service(HttpServlet.java:743)
          at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
          at com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:989)
          at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:501)
          at com.ibm.ws.wswebcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:464)
          at com.ibm.ws.webcontainer.webapp.WebApp.handleRequest(WebApp.java:3184)
          at com.ibm.ws.webcontainer.webapp.WebGroup.handleRequest(WebGroup.java:254)
          at com.ibm.ws.webcontainer.WebContainer.handleRequest(WebContainer.java:811)
          at com.ibm.ws.wswebcontainer.WebContainer.handleRequest(WebContainer.java:1433)
          at com.ibm.ws.webcontainer.channel.WCChannelLink.ready(WCChannelLink.java:111)
          at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleDiscrimination(HttpInboundLink.java:454)
          at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleNewInformation(HttpInboundLink.java:383)
          at com.ibm.ws.http.channel.inbound.impl.HttpICLReadCallback.complete(HttpICLReadCallback.java:102)
          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)

          [10/19/07 15:32:32:660 CDT] 0000002a WebApp E [Servlet Error]-[GetAddress]: java.lang.NoSuchFieldError: rpc/FaultException.status
          at org.jinterop.dcom.core.JIComServer.init(JIComServer.java:309)
          at org.jinterop.dcom.core.JIComServer.initialise(JIComServer.java:238)
          at org.jinterop.dcom.core.JIComServer.(JIComServer.java:221)
          at walgreens.datamanagers.GetVerifiedAddress.getVerifiedAddress(GetVerifiedAddress.java:95)
          at walgreens.remote.AddrVerRequest.getVerifiedAddress(AddrVerRequest.java:30)
          at walgreens.servlet.GetAddress.doGet(GetAddress.java:52)
          at javax.servlet.http.HttpServlet.service(HttpServlet.java:743)
          at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
          at com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:989)
          at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:501)
          at com.ibm.ws.wswebcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:464)
          at com.ibm.ws.webcontainer.webapp.WebApp.handleRequest(WebApp.java:3184)
          at com.ibm.ws.webcontainer.webapp.WebGroup.handleRequest(WebGroup.java:254)
          at com.ibm.ws.webcontainer.WebContainer.handleRequest(WebContainer.java:811)
          at com.ibm.ws.wswebcontainer.WebContainer.handleRequest(WebContainer.java:1433)
          at com.ibm.ws.webcontainer.channel.WCChannelLink.ready(WCChannelLink.java:111)
          at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleDiscrimination(HttpInboundLink.java:454)
          at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleNewInformation(HttpInboundLink.java:383)
          at com.ibm.ws.http.channel.inbound.impl.HttpICLReadCallback.complete(HttpICLReadCallback.java:102)
          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 for all of you help!

           
          • Vikram Roopchand

            Well, I wanted to see the classpath entries which get dumped in the beginning of the j-Interop log. Could you please dump those.

            best regards,
            Vikram

             
            • Ron_Danihel

              Ron_Danihel - 2007-10-22

              This is the only classpath info I see when the server boots up.

              ws.ext.dirs = /opt/was61/java/lib:/opt/was61/profiles/AppSrv01/classes:/opt/was61/classes:/opt/was61/lib:/opt/was61/installedChannels:/opt/was61/lib/ext:/opt/was61/web/help:/opt/was61/deploytool/itp/plugins/com.ibm.etools.ejbdeploy/runtime
              Classpath = /opt/was61/profiles/AppSrv01/properties:/opt/was61/properties:/opt/was61/lib/startup.jar:/opt/was61/lib/bootstrap.jar:/opt/was61/lib/j2ee.jar:/opt/was61/lib/lmproxy.jar:/opt/was61/lib/urlprotocols.jar:/opt/was61/deploytool/itp/batchboot.jar:/opt/was61/deploytool/itp/batch2.jar:/opt/was61/java/lib/tools.jar
              Java Library path = /opt/was61/java/jre/bin:/opt/was61/java/jre/bin:/opt/was61/java/jre/bin/classic:/opt/was61/java/jre/bin:/opt/was61/bin:/opt/was61/java/jre/bin/j9vm:/opt/was61/java/jre/bin/j9vm:/opt/was61/java/jre/bin/j9vm:/lib:/usr/local/lib:/usr/lib:/usr/openwin/lib:/home/nxp/nuke/mysql/mysql-standard-4.0.20-sun-solaris2.8-sparc/lib:/usr/local/lib/gcc-lib/sparc-sun-solaris2.8/3.3.2:/usr/lib

               

Log in to post a comment.