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 "rnell (JIRA)" <ji...@apache.org> on 2006/04/12 19:06:19 UTC
[jira] Created: (AXIS2-568) DeploymentEngine doesn't understand
conf directory
DeploymentEngine doesn't understand conf directory
--------------------------------------------------
Key: AXIS2-568
URL: http://issues.apache.org/jira/browse/AXIS2-568
Project: Apache Axis 2.0 (Axis2)
Type: Bug
Components: core
Versions: 0.95
Reporter: rnell
In class DeploymentEngine
Some of the code appears to look in the conf directory for the axis2.xml file.
line100: File axis2conf = new File(axisRepo, "conf")
while another branch of the code ignores it:
line 548: in = new FileInputStream(axis2_xml_file_name);
where axis2_xml_file_name is "axis2.xml" , but should be:
in = new FileInputStream( new File( axis2repository + File.separatorChar + DIRECTORY_CONF, axis2_xml_file_name) );
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira
[jira] Commented: (AXIS2-568) DeploymentEngine doesn't understand
conf directory
Posted by "rnell (JIRA)" <ji...@apache.org>.
[ http://issues.apache.org/jira/browse/AXIS2-568?page=comments#action_12374224 ]
rnell commented on AXIS2-568:
-----------------------------
To reproduce this bug I used:
java -cp <classpath> org.apache.axis2.transport.jms.SimpleJMSListener -r etc/server-axis2.repo -c etc/jndi.properties -d queue.A
where service-axis.repo is a directory containing
conf
axis2.xml
services
modules
> DeploymentEngine doesn't understand conf directory
> --------------------------------------------------
>
> Key: AXIS2-568
> URL: http://issues.apache.org/jira/browse/AXIS2-568
> Project: Apache Axis 2.0 (Axis2)
> Type: Bug
> Components: core
> Versions: 0.95
> Reporter: rnell
>
> In class DeploymentEngine
> Some of the code appears to look in the conf directory for the axis2.xml file.
> line100: File axis2conf = new File(axisRepo, "conf")
> while another branch of the code ignores it:
> line 548: in = new FileInputStream(axis2_xml_file_name);
> where axis2_xml_file_name is "axis2.xml" , but should be:
> in = new FileInputStream( new File( axis2repository + File.separatorChar + DIRECTORY_CONF, axis2_xml_file_name) );
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira
[jira] Commented: (AXIS2-568) DeploymentEngine doesn't understand
conf directory
Posted by "rnell (JIRA)" <ji...@apache.org>.
[ http://issues.apache.org/jira/browse/AXIS2-568?page=comments#action_12374367 ]
rnell commented on AXIS2-568:
-----------------------------
The bug is in SimpleJMSListener not the DeploymentEngine and shown above.
in SimpleJMSListener Change near line 76:
if (repo.exists()) {
File axis2xml = new File(repo, "axis2.xml");
this.configurationContext = ConfigurationContextFactory.createConfigurationContextFromFileSystem(
** repositoryDirectory, axis2xml.getName() );
} else {
throw new Exception("repository not found");
}
to:
if (repo.exists()) {
File axis2xml = new File(repo, "axis2.xml");
this.configurationContext = ConfigurationContextFactory.createConfigurationContextFromFileSystem(
** repositoryDirectory, null );
} else {
throw new Exception("repository not found");
}
> DeploymentEngine doesn't understand conf directory
> --------------------------------------------------
>
> Key: AXIS2-568
> URL: http://issues.apache.org/jira/browse/AXIS2-568
> Project: Apache Axis 2.0 (Axis2)
> Type: Bug
> Components: core
> Versions: 0.95
> Reporter: rnell
>
> In class DeploymentEngine
> Some of the code appears to look in the conf directory for the axis2.xml file.
> line100: File axis2conf = new File(axisRepo, "conf")
> while another branch of the code ignores it:
> line 548: in = new FileInputStream(axis2_xml_file_name);
> where axis2_xml_file_name is "axis2.xml" , but should be:
> in = new FileInputStream( new File( axis2repository + File.separatorChar + DIRECTORY_CONF, axis2_xml_file_name) );
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira
[jira] Resolved: (AXIS2-568) DeploymentEngine doesn't understand
conf directory
Posted by "Davanum Srinivas (JIRA)" <ji...@apache.org>.
[ http://issues.apache.org/jira/browse/AXIS2-568?page=all ]
Davanum Srinivas resolved AXIS2-568:
------------------------------------
Resolution: Fixed
Fixed SimpleJMSListener.
> DeploymentEngine doesn't understand conf directory
> --------------------------------------------------
>
> Key: AXIS2-568
> URL: http://issues.apache.org/jira/browse/AXIS2-568
> Project: Apache Axis 2.0 (Axis2)
> Type: Bug
> Components: core
> Versions: 0.95
> Reporter: rnell
>
> In class DeploymentEngine
> Some of the code appears to look in the conf directory for the axis2.xml file.
> line100: File axis2conf = new File(axisRepo, "conf")
> while another branch of the code ignores it:
> line 548: in = new FileInputStream(axis2_xml_file_name);
> where axis2_xml_file_name is "axis2.xml" , but should be:
> in = new FileInputStream( new File( axis2repository + File.separatorChar + DIRECTORY_CONF, axis2_xml_file_name) );
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira