Re: Resuse of configurationcontext ends in out of memory error

2009-11-24 Thread Jens Goldhammer
em after making the >> Axis2ConfigurationContext a singleton. >> >> This approach was necessary because creating the configurationcontext >> needs >> a lot of time and we don´t want to do it again and again... This was the >> suggestion in a discussion on the m

Re: Resuse of configurationcontext ends in out of memory error

2009-11-20 Thread Amila Suriarachchi
(deployed > in JBOSS) and have encountered a problem after making the > Axis2ConfigurationContext a singleton. > > This approach was necessary because creating the configurationcontext needs > a lot of time and we don´t want to do it again and again... This was the > suggestion

Resuse of configurationcontext ends in out of memory error

2009-11-20 Thread Jens Goldhammer
Hello together, We are using Axis2 1.4 as ws-client framework in a web application (deployed in JBOSS) and have encountered a problem after making the Axis2ConfigurationContext a singleton. This approach was necessary because creating the configurationcontext needs a lot of time and we don´t

Resuse of configurationcontext ends in out of memory error

2009-11-20 Thread Jens Goldhammer
Hello together, We are using Axis2 1.4 as ws-client framework in a web application (deployed in JBOSS) and have encountered a problem after making the Axis2ConfigurationContext a singleton. This approach was necessary because creating the configurationcontext needs a lot of time and we don´t

RE: How to get ConfigurationContext from a xml file which is in a jar file

2009-06-26 Thread Li, Zhenge
ource(name); this.configContext = ConfigurationContextFactory.createConfigurationContextFromURIs( axis2ConfigAsUrl , null); This article is a good read if you want to find out Different Ways of Creating a ConfigurationContext in Axis2 http://wso2.org/node/585/print

How to get ConfigurationContext from a xml file which is in a jar file

