ParseException using dm-server plugin in IU-95.214

Hi,

When running a dm-Server run configuration, the server fails to start:


========================================

/usr/lib/jvm/java-6-sun-1.6.0.20/bin/java -XX:+HeapDumpOnOutOfMemoryError -XX:ErrorFile="/home/arik/Development/tools/springsource-dm-server-2.0.2.RELEASE/serviceability/error.log" -XX:HeapDumpPath="/home/arik/Development/tools/springsource-dm-server-2.0.2.RELEASE/serviceability/heap_dump.hprof" -Djava.rmi.server.hostname=localhost -Dcom.springsource.kernel.home="/home/arik/Development/tools/springsource-dm-server-2.0.2.RELEASE" -Dcom.springsource.server.home="/home/arik/Development/tools/springsource-dm-server-2.0.2.RELEASE" -Djava.io.tmpdir="/home/arik/Development/tools/springsource-dm-server-2.0.2.RELEASE/work/temp" -Dcom.sun.management.jmxremote -Dcom.sun.management.jmxremote.port=9875 -Dcom.sun.management.jmxremote.authenticate=false -Dcom.sun.management.jmxremote.ssl=false -Dcom.springsource.server.clean=false -Dcom.springsource.kernel.authentication.file="/home/arik/Development/tools/springsource-dm-server-2.0.2.RELEASE/config/com.springsource.kernel.users.properties" -Djava.security.auth.login.config="/home/arik/Development/tools/springsource-dm-server-2.0.2.RELEASE/config/com.springsource.kernel.authentication.config" -Didea.launcher.port=7534 -Didea.launcher.bin.path=/home/arik/Development/tools/idea-IU-95.214/bin -Dfile.encoding=UTF-8 -classpath /home/arik/Development/tools/springsource-dm-server-2.0.2.RELEASE/lib/org.eclipse.osgi-3.5.1.R35x_v20091005.jar:/home/arik/Development/tools/springsource-dm-server-2.0.2.RELEASE/lib/com.springsource.kernel.shutdown-2.0.2.RELEASE.jar:/home/arik/Development/tools/springsource-dm-server-2.0.2.RELEASE/lib/com.springsource.javax.transaction-1.1.0.jar:/home/arik/Development/tools/springsource-dm-server-2.0.2.RELEASE/lib/com.springsource.kernel.authentication-2.0.2.RELEASE.jar:/home/arik/Development/tools/springsource-dm-server-2.0.2.RELEASE/lib/com.springsource.osgi.extensions.equinox-2.0.2.RELEASE.jar:/home/arik/Development/tools/springsource-dm-server-2.0.2.RELEASE/lib/com.springsource.osgi.launcher-2.0.2.RELEASE.jar:/home/arik/Development/tools/idea-IU-95.214/lib/idea_rt.jar com.intellij.rt.execution.application.AppMain com.springsource.osgi.launcher.Launcher -config "/home/arik/Development/tools/springsource-dm-server-2.0.2.RELEASE/lib/com.springsource.kernel.launch.properties" -Fcom.springsource.kernel.home="/home/arik/Development/tools/springsource-dm-server-2.0.2.RELEASE" -Fcom.springsource.kernel.config="/home/arik/Development/tools/springsource-dm-server-2.0.2.RELEASE/config" -Fosgi.configuration.area="/home/arik/Development/tools/springsource-dm-server-2.0.2.RELEASE/work/osgi/configuration" -Fosgi.java.profile="file:/home/arik/Development/tools/springsource-dm-server-2.0.2.RELEASE/lib/java6-server.profile" -Fosgi.clean=true

Exception in thread "main" com.springsource.osgi.launcher.parser.ParseException: Config path '/home/arik/Development/tools/springsource-dm-server-2.0.2.RELEASE/"/home/arik/Development/tools/springsource-dm-server-2.0.2.RELEASE/lib/com.springsource.kernel.launch.properties"' does not exist.
at com.springsource.osgi.launcher.parser.ArgumentParser.parseConfigProperties(ArgumentParser.java:123)
at com.springsource.osgi.launcher.parser.ArgumentParser.parse(ArgumentParser.java:71)
at com.springsource.osgi.launcher.Launcher.main(Launcher.java:42)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at com.intellij.rt.execution.application.AppMain.main(AppMain.java:115)
Disconnected from server


Process finished with exit code 1

========================================

It seems that the "-config" parameter is not correct (although it seems correct). I believe this only happens on Linux/Mac OSes - see IDEA-55187, and also the last comments on http://blogs.jetbrains.com/idea/2010/05/spring-dmserver-support-for-intellij-idea/

I'm on Ubuntu 10.04.

Thanks!
0
2 comments

It is fixed already.
I am actually verifying it with the 0.8.0 version of plugin and IDEA 95.260, and will close the corresponding IDEA-55187 once it will be verified.

Regards,
Michael

0
Avatar
Permanently deleted user

That's great news - any idea when the next version will be released?

0

Please sign in to leave a comment.