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
KRB524_CONVERT_CREDS_KDC(3)				   BSD Library Functions Manual 			       KRB524_CONVERT_CREDS_KDC(3)

NAME
krb524_convert_creds_kdc, krb524_convert_creds_kdc_ccache -- converts Kerberos 5 credentials to Kerberos 4 credentials LIBRARY
Kerberos 5 Library (libkrb5, -lkrb5) SYNOPSIS
#include <krb5/krb5.h> krb5_error_code krb524_convert_creds_kdc(krb5_context context, krb5_creds *in_cred, struct credentials *v4creds); krb5_error_code krb524_convert_creds_kdc_ccache(krb5_context context, krb5_ccache ccache, krb5_creds *in_cred, struct credentials *v4creds); DESCRIPTION
Convert the Kerberos 5 credential to Kerberos 4 credential. This is done by sending them to the 524 service in the KDC. krb524_convert_creds_kdc() converts the Kerberos 5 credential in in_cred to Kerberos 4 credential that is stored in credentials. krb524_convert_creds_kdc_ccache() is different from krb524_convert_creds_kdc() in that way that if in_cred doesn't contain a DES session key, then a new one is fetched from the KDC and stored in the cred cache ccache, and then the KDC is queried to convert the credential. This interfaces are used to make the migration to Kerberos 5 from Kerberos 4 easier. There are few services that still need Kerberos 4, and this is mainly for compatibility for those services. Some services, like AFS, really have Kerberos 5 supports, but still uses the 524 inter- face to make the migration easier. SEE ALSO
krb5(3), krb5.conf(5) BSD
March 20, 2004 BSD