You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@geronimo.apache.org by "Lin Sun (JIRA)" <de...@geronimo.apache.org> on 2005/10/18 22:48:44 UTC

[jira] Created: (GERONIMO-1089) Deployer failed to deploy certain applications if geronimo is installed to a directory that has space

Deployer failed to deploy certain applications if geronimo is installed to a directory that has space
-----------------------------------------------------------------------------------------------------

         Key: GERONIMO-1089
         URL: http://issues.apache.org/jira/browse/GERONIMO-1089
     Project: Geronimo
        Type: Bug
  Components: deployment  
    Versions: 1.0-M5    
 Environment: Windows + Tomcat 
    Reporter: Lin Sun


My geronimo is at directory e:\program files\geronimo\modules\assembly\target\geronimo-1.0-M5.  When I deployed daytrader, I got the following failure:

e:\program files\geronimo\modules\assembly\target\geronimo-1.0-M5\bin>deploy.bat
 deploy "\program files\sandbox\samples\Trade\daytrader-ear-1.0-SNAPSHOT.ear" "\
program files\sandbox\samples\Trade\dayTrader-plan.xml"
Username: system
Password:

    Error: Unable to distribute daytrader-ear-1.0-SNAPSHOT.ear: Bad path
    to external module, a connector caused by Illegal character in
    opaque part at index 2: e:\program
    files\geronimo\modules\assembly\target\geronimo-1.0-M5\repository\tranql/rar
s/tranql-connector-derby-embed-xa-1.0.rar

This is caused by deployer not able to handle the "       <external-path>tranql/rars/tranql-connector-derby-embed-xa-1.0.rar</external-path>" element specified in the daytrader-plan.xml.   

If I broke the daytrader database resource plan to a seperate plan, I can deploy the TradeDataSource as the workaround:

e:\program files\geronimo\modules\assembly\target\geronimo-1.0-M5\bin>deploy.bat
 deploy "\program files\sandbox\samples\Trade\dayTrader-dbplan.xml" ..\repositor
y\tranql\rars\tranql-connector-derby-embed-xa-1.0.rar
Username: system
Password:

    Deployed TradeDataSource

Similar problem happens with the "<external-rar>activemq/rars/activemq-ra-3.2-M1.rar</external-rar>" element.

I don't mind digging more into this...any help/hints is appreciated.   I figure I should start at deployer.log, but I didn't see a deployer.log generated.    

-- 
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


Re: [jira] Created: (GERONIMO-1089) Deployer failed to deploy certain applications if geronimo is installed to a directory that has space

Posted by David Jencks <da...@yahoo.com>.
If you are deploying to a running server the error trace should be in  
geronimo.log

thanks
david jencks

On Oct 18, 2005, at 1:48 PM, Lin Sun (JIRA) wrote:

> Deployer failed to deploy certain applications if geronimo is  
> installed to a directory that has space
> ----------------------------------------------------------------------- 
> ------------------------------
>
>          Key: GERONIMO-1089
>          URL: http://issues.apache.org/jira/browse/GERONIMO-1089
>      Project: Geronimo
>         Type: Bug
>   Components: deployment
>     Versions: 1.0-M5
>  Environment: Windows + Tomcat
>     Reporter: Lin Sun
>
>
> My geronimo is at directory e:\program  
> files\geronimo\modules\assembly\target\geronimo-1.0-M5.  When I  
> deployed daytrader, I got the following failure:
>
> e:\program  
> files\geronimo\modules\assembly\target\geronimo-1.0-M5\bin>deploy.bat
>  deploy "\program  
> files\sandbox\samples\Trade\daytrader-ear-1.0-SNAPSHOT.ear" "\
> program files\sandbox\samples\Trade\dayTrader-plan.xml"
> Username: system
> Password:
>
>     Error: Unable to distribute daytrader-ear-1.0-SNAPSHOT.ear: Bad  
> path
>     to external module, a connector caused by Illegal character in
>     opaque part at index 2: e:\program
>      
> files\geronimo\modules\assembly\target\geronimo-1.0- 
> M5\repository\tranql/rar
> s/tranql-connector-derby-embed-xa-1.0.rar
>
> This is caused by deployer not able to handle the "        
> <external-path>tranql/rars/tranql-connector-derby-embed-xa-1.0.rar</ 
> external-path>" element specified in the daytrader-plan.xml.
>
> If I broke the daytrader database resource plan to a seperate plan, I  
> can deploy the TradeDataSource as the workaround:
>
> e:\program  
> files\geronimo\modules\assembly\target\geronimo-1.0-M5\bin>deploy.bat
>  deploy "\program files\sandbox\samples\Trade\dayTrader-dbplan.xml"  
> ..\repositor
> y\tranql\rars\tranql-connector-derby-embed-xa-1.0.rar
> Username: system
> Password:
>
>     Deployed TradeDataSource
>
> Similar problem happens with the  
> "<external-rar>activemq/rars/activemq-ra-3.2-M1.rar</external-rar>"  
> element.
>
> I don't mind digging more into this...any help/hints is appreciated.    
> I figure I should start at deployer.log, but I didn't see a  
> deployer.log generated.
>
> -- 
> 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] Assigned: (GERONIMO-1089) Deployer failed to deploy certain applications if geronimo is installed to a directory that has space

