You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-user@axis.apache.org by William Walsh <WW...@curamsoftware.com> on 2010/03/22 23:57:24 UTC

Deploying Axis2 and Axis 1.4 in an application server

Hi,

Related to the two threads below, but don't go as far as I need;  I'm wondering if anyone can provide input on how we can/should package our web services for Axis 1.4 and Axis2 for application server (WebSphere, WebLogic, NetWeaver) deployment?  That is, should we package as:

Two separate ear files.
One ear, two separate war files.
One ear, one war file (all combined).

One concern I have is that our application uses Xerces 2.9.1, but Axis2 uses 2.6.2.

Previous threads:
Can Axis1 (1.4 say) and Axis2 clients coexist in the same web-app?
http://marc.info/?l=axis-user&m=121259269006675&w=2

Axis1 and Axis2 - can they coexist
http://marc.info/?l=axis-user&m=118299450912387&w=2

Thanks,
William


The information in this email is confidential and may be legally privileged.
It is intended solely for the addressee. Access to this email by anyone else
is unauthorized. If you are not the intended recipient, any disclosure,
copying, distribution or any action taken or omitted to be taken in reliance
on it, is prohibited and may be unlawful. If you are not the intended
addressee please contact the sender and dispose of this e-mail. Thank you.

RE: serviceClient sendRecieve call gives NullPointer - Axis2 client code

Posted by SM <mo...@yahoo.com>.
Thanks I got this resolved.  Now I am getting read time out exception.  I specified a options.setTimeOutInMilliSeconds(3*60*1000);
but that does not help.  Here is the exception and the client code.  Any tips on resolving this will be helpful.
 
Exception in thread "main" org.apache.axis2.AxisFault: Read timed out
 at org.apache.axis2.AxisFault.makeFault(AxisFault.java:430)
 at org.apache.axis2.transport.http.SOAPMessageFormatter.writeTo(SOAPMessageFormatter.java:83)
 at org.apache.axis2.transport.http.AxisRequestEntity.writeRequest(AxisRequestEntity.java:84)
 at org.apache.commons.httpclient.methods.EntityEnclosingMethod.writeRequestBody(EntityEnclosingMethod.java:499)
 at org.apache.commons.httpclient.HttpMethodBase.writeRequest(HttpMethodBase.java:2114)
 at org.apache.commons.httpclient.HttpMethodBase.execute(HttpMethodBase.java:1096)
 at org.apache.commons.httpclient.HttpMethodDirector.executeWithRetry(HttpMethodDirector.java:398)
 at org.apache.commons.httpclient.HttpMethodDirector.executeMethod(HttpMethodDirector.java:171)
 at org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:397)
 at org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:346)
 at org.apache.axis2.transport.http.AbstractHTTPSender.executeMethod(AbstractHTTPSender.java:542)
 at org.apache.axis2.transport.http.HTTPSender.sendViaPost(HTTPSender.java:199)
 at org.apache.axis2.transport.http.HTTPSender.send(HTTPSender.java:76)
 at org.apache.axis2.transport.http.CommonsHTTPTransportSender.writeMessageWithCommons(CommonsHTTPTransportSender.java:400)
 at org.apache.axis2.transport.http.CommonsHTTPTransportSender.invoke(CommonsHTTPTransportSender.java:225)
 at org.apache.axis2.engine.AxisEngine.send(AxisEngine.java:435)
 at org.apache.axis2.description.OutInAxisOperationClient.send(OutInAxisOperation.java:402)
 at org.apache.axis2.description.OutInAxisOperationClient.executeImpl(OutInAxisOperation.java:229)
 at org.apache.axis2.client.OperationClient.execute(OperationClient.java:165)
 at org.apache.axis2.client.ServiceClient.sendReceive(ServiceClient.java:540)
 at org.apache.axis2.client.ServiceClient.sendReceive(ServiceClient.java:521)
 at tutorial.rampart.client.SecureServiceCGClient.main(SecureServiceCGClient.java:42)
Caused by: com.ctc.wstx.exc.WstxIOException: Read timed out
 at com.ctc.wstx.sw.BaseStreamWriter.flush(BaseStreamWriter.java:313)
 at org.apache.axiom.om.impl.MTOMXMLStreamWriter.flush(MTOMXMLStreamWriter.java:168)
 at org.apache.axiom.om.impl.dom.NodeImpl.serializeAndConsume(NodeImpl.java:830)
 at org.apache.axis2.transport.http.SOAPMessageFormatter.writeTo(SOAPMessageFormatter.java:79)
 ... 20 more
Caused by: java.net.SocketTimeoutException: Read timed out
 at java.net.SocketInputStream.socketRead0(Native Method)
 at java.net.SocketInputStream.read(SocketInputStream.java:129)
 at com.sun.net.ssl.internal.ssl.InputRecord.readFully(InputRecord.java:293)
 at com.sun.net.ssl.internal.ssl.InputRecord.read(InputRecord.java:331)
 at com.sun.net.ssl.internal.ssl.SSLSocketImpl.readRecord(SSLSocketImpl.java:782)
 at com.sun.net.ssl.internal.ssl.SSLSocketImpl.performInitialHandshake(SSLSocketImpl.java:1089)
 at com.sun.net.ssl.internal.ssl.SSLSocketImpl.writeRecord(SSLSocketImpl.java:618)
 at com.sun.net.ssl.internal.ssl.AppOutputStream.write(AppOutputStream.java:59)
 at java.io.BufferedOutputStream.flushBuffer(BufferedOutputStream.java:65)
 at java.io.BufferedOutputStream.write(BufferedOutputStream.java:104)
 at org.apache.commons.httpclient.WireLogOutputStream.write(WireLogOutputStream.java:68)
 at org.apache.commons.httpclient.ChunkedOutputStream.flushCacheWithAppend(ChunkedOutputStream.java:121)
 at org.apache.commons.httpclient.ChunkedOutputStream.write(ChunkedOutputStream.java:179)
 at com.ctc.wstx.io.UTF8Writer.flush(UTF8Writer.java:96)
 at com.ctc.wstx.sw.BufferingXmlWriter.flush(BufferingXmlWriter.java:214)
 at com.ctc.wstx.sw.BaseStreamWriter.flush(BaseStreamWriter.java:311)
 ... 23 more
Disconnected from the target VM, address: '127.0.0.1:1048', transport: 'socket'
\
 
package tutorial.rampart.client;
import org.apache.axiom.om.OMAbstractFactory;
import org.apache.axiom.om.OMElement;
import org.apache.axiom.om.OMFactory;
import org.apache.axiom.om.OMNamespace;
import org.apache.axiom.om.impl.builder.StAXOMBuilder;
import org.apache.axis2.addressing.EndpointReference;
import org.apache.axis2.client.Options;
import org.apache.axis2.client.ServiceClient;
import org.apache.axis2.context.ConfigurationContext;
import org.apache.axis2.context.ConfigurationContextFactory;
import org.apache.neethi.Policy;
import org.apache.neethi.PolicyEngine;
import org.apache.rampart.RampartMessageData;
/**
 * Created by IntelliJ IDEA.
 * User: mxshah
 * Date: Mar 31, 2010
 * Time: 1:58:02 PM
 * To change this template use File | Settings | File Templates.
 */
public class SecureServiceCGClient {
    public static void main(String[] args) throws Exception {
        ConfigurationContext ctx = ConfigurationContextFactory.createConfigurationContextFromFileSystem("C:\\IdeaProjects\\repo", null);
        SecureServiceStub stub = new SecureServiceStub(ctx,"https://127.0.0.1:8080/axis2/services/SecureService");
        ServiceClient sc = stub._getServiceClient();
        sc.engageModule("rampart");
        Options options = sc.getOptions();
        options.setAction("urn:add");
        options.setTimeOutInMilliSeconds(3*60*1000);          
        options.setProperty(RampartMessageData.KEY_RAMPART_POLICY,  loadPolicy("C:\\apache-tomcat-6.0.24\\webapps\\axis2\\WEB-INF\\services\\SecureService\\META-INF\\policy.xml"));
        sc.setOptions(options);
       /* Policy rampartConfig = loadPolicy("C:\\apache-tomcat-6.0.24\\webapps\\axis2\\WEB-INF\\services\\SecureService\\META-INF\\policy.xml");
        sc.getAxisService().getPolicyInclude().addPolicyElement(PolicyInclude.AXIS_SERVICE_POLICY, rampartConfig);    */
        String a = "3";
        String b = "4";
        
        OMElement response = sc.sendReceive(getPayload(a, b));
        System.out.println(response);
    }
        private static Policy loadPolicy(String xmlPath) throws Exception {
            StAXOMBuilder builder = new StAXOMBuilder(xmlPath);
            return PolicyEngine.getPolicy(builder.getDocumentElement());
        }
    private static OMElement getPayload(String val, String val1) {
        OMFactory factory = OMAbstractFactory.getOMFactory();
        OMNamespace ns = factory.createOMNamespace("http://service.rampart.tutorial","ns1");
        OMElement method = factory.createOMElement("add", ns);
        OMElement a = factory.createOMElement("a", null);
        a.setText(val);
        method.addChild(a);
        OMElement b = factory.createOMElement("b", null);
        b.setText(val1);
        method.addChild(b);
        return method;
    }
    
}




      

RE: serviceClient sendRecieve call gives NullPointer - Axis2 client code

Posted by Martin Gainty <mg...@hotmail.com>.
the Rampart group suggests constructing ServiceClient using the ConfigurationContext as first parameter as seen here

 

        ConfigurationContext ctx = ConfigurationContextFactory.createConfigurationContextFromFileSystem(args[1], null);        
        ServiceClient client = new ServiceClient(ctx, null);
        Options options = new Options();
        options.setAction("urn:echo");
        options.setTo(new EndpointReference(args[0]));
        options.setProperty(RampartMessageData.KEY_RAMPART_POLICY,  loadPolicy(args[2]));
        client.setOptions(options);
        client.engageModule("rampart");

        OMElement response = client.sendReceive(getPayload("Hello world"));
        
please ping rampart group for followup

http://ws.apache.org/rampart/mail-lists.html


Martin Gainty 
______________________________________________ 
Verzicht und Vertraulichkeitanmerkung/Note de déni et de confidentialité

Diese Nachricht ist vertraulich. Sollten Sie nicht der vorgesehene Empfaenger sein, so bitten wir hoeflich um eine Mitteilung. Jede unbefugte Weiterleitung oder Fertigung einer Kopie ist unzulaessig. Diese Nachricht dient lediglich dem Austausch von Informationen und entfaltet keine rechtliche Bindungswirkung. Aufgrund der leichten Manipulierbarkeit von E-Mails koennen wir keine Haftung fuer den Inhalt uebernehmen.
Ce message est confidentiel et peut être privilégié. Si vous n'êtes pas le destinataire prévu, nous te demandons avec bonté que pour satisfaire informez l'expéditeur. N'importe quelle diffusion non autorisée ou la copie de ceci est interdite. Ce message sert à l'information seulement et n'aura pas n'importe quel effet légalement obligatoire. Étant donné que les email peuvent facilement être sujets à la manipulation, nous ne pouvons accepter aucune responsabilité pour le contenu fourni.



 



