Hi, I am using Appian 7.3 and try to invoke process from external jav

Hi,

I am using Appian 7.3 and try to invoke process from external java code as giving in the forum. While running the java code i am getting following error:

Exception in thread "main" javax.naming.NamingException: Failed to create remoting connection [Root exception is java.lang.NoSuchMethodError: org/jboss/logging/Logger.tracef(Ljava/lang/String;Ljava/lang/Object;)V]
          at org.jboss.naming.remote.client.ClientUtil.namingException(ClientUtil.java:36)
          at org.jboss.naming.remote.client.InitialContextFactory.getInitialContext(InitialContextFactory.java:121)
          at javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:238)
          at javax.naming.InitialContext.initializeDefaultInitCtx(InitialContext.java:327)
          at javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:357)
          at javax.naming.InitialContext.internalInit(InitialContext.java:295)
          at javax.naming.InitialContext.<init>(InitialContext.java:212)
          at com.appian.Exter...

OriginalPostID-98422

OriginalPostID-98422

  Discussion posts and replies are publicly visible

  • ...nalToProcessMessage.getInitialContext_JBoss(ExternalToProcessMessage.java:51)
              at com.appian.ExternalToProcessMessage.main(ExternalToProcessMessage.java:41)
    Caused by: java.lang.NoSuchMethodError: org/jboss/logging/Logger.tracef(Ljava/lang/String;Ljava/lang/Object;)V
              at org.xnio.nio.NioXnio.<init>(NioXnio.java:76)
              at org.xnio.nio.NioXnioProvider.<clinit>(NioXnioProvider.java:34)
              at java.lang.J9VMInternals.initializeImpl(Native Method)
              at java.lang.J9VMInternals.initialize(J9VMInternals.java:200)
              at java.lang.J9VMInternals.newInstanceImpl(Native Method)
              at java.lang.Class.newInstance(Class.java:1325)
              at java.util.ServiceLoader$ServiceIterator.next(ServiceLoader.java:195)
              at org.xnio.Xnio.doGetInstance(Xnio.java:187)
              at org.xnio.Xnio.getInstance(Xnio.java:146)
              at org.jboss.remoting3.Remoting.createEndpoint(Remoting.java:73)
              at org.jboss.naming.remote.client.EndpointCache.get(EndpointCache.java:44)
              at org.jboss.naming.remote.client.InitialCont...
  • ...extFactory.createEndpoint(InitialContextFactory.java:193)
              at org.jboss.naming.remote.client.InitialContextFactory.getOrCreateEndpoint(InitialContextFactory.java:174)
              at org.jboss.naming.remote.client.InitialContextFactory.getOrCreateNamingStore(InitialContextFactory.java:138)
              at org.jboss.naming.remote.client.InitialContextFactory.getInitialContext(InitialContextFactory.java:104)
              ... 7 more

    Can any one tell which jar is missing to get this error resolved. I have checked over the net and used all the jar as mentioned. But still not able to resolve this.
  • Have you got your JMS port configured correctly? Check it in custom.properties. IT should address to the IP of the server where the app server is running.

    <interface name="public">
    <inet-address value="${jboss.bind.address:0.0.0.0}"/>
    </interface>

    On standalone.xml to

    <interface name="public">
    <inet-address value="${jboss.bind.address:100.100.100.xxx}"/>
    </interface>


    where 100.100.100.xxx = IP address of the server where Jboss is running