Posted by "Matt Hogstrom (JIRA)" <de...@geronimo.apache.org>.
     [ http://issues.apache.org/jira/browse/GERONIMO-1089?page=all ]

Matt Hogstrom reassigned GERONIMO-1089:
---------------------------------------

    Assign To: Matt Hogstrom

> Deployer failed to deploy certain applications if geronimo is installed to a directory that has space
> -----------------------------------------------------------------------------------------------------
>
>          Key: GERONIMO-1089
>          URL: http://issues.apache.org/jira/browse/GERONIMO-1089
>      Project: Geronimo
>         Type: Bug
>   Components: deployment
>     Versions: 1.0-M5
>  Environment: Windows + Tomcat 
>     Reporter: Lin Sun
>     Assignee: Matt Hogstrom
>  Attachments: Geronimo-1089.patch
>
> My geronimo is at directory e:\program files\geronimo\modules\assembly\target\geronimo-1.0-M5.  When I deployed daytrader, I got the following failure:
> e:\program files\geronimo\modules\assembly\target\geronimo-1.0-M5\bin>deploy.bat
>  deploy "\program files\sandbox\samples\Trade\daytrader-ear-1.0-SNAPSHOT.ear" "\
> program files\sandbox\samples\Trade\dayTrader-plan.xml"
> Username: system
> Password:
>     Error: Unable to distribute daytrader-ear-1.0-SNAPSHOT.ear: Bad path
>     to external module, a connector caused by Illegal character in
>     opaque part at index 2: e:\program
>     files\geronimo\modules\assembly\target\geronimo-1.0-M5\repository\tranql/rar
> s/tranql-connector-derby-embed-xa-1.0.rar
> This is caused by deployer not able to handle the "       <external-path>tranql/rars/tranql-connector-derby-embed-xa-1.0.rar</external-path>" element specified in the daytrader-plan.xml.   
> If I broke the daytrader database resource plan to a seperate plan, I can deploy the TradeDataSource as the workaround:
> e:\program files\geronimo\modules\assembly\target\geronimo-1.0-M5\bin>deploy.bat
>  deploy "\program files\sandbox\samples\Trade\dayTrader-dbplan.xml" ..\repositor
> y\tranql\rars\tranql-connector-derby-embed-xa-1.0.rar
> Username: system
> Password:
>     Deployed TradeDataSource
> Similar problem happens with the "<external-rar>activemq/rars/activemq-ra-3.2-M1.rar</external-rar>" element.
> I don't mind digging more into this...any help/hints is appreciated.   I figure I should start at deployer.log, but I didn't see a deployer.log generated.    

-- 
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: (GERONIMO-1089) Deployer failed to deploy certain applications if geronimo is installed to a directory that has space

Posted by "Lin Sun (JIRA)" <de...@geronimo.apache.org>.
    [ http://issues.apache.org/jira/browse/GERONIMO-1089?page=comments#action_12332589 ] 

Lin Sun commented on GERONIMO-1089:
-----------------------------------

>From the geronimo.log, here's the stack trace:

org.apache.geronimo.common.DeploymentException: Could not access contents of a connector
	at org.apache.geronimo.j2ee.deployment.EARConfigBuilder.addModules(EARConfigBuilder.java:618)
	at org.apache.geronimo.j2ee.deployment.EARConfigBuilder.getEarPlan(EARConfigBuilder.java:222)
	at org.apache.geronimo.j2ee.deployment.EARConfigBuilder.getDeploymentPlan(EARConfigBuilder.java:118)
	at org.apache.geronimo.j2ee.deployment.EARConfigBuilder$$FastClassByCGLIB$$38e56ec6.invoke(<generated>)
	at net.sf.cglib.reflect.FastMethod.invoke(FastMethod.java:53)
	at org.apache.geronimo.gbean.runtime.FastMethodInvoker.invoke(FastMethodInvoker.java:38)
	at org.apache.geronimo.gbean.runtime.GBeanOperation.invoke(GBeanOperation.java:118)
	at org.apache.geronimo.gbean.runtime.GBeanInstance.invoke(GBeanInstance.java:760)
	at org.apache.geronimo.gbean.runtime.RawInvoker.invoke(RawInvoker.java:57)
	at org.apache.geronimo.kernel.basic.RawOperationInvoker.invoke(RawOperationInvoker.java:36)
	at org.apache.geronimo.kernel.basic.ProxyMethodInterceptor.intercept(ProxyMethodInterceptor.java:96)
	at org.apache.geronimo.deployment.ConfigurationBuilder$$EnhancerByCGLIB$$8327c217.getDeploymentPlan(<generated>)
	at org.apache.geronimo.deployment.Deployer.deploy(Deployer.java:145)
	at org.apache.geronimo.deployment.Deployer.deploy(Deployer.java:91)
	at org.apache.geronimo.deployment.Deployer$$FastClassByCGLIB$$734a235d.invoke(<generated>)
	at net.sf.cglib.reflect.FastMethod.invoke(FastMethod.java:53)
	at org.apache.geronimo.gbean.runtime.FastMethodInvoker.invoke(FastMethodInvoker.java:38)
	at org.apache.geronimo.gbean.runtime.GBeanOperation.invoke(GBeanOperation.java:118)
	at org.apache.geronimo.gbean.runtime.GBeanInstance.invoke(GBeanInstance.java:795)
	at org.apache.geronimo.kernel.basic.BasicKernel.invoke(BasicKernel.java:181)
	at org.apache.geronimo.kernel.KernelGBean.invoke(KernelGBean.java:125)
	at org.apache.geronimo.kernel.KernelGBean$$FastClassByCGLIB$$1cccefc9.invoke(<generated>)
	at net.sf.cglib.reflect.FastMethod.invoke(FastMethod.java:53)
	at org.apache.geronimo.gbean.runtime.FastMethodInvoker.invoke(FastMethodInvoker.java:38)
	at org.apache.geronimo.gbean.runtime.GBeanOperation.invoke(GBeanOperation.java:118)
	at org.apache.geronimo.gbean.runtime.GBeanInstance.invoke(GBeanInstance.java:795)
	at org.apache.geronimo.kernel.basic.BasicKernel.invoke(BasicKernel.java:181)
	at org.apache.geronimo.kernel.jmx.MBeanServerDelegate.invoke(MBeanServerDelegate.java:117)
	at mx4j.remote.rmi.RMIConnectionInvoker.invoke(RMIConnectionInvoker.java:219)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java(Compiled Code))
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java(Compiled Code))
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java(Compiled Code))
	at java.lang.reflect.Method.invoke(Method.java(Compiled Code))
	at mx4j.remote.rmi.RMIConnectionProxy.invoke(RMIConnectionProxy.java:34)
	at mx4j.remote.rmi.RMIConnectionSubjectInvoker.chain(RMIConnectionSubjectInvoker.java:99)
	at mx4j.remote.rmi.RMIConnectionSubjectInvoker.access$000(RMIConnectionSubjectInvoker.java:31)
	at mx4j.remote.rmi.RMIConnectionSubjectInvoker$1.run(RMIConnectionSubjectInvoker.java:90)
	at java.security.AccessController.doPrivileged1(Native Method)
	at java.security.AccessController.doPrivileged(AccessController.java(Compiled Code))
	at javax.security.auth.Subject.doAsPrivileged(Subject.java:709)
	at mx4j.remote.MX4JRemoteUtils.subjectInvoke(MX4JRemoteUtils.java:163)
	at mx4j.remote.rmi.RMIConnectionSubjectInvoker.subjectInvoke(RMIConnectionSubjectInvoker.java:86)
	at mx4j.remote.rmi.RMIConnectionSubjectInvoker.invoke(RMIConnectionSubjectInvoker.java:80)
	at $Proxy0.invoke(Unknown Source)
	at javax.management.remote.rmi.RMIConnectionImpl.invoke(RMIConnectionImpl.java:221)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java(Compiled Code))
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java(Compiled Code))
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java(Compiled Code))
	at java.lang.reflect.Method.invoke(Method.java(Compiled Code))
	at sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:279)
	at sun.rmi.transport.Transport$1.run(Transport.java:164)
	at java.security.AccessController.doPrivileged1(Native Method)
	at java.security.AccessController.doPrivileged(AccessController.java(Compiled Code))
	at sun.rmi.transport.Transport.serviceCall(Transport.java:160)
	at sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:505)
	at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.handleRequest(TCPTransport.java:837)
	at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:911)
	at java.lang.Thread.run(Thread.java:570)