Date: Thu, 1 Apr 2010 15:45:10 -0700
From: moni_sparkle@yahoo.com
Subject: serviceClient sendRecieve call gives NullPointer - Axis2 client code
To: java-user@axis.apache.org







Axis2 client code gives nullpointerexception.  Here is the client code:public class SecureServiceCGClient {    public static void main(String[] args) throws Exception {        ConfigurationContext ctx =ConfigurationContextFactory.createConfigurationContextFromFileSystem("C:\\IdeaProjects\\repo",null);        SecureServiceStub stub = newSecureServiceStub(ctx,"https://localhost:8080/axis2/services/SecureService");        ServiceClient sc = stub._getServiceClient();        sc.engageModule("rampart");        Options options = new Options();        options.setAction("urn:add");        options.setTo(newEndpointReference("http://127.0.0.1:8080/axis2/services/SecureService"));        options.setProperty(RampartMessageData.KEY_RAMPART_POLICY, loadPolicy("C:\\apache-tomcat-6.0.24\\webapps\\axis2\\WEB-INF\\services\\SecureService\\META-INF\\policy.xml"));        sc.setOptions(options);       /* Policy rampartConfig =loadPolicy("C:\\apache-tomcat-6.0.24\\webapps\\axis2\\WEB-INF\\services\\SecureService\\META-INF\\policy.xml");       sc.getAxisService().getPolicyInclude().addPolicyElement(PolicyInclude.AXIS_SERVICE_POLICY,rampartConfig);    */        String a = "3";        String b = "4";                OMElement response = sc.sendReceive(getPayload(a, b));        System.out.println(response);    }        private static Policy loadPolicy(String xmlPath) throws Exception {            StAXOMBuilder builder = new StAXOMBuilder(xmlPath);            return PolicyEngine.getPolicy(builder.getDocumentElement());        }    private static OMElement getPayload(String val, String val1) {        OMFactory factory = OMAbstractFactory.getOMFactory();        OMNamespace ns =factory.createOMNamespace("http://secureservice.tutorial.rampart.apache.org","ns1");        OMElement method = factory.createOMElement("add", ns);        OMElement value1 = factory.createOMElement("value1", ns);        value1.setText(val);        method.addChild(value1);        OMElement value2 = factory.createOMElement("value2", ns);        value1.setText(val1);        method.addChild(value2);        return method;    }    }The exception is Exception in thread "main" java.lang.NullPointerException    atorg.apache.rampart.util.RampartUtil.setKeyIdentifierType(RampartUtil.java:1141)    atorg.apache.rampart.builder.BindingBuilder.getSignatureBuider(BindingBuilder.java:243)    atorg.apache.rampart.builder.AsymmetricBindingBuilder.doSignature(AsymmetricBindingBuilder.java:626)    atorg.apache.rampart.builder.AsymmetricBindingBuilder.doSignBeforeEncrypt(AsymmetricBindingBuilder.java:413)    atorg.apache.rampart.builder.AsymmetricBindingBuilder.build(AsymmetricBindingBuilder.java:93)    at org.apache.rampart.MessageBuilder.build(MessageBuilder.java:147)    at org.apache.rampart.handler.RampartSender.invoke(RampartSender.java:64)    at org.apache.axis2.engine.Phase.invoke(Phase.java:318)    at org.apache.axis2.engine.AxisEngine.invoke(AxisEngine.java:251)    at org.apache.axis2.engine.AxisEngine.send(AxisEngine.java:416)    atorg.apache.axis2.description.OutInAxisOperationClient.send(OutInAxisOperation.java:402)    atorg.apache.axis2.description.OutInAxisOperationClient.executeImpl(OutInAxisOperation.java:229)    atorg.apache.axis2.client.OperationClient.execute(OperationClient.java:165)    atorg.apache.axis2.client.ServiceClient.sendReceive(ServiceClient.java:540)    atorg.apache.axis2.client.ServiceClient.sendReceive(ServiceClient.java:521)    attutorial.rampart.client.SecureServiceCGClient.main(SecureServiceCGClient.java:42)Disconnected from the target VM, address: '127.0.0.1:3967', transport:'socket'Process finished with exit code 1Any tips on resolving this will be helpful.Thanks,Monisha
 		 	   		  
_________________________________________________________________
Hotmail: Trusted email with powerful SPAM protection.
http://clk.atdmt.com/GBL/go/210850553/direct/01/

serviceClient sendRecieve call gives NullPointer - Axis2 client code

Posted by SM <mo...@yahoo.com>.
Axis2 client code gives nullpointerexception.  Here is the client code:

