首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >启动SAP hybris服务器时出现的Jrebel问题

启动SAP hybris服务器时出现的Jrebel问题
EN

Stack Overflow用户
提问于 2019-11-07 12:39:08
回答 3查看 1.5K关注 0票数 1

我在启动SAP海布里斯服务器时面临一个问题。我完成了我的设置,然后我将file配置添加到了我的local.properties文件中,我还在Eclipse中安装了插件,并激活了J反叛。

使用的java版本= "1.8.0_231"

local.properties

代码语言:javascript
复制
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=trace

tomcat.javaoptions=-agentpath:"C:/jrebel/lib/jrebel64.dll"

在指定的位置也有反政府武装文件。

在执行hybrisserver.bat调试时,控制台中将显示以下问题

控制台

代码语言:javascript
复制
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服务器没有启动。

EN

Stack Overflow用户

发布于 2019-11-14 11:41:54

您丢失了代理路径jrebel64.dll文件的引用。

只需将-agentpath:<your jrebel directory path>\\libjrebel64.dll附加到您的tomcat.debugjavaoptions属性。

票数 0
EN
查看全部 3 条回答
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/58748969

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档