[OPENAM-7683] ssoadm does not work in 12.0.3-SNAPSHOT Created: 02/Dec/15  Updated: 02/Dec/15  Resolved: 02/Dec/15

Status: Closed
Project: OpenAM
Component/s: CLI
Affects Version/s: 12.0.3
Fix Version/s: 12.0.3

Type: Bug Priority: Major
Reporter: Peter Major [X] (Inactive) Assignee: Peter Major [X] (Inactive)
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Relates
is related to OPENAM-6206 Since OPENAM-4646 there is a subtle c... Resolved
Rank: 1|hzqnhj:

 Description   

Trying to run any ssoadm commands (built by Jenkins and NOT locally) result in the following error message:

'/debugconfig.properties' isn't valid, the default configuration will be used instead: Can't find the configuration file '/debugconfig.properties'.
Cannot bootstrap the systemnull

The NPE has the following stacktrace:

java.lang.NullPointerException
	at java.util.Properties$LineReader.readLine(Properties.java:434)
	at java.util.Properties.load0(Properties.java:353)
	at java.util.Properties.load(Properties.java:341)
	at com.sun.identity.setup.BootstrapData.getBootstrapProperties(BootstrapData.java:203)
	at com.sun.identity.setup.BootstrapData.initSMS(BootstrapData.java:181)
	at com.sun.identity.setup.Bootstrap.getConfiguration(Bootstrap.java:178)
	at com.sun.identity.setup.Bootstrap.load(Bootstrap.java:135)
	at com.sun.identity.setup.Bootstrap.load(Bootstrap.java:92)
	at com.sun.identity.cli.CommandManager.main(CommandManager.java:114)

The root cause appears to be related to maven resource filtering the ${CLASSPATH} variable in the ssoadm script.



 Comments   
Comment by Sebastien Bertholet [X] (Inactive) [ 02/Dec/15 ]

Works with latest snapshot

Generated at Thu Feb 25 16:16:00 UTC 2021 using Jira 7.13.12#713012-sha1:6e07c38070d5191bbf7353952ed38f111754533a.