6.5 Startup problem

Have installed the 6.5 on my local machine, but could not start the IS as it is giving me the proxy exception.

After lot debuging, Found that system CLASSPATH variable was the cause of it. It was defined as

CLASSPATH = %CLASPATH%;.;

If I Remove %CLASSPATH% from the system classpath, then server runs fine. Can any one have any idea why %CLASSPATH% is causing a problem and why it is giving me a proxy exception (I dont have any proxy set on my machine)

Thanks
Rahul.

Are there any other Java applications installed on the machine? Typically issues caused by classpath are due to incompatible libraries/classes–Integration Server needs a certain level but something else that’s already on the classpath.

Hi Rahul

What Rob is telling is true, also I had faced the similar problem , in my case the classpath was too long so when I made the classpath short the IS had started.

Cheers
Jeevan

Thanks for your reply.

I do have other java application(web/application server) installed on the machine but that do not interfer with the webmethod classpath and path.

I suppose if we set the classpath as CLASSPATH = %CLASSPATH%;.;
in about %CLASSPATH% would indicate that include the previous classpath in the present classpath and dot would mean that find the java classes in the default folder also.

So how come %CLASSPATH% creates a problem when it dont have any values when we see it on DOS console.

I have tested the same with 6.0.1 now and the IS works fine even with the classpath. Then why 6.5 would not start???

Let’s back up a little bit then. Perhaps it’s not a classpath issue at all.

Your initial post said “Have installed the 6.5 on my local machine, but could not start the IS as it is giving me the proxy exception.”

What do you mean by “…the proxy exception?” What errors, if any, are being recorded in the server and error logs? What is the exact error message? That might lead us to where the conflict is.

Compelete Error been displayed on the DOS console:

com.wm.proxy.ProxyException: failed to invoke proxy method
null

        at com.wm.proxy.Proxy.invokeStaticMethod(Proxy.java:168)
        at com.wm.app.server.ServerProxy.ServerMain_main(ServerProxy.java:77)
        at com.wm.app.server.ServerApp.start(ServerApp.java:105)
        at com.wm.app.Application.launch(Application.java:467)
        at com.wm.app.server.Main.main(Main.java:50)

Proxy invocation target stack trace:
java.lang.ExceptionInInitializerError
        at com.wm.app.b2b.server.Main.main(Main.java:40)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
java:39)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:585)
        at com.wm.proxy.Proxy.invokeStaticMethod(Proxy.java:166)
        at com.wm.app.server.ServerProxy.ServerMain_main(ServerProxy.java:77)
        at com.wm.app.server.ServerApp.start(ServerApp.java:105)
        at com.wm.app.Application.launch(Application.java:467)
        at com.wm.app.server.Main.main(Main.java:50)
Caused by: java.lang.IllegalArgumentException
        at sun.net.[URL="http://www.ParseUtil.decode%28ParseUtil.java:183"]www.ParseUtil.decode(ParseUtil.java:183[/URL])
        at sun.misc.FileURLMapper.getPath(FileURLMapper.java:49)
        at sun.misc.FileURLMapper.exists(FileURLMapper.java:54)
        at sun.misc.URLClassPath$JarLoader.getJarFile(URLClassPath.java:576)
        at sun.misc.URLClassPath$JarLoader.<init>(URLClassPath.java:546)
        at sun.misc.URLClassPath$3.run(URLClassPath.java:324)
        at java.security.AccessController.doPrivileged(Native Method)
        at sun.misc.URLClassPath.getLoader(URLClassPath.java:313)
        at sun.misc.URLClassPath.getLoader(URLClassPath.java:290)
        at sun.misc.URLClassPath.findResource(URLClassPath.java:141)
        at java.net.URLClassLoader$2.run(URLClassLoader.java:362)
        at java.security.AccessController.doPrivileged(Native Method)
        at java.net.URLClassLoader.findResource(URLClassLoader.java:359)
        at java.lang.ClassLoader.getResource(ClassLoader.java:977)
        at java.lang.ClassLoader.getResourceAsStream(ClassLoader.java:1159)
        at java.lang.Class.getResourceAsStream(Class.java:1998)
        at javax.activation.MailcapCommandMap.loadResource(MailcapCommandMap.jav
a:173)
        at javax.activation.MailcapCommandMap.<init>(MailcapCommandMap.java:162)

        at javax.activation.CommandMap.getDefaultCommandMap(CommandMap.java:55)
        at com.wm.net.mime.DataContentHandlerFactory_WM.init(DataContentHandlerF
actory_WM.java:27)
        at com.wm.app.b2b.server.Server.<clinit>(Server.java:135)
        ... 10 more

Above error are been displayed on the console window and nothing is been written on server log.

Just to remind you again, If I remove %CLASSPATH% from the system classpath, then the server runs fine with NO error atall.

[url]https://advantage.webmethods.com/advantage?targChanId=kb_home&oid=1612303474[/url]

Thanks :slight_smile:

Thanks Mark