2 Replies Latest reply: Apr 27, 2012 5:12 AM by 832088 RSS

    Issue on OSB's Socket Adapter (11.1.1.6)

    832088
      Hi,

      I followed the below link for socket adapter transport in OSB.

      *[http://docs.oracle.com/cd/E23943_01/dev.1111/e15866/example.htm#i1036682]*

      Please refer : 42.3.2 Building the Transport
      I'm getting the following error while building the transport using ant

      build:
      *[echo] --------------------------------------------------*
      *[echo] | Socket transport build started |*
      *[echo] --------------------------------------------------*

      create_directories:
      *[echo] >>>>>> create_directories >>>>>>*
      *[echo] >>>>>> Done create_directories >>>>>>*

      compile:
      *[echo] >>>>>> compiling sources started >>>>>>*
      *[echo] debug = on, optimize = off, deprecation = off*

      compile.i18n.catalogs:
      *[echo] >>>>>> compiling i18n catalogs started >>>>>>*
      *[java] java.lang.NoClassDefFoundError: weblogic/i18ngen*
      *[java] Caused by: java.lang.ClassNotFoundException: weblogic.i18ngen*
      *[java] at java.net.URLClassLoader$1.run(URLClassLoader.java:202)*
      *[java] at java.security.AccessController.doPrivileged(Native Method)*
      *[java] at java.net.URLClassLoader.findClass(URLClassLoader.java:190)*
      *[java] at java.lang.ClassLoader.loadClass(ClassLoader.java:306)*
      *[java] at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)*

      *[java] at java.lang.ClassLoader.loadClass(ClassLoader.java:247)*
      *[java] Could not find the main class: weblogic.i18ngen. Program will exit.*

      *[java] Exception in thread "main"*

      BUILD FAILED

      It seems there is missing of jar.

      please help me how to get the weblogic.i18ngen.jar and where to add the jar.