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 Wan Kaveevivitchai <wa...@hotmail.com> on 2006/06/28 09:39:05 UTC
[axis2 nightly build 22 Jun] file caching not working bug
There is the problem of file caching, it doesn't working in nightly build
version released on June 22, 06. Eventhough, the cache properties in
axis2.xml already been set.
Is there any solution for this? Is it a bug?
Sathita
---------------------------------------------------------------------
To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-user-help@ws.apache.org
Re: [axis2 nightly build 22 Jun] file caching not working bug
Posted by Wan Kaveevivitchai <wa...@hotmail.com>.
for furthur detail,
this is the error i got.
Exception in thread "main" org.apache.axis2.AxisFault: null; nested
exception is:
java.lang.reflect.InvocationTargetException
at
org.apache.axis2.description.OutInAxisOperationClient.execute(OutInAxisOperation.java:287)
at
org.apache.axis2.client.ServiceClient.sendReceive(ServiceClient.java:451)
at
org.apache.axis2.client.ServiceClient.sendReceive(ServiceClient.java:393)
at fileT.fileC.sendFile(fileC.java:118)
at fileT.fileC.main(fileC.java:50)
Caused by: java.lang.Exception: org.apache.axis2.AxisFault: null; nested
exception is:
java.lang.reflect.InvocationTargetException
at org.apache.axis2.AxisFault.makeFault(AxisFault.java:318)
at
org.apache.axis2.rpc.receivers.RPCMessageReceiver.invokeBusinessLogic(RPCMessageReceiver.java:144)
at
org.apache.axis2.receivers.AbstractInOutSyncMessageReceiver.receive(AbstractInOutSyncMessageReceiver.java:37)
at org.apache.axis2.engine.AxisEngine.receive(AxisEngine.java:483)
at
org.apache.axis2.transport.http.HTTPTransportUtils.processHTTPPostRequest(HTTPTransportUtils.java:284)
at org.apache.axis2.transport.http.AxisServlet.doPost(AxisServlet.java:144)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:767)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:860)
at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:423)
at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:355)
at org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:219)
at org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:542)
at
org.mortbay.jetty.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:145)
at
org.mortbay.jetty.handler.HandlerCollection.handle(HandlerCollection.java:126)
at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:119)
at org.mortbay.jetty.Server.handle(Server.java:245)
at org.mortbay.jetty.HttpConnection.handlerRequest(HttpConnection.java:365)
at org.mortbay.jetty.HttpConnection.access$1500(HttpConnection.java:38)
at
org.mortbay.jetty.HttpConnection$RequestHandler.content(HttpConnection.java:623)
at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:690)
at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:192)
at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:296)
at
org.mortbay.jetty.nio.SelectChannelConnector$HttpEndPoint.run(SelectChannelConnector.java:740)
at
org.mortbay.thread.BoundedThreadPool$PoolThread.run(BoundedThreadPool.java:435)
Caused by: 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:324)
at
org.apache.axis2.rpc.receivers.RPCMessageReceiver.invokeBusinessLogic(RPCMessageReceiver.java:114)
... 22 more
Caused by: java.lang.OutOfMemoryError
at org.apache.axis2.AxisFault.<init>(AxisFault.java:159)
... 5 more
>From: "Davanum Srinivas" <da...@gmail.com>
>Reply-To: dims@apache.org
>To: axis-user@ws.apache.org
>Subject: Re: [axis2 nightly build 22 Jun] file caching not working bug
>Date: Wed, 28 Jun 2006 04:13:03 -0400
>
>Sathita,
>
>We have no idea what this is about. Can you please explain a bit
>further? which property did you set? expected behavior and stack
>traces if any.
>
>thanks,
>dims
>
>On 6/28/06, Wan Kaveevivitchai <wa...@hotmail.com> wrote:
>>There is the problem of file caching, it doesn't working in nightly build
>>version released on June 22, 06. Eventhough, the cache properties in
>>axis2.xml already been set.
>>
>>Is there any solution for this? Is it a bug?
>>
>>Sathita
>>
>>
>>
>>---------------------------------------------------------------------
>>To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
>>For additional commands, e-mail: axis-user-help@ws.apache.org
>>
>>
>
>
>--
>Davanum Srinivas : http://people.apache.org/~dims/
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
>For additional commands, e-mail: axis-user-help@ws.apache.org
>
---------------------------------------------------------------------
To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-user-help@ws.apache.org
Re: [axis2 nightly build 22 Jun] more bug
Posted by Wan Kaveevivitchai <wa...@hotmail.com>.
can anyone tell me where i can find the JIRA for Axis2 Java?
i have found only the one with C language.
Sathita
>From: "Davanum Srinivas" <da...@gmail.com>
>Reply-To: dims@apache.org
>To: "Wan Kaveevivitchai" <wa...@hotmail.com>
>CC: axis-user@ws.apache.org
>Subject: Re: [axis2 nightly build 22 Jun] more bug
>Date: Fri, 30 Jun 2006 11:14:20 -0400
>
>Sathita,
>
>Sorry, we were all at Apachecon and did not get much time. Could u
>please log a JIRA issue so that we don't forget this? Same goes for
>the rampart issue as well.
>
>thanks,
>dims
>
>On 6/30/06, Wan Kaveevivitchai <wa...@hotmail.com> wrote:
>>
>>Dear dims,
>>
>> have you figure out, what should be the problem with the release? I
>>have tested another issue related to the ws-security. I had downloaded the
>>rampart module and then try to deploy it by add the module into axis2.xml
>>and put .aar file into modules directory under web-inf in axis2 , when i
>>started the server, the problem occur
>>
>>it said that : Trying to engage a module which is not available
>>
>>but i did test it with the other version release on Jun 4th, and
>>everything
>>work file for that version as well as the cache..but in Jun 4th version,
>>it
>>had the problem of broken pipe while sending large attachment.
>>
>>is there any completed version out? or how shold / could fix these
>>problem?
>>
>>Best regards,
>>
>>Sathita
>>
>> >From: "Wan Kaveevivitchai" <wa...@hotmail.com>
>> >Reply-To: axis-user@ws.apache.org
>> >To: dims@apache.org, axis-user@ws.apache.org
>> >Subject: Re: [axis2 nightly build 22 Jun] file caching not working bug
>> >Date: Wed, 28 Jun 2006 08:25:32 +0000
>> >
>> >
>> >I was writing some email earlier about problem in sending large file ~
>>10
>> >MB and got broken pipe exception. And there was the suggestion to use
>>the
>> >new nightly release which is the 22 Jun 06 release and the broken pipe
>> >problem was solve.
>> >
>> >So i moved on to test with 100 MB size attachment, and i got
>> >java.lang.OutOfMemory error, so i did some setting about cache on
>>axis2.xml
>> >as following
>> >
>> > <parameter name="cacheAttachments" locked="false">true</parameter>
>> > <parameter name="attachmentDIR"
>> >locked="false">/users/alice3/home/</parameter>
>> > <parameter name="sizeThreshold" locked="false">4000</parameter>
>> >
>> >but it seems like it still cache into the memory, also when i check at
>>the
>> >home directory, there is no cached file at all. So we tried extend the
>> >memory size and the attachment is received fine but it isn't the good
>>way
>> >to do it, i supposed. So i think the problem is about cache is not
>>working.
>> >
>> > Please take a look,
>> > Sathita
>> >
>> >>From: "Davanum Srinivas" <da...@gmail.com>
>> >>Reply-To: dims@apache.org
>> >>To: axis-user@ws.apache.org
>> >>Subject: Re: [axis2 nightly build 22 Jun] file caching not working bug
>> >>Date: Wed, 28 Jun 2006 04:13:03 -0400
>> >>
>> >>Sathita,
>> >>
>> >>We have no idea what this is about. Can you please explain a bit
>> >>further? which property did you set? expected behavior and stack
>> >>traces if any.
>> >>
>> >>thanks,
>> >>dims
>> >>
>> >>On 6/28/06, Wan Kaveevivitchai <wa...@hotmail.com> wrote:
>> >>>There is the problem of file caching, it doesn't working in nightly
>>build
>> >>>version released on June 22, 06. Eventhough, the cache properties in
>> >>>axis2.xml already been set.
>> >>>
>> >>>Is there any solution for this? Is it a bug?
>> >>>
>> >>>Sathita
>> >>>
>> >>>
>> >>>
>> >>>---------------------------------------------------------------------
>> >>>To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
>> >>>For additional commands, e-mail: axis-user-help@ws.apache.org
>> >>>
>> >>>
>> >>
>> >>
>> >>--
>> >>Davanum Srinivas : http://people.apache.org/~dims/
>> >>
>> >>---------------------------------------------------------------------
>> >>To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
>> >>For additional commands, e-mail: axis-user-help@ws.apache.org
>> >>
>> >
>> >
>> >
>> >---------------------------------------------------------------------
>> >To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
>> >For additional commands, e-mail: axis-user-help@ws.apache.org
>> >
>>
>>
>>
>
>
>--
>Davanum Srinivas : http://people.apache.org/~dims/
---------------------------------------------------------------------
To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-user-help@ws.apache.org
Re: [axis2 nightly build 22 Jun] more bug
Posted by Davanum Srinivas <da...@gmail.com>.
Sathita,
Sorry, we were all at Apachecon and did not get much time. Could u
please log a JIRA issue so that we don't forget this? Same goes for
the rampart issue as well.
thanks,
dims
On 6/30/06, Wan Kaveevivitchai <wa...@hotmail.com> wrote:
>
> Dear dims,
>
> have you figure out, what should be the problem with the release? I
> have tested another issue related to the ws-security. I had downloaded the
> rampart module and then try to deploy it by add the module into axis2.xml
> and put .aar file into modules directory under web-inf in axis2 , when i
> started the server, the problem occur
>
> it said that : Trying to engage a module which is not available
>
> but i did test it with the other version release on Jun 4th, and everything
> work file for that version as well as the cache..but in Jun 4th version, it
> had the problem of broken pipe while sending large attachment.
>
> is there any completed version out? or how shold / could fix these problem?
>
> Best regards,
>
> Sathita
>
> >From: "Wan Kaveevivitchai" <wa...@hotmail.com>
> >Reply-To: axis-user@ws.apache.org
> >To: dims@apache.org, axis-user@ws.apache.org
> >Subject: Re: [axis2 nightly build 22 Jun] file caching not working bug
> >Date: Wed, 28 Jun 2006 08:25:32 +0000
> >
> >
> >I was writing some email earlier about problem in sending large file ~ 10
> >MB and got broken pipe exception. And there was the suggestion to use the
> >new nightly release which is the 22 Jun 06 release and the broken pipe
> >problem was solve.
> >
> >So i moved on to test with 100 MB size attachment, and i got
> >java.lang.OutOfMemory error, so i did some setting about cache on axis2.xml
> >as following
> >
> > <parameter name="cacheAttachments" locked="false">true</parameter>
> > <parameter name="attachmentDIR"
> >locked="false">/users/alice3/home/</parameter>
> > <parameter name="sizeThreshold" locked="false">4000</parameter>
> >
> >but it seems like it still cache into the memory, also when i check at the
> >home directory, there is no cached file at all. So we tried extend the
> >memory size and the attachment is received fine but it isn't the good way
> >to do it, i supposed. So i think the problem is about cache is not working.
> >
> > Please take a look,
> > Sathita
> >
> >>From: "Davanum Srinivas" <da...@gmail.com>
> >>Reply-To: dims@apache.org
> >>To: axis-user@ws.apache.org
> >>Subject: Re: [axis2 nightly build 22 Jun] file caching not working bug
> >>Date: Wed, 28 Jun 2006 04:13:03 -0400
> >>
> >>Sathita,
> >>
> >>We have no idea what this is about. Can you please explain a bit
> >>further? which property did you set? expected behavior and stack
> >>traces if any.
> >>
> >>thanks,
> >>dims
> >>
> >>On 6/28/06, Wan Kaveevivitchai <wa...@hotmail.com> wrote:
> >>>There is the problem of file caching, it doesn't working in nightly build
> >>>version released on June 22, 06. Eventhough, the cache properties in
> >>>axis2.xml already been set.
> >>>
> >>>Is there any solution for this? Is it a bug?
> >>>
> >>>Sathita
> >>>
> >>>
> >>>
> >>>---------------------------------------------------------------------
> >>>To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
> >>>For additional commands, e-mail: axis-user-help@ws.apache.org
> >>>
> >>>
> >>
> >>
> >>--
> >>Davanum Srinivas : http://people.apache.org/~dims/
> >>
> >>---------------------------------------------------------------------
> >>To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
> >>For additional commands, e-mail: axis-user-help@ws.apache.org
> >>
> >
> >
> >
> >---------------------------------------------------------------------
> >To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
> >For additional commands, e-mail: axis-user-help@ws.apache.org
> >
>
>
>
--
Davanum Srinivas : http://people.apache.org/~dims/
---------------------------------------------------------------------
To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-user-help@ws.apache.org
Re: [axis2 nightly build 22 Jun] more bug
Posted by Wan Kaveevivitchai <wa...@hotmail.com>.
Dear dims,
have you figure out, what should be the problem with the release? I
have tested another issue related to the ws-security. I had downloaded the
rampart module and then try to deploy it by add the module into axis2.xml
and put .aar file into modules directory under web-inf in axis2 , when i
started the server, the problem occur
it said that : Trying to engage a module which is not available
but i did test it with the other version release on Jun 4th, and everything
work file for that version as well as the cache..but in Jun 4th version, it
had the problem of broken pipe while sending large attachment.
is there any completed version out? or how shold / could fix these problem?
Best regards,
Sathita
>From: "Wan Kaveevivitchai" <wa...@hotmail.com>
>Reply-To: axis-user@ws.apache.org
>To: dims@apache.org, axis-user@ws.apache.org
>Subject: Re: [axis2 nightly build 22 Jun] file caching not working bug
>Date: Wed, 28 Jun 2006 08:25:32 +0000
>
>
>I was writing some email earlier about problem in sending large file ~ 10
>MB and got broken pipe exception. And there was the suggestion to use the
>new nightly release which is the 22 Jun 06 release and the broken pipe
>problem was solve.
>
>So i moved on to test with 100 MB size attachment, and i got
>java.lang.OutOfMemory error, so i did some setting about cache on axis2.xml
>as following
>
> <parameter name="cacheAttachments" locked="false">true</parameter>
> <parameter name="attachmentDIR"
>locked="false">/users/alice3/home/</parameter>
> <parameter name="sizeThreshold" locked="false">4000</parameter>
>
>but it seems like it still cache into the memory, also when i check at the
>home directory, there is no cached file at all. So we tried extend the
>memory size and the attachment is received fine but it isn't the good way
>to do it, i supposed. So i think the problem is about cache is not working.
>
> Please take a look,
> Sathita
>
>>From: "Davanum Srinivas" <da...@gmail.com>
>>Reply-To: dims@apache.org
>>To: axis-user@ws.apache.org
>>Subject: Re: [axis2 nightly build 22 Jun] file caching not working bug
>>Date: Wed, 28 Jun 2006 04:13:03 -0400
>>
>>Sathita,
>>
>>We have no idea what this is about. Can you please explain a bit
>>further? which property did you set? expected behavior and stack
>>traces if any.
>>
>>thanks,
>>dims
>>
>>On 6/28/06, Wan Kaveevivitchai <wa...@hotmail.com> wrote:
>>>There is the problem of file caching, it doesn't working in nightly build
>>>version released on June 22, 06. Eventhough, the cache properties in
>>>axis2.xml already been set.
>>>
>>>Is there any solution for this? Is it a bug?
>>>
>>>Sathita
>>>
>>>
>>>
>>>---------------------------------------------------------------------
>>>To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
>>>For additional commands, e-mail: axis-user-help@ws.apache.org
>>>
>>>
>>
>>
>>--
>>Davanum Srinivas : http://people.apache.org/~dims/
>>
>>---------------------------------------------------------------------
>>To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
>>For additional commands, e-mail: axis-user-help@ws.apache.org
>>
>
>
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
>For additional commands, e-mail: axis-user-help@ws.apache.org
>
---------------------------------------------------------------------
To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-user-help@ws.apache.org
Re: [axis2 nightly build 22 Jun] file caching not working bug
Posted by Wan Kaveevivitchai <wa...@hotmail.com>.
I was writing some email earlier about problem in sending large file ~ 10 MB
and got broken pipe exception. And there was the suggestion to use the new
nightly release which is the 22 Jun 06 release and the broken pipe problem
was solve.
So i moved on to test with 100 MB size attachment, and i got
java.lang.OutOfMemory error, so i did some setting about cache on axis2.xml
as following
<parameter name="cacheAttachments" locked="false">true</parameter>
<parameter name="attachmentDIR"
locked="false">/users/alice3/home/</parameter>
<parameter name="sizeThreshold" locked="false">4000</parameter>
but it seems like it still cache into the memory, also when i check at the
home directory, there is no cached file at all. So we tried extend the
memory size and the attachment is received fine but it isn't the good way to
do it, i supposed. So i think the problem is about cache is not working.
Please take a look,
Sathita
>From: "Davanum Srinivas" <da...@gmail.com>
>Reply-To: dims@apache.org
>To: axis-user@ws.apache.org
>Subject: Re: [axis2 nightly build 22 Jun] file caching not working bug
>Date: Wed, 28 Jun 2006 04:13:03 -0400
>
>Sathita,
>
>We have no idea what this is about. Can you please explain a bit
>further? which property did you set? expected behavior and stack
>traces if any.
>
>thanks,
>dims
>
>On 6/28/06, Wan Kaveevivitchai <wa...@hotmail.com> wrote:
>>There is the problem of file caching, it doesn't working in nightly build
>>version released on June 22, 06. Eventhough, the cache properties in
>>axis2.xml already been set.
>>
>>Is there any solution for this? Is it a bug?
>>
>>Sathita
>>
>>
>>
>>---------------------------------------------------------------------
>>To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
>>For additional commands, e-mail: axis-user-help@ws.apache.org
>>
>>
>
>
>--
>Davanum Srinivas : http://people.apache.org/~dims/
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
>For additional commands, e-mail: axis-user-help@ws.apache.org
>
---------------------------------------------------------------------
To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-user-help@ws.apache.org
Re: [axis2 nightly build 22 Jun] file caching not working bug
Posted by Davanum Srinivas <da...@gmail.com>.
Sathita,
We have no idea what this is about. Can you please explain a bit
further? which property did you set? expected behavior and stack
traces if any.
thanks,
dims
On 6/28/06, Wan Kaveevivitchai <wa...@hotmail.com> wrote:
> There is the problem of file caching, it doesn't working in nightly build
> version released on June 22, 06. Eventhough, the cache properties in
> axis2.xml already been set.
>
> Is there any solution for this? Is it a bug?
>
> Sathita
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
> For additional commands, e-mail: axis-user-help@ws.apache.org
>
>
--
Davanum Srinivas : http://people.apache.org/~dims/
---------------------------------------------------------------------
To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-user-help@ws.apache.org