You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@synapse.apache.org by "Asankha C. Perera (JIRA)" <ji...@apache.org> on 2008/05/16 11:36:55 UTC

[jira] Commented: (SYNAPSE-311) Deployment of synapse.war fails on JBoss due to wrong paths specified in the axis2.xml and web.xml files

    [ https://issues.apache.org/jira/browse/SYNAPSE-311?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12597405#action_12597405 ] 

Asankha C. Perera commented on SYNAPSE-311:
-------------------------------------------

Andreas

The ServletContext.getRealPath() cannot be relied upon

"http://java.sun.com/products/servlet/2.1/api/javax.servlet.ServletContext.html#getRealPath(javax.servlet.String)

Applies alias rules to the specified virtual path and returns the corresponding real path. For example, in an HTTP servlet, this method would resolve the path against the HTTP service's docroot. Returns null if virtual paths are not supported, or if the translation could not be performed for any reason."

Also, since we ship only a dummy synapse.xml, you will have to edit the WAR anyway to get anything useful out of it.. I removed the above code so that now one exactly knows from where each artifact/configuration element is loaded

asankha

> 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: dev-unsubscribe@synapse.apache.org
For additional commands, e-mail: dev-help@synapse.apache.org