Problem : Exception in thread "main" java.lang. NoClassDefFoundError: oracle/security/jps/ JpsException
1) After installation dac, When you start the command ./standaloneServerSetupPrompt. sh it was givuing the below error.
2) After installation dac, When you start the command
./startserver.sh it was givuing the below error.
[obidac@oracle dac]$ . ./standaloneServerSetupPrompt. sh
OS detected: Linux
Exception in thread "main" java.lang. NoClassDefFoundError: oracle/security/jps/ JpsException
at com.siebel.etl.gui.login. TextModeServerSetup.main( TextModeServerSetup.java:459)
Caused by: java.lang. ClassNotFoundException: oracle.security.jps. JpsException
at java.net.URLClassLoader$1.run( URLClassLoader.java:202)
at java.security. AccessController.doPrivileged( Native Method)
at java.net.URLClassLoader. findClass(URLClassLoader.java: 190)
at java.lang.ClassLoader. loadClass(ClassLoader.java: 306)
at sun.misc.Launcher$ AppClassLoader.loadClass( Launcher.java:301)
at java.lang.ClassLoader. loadClass(ClassLoader.java: 247)
... 1 more
[obidac@oracle dac]$ ./startserver.sh
OS detected: Linux
Exception in thread "main" java.lang. NoClassDefFoundError: oracle/security/jps/ JpsException
at com.siebel.etl.net.QServer. main(QServer.java:498)
Caused by: java.lang. ClassNotFoundException: oracle.security.jps. JpsException
at java.net.URLClassLoader$1.run( URLClassLoader.java:202)
at java.security. AccessController.doPrivileged( Native Method)
at java.net.URLClassLoader. findClass(URLClassLoader.java: 190)
at java.lang.ClassLoader. loadClass(ClassLoader.java: 306)
at sun.misc.Launcher$ AppClassLoader.loadClass( Launcher.java:301)
at java.lang.ClassLoader. loadClass(ClassLoader.java: 247)
Solution :
After configuring the variable COMMON_COMPONENTS in the config.sh file as
export COMMON_COMPONENTS_HOME=${DAC_ HOME}/lib/oracle_common
the scripts above ran successfully.
export COMMON_COMPONENTS_HOME=${DAC_
the scripts above ran successfully.
. ./dac_env.sh
#JAVA_HOME=@JAVA_HOME
JAVA_HOME=/usr/jdk1.6.0_31/bin
#JAVA_HOME=/opt/javal.6
export JAVA_HOME
DAC_HOME=/Oracle/OBIAPPS/DAC/ orahome/11g/dac
export DAC_HOME
JAVA=/usr/jdk1.6.0_31/bin/java
export JAVA
export COMMON_COMPONENTS_HOME=${DAC_ HOME}/lib/oracle_common
SQLSERVERLIB=./lib/msbase.jar: ./lib/mssqlserver.jar:./lib/ msutil.jar:./lib/sqljdbc.jar
export SQLSERVERLIB
ORACLELIB=$DAC_HOME/lib/ ojdbc6.jar:$DAC_HOME/lib/ ojdbc5.jar:$DAC_HOME/ojdbc14. jar
#ORACLELIB=./lib/ojdbc6.jar:./ lib/ojdbc5.jar:./lib/ojdbc14. jar
export ORACLELIB
DB2LIB=./lib/db2java.zip
export DB2LIB
TERADATALIB=./lib/teradata. jar:./lib/terajdbc4.jar:./lib/ log4j.jar:./lib/tdgssjava.jar: ./lib/tdgssconfig.jar
export TERADATALIB
NETEZZALIB=./lib/nzjdbc.jar
export NETEZZALIB
BISERVERLIB=./lib/bijdbc.jar
export BISERVERLIB
TIMESTENLIB=./lib/ttjdbc6.jar: ./lib/orai18n.jar:./lib/ timestenjmsxla.jar:./lib/jms. jar:./lib/javax.jms.jar
export TIMESTENLIB
DBLIBS=${SQLSERVERLIB}:${ ORACLELIB}:${DB2LIB}:${ TERADATALIB}:${NETEZZALIB}:${ BISERVERLIB}:${TIMESTENLIB}
export DBLIBS
DACLIB=./DAWSystem.jar:./lib/ biacm.paramproducer.jar:
export DACLIB
WSCLIENT_CLASSPATH=${COMMON_ COMPONENTS_HOME}/modules/ oracle.pki_11.1.1/oraclepki. jar:${COMMON_COMPONENTS_HOME}/ webservices/wsclient_extended. jar:${COMMON_COMPONENTS_HOME}/ modules/oracle.jmx_11.1.1/ jmxspi.jar:${COMMON_ COMPONENTS_HOME}/modules/ oracle.odl_11.1.1/ojdl.jar:${ COMMON_COMPONENTS_HOME}/ modules/oracle.jps_11.1.1/jps- internal.jar:${COMMON_ COMPONENTS_HOME}/modules/ oracle.jps_11.1.1/jps- platform.jar:${COMMON_ COMPONENTS_HOME}/modules/ oracle.jps_11.1.1/jps-se.jar:$ {COMMON_COMPONENTS_HOME}/ modules/oracle.idm_11.1.1/ identitystore.jar:${COMMON_ COMPONENTS_HOME}/modules/ oracle.jps_11.1.1/jps-az-rt. jar:${COMMON_COMPONENTS_HOME}/ modules/oracle.jps_11.1.1/ jacc-spi.jar:${COMMON_ COMPONENTS_HOME}/modules/ oracle.iau_11.1.1/fmw_audit. jar:${COMMON_COMPONENTS_HOME}/ modules/oracle.jmx_11.1.1/ jmxframework.jar:${COMMON_ COMPONENTS_HOME}/modules/ oracle.igf_11.1.1/ identitydirectory.jar:
export WSCLIENT_CLASSPATH
UICLIENTCLASSPATH=${COMMON_ COMPONENTS_HOME}/jlib/help- share.jar:${COMMON_COMPONENTS_ HOME}/jlib/ohj.jar:${COMMON_ COMPONENTS_HOME}/jlib/jewt4. jar:${COMMON_COMPONENTS_HOME}/ jlib/share.jar:${COMMON_ COMPONENTS_HOME}/jlib/oracle_ ice.jar:
export UICLIENTCLASSPATH
DACCLASSPATH=${DBLIBS}:${ DACLIB}:${WSCLIENT_CLASSPATH}: ${UICLIENTCLASSPATH}
export DACCLASSPATH