You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by "Keishi Katoux (JIRA)" <ji...@apache.org> on 2013/02/26 13:38:12 UTC
[jira] [Updated] (AXIS2-5491) Deploying subdirectried contextpath
with tomcat makes serviceName 'null' prefixed
[ https://issues.apache.org/jira/browse/AXIS2-5491?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Keishi Katoux updated AXIS2-5491:
---------------------------------
Summary: Deploying subdirectried contextpath with tomcat makes serviceName 'null' prefixed (was: Deploying subdirectried contextpath with tomcat makes serviceName 'null' prifixed)
> Deploying subdirectried contextpath with tomcat makes serviceName 'null' prefixed
> ----------------------------------------------------------------------------------
>
> Key: AXIS2-5491
> URL: https://issues.apache.org/jira/browse/AXIS2-5491
> Project: Axis2
> Issue Type: Bug
> Components: kernel
> Affects Versions: 1.6.2
> Environment: Windows7 or CentOS6, Tomcat 6.0.36, JDK 1.7.0_13
> Reporter: Keishi Katoux
> Priority: Minor
> Labels: newbie
>
> I have created war package of axis2/j web service.
> It's ok deploying tomcat manager with war name "somename.war". (context path is /somename )
> It's not ok deploying tomcat manager with war name "prefix#somename.war". (context path is /prefix/somename )
> When I accessed to http://hostname/prefix/somename/services/listServices,
> service name is prefixed with 'null'
> for example,
> /somename/services/echoService will be /prefix/somename/services/nullechoService
> With my investication, null is caused in here.
> org/apache/axis2/deployment/ServiceDeployer.java L.96
> axisService.setName(serviceHierarchy + axisService.getName());
> Because Utils.getServiceHierarchy() (called at L.90) returns null as String return value.
> (org/apache/axis2/deployment/util/Utils.java)
> I changed getServiceHierarchy() returning "" (empty string), and get correct service name url mapping.
> But I can't evaluate this workaround is correct or not.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: java-dev-unsubscribe@axis.apache.org
For additional commands, e-mail: java-dev-help@axis.apache.org