public class SecureServiceCGClient {
    public static void main(String[] args) throws Exception {

        ConfigurationContext ctx =
ConfigurationContextFactory.createConfigurationContextFromFileSystem("C:\\IdeaProjects\\repo",
null);
        SecureServiceStub stub = new
SecureServiceStub(ctx,"https://localhost:8080/axis2/services/SecureService");
        ServiceClient sc = stub._getServiceClient();
        sc.engageModule("rampart");
        Options options = new Options();
        options.setAction("urn:add");
        options.setTo(new
EndpointReference("


      

Testing Axis2 and Secure web service using a java client - read timeout exception

Posted by SM <mo...@yahoo.com>.
Hello all,
  I have created a simple HelloWorld axis2 webservice and it works perfectly when rampart is not engaged.  I made the web service a secure one implementing transport level security as indicated by Nandana in the following tutorial:
 
http://wso2.org/library/3190
 
When I invoke the secure webservice from a client I get the following error:  
 
log4j:WARN No appenders could be found for logger (org.apache.axis2.deployment.FileSystemConfigurator).
log4j:WARN Please initialize the log4j system properly.
Exception in thread "main" org.apache.axis2.AxisFault: Read timed out
 at org.apache.axis2.AxisFault.makeFault(AxisFault.java:430)
 at org.apache.axis2.transport.http.SOAPMessageFormatter.writeTo(SOAPMessageFormatter.java:83)
 at org.apache.axis2.transport.http.AxisRequestEntity.writeRequest(AxisRequestEntity.java:84)
 at org.apache.commons.httpclient.methods.EntityEnclosingMethod.writeRequestBody(EntityEnclosingMethod.java:499)
 at org.apache.commons.httpclient.HttpMethodBase.writeRequest(HttpMethodBase.java:2114)
 at org.apache.commons.httpclient.HttpMethodBase.execute(HttpMethodBase.java:1096)
 at org.apache.commons.httpclient.HttpMethodDirector.executeWithRetry(HttpMethodDirector.java:398)
 at org.apache.commons.httpclient.HttpMethodDirector.executeMethod(HttpMethodDirector.java:171)
 at org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:397)
 at org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:346)
 at org.apache.axis2.transport.http.AbstractHTTPSender.executeMethod(AbstractHTTPSender.java:542)
 at org.apache.axis2.transport.http.HTTPSender.sendViaPost(HTTPSender.java:199)
 at org.apache.axis2.transport.http.HTTPSender.send(HTTPSender.java:76)
 at org.apache.axis2.transport.http.CommonsHTTPTransportSender.writeMessageWithCommons(CommonsHTTPTransportSender.java:400)
 at org.apache.axis2.transport.http.CommonsHTTPTransportSender.invoke(CommonsHTTPTransportSender.java:225)
 at org.apache.axis2.engine.AxisEngine.send(AxisEngine.java:435)
 at org.apache.axis2.description.OutInAxisOperationClient.send(OutInAxisOperation.java:402)
 at org.apache.axis2.description.OutInAxisOperationClient.executeImpl(OutInAxisOperation.java:229)
 at org.apache.axis2.client.OperationClient.execute(OperationClient.java:165)
 at helloworld.HelloWorldServiceStub.add(HelloWorldServiceStub.java:472)
 at helloworld.HelloWorldClient.main(HelloWorldClient.java:35)
Caused by: com.ctc.wstx.exc.WstxIOException: Read timed out
 at com.ctc.wstx.sw.BaseStreamWriter.flush(BaseStreamWriter.java:313)
 at org.apache.axiom.om.impl.MTOMXMLStreamWriter.flush(MTOMXMLStreamWriter.java:168)
 at org.apache.axiom.om.impl.dom.NodeImpl.serializeAndConsume(NodeImpl.java:830)
 at org.apache.axis2.transport.http.SOAPMessageFormatter.writeTo(SOAPMessageFormatter.java:79)
 ... 19 more
Caused by: java.net.SocketTimeoutException: Read timed out
 at java.net.SocketInputStream.socketRead0(Native Method)
 at java.net.SocketInputStream.read(SocketInputStream.java:129)
 at com.sun.net.ssl.internal.ssl.InputRecord.readFully(InputRecord.java:293)
 at com.sun.net.ssl.internal.ssl.InputRecord.read(InputRecord.java:331)
 at com.sun.net.ssl.internal.ssl.SSLSocketImpl.readRecord(SSLSocketImpl.java:782)
 at com.sun.net.ssl.internal.ssl.SSLSocketImpl.performInitialHandshake(SSLSocketImpl.java:1089)
 at com.sun.net.ssl.internal.ssl.SSLSocketImpl.writeRecord(SSLSocketImpl.java:618)
 at com.sun.net.ssl.internal.ssl.AppOutputStream.write(AppOutputStream.java:59)
 at java.io.BufferedOutputStream.flushBuffer(BufferedOutputStream.java:65)
 at java.io.BufferedOutputStream.flush(BufferedOutputStream.java:123)
 at java.io.FilterOutputStream.flush(FilterOutputStream.java:123)
 at org.apache.commons.httpclient.ChunkedOutputStream.flush(ChunkedOutputStream.java:191)
 at com.ctc.wstx.io.UTF8Writer.flush(UTF8Writer.java:99)
 at com.ctc.wstx.sw.BufferingXmlWriter.flush(BufferingXmlWriter.java:214)
 at com.ctc.wstx.sw.BaseStreamWriter.flush(BaseStreamWriter.java:311)
 ... 22 more
Disconnected from the target VM, address: '127.0.0.1:3209', transport: 'socket'

Any tips on resolving this will be help ful.
 
The client code for my app is as follows:
 
public class HelloWorldClient {
    public static void main(String[] args) throws Exception {
    ConfigurationContext ctx = ConfigurationContextFactory.createConfigurationContextFromFileSystem("C:\\Documents and Settings\\mxshah\\HelloWorld\\repo", null);
 HelloWorldServiceStub stub = new HelloWorldServiceStub(ctx,"https://localhost:8443/axis2/services/HelloWorldService");
 ServiceClient sc = stub._getServiceClient();
 sc.engageModule("rampart");
 Options options = sc.getOptions();
 options.setUserName("apache");
 options.setPassword("password");
        options.setTimeOutInMilliSeconds(120000);

  int a = 3;
  int b = 4;
  int result = stub.add(a, b);
  System.out.println(a + " + " + b + " = " + result);
    }
}

 
Thank you!
 
MS


      

Re: Deploying Axis2 and Secure web service

Posted by SM <mo...@yahoo.com>.
Thanks Andreas.  When I start up tomcat 6.0.24 I get the following exception.  Any tips on resolving this will be helpful:[INFO] Clustering has been disabled[ERROR] The addressing-1.5.1.mar module, which is not valid, caused nulljava.lang.ExceptionInInitializerError	at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)	at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)	at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)	at java.lang.reflect.Constructor.newInstance(Constructor.java:501)	at java.lang.Class.newInstance0(Class.java:350)	at java.lang.Class.newInstance(Class.java:303)	at org.apache.axis2.deployment.util.Utils$1.run(Utils.java:97)	at org.apache.axis2.java.security.AccessController.doPrivileged(AccessController.java:132)	at org.apache.axis2.deployment.util.Utils.addFlowHandlers(Utils.java:93)	at
 org.apache.axis2.deployment.DeploymentEngine.addNewModule(DeploymentEngine.java:531)	at org.apache.axis2.deployment.ModuleDeployer.deploy(ModuleDeployer.java:74)	at org.apache.axis2.deployment.repository.util.DeploymentFileData.deploy(DeploymentFileData.java:136)	at org.apache.axis2.deployment.DeploymentEngine.doDeploy(DeploymentEngine.java:659)	at org.apache.axis2.deployment.RepositoryListener.init(RepositoryListener.java:251)	at org.apache.axis2.deployment.RepositoryListener.init2(RepositoryListener.java:68)	at org.apache.axis2.deployment.RepositoryListener.<init>(RepositoryListener.java:63)	at org.apache.axis2.deployment.DeploymentEngine.loadRepository(DeploymentEngine.java:147)	at org.apache.axis2.deployment.WarBasedAxisConfigurator.getAxisConfiguration(WarBasedAxisConfigurator.java:229)	at org.apache.axis2.context.ConfigurationContextFactory.createConfigurationContext(ConfigurationContextFactory.java:64)	at
 org.apache.axis2.transport.http.AxisServlet.initConfigContext(AxisServlet.java:525)	at org.apache.axis2.transport.http.AxisServlet.init(AxisServlet.java:443)	at org.apache.axis2.webapp.AxisAdminServlet.init(AxisAdminServlet.java:56)	at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1173)	at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:993)	at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:4187)	at org.apache.catalina.core.StandardContext.start(StandardContext.java:4496)	at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1045)	at org.apache.catalina.core.StandardHost.start(StandardHost.java:722)	at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1045)	at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:443)	at org.apache.catalina.core.StandardService.start(StandardService.java:516)	at
 org.apache.catalina.core.StandardServer.start(StandardServer.java:710)	at org.apache.catalina.startup.Catalina.start(Catalina.java:593)	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)	at java.lang.reflect.Method.invoke(Method.java:592)	at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:289)	at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:414)Caused by: org.apache.commons.logging.LogConfigurationException: User-specified log class 'org.apache.commons.logging.impl.Log4JLogger' cannot be found or is not useable.	at org.apache.commons.logging.impl.LogFactoryImpl.discoverLogImplementation(LogFactoryImpl.java:874)	at org.apache.commons.logging.impl.LogFactoryImpl.newInstance(LogFactoryImpl.java:604)	at
 org.apache.commons.logging.impl.LogFactoryImpl.getInstance(LogFactoryImpl.java:336)	at org.apache.commons.logging.impl.LogFactoryImpl.getInstance(LogFactoryImpl.java:310)	at org.apache.commons.logging.LogFactory.getLog(LogFactory.java:685)	at org.apache.axis2.handlers.addressing.AddressingInHandler.<clinit>(AddressingInHandler.java:55)	... 39 more[ERROR] The mex-1.5.1.mar module, which is not valid, caused nulljava.lang.ExceptionInInitializerError	at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)	at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)	at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)	at java.lang.reflect.Constructor.newInstance(Constructor.java:501)	at java.lang.Class.newInstance0(Class.java:350)	at java.lang.Class.newInstance(Class.java:303)	at org.apache.axis2.deployment.ModuleBuilder$1.run(ModuleBuilder.java:73)	at
 org.apache.axis2.java.security.AccessController.doPrivileged(AccessController.java:132)	at org.apache.axis2.deployment.ModuleBuilder.loadModuleClass(ModuleBuilder.java:71)	at org.apache.axis2.deployment.ModuleBuilder.populateModule(ModuleBuilder.java:106)	at org.apache.axis2.deployment.repository.util.ArchiveReader.readModuleArchive(ArchiveReader.java:516)	at org.apache.axis2.deployment.ModuleDeployer.deploy(ModuleDeployer.java:71)	at org.apache.axis2.deployment.repository.util.DeploymentFileData.deploy(DeploymentFileData.java:136)	at org.apache.axis2.deployment.DeploymentEngine.doDeploy(DeploymentEngine.java:659)	at org.apache.axis2.deployment.RepositoryListener.init(RepositoryListener.java:251)	at org.apache.axis2.deployment.RepositoryListener.init2(RepositoryListener.java:68)	at org.apache.axis2.deployment.RepositoryListener.<init>(RepositoryListener.java:63)	at org.apache.axis2.deployment.DeploymentEngine.loadRepository(DeploymentEngine.java:147)	at
 org.apache.axis2.deployment.WarBasedAxisConfigurator.getAxisConfiguration(WarBasedAxisConfigurator.java:229)	at org.apache.axis2.context.ConfigurationContextFactory.createConfigurationContext(ConfigurationContextFactory.java:64)	at org.apache.axis2.transport.http.AxisServlet.initConfigContext(AxisServlet.java:525)	at org.apache.axis2.transport.http.AxisServlet.init(AxisServlet.java:443)	at org.apache.axis2.webapp.AxisAdminServlet.init(AxisAdminServlet.java:56)	at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1173)	at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:993)	at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:4187)	at org.apache.catalina.core.StandardContext.start(StandardContext.java:4496)	at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1045)	at org.apache.catalina.core.StandardHost.start(StandardHost.java:722)	at
 org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1045)	at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:443)	at org.apache.catalina.core.StandardService.start(StandardService.java:516)	at org.apache.catalina.core.StandardServer.start(StandardServer.java:710)	at org.apache.catalina.startup.Catalina.start(Catalina.java:593)	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)	at java.lang.reflect.Method.invoke(Method.java:592)	at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:289)	at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:414)Caused by: org.apache.commons.logging.LogConfigurationException: User-specified log class 'org.apache.commons.logging.impl.Log4JLogger' cannot be found or is not useable.	at
 org.apache.commons.logging.impl.LogFactoryImpl.discoverLogImplementation(LogFactoryImpl.java:874)	at org.apache.commons.logging.impl.LogFactoryImpl.newInstance(LogFactoryImpl.java:604)	at org.apache.commons.logging.impl.LogFactoryImpl.getInstance(LogFactoryImpl.java:336)	at org.apache.commons.logging.impl.LogFactoryImpl.getInstance(LogFactoryImpl.java:310)	at org.apache.commons.logging.LogFactory.getLog(LogFactory.java:685)	at org.apache.axis2.mex.MetadataExchangeModule.<clinit>(MetadataExchangeModule.java:38)	... 40 more[INFO] Deploying module: mtompolicy-1.5.1 - file:/C:/Documents and Settings/mxshah/workspace/.metadata/.plugins/org.eclipse.wst.server.core/tmp0/wtpwebapps/Axis2WSTest/WEB-INF/modules/mtompolicy-1.5.1.mar[INFO] Deploying module: ping-1.5.1 - file:/C:/Documents and Settings/mxshah/workspace/.metadata/.plugins/org.eclipse.wst.server.core/tmp0/wtpwebapps/Axis2WSTest/WEB-INF/modules/ping-1.5.1.mar[INFO] Deploying module: script-1.5.1 -
 file:/C:/Documents and Settings/mxshah/workspace/.metadata/.plugins/org.eclipse.wst.server.core/tmp0/wtpwebapps/Axis2WSTest/WEB-INF/modules/scripting-1.5.1.mar[INFO] Deploying module: soapmonitor-1.5.1 - file:/C:/Documents and Settings/mxshah/workspace/.metadata/.plugins/org.eclipse.wst.server.core/tmp0/wtpwebapps/Axis2WSTest/WEB-INF/modules/soapmonitor-1.5.1.mar[ERROR] The axis2-1.5.jar module, which is not valid, caused nulljava.lang.NoClassDefFoundError	at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)	at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)	at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)	at java.lang.reflect.Constructor.newInstance(Constructor.java:501)	at java.lang.Class.newInstance0(Class.java:350)	at java.lang.Class.newInstance(Class.java:303)	at org.apache.axis2.deployment.util.Utils$1.run(Utils.java:97)	at
 org.apache.axis2.java.security.AccessController.doPrivileged(AccessController.java:132)	at org.apache.axis2.deployment.util.Utils.addFlowHandlers(Utils.java:93)	at org.apache.axis2.deployment.DeploymentEngine.addNewModule(DeploymentEngine.java:531)	at org.apache.axis2.deployment.ModuleDeployer.deploy(ModuleDeployer.java:74)	at org.apache.axis2.deployment.repository.util.DeploymentFileData.deploy(DeploymentFileData.java:136)	at org.apache.axis2.deployment.DeploymentEngine.doDeploy(DeploymentEngine.java:659)	at org.apache.axis2.deployment.RepositoryListener.loadClassPathModules(RepositoryListener.java:209)	at org.apache.axis2.deployment.RepositoryListener.init2(RepositoryListener.java:70)	at org.apache.axis2.deployment.RepositoryListener.<init>(RepositoryListener.java:63)	at org.apache.axis2.deployment.DeploymentEngine.loadRepository(DeploymentEngine.java:147)	at
 org.apache.axis2.deployment.WarBasedAxisConfigurator.getAxisConfiguration(WarBasedAxisConfigurator.java:229)	at org.apache.axis2.context.ConfigurationContextFactory.createConfigurationContext(ConfigurationContextFactory.java:64)	at org.apache.axis2.transport.http.AxisServlet.initConfigContext(AxisServlet.java:525)	at org.apache.axis2.transport.http.AxisServlet.init(AxisServlet.java:443)	at org.apache.axis2.webapp.AxisAdminServlet.init(AxisAdminServlet.java:56)	at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1173)	at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:993)	at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:4187)	at org.apache.catalina.core.StandardContext.start(StandardContext.java:4496)	at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1045)	at org.apache.catalina.core.StandardHost.start(StandardHost.java:722)	at
 org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1045)	at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:443)	at org.apache.catalina.core.StandardService.start(StandardService.java:516)	at org.apache.catalina.core.StandardServer.start(StandardServer.java:710)	at org.apache.catalina.startup.Catalina.start(Catalina.java:593)	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)	at java.lang.reflect.Method.invoke(Method.java:592)	at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:289)	at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:414)[ERROR] The mex-1.5.1.jar module, which is not valid, caused nulljava.lang.NoClassDefFoundError	at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)	at
 sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)	at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)	at java.lang.reflect.Constructor.newInstance(Constructor.java:501)	at java.lang.Class.newInstance0(Class.java:350)	at java.lang.Class.newInstance(Class.java:303)	at org.apache.axis2.deployment.ModuleBuilder$1.run(ModuleBuilder.java:73)	at org.apache.axis2.java.security.AccessController.doPrivileged(AccessController.java:132)	at org.apache.axis2.deployment.ModuleBuilder.loadModuleClass(ModuleBuilder.java:71)	at org.apache.axis2.deployment.ModuleBuilder.populateModule(ModuleBuilder.java:106)	at org.apache.axis2.deployment.repository.util.ArchiveReader.readModuleArchive(ArchiveReader.java:516)	at org.apache.axis2.deployment.ModuleDeployer.deploy(ModuleDeployer.java:71)	at
 org.apache.axis2.deployment.repository.util.DeploymentFileData.deploy(DeploymentFileData.java:136)	at org.apache.axis2.deployment.DeploymentEngine.doDeploy(DeploymentEngine.java:659)	at org.apache.axis2.deployment.RepositoryListener.loadClassPathModules(RepositoryListener.java:209)	at org.apache.axis2.deployment.RepositoryListener.init2(RepositoryListener.java:70)	at org.apache.axis2.deployment.RepositoryListener.<init>(RepositoryListener.java:63)	at org.apache.axis2.deployment.DeploymentEngine.loadRepository(DeploymentEngine.java:147)	at org.apache.axis2.deployment.WarBasedAxisConfigurator.getAxisConfiguration(WarBasedAxisConfigurator.java:229)	at org.apache.axis2.context.ConfigurationContextFactory.createConfigurationContext(ConfigurationContextFactory.java:64)	at org.apache.axis2.transport.http.AxisServlet.initConfigContext(AxisServlet.java:525)	at org.apache.axis2.transport.http.AxisServlet.init(AxisServlet.java:443)	at
 org.apache.axis2.webapp.AxisAdminServlet.init(AxisAdminServlet.java:56)	at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1173)	at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:993)	at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:4187)	at org.apache.catalina.core.StandardContext.start(StandardContext.java:4496)	at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1045)	at org.apache.catalina.core.StandardHost.start(StandardHost.java:722)	at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1045)	at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:443)	at org.apache.catalina.core.StandardService.start(StandardService.java:516)	at org.apache.catalina.core.StandardServer.start(StandardServer.java:710)	at org.apache.catalina.startup.Catalina.start(Catalina.java:593)	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)	at
 sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)	at java.lang.reflect.Method.invoke(Method.java:592)	at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:289)	at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:414)[INFO] org.apache.axis2.AxisFault: The system is attempting to engage a module that is not available: addressing
