geronimo-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From David Jencks <david_jen...@yahoo.com>
Subject Re: Leading white space in uri causing error while deploy
Date Thu, 01 Dec 2005 19:10:08 GMT
Thanks, this should be fixed now.

david jencks

On Dec 1, 2005, at 10:02 AM, Rajiv M wrote:

> hello,
>  
> This is an extract of datasource deployment plan which gave me an 
> error as
> "invalid URI specified at index..." when I tried to deploy the 
> datasource:
>  
> <?xml version="1.0"?>
>
> <connector xmlns=" http://geronimo.apache.org/xml/ns/j2ee/connector "
>   version="1.5"
>   configId="MysqlDatabase" 
>   parentId="org/apache/geronimo/Server">
>
> <dependency>
>   <uri>
>     mysql/jars/mysql-connector-java-3.1.8-bin.jar
>   </uri>
> </dependency>
> After checking for a while I found that the <uri> tag had white space 
> characters before the actual value. On trimming these white spaces, 
> the datasource deployed successfully.
>  
> Why was not the white space characters ignored when the deployer 
> processed the plan?
>  
> Thanks,
> Rajiv

Mime
View raw message