Hi,
We have a deployement time classloader issue. We need to deploy to more than on
application into the same jboss server one is web application and the other one
is an EAR. the deployement structure of the EAR is
+ myapp1.ear
-META-INF/ -- application.xml and MANIFEST.MF
- config/ --- We are keeping all application related configuration files
- lib/ ---We are keeping all my libirary files
+ myapp1.jar
-- all my classes
-META-INF/MANIFEST.MF -- in the manifest file i am including the
classpath for the
libiraries(through
build.xml )
+ myapp1.war
-- all my wep application files
META-INF/MANIFEST.MF -- in the manifest file i am including the
classpath for the
libiraries(through
build.xml )
If we deploy this application alone it is working fine.
Our second application is an web application
the structure of the application is
+ mywebapp.war
-config/ all my config file
-- All my jsp files
-WEB-INF/lib/ -- all my libirary files
both the application having MyFramework.jar, it having a Controller servlet
which is loaded on startup, but at the time of deploying the second application
the this servlet is not get loaded, while accessing the second application it
pointing to the same configuration file of the first application
* We developed an MVC framework for our application
* It uses a singleton class to read the configuration details, the
configuration file is readed using the following
InputStream in = getClass().getResourceAsStream("/config/"+propertyFileName);
* iset the unified class loaded false in jboss-service.xml
please help me how to solve this
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3936807#3936807
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3936807
-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
JBoss-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jboss-user