axis-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Larry Edwardson" <bun...@tpg.com.au>
Subject RE: Peer to Peer Web Service
Date Thu, 10 Apr 2003 08:36:00 GMT
MessageMost of app works fine with Axis, when I said Peer to Peer, it was
just a way to explain my search model, it calls a Web Service which in turn
tries to call another by creating a new Service Object, when I call:
service = new Service();
that's when Axis falls over, if JXTA implemented the Soap protocol for it's
transport that might of been an option.

  -----Original Message-----
  From: Dave Searle [mailto:dave@davesearle.co.uk]
  Sent: Thursday, April 10, 2003 4:28 AM
  To: axis-user@ws.apache.org
  Subject: RE: Peer to Peer Web Service


  Hi Larry,

  Take a look at JXTA. This may meet your requirements

  Dave
    -----Original Message-----
    From: Larry Edwardson [mailto:bunnys@tpg.com.au]
    Sent: 10 April 2003 08:35
    To: axis-user@ws.apache.org
    Subject: Peer to Peer Web Service


    Hello, hope someone can help.
    I am trying to implement a peer to peer model using Axis, I have two
versions of the same Web Service running on different ports on my local
machine, I start a search from the first, which calls the second Web service
and so on, when the second Web Service tries to call a third Web Service
Axis throws this

    java.lang.ExceptionInInitializerError
     at
org.apache.axis.configuration.FileProvider.configureEngine(FileProvider.java
:218)
     at org.apache.axis.AxisEngine.init(AxisEngine.java:185)
     at org.apache.axis.AxisEngine.<init>(AxisEngine.java:170)
     at org.apache.axis.client.AxisClient.<init>(AxisClient.java:88)
     at org.apache.axis.client.Service.getAxisClient(Service.java:140)
     at org.apache.axis.client.Service.<init>(Service.java:149)
     at
com.viewdu.service.VWebServiceHandler.<init>(VWebServiceHandler.java:95)
     at com.viewdu.service.VDNavTreeSearch.run(VDNavTreeSearch.java:85)
    Caused by: org.apache.commons.logging.LogConfigurationException:
org.apache.commons.logging.LogConfigurationException:
org.apache.commons.logging.LogConfigurationException: Class
org.apache.commons.logging.impl.Log4JCategoryLog does not implement Log
     at
org.apache.commons.logging.impl.LogFactoryImpl.newInstance(LogFactoryImpl.ja
va:555)
     at
org.apache.commons.logging.impl.LogFactoryImpl.getInstance(LogFactoryImpl.ja
va:289)
     at org.apache.commons.logging.LogFactory.getLog(LogFactory.java:409)
     at
org.apache.axis.components.logger.LogFactory.getLog(LogFactory.java:76)
     at
org.apache.axis.ConfigurationException.<clinit>(ConfigurationException.java:
84)
     ... 8 more
    Caused by: org.apache.commons.logging.LogConfigurationException:
org.apache.commons.logging.LogConfigurationException: Class
org.apache.commons.logging.impl.Log4JCategoryLog does not implement Log
     at
org.apache.commons.logging.impl.LogFactoryImpl.getLogConstructor(LogFactoryI
mpl.java:420)
     at
org.apache.commons.logging.impl.LogFactoryImpl.newInstance(LogFactoryImpl.ja
va:548)
     ... 12 more
    Caused by: org.apache.commons.logging.LogConfigurationException: Class
org.apache.commons.logging.impl.Log4JCategoryLog does not implement Log
     at
org.apache.commons.logging.impl.LogFactoryImpl.getLogConstructor(LogFactoryI
mpl.java:416)
     ... 13 more

    Is it possible for a remote method to call another Service method, or am
I barking up the wrong tree or just barking mad.
    It seems one can only use one instance of the Axis engine.

    Any comments will be gladley recieved.

Mime
View raw message