Best wishes,Monisha
--- On Fri, 3/26/10, Andreas Veithen <an...@gmail.com> wrote:

From: Andreas Veithen <an...@gmail.com>
Subject: Re: Deploying Axis2 and Secure web service
To: java-user@axis.apache.org
Date: Friday, March 26, 2010, 12:34 PM

Nope, you need to change the generated web.xml to use
org.apache.axis2.webapp.AxisAdminServlet instead of
org.apache.axis2.transport.http.AxisAdminServlet. For an overview of
the compatibility issues between Axis2 1.5 and Eclipse JST, see
AXIS2-4464.

Andreas

On Fri, Mar 26, 2010 at 06:49, Chinmoy Chakraborty <cc...@gmail.com> wrote:
>
> You have to add org.apache.axis2.webapp.AxisAdminServlet.class manually. This class file is there in the binary distribution. You can look at AXIS2-4467 ....
>
>
>
> On Fri, Mar 26, 2010 at 5:37 AM, SM <mo...@yahoo.com> wrote:
>>
>> Thanks Nandana.
>>  I used eclipse Gamypede to generate webservices in the past with tomcat 6.  Was using the service archive and the code generator wizard.  However the loading of axis2 fails with the following error on a new version of eclipse Galileo 3.5SR2.  Tomcat version 6.0 is being used.
>> repositories:
>>     /WEB-INF/classes/
>> ----------> Parent Classloader:
>> org.apache.catalina.loader.StandardClassLoader@6e70c7
>>  org.apache.axis2.transport.http.AxisAdminServlet
>> java.lang.ClassNotFoundException: org.apache.axis2.transport.http.AxisAdminServlet
>> at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1484)
>> at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1329)
>> at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1095)
>> at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:993)
>> at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:4187)
>> at org.apache.catalina.core.StandardContext.start(StandardContext.java:4496)
>> at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1045)
>> at org.apache.catalina.core.StandardHost.start(StandardHost.java:722)
>> at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1045)
>> at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:443)
>> at org.apache.catalina.core.StandardService.start(StandardService.java:516)
>> at org.apache.catalina.core.StandardServer.start(StandardServer.java:710)
>> at org.apache.catalina.startup.Catalina.start(Catalina.java:593)
>> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>> at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
>> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>> at java.lang.reflect.Method.invoke(Method.java:592)
>> at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:289)
>> at org.apache.catalina.startup.Bootstrap.main(Boots
>> I want to deploy, test and then make it a secure web service.  Any tips or pointers will be helpful.
>> Thanks,
>> Monisha
>> --- On Tue, 3/23/10, Nandana Mihindukulasooriya <na...@gmail.com> wrote:
>>
>> From: Nandana Mihindukulasooriya <na...@gmail.com>
>> Subject: Re: Deploying Axis2 and Secure web service
>> To: java-user@axis.apache.org, moni_sparkle@yahoo.com
>> Date: Tuesday, March 23, 2010, 4:56 PM
>>
>> Hi Monisha,
>>           Apache Rampart is the module which is used to secure Axis2 based web services and the information here [1],[2] will be useful.
>>
>> Best regards,
>> Nandana
>>
>> [1] - http://ws.apache.org/rampart/articles.html
>> [2] - http://wso2.org/library/3190
>>
>> On Wed, Mar 24, 2010 at 12:43 AM, SM <mo...@yahoo.com> wrote:
>>>
>>> Hi all,
>>>   Is there a tutorial that any of u can point me to so that I can create a secure web service.  That is a web service incorporating the ws-security standards when creating the webservice and also when creating the client that communicates with this web service.
>>>
>>> Your response in this regards will be appreciated.
>>>
>>> Best,
>>> Monisha
>>
>>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: java-user-unsubscribe@axis.apache.org
For additional commands, e-mail: java-user-help@axis.apache.org




      

Re: Deploying Axis2 and Secure web service

Posted by Andreas Veithen <an...@gmail.com>.
Nope, you need to change the generated web.xml to use
org.apache.axis2.webapp.AxisAdminServlet instead of
org.apache.axis2.transport.http.AxisAdminServlet. For an overview of
the compatibility issues between Axis2 1.5 and Eclipse JST, see
AXIS2-4464.

Andreas

On Fri, Mar 26, 2010 at 06:49, Chinmoy Chakraborty <cc...@gmail.com> wrote:
>
> You have to add org.apache.axis2.webapp.AxisAdminServlet.class manually. This class file is there in the binary distribution. You can look at AXIS2-4467 ....
>
>
>
> On Fri, Mar 26, 2010 at 5:37 AM, SM <mo...@yahoo.com> wrote:
>>
>> Thanks Nandana.
>>  I used eclipse Gamypede to generate webservices in the past with tomcat 6.  Was using the service archive and the code generator wizard.  However the loading of axis2 fails with the following error on a new version of eclipse Galileo 3.5SR2.  Tomcat version 6.0 is being used.
>> repositories:
>>     /WEB-INF/classes/
>> ----------> Parent Classloader:
>> org.apache.catalina.loader.StandardClassLoader@6e70c7
>>  org.apache.axis2.transport.http.AxisAdminServlet
>> java.lang.ClassNotFoundException: org.apache.axis2.transport.http.AxisAdminServlet
>> at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1484)
>> at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1329)
>> at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1095)
>> at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:993)
>> at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:4187)
>> at org.apache.catalina.core.StandardContext.start(StandardContext.java:4496)
>> at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1045)
>> at org.apache.catalina.core.StandardHost.start(StandardHost.java:722)
>> at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1045)
>> at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:443)
>> at org.apache.catalina.core.StandardService.start(StandardService.java:516)
>> at org.apache.catalina.core.StandardServer.start(StandardServer.java:710)
>> at org.apache.catalina.startup.Catalina.start(Catalina.java:593)
>> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>> at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
>> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>> at java.lang.reflect.Method.invoke(Method.java:592)
>> at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:289)
>> at org.apache.catalina.startup.Bootstrap.main(Boots
>> I want to deploy, test and then make it a secure web service.  Any tips or pointers will be helpful.
>> Thanks,
>> Monisha
>> --- On Tue, 3/23/10, Nandana Mihindukulasooriya <na...@gmail.com> wrote:
>>
>> From: Nandana Mihindukulasooriya <na...@gmail.com>
>> Subject: Re: Deploying Axis2 and Secure web service
>> To: java-user@axis.apache.org, moni_sparkle@yahoo.com
>> Date: Tuesday, March 23, 2010, 4:56 PM
>>
>> Hi Monisha,
>>           Apache Rampart is the module which is used to secure Axis2 based web services and the information here [1],[2] will be useful.
>>
>> Best regards,
>> Nandana
>>
>> [1] - http://ws.apache.org/rampart/articles.html
>> [2] - http://wso2.org/library/3190
>>
>> On Wed, Mar 24, 2010 at 12:43 AM, SM <mo...@yahoo.com> wrote:
>>>
>>> Hi all,
>>>   Is there a tutorial that any of u can point me to so that I can create a secure web service.  That is a web service incorporating the ws-security standards when creating the webservice and also when creating the client that communicates with this web service.
>>>
>>> Your response in this regards will be appreciated.
>>>
>>> Best,
>>> Monisha
>>
>>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: java-user-unsubscribe@axis.apache.org
For additional commands, e-mail: java-user-help@axis.apache.org


Re: Deploying a web service on tomcat gives HTTP Status 404 error

Posted by SM <mo...@yahoo.com>.
The tomcat log files have nothing in them.  Only INFO messages.  What other log can I check, please let me know.  I am debugging from within the eclipse environment.
Thanks,
Monisha

--- On Fri, 3/26/10, Ron Wheeler <rw...@artifact-software.com> wrote:

From: Ron Wheeler <rw...@artifact-software.com>
Subject: Re: Deploying a web service on tomcat gives HTTP Status 404 error
To: java-user@axis.apache.org
Date: Friday, March 26, 2010, 3:40 PM

What does the log file say?

Ron

SM wrote:
>
>     Hi all:
>       I have created a simple web service using eclipse and tomcat
>     6.0.24, however when I try to test this webservice using Debug on
>     Server I get the following error:
>
>
>       HTTP Status 404 - /Axis2WSTest/
>
>     ------------------------------------------------------------------------
>
>     *type* Status report
>
>     *message* _/Axis2WSTest/_
>
>     *description* _The requested resource (/Axis2WSTest/) is not
>     available._
>
>     ------------------------------------------------------------------------
>
>
>           Apache Tomcat/6.0.24
>
>
>     How do I debug this further, any tips will be much appreciated.
>
>     Best regards,
>
>     Monisha
>
>


---------------------------------------------------------------------
To unsubscribe, e-mail: java-user-unsubscribe@axis.apache.org
For additional commands, e-mail: java-user-help@axis.apache.org




      

Re: Deploying a web service on tomcat gives HTTP Status 404 error

Posted by Ron Wheeler <rw...@artifact-software.com>.
What does the log file say?

Ron

SM wrote:
>
>     Hi all:
>       I have created a simple web service using eclipse and tomcat
>     6.0.24, however when I try to test this webservice using Debug on
>     Server I get the following error:
>
>
>       HTTP Status 404 - /Axis2WSTest/
>
>     ------------------------------------------------------------------------
>
>     *type* Status report
>
>     *message* _/Axis2WSTest/_
>
>     *description* _The requested resource (/Axis2WSTest/) is not
>     available._
>
>     ------------------------------------------------------------------------
>
>
>           Apache Tomcat/6.0.24
>
>
>     How do I debug this further, any tips will be much appreciated.
>
>     Best regards,
>
>     Monisha
>
>


---------------------------------------------------------------------
To unsubscribe, e-mail: java-user-unsubscribe@axis.apache.org
For additional commands, e-mail: java-user-help@axis.apache.org


Deploying a web service on tomcat gives HTTP Status 404 error

Posted by SM <mo...@yahoo.com>.
Hi all:  I have created a simple web service using eclipse and tomcat 6.0.24, however when I try to test this webservice using Debug on Server I get the following error:HTTP Status 404 - /Axis2WSTest/


type Status report
message /Axis2WSTest/
description The requested resource (/Axis2WSTest/) is not 
available.


Apache Tomcat/6.0.24
How do I debug this further, any tips will be much appreciated.
Best regards,
Monisha



      

Re: Deploying Axis2 and Secure web service

Posted by SM <mo...@yahoo.com>.
The error comes up only when starting Tomcat 6 from with the eclipse environment, not when I start the same instance of the server from command line.  How does it find the class when started from the command line and not when started from the eclipse environment.  Any pointers will be appreciated.

Thanks,
Monisha



--- On Thu, 3/25/10, Chinmoy Chakraborty <cc...@gmail.com> wrote:

From: Chinmoy Chakraborty <cc...@gmail.com>
Subject: Re: Deploying Axis2 and Secure web service
To: java-user@axis.apache.org, moni_sparkle@yahoo.com
Cc: "Nandana Mihindukulasooriya" <na...@gmail.com>
Date: Thursday, March 25, 2010, 10:49 PM

You have to add org.apache.axis2.webapp.AxisAdminServlet.class manually. This class file is there in the binary distribution. You can look at AXIS2-4467 ....





On Fri, Mar 26, 2010 at 5:37 AM, SM <mo...@yahoo.com> wrote:

Thanks Nandana.
 I used eclipse Gamypede to generate webservices in the past with tomcat 6.  Was using the service archive and the code generator wizard.  However the loading of axis2 fails with the following error on a new version of eclipse Galileo 3.5SR2.  Tomcat version 6.0 is being used.  

	repositories:    /WEB-INF/classes/----------> Parent Classloader:org.apache.catalina.loader.StandardClassLoader@6e70c7
 org.apache.axis2.transport.http.AxisAdminServletjava.lang.ClassNotFoundException: org.apache.axis2.transport.http.AxisAdminServlet	at
 org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1484)	at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1329)
	at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1095)	at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:993)
	at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:4187)	at org.apache.catalina.core.StandardContext.start(StandardContext.java:4496)
	at
 org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1045)	at org.apache.catalina.core.StandardHost.start(StandardHost.java:722)	at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1045)
	at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:443)	at org.apache.catalina.core.StandardService.start(StandardService.java:516)
	at org.apache.catalina.core.StandardServer.start(StandardServer.java:710)	at org.apache.catalina.startup.Catalina.start(Catalina.java:593)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)	at java.lang.reflect.Method.invoke(Method.java:592)
	at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:289)	at org.apache.catalina.startup.Bootstrap.main(Boots

I want to deploy, test and then make it a secure web service.  Any tips or pointers will be
 helpful.
Thanks,Monisha--- On Tue, 3/23/10, Nandana Mihindukulasooriya <na...@gmail.com> wrote:


From: Nandana Mihindukulasooriya <na...@gmail.com>

Subject: Re: Deploying Axis2 and Secure web service
To: java-user@axis.apache.org, moni_sparkle@yahoo.com

Date: Tuesday, March 23, 2010, 4:56 PM

Hi Monisha,
          Apache Rampart is the module which is used to secure Axis2 based web services and the information here [1],[2] will be useful. 


Best regards,
Nandana

[1] - http://ws.apache.org/rampart/articles.html

[2] - http://wso2.org/library/3190

On Wed, Mar 24, 2010 at 12:43 AM, SM <mo...@yahoo.com> wrote:




Hi all,
  Is there a tutorial that any of u can point me to so that I can create a secure web service.  That is a web service incorporating the ws-security standards when creating the webservice and also when creating the client that communicates with this web service.


 
Your response in this regards will be appreciated.
 
Best,
Monisha


      




      




      

Starting tomcat causes--> addressing-1.5.1.mar module, which is not valid, caused org.apache.axis2.handlers.addressing.AddressingInHandler java.lang.ClassCastException

Posted by SM <mo...@yahoo.com>.
Trying to start tomcat 6.0.24 from eclipse I get the following exception.  Any tips on resolving this will be appreciated:[INFO] Clustering has been disabledlog4j:ERROR A "org.apache.log4j.ConsoleAppender" object is not assignable to a "org.apache.log4j.Appender" variable.log4j:ERROR The class "org.apache.log4j.Appender" was loaded by log4j:ERROR [org.apache.catalina.loader.StandardClassLoader@ba6c83] whereas object of type log4j:ERROR "org.apache.log4j.ConsoleAppender" was loaded by [WebappClassLoader  delegate: false  repositories:    /WEB-INF/classes/----------> Parent Classloader:org.apache.catalina.loader.StandardClassLoader@ba6c83].log4j:ERROR Could not instantiate appender named "CONSOLE".[ERROR] The addressing-1.5.1.mar module, which is not valid, caused org.apache.axis2.handlers.addressing.AddressingInHandlerjava.lang.ClassCastException: org.apache.axis2.handlers.addressing.AddressingInHandler	at
 org.apache.axis2.deployment.util.Utils.addFlowHandlers(Utils.java:93)	at org.apache.axis2.deployment.DeploymentEngine.addNewModule(DeploymentEngine.java:531)	at org.apache.axis2.deployment.ModuleDeployer.deploy(ModuleDeployer.java:74)	at org.apache.axis2.deployment.repository.util.DeploymentFileData.deploy(DeploymentFileData.java:136)	at org.apache.axis2.deployment.DeploymentEngine.doDeploy(DeploymentEngine.java:659)	at org.apache.axis2.deployment.RepositoryListener.init(RepositoryListener.java:251)	at org.apache.axis2.deployment.RepositoryListener.init2(RepositoryListener.java:68)	at org.apache.axis2.deployment.RepositoryListener.<init>(RepositoryListener.java:63)	at org.apache.axis2.deployment.DeploymentEngine.loadRepository(DeploymentEngine.java:147)	at org.apache.axis2.deployment.WarBasedAxisConfigurator.getAxisConfiguration(WarBasedAxisConfigurator.java:229)	at
 org.apache.axis2.context.ConfigurationContextFactory.createConfigurationContext(ConfigurationContextFactory.java:64)	at org.apache.axis2.transport.http.AxisServlet.initConfigContext(AxisServlet.java:525)	at org.apache.axis2.transport.http.AxisServlet.init(AxisServlet.java:443)	at org.apache.axis2.webapp.AxisAdminServlet.init(AxisAdminServlet.java:56)	at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1173)	at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:993)	at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:4187)	at org.apache.catalina.core.StandardContext.start(StandardContext.java:4496)	at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1045)	at org.apache.catalina.core.StandardHost.start(StandardHost.java:722)	at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1045)	at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:443)	at
 org.apache.catalina.core.StandardService.start(StandardService.java:516)	at org.apache.catalina.core.StandardServer.start(StandardServer.java:710)	at org.apache.catalina.startup.Catalina.start(Catalina.java:593)	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)	at java.lang.reflect.Method.invoke(Method.java:592)	at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:289)	at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:414)[ERROR] The mex-1.5.1.mar module, which is not valid, caused org.apache.axis2.mex.MetadataExchangeModuleorg.apache.axis2.deployment.DeploymentException: org.apache.axis2.mex.MetadataExchangeModule	at org.apache.axis2.deployment.repository.util.ArchiveReader.readModuleArchive(ArchiveReader.java:529)	at
 org.apache.axis2.deployment.ModuleDeployer.deploy(ModuleDeployer.java:71)	at org.apache.axis2.deployment.repository.util.DeploymentFileData.deploy(DeploymentFileData.java:136)	at org.apache.axis2.deployment.DeploymentEngine.doDeploy(DeploymentEngine.java:659)	at org.apache.axis2.deployment.RepositoryListener.init(RepositoryListener.java:251)	at org.apache.axis2.deployment.RepositoryListener.init2(RepositoryListener.java:68)	at org.apache.axis2.deployment.RepositoryListener.<init>(RepositoryListener.java:63)	at org.apache.axis2.deployment.DeploymentEngine.loadRepository(DeploymentEngine.java:147)	at org.apache.axis2.deployment.WarBasedAxisConfigurator.getAxisConfiguration(WarBasedAxisConfigurator.java:229)	at org.apache.axis2.context.ConfigurationContextFactory.createConfigurationContext(ConfigurationContextFactory.java:64)	at org.apache.axis2.transport.http.AxisServlet.initConfigContext(AxisServlet.java:525)	at
 org.apache.axis2.transport.http.AxisServlet.init(AxisServlet.java:443)	at org.apache.axis2.webapp.AxisAdminServlet.init(AxisAdminServlet.java:56)	at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1173)	at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:993)	at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:4187)	at org.apache.catalina.core.StandardContext.start(StandardContext.java:4496)	at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1045)	at org.apache.catalina.core.StandardHost.start(StandardHost.java:722)	at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1045)	at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:443)	at org.apache.catalina.core.StandardService.start(StandardService.java:516)	at org.apache.catalina.core.StandardServer.start(StandardServer.java:710)	at
 org.apache.catalina.startup.Catalina.start(Catalina.java:593)	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)	at java.lang.reflect.Method.invoke(Method.java:592)	at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:289)	at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:414)Caused by: org.apache.axis2.deployment.DeploymentException: org.apache.axis2.mex.MetadataExchangeModule	at org.apache.axis2.deployment.ModuleBuilder.populateModule(ModuleBuilder.java:217)	at org.apache.axis2.deployment.repository.util.ArchiveReader.readModuleArchive(ArchiveReader.java:516)	... 29 moreCaused by: org.apache.axis2.deployment.DeploymentException: org.apache.axis2.mex.MetadataExchangeModule	at
 org.apache.axis2.deployment.ModuleBuilder.loadModuleClass(ModuleBuilder.java:83)	at org.apache.axis2.deployment.ModuleBuilder.populateModule(ModuleBuilder.java:106)	... 30 moreCaused by: java.lang.ClassCastException: org.apache.axis2.mex.MetadataExchangeModule	at org.apache.axis2.deployment.ModuleBuilder$1.run(ModuleBuilder.java:73)	at org.apache.axis2.java.security.AccessController.doPrivileged(AccessController.java:132)	at org.apache.axis2.deployment.ModuleBuilder.loadModuleClass(ModuleBuilder.java:71)	... 31 more[INFO] Deploying module: mtompolicy-1.5.1 - file:/C:/Documents and Settings/mxshah/workspace/.metadata/.plugins/org.eclipse.wst.server.core/tmp0/wtpwebapps/Axis2WSTest/WEB-INF/modules/mtompolicy-1.5.1.mar[INFO] Deploying module: ping-1.5.1 - file:/C:/Documents and Settings/mxshah/workspace/.metadata/.plugins/org.eclipse.wst.server.core/tmp0/wtpwebapps/Axis2WSTest/WEB-INF/modules/ping-1.5.1.mar[INFO] Deploying module: script-1.5.1 -
 file:/C:/Documents and Settings/mxshah/workspace/.metadata/.plugins/org.eclipse.wst.server.core/tmp0/wtpwebapps/Axis2WSTest/WEB-INF/modules/scripting-1.5.1.mar[INFO] Deploying module: soapmonitor-1.5.1 - file:/C:/Documents and Settings/mxshah/workspace/.metadata/.plugins/org.eclipse.wst.server.core/tmp0/wtpwebapps/Axis2WSTest/WEB-INF/modules/soapmonitor-1.5.1.mar[ERROR] The axis2-1.5.jar module, which is not valid, caused org.apache.axis2.handlers.addressing.AddressingInHandlerjava.lang.ClassCastException: org.apache.axis2.handlers.addressing.AddressingInHandler	at org.apache.axis2.deployment.util.Utils.addFlowHandlers(Utils.java:93)	at org.apache.axis2.deployment.DeploymentEngine.addNewModule(DeploymentEngine.java:531)	at org.apache.axis2.deployment.ModuleDeployer.deploy(ModuleDeployer.java:74)	at org.apache.axis2.deployment.repository.util.DeploymentFileData.deploy(DeploymentFileData.java:136)	at
 org.apache.axis2.deployment.DeploymentEngine.doDeploy(DeploymentEngine.java:659)	at org.apache.axis2.deployment.RepositoryListener.loadClassPathModules(RepositoryListener.java:209)	at org.apache.axis2.deployment.RepositoryListener.init2(RepositoryListener.java:70)	at org.apache.axis2.deployment.RepositoryListener.<init>(RepositoryListener.java:63)	at org.apache.axis2.deployment.DeploymentEngine.loadRepository(DeploymentEngine.java:147)	at org.apache.axis2.deployment.WarBasedAxisConfigurator.getAxisConfiguration(WarBasedAxisConfigurator.java:229)	at org.apache.axis2.context.ConfigurationContextFactory.createConfigurationContext(ConfigurationContextFactory.java:64)	at org.apache.axis2.transport.http.AxisServlet.initConfigContext(AxisServlet.java:525)	at org.apache.axis2.transport.http.AxisServlet.init(AxisServlet.java:443)	at org.apache.axis2.webapp.AxisAdminServlet.init(AxisAdminServlet.java:56)	at
 org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1173)	at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:993)	at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:4187)	at org.apache.catalina.core.StandardContext.start(StandardContext.java:4496)	at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1045)	at org.apache.catalina.core.StandardHost.start(StandardHost.java:722)	at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1045)	at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:443)	at org.apache.catalina.core.StandardService.start(StandardService.java:516)	at org.apache.catalina.core.StandardServer.start(StandardServer.java:710)	at org.apache.catalina.startup.Catalina.start(Catalina.java:593)	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)	at java.lang.reflect.Method.invoke(Method.java:592)	at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:289)	at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:414)[ERROR] The mex-1.5.1.jar module, which is not valid, caused org.apache.axis2.mex.MetadataExchangeModuleorg.apache.axis2.deployment.DeploymentException: org.apache.axis2.mex.MetadataExchangeModule	at org.apache.axis2.deployment.repository.util.ArchiveReader.readModuleArchive(ArchiveReader.java:529)	at org.apache.axis2.deployment.ModuleDeployer.deploy(ModuleDeployer.java:71)	at org.apache.axis2.deployment.repository.util.DeploymentFileData.deploy(DeploymentFileData.java:136)	at org.apache.axis2.deployment.DeploymentEngine.doDeploy(DeploymentEngine.java:659)	at org.apache.axis2.deployment.RepositoryListener.loadClassPathModules(RepositoryListener.java:209)	at
 org.apache.axis2.deployment.RepositoryListener.init2(RepositoryListener.java:70)	at org.apache.axis2.deployment.RepositoryListener.<init>(RepositoryListener.java:63)	at org.apache.axis2.deployment.DeploymentEngine.loadRepository(DeploymentEngine.java:147)	at org.apache.axis2.deployment.WarBasedAxisConfigurator.getAxisConfiguration(WarBasedAxisConfigurator.java:229)	at org.apache.axis2.context.ConfigurationContextFactory.createConfigurationContext(ConfigurationContextFactory.java:64)	at org.apache.axis2.transport.http.AxisServlet.initConfigContext(AxisServlet.java:525)	at org.apache.axis2.transport.http.AxisServlet.init(AxisServlet.java:443)	at org.apache.axis2.webapp.AxisAdminServlet.init(AxisAdminServlet.java:56)	at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1173)	at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:993)	at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:4187)
	at org.apache.catalina.core.StandardContext.start(StandardContext.java:4496)	at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1045)	at org.apache.catalina.core.StandardHost.start(StandardHost.java:722)	at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1045)	at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:443)	at org.apache.catalina.core.StandardService.start(StandardService.java:516)	at org.apache.catalina.core.StandardServer.start(StandardServer.java:710)	at org.apache.catalina.startup.Catalina.start(Catalina.java:593)	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)	at java.lang.reflect.Method.invoke(Method.java:592)	at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:289)	at
 org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:414)Caused by: org.apache.axis2.deployment.DeploymentException: org.apache.axis2.mex.MetadataExchangeModule	at org.apache.axis2.deployment.ModuleBuilder.populateModule(ModuleBuilder.java:217)	at org.apache.axis2.deployment.repository.util.ArchiveReader.readModuleArchive(ArchiveReader.java:516)	... 29 moreCaused by: org.apache.axis2.deployment.DeploymentException: org.apache.axis2.mex.MetadataExchangeModule	at org.apache.axis2.deployment.ModuleBuilder.loadModuleClass(ModuleBuilder.java:83)	at org.apache.axis2.deployment.ModuleBuilder.populateModule(ModuleBuilder.java:106)	... 30 moreCaused by: java.lang.ClassCastException: org.apache.axis2.mex.MetadataExchangeModule	at org.apache.axis2.deployment.ModuleBuilder$1.run(ModuleBuilder.java:73)	at org.apache.axis2.java.security.AccessController.doPrivileged(AccessController.java:132)	at
 org.apache.axis2.deployment.ModuleBuilder.loadModuleClass(ModuleBuilder.java:71)	... 31 more[INFO] org.apache.axis2.AxisFault: The system is attempting to engage a module that is not available: addressingMar 26, 2010 2:30:10 PM org.apache.catalina.core.StandardContext loadOnStartupSEVERE: Servlet /Axis2WSTest threw load() exceptionorg.apache.axis2.AxisFault: The system is attempting to engage a module that is not available: addressing	at org.apache.axis2.engine.AxisConfiguration.engageModule(AxisConfiguration.java:510)	at org.apache.axis2.engine.AxisConfiguration.engageGlobalModules(AxisConfiguration.java:637)	at org.apache.axis2.deployment.DeploymentEngine.engageModules(DeploymentEngine.java:677)	at org.apache.axis2.deployment.WarBasedAxisConfigurator.engageGlobalModules(WarBasedAxisConfigurator.java:301)	at org.apache.axis2.context.ConfigurationContextFactory.createConfigurationContext(ConfigurationContextFactory.java:94)	at
 org.apache.axis2.transport.http.AxisServlet.initConfigContext(AxisServlet.java:525)	at org.apache.axis2.transport.http.AxisServlet.init(AxisServlet.java:443)	at org.apache.axis2.webapp.AxisAdminServlet.init(AxisAdminServlet.java:56)	at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1173)	at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:993)	at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:4187)	at org.apache.catalina.core.StandardContext.start(StandardContext.java:4496)	at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1045)	at org.apache.catalina.core.StandardHost.start(StandardHost.java:722)	at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1045)	at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:443)	at org.apache.catalina.core.StandardService.start(StandardService.java:516)	at
 org.apache.catalina.core.StandardServer.start(StandardServer.java:710)	at org.apache.catalina.startup.Catalina.start(Catalina.java:593)	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)	at java.lang.reflect.Method.invoke(Method.java:592)	at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:289)	at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:414)


      

