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
ktkt_warnd(1M)						  System Administration Commands					    ktkt_warnd(1M)

NAME
ktkt_warnd - Kerberos warning daemon SYNOPSIS
/usr/lib/krb5/ktkt_warnd DESCRIPTION
ktkt_warnd is a daemon on Kerberos clients that can warn users when their Kerberos tickets are about to expire. It is invoked by inetd when a ticket-granting ticket (TGT) is obtained for the first time, such as after using the kinit command. ktkt_warnd can be configured through the /etc/krb5/warn.conf file on the client. In warn.conf, you can specify that you be supplied notice, through syslog, of ticket expira- tion. FILES
/etc/krb5/warn.conf Kerberos warning configuration file SEE ALSO
svcs(1), inetadm(1M), inetd(1M), svcadm(1M), warn.conf(4), smf(5), SEAM(5) NOTES
The ktkt_warnd service is managed by the service management facility, smf(5), under the service identifier: svc:/network/security/ktkt_warn:default Administrative actions on this service, such as enabling, disabling, or requesting restart, can be performed using svcadm(1M). Responsibil- ity for initiating and restarting this service is delegated to inetd(1M). Use inetadm(1M) to make configuration changes and to view config- uration information for this service. The service's status can be queried using the svcs(1) command. SunOS 5.10 4 Nov 2004 ktkt_warnd(1M)