Walt,

Thanks for the reply, I appreicate it. We have reviewed that idea, but the team around me felt that Axis C++ was very inmature (compared to the Java counterpart). The bug list is quite large and some small tests failed for some memers of the team, so the level of satisfaction was low. I convinced them to use Java with a jni layer, thinking that if that proved successful, I could expand it to include some extra functionality to relieve the application from some unnecessary tasks.

   --Luis R.

From: Walt <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED]
Subject: Re: Abandoning AXIS :( !!!
Date: Mon, 24 Jul 2006 19:59:09 -0400

Have you given Axis C++ consideration? Instead of using a servlet container hosting axis to a hni layer to your dce layer Axis C++ goes through Apache HTTP Server straight into C++.

Walt

Luis Rivera wrote:

   Axis users/devs,

Unless I can find a solution for this today, I will have to move on and find better options. I believed that susing a axis/tomcat web service to bridge my current C++ server was going to be easy. But I cannot get past a classs loading problem in the TOMCAT and nobody seems to have any idea of what is wrong.

See, we already have a server side implementation of the services in C++ (Roguewave), but we are looking into a cheaper option, which is why I was looking into axis/tomcat. My clients are using Axis anyway, so I thought using Tomcat was going to be straight forward.

So, we don't want to reimplement everything in Java, which means I only need a jni wrapper in the axis server to call my DCE proxies in C++. So, the picture looks like this

axis Client --> axis Server --> jniWrapper --> DCEProxy (C++ implementation)

And the problem lies on the fact that I need to place the jniWrapper outside of the TOMCAT_HOME/webapps directory, causing all kind of problems with the class loaders, despite the fact that all the classes are supposedly correctly resolved. I still have that LinkageError, regardless of where I place the classe (shared or common).

As I said before, if all the application is placed under TOMCAT_HOME/webapps/axis/classes, there are no exceptions thrown!

Hope this clarifies my situation and if you have any advice, I would greatly appreciate it.

I am including the exception as captured in the logger.

15063 [http-8095-Processor25] DEBUG org.apache.axis.encoding.DeserializationContext - Exit: DeserializationContext::startPrefixMapping() 15063 [http-8095-Processor25] DEBUG org.apache.axis.encoding.DeserializationContext - Enter: DeserializationContext::startElement(http://www.verimatrix.com/vcas.xsd, getCompany) 15063 [http-8095-Processor25] DEBUG org.apache.axis.i18n.ProjectResourceBundle - org.apache.axis.i18n.resource::handleGetObject(pushHandler00) 15063 [http-8095-Processor25] DEBUG org.apache.axis.encoding.DeserializationContext - Pushing handler [EMAIL PROTECTED] 15063 [http-8095-Processor25] DEBUG org.apache.axis.encoding.DeserializationContext - Exit: DeserializationContext::startElement() 15063 [http-8095-Processor25] DEBUG org.apache.axis.encoding.DeserializationContext - Enter: DeserializationContext::endElement(http://www.verimatrix.com/vcas.xsd, getCompany) 15063 [http-8095-Processor25] DEBUG org.apache.axis.i18n.ProjectResourceBundle - org.apache.axis.i18n.resource::handleGetObject(popHandler00) 15063 [http-8095-Processor25] DEBUG org.apache.axis.encoding.DeserializationContext - Popping handler [EMAIL PROTECTED] 15063 [http-8095-Processor25] DEBUG org.apache.axis.i18n.ProjectResourceBundle - org.apache.axis.i18n.resource::handleGetObject(setProp00) 15063 [http-8095-Processor25] DEBUG org.apache.axis.message.RPCHandler - Setting MessageContext property in RPCHandler.endElement(). 15063 [http-8095-Processor25] DEBUG org.apache.axis.i18n.ProjectResourceBundle - org.apache.axis.i18n.resource::handleGetObject(empty00) 15063 [http-8095-Processor25] DEBUG org.apache.axis.utils.NSStack - NSPop (empty) 15063 [http-8095-Processor25] DEBUG org.apache.axis.encoding.DeserializationContext - Popped element stack to org.apache.axis.message.SOAPBody:Body 15063 [http-8095-Processor25] DEBUG org.apache.axis.encoding.DeserializationContext - Exit: DeserializationContext::endElement() 15063 [http-8095-Processor25] DEBUG org.apache.axis.i18n.ProjectResourceBundle - org.apache.axis.i18n.resource::handleGetObject(toAxisFault00) 15063 [http-8095-Processor25] DEBUG org.apache.axis.enterprise - Mapping Exception to AxisFault
java.lang.reflect.InvocationTargetException
       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:585)
at org.apache.axis.providers.java.RPCProvider.invokeMethod(RPCProvider.java:397)

at org.apache.axis.providers.java.RPCProvider.processMessage(RPCProvider.java:186)

at org.apache.axis.providers.java.JavaProvider.invoke(JavaProvider.java:323) at org.apache.axis.strategies.InvocationStrategy.visit(InvocationStrategy.java:32)

       at org.apache.axis.SimpleChain.doVisiting(SimpleChain.java:118)
       at org.apache.axis.SimpleChain.invoke(SimpleChain.java:83)
at org.apache.axis.handlers.soap.SOAPService.invoke(SOAPService.java:454)
       at org.apache.axis.server.AxisServer.invoke(AxisServer.java:281)
at org.apache.axis.transport.http.AxisServlet.doPost(AxisServlet.java:699)
       at javax.servlet.http.HttpServlet.service(HttpServlet.java:709)
at org.apache.axis.transport.http.AxisServletBase.service(AxisServletBase.java:327)

       at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)

at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)

at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)

at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)

at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)

at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)

at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)

at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)

at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869)

at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664)

at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)

at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80)

at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)

       at java.lang.Thread.run(Thread.java:595)
Caused by: java.lang.LinkageError: Class soap/xsd/CompanyInfo violates loader constraints
       at java.lang.ClassLoader.defineClass1(Native Method)
       at java.lang.ClassLoader.defineClass(ClassLoader.java:620)
at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:124)
       at java.net.URLClassLoader.defineClass(URLClassLoader.java:260)
       at java.net.URLClassLoader.access$100(URLClassLoader.java:56)
       at java.net.URLClassLoader$1.run(URLClassLoader.java:195)
       at java.security.AccessController.doPrivileged(Native Method)
       at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
       at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
       at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
       at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
       at vsa.jniCRLimpl.nada(jniCRLimpl.java:100)
       at soap.wsdl.CRLImpl.getCompany(CRLImpl.java:94)
       at soap.wsdl.CRLSkeleton.getCompany(Unknown Source)
       ... 30 more

  Thanks in advance,
  --Luis R.

_________________________________________________________________
Is your PC infected? Get a FREE online computer virus scan from McAfee® Security. http://clinic.mcafee.com/clinic/ibuy/campaign.asp?cid=3963


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




_________________________________________________________________
Express yourself instantly with MSN Messenger! Download today - it's FREE! http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to