java.net.URISyntaxException: Illegal character in path for javke_*.jars

In the directory: C:\Documents and Settings\tpatrick\.netbeans\5.0\javke\lib

I have the files:

javke.jar

javke_de.jar

javke_es.jar

javke_fr.jar

javke_it.jar

javke_ja.jar

javke_ko.jar

javke_sw.jar

javke_zh.jar

javke_zh_TW.jar

javke-ant.jar

Every time I deploy a project, I have the following error message for each of the files:

[#|2006-05-09T09:33:48.740-0500|SEVERE|sun-appserver-pe8.2|javax.enterprise.sys tem.core.classloading|_ThreadID=29;|LDR5203: An error occurred while adding URL [file:/C:/Documents and Settings/tpatrick/.netbeans/5.0/javke/lib/javke_*.jar] to the EJB class loader. Please check the content of this URL. |#]

[#|2006-05-09T09:33:48.740-0500|SEVERE|sun-appserver-pe8.2|javax.enterprise.sys tem.core.classloading|_ThreadID=29;|LDR5200:MalformedURLException.

java.io.IOException

at com.sun.enterprise.loader.EJBClassLoader$URLEntry.init(EJBClassLoader.java:858)

at com.sun.enterprise.loader.EJBClassLoader.appendURL(EJBClassLoader.java:223)

at com.sun.enterprise.loader.EJBClassLoader.checkManifest(EJBClassLoader.java:567)

at com.sun.enterprise.loader.EJBClassLoader.appendURL(EJBClassLoader.java:230)

at com.sun.enterprise.loader.EJBClassLoader.appendURL(EJBClassLoader.java:192)

at com.sun.enterprise.deployment.backend.DeploymentUtils.getClassLoader(Deployment Utils.java:103)

at com.sun.enterprise.deployment.backend.DeploymentUtils.setParentClassLoader(Depl oymentUtils.java:68)

at com.sun.enterprise.deployment.backend.Deployer.loadDescriptors(Deployer.java:28 6)

at com.sun.enterprise.deployment.backend.WebModuleDeployer.deploy(WebModuleDeploye r.java:170)

at com.sun.enterprise.deployment.backend.ModuleDeployer.doRequestFinish(ModuleDepl oyer.java:138)

at com.sun.enterprise.deployment.phasing.J2EECPhase.runPhase(J2EECPhase.java:148)

at com.sun.enterprise.deployment.phasing.DeploymentPhase.executePhase(DeploymentPh ase.java:71)

at com.sun.enterprise.deployment.phasing.PEDeploymentService.executePhases(PEDeplo ymentService.java:639)

at com.sun.enterprise.deployment.phasing.PEDeploymentService.deploy(PEDeploymentSe rvice.java:188)

at com.sun.enterprise.deployment.phasing.PEDeploymentService.deploy(PEDeploymentSe rvice.java:520)

at com.sun.enterprise.management.deploy.DeployThread.deploy(DeployThread.java:139)

at com.sun.enterprise.management.deploy.DeployThread.run(DeployThread.java:168)

Caused by: java.net.URISyntaxException: Illegal character in path at index 18: file:/C:/Documents and Settings/tpatrick/.netbeans/5.0/javke/lib/javke_*.jar

at java.net.URI$Parser.fail(URI.java:2809)

at java.net.URI$Parser.checkChars(URI.java:2982)

at java.net.URI$Parser.parseHierarchical(URI.java:3066)

at java.net.URI$Parser.parse(URI.java:3014)

at java.net.URI.<init>(URI.java:578)

at com.sun.enterprise.loader.EJBClassLoader$URLEntry.init(EJBClassLoader.java:848)

I would greatly appreciate if someone could help me correct this issue.

Do I need to change a file or a setting?

Thanks,

--Todd

[3214 byte] By [jtp512] at [2007-11-26 7:07:14]
# 1

Hi I had a very similar problem but with top link

It didnt seem to like file names with spaces

If you move project files to another directory than "Docs and settings".... that has no spaces it got it to work

certianly there is a character it doesnt like in your path

Good lukk

James

James_Ferguson at 2007-7-6 15:55:13 > top of Java-index,Application & Integration Servers,Application Servers...
# 2
Yes, please work around the problem by changing the directory to a directory path containing no special characters (no space etc). We will look into fixing this in 9.1 so it can work with any path. Thanks.
hongzhang at 2007-7-6 15:55:13 > top of Java-index,Application & Integration Servers,Application Servers...
# 3
Taking a closer look, it may well be the asterisk (the "*" character) that is triggering the error, not the space.How is the * being introduced? Are you doing this manually in NetBeans?- Tim
tjquinn at 2007-7-6 15:55:13 > top of Java-index,Application & Integration Servers,Application Servers...
# 4

Thank you for everyone's feedback.

I figured it out, I had the path in my Application Server-> JVM Settings -> Path Settings -> Classpath Suffix.

Once I removed the path and restarted Sun Java System Application Server 8.2 the error went away.

Thanks,

--Todd

jtp512 at 2007-7-6 15:55:13 > top of Java-index,Application & Integration Servers,Application Servers...