Caused by: java.util.zip.ZipException: The system cannot find the path specified E:\program%20files\geronimo-1.0-M5\repository\tranql\rars\tranql-connector-derby-embed-xa-1.0.rar
	at java.util.zip.ZipFile.open(Native Method)
	at java.util.zip.ZipFile.<init>(ZipFile.java:140)
	at java.util.jar.JarFile.<init>(JarFile.java:160)
	at java.util.jar.JarFile.<init>(JarFile.java:98)
	at org.apache.geronimo.j2ee.deployment.EARConfigBuilder.addModules(EARConfigBuilder.java:616)
	... 59 more

I changed my geronimo home directory to \program files\geronimo-1.0-M5.    Looked at the EARConfigBuilder.java file and added some debug prints.   Seems the problem lies in the repository.getURL(pathURI) function:

                    try {
                        pathURL = repository.getURL(pathURI);   
                    	System.out.println("***linsun***pathURI " + pathURI);     
                    	System.out.println("***linsun***pathURL " + pathURL);                
                    } catch (MalformedURLException e) {
                        throw new DeploymentException("Could not locate " + moduleTypeName + " in repository", e);
                    }
                    try {
                        moduleFile = new JarFile(pathURL.getFile());
                    } catch (IOException e) {
                        throw new DeploymentException("Could not access contents of " + moduleTypeName, e);
                    }


