Quantcast
Channel: zeroturnaround.com » All Posts
Viewing all articles
Browse latest Browse all 2540

Reply To: JRebel-JVMTI [ERROR] Process finished with exit code 512

$
0
0

H @Meelis.

Apologise for the late reply.

Since I don’t use JRebel very often I forgot about the issue.

I was trying this again and got the same problem.
As far as I understood, for every new JRebel version or Java version people will run into this issue whenever they are using a multi-module project in Maven.

While I understood the logic you explained, I was unable to “run the command manually to generate the bootstrap.jar for the pair”, I don’t exactly know how to do it.

For example, the error log says:

el-JVMTI [DEBUG] Executing command: “/usr/lib/jvm/java-7-oracle/jre/bin/java” “-XX:PermSize=128m” “-Djava.ext.dirs=/usr/lib/jvm/java-7-oracle/jre/lib/ext:/usr/java/packages/lib/ext” “-Djava.endorsed.dirs=/usr/lib/jvm/java-7-oracle/jre/lib/endorsed” “-Djava.library.path=/usr/java/packages/lib/amd64:/usr/lib64:/lib64:/lib:/usr/lib” “-DenvName=DEV” “-Dmaven.home=EMBEDDED” “-Dclassworlds.conf=/opt/malmeida/workspaceBibliovigilance/.metadata/.plugins/org.eclipse.m2e.launching/launches/m2conf5108391935108504485.tmp” “-Dmaven.multiModuleProjectDirectory=/home/malmeida/${workspace_loc:/bibliovigilance-web}” “-Drebel.base=/home/malmeida/.jrebel” “-Drebel.env.ide.plugin.version=7.0.0” “-Drebel.env.ide.version=4.5.2” “-Drebel.env.ide.product=Eclipse” “-Drebel.env.ide=Eclipse” “-Drebel.workspace.path=/opt/malmeida/workspaceBibliovigilance” “-Drebel.properties=/home/malmeida/.jrebel/jrebel.properties” “-Dfile.encoding=UTF-8” “-Drebel.griffin.bootstrap_run=true” “-Drebel.griffin.bootstrap_path=/home/malmeida/.jrebel/bootcache/jrebel-bootstrap-08d3a23b45937a306735295a0d56ad6c.jar” “-cp” “/opt/malmeida/eclipseMars/plugins/org.eclipse.m2e.maven.runtime_1.6.3.20160209-1444/jars/plexus-classworlds-2.5.2.jar” “-javaagent:/opt/malmeida/eclipseMars/plugins/org.zeroturnaround.eclipse.embedder_7.0.0.RELEASE/jrebel/jrebel.jar” “-Xbootclasspath:/usr/lib/jvm/java-7-oracle/jre/lib/resources.jar:/usr/lib/jvm/java-7-oracle/jre/lib/rt.jar:/usr/lib/jvm/java-7-oracle/jre/lib/sunrsasign.jar:/usr/lib/jvm/java-7-oracle/jre/lib/jsse.jar:/usr/lib/jvm/java-7-oracle/jre/lib/jce.jar:/usr/lib/jvm/java-7-oracle/jre/lib/charsets.jar:/usr/lib/jvm/java-7-oracle/jre/lib/jfr.jar:/usr/lib/jvm/java-7-oracle/jre/classes” “-Drebel.log.file=/home/malmeida/.jrebel/bootcache/jrebel-bootstrap-08d3a23b45937a306735295a0d56ad6c.jar.log” “-Drebel.log=trace” “-Drebel.no.native.mess=true” “com.zeroturnaround.javarebel.Install”
JRebel-JVMTI [FATAL] A fatal error occurred while processing the base Java classes. The JVM has been shut down (512).

What code exactly should I run, and where?
If I simply copy-paste everything after “command:” until “com.zeroturnaround.javarebel.Install” and run it on a linux shell I won’t get any output, nor will it solve the problem.

I also tried another approach, in Eclipse’s maven goal run (jetty:run), replacing the VM Argument ${jrebel_args} with the whole copy-paste (or sections of it), but I could never run the correct command.

Since this will need to be done every time a new JRebel version is released, could you help me identify the steps needed to successfully run JRebel on a multi-module maven project?

Thanks


Viewing all articles
Browse latest Browse all 2540

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>