I did some further code research and in my opinion it's absolutely legal to
reuse configurationcontext objects because by default the server's
ListenerManager.defaultConfigurationContext object will be used too.
so this brings me to the point, that using 'non-anonymous'-services (build
dynamically from wsdl) doesn't work properly!!! the services are referenced
by name and therefore must the name must be unique.

am I seeing something wrong?
regards


gerpres wrote:
> 
> hi all,
> can a configurationcontext object been reused safely?
> 
> I'm having trouble when creating a new configurationcontext object on each
> request because of a permgen-space overflow (each configurationcontext
> creates it's own axisconfiguration with it's own classloaders) and a
> disk-overflow (tmp-files aren't deleted any more)
> 
> on the other hand I get a NPE when reusing the configurationcontext with
> following serviceclient constructor
> 
> public ServiceClient(ConfigurationContext configContext, Definition
> wsdl4jDefinition,
>                          QName wsdlServiceName, String portName);
> 
> any good advice?
> regards
>  gerhard
> 
> 

-- 
View this message in context: 
http://old.nabble.com/reusing-configurationcontext-objects-tp28958768p28960113.html
Sent from the Axis - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: java-user-unsubscr...@axis.apache.org
For additional commands, e-mail: java-user-h...@axis.apache.org

Reply via email to