Re: WebService issue - "Too many files open"

2009-09-30 Thread E Shanaka Jayasundera
I wanted to monitor  WSDL and we have configure NagiOs to check WSDL's 
status, so thats why its request WSDL and crashes with "Too many files 
open" ioexception.


Thanks,
Shanaka



On 09/29/2009 07:28 PM, Amila Suriarachchi wrote:

On Tue, Sep 29, 2009 at 2:54 PM, E Shanaka Jayasundera
wrote:



Hi,

If the webservice is running for a long time, it crashes with "Too many
files open" ioexception. This happens because our wsdl context is loaded
many times
Can anyone please help me to solve this issue.

I tried disabling hot deployment as well but still I am getting this issue.
( I disable the hot deployment in axis2.xml file)



Are you doing invocations to other web services using a stub or service
client?

in that case create only one configuration context for all those
invocations.

thanks,
Amila.



Thanks in advance.
Shanaka









WebService issue - "Too many files open"

2009-09-29 Thread E Shanaka Jayasundera

Hi,

If the webservice is running for a long time, it crashes with "Too many 
files open" ioexception. This happens because our wsdl context is loaded 
many times

Can anyone please help me to solve this issue.

I tried disabling hot deployment as well but still I am getting this 
issue. ( I disable the hot deployment in axis2.xml file)


Thanks in advance.
Shanaka



Axis web service issue with SOAP 1.1 - Web Service listener get shut down if we set SOAP security header

2009-09-20 Thread E Shanaka Jayasundera
Hi ,

 

I have developed a ssl enabled  web application with web service security
enabled.

 

After that I wanted to disable only the web service security. In order to
disable web service security I commented the “” entry that I
have put in the service.xml and comment the Axis2AwareContextLoaderListener
listener and enabled the “ContextLoaderListener” in web.xml

 

After disabling ws security web.xml is as follows,



 
org.springframework.web.context.ContextLoaderListener







 

 

After doing above mentioned changes I able to do my requesters without
setting  Soap security header, hence I think I have disabled web service
security correctly.

 

But, If I set security header I am getting different results with SOAP 1.1
and SOAP 1.2

 

In SOAP 1.2  à It gives bellow exception but web service will remain
listening and I can do request (Which is ok)

[ERROR] engine.AxisEngine Must Understand
check failed for header
http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.
0.xsd : Security 

org.apache.axis2.AxisFault: Must Understand check failed for header
http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.
0.xsd : Security   

at
org.apache.axis2.engine.AxisEngine.checkMustUnderstand(AxisEngine.java:102)


at org.apache.axis2.engine.AxisEngine.receive(AxisEngine.java:166)


at
org.apache.axis2.transport.http.HTTPTransportUtils.processHTTPPostRequest(HT
TPTransportUtils.java:275)


at
org.apache.axis2.transport.nhttp.ServerWorker.processPost(ServerWorker.java:
212)


at
org.apache.axis2.transport.nhttp.ServerWorker.run(ServerWorker.java:176)


at
edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor.runWorker(
ThreadPoolExecutor.java:1061)


at
edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor$Worker.run
(ThreadPoolExecutor.java:575)


at java.lang.Thread.run(Thread.java:595)


[ERROR] nhttp.ServerWorker Error processing POST request


org.apache.axis2.AxisFault: Must Understand check failed for header
http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.
0.xsd : Security   

at
org.apache.axis2.engine.AxisEngine.checkMustUnderstand(AxisEngine.java:102)


at org.apache.axis2.engine.AxisEngine.receive(AxisEngine.java:166)


at
org.apache.axis2.transport.http.HTTPTransportUtils.processHTTPPostRequest(HT
TPTransportUtils.java:275)


at
org.apache.axis2.transport.nhttp.ServerWorker.processPost(ServerWorker.java:
212)


at
org.apache.axis2.transport.nhttp.ServerWorker.run(ServerWorker.java:176)


