FindClass() throws java.lang.UnsatisfiedLinkError exception

Hi All,
I am using a JNI to make my C program to communicate with the GUI developed in Java Swings. In my C program I have used FindClass() method to find the java class. While exececuting my C program, I got the following exception,
Exception in thread "main" java.lang.UnsatisfiedLinkError: /usr/java/jre1.5.0_04/lib/i386/libawt.so: /usr/java/j2sdk1.4.2_08/jre/lib/i386/libmlib_image.so: version `VER_1.1' not found (required by /usr/java/jre1.5.0_04/lib/i386/libawt.so)
at java.lang.ClassLoader$NativeLibrary.load(Native Method)
at java.lang.ClassLoader.loadLibrary0(Unknown Source)
at java.lang.ClassLoader.loadLibrary(Unknown Source)
at java.lang.Runtime.loadLibrary0(Unknown Source)
at java.lang.System.loadLibrary(Unknown Source)
at sun.security.action.LoadLibraryAction.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at sun.awt.NativeLibLoader.loadLibraries(Unknown Source)
at sun.awt.DebugHelper.<clinit>(Unknown Source)
at java.awt.Component.<clinit>(Unknown Source)
I have ensured that the libawt.so and ibmlib_image.so paths are set in LD_LIBRARY_PATH. Inspite of that I am not able to access the java class because of the above mentioned exception. Please help me out in this.
For your reference, I am attaching the code with this,
#include <jni.h>
int main()
     JavaVMOption options[2];
     JNIEnv *env;
     JavaVM *jvm;
     JavaVMInitArgs vm_args;
     long status;
     jclass cls;
     jobject obj;
     jmethodID mid;
     jstring jstr;
     char str[25];
       options[0].optionString =        "-Djava.class.path=/home/maniyan/work/Dhruv_proj/vers/v5";
     options[1].optionString = "-verbose:jni";
     memset(&vm_args, 0, sizeof(vm_args));
        vm_args.version = JNI_VERSION_1_4;
     vm_args.nOptions = 1;
     vm_args.options = options;
     vm_args.ignoreUnrecognized = 1;
     status = JNI_CreateJavaVM(&jvm, (void**)&env, &vm_args);
     printf("status %d\n",status);
     if (status != JNI_ERR)
          printf("Exception %d\n",(*env)->ExceptionCheck(env));
          cls = (*env)->FindClass(env, "frame_main_v1");
          printf("Exception %d\n",(*env)->ExceptionCheck(env));
          if ((*env)->ExceptionCheck(env)) {
          (*env)->ExceptionDescribe(env);
          (*env)->ExceptionClear(env);
     if(cls !=0)
             //printf("am here\n");
          mid = (*env)->GetStaticMethodID(env, cls, "display_message", "(Ljava/lang/String;)V");
          printf("Method %d\n",mid);
          if(mid !=0)
          {      strcpy(str,"Hello world");
                (*env)->CallStaticCharMethod(env, cls, mid, (*env)->NewStringUTF(env, str));
     (*jvm)->DestroyJavaVM(jvm);
     return 0;
else {
          printf("some error\n");
          return -1;
Thanks in adv,
Cool Dude

this is like a classpath issue, but for a native library
basically you need to include the library file in your path info to the JVM

Similar Messages

  • JSTL throwing java.lang.NoSuchMethodError: Exception

    Hai folks,
    I was trying to install JSTL in tomcat's container.
    I've copied all jar files into the webapps\ROOT\WEB-INF\lib directory.TLD files are copied to the webapps\ROOT\WEB-INF directory. I've also rewrited the web.xml with corresponding TLD's uri mappings.
    But i am always getting this exception.
    org.apache.catalina.core.StandardWrapperValve invoke
    SEVERE: Servlet.service() for servlet jsp threw exception
    java.lang.NoSuchMethodError:
    javax.servlet.jsp.tagext.TagAttributeInfo.<init>(Ljava/lang/String;ZLjava/lang/String;ZZ)V
    at org.apache.jasper.compiler.TagLibraryInfoImpl.createAttribute(TagLibraryInfoImpl.java:568)
    at org.apache.jasper.compiler.TagLibraryInfoImpl.createTagInfo(TagLibraryInfoImpl.java:401)
    at org.apache.jasper.compiler.TagLibraryInfoImpl.parseTLD(TagLibraryInfoImpl.java:248)
    at org.apache.jasper.compiler.TagLibraryInfoImpl.<init>(TagLibraryInfoImpl.java:162)
    at org.apache.jasper.compiler.Parser.parseTaglibDirective(Parser.java:418)
    at org.apache.jasper.compiler.Parser.parseDirective(Parser.java:483)
    at org.apache.jasper.compiler.Parser.parseElements(Parser.java:1539)
    at org.apache.jasper.compiler.Parser.parse(Parser.java:126)
    at org.apache.jasper.compiler.ParserController.doParse(ParserController.java:211)
    at org.apache.jasper.compiler.ParserController.parse(ParserController.java:100)
    at org.apache.jasper.compiler.Compiler.generateJava(Compiler.java:146)
    at org.apache.jasper.compiler.Compiler.compile(Compiler.java:286)
    at org.apache.jasper.compiler.Compiler.compile(Compiler.java:267)
    at org.apache.jasper.compiler.Compiler.compile(Compiler.java:255)
    at org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:556)
    at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:296)
    at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:295)
    at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:245)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
    at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:214)
    at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
    at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
    at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
    at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
    at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
    at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:825)
    at
    org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:7
    38)
    at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:526)
    at
    org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80)
    at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
    at java.lang.Thread.run(Thread.java:595)
    Please help.

    Hai folks,
    I was trying to install JSTL in tomcat's container.
    I've copied all jar files into the
    webapps\ROOT\WEB-INF\lib directory.TLD files are
    copied to the webapps\ROOT\WEB-INF directory. I've
    also rewrited the web.xml with corresponding TLD's
    uri mappings.Delete the TLDs. Remove the taglib changes you made to the web.xml. I am not sure what tutorial tells people to do this, but it is WRONG for installing JSTL (or any Custom Tag Library that is packaged properly).
    All you need is the standard.jar and jstl.jar in your WEB-INF/lib directory (and maybe an XMLParser if you are using the <xml: tags).
    Anyway. That may not be your main problem. Make sure you are using the correct version of JSTL for you server.
    If you are using Tomcat 4, you need JSTL 1.0
    If you are using Tomcat 5, you need JSTL 1.1
    >
    But i am always getting this exception.
    org.apache.catalina.core.StandardWrapperValve invoke
    SEVERE: Servlet.service() for servlet jsp threw
    exception
    java.lang.NoSuchMethodError:
    javax.servlet.jsp.tagext.TagAttributeInfo.<init>(Ljava
    /lang/String;ZLjava/lang/String;ZZ)V
    at
    t
    org.apache.jasper.compiler.TagLibraryInfoImpl.createAt
    tribute(TagLibraryInfoImpl.java:568)
    at
    t
    org.apache.jasper.compiler.TagLibraryInfoImpl.createTa
    gInfo(TagLibraryInfoImpl.java:401)
    at
    t
    org.apache.jasper.compiler.TagLibraryInfoImpl.parseTLD
    (TagLibraryInfoImpl.java:248)
    at
    t
    org.apache.jasper.compiler.TagLibraryInfoImpl.<init>(T
    agLibraryInfoImpl.java:162)
    at
    t
    org.apache.jasper.compiler.Parser.parseTaglibDirective
    (Parser.java:418)
    at
    t
    org.apache.jasper.compiler.Parser.parseDirective(Parse
    r.java:483)
    at
    t
    org.apache.jasper.compiler.Parser.parseElements(Parser
    .java:1539)
    at
    t
    org.apache.jasper.compiler.Parser.parse(Parser.java:12
    6)
    at
    t
    org.apache.jasper.compiler.ParserController.doParse(Pa
    rserController.java:211)
    at
    t
    org.apache.jasper.compiler.ParserController.parse(Pars
    erController.java:100)
    at
    t
    org.apache.jasper.compiler.Compiler.generateJava(Compi
    ler.java:146)
    at
    t
    org.apache.jasper.compiler.Compiler.compile(Compiler.j
    ava:286)
    at
    t
    org.apache.jasper.compiler.Compiler.compile(Compiler.j
    ava:267)
    at
    t
    org.apache.jasper.compiler.Compiler.compile(Compiler.j
    ava:255)
    at
    t
    org.apache.jasper.JspCompilationContext.compile(JspCom
    pilationContext.java:556)
    at
    t
    org.apache.jasper.servlet.JspServletWrapper.service(Js
    pServletWrapper.java:296)
    at
    t
    org.apache.jasper.servlet.JspServlet.serviceJspFile(Js
    pServlet.java:295)
    at
    t
    org.apache.jasper.servlet.JspServlet.service(JspServle
    t.java:245)
    at
    t
    javax.servlet.http.HttpServlet.service(HttpServlet.jav
    a:853)
    at
    t
    org.apache.catalina.core.ApplicationFilterChain.intern
    alDoFilter(ApplicationFilterChain.java:252)
    at
    t
    org.apache.catalina.core.ApplicationFilterChain.doFilt
    er(ApplicationFilterChain.java:173)
    at
    t
    org.apache.catalina.core.StandardWrapperValve.invoke(S
    tandardWrapperValve.java:214)
    at
    t
    org.apache.catalina.core.StandardContextValve.invoke(S
    tandardContextValve.java:178)
    at
    t
    org.apache.catalina.core.StandardHostValve.invoke(Stan
    dardHostValve.java:126)
    at
    t
    org.apache.catalina.valves.ErrorReportValve.invoke(Err
    orReportValve.java:105)
    at
    t
    org.apache.catalina.core.StandardEngineValve.invoke(St
    andardEngineValve.java:107)
    at
    t
    org.apache.catalina.connector.CoyoteAdapter.service(Co
    yoteAdapter.java:148)
    at
    t
    org.apache.coyote.http11.Http11Processor.process(Http1
    1Processor.java:825)
    at
    org.apache.coyote.http11.Http11Protocol$Http11Connecti
    onHandler.processConnection(Http11Protocol.java:7
    38)
    at
    t
    org.apache.tomcat.util.net.PoolTcpEndpoint.processSock
    et(PoolTcpEndpoint.java:526)
    at
    org.apache.tomcat.util.net.LeaderFollowerWorkerThread.
    runIt(LeaderFollowerWorkerThread.java:80)
    at
    t
    org.apache.tomcat.util.threads.ThreadPool$ControlRunna
    ble.run(ThreadPool.java:684)
    at java.lang.Thread.run(Thread.java:595)
    Please help.

  • Exception of type java.lang.UnsatisfiedLinkError was thrown Anyone ?

    We are getting this exception when trying to run a very basic aspx. This project works across several other servers, after bringing a new server online, we are finding we get this exception. Below is the complete response from tcptrace.
    HTTP/1.1 500 Internal Server ErrorServer: Microsoft-IIS/5.0Date: Tue, 24 Feb 2004 16:28:31 GMTX-Powered-By: ASP.NETX-AspNet-Version: 1.1.4322Cache-Control: privateContent-Type: text/html; charset=utf-8Content-Length: 5522
    <html> <head> <title>Exception of type java.lang.UnsatisfiedLinkError was thrown.</title> <style> body {font-family:"Verdana";font-weight:normal;font-size: .7em;color:black;} p {font-family:"Verdana";font-weight:normal;color:black;margin-top: -5px} b {font-family:"Verdana";font-weight:bold;color:black;margin-top: -5px} H1 { font-family:"Verdana";font-weight:normal;font-size:18pt;color:red } H2 { font-family:"Verdana";font-weight:normal;font-size:14pt;color:maroon } pre {font-family:"Lucida Console";font-size: .9em} .marker {font-weight: bold; color: black;text-decoration: none;} .version {color: gray;} .error {margin-bottom: 10px;} .expandable { text-decoration:underline; font-weight:bold; color:navy; cursor:hand; } </style> </head>
    <body bgcolor="white">
    <span><H1>Server Error in '/PPAApps' Application.<hr width=100% size=1 color=silver></H1>
    <h2> <i>Exception of type java.lang.UnsatisfiedLinkError was thrown.</i> </h2></span>
    <font face="Arial, Helvetica, Geneva, SunSans-Regular, sans-serif ">
    <b> Description: </b>An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
    <br><br>
    <b> Exception Details: </b>java.lang.UnsatisfiedLinkError: Exception of type java.lang.UnsatisfiedLinkError was thrown.<br><br>
    <b>Source Error:</b> <br><br>
    <table width=100% bgcolor="#ffffcc"> <tr> <td> <code>
    An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.</code>
    </td> </tr> </table>
    <br>
    <b>Stack Trace:</b> <br><br>
    <table width=100% bgcolor="#ffffcc"> <tr> <td> <code><pre>
    [UnsatisfiedLinkError: Exception of type java.lang.UnsatisfiedLinkError was thrown.] java.lang.ExceptionInInitializerError.checkAndThrowException(Throwable thrown) +59 java.util.Locale..cctor() +1678
    [TypeInitializationException: The type initializer for "java.util.Locale" threw an exception.] java.lang.Float..ctor(String s) +214 com.plumtree.remote.portlet.xp.XPSettingsManager.IsCSPVersionAtLeast(Double version) com.plumtree.remote.portlet.xp.XPSettingsManager..ctor(IXPRequest request, IXPResponse response) com.plumtree.remote.portlet.xp.XPSettingsFactory.getXPSettingsManager(IXPRequest request, IXPResponse response) com.plumtree.remote.portlet.xp.XPPortletContext..ctor(IXPRequest request, IXPResponse response) com.plumtree.remote.portlet.xp.XPPortletContextFactory.createPortletContext(IXPRequest req, IXPResponse resp) Plumtree.Remote.Portlet.PortletContextFactory.CreatePortletContext(HttpRequest req, HttpResponse resp) Com.Plumtree.Remote.Transformer.Condition.GatewayedStandardCondition.UseFilter(HttpContext ctx) Com.Plumtree.Remote.Transformer.FilterManager.UpdateFilter(HttpContext ctx) Com.Plumtree.Remote.Transformer.PTTransformer.BeginRequestHandler(Object sender, EventArgs e) System.Web.SyncEventExecutionStep.System.Web.HttpApplication+IExecutionStep.Execute() +60 System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +87</pre></code>
    </td> </tr> </table>
    <br>
    <hr width=100% size=1 color=silver>
    <b>Version Information:</b> Microsoft .NET Framework Version:1.1.4322.573; ASP.NET Version:1.1.4322.573
    </font>
    </body></html><!-- [UnsatisfiedLinkError]: Exception of type java.lang.UnsatisfiedLinkError was thrown. at java.lang.ExceptionInInitializerError.checkAndThrowException(Throwable thrown) at java.util.Locale..cctor()[TypeInitializationException]: The type initializer for "java.util.Locale" threw an exception. at java.lang.Float..ctor(String s) at com.plumtree.remote.portlet.xp.XPSettingsManager.IsCSPVersionAtLeast(Double version) at com.plumtree.remote.portlet.xp.XPSettingsManager..ctor(IXPRequest request, IXPResponse response) at com.plumtree.remote.portlet.xp.XPSettingsFactory.getXPSettingsManager(IXPRequest request, IXPResponse response) at com.plumtree.remote.portlet.xp.XPPortletContext..ctor(IXPRequest request, IXPResponse response) at com.plumtree.remote.portlet.xp.XPPortletContextFactory.createPortletContext(IXPRequest req, IXPResponse resp) at Plumtree.Remote.Portlet.PortletContextFactory.CreatePortletContext(HttpRequest req, HttpResponse resp) at Com.Plumtree.Remote.Transformer.Condition.GatewayedStandardCondition.UseFilter(HttpContext ctx) at Com.Plumtree.Remote.Transformer.FilterManager.UpdateFilter(HttpContext ctx) at Com.Plumtree.Remote.Transformer.PTTransformer.BeginRequestHandler(Object sender, EventArgs e) at System.Web.SyncEventExecutionStep.System.Web.HttpApplication+IExecutionStep.Execute() at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)-->HTTP/1.1 500 Internal Server ErrorServer: Microsoft-IIS/5.0Date: Tue, 24 Feb 2004 16:29:06 GMTX-Powered-By: ASP.NETX-AspNet-Version: 1.1.4322Cache-Control: privateContent-Type: text/html; charset=utf-8Content-Length: 5522
    <html> <head> <title>Exception of type java.lang.UnsatisfiedLinkError was thrown.</title> <style> body {font-family:"Verdana";font-weight:normal;font-size: .7em;color:black;} p {font-family:"Verdana";font-weight:normal;color:black;margin-top: -5px} b {font-family:"Verdana";font-weight:bold;color:black;margin-top: -5px} H1 { font-family:"Verdana";font-weight:normal;font-size:18pt;color:red } H2 { font-family:"Verdana";font-weight:normal;font-size:14pt;color:maroon } pre {font-family:"Lucida Console";font-size: .9em} .marker {font-weight: bold; color: black;text-decoration: none;} .version {color: gray;} .error {margin-bottom: 10px;} .expandable { text-decoration:underline; font-weight:bold; color:navy; cursor:hand; } </style> </head>
    <body bgcolor="white">
    <span><H1>Server Error in '/PPAApps' Application.<hr width=100% size=1 color=silver></H1>
    <h2> <i>Exception of type java.lang.UnsatisfiedLinkError was thrown.</i> </h2></span>
    <font face="Arial, Helvetica, Geneva, SunSans-Regular, sans-serif ">
    <b> Description: </b>An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
    <br><br>
    <b> Exception Details: </b>java.lang.UnsatisfiedLinkError: Exception of type java.lang.UnsatisfiedLinkError was thrown.<br><br>
    <b>Source Error:</b> <br><br>
    <table width=100% bgcolor="#ffffcc"> <tr> <td> <code>

    This is the response I got from support:
    This is bug 22205 and will be fixed in the release of the Exchange Groupware Portlet Suite 3.0.4 at the end of April. The workaround in the interim is to copy the D:\Program Files\plumtree\jre folder from the installation CD (or another working portal server) onto the problem server. Please let me know if this resolves the issue for you. Neal Rapoporthttp://www.portalconsultant.com

  • Weblogic server 8.1 JNI module deployment java.lang.UnsatisfiedLinkError

    This is on the weblogic 8.1 Solaris platform.
    We have a module in our application which uses the native shared library and makes JNI called from the J2EE application. We have added the .so files to the LD_LIBRARY_PATH environment variable in our managed server startup scripts. When we start our servers the module works fine. But when we redeploy the J2EE application, the java code is changed but we start getting java.lang.UnsatisfiedLinkError exception when the module is invoked. We are using the staged mode for deployment. We have to shut down the managed servers and restart them every time for this module to start working after the redeployment of the J2EE application.
    Is this a known problem with the JNI based application. Is there any setting that we are missing? Has this problem been fixed in any of the service packs?

    Have you checked to see if your file descriptor setting is set high enough? Disabling native IO is not a very good solution as it will drastically reduce performance.
    --Raheem                                                                                                                                                                                                                                                                                                                                                                   

  • Why my cutomize role mapper throws java.lang.ClassCastException: $Proxy67

    Hello all,
    I customize the role mapper as follows is my MDF content
    &lt;MBeanType
    Name = "TestRoleMapper"
    DisplayName = "TestRoleMapper"
    Package = "test.pkg.roles"
    Extends = "weblogic.management.security.authorization.RoleMapper"
    Implements = "weblogic.management.security.authorization.RoleReader"
    PersistPolicy = "OnUpdate"
    I implements the method "listRolesForResource", this method declared to return a string array.
    When I return the role name array then Weblogic throws java.lang.ClassCastException: $Proxy67
    Error snapshot
    http://antonov0318.googlepages.com/error.jpg
    Would I miss some interface ?
    Would somebody know how to solve it?
    Please let me know , Please....Thank you very much.
    Edited by: user6273860 on 2008/10/25 上午 12:00

    It looks like you're just taking random methods,
    calling them incorrectly, and expecting them to
    work.
    What do you think this will do?
         * Construct {@link java.lang.Object} array of keys from {@link java.util.Hashtable}
         * @param h {@link java.util.Hashtable}
         * @return array {@link java.lang.String}
         * @throws java.lang.IndexOutOfBoundsException Exception thrown if initial {@link java.lang.Object} array paramater cannot be indexed
        public static Object[] arrayKeys(Hashtable<Object, Object> h) throws IndexOutOfBoundsException {
            return h.keySet().toArray();
        }>
    ArrayFunctionality.arrayKeys(attrs)(new
    String[attrs.size()]);What's arrayKeys? And what do you think
    method(args) (some other stuff) ; will
    do?
    Somebody else showed you what to do earlier, but they
    had a typo. You need to pass an array of the
    appropriate type to toArray:
    String[] stringArr =
    (String[])theList.toArray(someStringArray);Read the docs for that method so you understand how
    it works. Just just blindly copy/paste.The API docs for toArray() for java.util.Set interface takes no parameters, I can't expect to know you can override it

  • Jar file issue. EXCEPTION: java.lang.UnsatisfiedLinkError

    Hey all,
    i'm writing an application that connects to Oracles SCM. I use a lot of the oracle SCM library. Anyway, my application running in oracles jDeveloper works just fine. However when i deploy it to an executable jar file i get the above exception. In the deployment settings i have tried both using the dependency analyzer and including all content. I have selected all libraries that are used in running it within jdeveloper for the deployment. I have posted to the SCM forumn but noone there has any ideas so just wondering if its a problem with jdeveloper or if its just something stupid i've done.
    find the below the full exception im getting when i run the executable jar file. i'd appreciate any ideas/suggestions anyone may have
    cheers
    paul
    Exception occurred during event dispatching:
    java.lang.UnsatisfiedLinkError: TnsAliasToAddress
    at oracle.repos.helpers.environment.OSEnv.TnsAliasToAddress(Native Method)
    at oracle.repos.services.connection.RepositoryConnectDetails.parseConnect(RepositoryConnectDetails.java:365)
    at oracle.repos.services.connection.RepositoryConnectDetails.<init>(RepositoryConnectDetails.java:74)
    at oracle.repos.services.connection.RepositoryConnection.<init>(RepositoryConnection.java:368)
    at ess.ant.scm.ValidateUser.validate(ValidateUser.java:44)
    at ess.ant.scm.ConnectionFrame.connect_actionPerformed(ConnectionFrame.java:175)
    at ess.ant.scm.ConnectionFrame$1.actionPerformed(ConnectionFrame.java:89)
    at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1450)
    at javax.swing.AbstractButton$ForwardActionEvents.actionPerformed(AbstractButton.java:1504)
    at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:378)
    at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:250)
    at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:216)
    at java.awt.AWTEventMulticaster.mouseReleased(AWTEventMulticaster.java:230)
    at java.awt.Component.processMouseEvent(Component.java:3715)
    at java.awt.Component.processEvent(Component.java:3544)
    at java.awt.Container.processEvent(Container.java:1164)
    at java.awt.Component.dispatchEventImpl(Component.java:2593)
    at java.awt.Container.dispatchEventImpl(Container.java:1213)
    at java.awt.Component.dispatchEvent(Component.java:2497)
    at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:2451)
    at java.awt.LightweightDispatcher.processMouseEvent(Container.java:2216)
    at java.awt.LightweightDispatcher.dispatchEvent(Container.java:2125)
    at java.awt.Container.dispatchEventImpl(Container.java:1200)
    at java.awt.Window.dispatchEventImpl(Window.java:926)
    at java.awt.Component.dispatchEvent(Component.java:2497)
    at java.awt.EventQueue.dispatchEvent(EventQueue.java:339)
    at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:131)
    at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:98)
    at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93)
    at java.awt.EventDispatchThread.run(EventDispatchThread.java:85)

    This tutorial page for JNI API describes how and where Java looks for the dynamic libraries:
    http://java.sun.com/docs/books/tutorial/native1.1/stepbystep/_library.html
    And this is the home page of Java Native Interface (JNI) API:
    http://java.sun.com/j2se/1.4/docs/guide/jni/index.html
    I have tried putting my executable jar in the same folder as
    this dll and including the dll in my path but both to no avail.Again: you mix binary code and JVM byte code. They are loaded
    differently and located differently. classpath means nothing for the binary code.
    "The Win32 VM uses a search path that includes the current directory for the process or one of the directories listed in the PATH environment variable"
    The DLL may be either in the folder where the application (the JRE/JDK) runs, that is where java.exe is, or some other directory on the system PATH (according to the PATH system variable).

  • Exception in thread "main" java.lang.UnsatisfiedLinkError: - fresh Install

    Pls can someone help me out. I have a similar problem to the one raised in this thread.
    I want to install 10g Release 2 on a RHEL AS4 Production IBM server. I've followed the installation guide to the letter!
    I keep getting this error:
    [oracle@pencomlx2 database]$ ./runInstaller
    Starting Oracle Universal Installer...
    Checking installer requirements...
    Checking operating system version: must be redhat-3, SuSE-9, redhat-4, UnitedLinux-1.0, asianux-1 or asianux-2
    Passed
    All installer requirements met.
    Preparing to launch Oracle Universal Installer from /tmp/OraInstall2007-07-08_04-07-07PM. Please wait ...[oracle@pencomlx2 database]$ Exception in thread "main" java.lang.UnsatisfiedLinkError: /tmp/OraInstall2007-07-08_04-07-07PM/jre/1.4.2/lib/i386/libawt.so: libXp.so.6: cannot open shared object file: No such file or directory
    at java.lang.ClassLoader$NativeLibrary.load(Native Method)
    at java.lang.ClassLoader.loadLibrary0(Unknown Source)
    at java.lang.ClassLoader.loadLibrary(Unknown Source)
    at java.lang.Runtime.loadLibrary0(Unknown Source)
    at java.lang.System.loadLibrary(Unknown Source)
    at sun.security.action.LoadLibraryAction.run(Unknown Source)
    at java.security.AccessController.doPrivileged(Native Method)
    at sun.awt.NativeLibLoader.loadLibraries(Unknown Source)
    at sun.awt.DebugHelper.<clinit>(Unknown Source)
    at java.awt.Component.<clinit>(Unknown Source)
    Pls can someone help out b4 i loose my mind!
    Kwex.

    This thread has a similar issue as the one addressed here: Re: Installation on Unbreakable Linux.
    ~ Madrid.

  • Exception in thread "main" java.lang.UnsatisfiedLinkError: no ocijdbc 10

    I have a script file called xmldr
    XML_LIB=~/sm/xmlDR/xmldr/lib
    export XML_LIB
    CLASSPATH=$CLASSPATH:$XML_LIB/ojdbc14.jar:$XML_LIB/xmldr.jar:$XML_LIB/xml.jar:$XML_LIB/xmlparserv2.jar:$XML_LIB/xsu12.jar;
    export CLASSPATH
    java xmlDR $0 $1 $2 $3 $4 $5 $6 $7 $8 $9
    But i still get the following error when i try to execute my script
    This program takes in 7-10 args
    $xmldr 100 268 OCI mt2 mes mes /opt/oracle/sm/
    connection URL: jdbc:oracle:oci8:@mt2
    Exception in thread "main" java.lang.UnsatisfiedLinkError: no ocijdbc10 in java.library.path
    at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1491)
    at java.lang.Runtime.loadLibrary0(Runtime.java:788)
    at java.lang.System.loadLibrary(System.java:834)
    at oracle.jdbc.driver.T2CConnection$1.run(T2CConnection.java:3135)
    at java.security.AccessController.doPrivileged(Native Method)
    at oracle.jdbc.driver.T2CConnection.loadNativeLibrary(T2CConnection.java:3131)
    at oracle.jdbc.driver.T2CConnection.logon(T2CConnection.java:221)
    at oracle.jdbc.driver.PhysicalConnection.<init>(PhysicalConnection.java:414)
    at oracle.jdbc.driver.T2CConnection.<init>(T2CConnection.java:132)
    at oracle.jdbc.driver.T2CDriverExtension.getConnection(T2CDriverExtension.java:78)
    at oracle.jdbc.driver.OracleDriver.connect(OracleDriver.java:801)
    at java.sql.DriverManager.getConnection(DriverManager.java:512)
    at java.sql.DriverManager.getConnection(DriverManager.java:171)
    at xmlDR.main(xmlDR.java:117)
    and the 117th line is
    conn = DriverManager.getConnection(thinConn, username, password);
    Is this because i havent set my classpath right in my shell script?

    Hi guys,
    I am facing a problem when I am using oci driver. The reason why I am using oci driver is to enable failover. so at any cost I need to use oci driver only instead thin.
    The errors follows
    java.lang.UnsatisfiedLinkError: t2cParseExecuteDescribe
    at oracle.jdbc.driver.T2CStatement.t2cParseExecuteDescribe(Native Method)
    at oracle.jdbc.driver.T2CStatement.executeForDescribe(T2CStatement.java:725)
    at oracle.jdbc.driver.OracleStatement.executeMaybeDescribe(OracleStatement.java:1049)
    at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:1154)
    at oracle.jdbc.driver.OracleStatement.executeInternal(OracleStatement.java:1726)
    at oracle.jdbc.driver.OracleStatement.execute(OracleStatement.java:1696)
    at com.lhs.ccb.sfw.application.JdbcLogin.getDBTimezone(Unknown Source)
    at com.lhs.ccb.sfw.application.JdbcLogin.checkConnection(Unknown Source)
    at com.lhs.ccb.sfw.application.JdbcLogin.newDataSource(Unknown Source)
    at com.lhs.ccb.sfw.application.JdbcLogin.getDataSource(Unknown Source)
    at com.lhs.ccb.sfw.application.TOPLinkLogin.newDatabaseLogin(Unknown Source)
    at com.lhs.ccb.sfw.application.TOPLinkLogin.getDatabaseLogin(Unknown Source)
    at com.lhs.ccb.sfw.application.TOPLinkLogin.newServerSession(Unknown Source)
    at com.lhs.ccb.sfw.application.TOPLinkLogin.getServerSession(Unknown Source)
    at com.lhs.ccb.sfw.application.TOPLinkLogin.registerDescriptorsByTopLink(Unknown Source)
    at com.lhs.ccb.sfw.application.ExtendedServer.initializePersistence(Unknown Source)
    at com.lhs.ccb.sfw.application.BasicServer.initialize(Unknown Source)
    at com.lhs.ccb.sfw.application.ExtendedServer.main(Unknown Source)
    Can anybody provide solution.
    Appreciate your great support

  • Data Quality vendor-specific error: An error occurred when calling function 'sdq_init_connector ()' in connector ": "(-8) Exception!." Detailed error message: Exception thrown by Java: java.lang.UnsatisfiedLinkError: nio (Not found in com.ibm.oti.vm.boots

    When attempting to create a new Account in siebel integrated with OEDQ the following error occurs.
    ERROR
    Data Quality vendor-specific error: An error occurred when calling function 'sdq_init_connector ()' in connector ": "(-8) Exception!." Detailed error message: Exception thrown by Java: java.lang.UnsatisfiedLinkError: nio (Not found in com.ibm.oti.vm.bootstrap.library.path)(SBL-APS-00118)
    STEPS
    The issue can be reproduced at will with the following steps:
    1) from EDQ director we have imported the EDQ_CDS,EDQ-REFERENCE DATA & EDQ_HISTORICAl DATA packages sucessfully.
    2) Created dnd.param file in SIebel server SDQCOnnector folder.
    3) Copied the libdnd.so file to siebsrvr lib directory(32 bit)
    3) In dnd.param file we have mentioned the javalib file and instllation directory path(<Siebsrvr roo>/dnd/install)
    4) Unzipped the EDQ-Siebel Connector files in dnd/install folder
    5) Copied the dnd.properties file in dnd/install directory and modified it accordingly to point to installed EDQ instance.
    6) Configured the Siebel components for EDQ integration.
    7) Realtime EDQ jobs are running.
    8) Create a new Account
    Env details are
    On : 8.2.2.14 [IP2014] version, Client Functionality
    EDQ 11.1.1.7.4
    IBM JDK 1.7 32 bit
    Using Open UI
    Any Champ have faced this issue and overcame it please let me know the resolution steps. your help is
    Regards
    Monoj Dey
    9007554589

    Hi Monoj,
    A few questions:
    - What OS is Siebel running on?
    - What version of the Siebel connector are you using?
    - Which libdnd.so file are you using?
    - What's the contents of your dnd.parms file?
    thanks,
    Nick

  • Exception in thread "main" java.lang.UnsatisfiedLinkError: /opt/oracle/libo

    Hi,
    I"m using Mac OS X (32 bit) and trying to connect to an Oracle 10g server via JDBC. I just installed the Mac OS X 10.2 Instant Client Package - Basic Lite from here -- http://www.oracle.com/technology/software/tech/oci/instantclient/htdocs/intel_macsoft.html. Sadly, when I try and run my console app to connect, I get this error ...
    Exception in thread "main" java.lang.UnsatisfiedLinkError: /opt/oracle/libocijdbc10.jnilib:
         at java.lang.ClassLoader$NativeLibrary.load(Native Method)
         at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1822)
         at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1739)
         at java.lang.Runtime.loadLibrary0(Runtime.java:822)
         at java.lang.System.loadLibrary(System.java:993)
         at oracle.jdbc.driver.T2CConnection$1.run(T2CConnection.java:3135)
         at java.security.AccessController.doPrivileged(Native Method)
         at oracle.jdbc.driver.T2CConnection.loadNativeLibrary(T2CConnection.java:3131)
         at oracle.jdbc.driver.T2CConnection.logon(T2CConnection.java:221)
         at oracle.jdbc.driver.PhysicalConnection.<init>(PhysicalConnection.java:414)
         at oracle.jdbc.driver.T2CConnection.<init>(T2CConnection.java:132)
         at oracle.jdbc.driver.T2CDriverExtension.getConnection(T2CDriverExtension.java:78)
         at oracle.jdbc.driver.OracleDriver.connect(OracleDriver.java:801)
         at java.sql.DriverManager.getConnection(DriverManager.java:525)
         at java.sql.DriverManager.getConnection(DriverManager.java:140)
         at org.hibernate.connection.DriverManagerConnectionProvider.getConnection(DriverManagerConnectionProvider.java:133)
         at org.hibernate.cfg.SettingsFactory.buildSettings(SettingsFactory.java:111)
         at org.hibernate.cfg.Configuration.buildSettings(Configuration.java:2097)
         at myco.dor.dmv.driver.youthful.database.YouthfulDriverDatabase.<init>(YouthfulDriverDatabase.java:77)
         at myco.dor.dmv.driver.youthful.database.YouthfulDriverDatabase.getInstance(YouthfulDriverDatabase.java:83)
         at myco.dor.dmv.driver.youthful.AddressFileProcessor.execute(AddressFileProcessor.java:86)
         at myco.dor.dmv.driver.youthful.AddressFileProcessor.main(AddressFileProcessor.java:81)
    Any ideas? My CLASSPATH is set to include /opt/oracle/classes12.jar. My ORACLE_HOME is set to /opt/oracle and LD_LIBRARY_PATH is set to ORACLE_HOME (since that's where all the jars are). How can I troubleshoot this further?
    Thanks, - Dave

    You can verify the settings of the path to your libraries with
    System.out.println(System.getProperty("java.library.path"));before you call System.loadLibrary(), so you know if it is correct.
    I also found this information (for Solaris):
    The shared library file name requires a "lib" prefix and a ".so" extension. Do not include the "lib" prefix or the ".so" extension for the argument that you pass to the System.loadLibrary method.
    I don't know if that helps you solving your problem.

  • Exception in thread "main" java.lang.UnsatisfiedLinkError

    Exception in thread "main" java.lang.UnsatisfiedLinkError: no LabIfxEC in java.library.path
    (LabIfxEC was compiled by ESQL/C of INFORMIX)
    My Java code as:
    public class LabEC
         public int labnum;
         public LabEC()
              labnum = 0;
         public synchronized native void invocation();
         static
                   System.loadLibrary("LabIfxEC");
         public static void main(String[] args)
              LabEC lec = new LabEC();
              lec.invocation();
              System.out.println("After Invoke : labnum = "+lec.labnum+"\n");
    My .h code as:
    /* DO NOT EDIT THIS FILE - it is machine generated */
    #include "/opt/hobo/java1.2/include/jni.h"
    /* Header for class LabEC */
    #ifndef IncludedLabEC
    #define IncludedLabEC
    #ifdef __cplusplus
    extern "C" {
    #endif
    * Class: LabEC
    * Method: invocation
    * Signature: ()V
    jfieldID jf;
    jclass jc;
    jobject jo;
    jint newnum;
    JNIEXPORT void JNICALL Java_LabEC_invocation
    (JNIEnv *env, jobject this);
    void TransDataToJava (JNIEnv *env, jobject this);
    int CreatConnection ();
    int CloseConnection ();
    #ifdef __cplusplus
    #endif
    #endif
    My ESQL/C code as:
    #include "LabEC.h"
    #include <stdio.h>
    JNIEXPORT void JNICALL Java_LabEC_invocation( JNIEnv *env,jobject this)
         jc = (*env)->GetObjectClass(env,this);
         jf = (*env)->GetFieldID(env,jc,"labnum","I");
         if( CreatConnection()||GetNumFromDB()||CloseConnection() )
              fprintf(stderr,"ERROR IN CONNECTING DB");
         }else{
              TransDataToJava(env,this);
    void TransDataToJava (JNIEnv *env,jobject this)
         (*env)->SetIntField(env,this,jf,newnum);
    int CreatConnection()
         EXEC SQL BEGIN DECLARE SECTION;
         char userid[] = "informix";
         char password[] = "informix";
         char dbname[] = "dbdycm_new";
         EXEC SQL END DECLARE SECTION;
         EXEC SQL CONNECT TO:dbname USER: userid using: password;
         if ( SQLCODE < 0 ) return -1;
         return 0;
    int GetNumFromDB()
         EXEC SQL BEGIN DECLARE SECTION;
         long numofrow;
         EXEC SQL END DECLARE SECTION;
         EXEC SQL SELECT count(*) into: numofrow from ttrlineinfo;
         if ( SQLCODE != 0 ) return -1;
         newnum = numofrow;
         return 0;
    int CloseConnection ()
         EXEC SQL DISCONNECT CURRENT;
         return 0;
    My makefile code as:
    INCLUDE_IX=-I /opt/informix/incl/esql
    INCLUDE=-I /opt/nmc/include -I /opt/hobo/java1.2/include -I /opt/hobo/java1.2/include/solaris
    FLAG=-G
    libLabIfxEC.so:LabEC.c LabEC.h
         cc $(FLAG) $(INCLUDE) $(INCLUDE_IX) -solibLabIfxEC.so LabEC.c
    LabEC.c:LabEC.ec LabEC.h
         esql -e LabEC.ec include=/opt/nmc/include:/opt/hobo/java1.2/include:/opt/hobo/java1.2/include/solaris
    The Exception as:
    Exception in thread "main" java.lang.UnsatisfiedLinkError: no LabIfxEC in java.library.path
    at java.lang.Throwable.fillInStackTrace(Native Method)
    at java.lang.Throwable.<init>(Throwable.java:94)
    at java.lang.Error.<init>(Error.java:50)
    at java.lang.LinkageError.<init>(LinkageError.java:43)
    at java.lang.UnsatisfiedLinkError.<init>(UnsatisfiedLinkError.java:42)
    at java.lang.ClassLoader.loadLibrary(Compiled Code)
    at java.lang.Runtime.loadLibrary0(Runtime.java:471)
    at java.lang.System.loadLibrary(System.java:745)
    at <Unloaded Method>
    I think my LD_LIBRARY_PATH setting is correct. I have been code a pure c library(without ESQL/C code),and it is runing well with Java.
    Please tell me why, thanks very much!
    Yours Alec

    You can verify the settings of the path to your libraries with
    System.out.println(System.getProperty("java.library.path"));before you call System.loadLibrary(), so you know if it is correct.
    I also found this information (for Solaris):
    The shared library file name requires a "lib" prefix and a ".so" extension. Do not include the "lib" prefix or the ".so" extension for the argument that you pass to the System.loadLibrary method.
    I don't know if that helps you solving your problem.

  • Compleated guided procedure task throws Java.lang.null pointer exception.

    Hello,
    Compleated guided procedure task throws Java.lang.null pointer exception in UWL.
    From UWL  tracking of finished task of guided procedures throws null pointer exception .
    Guided procedure is created in local J2EE Engine not in Back end SAP System.
    Any ideas.
    Regards
    Mark

    Hi
    If u solved the problem mentioned above please tell me g\how u managed to do it.We are facing the same issue.Completed gp shows the same exception while opening from tracking tab

  • Exception occurred during event dispatching: java.lang.UnsatisfiedLinkError

    Hi,
    Greetings. I am watching the following error in linux. I greatly appreciate your help.
    Thanks
    Rajkumar
    Exception occurred during event dispatching:
    java.lang.UnsatisfiedLinkError: no test in java.library.path
    at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1517)
    at java.lang.Runtime.loadLibrary0(Runtime.java:788)
    at java.lang.System.loadLibrary(System.java:834)
    at test.<clinit>(test.java:3)
    at Test.action(Main27.java:926)
    at java.awt.Component.handleEvent(Component.java:5341)
    at Test.handleEvent(Main27.java:1023)
    at java.awt.Window.postEvent(Window.java:1614)
    at java.awt.Component.postEvent(Component.java:3895)
    at java.awt.Component.dispatchEventImpl(Component.java:3631)
    at java.awt.Component.dispatchEvent(Component.java:3477)
    at java.awt.EventQueue.dispatchEvent(EventQueue.java:480)
    at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:201)
    at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:151)
    at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:141)
    at java.awt.Dialog$1.run(Dialog.java:542)
    at java.awt.Dialog$3.run(Dialog.java:569)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.awt.Dialog.show(Dialog.java:567)
    at Main27.first(Main27.java:67)
    at Main27.action(Main27.java:163)
    at java.awt.Component.handleEvent(Component.java:5341)
    at java.awt.Component.postEvent(Component.java:3885)
    at java.awt.Component.postEvent(Component.java:3895)
    at java.awt.Component.postEvent(Component.java:3895)
    at java.awt.Component.dispatchEventImpl(Component.java:3631)
    at java.awt.Component.dispatchEvent(Component.java:3477)
    at java.awt.EventQueue.dispatchEvent(EventQueue.java:480)
    at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:201)
    at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:151)
    at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:145)
    at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:137)
    at java.awt.EventDispatchThread.run(EventDispatchThread.java:100)

    In your test.java (Which must be yours, since all serious classes have capitalised names) you are trying to load a JNI library with
    static {
       System.loadLibrary("test");
      }Somewhere you should have a library file, I think called libtest.so, but the JVM can't find it.
    Find out where it is and put -Djava.library.path=<the directory>
    on the java command.

  • JNI exception, java.lang.UnsatisfiedLinkError

    Hi,
    I�m trying to call a native method with JNI and the following exception occurs when I try to call the native method setFileName:
    Exception occurred during event dispatching:
    java.lang.UnsatisfiedLinkError: setFileName
    The dll where this method is defined is in the directory c:/winnt/system32, the Windows default path.
    Why this exception occurs?
    Thanks in advance
    carlos

    The basic reasons why this would occur are
    1. There is something wrong with the path to the dll.
    2. You didn't do a "loadLibrary()" on the dll before you called the native method.
    3. There is some disconnect between the expected signature of the native method, and the way it is defined in the dll.
    If this doesn't help, thenI suggest you post a bit of code (loadLibrary, native method signature, C function signature).

  • Java Exception: java.lang.UnsatisfiedLinkError

    Database: oracle11g
    Peoplesoft: peopletools8.52
    I created jdbc connection java program and build it as a jar.
    Placed that jar in an PS_HOME/class, while invoking that jar from peoplecode i am getting the error like:
    Java Exception: java.lang.UnsatisfiedLinkError: no ocijdbc10 in java.library.path: during call of packagename.classname

    I'm not sure this is the best forum, perhaps if there is one for jdbc oracle clients it would be better posted there.
    Try searching your Java Exception: java.lang.UnsatisfiedLinkError: no ocijdbc10 in java.library.path: error on google.
    Lots of hits come back.
    My guess is just because App Server processes running via Tuxedo have access to the Oracle libraries they need, does not mean your code in the JVM created by the App Server processes do.
    I would double check your LD_LIBRARY_PATH and ensure any required jar files like maybe $ORACLE_HOME/jdbc/lib/ojdbc6.jar are in ClassPath setting in the appserver config or copied to the class directory. Have you tested your program independently outside of PeopleSoft and made it work there first? That should indicated what requirements you've created by embedding jdbc into PeopleSoft. I've never tried what your doing though, so I'm just making an educated guess, and I don't know all that might be required.

Maybe you are looking for

  • Oracle BPM requirement

    Hi all, I have a requirement in Oracle BPM 12c that I want to know how I can achieve that. Suppose I have a hierarchy of three users i) Initiator ------------------>>> ii) Manager ---------------------->>> iii) Director Initiator submit a request and

  • Imac display - dark cloud flickers in corner

    Hello. I bought a 24" intel based iMac March 2008. Today after about an hour of being on, the bottom right corner started going dark and cloudy - kind of looked like a bulb going out behind the screen. It strectched to being the whole bottom right qu

  • Stock Ageing

    Hi, Can anybody pls advise how to check stock ageing in SAP. Your input is highly appreciable. Regds

  • Field-Groups

    Hi All,          When i am using the Field-Groups.When i did the SLIN ( Extended Program Check) It is saying Field-Groups is not Supported in OO context. Is there any way to achieve this functionality wat field-groups is doing.This is very urgent. IF

  • Find intersections in date ranges and concatenate aggregated labels

    Hello All, The original source of data will be a table of persons with their member ship: Description StartDate EndDate 18 Smith John Poker Club 01/01/2009 NULL 18 Smith John Library 05/01/2009 18/01/2009 18 Smith John Gym 10/01/2009 28/01/2009 26 Ad