java.net.MalformedURLException: no !/ in spec

I have deploy a jruby 1.5.3 into a jar file. And got this error. but run
normally

java -jar chgcif.jar
java.net.MalformedURLException: no !/ in spec at
java.net.URL.(URL.java:636) at java.net.URL.(URL.java:499)
at java.net.URL.(URL.java:448) at
java.net.JarURLConnection.parseSpecs(JarURLConnection.java:181) at
java.net.JarURLConnection.(JarURLConnection.java:164) at
sun.net.www.protocol.jar.JarURLConnection.(JarURLConnection.java:93)
at sun.net.www.protocol.jar.Handler.openConnection(Handler.java:42) at
java.net.URL.openConnection(URL.java:978) at
sun.misc.URLClassPath$JarLoader.getJarFile(URLClassPath.java:856) at
sun.misc.URLClassPath$JarLoader.(URLClassPath.java:813) at
sun.misc.URLClassPath$3.rtJarLoader(URLClassPath.java:588) at
sun.misc.URLClassPath$3.run(URLClassPath.java:519) at
java.security.AccessController.doPrivileged(AccessController.java:246)
at sun.misc.URLClassPath.getLoader(URLClassPath.java:508) at
sun.misc.URLClassPath.getLoader(URLClassPath.java:473) at
sun.misc.URLClassPath.getResource(URLClassPath.java:322) at
java.net.URLClassLoader$ClassFinder.run(URLClassLoader.java:1032) at
java.security.AccessController.doPrivileged(AccessController.java:279)
at java.net.URLClassLoader.findClass(URLClassLoader.java:491) at
org.jruby.util.JRubyClassLoader.findClass(JRubyClassLoader.java:49) at
java.lang.ClassLoader.loadClass(ClassLoader.java:629) at
java.lang.ClassLoader.loadClass(ClassLoader.java:595) at
org.jruby.internal.runtime.methods.InvocationMethodFactory.tryClass(InvocationMethodFactory.java:1257)
at
org.jruby.internal.runtime.methods.InvocationMethodFactory.getAnnotatedMethodClass(InvocationMethodFactory.java:776)
at
org.jruby.internal.runtime.methods.InvocationMethodFactory.getAnnotatedMethod(InvocationMethodFactory.java:739)
at org.jruby.RubyModule.defineAnnotatedMethod(RubyModule.java:712) at
org.jruby.RubyModule.defineAnnotatedMethod(RubyModule.java:680) at
org.jruby.anno.TypePopulator$DefaultTypePopulator.populate(TypePopulator.java:65)
at
org.jruby.RubyModule.defineAnnotatedMethodsIndividually(RubyModule.java:674)
at org.jruby.RubyModule.defineAnnotatedMethods(RubyModule.java:562) at
YechtService.basicLoad(YechtService.java:21) at
org.jruby.runtime.load.ClassExtensionLibrary.load(ClassExtensionLibrary.java:50)
at
org.jruby.runtime.load.LoadService.tryLoadingLibraryOrScript(LoadService.java:671)
at org.jruby.runtime.load.LoadService.smartLoad(LoadService.java:314) at
org.jruby.runtime.load.LoadService.require(LoadService.java:357) at
org.jruby.runtime.load.LoadService.lockAndRequire(LoadService.java:289)
at org.jruby.RubyKernel.requireCommon(RubyKernel.java:984) at
org.jruby.RubyKernel.require(RubyKernel.java:967) at
org.jruby.RubyKernel$s_method_1_0$RUBYFRAMEDINVOKER$require.call(org/jruby/RubyKernel$s_method_1_0$RUBYFRAMEDINVOKER$require.gen:65535)
at
org.jruby.internal.runtime.methods.JavaMethod$JavaMethodOneOrNBlock.call(JavaMethod.java:319)
at
org.jruby.internal.runtime.methods.AliasMethod.call(AliasMethod.java:61)
at
org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:146)
at org.jruby.ast.FCallOneArgNode.interpret(FCallOneArgNode.java:36) at
org.jruby.ast.NewlineNode.interpret(NewlineNode.java:104) at
org.jruby.ast.RescueNode.executeBody(RescueNode.java:199) at
org.jruby.ast.RescueNode.interpretWithJavaExceptions(RescueNode.java:118)
at org.jruby.ast.RescueNode.interpret(RescueNode.java:110) at
org.jruby.internal.runtime.methods.InterpretedMethod.call(InterpretedMethod.java:180)
at
org.jruby.runtime.callsite.CachingCallSite.cacheAndCall(CachingCallSite.java:309)
at
org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:148)
at org.jruby.ast.FCallOneArgNode.interpret(FCallOneArgNode.java:36) at
org.jruby.ast.NewlineNode.interpret(NewlineNode.java:104) at
org.jruby.ast.BlockNode.interpret(BlockNode.java:71) at
org.jruby.ast.RootNode.interpret(RootNode.java:129) at
org.jruby.Ruby.loadFile(Ruby.java:2541) at
org.jruby.util.BuiltinScript.load(BuiltinScript.java:56) at
org.jruby.runtime.load.LoadService.tryLoadingLibraryOrScript(LoadService.java:671)
at org.jruby.runtime.load.LoadService.smartLoad(LoadService.java:314) at
org.jruby.runtime.load.LoadService.require(LoadService.java:357) at
org.jruby.runtime.load.LoadService.lockAndRequire(LoadService.java:289)
at org.jruby.RubyKernel.requireCommon(RubyKernel.java:984) at
org.jruby.RubyKernel.require(RubyKernel.java:967) at
org.jruby.RubyKernel$s_method_1_0$RUBYFRAMEDINVOKER$require.call(org/jruby/RubyKernel$s_method_1_0$RUBYFRAMEDINVOKER$require.gen:65535)
at
org.jruby.internal.runtime.methods.JavaMethod$JavaMethodOneOrNBlock.call(JavaMethod.java:319)
at
org.jruby.internal.runtime.methods.AliasMethod.call(AliasMethod.java:61)
at
org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:146)
at org.jruby.ast.FCallOneArgNode.interpret(FCallOneArgNode.java:36) at
org.jruby.ast.NewlineNode.interpret(NewlineNode.java:104) at
org.jruby.ast.RescueNode.executeBody(RescueNode.java:199) at
org.jruby.ast.RescueNode.interpretWithJavaExceptions(RescueNode.java:118)
at org.jruby.ast.RescueNode.interpret(RescueNode.java:110) at
org.jruby.internal.runtime.methods.InterpretedMethod.call(InterpretedMethod.java:180)
at
org.jruby.runtime.callsite.CachingCallSite.cacheAndCall(CachingCallSite.java:309)
at
org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:148)
at org.jruby.ast.FCallOneArgNode.interpret(FCallOneArgNode.java:36) at
org.jruby.ast.NewlineNode.interpret(NewlineNode.java:104) at
org.jruby.ast.BlockNode.interpret(BlockNode.java:71) at
org.jruby.ast.RootNode.interpret(RootNode.java:129) at
org.jruby.Ruby.loadFile(Ruby.java:2541) at
org.jruby.util.BuiltinScript.load(BuiltinScript.java:56) at
org.jruby.runtime.load.LoadService.tryLoadingLibraryOrScript(LoadService.java:671)
at org.jruby.runtime.load.LoadService.smartLoad(LoadService.java:314) at
org.jruby.runtime.load.LoadService.require(LoadService.java:357) at
org.jruby.runtime.load.LoadService.lockAndRequire(LoadService.java:289)
at org.jruby.RubyKernel.requireCommon(RubyKernel.java:984) at
org.jruby.RubyKernel.require(RubyKernel.java:967) at
org.jruby.RubyKernel$s_method_1_0$RUBYFRAMEDINVOKER$require.call(org/jruby/RubyKernel$s_method_1_0$RUBYFRAMEDINVOKER$require.gen:65535)
at
org.jruby.internal.runtime.methods.JavaMethod$JavaMethodOneOrNBlock.call(JavaMethod.java:319)
at
org.jruby.internal.runtime.methods.AliasMethod.call(AliasMethod.java:61)
at
org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:146)
at org.jruby.ast.FCallOneArgNode.interpret(FCallOneArgNode.java:36) at
org.jruby.ast.NewlineNode.interpret(NewlineNode.java:104) at
org.jruby.ast.RescueNode.executeBody(RescueNode.java:199) at
org.jruby.ast.RescueNode.interpretWithJavaExceptions(RescueNode.java:118)
at org.jruby.ast.RescueNode.interpret(RescueNode.java:110) at
org.jruby.internal.runtime.methods.InterpretedMethod.call(InterpretedMethod.java:180)
at
org.jruby.runtime.callsite.CachingCallSite.cacheAndCall(CachingCallSite.java:309)
at
org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:148)
at org.jruby.ast.FCallOneArgNode.interpret(FCallOneArgNode.java:36) at
org.jruby.ast.NewlineNode.interpret(NewlineNode.java:104) at
org.jruby.ast.BlockNode.interpret(BlockNode.java:71) at
org.jruby.ast.RootNode.interpret(RootNode.java:129) at
org.jruby.Ruby.loadFile(Ruby.java:2541) at
org.jruby.runtime.load.ExternalScript.load(ExternalScript.java:61) at
org.jruby.runtime.load.LoadService.tryLoadingLibraryOrScript(LoadService.java:671)
at org.jruby.runtime.load.LoadService.smartLoad(LoadService.java:314) at
org.jruby.runtime.load.LoadService.require(LoadService.java:357) at
org.jruby.runtime.load.LoadService.lockAndRequire(LoadService.java:289)
at org.jruby.RubyKernel.requireCommon(RubyKernel.java:984) at
org.jruby.RubyKernel.require(RubyKernel.java:967) at
org.jruby.RubyKernel$s_method_1_0$RUBYFRAMEDINVOKER$require.call(org/jruby/RubyKernel$s_method_1_0$RUBYFRAMEDINVOKER$require.gen:65535)
at
org.jruby.internal.runtime.methods.JavaMethod$JavaMethodOneOrNBlock.call(JavaMethod.java:319)
at
org.jruby.internal.runtime.methods.AliasMethod.call(AliasMethod.java:61)
at
org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:146)
at org.jruby.ast.FCallOneArgNode.interpret(FCallOneArgNode.java:36) at
org.jruby.ast.NewlineNode.interpret(NewlineNode.java:104) at
org.jruby.ast.RescueNode.executeBody(RescueNode.java:199) at
org.jruby.ast.RescueNode.interpretWithJavaExceptions(RescueNode.java:118)
at org.jruby.ast.RescueNode.interpret(RescueNode.java:110) at
org.jruby.internal.runtime.methods.InterpretedMethod.call(InterpretedMethod.java:180)
at
org.jruby.runtime.callsite.CachingCallSite.cacheAndCall(CachingCallSite.java:309)
at
org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:148)
at org.jruby.ast.FCallOneArgNode.interpret(FCallOneArgNode.java:36) at
org.jruby.ast.NewlineNode.interpret(NewlineNode.java:104) at
org.jruby.ast.BlockNode.interpret(BlockNode.java:71) at
org.jruby.ast.RootNode.interpret(RootNode.java:129) at
org.jruby.Ruby.loadFile(Ruby.java:2541) at
org.jruby.runtime.load.ExternalScript.load(ExternalScript.java:61) at
org.jruby.runtime.load.LoadService.tryLoadingLibraryOrScript(LoadService.java:671)
at org.jruby.runtime.load.LoadService.smartLoad(LoadService.java:314) at
org.jruby.runtime.load.LoadService.require(LoadService.java:357) at
org.jruby.runtime.load.LoadService.lockAndRequire(LoadService.java:289)
at org.jruby.RubyKernel.requireCommon(RubyKernel.java:984) at
org.jruby.RubyKernel.require(RubyKernel.java:967) at
org.jruby.RubyKernel$s_method_1_0$RUBYFRAMEDINVOKER$require.call(org/jruby/RubyKernel$s_method_1_0$RUBYFRAMEDINVOKER$require.gen:65535)
at
org.jruby.internal.runtime.methods.JavaMethod$JavaMethodOneOrNBlock.call(JavaMethod.java:319)
at
org.jruby.internal.runtime.methods.AliasMethod.call(AliasMethod.java:61)
at
org.jruby.runtime.callsite.CachingCallSite.cacheAndCall(CachingCallSite.java:309)
at
org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:148)
at org.jruby.ast.FCallOneArgNode.interpret(FCallOneArgNode.java:36) at
org.jruby.ast.NewlineNode.interpret(NewlineNode.java:104) at
org.jruby.ast.RescueNode.executeBody(RescueNode.java:199) at
org.jruby.ast.RescueNode.interpretWithJavaExceptions(RescueNode.java:118)
at org.jruby.ast.RescueNode.interpret(RescueNode.java:110) at
org.jruby.internal.runtime.methods.InterpretedMethod.call(InterpretedMethod.java:180)
at
org.jruby.runtime.callsite.CachingCallSite.cacheAndCall(CachingCallSite.java:309)
at
org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:148)
at org.jruby.ast.FCallOneArgNode.interpret(FCallOneArgNode.java:36) at
org.jruby.ast.NewlineNode.interpret(NewlineNode.java:104) at
org.jruby.ast.BlockNode.interpret(BlockNode.java:71) at
org.jruby.ast.RootNode.interpret(RootNode.java:129) at
org.jruby.Ruby.loadFile(Ruby.java:2541) at
org.jruby.runtime.load.ExternalScript.load(ExternalScript.java:61) at
org.jruby.runtime.load.LoadService.tryLoadingLibraryOrScript(LoadService.java:671)
at org.jruby.runtime.load.LoadService.smartLoad(LoadService.java:314) at
org.jruby.runtime.load.LoadService.require(LoadService.java:357) at
org.jruby.RubyKernel$6.load(RubyKernel.java:205) at
org.jruby.runtime.load.LoadService.autoload(LoadService.java:412) at
org.jruby.RubyModule.resolveUndefConstant(RubyModule.java:2692) at
org.jruby.RubyModule.getConstantAt(RubyModule.java:2583) at
org.jruby.RubyModule.defineOrGetModuleUnder(RubyModule.java:1145) at
org.jruby.ast.ModuleNode.interpret(ModuleNode.java:116) at
org.jruby.ast.NewlineNode.interpret(NewlineNode.java:104) at
org.jruby.ast.BlockNode.interpret(BlockNode.java:71) at
org.jruby.evaluator.ASTInterpreter.evalClassDefinitionBody(ASTInterpreter.java:196)
at org.jruby.ast.ModuleNode.interpret(ModuleNode.java:120) at
org.jruby.ast.NewlineNode.interpret(NewlineNode.java:104) at
org.jruby.ast.BlockNode.interpret(BlockNode.java:71) at
org.jruby.ast.RootNode.interpret(RootNode.java:129) at
org.jruby.Ruby.loadFile(Ruby.java:2541) at
org.jruby.runtime.load.ExternalScript.load(ExternalScript.java:61) at
org.jruby.runtime.load.LoadService.tryLoadingLibraryOrScript(LoadService.java:671)
at org.jruby.runtime.load.LoadService.smartLoad(LoadService.java:314) at
org.jruby.runtime.load.LoadService.require(LoadService.java:357) at
org.jruby.runtime.load.LoadService.lockAndRequire(LoadService.java:289)
at org.jruby.RubyKernel.requireCommon(RubyKernel.java:984) at
org.jruby.RubyKernel.require(RubyKernel.java:967) at
org.jruby.RubyKernel$s_method_1_0$RUBYFRAMEDINVOKER$require.call(org/jruby/RubyKernel$s_method_1_0$RUBYFRAMEDINVOKER$require.gen:65535)
at
org.jruby.internal.runtime.methods.JavaMethod$JavaMethodOneOrNBlock.call(JavaMethod.java:319)
at
org.jruby.internal.runtime.methods.AliasMethod.call(AliasMethod.java:61)
at
org.jruby.runtime.callsite.CachingCallSite.cacheAndCall(CachingCallSite.java:309)
at
org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:148)
at org.jruby.ast.FCallOneArgNode.interpret(FCallOneArgNode.java:36) at
org.jruby.ast.NewlineNode.interpret(NewlineNode.java:104) at
org.jruby.ast.BlockNode.interpret(BlockNode.java:71) at
org.jruby.ast.IfNode.interpret(IfNode.java:117) at
org.jruby.ast.NewlineNode.interpret(NewlineNode.java:104) at
org.jruby.ast.BlockNode.interpret(BlockNode.java:71) at
org.jruby.ast.RescueBodyNode.interpret(RescueBodyNode.java:108) at
org.jruby.ast.RescueNode.handleException(RescueNode.java:164) at
org.jruby.ast.RescueNode.interpretWithJavaExceptions(RescueNode.java:121)
at org.jruby.ast.RescueNode.interpret(RescueNode.java:110) at
org.jruby.internal.runtime.methods.InterpretedMethod.call(InterpretedMethod.java:180)
at
org.jruby.runtime.callsite.CachingCallSite.cacheAndCall(CachingCallSite.java:309)
at
org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:148)
at org.jruby.ast.FCallOneArgNode.interpret(FCallOneArgNode.java:36) at
org.jruby.ast.NewlineNode.interpret(NewlineNode.java:104) at
org.jruby.ast.BlockNode.interpret(BlockNode.java:71) at
org.jruby.ast.RootNode.interpret(RootNode.java:129) at
org.jruby.Ruby.loadFile(Ruby.java:2541) at
org.jruby.runtime.load.ExternalScript.load(ExternalScript.java:61) at
org.jruby.runtime.load.LoadService.tryLoadingLibraryOrScript(LoadService.java:671)
at org.jruby.runtime.load.LoadService.smartLoad(LoadService.java:314) at
org.jruby.runtime.load.LoadService.require(LoadService.java:357) at
org.jruby.runtime.load.LoadService.lockAndRequire(LoadService.java:289)
at org.jruby.RubyKernel.requireCommon(RubyKernel.java:984) at
org.jruby.RubyKernel.require(RubyKernel.java:967) at
org.jruby.RubyKernel$s_method_1_0$RUBYFRAMEDINVOKER$require.call(org/jruby/RubyKernel$s_method_1_0$RUBYFRAMEDINVOKER$require.gen:65535)
at
org.jruby.internal.runtime.methods.JavaMethod$JavaMethodOneOrNBlock.call(JavaMethod.java:319)
at
org.jruby.runtime.callsite.CachingCallSite.cacheAndCall(CachingCallSite.java:309)
at
org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:148)
at org.jruby.ast.FCallOneArgNode.interpret(FCallOneArgNode.java:36) at
org.jruby.ast.NewlineNode.interpret(NewlineNode.java:104) at
org.jruby.ast.RootNode.interpret(RootNode.java:129) at
org.jruby.Ruby.runInterpreter(Ruby.java:712) at
org.jruby.embed.internal.EmbedEvalUnitImpl.run(EmbedEvalUnitImpl.java:119)
at
org.jruby.embed.ScriptingContainer.runUnit(ScriptingContainer.java:1149)
at
org.jruby.embed.ScriptingContainer.runScriptlet(ScriptingContainer.java:1142)
at Launcher.main(Launcher.java:7)
====================== Start at Mon Oct 18 08:35:15 +0000 2010

