How to specify Java System Properties in UNIX?


 
Thread Tools Search this Thread
Top Forums UNIX for Dummies Questions & Answers How to specify Java System Properties in UNIX?
# 1  
Old 04-30-2012
How to specify Java System Properties in UNIX?

I am setting up Kerberos authentication and this is one of the steps:

1. Open the JBoss startup script.
2. Add the following Java System Properties
-Djava.security.krb5.conf=/disk01/kerb/krb5.conf
-Djavax.security.auth.useSubjectCredsOnly=false

I added these 2 lines and it works in a Windows environment. But it doesnt work in AIX.

What is the format to specify Java system properties in AIX?

My current JBoss startup script is as follows:
#!/bin/sh
USER_MEM_ARGS="-Xms256m -Xmx256m -XX:PermSize=64m -XX:MaxPermSize=256m -Xss256k
-XX:+DisableExplicitGC"
export USER_MEM_ARGS
/u01/dctm/shared/jboss4.2.0/bin/run.sh -c DctmServer_MethodServer -b 0.0.0
.0 $JAVA_OPTIONS
 
Login or Register to Ask a Question

Previous Thread | Next Thread

6 More Discussions You Might Find Interesting

1. Homework & Coursework Questions

Java doesnīt find the CLASSPATH (System variable)

1. The problem statement, all variables and given/known data: As a excercise I have to compile a program (Hello2.java) with a class file (HelloText.java) in another directory. (As you seen in the screenshot) Iīm setting a PATH and a CLASSPATH (system variables). Itīs working without a... (2 Replies)
Discussion started by: MenschTown
2 Replies

2. Solaris

Sun Java System Directory Server

Hi, Does anyone know if the Sun Java System Directory Server (now Oracle Directory Server) is freely available for download? Thanks (1 Reply)
Discussion started by: Mack1982
1 Replies

3. Programming

system Programming using JAVA.

Dear Sir, How to write Code using JAVA technology for system programming ? I want to develop a new compiler for my own language. thanks in advance roy (1 Reply)
Discussion started by: swapan
1 Replies

4. UNIX for Dummies Questions & Answers

usage of Unix properties file (.prop)

Can someone explain exactly how the user defined .prop files will be invoked for a given shell file (.sh file)? Thanks, Prakash (0 Replies)
Discussion started by: bl_123
0 Replies

5. Programming

compile java with GUI on unix system/putty

is it possible in the first place? if so, how should I go about it? (0 Replies)
Discussion started by: finalight
0 Replies

6. UNIX for Dummies Questions & Answers

java.lang.System when running jar

Hello, I recieve the following error when trying to run the following command in a ksh. The operating system is AIX5.1. /usr/bin/jar -xvf {filename}.zip Can't find class java.lang.System But when I run it on the command line it unzips the file fine. Does anybody know why this... (2 Replies)
Discussion started by: ctcuser
2 Replies
Login or Register to Ask a Question
SSSD_KRB5_LOCATOR_PL(8) 					 SSSD Manual pages					   SSSD_KRB5_LOCATOR_PL(8)

NAME
sssd_krb5_locator_plugin - the configuration file for SSSD DESCRIPTION
The Kerberos locator plugin sssd_krb5_locator_plugin is used by the Kerberos provider of sssd(8) to tell the Kerberos libraries what Realm and which KDC to use. Typically this is done in krb5.conf(5) which is always read by the Kerberos libraries. To simplify the configuration the Realm and the KDC can be defined in sssd.conf(5) as described in sssd-krb5(5) sssd(8) puts the Realm and the name or IP address of the KDC into the environment variables SSSD_KRB5_REALM and SSSD_KRB5_KDC respectively. When sssd_krb5_locator_plugin is called by the kerberos libraries it reads and evaluates these variables and returns them to the libraries. NOTES
Not all Kerberos implementations support the use of plugins. If sssd_krb5_locator_plugin is not available on your system you have to edit /etc/krb5.conf to reflect your Kerberos setup. If the environment variable SSSD_KRB5_LOCATOR_DEBUG is set to any value debug messages will be sent to stderr. SEE ALSO
sssd(8), sssd.conf(5), sssd-ldap(5), sssd-krb5(5), sssd-simple(5), sssd-ipa(5), sssd-ad(5), sssd-sudo(5),sss_cache(8), sss_debuglevel(8), sss_groupadd(8), sss_groupdel(8), sss_groupshow(8), sss_groupmod(8), sss_useradd(8), sss_userdel(8), sss_usermod(8), sss_obfuscate(8), sss_seed(8), sssd_krb5_locator_plugin(8), sss_ssh_authorizedkeys(8), sss_ssh_knownhostsproxy(8),pam_sss(8). AUTHORS
The SSSD upstream - http://fedorahosted.org/sssd SSSD
06/17/2014 SSSD_KRB5_LOCATOR_PL(8)