dcsimg
Application Static variable isolation
2 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   kumaran_rajendran
Posted On:   Tuesday, January 11, 2005 08:14 AM

Hi all I am having a web application that creates the properties file when it gets deployed by means of ini.java that said to be ‘load-on-startup’ servlet class and save the database properties as static by calling simple java class. I deployed the same web application once again in the same server that the first application deployed. But I need to create different proper file for the second application and use newly created property file. In my case all the filed are hold by static reference in simple java and its getting shared by two applications and I am not able to hold different property values for second application. How could I deploy second application that has its own static reference? I am using jboss 3.2.3 Tha   More>>

Hi all

I am having a web application that creates the properties file when it gets deployed by means of ini.java that said to be ‘load-on-startup’ servlet class and save the database properties as static by calling simple java class. I deployed the same web application once again in the same server that the first application deployed. But I need to create different proper file for the second application and use newly created property file. In my case all the filed are hold by static reference in simple java and its getting shared by two applications and I am not able to hold different property values for second application. How could I deploy second application that has its own static reference?

I am using jboss 3.2.3


Thanks in advance
Kumaran

   <<Less

Re: Application Static variable isolation

Posted By:   Benoit_Quintin  
Posted On:   Tuesday, January 11, 2005 11:11 AM

Use separate VMs, and separate JBoss'

Re: Application Static variable isolation

Posted By:   vinay_salehithal  
Posted On:   Tuesday, January 11, 2005 10:18 AM

Can u provide an example. Iam not able tp understand the scenario.
About | Sitemap | Contact