Re: Deploying Axis2 and Secure web service

Posted by Chinmoy Chakraborty <cc...@gmail.com>.
You have to add *org.apache.axis2.webapp.AxisAdminServlet.class* manually.
This class file is there in the binary distribution. You can look at *
AXIS2-4467 <https://issues.apache.org/jira/browse/AXIS2-4467> ....*
*
*
*
*
*
*
On Fri, Mar 26, 2010 at 5:37 AM, SM <mo...@yahoo.com> wrote:

> Thanks Nandana.
>  I used eclipse Gamypede to generate webservices in the past with tomcat 6.
>  Was using the service archive and the code generator wizard.  However the
> loading of axis2 fails with the following error on a new version of eclipse
> Galileo 3.5SR2.  Tomcat version 6.0 is being used.
>
> repositories:
>     /WEB-INF/classes/
> ----------> Parent Classloader:
> org.apache.catalina.loader.StandardClassLoader@6e70c7
>  org.apache.axis2.transport.http.AxisAdminServlet
> java.lang.ClassNotFoundException:
> org.apache.axis2.transport.http.AxisAdminServlet
> at
> org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1484)
> at
> org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1329)
> at
> org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1095)
> at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:993)
> at
> org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:4187)
> at
> org.apache.catalina.core.StandardContext.start(StandardContext.java:4496)
> at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1045)
> at org.apache.catalina.core.StandardHost.start(StandardHost.java:722)
> at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1045)
> at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:443)
> at org.apache.catalina.core.StandardService.start(StandardService.java:516)
> at org.apache.catalina.core.StandardServer.start(StandardServer.java:710)
> at org.apache.catalina.startup.Catalina.start(Catalina.java:593)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> at java.lang.reflect.Method.invoke(Method.java:592)
> at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:289)
> at org.apache.catalina.startup.Bootstrap.main(Boots
>
> I want to deploy, test and then make it a secure web service.  Any tips or
> pointers will be helpful.
>
> Thanks,
> Monisha
> --- On *Tue, 3/23/10, Nandana Mihindukulasooriya <na...@gmail.com>*wrote:
>
>
> From: Nandana Mihindukulasooriya <na...@gmail.com>
> Subject: Re: Deploying Axis2 and Secure web service
> To: java-user@axis.apache.org, moni_sparkle@yahoo.com
> Date: Tuesday, March 23, 2010, 4:56 PM
>
>
> Hi Monisha,
>           Apache Rampart is the module which is used to secure Axis2 based
> web services and the information here [1],[2] will be useful.
>
> Best regards,
> Nandana
>
> [1] - http://ws.apache.org/rampart/articles.html
> [2] - http://wso2.org/library/3190
>
> On Wed, Mar 24, 2010 at 12:43 AM, SM <mo...@yahoo.com>
> > wrote:
>
>> Hi all,
>>   Is there a tutorial that any of u can point me to so that I can create a
>> secure web service.  That is a web service incorporating the ws-security
>> standards when creating the webservice and also when creating the client
>> that communicates with this web service.
>>
>> Your response in this regards will be appreciated.
>>
>> Best,
>> Monisha
>>
>>
>
>

Re: Deploying Axis2 and Secure web service causes the client to hang

Posted by SM <mo...@yahoo.com>.
The code is hanging on the call         //execute the operation client
        _operationClient.execute(true);
 
Any tips in resolving this will beneficial.
 
Thanks

--- On Mon, 3/29/10, SM <mo...@yahoo.com> wrote:


From: SM <mo...@yahoo.com>
Subject: Deploying Axis2 and Secure web service causes the client to hang
To: java-user@axis.apache.org
Date: Monday, March 29, 2010, 4:13 PM






Hello all:
  I have deployed a secure webservice as described in the tutorial http://wso2.org/library/3190 using rampart.  However when I invoke the webservice from the client it hangs on the call to invoke the method from the webservice.  Any tips on resolving this will be appreciated.  Here is my client code:



package helloworld;


import org.apache.axis2.client.Options;
import org.apache.axis2.client.ServiceClient;
import org.apache.axis2.context.ConfigurationContext;
import org.apache.axis2.context.ConfigurationContextFactory;


/**
 * Created by IntelliJ IDEA.
 * User: mxshah
 * Date: Mar 29, 2010
 * Time: 3:42:52 PM
 * To change this template use File | Settings | File Templates.
 */
public class HelloWorldClient {


    public static void main(String[] args) throws Exception {




        ConfigurationContext ctx = ConfigurationContextFactory.createConfigurationContextFromFileSystem("C:\\Documents and Settings\\mxshah\\HelloWorld\\repo", null);
        HelloWorldServiceStub stub = new HelloWorldServiceStub(ctx, "https://localhost:8443/axis2/services/HelloWorldService");
   ServiceClient sc = stub._getServiceClient();


   sc.engageModule("rampart");


   Options options = sc.getOptions();
   options.setUserName("apache");
   options.setPassword("password");
        System.setProperty("javax.net.ssl.trustStore", "C:\\WebServiceSecurity\\article-transport\\keys\\server.jks");
        System.setProperty("javax.net.ssl.trustStorePassword", "password");


int a = 3;
int b = 4;


int result =  stub.add(a, b );  //  the client hangs here????


System.out.println(a + " + " + b + " = " + result);
    }


}
--- On Tue, 3/23/10, Nandana Mihindukulasooriya <na...@gmail.com> wrote:


From: Nandana Mihindukulasooriya <na...@gmail.com>
Subject: Re: Deploying Axis2 and Secure web service
To: java-user@axis.apache.org, moni_sparkle@yahoo.com
Date: Tuesday, March 23, 2010, 4:56 PM


Hi Monisha,
          Apache Rampart is the module which is used to secure Axis2 based web services and the information here [1],[2] will be useful. 

Best regards,
Nandana

[1] - http://ws.apache.org/rampart/articles.html
[2] - http://wso2.org/library/3190


On Wed, Mar 24, 2010 at 12:43 AM, SM <mo...@yahoo.com> wrote:






Hi all,
  Is there a tutorial that any of u can point me to so that I can create a secure web service.  That is a web service incorporating the ws-security standards when creating the webservice and also when creating the client that communicates with this web service.
 
Your response in this regards will be appreciated.
 
Best,
Monisha





      

Deploying Axis2 and Secure web service causes the client to hang

Posted by SM <mo...@yahoo.com>.
Hello all:  I have deployed a secure webservice as described in the tutorial http://wso2.org/library/3190 using rampart.  However when I invoke the webservice from the client it hangs on the call to invoke the method from the webservice.  Any tips on resolving this will be appreciated.  Here is my client code:
package helloworld;
import org.apache.axis2.client.Options;import org.apache.axis2.client.ServiceClient;import org.apache.axis2.context.ConfigurationContext;import org.apache.axis2.context.ConfigurationContextFactory;
/** * Created by IntelliJ IDEA. * User: mxshah * Date: Mar 29, 2010 * Time: 3:42:52 PM * To change this template use File | Settings | File Templates. */public class HelloWorldClient {
    public static void main(String[] args) throws Exception {

        ConfigurationContext ctx = ConfigurationContextFactory.createConfigurationContextFromFileSystem("C:\\Documents and Settings\\mxshah\\HelloWorld\\repo", null);        HelloWorldServiceStub stub = new HelloWorldServiceStub(ctx, "https://localhost:8443/axis2/services/HelloWorldService");	    ServiceClient sc = stub._getServiceClient();
	    sc.engageModule("rampart");
	    Options options = sc.getOptions();	    options.setUserName("apache");	    options.setPassword("password");        System.setProperty("javax.net.ssl.trustStore", "C:\\WebServiceSecurity\\article-transport\\keys\\server.jks");        System.setProperty("javax.net.ssl.trustStorePassword", "password");
		int a = 3;		int b = 4;
		int result =  stub.add(a, b );  //  the client hangs here????
		System.out.println(a + " + " + b + " = " + result);    }
}
--- On Tue, 3/23/10, Nandana Mihindukulasooriya <na...@gmail.com> wrote:

From: Nandana Mihindukulasooriya <na...@gmail.com>
Subject: Re: Deploying Axis2 and Secure web service
To: java-user@axis.apache.org, moni_sparkle@yahoo.com
Date: Tuesday, March 23, 2010, 4:56 PM

Hi Monisha,
          Apache Rampart is the module which is used to secure Axis2 based web services and the information here [1],[2] will be useful. 

Best regards,
Nandana

[1] - http://ws.apache.org/rampart/articles.html

[2] - http://wso2.org/library/3190

On Wed, Mar 24, 2010 at 12:43 AM, SM <mo...@yahoo.com> wrote:


Hi all,
  Is there a tutorial that any of u can point me to so that I can create a secure web service.  That is a web service incorporating the ws-security standards when creating the webservice and also when creating the client that communicates with this web service.

 
Your response in this regards will be appreciated.
 
Best,
Monisha


      




      

Re: Deploying Axis2 and Secure web service

Posted by SM <mo...@yahoo.com>.
Thanks Nandana. I used eclipse Gamypede to generate webservices in the past with tomcat 6.  Was using the service archive and the code generator wizard.  However the loading of axis2 fails with the following error on a new version of eclipse Galileo 3.5SR2.  Tomcat version 6.0 is being used.  
	repositories:    /WEB-INF/classes/----------> Parent Classloader:org.apache.catalina.loader.StandardClassLoader@6e70c7 org.apache.axis2.transport.http.AxisAdminServletjava.lang.ClassNotFoundException: org.apache.axis2.transport.http.AxisAdminServlet	at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1484)	at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1329)	at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1095)	at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:993)	at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:4187)	at org.apache.catalina.core.StandardContext.start(StandardContext.java:4496)	at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1045)	at org.apache.catalina.core.StandardHost.start(StandardHost.java:722)	at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1045)	at
 org.apache.catalina.core.StandardEngine.start(StandardEngine.java:443)	at org.apache.catalina.core.StandardService.start(StandardService.java:516)	at org.apache.catalina.core.StandardServer.start(StandardServer.java:710)	at org.apache.catalina.startup.Catalina.start(Catalina.java:593)	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)	at java.lang.reflect.Method.invoke(Method.java:592)	at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:289)	at org.apache.catalina.startup.Bootstrap.main(Boots
I want to deploy, test and then make it a secure web service.  Any tips or pointers will be helpful.
Thanks,Monisha--- On Tue, 3/23/10, Nandana Mihindukulasooriya <na...@gmail.com> wrote:

From: Nandana Mihindukulasooriya <na...@gmail.com>
Subject: Re: Deploying Axis2 and Secure web service
To: java-user@axis.apache.org, moni_sparkle@yahoo.com
Date: Tuesday, March 23, 2010, 4:56 PM

Hi Monisha,
          Apache Rampart is the module which is used to secure Axis2 based web services and the information here [1],[2] will be useful. 

Best regards,
Nandana

[1] - http://ws.apache.org/rampart/articles.html

[2] - http://wso2.org/library/3190

On Wed, Mar 24, 2010 at 12:43 AM, SM <mo...@yahoo.com> wrote:


Hi all,
  Is there a tutorial that any of u can point me to so that I can create a secure web service.  That is a web service incorporating the ws-security standards when creating the webservice and also when creating the client that communicates with this web service.

 
Your response in this regards will be appreciated.
 
Best,
Monisha


      




      

Re: Deploying Axis2 and Secure web service

Posted by Nandana Mihindukulasooriya <na...@gmail.com>.
Hi Monisha,
          Apache Rampart is the module which is used to secure Axis2 based
web services and the information here [1],[2] will be useful.

Best regards,
Nandana

[1] - http://ws.apache.org/rampart/articles.html
[2] - http://wso2.org/library/3190

On Wed, Mar 24, 2010 at 12:43 AM, SM <mo...@yahoo.com> wrote:

> Hi all,
>   Is there a tutorial that any of u can point me to so that I can create a
> secure web service.  That is a web service incorporating the ws-security
> standards when creating the webservice and also when creating the client
> that communicates with this web service.
>
> Your response in this regards will be appreciated.
>
> Best,
> Monisha
>
>

Deploying Axis2 and Secure web service

Posted by SM <mo...@yahoo.com>.
Hi all,
  Is there a tutorial that any of u can point me to so that I can create a secure web service.  That is a web service incorporating the ws-security standards when creating the webservice and also when creating the client that communicates with this web service.
 
Your response in this regards will be appreciated.
 
Best,
Monisha


      

RE: Deploying Axis2 and Axis 1.4 in an application server

Posted by William Walsh <WW...@curamsoftware.com>.
Thanks Andreas,  That's very helpful.

All the best,
William


-----Original Message-----
From: Andreas Veithen [mailto:andreas.veithen@gmail.com] 
Sent: Monday, March 22, 2010 4:16 PM
To: java-user@axis.apache.org
Subject: Re: Deploying Axis2 and Axis 1.4 in an application server

William,

There is a discussion here [1] about why Axis2 1.5 shipped with Xerces
2.6.2. The conclusion of this discussion is that Xerces is only needed
for Woden, i.e. for WSDL 2.0 support. If you don't use WSDL 2.0, you
don't need Xerces at all. The other conclusion is that in any case,
you may safely replace it by a newer version.

Andreas

[1] http://markmail.org/message/lgha6m56cxexks5s

On Mon, Mar 22, 2010 at 23:57, William Walsh <WW...@curamsoftware.com> wrote:
> Hi,
>
>
>
> Related to the two threads below, but don't go as far as I need;  I'm
> wondering if anyone can provide input on how we can/should package our web
> services for Axis 1.4 and Axis2 for application server (WebSphere, WebLogic,
> NetWeaver) deployment?  That is, should we package as:
>
>
>
> Two separate ear files.
>
> One ear, two separate war files.
>
> One ear, one war file (all combined).
>
>
>
> One concern I have is that our application uses Xerces 2.9.1, but Axis2 uses
> 2.6.2.
>
>
>
> Previous threads:
>
> Can Axis1 (1.4 say) and Axis2 clients coexist in the same web-app?
>
> http://marc.info/?l=axis-user&m=121259269006675&w=2
>
>
>
> Axis1 and Axis2 - can they coexist
>
> http://marc.info/?l=axis-user&m=118299450912387&w=2
>
>
>
> Thanks,
>
> William
>
> The information in this email is confidential and may be legally privileged.
> It is intended solely for the addressee. Access to this email by anyone else
> is unauthorized. If you are not the intended recipient, any disclosure,
> copying, distribution or any action taken or omitted to be taken in reliance
> on it, is prohibited and may be unlawful. If you are not the intended
> addressee please contact the sender and dispose of this e-mail. Thank you.
>

---------------------------------------------------------------------
To unsubscribe, e-mail: java-user-unsubscribe@axis.apache.org
For additional commands, e-mail: java-user-help@axis.apache.org



The information in this email is confidential and may be legally privileged.
It is intended solely for the addressee. Access to this email by anyone else
is unauthorized. If you are not the intended recipient, any disclosure,
copying, distribution or any action taken or omitted to be taken in reliance
on it, is prohibited and may be unlawful. If you are not the intended
addressee please contact the sender and dispose of this e-mail. Thank you.


---------------------------------------------------------------------
To unsubscribe, e-mail: java-user-unsubscribe@axis.apache.org
For additional commands, e-mail: java-user-help@axis.apache.org


Re: Deploying Axis2 and Axis 1.4 in an application server

Posted by Andreas Veithen <an...@gmail.com>.
William,

There is a discussion here [1] about why Axis2 1.5 shipped with Xerces
2.6.2. The conclusion of this discussion is that Xerces is only needed
for Woden, i.e. for WSDL 2.0 support. If you don't use WSDL 2.0, you
don't need Xerces at all. The other conclusion is that in any case,
you may safely replace it by a newer version.

Andreas

[1] http://markmail.org/message/lgha6m56cxexks5s

On Mon, Mar 22, 2010 at 23:57, William Walsh <WW...@curamsoftware.com> wrote:
> Hi,
>
>
>
> Related to the two threads below, but don’t go as far as I need;  I'm
> wondering if anyone can provide input on how we can/should package our web
> services for Axis 1.4 and Axis2 for application server (WebSphere, WebLogic,
> NetWeaver) deployment?  That is, should we package as:
>
>
>
> Two separate ear files.
>
> One ear, two separate war files.
>
> One ear, one war file (all combined).
>
>
>
> One concern I have is that our application uses Xerces 2.9.1, but Axis2 uses
> 2.6.2.
>
>
>
> Previous threads:
>
> Can Axis1 (1.4 say) and Axis2 clients coexist in the same web-app?
>
> http://marc.info/?l=axis-user&m=121259269006675&w=2
>
>
>
> Axis1 and Axis2 - can they coexist
>
> http://marc.info/?l=axis-user&m=118299450912387&w=2
>
>
>
> Thanks,
>
> William
>
> The information in this email is confidential and may be legally privileged.
> It is intended solely for the addressee. Access to this email by anyone else
> is unauthorized. If you are not the intended recipient, any disclosure,
> copying, distribution or any action taken or omitted to be taken in reliance
> on it, is prohibited and may be unlawful. If you are not the intended
> addressee please contact the sender and dispose of this e-mail. Thank you.
>

---------------------------------------------------------------------
To unsubscribe, e-mail: java-user-unsubscribe@axis.apache.org
For additional commands, e-mail: java-user-help@axis.apache.org


RE: Deploying Axis2 and Axis 1.4 in an application server

Posted by William Walsh <WW...@curamsoftware.com>.
Martin,  Thanks for the response.  So that sounds like two wars and one ear-a single webapp per web.xml per war file, at least for WebSphere (http://publib.boulder.ibm.com/infocenter/wasinfo/v6r1/topic/org.eclipse.wst.webtools.doc.user/topics/cwwarovr.html).

We upgraded to Xerces 2.9.1 (and Xalan) for two reasons: 1) conflicts with the Xerces shipped with WebSphere; and 2) We periodically review our third-party jar files and upgrade them to remain current.  But, from Andreas' follow-on reply to this thread  it may not be an issue at all; but, would still be good to clean up at some point.

