Hi, I am installing Appian in Linux, and I am at configuring database step (Sql

Hi, I am installing Appian in Linux, and I am at configuring database step (Sql server 2008 in my case).
I have an error when executing the command "java org.picketbox.datasource.security.SecureIdentityLoginModule" to encrypte the datasource password.

The log is :"root@ubuntu:~# java org.picketbox.datasource.security.SecureIdentityLoginModule mypassword
Error: Could not find or load main class org.picketbox.datasource.security.SecureIdentityLoginModule"

Thanks


...

OriginalPostID-81609

OriginalPostID-81609

  Discussion posts and replies are publicly visible

Parents
  • 0
    Certified Senior Developer
    Hi Eduardo,
    Verify that you set the CLASSPATH like below.

    On a Unix system, run the utility with the following commands:
    export JBOSS_HOME=/path/to/jboss-as-7.1.1.Final/
    export CLASSPATH=${JBOSS_HOME}modules/org/picketbox/main/picketbox-4.0.7.Final.jar:${JBOSS_HOME}modules/org/jboss/logging/main/jboss-logging-3.1.0.GA.jar:$CLASSPATH

    As you are running the command as root, please verify the class path is set for Root user's profile
Reply
  • 0
    Certified Senior Developer
    Hi Eduardo,
    Verify that you set the CLASSPATH like below.

    On a Unix system, run the utility with the following commands:
    export JBOSS_HOME=/path/to/jboss-as-7.1.1.Final/
    export CLASSPATH=${JBOSS_HOME}modules/org/picketbox/main/picketbox-4.0.7.Final.jar:${JBOSS_HOME}modules/org/jboss/logging/main/jboss-logging-3.1.0.GA.jar:$CLASSPATH

    As you are running the command as root, please verify the class path is set for Root user's profile
Children
No Data