Java.lang.VerifyError    (Eclipse vs Command Line)

Dear all,
I'm a very new user of the java programming language. I'm experimenting with using Eclipse and Java commands built in to our University network. I've come up against a problem that I cannot resolve...
In Eclipse (on Windows), i've written a class which takes routines from some External JARs and produces some outputs. It works, great!
Now I want to run it from the command line (SuSe Linux)...
I've defined my CLASSPATH to include (explicitly) each of the .jar files that are required. Then, i compile my .java file:
javac SobolGenerator.java
BUT i get the following error:
Exception in thread "main" java.lang.VerifyError: (class: Statistics/Random, method: <clinit> signature: ()V) Incompatible argument to function
at QuasiRandom.Sobol.<init>(Sobol.java:436)
at SobolGenerator.generateNew(SobolGenerator.java:43)
at SobolGenerator.main(SobolGenerator.java:151)
I don't think it's anything I've written myself (but probably is), since it refers to an error in the Statistics/Random method...
QuasiRandom.Sobol issues the following command:
double u=Random.U1();
======================================
package Statistics;
import cern.jet.random.*;
import cern.jet.random.engine.MersenneTwister;
public class Random{
static double Y=0; //second normal deviate from Box-Muller
static boolean New=true; //flag indicating wether a new normal deviate
// has to be computed (otherwise Y is reported)
/** <p>First MersenneTwister uniform random number generator.</p>
public static final Uniform
uniform_1=new Uniform(new MersenneTwister(113));
/** <p>Second MersenneTwister uniform random number generator.</p>
public static final Uniform
uniform_2=new Uniform(new MersenneTwister(2113));
/** <p>First uniform u\in(0,1).</p>
public static double U1(){ return uniform_1.nextDouble(); }
/** <p>Second uniform u\in(0,1).</p>
public static double U2(){ return uniform_2.nextDouble(); }
/** Fair draw from {1,-1}.
public static int Sign()
double x=U1(); return (x>0.5)? 1:-1;
/** <p>Loaded draw X from {-1,1}.
* X=1 with probability p,
* X=-1 with probability 1-p.</p>
* @param p Probability that X=+1.
public static int Sign(double p)
double x=U1(); return (x<p)? 1:-1;
/**<p>Standard normal deviate using the inverse normal CDF on uniform
* deviates generated by the Mersenne Twister.</p>
public static double STN()
return FinMath.N_Inverse(uniform_1.nextDouble());
} //end STN()
} // end Random
==========================================
As i say, Eclipse does the whole thing fine but the command line approach doesn't work.
So if anyone can help I will be extremely grateful.
Best regards,
Neil

Welcome to the club !
Eclipse performs a lazy evaluation of items in its workspce and in commandline mode, you cannot guarantee that your class has been loaded by the time you attempt to use it. This is a real pain. No one will answer your questions because in reality, this software has no support. Commandline execution has long be requsted and many articles have been written. Very few work. If you learn something, maybe you can tell the rest of us dummies....
[email protected]

Similar Messages

  • Exception in thread "main" java.lang.VerifyError: verification failed!!

    DB:11.1.0.7
    Oracle Apps:12.1.1
    OS:RHEL Linux 4 86x64
    Hi All,
    On executing the following command on node 2 of TEST instance, we received the following error but did not find any such error messages in node 1
    Notes: (1) Node 1 has java version:
    java -version
    java version "1.6.0_10"
    Java(TM) SE Runtime Environment (build 1.6.0_10-b33)
    Java HotSpot(TM) Server VM (build 11.0-b15, mixed mode)
    (2) Node 2 has java version:
    java -version
    java version "1.4.2"
    gcj (GCC) 3.4.6 20060404 (Red Hat 3.4.6-9)
    Copyright (C) 2006 Free Software Foundation, Inc.
    This is free software; see the source for copying conditions. There is NO
    warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
    Error message in node2:
    On executing the following command on node 2 of TEST instance, we received the following error:
    java oracle.jrad.tools.xml.importer.XMLImporter /tmp/custdocs/oracle/apps/pos/home/webui/customizations/site/0/PosHpgOrders.xml ....
    /usr/bin/java: line 36: [: `)' expected, found -
    Exception in thread "main" java.lang.VerifyError: verification failed at PC 152 in oracle.jdbc.driver.OracleDriver:registerMBeans(()V): String, int, or float constant expected
    at JvBytecodeVerifier.verify_fail(byte, int) (/usr/lib64/libgcj.so.5.0.0)
    at JvBytecodeVerifier.verify_instructions_0() (/usr/lib64/libgcj.so.5.0.0)
    at JvVerifyMethod(_Jv_InterpMethod) (/usr/lib64/libgcj.so.5.0.0)
    at JvPrepareClass(java.lang.Class) (/usr/lib64/libgcj.so.5.0.0)
    at JvWaitForState(java.lang.Class, int) (/usr/lib64/libgcj.so.5.0.0)
    at java.lang.VMClassLoader.linkClass0(java.lang.Class) (/usr/lib64/libgcj.so.5.0.0)
    at java.lang.VMClassLoader.resolveClass(java.lang.Class) (/usr/lib64/libgcj.so.5.0.0)
    at java.lang.Class.initializeClass() (/usr/lib64/libgcj.so.5.0.0)
    at java.lang.Class.forName(java.lang.String, boolean, java.lang.ClassLoader) (/usr/lib64/libgcj.so.5.0.0)
    at oracle.adf.mds.tools.util.ConnectUtils.getDBConnection(java.lang.String) (Unknown Source)
    at oracle.jrad.tools.xml.importer.XMLImporter.importDocuments(java.lang.String[], java.sql.Connection) (Unknown Source)
    at oracle.jrad.tools.xml.importer.XMLImporter.main(java.lang.String[]) (Unknown Source)
    Could anyone please share such an issue faced before and provide resolution as to what's wrong in here in node 2?
    Thanks for your time!
    Regards,

    Hi,
    (2) Node 2 has java version:
    java -version
    java version "1.4.2"Do you run this command as applmgr user? If yes, did you source the application env file?
    Could anyone please share such an issue faced before and provide resolution as to what's wrong in here in node 2?Why the java version is different on the both nodes?
    Thanks,
    Hussein

  • Upgrade to 10.1.2.3 now getting java.lang.VerifyError using rwrun.sh

    We recently upgraded our Application Server/Forms and Reports to Oracle 10.1.2.3. We have one application that uses a python script and calls rwrun (or rwrun.sh) from Generic Apache (not Oracle's Apache).
    We are now seeing the following error from the rwrun.sh command:
    ERR REP-0069: Internal error
    java.lang.VerifyError: class org.omg.PortableServer.AdapterActivatorPOA overrides final method .
    This use to work with Oracle 9.0.4 I opened a Service Request with Oracle since I was also having problems running this from the command line. At that point I had to open up the $OH/diagnostics/config/registration directory to world write access.
    Now that I got past that, the command line rwrun works, but the call from the python script using the generic apache doesn't.
    Oracle wouldn't help since this is custom code.
    Any suggestion.
    Thanks,
    Shirley

    We recently upgraded our Application Server/Forms and Reports to Oracle 10.1.2.3. We have one application that uses a python script and calls rwrun (or rwrun.sh) from Generic Apache (not Oracle's Apache).
    We are now seeing the following error from the rwrun.sh command:
    ERR REP-0069: Internal error
    java.lang.VerifyError: class org.omg.PortableServer.AdapterActivatorPOA overrides final method .
    This use to work with Oracle 9.0.4 I opened a Service Request with Oracle since I was also having problems running this from the command line. At that point I had to open up the $OH/diagnostics/config/registration directory to world write access.
    Now that I got past that, the command line rwrun works, but the call from the python script using the generic apache doesn't.
    Oracle wouldn't help since this is custom code.
    Any suggestion.
    Thanks,
    Shirley

  • Help me: java.lang.VerifyError

    Hello,
    I have installed j2sdk1.4.1_01 on Red Hat 8.0 and Xerces 2 of jakarta project. I was using erw.jar (a java application usefull to check ER schemata that you can download at http://erw.dsi.unimi.it) but when I launch at command line
    java it.unimi.dsi.erw.ERtool < library.xml
    I obtain the exception:
    Exception in thread "main" java.lang.VerifyError: verification failed at PC 489
    in org.apache.xerces.dom.DeferredDocumentImpl:getNodeObject((I)Lorg.apache.xerce
    s.dom.DeferredNode;): incompatible return type
    at 0x4028115f: ZN4java4lang9ThrowableC1EPNS06StringE (/usr/lib/libgcj.so.3)
    at 0x4027408e: ZN4java4lang5ErrorC1EPNS06StringE (/usr/lib/libgcj.so.3)
    at 0x40275b1a: ZN4java4lang12LinkageErrorC1EPNS06StringE (/usr/lib/libgcj.s
    o.3)
    at 0x402814fe: ZN4java4lang11VerifyErrorC1EPNS06StringE (/usr/lib/libgcj.so
    .3)
    at 0x40257ac9: ZN20Jv_BytecodeVerifier11verify_failEPci (/usr/lib/libgcj.so
    .3)
    at 0x4024ac4d: ZN20Jv_BytecodeVerifier21verify_instructions_0Ev (/usr/lib/l
    ibgcj.so.3)
    at 0x40249697: Z16Jv_VerifyMethodP16_Jv_InterpMethod (/usr/lib/libgcj.so.3)
    at 0x40241a24: Z16Jv_PrepareClassPN4java4lang5ClassE (/usr/lib/libgcj.so.3)
    at 0x40260568: ZN4java4lang11ClassLoader10linkClass0EPNS05ClassE (/usr/lib/
    libgcj.so.3)
    at 0x40273073: ZN4java4lang11ClassLoader13resolveClass0EPNS05ClassE (/usr/l
    ib/libgcj.so.3)
    at 0x4025e99c: _ZN4java4lang5Class15initializeClassEv (/usr/lib/libgcj.so.3)
    at 0x4024874b: ZN16Jv_InterpMethod9continue1EP26_Jv_InterpMethodInvocation
    (/usr/lib/libgcj.so.3)
    at 0x40248e34: ZN16Jv_InterpMethod3runEP7ffi_cifPvP7ffi_rawP26_Jv_InterpMet
    hodInvocation (/usr/lib/libgcj.so.3)
    at 0x40246424: ZN16Jv_InterpMethod10run_normalEP7ffi_cifPvP7ffi_rawS2_ (/us
    r/lib/libgcj.so.3)
    at 0x4039d1bc: ?? (??:0)
    at 0x4039d347: ffi_call_SYSV (/usr/lib/libgcj.so.3)
    at 0x4039d307: ffi_raw_call (/usr/lib/libgcj.so.3)
    at 0x40248528: ZN16Jv_InterpMethod9continue1EP26_Jv_InterpMethodInvocation
    (/usr/lib/libgcj.so.3)
    at 0x40248e34: ZN16Jv_InterpMethod3runEP7ffi_cifPvP7ffi_rawP26_Jv_InterpMet
    hodInvocation (/usr/lib/libgcj.so.3)
    at 0x40246424: ZN16Jv_InterpMethod10run_normalEP7ffi_cifPvP7ffi_rawS2_ (/us
    r/lib/libgcj.so.3)
    at 0x4039d1bc: ?? (??:0)
    at 0x4039d347: ffi_call_SYSV (/usr/lib/libgcj.so.3)
    at 0x4039d307: ffi_raw_call (/usr/lib/libgcj.so.3)
    at 0x40248528: ZN16Jv_InterpMethod9continue1EP26_Jv_InterpMethodInvocation
    (/usr/lib/libgcj.so.3)
    at 0x40248e34: ZN16Jv_InterpMethod3runEP7ffi_cifPvP7ffi_rawP26_Jv_InterpMet
    hodInvocation (/usr/lib/libgcj.so.3)
    at 0x40246424: ZN16Jv_InterpMethod10run_normalEP7ffi_cifPvP7ffi_rawS2_ (/us
    r/lib/libgcj.so.3)
    at 0x4039d1bc: ?? (??:0)
    at 0x4039d347: ffi_call_SYSV (/usr/lib/libgcj.so.3)
    at 0x4039d307: ffi_raw_call (/usr/lib/libgcj.so.3)
    at 0x40248528: ZN16Jv_InterpMethod9continue1EP26_Jv_InterpMethodInvocation
    (/usr/lib/libgcj.so.3)
    at 0x40248e34: ZN16Jv_InterpMethod3runEP7ffi_cifPvP7ffi_rawP26_Jv_InterpMet
    hodInvocation (/usr/lib/libgcj.so.3)
    at 0x40246424: ZN16Jv_InterpMethod10run_normalEP7ffi_cifPvP7ffi_rawS2_ (/us
    r/lib/libgcj.so.3)
    at 0x4039d1bc: ?? (??:0)
    at 0x4039d347: ffi_call_SYSV (/usr/lib/libgcj.so.3)
    at 0x4039d307: ffi_raw_call (/usr/lib/libgcj.so.3)
    at 0x40248528: ZN16Jv_InterpMethod9continue1EP26_Jv_InterpMethodInvocation
    (/usr/lib/libgcj.so.3)
    at 0x40248e34: ZN16Jv_InterpMethod3runEP7ffi_cifPvP7ffi_rawP26_Jv_InterpMet
    hodInvocation (/usr/lib/libgcj.so.3)
    at 0x40246424: ZN16Jv_InterpMethod10run_normalEP7ffi_cifPvP7ffi_rawS2_ (/us
    r/lib/libgcj.so.3)
    at 0x4039d1bc: ?? (??:0)
    at 0x4039d347: ffi_call_SYSV (/usr/lib/libgcj.so.3)
    at 0x4039d307: ffi_raw_call (/usr/lib/libgcj.so.3)
    at 0x40248528: ZN16Jv_InterpMethod9continue1EP26_Jv_InterpMethodInvocation
    (/usr/lib/libgcj.so.3)
    at 0x40248e34: ZN16Jv_InterpMethod3runEP7ffi_cifPvP7ffi_rawP26_Jv_InterpMet
    hodInvocation (/usr/lib/libgcj.so.3)
    at 0x40246424: ZN16Jv_InterpMethod10run_normalEP7ffi_cifPvP7ffi_rawS2_ (/us
    r/lib/libgcj.so.3)
    at 0x4039d1bc: ?? (??:0)
    at 0x4039d347: ffi_call_SYSV (/usr/lib/libgcj.so.3)
    at 0x4039d307: ffi_raw_call (/usr/lib/libgcj.so.3)
    at 0x40248528: ZN16Jv_InterpMethod9continue1EP26_Jv_InterpMethodInvocation
    (/usr/lib/libgcj.so.3)
    at 0x40248e34: ZN16Jv_InterpMethod3runEP7ffi_cifPvP7ffi_rawP26_Jv_InterpMet
    hodInvocation (/usr/lib/libgcj.so.3)
    at 0x40246424: ZN16Jv_InterpMethod10run_normalEP7ffi_cifPvP7ffi_rawS2_ (/us
    r/lib/libgcj.so.3)
    at 0x4039d1bc: ?? (??:0)
    at 0x4039d347: ffi_call_SYSV (/usr/lib/libgcj.so.3)
    at 0x4039d307: ffi_raw_call (/usr/lib/libgcj.so.3)
    at 0x40248528: ZN16Jv_InterpMethod9continue1EP26_Jv_InterpMethodInvocation
    (/usr/lib/libgcj.so.3)
    at 0x40248e34: ZN16Jv_InterpMethod3runEP7ffi_cifPvP7ffi_rawP26_Jv_InterpMet
    hodInvocation (/usr/lib/libgcj.so.3)
    at 0x40246424: ZN16Jv_InterpMethod10run_normalEP7ffi_cifPvP7ffi_rawS2_ (/us
    r/lib/libgcj.so.3)
    at 0x4039d1bc: ?? (??:0)
    at 0x4039d347: ffi_call_SYSV (/usr/lib/libgcj.so.3)
    at 0x4039d307: ffi_raw_call (/usr/lib/libgcj.so.3)
    at 0x40248528: ZN16Jv_InterpMethod9continue1EP26_Jv_InterpMethodInvocation
    (/usr/lib/libgcj.so.3)
    at 0x40248e34: ZN16Jv_InterpMethod3runEP7ffi_cifPvP7ffi_rawP26_Jv_InterpMet
    hodInvocation (/usr/lib/libgcj.so.3)
    at 0x40246424: ZN16Jv_InterpMethod10run_normalEP7ffi_cifPvP7ffi_rawS2_ (/us
    r/lib/libgcj.so.3)
    at 0x4039d1bc: ?? (??:0)
    at 0x4039d347: ffi_call_SYSV (/usr/lib/libgcj.so.3)
    at 0x4039d307: ffi_raw_call (/usr/lib/libgcj.so.3)
    at 0x40248528: ZN16Jv_InterpMethod9continue1EP26_Jv_InterpMethodInvocation
    (/usr/lib/libgcj.so.3)
    at 0x40248e34: ZN16Jv_InterpMethod3runEP7ffi_cifPvP7ffi_rawP26_Jv_InterpMet
    hodInvocation (/usr/lib/libgcj.so.3)
    at 0x40246424: ZN16Jv_InterpMethod10run_normalEP7ffi_cifPvP7ffi_rawS2_ (/us
    r/lib/libgcj.so.3)
    at 0x4039d1bc: ?? (??:0)
    at 0x4039d347: ffi_call_SYSV (/usr/lib/libgcj.so.3)
    at 0x4039d307: ffi_raw_call (/usr/lib/libgcj.so.3)
    at 0x40248528: ZN16Jv_InterpMethod9continue1EP26_Jv_InterpMethodInvocation
    (/usr/lib/libgcj.so.3)
    at 0x40248e34: ZN16Jv_InterpMethod3runEP7ffi_cifPvP7ffi_rawP26_Jv_InterpMet
    hodInvocation (/usr/lib/libgcj.so.3)
    at 0x40246424: ZN16Jv_InterpMethod10run_normalEP7ffi_cifPvP7ffi_rawS2_ (/us
    r/lib/libgcj.so.3)
    at 0x4039d1bc: ?? (??:0)
    at 0x4039d347: ffi_call_SYSV (/usr/lib/libgcj.so.3)
    at 0x4039d307: ffi_raw_call (/usr/lib/libgcj.so.3)
    at 0x40248528: ZN16Jv_InterpMethod9continue1EP26_Jv_InterpMethodInvocation (/usr/lib/libgcj.so.3)
    at 0x40248e34: ZN16Jv_InterpMethod3runEP7ffi_cifPvP7ffi_rawP26_Jv_InterpMet hodInvocation (/usr/lib/libgcj.so.3)
    at 0x40246424: ZN16Jv_InterpMethod10run_normalEP7ffi_cifPvP7ffi_rawS2_ (/us r/lib/libgcj.so.3)
    at 0x4039d1bc: ?? (??:0)
    at 0x4025b308: ZN3gnu3gcj7runtime11FirstThread9callmainEv (/usr/lib/libgcj. so.3)
    xception in thread "main" java.lang.VerifyError: verification failed at PC 489
    in org.apache.xerces.dom.DeferredDocumentImpl:getNodeObject((I)Lorg.apache.xerce
    s.dom.DeferredNode;): incompatible return type
    at 0x4028115f: ZN4java4lang9ThrowableC1EPNS06StringE (/usr/lib/libgcj.so.3)
    at 0x4027408e: ZN4java4lang5ErrorC1EPNS06StringE (/usr/lib/libgcj.so.3)
    at 0x40275b1a: ZN4java4lang12LinkageErrorC1EPNS06StringE (/usr/lib/libgcj.s
    o.3)
    at 0x402814fe: ZN4java4lang11VerifyErrorC1EPNS06StringE (/usr/lib/libgcj.so
    .3)
    at 0x40257ac9: ZN20Jv_BytecodeVerifier11verify_failEPci (/usr/lib/libgcj.so
    .3)
    at 0x4024ac4d: ZN20Jv_BytecodeVerifier21verify_instructions_0Ev (/usr/lib/l
    ibgcj.so.3)
    at 0x40249697: Z16Jv_VerifyMethodP16_Jv_InterpMethod (/usr/lib/libgcj.so.3)
    at 0x40241a24: Z16Jv_PrepareClassPN4java4lang5ClassE (/usr/lib/libgcj.so.3)
    at 0x40260568: ZN4java4lang11ClassLoader10linkClass0EPNS05ClassE (/usr/lib/
    libgcj.so.3)
    at 0x40273073: ZN4java4lang11ClassLoader13resolveClass0EPNS05ClassE (/usr/l
    ib/libgcj.so.3)
    at 0x4025e99c: _ZN4java4lang5Class15initializeClassEv (/usr/lib/libgcj.so.3)
    at 0x4024874b: ZN16Jv_InterpMethod9continue1EP26_Jv_InterpMethodInvocation
    (/usr/lib/libgcj.so.3)
    at 0x40248e34: ZN16Jv_InterpMethod3runEP7ffi_cifPvP7ffi_rawP26_Jv_InterpMet
    hodInvocation (/usr/lib/libgcj.so.3)
    at 0x40246424: ZN16Jv_InterpMethod10run_normalEP7ffi_cifPvP7ffi_rawS2_ (/us
    r/lib/libgcj.so.3)
    at 0x4039d1bc: ?? (??:0)
    at 0x4039d347: ffi_call_SYSV (/usr/lib/libgcj.so.3)
    at 0x4039d307: ffi_raw_call (/usr/lib/libgcj.so.3)
    at 0x40248528: ZN16Jv_InterpMethod9continue1EP26_Jv_InterpMethodInvocation
    (/usr/lib/libgcj.so.3)
    at 0x40248e34: ZN16Jv_InterpMethod3runEP7ffi_cifPvP7ffi_rawP26_Jv_InterpMet
    hodInvocation (/usr/lib/libgcj.so.3)
    at 0x40246424: ZN16Jv_InterpMethod10run_normalEP7ffi_cifPvP7ffi_rawS2_ (/us
    r/lib/libgcj.so.3)
    at 0x4039d1bc: ?? (??:0)
    at 0x4039d347: ffi_call_SYSV (/usr/lib/libgcj.so.3)
    at 0x4039d307: ffi_raw_call (/usr/lib/libgcj.so.3)
    at 0x40248528: ZN16Jv_InterpMethod9continue1EP26_Jv_InterpMethodInvocation
    (/usr/lib/libgcj.so.3)
    at 0x40248e34: ZN16Jv_InterpMethod3runEP7ffi_cifPvP7ffi_rawP26_Jv_InterpMet
    hodInvocation (/usr/lib/libgcj.so.3)
    at 0x40246424: ZN16Jv_InterpMethod10run_normalEP7ffi_cifPvP7ffi_rawS2_ (/us
    r/lib/libgcj.so.3)
    at 0x4039d1bc: ?? (??:0)
    at 0x4039d347: ffi_call_SYSV (/usr/lib/libgcj.so.3)
    at 0x4039d307: ffi_raw_call (/usr/lib/libgcj.so.3)
    at 0x40248528: ZN16Jv_InterpMethod9continue1EP26_Jv_InterpMethodInvocation
    (/usr/lib/libgcj.so.3)
    at 0x40248e34: ZN16Jv_InterpMethod3runEP7ffi_cifPvP7ffi_rawP26_Jv_InterpMet
    hodInvocation (/usr/lib/libgcj.so.3)
    at 0x40246424: ZN16Jv_InterpMethod10run_normalEP7ffi_cifPvP7ffi_rawS2_ (/us
    r/lib/libgcj.so.3)
    at 0x4039d1bc: ?? (??:0)
    at 0x4039d347: ffi_call_SYSV (/usr/lib/libgcj.so.3)
    at 0x4039d307: ffi_raw_call (/usr/lib/libgcj.so.3)
    at 0x40248528: ZN16Jv_InterpMethod9continue1EP26_Jv_InterpMethodInvocation
    (/usr/lib/libgcj.so.3)
    at 0x40248e34: ZN16Jv_InterpMethod3runEP7ffi_cifPvP7ffi_rawP26_Jv_InterpMet
    hodInvocation (/usr/lib/libgcj.so.3)
    at 0x40246424: ZN16Jv_InterpMethod10run_normalEP7ffi_cifPvP7ffi_rawS2_ (/us
    r/lib/libgcj.so.3)
    at 0x4039d1bc: ?? (??:0)
    at 0x4039d347: ffi_call_SYSV (/usr/lib/libgcj.so.3)
    at 0x4039d307: ffi_raw_call (/usr/lib/libgcj.so.3)
    at 0x40248528: ZN16Jv_InterpMethod9continue1EP26_Jv_InterpMethodInvocation
    (/usr/lib/libgcj.so.3)
    at 0x40248e34: ZN16Jv_InterpMethod3runEP7ffi_cifPvP7ffi_rawP26_Jv_InterpMet
    hodInvocation (/usr/lib/libgcj.so.3)
    at 0x40246424: ZN16Jv_InterpMethod10run_normalEP7ffi_cifPvP7ffi_rawS2_ (/us
    r/lib/libgcj.so.3)
    at 0x4039d1bc: ?? (??:0)
    at 0x4039d347: ffi_call_SYSV (/usr/lib/libgcj.so.3)
    at 0x4039d307: ffi_raw_call (/usr/lib/libgcj.so.3)
    at 0x40248528: ZN16Jv_InterpMethod9continue1EP26_Jv_InterpMethodInvocation
    (/usr/lib/libgcj.so.3)
    at 0x40248e34: ZN16Jv_InterpMethod3runEP7ffi_cifPvP7ffi_rawP26_Jv_InterpMet
    hodInvocation (/usr/lib/libgcj.so.3)
    at 0x40246424: ZN16Jv_InterpMethod10run_normalEP7ffi_cifPvP7ffi_rawS2_ (/us
    r/lib/libgcj.so.3)
    at 0x4039d1bc: ?? (??:0)
    at 0x4039d347: ffi_call_SYSV (/usr/lib/libgcj.so.3)
    at 0x4039d307: ffi_raw_call (/usr/lib/libgcj.so.3)
    at 0x40248528: ZN16Jv_InterpMethod9continue1EP26_Jv_InterpMethodInvocation
    (/usr/lib/libgcj.so.3)
    at 0x40248e34: ZN16Jv_InterpMethod3runEP7ffi_cifPvP7ffi_rawP26_Jv_InterpMet
    hodInvocation (/usr/lib/libgcj.so.3)
    at 0x40246424: ZN16Jv_InterpMethod10run_normalEP7ffi_cifPvP7ffi_rawS2_ (/us
    r/lib/libgcj.so.3)
    at 0x4039d1bc: ?? (??:0)
    at 0x4039d347: ffi_call_SYSV (/usr/lib/libgcj.so.3)
    at 0x4039d307: ffi_raw_call (/usr/lib/libgcj.so.3)
    at 0x40248528: ZN16Jv_InterpMethod9continue1EP26_Jv_InterpMethodInvocation
    (/usr/lib/libgcj.so.3)
    at 0x40248e34: ZN16Jv_InterpMethod3runEP7ffi_cifPvP7ffi_rawP26_Jv_InterpMet
    hodInvocation (/usr/lib/libgcj.so.3)
    at 0x40246424: ZN16Jv_InterpMethod10run_normalEP7ffi_cifPvP7ffi_rawS2_ (/us
    r/lib/libgcj.so.3)
    at 0x4039d1bc: ?? (??:0)
    at 0x4039d347: ffi_call_SYSV (/usr/lib/libgcj.so.3)
    at 0x4039d307: ffi_raw_call (/usr/lib/libgcj.so.3)
    at 0x40248528: ZN16Jv_InterpMethod9continue1EP26_Jv_InterpMethodInvocation
    (/usr/lib/libgcj.so.3)
    at 0x40248e34: ZN16Jv_InterpMethod3runEP7ffi_cifPvP7ffi_rawP26_Jv_InterpMet
    hodInvocation (/usr/lib/libgcj.so.3)
    at 0x40246424: ZN16Jv_InterpMethod10run_normalEP7ffi_cifPvP7ffi_rawS2_ (/us
    r/lib/libgcj.so.3)
    at 0x4039d1bc: ?? (??:0)
    at 0x4039d347: ffi_call_SYSV (/usr/lib/libgcj.so.3)
    at 0x4039d307: ffi_raw_call (/usr/lib/libgcj.so.3)
    at 0x40248528: ZN16Jv_InterpMethod9continue1EP26_Jv_InterpMethodInvocation
    (/usr/lib/libgcj.so.3)
    at 0x40248e34: ZN16Jv_InterpMethod3runEP7ffi_cifPvP7ffi_rawP26_Jv_InterpMet
    hodInvocation (/usr/lib/libgcj.so.3)
    at 0x40246424: ZN16Jv_InterpMethod10run_normalEP7ffi_cifPvP7ffi_rawS2_ (/us
    r/lib/libgcj.so.3)
    at 0x4039d1bc: ?? (??:0)
    at 0x4039d347: ffi_call_SYSV (/usr/lib/libgcj.so.3)
    at 0x4039d307: ffi_raw_call (/usr/lib/libgcj.so.3)
    at 0x40248528: ZN16Jv_InterpMethod9continue1EP26_Jv_InterpMethodInvocation (/usr/lib/libgcj.so.3)
    at 0x40248e34: ZN16Jv_InterpMethod3runEP7ffi_cifPvP7ffi_rawP26_Jv_InterpMet hodInvocation (/usr/lib/libgcj.so.3)
    at 0x40246424: ZN16Jv_InterpMethod10run_normalEP7ffi_cifPvP7ffi_rawS2_ (/us r/lib/libgcj.so.3)
    at 0x4039d1bc: ?? (??:0)
    at 0x4025b308: ZN3gnu3gcj7runtime11FirstThread9callmainEv (/usr/lib/libgcj. so.3)
    at 0x402c60b1: _ZN3gnu3gcj7runtime11FirstThread3runEv (/usr/lib/libgcj.so.3)
    at 0x40267fdc: Z13Jv_ThreadRunPN4java4lang6ThreadE (/usr/lib/libgcj.so.3)
    at 0x4023478c: Z11Jv_RunMainPN4java4lang5ClassEPKciPS4_b (/usr/lib/libgcj.s o.3)
    at 0x08048900: __gcj_personality_v0 (it.unimi.dsi.erw.dtddir=/home/adri/dbERW /ERtool_testing/erl)
    at 0x420158d4: __libc_start_main (it.unimi.dsi.erw.dtddir=/home/adri/dbERW/ER tool_testing/erl)
    at 0x080486c1: JvRegisterClasses (it.unimi.dsi.erw.dtddir=/home/adri/dbERW/ ERtool_testing/erl)
    at 0x402c60b1: _ZN3gnu3gcj7runtime11FirstThread3runEv (/usr/lib/libgcj.so.3)
    at 0x40267fdc: Z13Jv_ThreadRunPN4java4lang6ThreadE (/usr/lib/libgcj.so.3)
    at 0x4023478c: Z11Jv_RunMainPN4java4lang5ClassEPKciPS4_b (/usr/lib/libgcj.s o.3)
    at 0x08048900: __gcj_personality_v0 (it.unimi.dsi.erw.dtddir=/home/adri/dbERW /ERtool_testing/erl)
    at 0x420158d4: __libc_start_main (it.unimi.dsi.erw.dtddir=/home/adri/dbERW/ER tool_testing/erl)
    at 0x080486c1: JvRegisterClasses (it.unimi.dsi.erw.dtddir=/home/adri/dbERW/ ERtool_testing/erl)
    I'm sure that the classpath is correctly configured to link the XML parser and that the erw application in correctly installed, but I'm not an expert system administrator. I've intalled J2SDK with the bin distribution
    but I suppose that the JVM don't work correctly.
    How can I solve it?
    Thanks in advance.

    Hi,
    This is the quoted from java-docs
    Subclasses of LinkageError indicate that a class has some dependency on another class; however, the latter class has incompatibly changed after the compilation of the former class
    So your jar contains some class files which has been compiled with the older jdk ,hence you try to configure with older version of jdk,probaily jdk1.3.
    The other way I suggest is to get the entire source of the java files and compile with the latest vesrion of jdk i.e 1.4
    Regards
    Vicky

  • Java.lang.VerifyError - Incompatible object argument for function call

    Hi all,
    I'm developing a JSP application (powered by Tomcat 4.0.1 in JDK 1.3, in Eclipse 3.3). Among other stuff I have 3 classes interacting with an Oracle database, covering 3 use cases - renaming, adding and deleting an database object. The renaming class simply updates the database with a String variable it receives from the request object, whereas the other two classes perform some calculations with the request data and update the database accordingly.
    When the adding or deleting classes are executed, by performing the appropriate actions through the web application, Tomcat throws the following:
    java.lang.VerifyError: (class: action/GliederungNewAction, method: insertNewNode signature: (Loracle/jdbc/driver/OracleConnection;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;I)V) Incompatible object argument for function call
         at java.lang.Class.forName0(Native Method)
         at java.lang.Class.forName(Class.java:120)
         at action.ActionMapping.perform(ActionMapping.java:53)
         at ControllerServlet.doResponse(ControllerServlet.java:92)
         at ControllerServlet.doPost(ControllerServlet.java:50)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:247)
    ...The renaming works fine though. I have checked mailing lists and forums as well as contacted the company's java support but everything I have tried out so far, from exchanging the xerces.jar files found in JDOM and Tomcat to rebuidling the project didn't help.
    I just can't explain to myself why this error occurs and I don't see how some additional Java code in the other 2 classes could cause it?
    I realize that the Tomcat and JDK versions I'm using are totally out of date, but that's company's current standard and I can't really change that.
    Here's the source code. I moved parts of the business logic from Java to Oracle recently but I left the SQL statements that the Oracle stored procedures are executing if it helps someone.
    package action;
    import java.sql.CallableStatement;
    import java.sql.PreparedStatement;
    import java.sql.ResultSet;
    import java.sql.SQLException;
    import java.util.StringTokenizer;
    import javax.servlet.http.HttpServletRequest;
    import javax.servlet.http.HttpServletResponse;
    import javax.servlet.http.HttpSession;
    import oracle.jdbc.driver.OracleConnection;
    * This class enables the creation and insertion of a new catalogue node. A new node
    * is always inserted as the last child of the selected parent node.
    public class GliederungNewAction implements Action {
         public String perform(ActionMapping mapping, HttpServletRequest request,
                   HttpServletResponse response) {
              // fetch the necessary parameters from the JSP site
              // the parent attribute is the selected attribute!
              String parent_attribute = request.getParameter("attr");
              String catalogue = request.getParameter("catalogue");
              int parent_sequenceNr = Integer.parseInt(request.getParameter("sort_sequence"));
              // connect to database    
              HttpSession session = request.getSession();   
              db.SessionConnection sessConn = (db.SessionConnection) session.getAttribute("connection");
              if (sessConn != null) {
                   try {
                        sessConn.setAutoCommit(false);
                        OracleConnection connection = (OracleConnection)sessConn.getConnection();
                        int lastPosition = getLastNodePosition( getLastChildAttribute(connection, catalogue, parent_attribute) );
                        String newNodeAttribute = createNewNodeAttribute(parent_attribute, lastPosition);
                        // calculate the sequence number
                        int precedingSequenceNumber = getPrecedingSequenceNumber(connection, catalogue, parent_attribute);
                        if ( precedingSequenceNumber == -1 ) {
                             precedingSequenceNumber = parent_sequenceNr;
                        int sortSequence = precedingSequenceNumber + 1;
                        setSequenceNumbers(connection, catalogue, sortSequence);
                        // insert the new node into DB
                        insertNewNode(connection, catalogue, newNodeAttribute, parent_attribute, "Neuer Punkt", sortSequence);
                        connection.commit();
                   } catch(SQLException ex) {
                        ex.printStackTrace();
              return mapping.getForward();
          * Creates, fills and executes a prepared statement to insert a new entry into the specified table, representing
          * a new node in the catalogue.
         private void insertNewNode(OracleConnection connection, String catalogue, String attribute, String parent_attribute, String description, int sortSequence) {
              try {
                   String callAddNode = "{ call fasi_lob.pack_gliederung.addNode(:1, :2, :3, :4, :5) }";
                   CallableStatement cst;
                   cst = connection.prepareCall(callAddNode);
                   cst.setString(1, catalogue);
                   cst.setString(2, attribute);
                   cst.setString(3, parent_attribute);
                   cst.setString(4, description);
                   cst.setInt(5, sortSequence);
                   cst.execute();
                   cst.close();
              } catch (SQLException e1) {
                   // TODO Auto-generated catch block
                   e1.printStackTrace();
    //          String insertNewNode = "INSERT INTO vstd_media_cat_attributes " +
    //                    "(catalogue, attribute, parent_attr, description, sort_sequence) VALUES(:1, :2, :3, :4, :5)";
    //          PreparedStatement insertStmt;
    //          try {
    //               insertStmt = connection.prepareStatement(insertNewNode);
    //               insertStmt.setString(1, catalogue);
    //               insertStmt.setString(2, attribute);
    //               insertStmt.setString(3, parent_attribute);
    //               insertStmt.setString(4, description);
    //               insertStmt.setInt(5, sortSequence);
    //               insertStmt.execute();
    //               insertStmt.close();
    //          } catch (SQLException e) {
    //               e.printStackTrace();
          * This method returns the attribute value of the last child of the parent under which
          * we want to insert a new node. The result set is sorted in descending order and only the
          * first result (that is, the last child under this parent) is fetched.
          * If the parent node has no children, "parent_attr.0" is returned. 
          * @param connection
          * @param catalogue
          * @param parent_attribute
          * @return attribute of the last child under this parent, or "parent_attr.0" if parent has no children
         private String getLastChildAttribute(OracleConnection connection, String catalogue, String parent_attribute) {
              String queryLastChild = "SELECT attribute FROM vstd_media_cat_attributes " +
                                            "WHERE catalogue=:1 AND parent_attr=:2 ORDER BY sort_sequence DESC";
              String lastChildAttribute;
              PreparedStatement ps;
              try {
                   ps = connection.prepareStatement(queryLastChild);
                   ps.setString(1, catalogue);
                   ps.setString(2, parent_attribute);
                   ResultSet rs = ps.executeQuery();
                   /* If a result is returned, the selected parent already has children.
                    * If not set the lastChildAttribute to parent_attr.0
                   if (rs.next()) {
                        lastChildAttribute = rs.getString("attribute");
                   } else {
                        lastChildAttribute = parent_attribute.concat(".0");
                   rs.close();
                   return lastChildAttribute;
              } catch (SQLException e) {
                   e.printStackTrace();
                   return null;
          * This helper method determines the position of the last node in the attribute.
          * i.e for 3.5.2 it returns 2, for 2.1 it returns 1 etc.
          * @param attribute
          * @return position of last node in this attribute
         private int getLastNodePosition(String attribute) {
              StringTokenizer tokenizer = new StringTokenizer(attribute, ".");
              String lastNodePosition = "0";
              while( tokenizer.hasMoreTokens() ) {
                   lastNodePosition = tokenizer.nextToken();
              return Integer.parseInt(lastNodePosition);
          * This method calculates the attribute of a node being inserted
          * by incrementing the last child position by 1 and attaching the
          * incremented position to the parent.
          * @param parent_attr
          * @param lastPosition
          * @return attribute of the new node
         private String createNewNodeAttribute(String parent_attr, int lastPosition) {
              String newPosition = new Integer(lastPosition + 1).toString();
              return parent_attr.concat("." + newPosition);
          * This method checks if the required sequence number for a new node is already in use and
          * handles the sequence numbers accordingly.
          * If the sequence number for a new node is NOT IN USE, the method doesn't do anything.
          * If the sequence number for a new node is IN USE, the method searches for the next free
          * sequence number by incrementing the number by one and repeating the query until no result
          * is found. Then all the sequence numbers between the required number (including, >= relation)
          * and the nearest found free number (not including, < relation) are incremented by 1, as to
          * make space for the new node.
          * @param connection
          * @param catalogue
          * @param newNodeSequenceNumber required sequence number for the new node
         private void setSequenceNumbers(OracleConnection connection, String catalogue, int newNodeSequenceNumber) {
              // 1. check if the new sequence number exists - if no do nothing
              // if yes - increment by one and see if exists
              //           repeat until free sequence number exists
              // when found increment all sequence numbers freeSeqNr > seqNr >= newSeqNr
              String query = "SELECT sort_sequence FROM vstd_media_cat_attributes " +
                        "WHERE catalogue=:1 AND sort_sequence=:2";
              PreparedStatement ps;
              try {
                   ps = connection.prepareStatement(query);
                   ps.setString(1, catalogue);
                   ps.setInt(2, newNodeSequenceNumber);               
                   ResultSet rs = ps.executeQuery();
                   // if no result, the required sequence number is free - nothing to do
                   if( rs.next() ) {
                        int freeSequenceNumber = newNodeSequenceNumber;
                        do {
                             ps.setString(1, catalogue);
                             ps.setInt(2, freeSequenceNumber++);
                             rs = ps.executeQuery();
                        } while( rs.next() );
                        // increment sequence numbers - call stored procedure
                        String callUpdateSeqeunceNrs = "{ call fasi_lob.pack_gliederung.updateSeqNumbers(:1, :2, :3) }";
                        CallableStatement cst = connection.prepareCall(callUpdateSeqeunceNrs);
                        cst.setString(1, catalogue);
                        cst.setInt(2, newNodeSequenceNumber);
                        cst.setInt(3, freeSequenceNumber);
                        cst.execute();
                        cst.close();
    //                    String query2 = "UPDATE vstd_media_cat_attributes " +
    //                                      "SET sort_sequence = (sort_sequence + 1 ) " +
    //                                      "WHERE catalogue=:1 sort_sequnce >=:2 AND sort_sequence <:3";
    //                    PreparedStatement ps2;
    //                    ps2 = connection.prepareStatement(query2);
    //                    ps2.setString(1, catalogue);
    //                    ps2.setInt(2, newNodeSequenceNumber);
    //                    ps2.setInt(3, freeSequenceNumber);
    //                    ps.executeUpdate();
    //                    ps.close();
                   } // end of if block
                   rs.close();
              } catch (SQLException e) {
                   e.printStackTrace();
          * This method finds the last sequence number preceding the sequence number of a node
          * that is going to be inserted. The preceding sequence number is required to calculate
          * the sequence number of the new node.
          * We perform a hierarchical query starting from the parent node: if a result is returned,
          * we assign the parent's farthest descendant's node sequence number; if no result
          * is returned, we assign the parent's sequence number.
          * @param connection
          * @param catalogue
          * @param parent_attr parent attribute of the new node
          * @return
         private int getPrecedingSequenceNumber(OracleConnection connection, String catalogue, String parent_attr) {
              int sequenceNumber = 0;
              String query = "SELECT sort_sequence FROM vstd_media_cat_attributes " +
                                "WHERE catalogue=:1 " +
                                "CONNECT BY PRIOR attribute = parent_attr START WITH parent_attr=:2 " +
                                "ORDER BY sort_sequence DESC";
              try {
                   PreparedStatement ps = connection.prepareStatement(query);
                   ps.setString(1, catalogue);
                   ps.setString(2, parent_attr);
                   ResultSet rs = ps.executeQuery();
                   if ( rs.next() ) {
                        sequenceNumber = rs.getInt("sort_sequence");
                   } else {
                        // TODO: ggf fetch from request!
                        sequenceNumber = -1;
                   rs.close();
                   ps.close();
              } catch (SQLException e) {
                   e.printStackTrace();
              return sequenceNumber;
    }

    After further googling I figured out what was causing the problem: in eclipse I was referring to external libraries located in eclipse/plugins directory, whereas Tomcat was referring to the same libraries (possibly older versions) in it's common/lib directory.

  • Testing Java Concurrent Program on the command line in Windows

    I'm using the suggestions in:
    http://blogs.oracle.com/xmlpublisher/2007/05/02
    to test my Java concurrent program on the command line. Our production environment is running on Unix. I've been able to test it successfully on the Unix environment from the command line. However, it fails when I try to test it on the Windows command line with the following stack trace:
    Exception in static block of jtf.cache.CacheManager. Stack trace is: oracle.apps
    .jtf.base.resources.FrameworkException: IAS Cache initialization failed
    at oracle.apps.jtf.cache.IASCacheProvider.init(IASCacheProvider.java:225
    at oracle.apps.jtf.cache.CacheManager.activateCache(CacheManager.java:14
    44)
    at oracle.apps.jtf.cache.CacheManager.initCache(CacheManager.java:752)
    at oracle.apps.jtf.cache.CacheManager.<clinit>(CacheManager.java:378)
    at oracle.apps.fnd.cache.Cache.setCacheFullName(Cache.java:228)
    at oracle.apps.fnd.cache.Cache.initCache(Cache.java:114)
    at oracle.apps.fnd.cache.Cache.<init>(Cache.java:89)
    at oracle.apps.fnd.cache.AppsCache.<init>(AppsCache.java:86)
    at oracle.apps.fnd.cache.AolCaches.getCache(AolCaches.java:155)
    at oracle.apps.fnd.profiles.Profiles.<clinit>(Profiles.java:241)
    at oracle.apps.fnd.profiles.ExtendedProfileStore.init(ExtendedProfileSto
    re.java:498)
    at oracle.apps.fnd.profiles.ExtendedProfileStore.<init>(ExtendedProfileS
    tore.java:119)
    at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
    at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstruct
    orAccessorImpl.java:39)
    at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingC
    onstructorAccessorImpl.java:27)
    at java.lang.reflect.Constructor.newInstance(Constructor.java:494)
    at oracle.apps.fnd.common.AppsContext.instantiateProfileStore(AppsContex
    t.java:4312)
    at oracle.apps.fnd.common.AppsContext.makeProfileStore(AppsContext.java:
    1171)
    at oracle.apps.fnd.common.Context.setProfileStore(Context.java:970)
    at oracle.apps.fnd.common.Context.setProfileStore(Context.java:952)
    at oracle.apps.fnd.common.AppsContext.initializeContext(AppsContext.java
    :958)
    at oracle.apps.fnd.common.AppsContext.initializeContext(AppsContext.java
    :918)
    at oracle.apps.fnd.common.AppsContext.<init>(AppsContext.java:752)
    at oracle.apps.fnd.cp.request.CpContext.<init>(CpContext.java:141)
    at oracle.apps.fnd.cp.request.CpContext.<init>(CpContext.java:124)
    at oracle.apps.fnd.cp.request.Run.main(Run.java:127)
    Caused by: oracle.apps.jtf.base.resources.FrameworkException: null
    null
    CacheDefaultConfig.properties (The system cannot find the file specified)
    at oracle.apps.jtf.base.resources.FrameworkException.convertException(Fr
    ameworkException.java:607)
    at oracle.apps.jtf.base.resources.FrameworkException.addException(Framew
    orkException.java:585)
    at oracle.apps.jtf.base.resources.FrameworkException.<init>(FrameworkExc
    eption.java:66)
    at oracle.apps.jtf.base.resources.FrameworkException.<init>(FrameworkExc
    eption.java:88)
    at oracle.apps.jtf.base.resources.FrameworkException.<init>(FrameworkExc
    eption.java:202)
    at oracle.apps.jtf.base.resources.FrameworkException.<init>(FrameworkExc
    eption.java:218)
    at oracle.apps.jtf.base.resources.FrameworkException.<init>(FrameworkExc
    eption.java:249)
    ... 26 more
    Exception in thread "main" oracle.adf.mds.exception.MDSRuntimeException: Cache n
    ot initialized
    at oracle.apps.fnd.framework.mds.cache.ATGCacheMgrDelegateImpl.<init>(AT
    GCacheMgrDelegateImpl.java:325)
    at oracle.apps.fnd.framework.mds.cache.ATGCacheFactoryImpl.<init>(ATGCac
    heFactoryImpl.java:44)
    at oracle.apps.fnd.cp.request.CpContext.getMDSContext(CpContext.java:116
    9)
    at oracle.apps.fnd.cp.request.Run.main(Run.java:130)
    I've put the appsborg2.zip file in my classpath. I've also copied the entire (1 GB) worth of Java .class files for Oracle apps onto my computer and placed it on my classpath. Is there something that prevents me from testing out my Java concurrent program on my Windows machine from the command line?

    i think if u run the ap in the command line then it has to stay open, you could try writing a .bat file then when that is executed it will only open the command line for the program execution (i think)

  • Clientgen Exception - java.lang.VerifyError:Cannot inherit from final class

    When i create a client jar from webservice ear the ant taks fails with compiler errors, such as:
    CreateProxy:
    [clientgen] Generating client jar for earname.ear(WebServiceName_WS) ...
    BUILD FAILED
    java.lang.VerifyError: Cannot inherit from final class
    at java.lang.ClassLoader.defineClass0(Native Method)
    at java.lang.ClassLoader.defineClass(ClassLoader.java:539)
    at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:123)
    at weblogic.utils.classloaders.GenericClassLoader.findLocalClass(GenericClassLoader.java:480)
    at weblogic.utils.classloaders.GenericClassLoader.findClass(GenericClassLoader.java:182)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:289)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:235)
    at weblogic.utils.classloaders.GenericClassLoader.loadClass(GenericClassLoader.java:224)
    at weblogic.webservice.server.WebServiceFactory.loadNonArrayClass(WebServiceFactory.java:1318)
    at weblogic.webservice.server.WebServiceFactory.loadClass(WebServiceFactory.java:1293)
    at weblogic.webservice.server.WebServiceFactory.initTypeMaps(WebServiceFactory.java:384)
    at weblogic.webservice.server.WebServiceFactory.createFromMBean(WebServiceFactory.java:184)
    at weblogic.webservice.tools.build.internal.WSDLGenImpl.getWebServiceRuntime(WSDLGenImpl.java:240)
    at weblogic.webservice.tools.build.internal.WSDLGenImpl.run(WSDLGenImpl.java:135)
    at weblogic.webservice.tools.build.internal.ClientGenImpl.doClientGenFromEAR(ClientGenImpl.java:438)
    at weblogic.webservice.tools.build.internal.ClientGenImpl.run(ClientGenImpl.java:345)
    at weblogic.ant.taskdefs.webservices.clientgen.ClientGenTask.doClientGen(ClientGenTask.java:351)
    at weblogic.ant.taskdefs.webservices.clientgen.ClientGenTask.execute(ClientGenTask.java:208)
    at org.apache.tools.ant.Task.perform(Task.java:341)
    at org.apache.tools.ant.Target.execute(Target.java:309)
    at org.apache.tools.ant.Target.performTasks(Target.java:336)
    at org.apache.tools.ant.Project.executeTarget(Project.java:1339)
    at org.apache.tools.ant.Project.executeTargets(Project.java:1255)
    at org.apache.tools.ant.Main.runBuild(Main.java:609)
    at org.apache.tools.ant.Main.start(Main.java:196)
    at org.apache.tools.ant.Main.main(Main.java:235)
    Total time: 25 seconds
    This is a ant command:
    <clientgen ear="${build}/earname.ear" onlyConvenienceMethod="true" warName="webservice.war" serviceName="WebServiceName_WS" packageName="my.package.webservices.generated" autotype="true" clientJar="${build.dist}/client/WebServiceName_WS.jar" overwrite="false" useServerTypes="true" keepGenerated="false" generateAsyncMethods="false" saveWsdl="true" j2me="false" useLowerCaseMethodNames="true" typePackageName="my.package.webservices.generated" usePortNameAsMethodName="false" />
    My webservice do not include any final class.
    I'm using WebLogic 8.1 SP4.Is there a solution for above problem?
    Thanks.
    Regards.

    Hi all,
    I m also facing quite similar problem.
    I have one sample JMX program, which i want to collect data from weblogic 9.2.
    but when i compile sample program on jdk 1.4 and run it on JDK 1.4 it throws following exception
    java.lang.VerifyError: class weblogic.utils.classloaders.GenericCl
    assLoader overrides final method .
    ERROR 02/13 09:54:03 Stderr 700100 at java.lang.ClassLoader.defineClass0(Native Method)
    ERROR 02/13 09:54:03 Stderr 700100 at java.lang.ClassLoader.defineClass(Unknown Source)
    ERROR 02/13 09:54:03 Stderr 700100 at java.security.SecureClassLoader.defineClass(Unknown Source)
    ERROR 02/13 09:54:03 Stderr 700100 at java.net.URLClassLoader.defineClass(Unknown Source)
    ERROR 02/13 09:54:03 Stderr 700100 at java.net.URLClassLoader.access$100(Unknown Source)
    ERROR 02/13 09:54:03 Stderr 700100 at java.net.URLClassLoader$1.run(Unknown Source)
    ERROR 02/13 09:54:03 Stderr 700100 at java.security.AccessController.doPrivileged(Native Method)
    ERROR 02/13 09:54:03 Stderr 700100 at java.net.URLClassLoader.findClass(Unknown Source)
    ERROR 02/13 09:54:03 Stderr 700100 at java.lang.ClassLoader.loadClass(Unknown Source)
    ERROR 02/13 09:54:03 Stderr 700100 at java.lang.ClassLoader.loadClass(Unknown Source)
    but sample program works fine if i run it on JDK 1.5..
    can someone tell me...wats reason?
    Thanks
    Nihil

  • Java.lang.VerifyError - another cause

    I just banged my head against this error for half a day before figuring it out.
    I was deploying some code compiled under 1.2 into a 1.3.1 environment and kept getting this error when I tried to load a certain class:
    java.lang.VerifyError: (class: com/athensgroup/autoweb2/databeans/FileTree, method: fillFileTreeForm signature: (Lcom/athensgroup/autoweb2/forms/FileTreeForm;)Z) Expecting to find integer on stack
    Real helpful, huh???
    Turns out the offending method has a couple of lines of code like:
    boolean foo = false;
    foo += "some string";
    Apparently this got by the 1.2 compiler, but created something the 1.3.1 loader didn't like.

    interesting
    it shouldn't do like this
    it is a very strange behaviour
    thanks for informing

  • Howto capture/debug java.lang.VerifyError?

    Hi, is there any way of trapping this VerifyError , or make it more verbose in order to debug-it? I am using eclipse/jboss-ide/jboss.
    Here is content of the eclipse console in verbose mode :
    [Loaded sun.reflect.GeneratedSerializationConstructorAccessor143 from __JVM_DefineClass__]
    [Loaded sun.reflect.GeneratedSerializationConstructorAccessor144 from __JVM_DefineClass__]
    [Loaded sun.reflect.GeneratedSerializationConstructorAccessor145 from __JVM_DefineClass__]
    [Loaded sun.reflect.GeneratedConstructorAccessor64 from __JVM_DefineClass__]
    [Loaded projecto.web.actions.BuildMainView from file:/C:/tools/jboss-4.0.3-SP1.original/server/default/tmp/deploy/tmp41144projecto.ear-contents/projecto-exp.war/WEB-INF/classes/projecto/web/actions/BuildMainView.class]
    [Loaded fr.improve.struts.taglib.layout.menu.MenuBase from file:/C:/tools/jboss-4.0.3-SP1.original/server/default/tmp/deploy/tmp41144projecto.ear-contents/projecto-exp.war/WEB-INF/lib/Struts-Layout.jar]
    [Loaded fr.improve.struts.taglib.layout.menu.MenuComponent from file:/C:/tools/jboss-4.0.3-SP1.original/server/default/tmp/deploy/tmp41144projecto.ear-contents/projecto-exp.war/WEB-INF/lib/Struts-Layout.jar]
    [Loaded java.lang.VerifyError from C:\Program Files\Java\jdk1.5.0_06\jre\lib\rt.jar]
    [Unloading class sun.reflect.GeneratedSerializationConstructorAccessor122]
    [Unloading class sun.reflect.GeneratedSerializationConstructorAccessor144]
    [Unloading class sun.reflect.GeneratedSerializationConstructorAccessor135]
    [Unloading class sun.reflect.GeneratedSerializationConstructorAccessor131]
    [Unloading class sun.reflect.GeneratedSerializationConstructorAccessor126]
    [Unloading class sun.reflect.GeneratedSerializationConstructorAccessor125]
    [Unloading class sun.reflect.GeneratedSerializationConstructorAccessor114]
    [Unloading class sun.reflect.GeneratedSerializationConstructorAccessor129]
    [Unloading class sun.reflect.GeneratedSerializationConstructorAccessor134]
    [Unloading class sun.reflect.GeneratedSerializationConstructorAccessor140]
    [Unloading class sun.reflect.GeneratedMethodAccessor74]
    [Unloading class sun.reflect.GeneratedSerializationConstructorAccessor117]
    [Unloading class sun.reflect.GeneratedSerializationConstructorAccessor143]
    [Unloading class sun.reflect.GeneratedSerializationConstructorAccessor128]
    [Unloading class sun.reflect.GeneratedSerializationConstructorAccessor130]
    [Unloading class sun.reflect.GeneratedSerializationConstructorAccessor115]
    [Unloading class sun.reflect.GeneratedSerializationConstructorAccessor123]
    [Unloading class sun.reflect.GeneratedSerializationConstructorAccessor142]
    [Unloading class sun.reflect.GeneratedMethodAccessor117]
    [Unloading class sun.reflect.GeneratedSerializationConstructorAccessor132]
    [Unloading class sun.reflect.GeneratedSerializationConstructorAccessor119]
    [Unloading class sun.reflect.GeneratedSerializationConstructorAccessor116]
    [Unloading class sun.reflect.GeneratedSerializationConstructorAccessor141]
    [Unloading class sun.reflect.GeneratedSerializationConstructorAccessor136]
    [Unloading class sun.reflect.GeneratedConstructorAccessor64]
    [Unloading class sun.reflect.GeneratedSerializationConstructorAccessor124]
    [Unloading class sun.reflect.GeneratedSerializationConstructorAccessor139]
    [Unloading class sun.reflect.GeneratedSerializationConstructorAccessor133]
    [Unloading class sun.reflect.GeneratedSerializationConstructorAccessor137]
    [Unloading class sun.reflect.GeneratedSerializationConstructorAccessor118]
    [Unloading class sun.reflect.GeneratedSerializationConstructorAccessor120]
    [Unloading class sun.reflect.GeneratedSerializationConstructorAccessor121]
    [Unloading class sun.reflect.GeneratedSerializationConstructorAccessor138]
    [Unloading class sun.reflect.GeneratedSerializationConstructorAccessor127]
    [Unloading class sun.reflect.GeneratedSerializationConstructorAccessor145]
    [Loaded org.apache.log4j.spi.ThrowableInformation from file:/C:/tools/jboss-4.0.3-SP1.original/lib/log4j-boot.jar]
    [Loaded org.apache.log4j.spi.VectorWriter from file:/C:/tools/jboss-4.0.3-SP1.original/lib/log4j-boot.jar]
    [Loaded org.apache.log4j.spi.NullWriter from file:/C:/tools/jboss-4.0.3-SP1.original/lib/log4j-boot.jar]
    2006-07-07 02:21:46,281 534250 ERROR [org.apache.catalina.core.ContainerBase.[jboss.web].[localhost].[/projecto].[action]] (http-0.0.0.0-8080-3:) Servlet.service() for servlet action threw exception
    java.lang.VerifyError: (class: projecto/web/actions/BuildMainView, method: buildview signature: (Lorg/apache/struts/action/ActionMapping;Lorg/apache/struts/action/ActionForm;Ljavax/servlet/http/HttpServletRequest;Ljavax/servlet/http/HttpServletResponse;)Lorg/a�)�
         at java.lang.Class.getDeclaredConstructors0(Native Method)
         at java.lang.Class.privateGetDeclaredConstructors(Class.java:2328)
         at java.lang.Class.getConstructor0(Class.java:2640)
         at java.lang.Class.newInstance0(Class.java:321)
         at java.lang.Class.newInstance(Class.java:303)
         at org.apache.struts.util.RequestUtils.applicationInstance(RequestUtils.java:163)
         at org.apache.struts.util.RequestUtils.applicationInstance(RequestUtils.java:138)
         at org.apache.struts.action.RequestProcessor.processActionCreate(RequestProcessor.java:278)
         at org.apache.struts.faces.application.FacesTilesRequestProcessor.processActionCreate(FacesTilesRequestProcessor.java:188)
         at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:218)
         at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1858)
         at org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:459)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
         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.ApplicationDispatcher.invoke(ApplicationDispatcher.java:672)
         at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:463)
         at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:398)
         at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:301)
         at org.apache.struts.action.RequestProcessor.doForward(RequestProcessor.java:1054)
         at org.apache.struts.tiles.TilesRequestProcessor.doForward(TilesRequestProcessor.java:292)
         at org.apache.struts.faces.application.FacesTilesRequestProcessor.doForward(FacesTilesRequestProcessor.java:113)
         at org.apache.struts.action.RequestProcessor.processForwardConfig(RequestProcessor.java:384)
         at org.apache.struts.tiles.TilesRequestProcessor.processForwardConfig(TilesRequestProcessor.java:344)
         at org.apache.struts.faces.application.FacesTilesRequestProcessor.processForwardConfig(FacesTilesRequestProcessor.java:287)
         at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:229)
         at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1858)
         at org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:459)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
         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.ApplicationDispatcher.invoke(ApplicationDispatcher.java:672)
         at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:463)
         at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:398)
         at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:301)
         at org.apache.struts.action.RequestProcessor.doForward(RequestProcessor.java:1054)
         at org.apache.struts.tiles.TilesRequestProcessor.doForward(TilesRequestProcessor.java:292)
         at org.apache.struts.faces.application.FacesTilesRequestProcessor.doForward(FacesTilesRequestProcessor.java:113)
         at org.apache.struts.action.RequestProcessor.processForwardConfig(RequestProcessor.java:384)
         at org.apache.struts.tiles.TilesRequestProcessor.processForwardConfig(TilesRequestProcessor.java:344)
         at org.apache.struts.faces.application.FacesTilesRequestProcessor.processForwardConfig(FacesTilesRequestProcessor.java:287)
         at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:229)
         at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1858)
         at org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:459)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
         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.ApplicationDispatcher.invoke(ApplicationDispatcher.java:672)
         at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:463)
         at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:398)
         at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:301)
         at org.apache.struts.action.RequestProcessor.doForward(RequestProcessor.java:1054)
         at org.apache.struts.tiles.TilesRequestProcessor.doForward(TilesRequestProcessor.java:292)
         at org.apache.struts.faces.application.FacesTilesRequestProcessor.doForward(FacesTilesRequestProcessor.java:113)
         at org.apache.struts.action.RequestProcessor.processForwardConfig(RequestProcessor.java:384)
         at org.apache.struts.tiles.TilesRequestProcessor.processForwardConfig(TilesRequestProcessor.java:344)
         at org.apache.struts.faces.application.FacesTilesRequestProcessor.processForwardConfig(FacesTilesRequestProcessor.java:287)
         at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:229)
         at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1858)
         at org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:459)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
         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.ApplicationDispatcher.invoke(ApplicationDispatcher.java:672)
         at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:463)
         at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:398)
         at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:301)
         at org.apache.struts.action.RequestProcessor.doForward(RequestProcessor.java:1054)
         at org.apache.struts.tiles.TilesRequestProcessor.doForward(TilesRequestProcessor.java:292)
         at org.apache.struts.faces.application.FacesTilesRequestProcessor.doForward(FacesTilesRequestProcessor.java:113)
         at org.apache.struts.action.RequestProcessor.processForwardConfig(RequestProcessor.java:384)
         at org.apache.struts.tiles.TilesRequestProcessor.processForwardConfig(TilesRequestProcessor.java:344)
         at org.apache.struts.faces.application.FacesTilesRequestProcessor.processForwardConfig(FacesTilesRequestProcessor.java:287)
         at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:229)
         at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1858)
         at org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:459)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
         at projecto.web.filters.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:165)
         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
         at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:81)
         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
         at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
         at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
         at org.jboss.web.tomcat.security.CustomPrincipalValve.invoke(CustomPrincipalValve.java:39)
         at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:159)
         at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:59)
         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:856)
         at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:744)
         at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
         at org.apache.tomcat.util.net.MasterSlaveWorkerThread.run(MasterSlaveWorkerThread.java:112)
         at java.lang.Thread.run(Thread.java:595)

    more VerifyError details:
    Approximate bytecode offset 149: Inconsistent stackmap at next instruction
    What does this mean?

  • Java.lang.OutOfMemoryError + java.lang.VerifyError

    Hi all,
    We are working on an ADF 11g application where several transient attributes are feeded by Groovy expressions. Once deployed on a standalone WLS, we're getting java.lang.VerifyError and java.lang.OutOfMemoryError exceptions.
    Need some help with JVM tuning on Weblogic Server: SUSE Linux Enterprise Server 11 (x86_64) with 4GB RAM
    Here are the current JVM arguments for the managed server:
    -Xms256m -Xmx512m -XX:MaxPermSize=512m ...
    Has anybody ever seen this before? Any help will be appreciated.
    Version
    ADF Business Components 11.1.1.56.60
    Java(TM) Platform 1.6.0_18
    Oracle IDE 11.1.1.3.37.56.60
    [2010-12-10T11:10:42.614+01:00] [mserver1] [ERROR] [] [oracle.adfinternal.view.faces.config.rich.RegistrationConfigurator] [tid: [ACTIVE].ExecuteThread: '5' for queue: 'weblogic.kernel.Default (self-tuning)'] [userId: <anonymous>] [ecid: 0000InFkhRAFGBO5yjw0yW1CxDpG0006Zk,0] [APP: Adoapp#20101210_9515_9510] [dcid: 7e59a3b02e4976f0:7c638206:12c9c80c29a:-8000-0000000000007c4e] Server Exception during PPR, #1[[
    javax.servlet.ServletException: java.lang.OutOfMemoryError
         at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:341)
         at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:191)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
    Caused by: java.lang.OutOfMemoryError
         at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:125)
         at bc4j.com_ado_model_mng_queries_BudgetView_ImpAn1Sum.gs.run(bc4j.com_ado_model_mng_queries_BudgetView_ImpAn1Sum.gs.groovy:1)
         at oracle.jbo.ExprEval.internalEvaluateGroovyScript(ExprEval.java:816)
         at oracle.jbo.ExprEval.doEvaluate(ExprEval.java:867)
         at oracle.jbo.ExprEval.evaluateForRow(ExprEval.java:761)
         at oracle.jbo.server.AttributeDefImpl.evaluateTransientExpression(AttributeDefImpl.java:2029)
         at oracle.jbo.server.ViewRowStorage.getAttributeInternal(ViewRowStorage.java:1671)
         at oracle.jbo.server.ViewRowImpl.getAttributeValue(ViewRowImpl.java:1831)
         at oracle.jbo.server.ViewRowImpl.getAttributeInternal(ViewRowImpl.java:796)
         at oracle.jbo.server.ViewRowImpl.getAttrInvokeAccessor(ViewRowImpl.java:878)
         at oracle.jbo.server.ViewRowImpl.getAttribute(ViewRowImpl.java:826)
         at oracle.jbo.uicli.binding.JUCtrlValueBinding.internalGetAttributeValueFromRow(JUCtrlValueBinding.java:1139)
         at oracle.jbo.uicli.binding.JUCtrlValueBinding.getAttributeFromRow(JUCtrlValueBinding.java:733)
         at oracle.jbo.uicli.binding.JUCtrlValueBinding.getInputValueInRow(JUCtrlValueBinding.java:2798)
         at oracle.jbo.uicli.binding.JUCtrlValueBinding.getInputValue(JUCtrlValueBinding.java:2702)
         at oracle.jbo.uicli.binding.JUCtrlValueBinding.getInputValue(JUCtrlValueBinding.java:2691)
         at oracle.adfinternal.view.faces.model.binding.FacesCtrlAttrsBinding.getInputValue(FacesCtrlAttrsBinding.java:185)
         at oracle.jbo.uicli.binding.JUCtrlValueBinding.internalGet(JUCtrlValueBinding.java:2273)
         at oracle.adfinternal.view.faces.model.binding.FacesCtrlAttrsBinding.internalGet(FacesCtrlAttrsBinding.java:277)
         at oracle.adf.model.binding.DCControlBinding.get(DCControlBinding.java:750)
         at javax.el.MapELResolver.getValue(MapELResolver.java:164)
         at javax.el.CompositeELResolver.getValue(CompositeELResolver.java:143)
         at com.sun.faces.el.FacesCompositeELResolver.getValue(FacesCompositeELResolver.java:72)
         at com.sun.el.parser.AstValue.getValue(AstValue.java:118)
         at com.sun.el.ValueExpressionImpl.getValue(ValueExpressionImpl.java:192)
         at org.apache.myfaces.trinidad.bean.FacesBeanImpl.getProperty(FacesBeanImpl.java:68)
         at oracle.adfinternal.view.faces.renderkit.rich.ValueRenderer.getValue(ValueRenderer.java:184)
         at javax.faces.webapp.FacesServlet.service(FacesServlet.java:266)
         at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
         at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
         at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:300)
         ... 35 more
    [2010-12-10T11:10:49.258+01:00] [mserver1] [ERROR] [] [oracle.adfinternal.view.faces.config.rich.RegistrationConfigurator] [tid: [ACTIVE].ExecuteThread: '5' for queue: 'weblogic.kernel.Default (self-tuning)'] [userId: <anonymous>] [ecid: 0000InFkj3YFGBO5yjw0yW1CxDpG0006Zl,0] [APP: Adoapp#20101210_9515_9510] [dcid: 7e59a3b02e4976f0:7c638206:12c9c80c29a:-8000-0000000000007c4f] Server Exception during PPR, #2[[
    javax.servlet.ServletException: java.lang.VerifyError: (class: org/codehaus/groovy/runtime/ArrayUtil, method: createArray signature: ()[Ljava/lang/Object;) Illegal type in constant pool
         at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:341)
         at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:191)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.adfinternal.view.faces.webapp.rich.RegistrationFilter.doFilter(RegistrationFilter.java:97)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:420)
         at oracle.adfinternal.view.faces.activedata.AdsFilter.doFilter(AdsFilter.java:60)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:420)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._doFilterImpl(TrinidadFilterImpl.java:247)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl.doFilter(TrinidadFilterImpl.java:157)
         at org.apache.myfaces.trinidad.webapp.TrinidadFilter.doFilter(TrinidadFilter.java:92)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.security.jps.ee.http.JpsAbsFilter$1.run(JpsAbsFilter.java:94)
         at java.security.AccessController.doPrivileged(Native Method)
         at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:313)
         at oracle.security.jps.ee.util.JpsPlatformUtil.runJaasMode(JpsPlatformUtil.java:414)
         at oracle.security.jps.ee.http.JpsAbsFilter.doFilter(JpsAbsFilter.java:138)
         at oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:71)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:191)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.dms.wls.DMSServletFilter.doFilter(DMSServletFilter.java:330)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at weblogic.servlet.internal.RequestEventsFilter.doFilter(RequestEventsFilter.java:27)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.doIt(WebAppServletContext.java:3684)
         at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3650)
         at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
         at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
         at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2268)
         at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2174)
         at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1446)
         at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
         at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
    Caused by: java.lang.VerifyError: (class: org/codehaus/groovy/runtime/ArrayUtil, method: createArray signature: ()[Ljava/lang/Object;) Illegal type in constant pool
         at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callConstructor(AbstractCallSite.java:200)
         at bc4j.run(bc4j.groovy:1)
         at oracle.jbo.ExprEval.internalEvaluateGroovyScript(ExprEval.java:816)
         at oracle.jbo.ExprEval.doEvaluate(ExprEval.java:867)
         at oracle.jbo.ExprEval.getCurrentDate(ExprEval.java:542)
         at oracle.jbo.ExprEval$ExprValueSupplierGroovyBinding.getVariable(ExprEval.java:426)
         at groovy.lang.Binding.getProperty(Binding.java:93)
         at org.codehaus.groovy.runtime.callsite.PogoGetPropertySite.getProperty(PogoGetPropertySite.java:47)
         at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callGetProperty(AbstractCallSite.java:237)
         at bc4j.bindDataCP.gs.run(bc4j.bindDataCP.gs.groovy:1)
         at oracle.jbo.ExprEval.internalEvaluateGroovyScript(ExprEval.java:816)
         at oracle.jbo.ExprEval.doEvaluate(ExprEval.java:867)
         at oracle.jbo.ExprEval.evaluateForRow(ExprEval.java:761)
         at javax.faces.webapp.FacesServlet.service(FacesServlet.java:266)
         at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
         at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
         at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:300)
         ... 35 moreEdited by: Barbara Gelabert on 27-dic-2010 6:21

    Could you give me more detail about that?now I run the main.fx in the eclipse project,the jnlp file existed in the dist directory in the project after run successfully.
    My problem is that the outofMemories ofter proudces when my server push data to client.

  • DataDirect driver throws java.lang.VerifyError

    WebLogic: 8.1.5<br>
    OS: Windows server 2003<br>
    DataDirect: 3.50.0 (JDBC driver)<br>
    <br>
    I have a web application that use its own JDBC driver management (DataDirect 3.50.0). When I moved from WebLogic 8.1.3 to WebLogic 8.1.5 the application crash with stuck dump below on exception java.lang.VerifyError.<br>
    <br>
    <br>
    <i>Any ideas why this happened ?</i>
    <br>
    <br>
    Thanks,<br>
    Ziv<br>
    <br>
    <br>
    <u><b>Stack dump</b></u><br>
    java.sql.SQLException: <br>
    java.lang.VerifyError: <br>
    (class: com/mercury/jdbc/sqlserver/tds/TDSConnection, <br>
    method: createSecurityContext <br>
    signature: (Ljava/lang/String;Ljava/lang/String;<br>
    Ljava/lang/String<br>
    Lcom/mercury/util/UtilSecurityContext <br>
    Wrong return type in function<br>
    <br>
    at com.mercury.jdbc.base.BaseConnectionStartup.run
    (Unknown Source)     <br>

    Eli cohen wrote:
    First, thanks a lot for the quick reply. I appeciate this.<br>
    <br>
    1. You are right, com.mercury.jdbc is a repackaging of DataDirect's driver. <br><br>
    2. Full Stack dump:<br><br>Ok, I suggest yo first contact DataDirect and show them
    this exception. However, I have a suspicion that your
    version of the driver has some conflicting versions of
    some internal security classes from the versions of the
    DataDirect drivers that we ship, rebranded as BEA drivers.
    So, try going to your server\lib directory, and renaming
    the wlutil.jar, wlbase.jar, and wlsqlserver.jar so WebLogic
    won't use them. Let me know if that makes your odd exception
    go away. Also, you might consider using our drivers. Get
    the latest driver package and you will have DataDirect's
    latest and best, including all the BEA-found bugs fixed.
    Joe
    >
    InitSAConnection failed. <br>
    Reason: AutomationException: Failed to Login<br>
    [ERR_SEP]Messages:Failed to Login;<br>
    Failed to check authentication of user 'alex_qc';<br>
    Cannot build directory item for key <br>
    '[maze1sql_db@jdbc:mercury:sqlserver://fork:1433(td)]' <br>
    in SA Global Struct Dir;<br>
    Failed to fill table struct for table null in database <br>
    maze1sql_db@jdbc:mercury:sqlserver://fork:1433(td);<br>
    java.lang.VerifyError: <br>
    (class: com/mercury/jdbc/sqlserver/tds/TDSConnection, <br>
    method: createSecurityContext <br>
    signature: (Ljava/lang/String;<br>
    Ljava/lang/String;<br>
    Ljava/lang/String)<br>
    Lcom/mercury/util/UtilSecurityContext) <br>
    Wrong return type in function;<br>
    <br>
    Stack Trace:<br>
    <br>
    java.sql.SQLException: <br>
    java.lang.VerifyError: <br>
    (class: com/mercury/jdbc/sqlserver/tds/TDSConnection, <br>
    method: createSecurityContext <br>
    signature: (Ljava/lang/String;Ljava/lang/String;<br>
    Ljava/lang/String)<br>
    Lcom/mercury/util/UtilSecurityContext) <br>
    Wrong return type in function<br>
    <br>
    at com.mercury.jdbc.base.BaseConnectionStartup.run(Unknown Source)     <br>
    wrapped in com.mercury.optane.core.CTdException: <br>
    at com.mercury.optane.core.db.CTdDriverManager.getConnection<br>
    (CTdDriverManager.java:81)<br>
    at com.mercury.optane.core.db.CConnectionPool.newConnection<br>
    (CConnectionPool.java:654)<br>
    at com.mercury.optane.core.db.CConnectionPool.tryToGetConnection<br>
    (CConnectionPool.java:491)<br>
    at com.mercury.optane.core.db.CConnectionPool.getConnection<br>
    (CConnectionPool.java:316)<br>
    at com.mercury.optane.core.db.CConnectionManager.getNotTransactedConnection<br>
    (CConnectionManager.java:299)<br>
    at com.mercury.optane.core.db.CConnectionManager.getConnection<br>
    (CConnectionManager.java:264)<br>
    at com.mercury.optane.core.db.CDatabaseFieldsInfo.obtainInfo<br>
    (CDatabaseFieldsInfo.java:135)     <br>
    wrapped in com.mercury.optane.core.CTdException: <br>
    <br>
    Failed to fill table struct for table null in database <br>
    maze1sql_db@jdbc:mercury:sqlserver://fork:1433(td)<br>
    at com.mercury.optane.core.db.CDatabaseFieldsInfo.obtainInfo<br>
    (CDatabaseFieldsInfo.java:157)<br>
    at com.mercury.optane.core.db.CDatabaseFieldsInfo.<init><br>
    (CDatabaseFieldsInfo.java:77)<br>
    at com.mercury.optane.core.db.CAbsTablesStructDirectory.createDirectoryItem<br>
    (CAbsTablesStructDirectory.java:129)<br>
    at com.mercury.optane.core.directory.CAbsDirectory.getDirectoryItem<br>
    (CAbsDirectory.java:81)     <br>
    <br>
    wrapped in com.mercury.optane.core.CTdException: <br>
    Cannot build directory item for key <br>
    '[maze1sql_db@jdbc:mercury:sqlserver://fork:1433(td)]' <br>
    in SA Global Struct Dirat <br>
    com.mercury.optane.core.directory.CAbsDirectory.getDirectoryItem<br>
    (CAbsDirectory.java:87)<br>
    <br>
    at com.mercury.optane.core.db.CAbsTablesStructDirectory.getDatabaseFieldsInfo<br>
    (CAbsTablesStructDirectory.java:101)<br>
    at com.mercury.td.saserver.sautil.CSaDbSchemaProperties.getDatabaseFieldsInfo<br>
    (CSaDbSchemaProperties.java:114)<br>
    at com.mercury.optane.core.db.CAbsDBContext.isComparisonCaseSensitive<br>
    (CAbsDBContext.java:178)<br>
    at com.mercury.optane.core.db.utils.CDbGeneralFunctions.dbLowerComparison<br>
    (CDbGeneralFunctions.java:369)<br>
    at com.mercury.td.saserver.sautil.CSaServerGeneralFunctions.saDbLowerComparison<br>
    (CSaServerGeneralFunctions.java:416)<br>
    at com.mercury.td.saserver.api.logics.CTdUserLogic.authenticateUserAgainstTdDB<br>
    (CTdUserLogic.java:1175)     <br>
    <br>
    wrapped in com.mercury.optane.core.CTdException: <br>
    Failed to check authentication of user 'alex_qc'<br>
    <br>
    at com.mercury.td.saserver.api.logics.CTdUserLogic.authenticateUserAgainstTdDB<br>
    (CTdUserLogic.java:1199)<br>
    at com.mercury.td.saserver.api.logics.CTdUserLogic.checkUserPassword<br>
    (CTdUserLogic.java:1116)<br>
    at com.mercury.td.saserver.api.logics.CSessionLogic.login<br>
    (CSessionLogic.java:229)<br>
    at com.mercury.td.saserver.web.CTdSiteAdminServlet.redirectLogin<br>
    (CTdSiteAdminServlet.java:275)<br>
    at sun.reflect.NativeMethodAccessorImpl.invoke0<br>
    (Native Method)<br>
    at sun.reflect.NativeMethodAccessorImpl.invoke<br>
    (NativeMethodAccessorImpl.java:39)<br>
    at sun.reflect.DelegatingMethodAccessorImpl.invoke<br>
    (DelegatingMethodAccessorImpl.java:25)<br>
    at java.lang.reflect.Method.invoke(Method.java:324)<br>
    at com.mercury.optane.core.web.CAbsServlet.executeFunction<br>
    (CAbsServlet.java:459)     <br>
    <br>
    wrapped in com.mercury.optane.core.CTdException: <br>
    Failed to Loginat com.mercury.optane.core.web.CAbsServlet.executeFunction<br>
    (CAbsServlet.java:465)<br>
    at com.mercury.optane.core.web.CAbsServlet.processRequest<br>
    (CAbsServlet.java:440)<br>
    at com.mercury.optane.core.web.CAbsServlet.doPost<br>
    (CAbsServlet.java:323)<br>
    at javax.servlet.http.HttpServlet.service<br>
    (HttpServlet.java:760)<br>
    at javax.servlet.http.HttpServlet.service<br>
    (HttpServlet.java:853)<br>
    at weblogic.servlet.internal.ServletStubImpl:ServletInvocationAction.run<br>
    (ServletStubImpl.java:1072)<br>
    at weblogic.servlet.internal.ServletStubImpl.invokeServlet<br>
    (ServletStubImpl.java:465)<br>
    at weblogic.servlet.internal.ServletStubImpl.invokeServlet<br>
    (ServletStubImpl.java:348)<br>
    at weblogic.servlet.internal.WebAppServletContext:ServletInvocationAction.run<br>
    (WebAppServletContext.java:6981)<br>
    at weblogic.security.acl.internal.AuthenticatedSubject.doAs<br>
    (AuthenticatedSubject.java:321)<br>
    at weblogic.security.service.SecurityManager.runAs<br>
    (SecurityManager.java:121)<br>
    at weblogic.servlet.internal.WebAppServletContext.invokeServlet<br>
    (WebAppServletContext.java:3892)<br>
    at weblogic.servlet.internal.ServletRequestImpl.execute<br>
    (ServletRequestImpl.java:2766)<br>
    at weblogic.kernel.ExecuteThread.execute<br>
    (ExecuteThread.java:224)<br>
    at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:183) <br>
    <br>

  • Interesting --- java.lang.verifyerror

    does anyone know as to why this error would happen
    C:\EMS\classes>java com.calynet.client.service.JTGOTopology.Main2
    Exception in thread "main" java.lang.VerifyError: (class: com/calynet/client/ser
    vice/JTGOTopology/Main2, method: init signature: ()V) Incompatible object argume
    nt for function call

    see answer to your other post in advanced language forum

  • 500 Internal Server Error :java.lang.VerifyError

    Ok, so I have deployed my BI Bean RC2 tutorial app from Jdeveloper RC2, with no errors during deployment.
    It also runs fine from jdeveloper embedded oc4j.
    When I try to call the deployed application in my browser I get this:
    500 Internal Server Error
    java.lang.VerifyError: class org.omg.PortableServer.AdapterActivatorPOA overrides final method . at java.lang.ClassLoader.defineClass0(Native Method) at java.lang.ClassLoader.defineClass(ClassLoader.java:486) at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:111) at com.evermind[Oracle9iAS (9.0.3.0.0) Containers for J2EE].naming.ContextClassLoader.defineClass(ContextClassLoader.java:1004) at com.evermind[Oracle9iAS (9.0.3.0.0) Containers for J2EE].naming.ContextClassLoader.findClass(ContextClassLoader.java:267) at java.lang.ClassLoader.loadClass(ClassLoader.java:297) at java.lang.ClassLoader.loadClass(ClassLoader.java:253) at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:313) at java.lang.ClassLoader.defineClass0(Native Method) at java.lang.ClassLoader.defineClass(ClassLoader.java:486) at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:111) at com.evermind[Oracle9iAS (9.0.3.0.0) Containers for J2EE].naming.ContextClassLoader.defineClass(ContextClassLoader.java:1004) at com.evermind[Oracle9iAS (9.0.3.0.0) Containers for J2EE].naming.ContextClassLoader.findClass(ContextClassLoader.java:267) at java.lang.ClassLoader.loadClass(ClassLoader.java:297) at java.lang.ClassLoader.loadClass(ClassLoader.java:253) at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:313) at com.inprise.vbroker.orb.ORB.adapterManager(ORB.java:1101) at com.inprise.vbroker.ds.DSUser.<init>(DSUser.java:282) at com.inprise.vbroker.ds.Init.init(Init.java:20) at com.inprise.vbroker.orb.ORB.installServices(ORB.java:922) at com.inprise.vbroker.orb.ORB.initialize(ORB.java:831) at com.inprise.vbroker.orb.ORB.set_parameters(ORB.java:950) at org.omg.CORBA.ORB.init(ORB.java:329) at oracle.dss.appmodule.common.ORBUtils.getORBForApplication(ORBUtils.java:109) at oracle.dss.connection.server.ConnectionImpl.getORB(ConnectionImpl.java:1056) at oracle.dss.connection.server.ConnectionImpl.connect(ConnectionImpl.java:263) at oracle.dss.connection.client.Connection.connect(Connection.java:399) at oracle.dss.connection.client.Connection.connect(Connection.java:321) at oracle.dss.metadataManager.client.MetadataManager.setConnectionObjects(MetadataManager.java:3933) at oracle.dss.metadataManager.client.MetadataManager.attach(MetadataManager.java:827) at oracle.dss.metadataManager.client.MetadataManager.attach(MetadataManager.java:767) at oracle.dss.datautil.client.XMLManagerFactory.createQueryManager(XMLManagerFactory.java:187) at oracle.dss.datautil.client.ManagerFactoryImpl.lookupQueryManager(ManagerFactoryImpl.java:176) at oracle.dss.datautil.client.ManagerFactoryImpl.lookupMetadataManager(ManagerFactoryImpl.java:239) at oracle.dss.datautil.client.ManagerFactoryImpl.lookupManager(ManagerFactoryImpl.java:128) at oracle.dss.addins.jspTags.BIThinSession.getMetadataManager(BIThinSession.java:203) at oracle.dss.addins.jspTags.BIThinSession.getQueryManager(BIThinSession.java:226) at oracle.dss.addins.jspTags.BIThinSession.loadView(BIThinSession.java:126) at oracle.dss.addins.jspTags.PresentationTag.createThinObject(PresentationTag.java:142) at oracle.dss.addins.jspTags.BIBaseTag.getThinObject(BIBaseTag.java:76) at oracle.dss.addins.jspTags.PresentationTag.doStartTag(PresentationTag.java:225) at simpleJSP.jspService(_simpleJSP.java:72) [SRC:/simpleJSP.jsp:6] at com.orionserver[Oracle9iAS (9.0.3.0.0) Containers for J2EE].http.OrionHttpJspPage.service(OrionHttpJspPage.java:56) at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:304) at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:423) at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:346) at javax.servlet.http.HttpServlet.service(HttpServlet.java:336) at com.evermind[Oracle9iAS (9.0.3.0.0) Containers for J2EE].server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:691) at com.evermind[Oracle9iAS (9.0.3.0.0) Containers for J2EE].server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:276) at com.evermind[Oracle9iAS (9.0.3.0.0) Containers for J2EE].server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:737) at com.evermind[Oracle9iAS (9.0.3.0.0) Containers for J2EE].server.http.HttpRequestHandler.run(HttpRequestHandler.java:247) at com.evermind[Oracle9iAS (9.0.3.0.0) Containers for J2EE].util.ThreadPoolThread.run(ThreadPoolThread.java:64)
    Nothing (except the 500 error itself) is logged to any of the log-files in j2ee/home/log.
    I am able to run all of the samples that comes with oc4j.
    oc4j is invoked using:
    java -Xmx128m -Dorg.omg.CORBA.ORBClass=com.inprise.vbroker.orb.ORB -Dorg.omg.COR
    BA.ORBSingletonClass=com.inprise.vbroker.orb.ORB -jar oc4j.jar &
    as specified in tutorial instructions.
    Can anyone point me in the right direction to solve this?
    Thanks,
    Jens

    The guys over in the J2EE forum came with this answer. Please note that they refer to Jdeveloper 9.0.3.
    I don't really know how to interpret that, as the RC2 Jdeveloper is 9.0.2.7.86, but anyway, her goes:
    <snip>
    It seems like you are using JDeveloper 903, is that right?
    Select Help->About from the Jdeveloper menus
    If you are using Jdeveloper 903, read on:
    This is a known issue. 903 Jdeveloper is bundled with J2EE ORB (IIOP.jar) from Sun to allow EJBs communicate using RMI/IIOP. In addition, we also have Visibroker ORB (VBJORB.jar) in the classpath. Sun has implemented CORBA 2.3.1 specification and Visibroker I believe has implemented CORBA 2.3.0 spec. The signature of one of the methods in class org.omg.PortableServer.AdapterActivatorPOA has changed between the two releases and hence the problem.
    We are trying to move away from Visibroker ORB and have requested OLAPI team to remove all dependencies on Visi ORB. Although there is no known dependencies on it, there seems to be dependencies because the idl compiler (from Visibroker) is inserting referces to Visibroker code.
    To work around :
    Remove/rename iiop.jar file in ORACLE_HOME/J2EE/HOME directory. Be warned that EJB's wont work if it is renamed or removed.
    This should only be considered as a temporary work around until we decide our next steps.
    </snip>
    Use at own risk..
    The error reported in this thread disappeared with this workaround, but unfortunately I got another one:
    500 Internal Server Error
    javax.servlet.jsp.JspException: BIB-10310 An unknown exception occurred.BIB-10101 Handler failed to handle UserObject.java.lang.NullPointerException     at oracle.dss.addins.jspTags.PresentationTag.doStartTag(PresentationTag.java:254)     at simpleJSP.jspService(_simpleJSP.java:72)     [SRC:/simpleJSP.jsp:6]     at com.orionserver[Oracle9iAS (9.0.3.0.0) Containers for J2EE].http.OrionHttpJspPage.service(OrionHttpJspPage.java:56)     at oracle.jsp.runtimev2.JspPageTable.compileAndServe(JspPageTable.java:510)     at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:257)     at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:423)     at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:346)     at javax.servlet.http.HttpServlet.service(HttpServlet.java:336)     at com.evermind[Oracle9iAS (9.0.3.0.0) Containers for J2EE].server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:691)     at com.evermind[Oracle9iAS (9.0.3.0.0) Containers for J2EE].server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:276)     at com.evermind[Oracle9iAS (9.0.3.0.0) Containers for J2EE].server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:737)     at com.evermind[Oracle9iAS (9.0.3.0.0) Containers for J2EE].server.http.HttpRequestHandler.run(HttpRequestHandler.java:247)     at com.evermind[Oracle9iAS (9.0.3.0.0) Containers for J2EE].util.ThreadPoolThread.run(ThreadPoolThread.java:64)
    Tips anyone..?
    Jens

  • Upgrading from j2sdk-1_4_2_07 to jdk-1_5_0_06  java.lang.VerifyError

    HI,
    i'm trying to upgrade my application from jdsk 1.4.3.07 to jdk 1.5.0.06.
    The applications works fine compiled with 1.4 and run with 1.4 and 1.5, but where i try to compile and run with 1.5 i received a:
    java.lang.VerifyError !!!
    I'm use log4j 1.2.13 and gnuregexp as external library.
    Has someone an idea ?
    thanks in advance
    Carlo Mossa ([email protected])

    Try to use -target 1.4 option of javac.
    Default mode in jdk1.5 is -target 1.5 and it generates classes which are not supported by 1.4.
    See more at:
    http://java.sun.com/j2se/1.5.0/docs/tooldocs/solaris/javac.html

  • Java.lang.VerifyError: Cannot inherit from final class

    Hi i am trying to call a crystal report from jsp but i am getting this error
    error:-
    org.apache.jasper.JasperException: Cannot inherit from final class
         org.apache.jasper.servlet.JspServletWrapper.handleJspException(JspServletWrapper.java:460)
         org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:355)
         org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:329)
         org.apache.jasper.servlet.JspServlet.service(JspServlet.java:265)
         javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
    root cause
    javax.servlet.ServletException: Cannot inherit from final class
         org.apache.jasper.runtime.PageContextImpl.doHandlePageException(PageContextImpl.java:841)
         org.apache.jasper.runtime.PageContextImpl.handlePageException(PageContextImpl.java:774)
         org.apache.jsp._1_jsp._jspService(_1_jsp.java:95)
         org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:98)
         javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
         org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:331)
         org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:329)
         org.apache.jasper.servlet.JspServlet.service(JspServlet.java:265)
         javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
    root cause
    java.lang.VerifyError: Cannot inherit from final class
         java.lang.ClassLoader.defineClass1(Native Method)
         java.lang.ClassLoader.defineClass(Unknown Source)
         java.security.SecureClassLoader.defineClass(Unknown Source)
         org.apache.catalina.loader.WebappClassLoader.findClassInternal(WebappClassLoader.java:1853)
         org.apache.catalina.loader.WebappClassLoader.findClass(WebappClassLoader.java:875)
         org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1330)
         org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1209)
         java.lang.ClassLoader.loadClassInternal(Unknown Source)
         com.crystaldecisions.reports.sdk.ReportClientDocument.open(Unknown Source)
         org.apache.jsp._1_jsp._jspService(_1_jsp.java:64)
         org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:98)
         javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
         org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:331)
         org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:329)
         org.apache.jasper.servlet.JspServlet.service(JspServlet.java:265)
         javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
    my jsp is
    <%@ page import="com.crystaldecisions.report.web.viewer.*" %>
    <%@ page import="com.crystaldecisions.sdk.occa.report.data.*"  %>
    <%@ page import="com.crystaldecisions.reports.sdk.ReportClientDocument" %>
    <%
        Object reportSource = session.getAttribute("reportSource");
        if (reportSource == null)
           String report = "report.rpt";
           ReportClientDocument reportClientDoc = new ReportClientDocument();
           reportClientDoc.open( "report.rpt", 0);
           reportSource = reportClientDoc.getReportSource();
           session.setAttribute("reportSource", reportSource);
        CrystalReportViewer viewer = new CrystalReportViewer();
        viewer.setReportSource(reportSource);
           viewer.setEnableLogonPrompt(false); 
        viewer.setOwnPage(true);
        viewer.processHttpRequest(request, response, getServletConfig().getServletContext(), null);
    %>
    and in my WEB-INF/lib i included jar files namely
    Concurrent.jar,CrystalCharting.jar,CrystalCommon.jar,CrystalContentModels.jar,CrystalExporters.jar,CrystalExportingBase.jar,CrystalFormulas.jar,CrystalQueryEngine.jar,CrystalReportEngine.jar,CrystalReportingCommon.jar,icu4j.jar,jrcerom.jar,keycodeDecoder.jar,log4j.jar,MetafileRenderer.jar,rasapp.jar,rascore.jar,rpoifs.jar,serialization.jar,URIUtil.jar,xml-apis.jar,xbean.jar,xercesImpl.jar,webreporting.jar,webreporting-jsf.jar
    please help me

    You can't inherit from a final class. 
    So - are you trying to inherit from a final class?
    Sincerely,
    Ted Ueda

Maybe you are looking for

  • F4 for the file path

    Hello Everybody, Can someone tell me how to do the F4 for the file which is to be loaded from the presentation server,like v have for UPLOAD Function Module. I have a Parameter for the file path in the selection,I want to know how do v take the file

  • ODS to CUBE loading - taking too much time

    Hi Experts, I am loading data from R/3(4.7) to BW (3.5). I am loading with option --> PSA and then Data Target (ODS ). I have a selection criteria in Infopackage while loading from standard Datasource to ODS. It takes me 20 mins to load 300K records.

  • Embedding video player

    I found a video at youtube I want to add to my web site. I see at youtube you can add an embedded video player and I was wondering if anyone had tried this yet with iWeb and what sort of result you had.

  • Can't burn a cd on itunes

    I am having the same problem with my PC and itunes. I cannot burn a cd nor can I play a burned CD. It will play a compressed store bought cd ? I ran Itunes diagnostics and here are my specs Microsoft Windows XP Professional Service Pack 3 (Build 2600

  • After I put three .mov files in to iMovie it will only let me out them in a certain order and won't let me move them around.  Should I convert them to a different format?

    I put the files on my desktop and imported them into iMovie but now it only lets me havce them in a certain order.  iMovie won't let me drag them to different locations.