All the best,
William



From: Martin Gainty [mailto:mgainty@hotmail.com]
Sent: Monday, March 22, 2010 4:04 PM
To: java-user@axis.apache.org; axis-user@ws.apache.org
Subject: RE: Deploying Axis2 and Axis 1.4 in an application server

Good Evening William-

yes.. with the caveat that the ears and wars are separate webapps

if you could kindly elucidate reasons for upgrading xerces to 2.9.1 we *might* be able to produce a JIRA to refactor
the existing codebase to implement xerces 2.9.1

thanks,
Martin Gainty
______________________________________________
Verzicht und Vertraulichkeitanmerkung/Note de déni et de confidentialité

Diese Nachricht ist vertraulich. Sollten Sie nicht der vorgesehene Empfaenger sein, so bitten wir hoeflich um eine Mitteilung. Jede unbefugte Weiterleitung oder Fertigung einer Kopie ist unzulaessig. Diese Nachricht dient lediglich dem Austausch von Informationen und entfaltet keine rechtliche Bindungswirkung. Aufgrund der leichten Manipulierbarkeit von E-Mails koennen wir keine Haftung fuer den Inhalt uebernehmen.

Ce message est confidentiel et peut être privilégié. Si vous n'êtes pas le destinataire prévu, nous te demandons avec bonté que pour satisfaire informez l'expéditeur. N'importe quelle diffusion non autorisée ou la copie de ceci est interdite. Ce message sert à l'information seulement et n'aura pas n'importe quel effet légalement obligatoire. Étant donné que les email peuvent facilement être sujets à la manipulation, nous ne pouvons accepter aucune responsabilité pour le contenu fourni.




