war and ear deployment problem

hi,

I got a war and ear that share common classes. I would like to deploy both of them on the same application server.

I started with weblogic and it worked fine.

Now I am running it on Websphere - the problem is the ear application failed to start - it cant find one of it's property files even though it is in the class path.

I see that the jar containing all the properties is in the class path - the application can access all other properties files except this one.

The problematic properties file is my.commons.logging.properties which is a refactoring to the common.logging jar.

I also see that if the war is not deployed - the ear is deployed without a problem.

the war contains commons.logging.properties and because Websphere also had it's own common.logging i had to use "parent last" for the war deployment.

I will be happy to hear any idea you got about this.

I don抰 understand how two different applications affect each other that way.

Thanks!!!

[1028 byte] By [dremer1a] at [2007-10-2 8:56:21]
# 1
any idea?
dremer1a at 2007-7-16 23:00:27 > top of Java-index,Enterprise & Remote Computing,AVK Portability...
# 2

Hello,

In websphere 6.1 which I am using now a days you can configure class loader policy Parent First or Parent Last. I think if you set it to Parent Last then your problem will be solved.

Regards

Rishi Dev [ http://www.nastec.biz/ ]

Message was edited by:

RDX@NASTEC

RDX@NASTECa at 2007-7-16 23:00:27 > top of Java-index,Enterprise & Remote Computing,AVK Portability...