Re: Transport error: 403 Error: access forbidden

2008-04-22 Thread Vikas Gujjar
Hi Chris,

It turned out that dev instance I was using had pretty low JVM memory
settings (much lower than the previously tuned and tested value).  Once the
settings was fixed, The error has disappeared... We took a hundred hits from
the .NET client and all is fine.

Thanks,
Vikas

On Fri, Apr 18, 2008 at 4:41 PM, Chris Richmond [EMAIL PROTECTED]
wrote:

  Did you ever resolve it?



 Was your service like mine, where your service implementation actually
 instantiaded an adb client to another service itself..sort of as a
 passthrough service?  I'm trying to determine if that part of the
 problem..although I don't know why it should be, unless Axis libraries are
 very poorly implemented…



 So how did you get yours system production ready with such low performance
 threshold?



 Thanks,


 Chris


  --

 *From:* Vikas Gujjar [mailto:[EMAIL PROTECTED]
 *Sent:* Friday, April 18, 2008 12:17 PM
 *To:* axis-user@ws.apache.org
 *Subject:* Re: Transport error: 403 Error: access forbidden



 Hi Chris,

 I faced this issue a short while back (rather still facing it). I
 temporarily inserted a catch throwable around the web service implementation
 class and discovered that one of the operation I was performing was
 resulting in OutOfMemoryError after few calls from the client.

 Hope this helps.

 Thanks,
 Vikas

 On Wed, Apr 16, 2008 at 11:03 PM, Deepal Jayasinghe [EMAIL PROTECTED]
 wrote:

 hi Chris ,
 Any possibility of creating test case ? if so that would be a great help
 to fix the issue.
 Or even send you service aar file.

 Thank you!
 Deepal




 Hello all,


 I am having a strange problem. I have built a POJO web service that is
 itself an ADB client to another ws(.NET) and all works fine,  but I notice
 for some reason when I use my test client make calls multiple times..and I
 don't even mean load testing..but just manually call via a button click like
 once a second….or even less…by 10 calls or so it throws an exception on the
 server(shown below) .   I can loop calls and it will run 10 or so ok, then
 start throwing this exception for several, then run a few more ok, then
 throw this exception back and forth like that.  I am not using SSL, https,
 or any other thing like that either , and as I said I'm using ADB.  It seems
 like some sort of loading/performance issue, but I never see any spike in
 CPU usage and as I said, I am doing ridiculously low call frequency.
  Perhaps there is a resource issue by having an Axis2 web service that is
 both a service and a client to another WS? That should work fine, but maybe
 I need to take special steps?  If anyone has any ideas on this, please help
 me out…


 Thanks,


 Chris


 [ERROR] org.apache.axis2.AxisFault: Transport error: 403 Error: Access
 Forbidden

 java.lang.reflect.InvocationTargetException

at sun.reflect.GeneratedMethodAccessor34.invoke(Unknown Source)

at
 sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

at java.lang.reflect.Method.invoke(Method.java:597)

at
 org.apache.axis2.rpc.receivers.RPCUtil.invokeServiceClass(RPCUtil.java:194)

at
 org.apache.axis2.rpc.receivers.RPCMessageReceiver.invokeBusinessLogic(RPCMessageReceiver.java:98)

at
 org.apache.axis2.receivers.AbstractInOutMessageReceiver.invokeBusinessLogic(AbstractInOutMessageReceiver.jav

 :40)

at
 org.apache.axis2.receivers.AbstractMessageReceiver.receive(AbstractMessageReceiver.java:96)

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

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

at
 org.apache.axis2.transport.http.AxisServlet.doPost(AxisServlet.java:120)

at javax.servlet.http.HttpServlet.service(HttpServlet.java:710)

at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)

at
 org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)

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

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

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

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

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

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

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

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

at
 org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:584)

at
 org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447

Re: Transport error: 403 Error: access forbidden

2008-04-18 Thread Vikas Gujjar
Hi Chris,

I faced this issue a short while back (rather still facing it). I
temporarily inserted a catch throwable around the web service implementation
class and discovered that one of the operation I was performing was
resulting in OutOfMemoryError after few calls from the client.

Hope this helps.

Thanks,
Vikas