________________________________
From: WWalsh@curamsoftware.com
To: axis-user@ws.apache.org
Date: Mon, 22 Mar 2010 22:57:24 +0000
Subject: Deploying Axis2 and Axis 1.4 in an application server
Hi,

Related to the two threads below, but don't go as far as I need;  I'm wondering if anyone can provide input on how we can/should package our web services for Axis 1.4 and Axis2 for application server (WebSphere, WebLogic, NetWeaver) deployment?  That is, should we package as:

Two separate ear files.
One ear, two separate war files.
One ear, one war file (all combined).

One concern I have is that our application uses Xerces 2.9.1, but Axis2 uses 2.6.2.

Previous threads:
Can Axis1 (1.4 say) and Axis2 clients coexist in the same web-app?
http://marc.info/?l=axis-user&m=121259269006675&w=2

Axis1 and Axis2 - can they coexist
http://marc.info/?l=axis-user&m=118299450912387&w=2

Thanks,
William


The information in this email is confidential and may be legally privileged.

It is intended solely for the addressee. Access to this email by anyone else

is unauthorized. If you are not the intended recipient, any disclosure,

copying, distribution or any action taken or omitted to be taken in reliance

on it, is prohibited and may be unlawful. If you are not the intended

addressee please contact the sender and dispose of this e-mail. Thank you.