at
edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor.runWorker(
ThreadPoolExecutor.java:1061)


at
edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor$Worker.run
(ThreadPoolExecutor.java:575)


at java.lang.Thread.run(Thread.java:595)   

 

with SOAP 1.1 à I am getting bellow error and web service  listening going
to shut down

 

[ERROR] engine.AxisEngine Must Understand check failed for header
http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.
0.xsd : Security 

org.apache.axis2.AxisFault: Must Understand check failed for header
http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.
0.xsd : Security   

at
org.apache.axis2.engine.AxisEngine.checkMustUnderstand(AxisEngine.java:102)


at org.apache.axis2.engine.AxisEngine.receive(AxisEngine.java:166)


at
org.apache.axis2.transport.http.HTTPTransportUtils.processHTTPPostRequest(HT
TPTransportUtils.java:275)


at
org.apache.axis2.transport.nhttp.ServerWorker.processPost(ServerWorker.java:
212)


at
org.apache.axis2.transport.nhttp.ServerWorker.run(ServerWorker.java:176)


at
edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor.runWorker(
ThreadPoolExecutor.java:1061)


at
edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor$Worker.run
(ThreadPoolExecutor.java:575)


at java.lang.Thread.run(Thread.java:595)


[ERROR] nhttp.ServerWorker Error processing POST request


org.apache.axis2.AxisFault: Must Understand check failed for header
http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.
0.xsd : Security   

at
org.apache.axis2.engine.AxisEngine.checkMustUnderstand(AxisEngine.java:102)


at org.apache.axis2.engine.AxisEngine.receive(AxisEngine.java:166)


at
org.apache.axis2.transport.http.HTTPTransportUtils.processHTTPPostRequest(HT
TPTransportUtils.java:275)


at
org.apache.axis2.transport.nhttp.ServerW

RE: WSDL URL is Changing

2009-09-17 Thread E Shanaka Jayasundera
Axis 2 version is 1.4.1

 

What is the parameter to that we need to change?

 

Thanks in advance.

 

From: Amila Suriarachchi [mailto:amilasuriarach...@gmail.com] 
Sent: Thursday, September 17, 2009 11:21 AM
To: axis-user@ws.apache.org
Subject: Re: WSDL URL is Changing

 

what is the axis2 version you use?

there is a commented parameter in axis2.xml. try changing that.

thanks,
Amila.

On Wed, Sep 16, 2009 at 5:52 PM, E Shanaka Jayasundera
 wrote:

My Application is deployed on JBOSS Application server (SSL enabled) and
WSDL access URL is https://localhost:9002/web/services/WS?wsdl

For some reason its going to redirect to
https://localhost:9002/axis2/services/WS?wsdl
<https://localhost:9002/axis2/services/PayfoneWS?wsdl> 

 

I haven't specify /axis2/ any were and also my filter in web.xml is as
follows,

 



AxisServlet

 
org.apache.axis2.transport.http.AxisServlet

1







AxisServlet

/services/*



 

 

Also, in the later time some home client end point change to
https://localhost:9002/web/services/PayfoneWS?wsdl and fails since this end
point is not working

 

Thanks in advance.




-- 
Amila Suriarachchi
WSO2 Inc.
blog: http://amilachinthaka.blogspot.com/



WSDL URL is Changing

2009-09-16 Thread E Shanaka Jayasundera
My Application is deployed on JBOSS Application server (SSL enabled) and
WSDL access URL is https://localhost:9002/web/services/PayfoneWS?wsdl

For some reason its going to redirect to
https://localhost:9002/axis2/services/PayfoneWS?wsdl

 

I haven't specify /axis2/ any were and also my filter in web.xml is as
follows,

 



AxisServlet

 
org.apache.axis2.transport.http.AxisServlet

1







AxisServlet

/services/*



 

 

Also, in the later time some home client end point change to
https://localhost:9002/web/services/PayfoneWS?wsdl and fails since this end
point is not working

 

Thanks in advance.