>
> Websphere is notorious for its poor logging support. I used Websphere
for
> about 5 years. The server exposes Commons Logging in the parent class
> loader so it's already configured -- and not configurable by you. That
was
> my experience, at least. I think you should google "Websphere Struts
> Logging" and see what you find. It's a battle but I think you'll be able
to
> solve it.
>
>
> Cheers,
> Paul
>
>
A way around the parent class loader issue is to set "PARENT LAST".
Therefore you have to create a file in your EAR project:
/META-INF/ibmconfig/cells/defaultCell/applications/defaultApp/deployments/defaultApp/deployment.xml
With content (WAS 8.5):
<?xml version="1.0" encoding="UTF-8"?>
<appdeployment:Deployment
xmi:version="2.0"
xmlns:xmi="http://www.omg.org/XMI"
xmlns:appcfg="
http://www.ibm.com/websphere/appserver/schemas/5.0/appcfg.xmi"
xmlns:appdeployment="
http://www.ibm.com/websphere/appserver/schemas/5.0/appdeployment.xmi"
xmi:id="Deployment_1221736311046">
<deployedObject xmi:type="appdeployment:ApplicationDeployment"
startingWeight="10">
<classloader mode="PARENT_LAST"/>
<modules xmi:type="appdeployment:WebModuleDeployment" startingWeight=
"10000" classloaderMode="PARENT_LAST" uri="<name of your WAR>"/>
</deployedObject>
</appdeployment:Deployment>
Regards,
Christoph
This Email was scanned by Sophos Anti Virus