users@glassfish.java.net

Re: Deployment IOException "The filename, directory name, or volume label syntax is incorrect"

From: Hong Zhang <Hong.Zhang_at_Sun.COM>
Date: Mon, 05 Mar 2007 17:14:03 -0500

Hi, Todd
    A similar issue was reported before, and the cause was that
"${path.separator}" did not get resolved to ";" in windows for the
classpath-suffix.
    Could you please try if replacing the ${path.separator} in your
classpath-suffix with ";" in domain.xml solve this issue? We have a
diagnostic patch which we could send to you if this is not the same problem.

    Siva: do you remember what was the final resolution to the similar
problem that was reported previously?

    Thanks,

- Hong

Todd Patrick wrote:

>Sun Java System Application Server Platform Edition 9.0_01 (build b14)
>Windows XP Professional (5.1, Build 2600) Service Pack 2
>
>This might just be an issue with Windows (my development workstation),
>each time I deploy my .ear, I keep receiving the following IO exception:
>
>java.io.IOException: The filename, directory name, or volume label
>syntax is incorrect
>
>Might not be a big deal, since the application works just fine.
>
>But, I was wondering if there is way to trouble-shoot this IO exception?
>
>Thanks,
>
>--Todd
>
>[server.log]
>
>ADM1006:Uploading the file to:[C:\Documents and
>Settings\todd.patrick\Local
>Settings\Temp\s1astempdomain1server1142715591\PetroAdminEA.ear]
>LDR5202:Exception in EJBClassLoader
>java.io.IOException: The filename, directory name, or volume label
>syntax is incorrect
> at java.io.WinNTFileSystem.canonicalize0(Native Method)
> at
>java.io.Win32FileSystem.canonicalize(Win32FileSystem.java:396)
> at java.io.File.getCanonicalPath(File.java:559)
> at
>com.sun.enterprise.loader.EJBClassLoader$1.run(EJBClassLoader.java:418)
> at java.security.AccessController.doPrivileged(Native Method)
> at
>com.sun.enterprise.loader.EJBClassLoader.findResource0(EJBClassLoader.ja
>va:391)
> at
>com.sun.enterprise.loader.EJBClassLoader.findResource(EJBClassLoader.jav
>a:467)
> at java.lang.ClassLoader.getResource(ClassLoader.java:977)
> at java.lang.ClassLoader.getResource(ClassLoader.java:972)
> at
>java.lang.ClassLoader.getResourceAsStream(ClassLoader.java:1159)
> at
>com.sun.enterprise.loader.EJBClassLoader.getResourceAsStream(EJBClassLoa
>der.java:782)
> at
>com.sun.xml.rpc.spi.JaxRpcObjectFactory.newInstance(JaxRpcObjectFactory.
>java:131)
> at
>com.sun.enterprise.webservice.codegen.JaxRpcRICodegen.<init>(JaxRpcRICod
>egen.java:120)
> at
>com.sun.enterprise.webservice.codegen.JaxRpcCodegenFactory.getAdapter(Ja
>xRpcCodegenFactory.java:50)
> at com.sun.ejb.codegen.IASEJBC.doCompile(IASEJBC.java:839)
> at com.sun.ejb.codegen.IASEJBC.ejbc(IASEJBC.java:580)
> at
>com.sun.enterprise.deployment.backend.EJBCompiler.preDeployApp(EJBCompil
>er.java:339)
> at
>com.sun.enterprise.deployment.backend.EJBCompiler.compile(EJBCompiler.ja
>va:222)
> at
>com.sun.enterprise.deployment.backend.AppDeployer.runEJBC(AppDeployer.ja
>va:359)
> at
>com.sun.enterprise.deployment.backend.AppDeployer.deploy(AppDeployer.jav
>a:214)
> at
>com.sun.enterprise.deployment.backend.AppDeployer.doRequestFinish(AppDep
>loyer.java:129)
> at
>com.sun.enterprise.deployment.phasing.J2EECPhase.runPhase(J2EECPhase.jav
>a:169)
> at
>com.sun.enterprise.deployment.phasing.DeploymentPhase.executePhase(Deplo
>ymentPhase.java:95)
> at
>com.sun.enterprise.deployment.phasing.PEDeploymentService.executePhases(
>PEDeploymentService.java:871)
> at
>com.sun.enterprise.deployment.phasing.PEDeploymentService.deploy(PEDeplo
>ymentService.java:266)
> at
>com.sun.enterprise.deployment.phasing.PEDeploymentService.deploy(PEDeplo
>ymentService.java:739)
> at
>com.sun.enterprise.management.deploy.DeployThread.deploy(DeployThread.ja
>va:174)
> at
>com.sun.enterprise.management.deploy.DeployThread.run(DeployThread.java:
>210)
>deployed with moduleid = PetroAdminEA
>ADM1041:Sent the event to instance:[ApplicationDeployEvent -- enable
>PetroAdminEA]
>**RemoteBusinessJndiName:
>com.dtn.petro2.petroadmin.bean.customer.CustomerSessionRemote;
>remoteBusIntf:
>com.dtn.petro2.petroadmin.bean.customer.CustomerSessionRemote
>**RemoteBusinessJndiName:
>com.dtn.petro2.petroadmin.bean.eaigft.EaiGftSessionRemote;
>remoteBusIntf: com.dtn.petro2.petroadmin.bean.eaigft.EaiGftSessionRemote
>**RemoteBusinessJndiName:
>com.dtn.petro2.petroadmin.bean.transactionbrowser.TransactionBrowserSess
>ionRemote; remoteBusIntf:
>com.dtn.petro2.petroadmin.bean.transactionbrowser.TransactionBrowserSess
>ionRemote
>LDR5010: All ejb(s) of [PetroAdminEA] loaded successfully!
>WEB0100: Loading web module [PetroAdminEA:PetroAdminEA-war.war] in
>virtual server [server] at [/petroadmin]
>Initializing Sun's JavaServer Faces implementation (1.2_03-b09-FCS) for
>context '/petroadmin'
>-----------------------------------------
>NOTICE: This email message is for the sole use of the intended
>recipient(s)
>and may contain confidential and privileged information. Any
>unauthorized
>use, disclosure or distribution is prohibited. If you are not the
>intended
>recipient, please contact the sender by reply email and destroy all
>copies
>of the original message.
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: users-unsubscribe_at_glassfish.dev.java.net
>For additional commands, e-mail: users-help_at_glassfish.dev.java.net
>
>
>