我在启动SAP海布里斯服务器时面临一个问题。我完成了我的设置,然后我将file配置添加到了我的local.properties文件中,我还在Eclipse中安装了插件,并激活了J反叛。
使用的java版本= "1.8.0_231"
local.properties
tomcat.javaoptions=-Xverify:none -javaagent:"C:/jrebel/jrebel.jar=de.hybris.tomcat.HybrisWebappClassLoader60"
tomcat.debugjavaoptions=-Xverify:none -javaagent:"C:/jrebel/jrebel.jar=de.hybris.tomcat.HybrisWebappClassLoader60" -Xdebug -Xrunjdwp:transport=dt_socket,server=y,address=8000,suspend=n
tomcat.generaloptions=-Xmx1024M -XX:MaxPermSize=8G -ea -Dcom.sun.management.jmxremote -Dcom.sun.management.jmxremote.port=${tomcat.jmx.port} -Dcom.sun.management.jmxremote.authenticate=false -Dcom.sun.management.jmxremote.ssl=false -Dorg.tanukisoftware.wrapper.WrapperManager.mbean=true -Djava.endorsed.dirs="%CATALINA_HOME%/lib/endorsed" -Dcatalina.base=%CATALINA_BASE% -Dcatalina.home=%CATALINA_HOME% -Dfile.encoding=UTF-8 -Dlog4j.configuration=log4j_init_tomcat.properties -Djava.util.logging.config.file=jdk_logging.properties -Djava.io.tmpdir="${HYBRIS_TEMP_DIR}" -Drebel.log=tracetomcat.javaoptions=-agentpath:"C:/jrebel/lib/jrebel64.dll"
在指定的位置也有反政府武装文件。
在执行hybrisserver.bat调试时,控制台中将显示以下问题
控制台
Launching a JVM...
Listening for transport dt_socket at address: 8000
To run with JRebel Agent, use: -agentpath:C:\jrebel\lib\jrebel64.dll
For more information, please read https://zeroturnaround.com/software/jrebel/jrebel7-agent-upgrade-cli/
JRebel Agent is building a bootclass cache to C:\WORK\hybris\temp\hybris\rebelboot.jar
Check the instructions above to start using JRebel. The JVM will now exit.
Java HotSpot(TM) 64-Bit Server VM warning: ignoring option MaxPermSize=8G; support was removed in 8.0
JVM exited while loading the application.
Reloading Wrapper configuration...
Launching a JVM...
Listening for transport dt_socket at address: 8000
To run with JRebel Agent, use: -agentpath:C:\jrebel\lib\jrebel64.dll
For more information, please read https://zeroturnaround.com/software/jrebel/jrebel7-agent-upgrade-cli/
JRebel Agent is building a bootclass cache to C:\WORK\hybris\temp\hybris\rebelboot.jar
Check the instructions above to start using JRebel. The JVM will now exit.
Java HotSpot(TM) 64-Bit Server VM warning: ignoring option MaxPermSize=8G; support was removed in 8.0
JVM exited while loading the application.
There were 5 failed launches in a row, each lasting less than 300 seconds. Giving up.
There may be a configuration problem: please check the logs.
<-- Wrapper Stopped在此之后,JVM启动退出,而hybris服务器没有启动。
发布于 2019-11-14 11:41:54
您丢失了代理路径对jrebel64.dll文件的引用。
只需将-agentpath:<your jrebel directory path>\\libjrebel64.dll附加到您的tomcat.debugjavaoptions属性。
https://stackoverflow.com/questions/58748969
复制相似问题