why does run command loads another console in window? -
i running java application made gradle-gretty-plugin , file followings.
:execute @rem setup command line echo "redca agent running.." set app_name=redca-agent-1.0.0-snapshot.jar set config_home=%app_home%\config set classpath=%app_home%\lib\* set config_loc=--spring.config.location=file:%config_home%\application.properties set app=com.sds.redca.agent.bootstrap @rem execute redca_agent echo "%java_exe%" %default_jvm_opts% %java_opts% %app% %config_loc% %cmd_line_args% "%java_exe%" %default_jvm_opts% %java_opts% -classpath "%classpath%" %app% %config_loc% %cmd_line_args%
when run in local, runs in same console run command. , uploaded application server windows server 2008 r2 enterprise service pack1 installed.
the problem loads console not 1 run command. if application gets error, can't see log. because new console window closed right after show error logs.
i can't understand why same application run differently.
i found workaround problem. don't know exact reason that. changed java , worked. please ignore question.
Comments
Post a Comment