Here is the output of the two println statements:

***linsun***pathURI tranql/rars/tranql-connector-derby-embed-xa-1.0.rar
***linsun***pathURL file:/E:/program%20files/geronimo-1.0-M5/repository/tranql/rars/tranql-connector-derby-embed-xa-1.0.rar

I looked at Repository.java and found out it is an Interface and doesn't contain any implementation of getURL() method.

Will look more into this...




> Deployer failed to deploy certain applications if geronimo is installed to a directory that has space
> -----------------------------------------------------------------------------------------------------
>
>          Key: GERONIMO-1089
>          URL: http://issues.apache.org/jira/browse/GERONIMO-1089
>      Project: Geronimo
>         Type: Bug
>   Components: deployment
>     Versions: 1.0-M5
>  Environment: Windows + Tomcat 
>     Reporter: Lin Sun

>
> My geronimo is at directory e:\program files\geronimo\modules\assembly\target\geronimo-1.0-M5.  When I deployed daytrader, I got the following failure:
> e:\program files\geronimo\modules\assembly\target\geronimo-1.0-M5\bin>deploy.bat
>  deploy "\program files\sandbox\samples\Trade\daytrader-ear-1.0-SNAPSHOT.ear" "\
> program files\sandbox\samples\Trade\dayTrader-plan.xml"
> Username: system
> Password:
>     Error: Unable to distribute daytrader-ear-1.0-SNAPSHOT.ear: Bad path
>     to external module, a connector caused by Illegal character in
>     opaque part at index 2: e:\program
>     files\geronimo\modules\assembly\target\geronimo-1.0-M5\repository\tranql/rar
> s/tranql-connector-derby-embed-xa-1.0.rar
> This is caused by deployer not able to handle the "       <external-path>tranql/rars/tranql-connector-derby-embed-xa-1.0.rar</external-path>" element specified in the daytrader-plan.xml.   
> If I broke the daytrader database resource plan to a seperate plan, I can deploy the TradeDataSource as the workaround:
> e:\program files\geronimo\modules\assembly\target\geronimo-1.0-M5\bin>deploy.bat
>  deploy "\program files\sandbox\samples\Trade\dayTrader-dbplan.xml" ..\repositor
> y\tranql\rars\tranql-connector-derby-embed-xa-1.0.rar
> Username: system
> Password:
>     Deployed TradeDataSource
> Similar problem happens with the "<external-rar>activemq/rars/activemq-ra-3.2-M1.rar</external-rar>" element.
> I don't mind digging more into this...any help/hints is appreciated.   I figure I should start at deployer.log, but I didn't see a deployer.log generated.    

