[ 
https://issues.apache.org/jira/browse/SYNAPSE-311?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Andreas Veithen reopened SYNAPSE-311:
-------------------------------------


I think that this is a regression with respect to release 1.1.1. That version 
had the following code to initialize synapse.home automatically:

            String webinfPath = servletContext.getRealPath("WEB-INF");
            if (webinfPath != null) {
                synapseHome = webinfPath.substring(0, 
webinfPath.lastIndexOf("WEB-INF"));
                if (synapseHome != null) {
                    if (synapseHome.endsWith(File.separator)) {
                        synapseHome = synapseHome.substring(0,
                                synapseHome.lastIndexOf(File.separator));
                    }
                }
            }

This works if the servlet container explodes the WAR file into a directory 
(which is the case for most servers). I think that a WAR embedding Synapse 
should be deployable without the need to change any configuration file. This 
worked in 1.1.1 and we should make it work in 1.2.

> Deployment of synapse.war fails on JBoss due to wrong paths specified in the 
> axis2.xml and web.xml files
> --------------------------------------------------------------------------------------------------------
>
>                 Key: SYNAPSE-311
>                 URL: https://issues.apache.org/jira/browse/SYNAPSE-311
>             Project: Synapse
>          Issue Type: Bug
>          Components: Deployment
>    Affects Versions: 1.2-QA-B2
>         Environment: JBoss 4.2.2GA, JDK 1.5.0_14, Ubuntu 7.10
>            Reporter: Evanthika Amarasiri
>            Assignee: Asankha C. Perera
>            Priority: Blocker
>             Fix For: 1.2-QA-B3
>
>
> The paths specified in the web.xml and axis2.xml are invalid.
> In the web.xml the paths specified for the synapse.xml, axis2.repo, 
> axis2.xml, resolve.root are wrong.
> In the conf/axis2.xml the paths specified for identity.jks and trust.jks are 
> wrong.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to