On Wed, Apr 16, 2008 at 11:03 PM, Deepal Jayasinghe [EMAIL PROTECTED]
wrote:

 hi Chris ,
 Any possibility of creating test case ? if so that would be a great help
 to fix the issue.
 Or even send you service aar file.

 Thank you!
 Deepal


  Hello all,
 
 
  I am having a strange problem. I have built a POJO web service that is
  itself an ADB client to another ws(.NET) and all works fine,  but I notice
  for some reason when I use my test client make calls multiple times..and I
  don't even mean load testing..but just manually call via a button click like
  once a second….or even less…by 10 calls or so it throws an exception on the
  server(shown below) .   I can loop calls and it will run 10 or so ok, then
  start throwing this exception for several, then run a few more ok, then
  throw this exception back and forth like that.  I am not using SSL, https,
  or any other thing like that either , and as I said I'm using ADB.  It seems
  like some sort of loading/performance issue, but I never see any spike in
  CPU usage and as I said, I am doing ridiculously low call frequency.
   Perhaps there is a resource issue by having an Axis2 web service that is
  both a service and a client to another WS? That should work fine, but maybe
  I need to take special steps?  If anyone has any ideas on this, please help
  me out…
 
 
  Thanks,
 
 
  Chris
 
 
  [ERROR] org.apache.axis2.AxisFault: Transport error: 403 Error: Access
  Forbidden
 
  java.lang.reflect.InvocationTargetException
 
 at sun.reflect.GeneratedMethodAccessor34.invoke(Unknown Source)
 
 at
  sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
 
 at java.lang.reflect.Method.invoke(Method.java:597)
 
 at
  org.apache.axis2.rpc.receivers.RPCUtil.invokeServiceClass(RPCUtil.java:194)
 
 at
  org.apache.axis2.rpc.receivers.RPCMessageReceiver.invokeBusinessLogic(RPCMessageReceiver.java:98)
 
 at
  org.apache.axis2.receivers.AbstractInOutMessageReceiver.invokeBusinessLogic(AbstractInOutMessageReceiver.jav
 
  :40)
 
 at
  org.apache.axis2.receivers.AbstractMessageReceiver.receive(AbstractMessageReceiver.java:96)
 
 at
  org.apache.axis2.engine.AxisEngine.receive(AxisEngine.java:145)
 
 at
  org.apache.axis2.transport.http.HTTPTransportUtils.processHTTPPostRequest(HTTPTransportUtils.java:275)
 
 at
  org.apache.axis2.transport.http.AxisServlet.doPost(AxisServlet.java:120)
 
 at javax.servlet.http.HttpServlet.service(HttpServlet.java:710)
 
 at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
 
 at
  org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
 
 at
  org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
 
 at
  org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
 
 at
  org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
 
 at
  org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
 
 at
  org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
 
 at
  org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
 
 at
  org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:263)
 
 at
  org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)
 
 at
  org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:584)
 
 at
  org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
 
 at java.lang.Thread.run(Thread.java:619)
 
 
 



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




Re: Configuring a whitelist

2008-04-10 Thread Vikas Gujjar
Hi Tony,

I have quite successfully used handlers for this.

You may want to use the pre-configured SimpleAuthentication and
SimpleAuthorization Handlers.
http://ws.apache.org/axis/java/reference.html#Pre-ConfiguredAxisComponentsReference


Thanks,
Vikas

On Wed, Apr 9, 2008 at 8:11 AM, Tony Thompson [EMAIL PROTECTED]
wrote:

  I am using Axis Java 1.4.  Is there any way I can add some simple
 security like a whitelist to my web services so that only certain clients
 can connect?  If not, is this in Axis2 by any chance?

 Thanks
 Tony

 This message (and any associated files) is intended only for the
 use of the individual or entity to which it is addressed and may
 contain information that is confidential, subject to copyright or
 constitutes a trade secret. If you are not the intended recipient
 you are hereby notified that any dissemination, copying or
 distribution of this message, or files associated with this message,
 is strictly prohibited. If you have received this message in error,
 please notify us immediately by replying to the message and deleting
 it from your computer. Messages sent to and from Stoneware, Inc.
 may be monitored.




-- 
Thanks,
Vikas C Gujjar


Re: how to deploy an axis client war in weblogic without running the axis admin client

2008-04-08 Thread Vikas Gujjar
Hi Ehlan,

You need to make an entry for the service in  WEB-INF\server-config.wsdd

Thanks,
Vikas

On Tue, Apr 8, 2008 at 10:42 AM, [EMAIL PROTECTED] wrote:

  Hi
 I am very new to axis and web services, I apologize if my question is very
 basic.



 I would like to have my axis service deployed to weblogic appserver
 automatically when the war/ear file is deployed. Without having to run the
 axis-admin script in my ant.



 Any help appreciated.



 Thanks


 Ehlan



 *Ehlan A. Siddiqi*

 Business Direct Systems

 Wells Fargo Bank

 Phone: 415-371-3730 | Cell: 510-393-8595 | Fax: 415-371-2700 |MAC
 A0109-040



 *This message may contain confidential and/or privileged information. If
 you are not the addressee or authorized to receive this for the addressee,
 you must not use, copy, disclose, or take any action based on this message
 or any information herein. If you have received this message in error,
 please advise the sender immediately by reply e-mail and delete this
 message. Thank you for your cooperation.*






-- 
Thanks,
Vikas C Gujjar