Skip to main content

unknown protocol: wlj

1 reply [Last post]
hhuang
Offline
Joined: 2009-11-17

there is such a issue when I run WL client ( the version I overwrite some classes ) , and I get some error msg as below :
************************************************************************************
java.net.MalformedURLException: unknown protocol: wlj
at java.net.URL.(Unknown Source)
at java.net.URL.(Unknown Source)
at java.net.URL.(Unknown Source)
at org.jdesktop.wonderland.common.ModuleURI.toURL(ModuleURI.java:96)
at org.jdesktop.wonderland.client.login.ServerSessionManager.setupClassLoader(ServerSessionManager.java:649)
at org.jdesktop.wonderland.client.login.ServerSessionManager.access$0(ServerSessionManager.java:634)
at org.jdesktop.wonderland.client.login.ServerSessionManager$LoginControl.loginComplete(ServerSessionManager.java:832)
at org.jdesktop.wonderland.client.login.ServerSessionManager$WebServiceLoginControl.loginComplete(ServerSessionManager.java:942)
at org.jdesktop.wonderland.client.login.ServerSessionManager$WebServiceLoginControl.authenticate(ServerSessionManager.java:932)
at org.jdesktop.wonderland.client.login.ServerSessionManager$NoAuthLoginControl.authenticate(ServerSessionManager.java:965)
at org.jdesktop.wonderland.client.jme.login.NoAuthLoginPanel.doLogin(NoAuthLoginPanel.java:126)
at org.jdesktop.wonderland.client.jme.login.WonderlandLoginDialog$7.run(WonderlandLoginDialog.java:470)
at java.lang.Thread.run(Unknown Source)
************************************************************************************
it seems it need some modules to be loaded when a client start , like :
wlj://hud@:8080/client/hud-client.jar

So anyone`s help and suggestion will be appreciated , thx in advance~

Reply viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
hhuang
Offline
Joined: 2009-11-17

find it. need to add a VM args when start a client :
-Djava.protocol.handler.pkgs=org.jdesktop.wonderland.client.protocols