axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Deepal Jayasinghe (JIRA)" <>
Subject [jira] Resolved: (AXIS2-401) generated client stub throws IOException and requires non-null AXIS2_HOME
Date Fri, 03 Mar 2006 10:21:36 GMT
     [ ]
Deepal Jayasinghe resolved AXIS2-401:

    Fix Version: 0.95
     Resolution: Fixed

it is not require to have .axis2home to run Axis2 , so in the current source code does not
require to have repository to run the client side.

> generated client stub throws IOException and requires non-null AXIS2_HOME
> -------------------------------------------------------------------------
>          Key: AXIS2-401
>          URL:
>      Project: Apache Axis 2.0 (Axis2)
>         Type: Bug
>   Components: client-api
>     Versions: 0.94
>  Environment: Windows XP, JDK 1.5
>     Reporter: Aaron Evans
>      Fix For: 0.95

> I generated a client stub based on some wsdl using the eclipse plugin.
> In my stub, it created a static String for axis home and set it to null.
> It also had a comment that suggested this was ok:
> //default axis home being null forces the system to pick up the 
> //mars from the axis2 library
> public static final String AXIS2_HOME = null;
> However, when I run my client from windows, I get the stack trace given below.
> If I set this value to a path that points to a directory with axis2.xml and
> the modules directory in it, then it works fine.
> However, since I am just using axis in a client capacity and I didn't change
> the default axis2.xml or modules, I really think I should be able to run it
> without having to specify any "AXIS2_HOME" configuration.
> I have tried a few workarounds, but haven't been successful yet.  
> Stack trace:
> 	org.apache.axis2.deployment.DeploymentException: Access is denied;  nested exception
> Access is denied
> 	at org.apache.axis2.deployment.DeploymentEngine.prepareRepository(
> 	at org.apache.axis2.deployment.DeploymentEngine.<init>(
> 	at org.apache.axis2.deployment.DeploymentEngine.<init>(
> 	at org.apache.axis2.deployment.FileSystemConfigurator.getAxisConfiguration(
> 	at org.apache.axis2.context.ConfigurationContextFactory.createConfigurationContext(
> 	at org.apache.axis2.context.ConfigurationContextFactory.createConfigurationContextFromFileSystem(
> 	at com.mycompany.WebServiceClientStub.<init>(
> 	at com.mycompany.test.WebServiceClientStubTest.setUp(
> Caused by: Access is denied
> 	at Method)
> 	at
> 	at org.apache.axis2.deployment.DeploymentEngine.prepareRepository(
> 	... 17 more

This message is automatically generated by JIRA.
If you think it was sent incorrectly contact one of the administrators:
For more information on JIRA, see:

View raw message