Setting Java classpath for Beanstalk Worker

0

I've deployed a Procfile with a classpath defined to point to shared libraries. The bundle I'm deploying includes an application's jar and the Procfile. Beanstalk reports:

2022/04/01 21:51:48.299718 [INFO] Failed to start web.service: Unit is not loaded properly: Invalid argument. See system logs and 'systemctl status web.service' for details.

2022/04/01 21:51:48.299758 [ERROR] An error occurred during execution of command [app-deploy] - [FlipApplication]. Stop running the command. Error: Register application failed because the registration of proc web failed: startProcess Failure: starting process "web" failed: Command /bin/sh -c systemctl start web.service failed with error exit status 1. Stderr:Failed to start web.service: Unit is not loaded properly: Invalid argument. See system logs and 'systemctl status web.service' for details.

Procfile looks like this: web: java -Djava.util.logging.SimpleFormatter.format="%2$s %5$s%6$s%n" -Xms512m -Xmx2048m -agentlib:jdwp=transport=dt_socket,server=y,suspend=n,address=5017 -classpath "/efs-mount/transferfam/efs/wtg_ecomm2/lib/TomcatShared/axis21.5.4/XmlSchema-1.4.3.jar:/efs-mount/transferfam/efs/wtg_ecomm2/lib/TomcatShared/axis21.5.4/activation-1.1.jar" com.wtg.report.ReportProcessor

Can I not use these arguments to launch a EB worker.

Thanks much.

jack
질문됨 2년 전41회 조회
답변 없음

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

질문 답변하기에 대한 가이드라인

관련 콘텐츠