Re: Axis Fault, Xerces sees the webapp as stopped although it is running

2025-04-25 Thread Simon Arame
Mark, Piotr, thanks a lot for your answers. I tested both fixes proposed by Piotr: 1) adding to catalina.properties works. 2) adding to JreMemoryLeakPreventionListener.classesToInitialize did not work. Simon On Fri, Apr 25, 2025 at 10:12 AM Piotr P. Karwasz wrote: > Hi, > > On 25.04.2025 15:

Re: Axis Fault, Xerces sees the webapp as stopped although it is running

2025-04-25 Thread Piotr P. Karwasz
Hi, On 25.04.2025 15:57, Piotr P. Karwasz wrote: To solve this, add: javax.xml.datatype.DatatypeFactory = com.sun.org.apache.xerces.internal.jaxp.datatype.DatatypeFactoryImpl A more proper solution could be to initialize `j.x.b.DatatypeConverterImpl` using the `JreMemoryLeakPreventionListene

Re: Axis Fault, Xerces sees the webapp as stopped although it is running

2025-04-25 Thread Piotr P. Karwasz
Hi Simon, On 22.04.2025 17:44, Simon Arame wrote: org.apache.catalina.loader.WebappClassLoaderBase.checkStateForResourceLoading Illegal access: this web application instance has been stopped already. Could not load [org.apache.xerces.jaxp.datatype.XMLGregorianCalendarImpl$DaysInMonth]. The follo

Re: Axis Fault, Xerces sees the webapp as stopped although it is running

2025-04-25 Thread Mark Thomas
There is a lot of information here. Responses in-line. On 24/04/2025 21:51, Simon Arame wrote: Not sure I am interpreting the doc correctly, does this mean that the concerned classes of the xercesImpl jar in /WEB-INF/lib will be ignored when there exists the equivalent in the bootstrap class

Re: Axis Fault, Xerces sees the webapp as stopped although it is running

2025-04-24 Thread Simon Arame
Hi Mark, thank you for providing those steps. I downloaded a "YourKit" trial and did execute them. I am blocked at the "Figure out what is creating those reference chains" step. The documentation [ https://tomcat.apache.org/tomcat-9.0-doc/api/org/apache/catalina/loader/WebappClassLoaderBase.html ]

Re: Axis Fault, Xerces sees the webapp as stopped although it is running

2025-04-24 Thread Mark Thomas
On 23/04/2025 16:10, Simon Arame wrote: What java method call should I be searching for in libraries source code ? It isn't going to be that simple. You'll need to do something like. 1. Deploy the application 2. Undeploy the application 3. Force GC (with a profiler) 4. Take a memory snap

Re: Axis Fault, Xerces sees the webapp as stopped although it is running

2025-04-23 Thread Simon Arame
I noticed that this happens after we stop and restart the context but does not happen right after we restart tomcat. To answer your question, there are other web applications on the server but those are not stopped or restarted. Maybe it's because stopping the context did not correctly deregister

Re: Axis Fault, Xerces sees the webapp as stopped although it is running

2025-04-22 Thread Mark Thomas
On 22/04/2025 16:44, Simon Arame wrote: What is strange is that although it says "this web application instance has been stopped already", the web application is still running, end users are still receiving 200 OKs from the web application. Any other web applications running on that Tomcat i

RE: axis

2011-03-25 Thread Jorge Infante Osorio
You just need to download the axis2 war and deploy it inside tomcat as any other application. Jorge. -Mensaje original- De: robert.jen...@surecomp.com [mailto:robert.jen...@surecomp.com] Enviado el: lunes, 14 de marzo de 2011 15:38 Para: users@tomcat.apache.org Asunto: axis Does tomcat

Re: axis

2011-03-14 Thread Thomas Freitag
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hello Robert, On 03/14/2011 08:38 PM, robert.jen...@surecomp.com wrote: > Does tomcat include the apache axis or do I have to download and install > separately? Tomcat does not include axis. Regards, - -- Thomas Freitag -BEGIN PGP SIGNATURE---

Re: Axis SOAP maximum message size

2009-07-15 Thread André Warnier
Sergio Arrighi wrote: Hi, Which is the maximum size of an Axis Soap Message? We here don't know about that kind of stuff, we just know about this Tomcat thing. Maybe you should ask that on an Axis support list, or a SOAP support list, or a Message support list.

RE: Axis is not working.

2007-10-04 Thread zhshqzyc
I can't imagine it would be working without CLASSPATH. I uninstalled the tomcat 6.0 and installed tomcat 5.0.25. It works then. Caldarale, Charles R wrote: > >> From: zhshqzyc [mailto:[EMAIL PROTECTED] >> Subject: RE: Axis is not working. >> >> Which enviro

RE: Axis is not working.

2007-10-03 Thread Caldarale, Charles R
> From: zhshqzyc [mailto:[EMAIL PROTECTED] > Subject: RE: Axis is not working. > > Which environment variable should be removed? > CLASSPATH? CLASSPATH is the only one I mentioned. You might want to read over the description of Tomcat's classloading mechanism to make sur

RE: Axis is not working.

2007-10-03 Thread zhshqzyc
Which environment variable should be removed? CLASSPATH? OR AXISCLASSPATH? Thanks! Caldarale, Charles R wrote: > >> From: zhshqzyc [mailto:[EMAIL PROTECTED] >> Subject: Axis is not working. >> >> I checked the classpath it is okay. > > No, it isn't o.k. No CLASSPATH should be used when run

RE: Axis is not working.

2007-10-03 Thread Caldarale, Charles R
> From: zhshqzyc [mailto:[EMAIL PROTECTED] > Subject: Axis is not working. > > I checked the classpath it is okay. No, it isn't o.k. No CLASSPATH should be used when running Tomcat. The referenced tutorial fails to make clear that setting CLASSPATH is only for compiling servlets, not for serve

Re: Axis 2, POJO, Exceptions and Faults

2007-07-16 Thread albert quinn
Hi Joe !!! : Many thanks by your answer, I'm really a newbie in the Axis world and I'm still lost, spending a lot of time reading the Axis 2 docs and samples but not finding answers to thowsands of questions in that docs and samples. So, I'm trying to find the easiest way to do what I need quic

Re: Axis 2, POJO, Exceptions and Faults

2007-07-15 Thread Joe Nathan
albert quinn wrote: > > I've been trying to do something like that but i couldn't make it > work . My test Web Service returns a String and the client receives > the AxisFault/RemoteException message throwed from the Web Service as > it was the returned value from the Web Service !

RE: axis - tomcat "loader constraint violation"

2007-07-13 Thread E Koutsoudaki
Hi, the library was required to be in the Tomcat\common\lib, so I have removed it from the Tomcat\webapps\axis\WEB-INF\lib as you said and now it works fine! Thank you very much for your help, Elisavet Quoting "Reich, Matthias" <[EMAIL PROTECTED]>: Hi, it looks as if class javax/xml/rpc/Se

RE: axis - tomcat "loader constraint violation"

2007-07-13 Thread Reich, Matthias
Hi, it looks as if class javax/xml/rpc/Service was as well found in common/lib as in the WEB-INF/lib folder of your webapp. If the webapp classloader looks for this class, it will first look in webapps private resources. However, the class had been loaded and resolved before via the common clas

Re: AXIS: tomcat always do http compression without watch min size

2006-10-06 Thread wakeup
Thanks but I don't want disable compress, because I want compress when the lenght exceeds a limit. In the client I can't disable response chuked? Tim Funk wrote: > > you won't be able to disable the chunked encoding. > > But you can disable the compression by ensure the client does NOT send

Re: AXIS: tomcat always do http compression without watch min size

2006-10-06 Thread Tim Funk
you won't be able to disable the chunked encoding. But you can disable the compression by ensure the client does NOT send a "accept-encoding" header with the a value containing "gzip" or by using the noCompressionUserAgents, compressableMimeType attributes on the connector. -Tim wakeup wrot

Re: AXIS: tomcat always do http compression without watch min size

2006-10-06 Thread wakeup
Thanks, I think you are right. Axis don't set content-leght because it is sending response chunked. Where do I have to disable chunk in the axis server o in the client? Thankss Tim Funk wrote: > > compressionMinSize only works with fixed file sizes. If axis is NOT > setting the ContentLength

Re: AXIS: tomcat always do http compression without watch min size

2006-10-05 Thread Tim Funk
compressionMinSize only works with fixed file sizes. If axis is NOT setting the ContentLength before serving back results - then compressionMinSize can't be checked to see if compression can be done. And then compression will be done based on the client input headers. -Tim wakeup wrote: Hi,

Re: AXIS: tomcat always do http compression without watch min size

2006-10-05 Thread Peter Rossbach
Which mime type send axis as responce? Peter Am 05.10.2006 um 09:46 schrieb wakeup: Hi, I have an apache tomcat 5.5.17. In my server.xml file I have put It run sucessfull with normal html tomcat pages. But when I ask to axis 1.4 webservices it always compress the response althought it

Re: Axis application running on Tomcat 4.1.31 in Windows XP as NT Service cannot access network units

2006-06-14 Thread Mark Thomas
Marcos Guerrero Gomez wrote: Glad to hear it is all working. A few words on additional explanation follow, mainly for those reading this thread at some point in the future. > *All the services running in XP with LocalSystem account are not able to > access to UNC paths neither mapped drives. This

Re: Re: Axis application running on Tomcat 4.1.31 in Windows XP as NT Service cannot access network units

2006-06-14 Thread Marcos Guerrero Gomez
Hello again Mark! Thank you again for the answer. Although I'm going to search about servlet context listener, I've trying again with the UNC paths, and yes! you are right and the service started with users credentials with read permissions over the shared resource is able to read the file! (T

Re: Axis application running on Tomcat 4.1.31 in Windows XP as NT Service cannot access network units

2006-06-14 Thread Mark Thomas
Marcos Guerrero Gomez wrote: > Hello Mark! > > Thank you for the answer! > *Accessing the resource by UNC path : The same behavior, startup.bat > makes the application can reach //computer/shareresource/commonfile.txt, > but when we start Tomcat as NT service we get FileNotFound exception > * Cont

Re: Re: Axis application running on Tomcat 4.1.31 in Windows XP as NT Service cannot access network units

2006-06-14 Thread Marcos Guerrero Gomez
d any information associated with context listener or how to use it in that case, if you could tell me where to find it or some link to learn how to use it, I will be grateful Asunto: Re: Axis application running on Tomcat 4.1.31 in Windows XP as NT Service cannot access network units De:

Re: Axis application running on Tomcat 4.1.31 in Windows XP as NT Service cannot access network units

2006-06-13 Thread Mark Thomas
Marcos Guerrero Gomez wrote: > We have disabled the windows XP firewall, and we have changed the user > credentials to start the service with the same user as the logged user > (that is able to open the network units through the windows explorer) > but the behavior doesn't change. > Any suggestions