-- 
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] Closed: (GERONIMO-1089) Deployer failed to deploy certain applications if geronimo is installed to a directory that has space

Posted by "Matt Hogstrom (JIRA)" <de...@geronimo.apache.org>.
     [ http://issues.apache.org/jira/browse/GERONIMO-1089?page=all ]
     
Matt Hogstrom closed GERONIMO-1089:
-----------------------------------

    Resolution: Fixed

hogstrom@matt:~/dev/geronimo/modules> svn commit -m "GERONIMO-1089 - applied patch to correct problem with spaces in dir name"
Sending        modules/client-builder/src/java/org/apache/geronimo/client/builder/AppClientModuleBuilder.java
Sending        modules/j2ee-builder/src/java/org/apache/geronimo/j2ee/deployment/EARConfigBuilder.java
Transmitting file data ..
Committed revision 327089.


> Deployer failed to deploy certain applications if geronimo is installed to a directory that has space
> -----------------------------------------------------------------------------------------------------
>
>          Key: GERONIMO-1089
>          URL: http://issues.apache.org/jira/browse/GERONIMO-1089
>      Project: Geronimo
>         Type: Bug
>   Components: deployment
>     Versions: 1.0-M5
>  Environment: Windows + Tomcat 
>     Reporter: Lin Sun
>     Assignee: Matt Hogstrom
>  Attachments: Geronimo-1089.patch
>
> My geronimo is at directory e:\program files\geronimo\modules\assembly\target\geronimo-1.0-M5.  When I deployed daytrader, I got the following failure:
> e:\program files\geronimo\modules\assembly\target\geronimo-1.0-M5\bin>deploy.bat
>  deploy "\program files\sandbox\samples\Trade\daytrader-ear-1.0-SNAPSHOT.ear" "\
> program files\sandbox\samples\Trade\dayTrader-plan.xml"
> Username: system
> Password:
>     Error: Unable to distribute daytrader-ear-1.0-SNAPSHOT.ear: Bad path
>     to external module, a connector caused by Illegal character in
>     opaque part at index 2: e:\program
>     files\geronimo\modules\assembly\target\geronimo-1.0-M5\repository\tranql/rar
> s/tranql-connector-derby-embed-xa-1.0.rar
> This is caused by deployer not able to handle the "       <external-path>tranql/rars/tranql-connector-derby-embed-xa-1.0.rar</external-path>" element specified in the daytrader-plan.xml.   
> If I broke the daytrader database resource plan to a seperate plan, I can deploy the TradeDataSource as the workaround:
> e:\program files\geronimo\modules\assembly\target\geronimo-1.0-M5\bin>deploy.bat
>  deploy "\program files\sandbox\samples\Trade\dayTrader-dbplan.xml" ..\repositor
> y\tranql\rars\tranql-connector-derby-embed-xa-1.0.rar
> Username: system
> Password:
>     Deployed TradeDataSource
> Similar problem happens with the "<external-rar>activemq/rars/activemq-ra-3.2-M1.rar</external-rar>" element.
> I don't mind digging more into this...any help/hints is appreciated.   I figure I should start at deployer.log, but I didn't see a deployer.log generated.    

-- 
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: (GERONIMO-1089) Deployer failed to deploy certain applications if geronimo is installed to a directory that has space

Posted by "Lin Sun (JIRA)" <de...@geronimo.apache.org>.
    [ http://issues.apache.org/jira/browse/GERONIMO-1089?page=comments#action_12332616 ] 

Lin Sun commented on GERONIMO-1089:
-----------------------------------

I followed the instruction of Debugging Geronimo as a Remote Java Application on the wiki, and able to debug it using eclipse.   Since we don't have the implementation of the Repository interface in the geronimo source code (seems from CGLIB), I decided to work around this problem by using the URLDecoder.

> Deployer failed to deploy certain applications if geronimo is installed to a directory that has space
> -----------------------------------------------------------------------------------------------------
>
>          Key: GERONIMO-1089
>          URL: http://issues.apache.org/jira/browse/GERONIMO-1089
>      Project: Geronimo
>         Type: Bug
>   Components: deployment
>     Versions: 1.0-M5
>  Environment: Windows + Tomcat 
>     Reporter: Lin Sun

>
> My geronimo is at directory e:\program files\geronimo\modules\assembly\target\geronimo-1.0-M5.  When I deployed daytrader, I got the following failure:
> e:\program files\geronimo\modules\assembly\target\geronimo-1.0-M5\bin>deploy.bat
>  deploy "\program files\sandbox\samples\Trade\daytrader-ear-1.0-SNAPSHOT.ear" "\
> program files\sandbox\samples\Trade\dayTrader-plan.xml"
> Username: system
> Password:
>     Error: Unable to distribute daytrader-ear-1.0-SNAPSHOT.ear: Bad path
>     to external module, a connector caused by Illegal character in
>     opaque part at index 2: e:\program
>     files\geronimo\modules\assembly\target\geronimo-1.0-M5\repository\tranql/rar
> s/tranql-connector-derby-embed-xa-1.0.rar
> This is caused by deployer not able to handle the "       <external-path>tranql/rars/tranql-connector-derby-embed-xa-1.0.rar</external-path>" element specified in the daytrader-plan.xml.   
> If I broke the daytrader database resource plan to a seperate plan, I can deploy the TradeDataSource as the workaround:
> e:\program files\geronimo\modules\assembly\target\geronimo-1.0-M5\bin>deploy.bat
>  deploy "\program files\sandbox\samples\Trade\dayTrader-dbplan.xml" ..\repositor
> y\tranql\rars\tranql-connector-derby-embed-xa-1.0.rar
> Username: system
> Password:
>     Deployed TradeDataSource
> Similar problem happens with the "<external-rar>activemq/rars/activemq-ra-3.2-M1.rar</external-rar>" element.
> I don't mind digging more into this...any help/hints is appreciated.   I figure I should start at deployer.log, but I didn't see a deployer.log generated.    

-- 
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] Updated: (GERONIMO-1089) Deployer failed to deploy certain applications if geronimo is installed to a directory that has space

Posted by "Lin Sun (JIRA)" <de...@geronimo.apache.org>.
     [ http://issues.apache.org/jira/browse/GERONIMO-1089?page=all ]

Lin Sun updated GERONIMO-1089:
------------------------------

    Attachment: Geronimo-1089.patch

With the patch, I am able to deploy and undeploy daytrader when the geronimo home is e:\program files\geronimo-1.0-M5.  Can someone apply the patch for me?   Thanks, Lin

> Deployer failed to deploy certain applications if geronimo is installed to a directory that has space
> -----------------------------------------------------------------------------------------------------
>
>          Key: GERONIMO-1089
>          URL: http://issues.apache.org/jira/browse/GERONIMO-1089
>      Project: Geronimo
>         Type: Bug
>   Components: deployment
>     Versions: 1.0-M5
>  Environment: Windows + Tomcat 
>     Reporter: Lin Sun
>  Attachments: Geronimo-1089.patch
>
> My geronimo is at directory e:\program files\geronimo\modules\assembly\target\geronimo-1.0-M5.  When I deployed daytrader, I got the following failure:
> e:\program files\geronimo\modules\assembly\target\geronimo-1.0-M5\bin>deploy.bat
>  deploy "\program files\sandbox\samples\Trade\daytrader-ear-1.0-SNAPSHOT.ear" "\
> program files\sandbox\samples\Trade\dayTrader-plan.xml"
> Username: system
> Password:
>     Error: Unable to distribute daytrader-ear-1.0-SNAPSHOT.ear: Bad path
>     to external module, a connector caused by Illegal character in
>     opaque part at index 2: e:\program
>     files\geronimo\modules\assembly\target\geronimo-1.0-M5\repository\tranql/rar
> s/tranql-connector-derby-embed-xa-1.0.rar
> This is caused by deployer not able to handle the "       <external-path>tranql/rars/tranql-connector-derby-embed-xa-1.0.rar</external-path>" element specified in the daytrader-plan.xml.   
> If I broke the daytrader database resource plan to a seperate plan, I can deploy the TradeDataSource as the workaround:
> e:\program files\geronimo\modules\assembly\target\geronimo-1.0-M5\bin>deploy.bat
>  deploy "\program files\sandbox\samples\Trade\dayTrader-dbplan.xml" ..\repositor
> y\tranql\rars\tranql-connector-derby-embed-xa-1.0.rar
> Username: system
> Password:
>     Deployed TradeDataSource
> Similar problem happens with the "<external-rar>activemq/rars/activemq-ra-3.2-M1.rar</external-rar>" element.
> I don't mind digging more into this...any help/hints is appreciated.   I figure I should start at deployer.log, but I didn't see a deployer.log generated.    

-- 
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