Skip to content
This repository has been archived by the owner on Jul 3, 2023. It is now read-only.

OODT-994 Replace deprecated -Djava.ext.dirs with -classpath #73

Closed
wants to merge 1 commit into from

Conversation

lewismc
Copy link
Member

@lewismc lewismc commented Sep 14, 2018

Issue addresses https://issues.apache.org/jira/browse/OODT-994

My environment is as follows

Apache Maven 3.5.4 (1edded0938998edf8bf061f1ceb3cfdeccf443fe; 2018-06-17T11:33:14-07:00)
Maven home: /usr/local/Cellar/maven/3.5.4/libexec
Java version: 10.0.2, vendor: Oracle Corporation, runtime: /Library/Java/JavaVirtualMachines/jdk-10.0.2.jdk/Contents/Home
Default locale: en_US, platform encoding: UTF-8
OS name: "mac os x", version: "10.12.6", arch: "x86_64", family: "Mac"

@lewismc
Copy link
Member Author

lewismc commented Sep 14, 2018

The PR as it stands is not a fix...

Workflow Manager started PID file (/usr/local/coal-sds-deploy/workflow/run/cas.workflow.pid).
Resource Manager started PID file (/usr/local/coal-sds-deploy/resmgr/run/cas.resmgr.pid).
Unrecognized option: -classpath=/usr/local/coal-sds-deploy/resmgr/lib
Error: Could not create the Java Virtual Machine.
Error: A fatal exception has occurred. Program will exit.
Unrecognized option: -classpath=/usr/local/coal-sds-deploy/filemgr/lib
Error: Could not create the Java Virtual Machine.
Error: A fatal exception has occurred. Program will exit.
Unrecognized option: -classpath=/usr/local/coal-sds-deploy/workflow/lib
Error: Could not create the Java Virtual Machine.
Error: A fatal exception has occurred. Program will exit.

Still debugging.

@lewismc
Copy link
Member Author

lewismc commented Sep 14, 2018

This PR will not work, it looks like I need to add a wild card to each entry when using the -cp, -classpath or --class-path notation for the replacement. The command syntax is going to be slightly more tricky.

@lewismc lewismc closed this Sep 14, 2018
@lewismc lewismc deleted the OODT-994 branch September 14, 2018 04:45
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
1 participant