2009-06-24 Thread Jing Tao
Hi, everyone: I am working to write a web service client and have a customized client-axis2.xml. I used the following code to get a ConfigurationContext object: ConfigurationContext ctx = ConfigurationContextFactory.createConfigurationContextFromFileSystem(".", "conf/c

AXIS2: How to load configurationcontext (axis2.xml) inside a J2EE-application acting as WS-client?

2009-06-18 Thread torsten goncz
"http://rst.xyz:8000/axis2/services/WS";; String AXIS2_PATH="C:\\ws\\axis2-1.3"; String CLIENT_REPO_PATH=AXIS2_PATH+"\\repository "; String CLIENT_CONFIG_PATH=AXIS2_PATH+"\\conf\\axis2.xml "; ConfigurationContext ctx = ConfigurationContextFactory.createConfig

Re: AXIS2 - How global is the global configurationContext?

2009-05-08 Thread Andreas Veithen
Globally engaged means engaged at the level of the ConfigurationContext. It is possible to create multiple ConfigurationContext instances in the same VM. Andreas On Fri, May 8, 2009 at 14:05, NHoogervorst wrote: > > We use AXIS2 as a web service client. > We have an axis2.xml an

AXIS2 - How global is the global configurationContext?

2009-05-08 Thread NHoogervorst
abble.com/AXIS2---How-global-is-the-global-configurationContext--tp23444760p23444760.html Sent from the Axis - User mailing list archive at Nabble.com.

ConfigurationContext

2009-01-15 Thread rabelenda
Hi, I have deployed axis, with spring and jsf. I want to create a custom page for listing the available services using jsf. For this I need to retreive the list of services, a saw that this is posible if I could find a way to create an ConfigurationContext, but for this I need an instance of

Re: OutOfMemory in stub if reusing ConfigurationContext

2008-07-01 Thread Amila Suriarachchi
On Tue, Jul 1, 2008 at 3:42 PM, <[EMAIL PROTECTED]> wrote: > > Hi Amila, > > thanks for your fast response. When do you think, the fix will be released > (Axis2 1.5)? yes. currently it is on the trunk. > > > Please could you confirm, that using a Stub and the C

Re: OutOfMemory in stub if reusing ConfigurationContext

2008-07-01 Thread seehamster
Hi Amila, thanks for your fast response. When do you think, the fix will be released (Axis2 1.5)? Please could you confirm, that using a Stub and the ConfigurationContext only one-time is a workaround, until the fix goes into production? Regards, Christoph Original-Nachricht

Re: OutOfMemory in stub if reusing ConfigurationContext

2008-07-01 Thread Amila Suriarachchi
HttpClient. > I get OutOfMemory errors, if I reuse ConfigurationContext previously > generated by: > > configurationContext = > ConfigurationContextFactory.createConfigurationContextFromFileSystem(null, > null); > > The stub instance is created before each call and wi

OutOfMemory in stub if reusing ConfigurationContext

2008-06-30 Thread seehamster
Hi, I am using Axis2 1.4 XMLBeans client stubs with shared Commons HttpClient. I get OutOfMemory errors, if I reuse ConfigurationContext previously generated by: configurationContext = ConfigurationContextFactory.createConfigurationContextFromFileSystem(null, null); The stub instance is

RE: ConfigurationContext

2008-04-30 Thread Kurt Kavanaugh
: axis-user@ws.apache.org Subject: Re: ConfigurationContext -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 rename address.mar as addressing.jar and drop it into WEB-INF/lib. Kurt Kavanaugh wrote: | Background: | | | | Java: 1.5 | | Tomcat 5.25 | | Mod_JK Connector | | Apache web server | | Axis 2

Re: ConfigurationContext

2008-04-30 Thread Davanum Srinivas
integrate with other | distributed applications. | | | | I like the ability to programmatically introduce new services but I do | not see an easy way, or a pattern for accessing the | ConfigurationContext. In stepping through the code it is obvious that it | is fairly expensive operation to create one

ConfigurationContext

2008-04-30 Thread Kurt Kavanaugh
environment. (I.e. We are using Axis2 in an embedded mode). I/we are going to be using Document Style SOAP to integrate with other distributed applications. I like the ability to programmatically introduce new services but I do not see an easy way, or a pattern for accessing the ConfigurationContext

Re: [AXIS2] Class ConfigurationContext...

2008-03-02 Thread Arlindo Luis Marcon Junior
ngageModule("rampart"); ? Martin- - Original Message - Wrom: SZLKBRNVWWCUFPEGAUTFJMVRESKPNKMBIPBARHDMNNSKVFVWRKJVZCMH To: Sent: Sunday, March 02, 2008 8:02 PM Subject: [AXIS2] Class ConfigurationContext... Hi All... Someone, please, can give-me some explanation a

Re: [AXIS2] Class ConfigurationContext...

2008-03-02 Thread mgainty
h 02, 2008 8:02 PM Subject: [AXIS2] Class ConfigurationContext... > Hi All... > > Someone, please, can give-me some explanation about some methods of the > class ConfigurationContext... > ( the javadoc of Axis2 1.3 is empty )... > The methods are: > |*clean

[AXIS2] Class ConfigurationContext...

2008-03-02 Thread Arlindo Luis Marcon Junior
Hi All... Someone, please, can give-me some explanation about some methods of the class ConfigurationContext... ( the javadoc of Axis2 1.3 is empty )... The methods are: |*cleanupContexts *()|? |*finalize *()|? |*terminate *()|? I have a simple client with rampart "inside" anoth

Re: ConfigurationContext and servletContext

2008-02-21 Thread Deepal jayasinghe
servlet context by using ConfigurationContext of axis...? Yes you can using the following code, ServletContext contxt = configContext.getProperty(HTTPConstants.MC_HTTP_SERVLETCONTEXT); Thanks Deepal - To unsubscribe, e-mail

ConfigurationContext and servletContext

2008-02-21 Thread mathieu fabre
ConfigurationContext of axis...? my transport is configure with some values which are not static, so i can't put them in a file -> i would like to use the servlet Context. thanks, Mat

Re: get current ConfigurationContext with embedded tomcat

2008-02-01 Thread Martin Philippi
rything works fine. And how do i get axis to recognize my service.wsdl? Thanks, Martin Original-Nachricht > Datum: Wed, 30 Jan 2008 20:13:44 +0530 > Von: Deepal jayasinghe <[EMAIL PROTECTED]> > An: axis-user@ws.apache.org > Betreff: Re: get current Configurati

Re: get current ConfigurationContext with embedded tomcat

2008-01-30 Thread Deepal jayasinghe
l-Nachricht Datum: Wed, 30 Jan 2008 10:08:45 +0530 Von: Deepal jayasinghe <[EMAIL PROTECTED]> An: axis-user@ws.apache.org Betreff: Re: get current ConfigurationContext with embedded tomcat Hi! I'm developing an application with an embedded tomcat. I want to deploy a A

Re: get current ConfigurationContext with embedded tomcat

2008-01-30 Thread Martin Philippi
working). How do i start it by using AxisServlet? Thanks Martin Original-Nachricht > Datum: Wed, 30 Jan 2008 10:08:45 +0530 > Von: Deepal jayasinghe <[EMAIL PROTECTED]> > An: axis-user@ws.apache.org > Betreff: Re: get current ConfigurationContext with embedded tomc

