Return-Path: Delivered-To: apmail-geronimo-dev-archive@www.apache.org Received: (qmail 71237 invoked from network); 23 Nov 2010 02:34:08 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 23 Nov 2010 02:34:08 -0000 Received: (qmail 93723 invoked by uid 500); 23 Nov 2010 02:34:39 -0000 Delivered-To: apmail-geronimo-dev-archive@geronimo.apache.org Received: (qmail 93559 invoked by uid 500); 23 Nov 2010 02:34:39 -0000 Mailing-List: contact dev-help@geronimo.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: Reply-To: dev@geronimo.apache.org List-Id: Delivered-To: mailing list dev@geronimo.apache.org Received: (qmail 93552 invoked by uid 99); 23 Nov 2010 02:34:39 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 23 Nov 2010 02:34:39 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.22] (HELO thor.apache.org) (140.211.11.22) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 23 Nov 2010 02:34:36 +0000 Received: from thor (localhost [127.0.0.1]) by thor.apache.org (8.13.8+Sun/8.13.8) with ESMTP id oAN2YElr025375 for ; Tue, 23 Nov 2010 02:34:15 GMT Message-ID: <15678963.250591290479654778.JavaMail.jira@thor> Date: Mon, 22 Nov 2010 21:34:14 -0500 (EST) From: "viola.lu (JIRA)" To: dev@geronimo.apache.org Subject: [jira] Updated: (GERONIMO-5615) Failed to deploy war files after putting server directory under "C:\Documents and Settings\myDir" MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/GERONIMO-5615?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] viola.lu updated GERONIMO-5615: ------------------------------- Attachment: G5615.patch After eclipse osgi version upgrade, just change jarUtil File file = new File(URLDecoder.decode(url.getFile().substring(5, url.getFile().indexOf("!/")),"UTF-8")); Review it.thanks. > Failed to deploy war files after putting server directory under "C:\Documents and Settings\myDir" > ------------------------------------------------------------------------------------------------- > > Key: GERONIMO-5615 > URL: https://issues.apache.org/jira/browse/GERONIMO-5615 > Project: Geronimo > Issue Type: Bug > Security Level: public(Regular issues) > Components: documentation > Affects Versions: 3.0 > Environment: OS: Windows XP SP3 > Reporter: Chris Zhang > Assignee: viola.lu > Priority: Minor > Fix For: 3.0 > > Attachments: G5615.patch, G5615.patch, G5615_Update.patch > > > The steps to recur are: > (1) Create a directory called myDir under "C:\Documents and Settings" > (2) Put the geronimo server directory under "C:\Documents and Settings\myDir". Now the server root directory is "C:\Documents and Settings\myDir\g". > (3) Start the server and login to the admin console. > (4) Deploy a war file and some exceptions thrown. > The exception information is: > > 2010-09-20 16:33:48,329 ERROR [DeploymentPortlet] The application was not deployed. > Unable to create configuration for deployment: dependencies: null > org.apache.geronimo.common.DeploymentException: Unable to create configuration for deployment: dependencies: null > at org.apache.geronimo.deployment.DeploymentContext.createTempConfiguration(DeploymentContext.java:208) > at org.apache.geronimo.deployment.DeploymentContext.initializeConfiguration(DeploymentContext.java:188) > at org.apache.geronimo.j2ee.deployment.EARConfigBuilder.buildConfiguration(EARConfigBuilder.java:615) > at org.apache.geronimo.deployment.Deployer.deploy(Deployer.java:250) > at org.apache.geronimo.deployment.Deployer.deploy(Deployer.java:138) > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:48) > at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) > at java.lang.reflect.Method.invoke(Method.java:600) > at org.apache.geronimo.gbean.runtime.ReflectionMethodInvoker.invoke(ReflectionMethodInvoker.java:34) > at org.apache.geronimo.gbean.runtime.GBeanOperation.invoke(GBeanOperation.java:131) > at org.apache.geronimo.gbean.runtime.GBeanInstance.invoke(GBeanInstance.java:872) > at org.apache.geronimo.kernel.basic.BasicKernel.invoke(BasicKernel.java:245) > at org.apache.geronimo.deployment.plugin.local.AbstractDeployCommand.doDeploy(AbstractDeployCommand.java:116) > at org.apache.geronimo.deployment.plugin.local.DistributeCommand.run(DistributeCommand.java:61) > at java.lang.Thread.run(Thread.java:736) > Caused by: org.osgi.framework.BundleException: An error occurred trying to read the bundle > at org.eclipse.osgi.internal.baseadaptor.BundleInstall.begin(BundleInstall.java:94) > at org.eclipse.osgi.framework.internal.core.Framework.installWorkerPrivileged(Framework.java:922) > at org.eclipse.osgi.framework.internal.core.Framework$1.run(Framework.java:838) > at java.security.AccessController.doPrivileged(AccessController.java:251) > at org.eclipse.osgi.framework.internal.core.Framework.installWorker(Framework.java:889) > at org.eclipse.osgi.framework.internal.core.Framework.installBundle(Framework.java:833) > at org.eclipse.osgi.framework.internal.core.BundleContextImpl.installBundle(BundleContextImpl.java:167) > at org.eclipse.osgi.framework.internal.core.BundleContextImpl.installBundle(BundleContextImpl.java) > at org.apache.geronimo.deployment.DeploymentContext.createTempConfiguration(DeploymentContext.java:200) > ... 15 more > Caused by: java.io.FileNotFoundException: C:\Documents%20and%20Settings\myDir\geronimo-tomcat7-javaee6-3.0-SNAPSHOT\var\temp\geronimo-fileutils3448848740305009830.tmpfile > at org.eclipse.osgi.framework.internal.protocol.reference.ReferenceURLConnection.connect(ReferenceURLConnection.java:46) > at org.eclipse.osgi.framework.internal.protocol.reference.ReferenceURLConnection.getInputStream(ReferenceURLConnection.java:61) > at org.eclipse.osgi.internal.baseadaptor.BundleInstall.begin(BundleInstall.java:56) > ... 23 more -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.