Invoking Oracle Wallet Manager (owm) in a FMw 11g SOA Installation Results in a NoClassDefFoundError for oracle/sysman/emSDK/client/appContainer/WebApplication (Doc ID 1292444.1)

Last updated on OCTOBER 31, 2012

Applies to:

Oracle SOA Platform - Version 11.1.1.3.0 and later
Information in this document applies to any platform.

Symptoms

You have an installation of Oracle Fusion Middleware 11g Release 1 (11.1.1.x) where the MW_HOME directory contains an ORACLE_HOME for the Oracle SOA Suite product, but does not yet contain an ORACLE_HOME for the Oracle Web Tier.

You are now trying to configure that environment to use ssh/ftp with the FTP Adapter as per the following product documentation:

Oracle Fusion Middleware
User's Guide for Technology Adapters
11g Release 1 (11.1.1)
E10231-01
May 2009
http://download.oracle.com/docs/cd/E15523_01/integration.1111/e10231.pdf

Chapter 4: Oracle JCA Adapter for Files/FTP
Section 4.4, "Configuring Oracle File and FTP Adapters"
4.4.3 Using SFTP with Oracle FTP Adapter
page 4-68 (page 157 of the PDF)
http://download.oracle.com/docs/cd/E15523_01/integration.1111/e10231/adptr_file.htm#CIAJAHEC


Within section "4.4.2.4 Creating an Oracle Wallet" you are directed to use Oracle Wallet Manager to create a wallet in which to store the generated certificate. However, when you attempt to invoke the Oracle Wallet Manager via the owm command it fails with the following java error:

Exception in thread "main" java.lang.NoClassDefFoundError:
            oracle/sysman/emSDK/client/appContainer/WebApplication

  at java.lang.ClassLoader.defineClass1(Native Method)
  at java.lang.ClassLoader.defineClassCond(ClassLoader.java:632)
  at java.lang.ClassLoader.defineClass(ClassLoader.java:616)
  at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:141)
  at java.net.URLClassLoader.defineClass(URLClassLoader.java:283)
  at java.net.URLClassLoader.access$000(URLClassLoader.java:58)
  at java.net.URLClassLoader$1.run(URLClassLoader.java:197)
  at java.security.AccessController.doPrivileged(Native Method)
  at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
  at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
  at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
  at java.lang.ClassLoader.loadClass(ClassLoader.java:248)
Caused by: java.lang.ClassNotFoundException:
           oracle.sysman.emSDK.client.appContainer.WebApplication
  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:307)
  at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
  at java.lang.ClassLoader.loadClass(ClassLoader.java:248)
  ... 12 more
Could not find the main class: oracle.security.admin.wltmgr.owma.OwmaApp.
Program will exit.
Done.

Cause

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms