[JIRA] (IDP-2123) Installer is not separating java opts from command line opts.
Rod Widdowson (Jira)
jira at shibboleth.atlassian.net
Thu Jun 1 16:07:20 UTC 2023
Rod Widdowson ( https://shibboleth.atlassian.net/secure/ViewProfile.jspa?accountId=59fb32bbc24efb3c4ed3c977 ) *commented* on IDP-2123 ( https://shibboleth.atlassian.net/browse/IDP-2123?atlOrigin=eyJpIjoiNmY0NzM4YzIxOGUwNDc0ODg5ODQxMzk1NjM5ZDJmMGQiLCJwIjoiaiJ9 )
Re: Installer is not separating java opts from command line opts. ( https://shibboleth.atlassian.net/browse/IDP-2123?atlOrigin=eyJpIjoiNmY0NzM4YzIxOGUwNDc0ODg5ODQxMzk1NjM5ZDJmMGQiLCJwIjoiaiJ9 )
I’m not sure how to do this. I thought I could add a $JAVA_OPTS between the “java” and the class we are executing,
"$JAVACMD" "$FAVA_OPTS" '-classpath' "$LOCALCLASSPATH" \
net.shibboleth.idp.installer.impl.IdPInstallerCLI \
--ansi --sourceDir "$LOCATION/.." "$@"
but my shell-fu is insufficiently strong for me to know how to do it
EXPORT JAVA_OPTS="-Didp.target.dir=/opt/idp -Didp.host.name"
just ends up passing /opt/idp -Didp.host.name}}in as the system property {{idp.target.dir
We might end up saying “you have to just create a property file.”,
( https://shibboleth.atlassian.net/browse/IDP-2123#add-comment?atlOrigin=eyJpIjoiNmY0NzM4YzIxOGUwNDc0ODg5ODQxMzk1NjM5ZDJmMGQiLCJwIjoiaiJ9 ) Add Comment ( https://shibboleth.atlassian.net/browse/IDP-2123#add-comment?atlOrigin=eyJpIjoiNmY0NzM4YzIxOGUwNDc0ODg5ODQxMzk1NjM5ZDJmMGQiLCJwIjoiaiJ9 )
Get Jira notifications on your phone! Download the Jira Cloud app for Android ( https://play.google.com/store/apps/details?id=com.atlassian.android.jira.core&referrer=utm_source%3DNotificationLink%26utm_medium%3DEmail ) or iOS ( https://itunes.apple.com/app/apple-store/id1006972087?pt=696495&ct=EmailNotificationLink&mt=8 ) This message was sent by Atlassian Jira (v1001.0.0-SNAPSHOT#100225- sha1:40c4da4 )
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://shibboleth.net/pipermail/commits/attachments/20230601/9e46e5b3/attachment-0001.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: jira-generated-image-static-comment-icon-64e3b1dc-8aaf-4910-96c9-591dacb37416
Type: image/png
Size: 1084 bytes
Desc: not available
URL: <http://shibboleth.net/pipermail/commits/attachments/20230601/9e46e5b3/attachment-0003.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: jira-generated-image-avatar-f060fa59-c8e7-402c-b4d5-520ceede9e21
Type: image/png
Size: 345 bytes
Desc: not available
URL: <http://shibboleth.net/pipermail/commits/attachments/20230601/9e46e5b3/attachment-0004.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: jira-generated-image-static-footer-desktop-logo-82bffcc5-7fdf-4a01-9896-22cf528097cc
Type: image/png
Size: 10805 bytes
Desc: not available
URL: <http://shibboleth.net/pipermail/commits/attachments/20230601/9e46e5b3/attachment-0005.png>
More information about the commits
mailing list