Re: mod_axis and apache problem: starting apache loads 4 instances of web service

2009-05-21 Thread Alex Bolgarov
On Thu, May 21, 2009 at 10:34 AM, Abdul Sami as...@folio3.com wrote: I have built a web service using axis2/c's latest framework. After configuring Mod_Axis with apache, i noticed that it is loading 4 different instances of service. How can i control it? May it be because the Apache launches

Re: mod_axis and apache problem: starting apache loads 4 instances of web service

2009-05-21 Thread Abdul Sami
What directives in the httpd.conf define this settings. i am unable to see any Alex Bolgarov wrote: On Thu, May 21, 2009 at 10:34 AM, Abdul Sami as...@folio3.com wrote: I have built a web service using axis2/c's latest framework. After configuring Mod_Axis with apache, i noticed that it is

Re: mod_axis and apache problem: starting apache loads 4 instances of web service

2009-05-21 Thread Abdul Sami
Okay i have set 'ServerLimit 1', this solves it. Abdul Sami wrote: What directives in the httpd.conf define this settings. i am unable to see any Alex Bolgarov wrote: On Thu, May 21, 2009 at 10:34 AM, Abdul Sami as...@folio3.com wrote: I have built a web service using axis2/c's latest

Re: mod_axis and apache problem: starting apache loads 4 instances of web service

2009-05-21 Thread Sam Carleton
Abdul Sami wrote: Okay i have set 'ServerLimit 1', this solves it. The idea is that as requests come in the master instance of Apache will spawn more instances as the demand goes up. You are going to experience some series performance issues if you do that in production. If I am not

Re: mod_axis and apache problem: starting apache loads 4 instances of web service

2009-05-21 Thread Abdul Sami
With ServerLimit 1, only one service instance is being loaded at startup. This leads me to confirm the behavior of both axis2_http_server and mod_axis. Do they serve each request from independently loaded Soap service library, or they can share a loaded library among multiple requests? Sam

Re: mod_axis and apache problem: starting apache loads 4 instances of web service

2009-05-21 Thread Uthaiyashankar
On Fri, May 22, 2009 at 10:51 AM, Abdul Sami as...@folio3.com wrote: With ServerLimit 1, only one service instance is being loaded at startup. This leads me to confirm the behavior of both axis2_http_server and mod_axis. Do they serve each request from independently loaded Soap service

Re: mod_axis and apache problem: starting apache loads 4 instances of web service

2009-05-21 Thread Abdul Sami
Uthaiyashankar wrote: Each instance will load their own service library and serve from them, but they will load only once. What do you want to achieve? If you want to share some data between consecutive requests, then you can enable shared global pool [1] . Regards, Shankar. [1]

[axis2-sessionmanagement]

2009-05-21 Thread Vaibhav Arya
Hi Everyone, I want to maintain soap session so that client should be in session for 30 minutes. I'm trying to put some values in ServiceContext in so that I could fetch those values in later requests, but at every request the values in service context are shown null. Also I can get the

Re: Problem with MTOM

2009-05-21 Thread Massimiliano Ziccardi
TO Andreas: I tried with the latest snapshot, but even after replacing both axis and axiom, I always get: The type org.apache.axiom.om.impl.OMStAXWrapper cannot be resolved. It is indirectly referenced from required .class filesWStestImplStub.java TEST_CLIENT/src/it/test/ws/impl I've

Re: [AXIS2] soap:address location under a Frontend

2009-05-21 Thread manub
Someone has some suggestions, even to put a customized WSDL (with replaced front-ends) in the AAR? Thanks. manub wrote: Hi, I need to expose some webservices via a front-end (using HTTPS). Webservices are pyhsically located on a machine with an internal IP address. I'm autogenerating

[no subject]

2009-05-21 Thread Vicente David Guardiola Buitra
Dear all, I am using Axis2 with Rampart 1.4 in order to provide WS-Security to my web services. I want to sign and encrypt all incoming/outgoing messages using X509 Certificates, then , I configured both client and service to do this using inflow and outflow elements. The problem is that I

wsdl2java

2009-05-21 Thread TomazM
I have error when using jbix %AXIS2_HOME%\bin\wsdl2java -uri jibx\META-INF\IPIS_JIBX.wsdl -Ebindingfile jibx\META-INF\binding.xml -p service.jibx -d jibx -s -ss -sd -ssi -uw -o build_jibx Exception in thread main org.apache.axis2.wsdl.codegen.CodeGenerationException: Error parsing WSDL Is

RE: wsdl2java

2009-05-21 Thread Caristi, Joe
The answer may be contained in the rest of the Exception stack trace. You could look there for clues and if you still can't figure it out, post the entire trace. -Original Message- From: TomazM [mailto:tomaz.majerh...@arnes.si] Sent: Thursday, May 21, 2009 10:34 AM To: axis Subject:

Re: Problem with MTOM

2009-05-21 Thread Andreas Veithen
In 1.2.9-SNAPSHOT, the class org.apache.axiom.om.impl.llom.OMStAXWrapper (part of axiom-impl.jar) extends org.apache.axiom.om.impl.OMStAXWrapper (part of axiom-api.jar). If you get this error, this would mean that you didn't replace axiom-api.jar. Can you check that? Andreas On Thu, May 21, 2009

Re: Problem with MTOM

2009-05-21 Thread Andreas Veithen
If the issue occurs on the client side, it could somehow be related to FILE_SIZE_THRESHOLD, but that is not the most probable explanation. I remember fixing several issues in Axiom with code that incorrectly assumed that InputStream#available always returns the remaining number of bytes in the

RE: Problem with MTOM

2009-05-21 Thread Sanjay Gupta
I tried the 1.2.9 snapshot on both server and client but still have issues. This particular service i implemented is inside grails and exposed using axis2 plugin. I need to figure out how to enable soapmonitor in grails/axis2. Massimiliano, I did generate my clients from my autogenerated wsdl.