However when I tried to use the same example (430) with synapse-war-1.1.1.war
which is deployed in jboss AS 4.2.1, it throws Exception which is:
Z:\jboss6_good\jboss-4.2.1.GA\server\all\.\tmp\deploy\tmp44289synapse-war-1.1.1-exp.war\\WEB-INF/conf\synapse.xml
17:40:22,768 INFO [STDOUT] 2008-04-24 17:40:22,768 [128.240.150.106-morralee]
[main] ERROR CalloutMediator Error initializing callout mediator : Couldn't
find repository location './samples/axis2Client/client_repo'
org.apache.axis2.AxisFault: Couldn't find repository location
'./samples/axis2Client/client_repo'
May I mention that, when synapse-war-1.1.1.war deployed in jbossAS 4.2.1 with any other configuration file (synapse_sample_0.xml - synapse_sample_100.xml )
is working fine, however with synapse_sample_430.xml it throws the mentioned
Exception above�?
JBoss seems to extract the WAR into a temp directory
"Z:\jboss6_good\jboss-4.2.1.GA\server\all\.\tmp\deploy\tmp44289synapse-war-1.1.1-exp.war",
but I think the PWD (present working directory) for the JBoss process
and the WAR applications it loads is something like
"Z:\jboss6_good\jboss-4.2.1.GA" and thus the relative [and unfortunately
hardcoded :-( ] path used by the callout
"./samples/axis2Client/client_repo" does not resolve correctly from there..
Anyway a JIRA would be what we need to get this fixed properly..
asankha