AXIS2Server packed with ESB 4.9.0 doesn't start while it works fine 4.8.0

此生再无相见时 提交于 2019-12-06 04:32:14

you can use the .bat or .sh from old WSO2 ESB 4.8.0 or fix the issue: Just need to open the .bat or .sh with a text editor and find the line with this string(for windows SO):

-Djava.io.tmpdir="%AXIS2_HOME%..\..\tmp\" 

try to remove the \ after tmp and run your server again and this is all.

rangalal

Correct the axis2server.bat script as shown below:

On line 126 make the following amendments:

  1. Remove the trailing '\' after tmp at the end of the java.io.tmpdir declaration: i.e change -Djava.io.tmpdir="%AXIS2_HOME%..\..\tmp\" %_SERVERNAME% to -Djava.io.tmpdir="%AXIS2_HOME%..\..\tmp" %_SERVERNAME%

  2. Add a (missing) '\' in the conf declaration before 'repository': i.e. change -conf "%AXIS2_HOME%repository\conf\axis2.xml" to -conf "%AXIS2_HOME%\repository\conf\axis2.xml"

Save and re-run the axis2server.bat script.

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!