________________________________
Hotmail has tools for the New Busy. Search, chat and e-mail from your inbox. Learn More.<http://www.windowslive.com/campaign/thenewbusy?ocid=PID27925::T:WLMTAGL:ON:WL:en-US:WM_HMP:032010_1>


The information in this email is confidential and may be legally privileged.
It is intended solely for the addressee. Access to this email by anyone else
is unauthorized. If you are not the intended recipient, any disclosure,
copying, distribution or any action taken or omitted to be taken in reliance
on it, is prohibited and may be unlawful. If you are not the intended
addressee please contact the sender and dispose of this e-mail. Thank you.

RE: Deploying Axis2 and Axis 1.4 in an application server

Posted by Martin Gainty <mg...@hotmail.com>.
Good Evening William-

yes.. with the caveat that the ears and wars are separate webapps

if you could kindly elucidate reasons for upgrading xerces to 2.9.1 we *might* be able to produce a JIRA to refactor
the existing codebase to implement xerces 2.9.1

thanks, 
Martin Gainty 
______________________________________________ 
Verzicht und Vertraulichkeitanmerkung/Note de déni et de confidentialité
 
Diese Nachricht ist vertraulich. Sollten Sie nicht der vorgesehene Empfaenger sein, so bitten wir hoeflich um eine Mitteilung. Jede unbefugte Weiterleitung oder Fertigung einer Kopie ist unzulaessig. Diese Nachricht dient lediglich dem Austausch von Informationen und entfaltet keine rechtliche Bindungswirkung. Aufgrund der leichten Manipulierbarkeit von E-Mails koennen wir keine Haftung fuer den Inhalt uebernehmen.
Ce message est confidentiel et peut être privilégié. Si vous n'êtes pas le destinataire prévu, nous te demandons avec bonté que pour satisfaire informez l'expéditeur. N'importe quelle diffusion non autorisée ou la copie de ceci est interdite. Ce message sert à l'information seulement et n'aura pas n'importe quel effet légalement obligatoire. Étant donné que les email peuvent facilement être sujets à la manipulation, nous ne pouvons accepter aucune responsabilité pour le contenu fourni.




From: WWalsh@curamsoftware.com
To: axis-user@ws.apache.org
Date: Mon, 22 Mar 2010 22:57:24 +0000
Subject: Deploying Axis2 and Axis 1.4 in an application server
















Hi, 

 

Related to the two threads below, but don’t go as far
as I need;  I'm wondering if anyone can provide input on how we can/should
package our web services for Axis 1.4 and Axis2 for application server
(WebSphere, WebLogic, NetWeaver) deployment?  That is, should we package
as:

 

Two separate ear files.

One ear, two separate war files.

One ear, one war file (all combined).

 

One concern I have is that our application uses Xerces
2.9.1, but Axis2 uses 2.6.2.

 

Previous threads:

Can Axis1 (1.4 say) and Axis2 clients coexist in the same
web-app?

http://marc.info/?l=axis-user&m=121259269006675&w=2

 

Axis1 and Axis2 - can they coexist

http://marc.info/?l=axis-user&m=118299450912387&w=2

 

Thanks,

William




The information in this email is confidential and may be legally privileged.
It is intended solely for the addressee. Access to this email by anyone else
is unauthorized. If you are not the intended recipient, any disclosure,
copying, distribution or any action taken or omitted to be taken in reliance
on it, is prohibited and may be unlawful. If you are not the intended
addressee please contact the sender and dispose of this e-mail. Thank you.
 		 	   		  
_________________________________________________________________
Hotmail has tools for the New Busy. Search, chat and e-mail from your inbox.
http://www.windowslive.com/campaign/thenewbusy?ocid=PID27925::T:WLMTAGL:ON:WL:en-US:WM_HMP:032010_1