Re: get current ConfigurationContext with embedded tomcat

2008-01-30 Thread Afkham Azeez
Philippi <[EMAIL PROTECTED]> wrote: > Hi! > I'm developing an application with an embedded tomcat. > I want to deploy a Axis2-Webservice at runtime. > My problem is: How do i get the current ConfigurationContext to add the > service to it? > I can create a new Configurati

Re: get current ConfigurationContext with embedded tomcat

2008-01-29 Thread Deepal jayasinghe
Hi! I'm developing an application with an embedded tomcat. I want to deploy a Axis2-Webservice at runtime. My problem is: How do i get the current ConfigurationContext to add the service to it? I can create a new ConfigurationContext and add the service, but that does not have any e

Re: get current ConfigurationContext with embedded tomcat

2008-01-29 Thread Martin Philippi
I can't, because MessageContext.getCurrentMessageContext() is null. Original-Nachricht > Datum: Tue, 29 Jan 2008 09:13:32 -0500 > Von: "Martin Gainty" <[EMAIL PROTECTED]> > An: [EMAIL PROTECTED] > Betreff: Re: get current ConfigurationConte

get current ConfigurationContext with embedded tomcat

2008-01-29 Thread Martin Philippi
Hi! I'm developing an application with an embedded tomcat. I want to deploy a Axis2-Webservice at runtime. My problem is: How do i get the current ConfigurationContext to add the service to it? I can create a new ConfigurationContext and add the service, but that does not have any e

RE: Axis2- question on creating ConfigurationContext

2007-06-25 Thread Chen, John (N-Avatar Inc.)
On my Axis2 client, I am using the following code to create ConfigurationContext so that I can engage the rampart. I understand we have to use absolute path for the module and axis2.xml. Is there anyway I can load those from my classpath ? I have an tomcat server running and I am wondering if I

Axis2- question on creating ConfigurationContext

2007-06-22 Thread Chen, John (N-Avatar Inc.)
On my Axis2 client, I am using the following code to create ConfigurationContext so that I can engage the rampart. I understand we have to use absolute path for the module and axis2.xml. Is there anyway I can load those from my classpath ? I have an tomcat server running and I am wondering if I

RE: [Axis2] ConfigurationContext configuration

2007-03-29 Thread Betsy Frey
:[EMAIL PROTECTED] Sent: Thursday, March 29, 2007 8:34 AM To: axis-user@ws.apache.org Subject: RE: [Axis2] ConfigurationContext configuration Betsy, thanks. However I would like to change the parameters on the client side. Any clue? Michele On Thu, 2007-03-29 at 08:13 -0700, Betsy Frey wrote

RE: [Axis2] ConfigurationContext configuration

2007-03-29 Thread Michele Mazzucco
ot;true"); > > Betsy > > -Original Message- > From: Michele Mazzucco [mailto:[EMAIL PROTECTED] > Sent: Thursday, March 29, 2007 8:00 AM > To: axis2 > Subject: [Axis2] ConfigurationContext configuration > > Hi all, > > I've al

RE: [Axis2] ConfigurationContext configuration

2007-03-29 Thread Betsy Frey
param = axisConfig.getParameter(Constants.Configuration.CACHE_ATTACHMENTS); param.setValue("true"); Betsy -Original Message- From: Michele Mazzucco [mailto:[EMAIL PROTECTED] Sent: Thursday, March 29, 2007 8:00 AM To: axis2 Subject: [Axis2] ConfigurationContext configuration

[Axis2] ConfigurationContext configuration

2007-03-29 Thread Michele Mazzucco
Hi all, I've already seen this document [1] and I would like to know if there's any way to create a ConfigurationContext, without loading it from a file, with all default parameters apart from the http server port. Thanks, Michele [1] http://wso2.org/l

NoSuchMethodError by creating ConfigurationContext

2006-09-11 Thread daniel . wehrle
Hey, I tryed to use the nightly build to test my Webservice Client. By using the command: ConfigurationContext ctx = ConfigurationContextFactory.createConfigurationContextFromFileSystem("http://localhost/MyService/Service.asmx";, "iJCli.axis2.xml"); I got an NoSuchMet

Odd error in Stub when getting ConfigurationContext

2006-04-26 Thread david.ziebol
eStub(org.apache.axis2.context.Configurati onContext configurationContext, java.lang.String targetEndpoint) throws java.lang.Exception { //To populate AxisService populateAxisService(); populateF