… then run normally

Any work around ?

This is target machine information
java -version
java version “1.5.0”
Java™ 2 Runtime Environment, Standard Edition (build pap32dev-20071008
(SR6))
IBM J9 VM (build 2.3, J2RE 1.5.0 IBM J9 2.3 AIX ppc-32
j9vmap3223-20071007 (JIT enabled)
J9VM – 20071004_14218_bHdSMR
JIT – 20070820_1846ifx1_r8
GC – 200708_10)
JCL – 20071008

Can you verify whether this happens on Sun/Oracle hotspot VM? It
would be nice to know if this is specific to J9 or not? It is not the
first time we found an issue specific to J9.

-Tom

On Mon, Oct 18, 2010 at 11:09 PM, Pinit A.
[email protected] wrote:

JIT 20070820_1846ifx1_r8


blog: http://blog.enebo.com twitter: tom_enebo
mail: [email protected]

Thank you Thomas. But I’ve really limited knowledge about java
environment. Could you please instruct me how to perform verification
will be very appreciate.

I have test it on my OSX
java version “1.6.0_20”
Java™ SE Runtime Environment (build 1.6.0_20-b02-279-10M3065)
Java HotSpot™ 64-Bit Server VM (build 16.3-b01-279, mixed mode)

And and on another Linux
java version “1.6.0_20”
Java™ SE Runtime Environment (build 1.6.0_20-b02)
Java HotSpot™ 64-Bit Server VM (build 16.3-b01, mixed mode)

both with no any message. Is this help ?

Thomas E Enebo wrote in post #955462:

Can you verify whether this happens on Sun/Oracle hotspot VM? It
would be nice to know if this is specific to J9 or not? It is not the
first time we found an issue specific to J9.

-Tom

On Mon, Oct 18, 2010 at 11:09 PM, Pinit A.
[email protected] wrote:

JIT 20070820_1846ifx1_r8


blog: http://blog.enebo.com twitter: tom_enebo
mail: [email protected]