Java.lang.VerifyError when using ant 1.6.2

In short, I get the VerifyError when deploying my .ear in Weblogic 8.1 SP2. I have nailed down the issue to this:
I compile all my code using Ant 1.6.2. If I package the code up using ant 1.6.2 I get the VerifyError. If I pacakge the code up using ant 1.4, all is well. Note that when I deploy the 1.6.2 packaged ear file on Windows, all is well also.
During the ant package target I assembly the war and ear using the core war and ear tasks.
We are using precompiled JSPs in the war file. It seems that WL8.1 wants to recompile the JSP file. I am not sure why - the ant 1.4 packaged ear does not want to recompile the same JSP.
The detailed error is:
Servlet class jsp_servlet._portal.__capitalmarketsoverview for servlet /portal/CapitalMarketsOverview.jsp could not be verified.
java.lang.VerifyError: (class: jsp_servlet/_portal/__capitalmarketsoverview, method: _jspService signature: (Ljavax/servlet/http/HttpServletRequest;Ljavax/servlet/http/HttpServletResponse;)V) Incompatible object argument for function call.>
Any help is appreciated,
Harry Duin

Hello,
I could not find an easy way to get the wls version of ant to start using the tasks you mention from ant 1.6.2.
I tried defining the tasks using taskdef and also adding them to wls ant.jar and updating the deafult.properties file but the ant complained about unexpected elements in the build.xml file where I added the new tags (e.g import)
If your really up against it you can try adding wls tasks to ant 1.6.2, they are listed here:
http://e-docs.bea.com/wls/docs81/toolstable/ToolsTable.html#1009580
Although I could not located exactly which jar they are in. Good luck.
Cheers
Hussein Badakhchani
www.orbism.com

Similar Messages

  • Java.lang.InstantiationException when using Action class with constructor

    Hi everyone,
    I'm using the insertNewNode() method from this class in another action class, which works fine. But when this action itself is called, I get an infinite java.lang.InstantiationException (until the stack is overflowed). I'm initiating the fields required in every method in a constructor. If there is no constructor, this action works fine again. What's wrong?
    public class GliederungNewAction implements Action {
         private final String DEFAULT_DESCRIPTION = "Neuer Punkt";
         private OracleConnection connection;
         private String username;
         private String catalogue;
         private String attribute;
         private String parent_attr;
         private int parent_sequenceNr;
         private int requiredSequenceNumber;
         public GliederungNewAction(OracleConnection connection, String username, String catalogue) {
              this.connection = connection;
              this.username = username;
              this.catalogue = catalogue;
         public String perform(ActionMapping mapping, HttpServletRequest request,
                   HttpServletResponse response) {
              HttpSession session = request.getSession();
              // fetch the necessary parameters from the JSP site
              // the parent attribute is the selected attribute!
              parent_attr = request.getParameter("attr");
              catalogue = request.getParameter("catalogue");
              parent_sequenceNr = Integer.parseInt(request.getParameter("sort_sequence"));
              username = session.getAttribute("username").toString().toUpperCase();
              // connect to database    
              db.SessionConnection sessConn = (db.SessionConnection) session.getAttribute("connection");
              if (sessConn != null) {
                   try {
                        sessConn.setAutoCommit(false);
                        connection = (OracleConnection)sessConn.getConnection();
                        // insert the new node into DB
                        insertNewNode(DEFAULT_DESCRIPTION, parent_attr, parent_sequenceNr);               
                        connection.commit();
                        // set attributes for JSP post-action operations
                        request.setAttribute("attr", attribute);
                        request.setAttribute("parent_attr", parent_attr);
                   } catch(SQLException ex) {
                        if ( ex.getErrorCode() == 20001 ) {
                             return "error_edit.do";
                        } else { // for all other error codes, rollback and return general error page
                             try {
                                  connection.rollback();
                                  ex.printStackTrace();
                                  return "error_general.do";
                             } catch (SQLException e) {
                                  System.err.println("Rollback failed!");
                                  e.printStackTrace();
                                  return "error_general.do";
                             } // end of catch     
                        } // end of else
                   } // end of catch
              return mapping.getForward();
            // sample method
          * Creates, fills and executes a prepared statement to insert a new entry into the specified table, representing
          * a new node in the catalogue.
          * @param parent_attr TODO
          * @param parent_sequenceNr TODO
          * @throws SQLException
         public void insertNewNode(String description, String parent_attr, int parent_sequenceNr) throws SQLException {
                   requiredSequenceNumber = getRequiredSequenceNumber(parent_attr, parent_sequenceNr);
                   int freeSequenceNumber = getFreeSequenceNumber(requiredSequenceNumber);
                   int lastPosition = getLastNodePosition( getLastChildAttribute(parent_attr) );
                   attribute = createNewNodeAttribute(parent_attr, lastPosition);
                   String callAddNode = "{ call package.addNode(:1, :2, :3, :4, :5, :6, :7) }";
                   CallableStatement cst;
                   cst = connection.prepareCall(callAddNode);
                   cst.setString(1, username );
                   cst.setString(2, catalogue);
                   cst.setString(3, attribute);
                   cst.setString(4, parent_attr);
                   cst.setString(5, description);
                   cst.setInt(6, requiredSequenceNumber);
                   cst.setInt(7, freeSequenceNumber);
                   cst.execute();
                   cst.close();
    java.lang.InstantiationException: action.GliederungNewAction
         at java.lang.Class.newInstance0(Unknown Source)
         at java.lang.Class.newInstance(Unknown Source)
         at action.ActionMapping.perform(ActionMapping.java:54)
         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.ApplicationDispatcher.invoke(ApplicationDispatcher.java:679)
         at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:431)
         at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:355)
         at ControllerServlet.doResponse(ControllerServlet.java:103)
         at ControllerServlet.doPost(ControllerServlet.java:50)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         .......

    You're welcome.
    Still, I would report this as a bug at the Struts mailinglist/issuetracker. This silly behaviour shouldn't happen. Once an InstantiationException, okay, but in an infinite loop?!? That's definately a bug. Also the detail message may be more informative, e.g. "No default constructor found" or so.

  • "java.lang.NullPointerException" when use doFinal(byte[])

    My code here:
    KeyFactory kf = null;
    Cipher cipher = null;
    PrivateKey pk = null;
    byte[] symKey = null;
    try {
    Security.addProvider(new BouncyCastleProvider());
    catch (Exception e) {
    System.err.println("Error loading security provider (" +
    e.getMessage() + ")");
    try {
    kf = KeyFactory.getInstance("RSA");
    catch (NoSuchAlgorithmException ex1) {
    try {
    pk = kf.generatePrivate(priServer);
    catch (InvalidKeySpecException ex3) {
    try {
    cipher = Cipher.getInstance("RSA");
    catch (NoSuchAlgorithmException ex2) {
    catch (NoSuchPaddingException ex2) {
    try {
    cipher.init(Cipher.DECRYPT_MODE, pk);
    catch (InvalidKeyException ex4) {
    try {
    symKey = cipher.doFinal(CEK); //get encode of symmetric key
    when CEK is byte[].
    I got exception :
    java.lang.NullPointerException
         at java.math.BigInteger.remainder(BigInteger.java:1239)
         at org.bouncycastle.crypto.engines.RSAEngine.processBlock(RSAEngine.java:133)
         at org.bouncycastle.jce.provider.JCERSACipher.engineDoFinal(JCERSACipher.java:288)
    where my code wrong? Please help me!
    Note : I use bouncycastle provider.
    Thanks

    bla bla bla
    kf = KeyFactory.getInstance("RSA");
    pk = kf.generatePrivate(priServer);
    cipher = Cipher.getInstance("RSA");
    cipher.init(Cipher.DECRYPT_MODE, pk);IMHO RSA is 2-keys algorithm => you cannot use it in cipher class
    If u need encrypt use PBE for example
    PBEKeySpec pbeKeySpec;
    PBEParameterSpec pbeParamSpec;
    SecretKeyFactory keyFac;
    // Salt
    byte[] salt = ...;
    // Iteration count
    int count = 20;
    // Create PBE parameter set
    pbeParamSpec = new PBEParameterSpec(salt, count);
    // Prompt user for encryption password.
    pbeKeySpec = new PBEKeySpec(pass); //String with
    keyFac = SecretKeyFactory.getInstance("PBEWithMD5AndDES");
    SecretKey pbeKey = keyFac.generateSecret(pbeKeySpec);
    // Create PBE Cipher
    Cipher pbeCipher = Cipher.getInstance("PBEWithMD5AndDES");
    // Initialize PBE Cipher with key and parameters
    pbeCipher.init(Cipher.ENCRYPT_MODE, pbeKey, pbeParamSpec);
    // Our cleartext
    byte[] cleartext = "This is another example".getBytes();
    // Encrypt the cleartext
    byte[] ciphertext = pbeCipher.doFinal(cleartext);

  • Java.lang.NullPointerException when using DataSource connection and executing CallableStatement

    Hi Guys
    I am having some problem as I am using a DataSource for connections and randomly
    the CallableStatements and PreparedStatements created from this DataSource becomes
    null and everytime I get NullPointerException with this message.
    java.sql.SQLException: java.lang.NullPointerException
         at weblogic.jdbc.rmi.SerialPreparedStatement.setString(SerialPreparedStatement.java:210)
         at .........
    Help will be appreciated..

    Hi Guys
    I am having some problem as I am using a DataSource for connections and randomly
    the CallableStatements and PreparedStatements created from this DataSource becomes
    null and everytime I get NullPointerException with this message.
    java.sql.SQLException: java.lang.NullPointerException
         at weblogic.jdbc.rmi.SerialPreparedStatement.setString(SerialPreparedStatement.java:210)
         at .........
    Help will be appreciated..

  • Java.lang.ArrayIndexOutOfBoundsException when using SOAP over SSL

    Looks like a strange thing. I am using MS SOAP Toolkit 2.0 sp2 to make SOAP calls
    to Weblogic (Win2000, 6.1) over SSL. On Weblogic I have an RPC service (EJB).
    I'm getting
    <Mar 26, 2002 9:14:56 PM EST> <Error> <HTTP> <Connection failure
    java.lang.ArrayIndexOutOfBoundsException
    at weblogic.security.SSL.GenericCipher.input(GenericCipher.java:216)
    at weblogic.security.SSL.SSLCiphertext.input(SSLCiphertext.java:65)
    at weblogic.security.SSL.SSLSocket.getRecord(SSLSocket.java:1030)
    at weblogic.security.SSL.RecordInputStream.getData(RecordInputStream.java:109)
    at weblogic.security.SSL.RecordInputStream.read(RecordInputStream.java:51)
    at weblogic.socket.SSLFilter.isMessageComplete(SSLFilter.java:182)
    at weblogic.socket.NTSocketMuxer.processSockets(NTSocketMuxer.java:605)
    at weblogic.socket.SocketReaderRequest.execute(SocketReaderRequest.java:24)
    at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:139)
    at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:120)
    But what's interesting, it's actually working. I am getting data as expected.
    Any idea what it could be?
    Thanks,
    Serge

    Looks like a strange thing. I am using MS SOAP Toolkit 2.0 sp2 to make SOAP calls
    to Weblogic (Win2000, 6.1) over SSL. On Weblogic I have an RPC service (EJB).
    I'm getting
    <Mar 26, 2002 9:14:56 PM EST> <Error> <HTTP> <Connection failure
    java.lang.ArrayIndexOutOfBoundsException
    at weblogic.security.SSL.GenericCipher.input(GenericCipher.java:216)
    at weblogic.security.SSL.SSLCiphertext.input(SSLCiphertext.java:65)
    at weblogic.security.SSL.SSLSocket.getRecord(SSLSocket.java:1030)
    at weblogic.security.SSL.RecordInputStream.getData(RecordInputStream.java:109)
    at weblogic.security.SSL.RecordInputStream.read(RecordInputStream.java:51)
    at weblogic.socket.SSLFilter.isMessageComplete(SSLFilter.java:182)
    at weblogic.socket.NTSocketMuxer.processSockets(NTSocketMuxer.java:605)
    at weblogic.socket.SocketReaderRequest.execute(SocketReaderRequest.java:24)
    at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:139)
    at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:120)
    But what's interesting, it's actually working. I am getting data as expected.
    Any idea what it could be?
    Thanks,
    Serge

  • Java.lang.NullPointerException when using readTemplate with WLST offline

    I imported WLST offline as a module in to jython script and tried
    wlstOffline.readTemplate('../wls.jar')
    It gives me a java.lang.NullPointerException.
    Here is the entire stack trace
    Traceback (innermost last):
      File "testOffline.py", line 3, in ?
      File "E:\wlst\wlstOffline.py", line 78, in readDomain
    java.lang.NullPointerException
            at com.bea.plateng.domain.script.jython.WLScriptContext.handleException(
    Ljava/lang/Exception;Ljava/lang/String;)V(WLScriptContext.java:897)
            at com.bea.plateng.domain.script.jython.WLScriptContext.readDomain(Ljava
    /lang/String;)V(WLScriptContext.java:244)
            at jrockit.reflect.NativeMethodInvoker.invoke0(Ljava/lang/Object;ILjava/
    lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;(Unknown Source)
            at jrockit.reflect.NativeMethodInvoker.invoke(Ljava/lang/Object;[Ljava/l
    ang/Object;)Ljava/lang/Object;(Unknown Source)
            at jrockit.reflect.VirtualNativeMethodInvoker.invoke(Ljava/lang/Object;[
    Ljava/lang/Object;)Ljava/lang/Object;(Unknown Source)
            at java.lang.reflect.Method.invoke(Ljava/lang/Object;[Ljava/lang/Object;
    I)Ljava/lang/Object;(Unknown Source)
            at org.python.core.PyReflectedFunction.__call__(Lorg/python/core/PyObjec
    t;[Lorg/python/core/PyObject;[Ljava/lang/String;)Lorg/python/core/PyObject;(PyRe
    flectedFunction.java:???)
            at org.python.core.PyMethod.__call__([Lorg/python/core/PyObject;[Ljava/l
    ang/String;)Lorg/python/core/PyObject;(PyMethod.java:???)
            at org.python.core.PyObject.__call__(Lorg/python/core/PyObject;)Lorg/pyt
    hon/core/PyObject;(PyObject.java:???)
            at org.python.core.PyInstance.invoke(Ljava/lang/String;Lorg/python/core/
    PyObject;)Lorg/python/core/PyObject;(PyInstance.java:???)
            at wlstOffline$py.readDomain$16(Lorg/python/core/PyFrame;)Lorg/python/co
    re/PyObject;(E:\wlst\wlstOffline.py:78)
            at wlstOffline$py.call_function(ILorg/python/core/PyFrame;)Lorg/python/c
    ore/PyObject;(E:\wlst\wlstOffline.py:???)
            at org.python.core.PyTableCode.call(Lorg/python/core/PyFrame;Lorg/python
    /core/PyObject;)Lorg/python/core/PyObject;(PyTableCode.java:???)
            at org.python.core.PyTableCode.call(Lorg/python/core/PyObject;Lorg/pytho
    n/core/PyObject;[Lorg/python/core/PyObject;Lorg/python/core/PyObject;)Lorg/pytho
    n/core/PyObject;(PyTableCode.java:???)
            at org.python.core.PyFunction.__call__(Lorg/python/core/PyObject;)Lorg/p
    ython/core/PyObject;(PyFunction.java:???)
            at org.python.core.PyObject.invoke(Ljava/lang/String;Lorg/python/core/Py
    Object;)Lorg/python/core/PyObject;(PyObject.java:???)
            at org.python.pycode._pyx0.f$0(Lorg/python/core/PyFrame;)Lorg/python/cor
    e/PyObject;(testOffline.py:3)
            at org.python.pycode._pyx0.call_function(ILorg/python/core/PyFrame;)Lorg
    /python/core/PyObject;(testOffline.py:???)
            at org.python.core.PyTableCode.call(Lorg/python/core/PyFrame;Lorg/python
    /core/PyObject;)Lorg/python/core/PyObject;(PyTableCode.java:???)
            at org.python.core.PyCode.call(Lorg/python/core/PyFrame;)Lorg/python/cor
    e/PyObject;(PyCode.java:???)
            at org.python.core.Py.runCode(Lorg/python/core/PyCode;Lorg/python/core/P
    yObject;Lorg/python/core/PyObject;)Lorg/python/core/PyObject;(Py.java:???)
            at org.python.core.__builtin__.execfile_flags(Ljava/lang/String;Lorg/pyt
    hon/core/PyObject;Lorg/python/core/PyObject;Lorg/python/core/CompilerFlags;)V(__
    builtin__.java:???)
            at org.python.util.PythonInterpreter.execfile(Ljava/lang/String;)V(Pytho
    nInterpreter.java:???)
            at org.python.util.jython.main([Ljava/lang/String;)V(jython.java:???)
    java.lang.NullPointerException: java.lang.NullPointerException
    [/pre]
    Can any one tell me what might be the problem.
    Thanks                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

    The domain exists.
    And the line 78 in wlstOffline.py is as follows
    77 def readDomain(domainDir):
    78 WLS.readDomain(domainDir)
    79 updateCmo()
    80 updatePrompt()

  • Java.lang.NullpointerException when use source table as a mapping component

    Hi all,
    I am new to owb and I got NullPointerException when I try to drag a table to my mapping.
    The table is imported and it's from a windows oracle database. The mapping is located on my linux oracle database.
    By the way, I can even deploy the table.
    What have I done wrong and why this happen?
    thanks in advance.
    帖子经 953800编辑过

    Hi Timo,
    Thanks for the reply,
    If I understand correctly I need to apply to the weblogic server 10.3.5 + Sherman patch UPDATE1 patch #12979653 and patch #12917525. After this the ADF Runtime 11.1.1.5 installed in the Production environments will allow me to run my application that is running in ADF Runtime 11.1.2.1. right?
    I'm working on getting this patches installed. Thank you very much for your help.
    I run the test on my local server as a test class and as a web service, it worked perfect, nevertheless in the Production environment I got a interesting answer:
    Production 1 and 2:
    Request:
    <?xml version="1.0" encoding="UTF-8"?>
    <env:Envelope xmlns:env="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ns1="http://model/">
    <env:Header/>
    <env:Body>
    <ns1:getVersion/>
    </env:Body>
    </env:Envelope>
    Response
    <?xml version='1.0' encoding='UTF-8'?>
    <S:Envelope xmlns:S="http://schemas.xmlsoap.org/soap/envelope/">
    <S:Body>
    <S:Fault xmlns:ns4="http://www.w3.org/2003/05/soap-envelope">
    <faultcode>S:Server</faultcode>
    <faultstring>oracle/jbo/Version</faultstring>
    </S:Fault>
    </S:Body>
    </S:Envelope>
    Request:
    <?xml version="1.0" encoding="UTF-8"?>
    <env:Envelope xmlns:env="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ns1="http://model/">
    <env:Header/>
    <env:Body>
    <ns1:getBuildLabel/>
    </env:Body>
    </env:Envelope>
    Response:
    <?xml version='1.0' encoding='UTF-8'?>
    <S:Envelope xmlns:S="http://schemas.xmlsoap.org/soap/envelope/">
    <S:Body>
    <ns2:getBuildLabelResponse xmlns:ns2="http://model/">
    <return>oracle.jbo.Version</return>
    </ns2:getBuildLabelResponse>
    </S:Body>
    </S:Envelope>
    Edited by: 917852 on Jul 12, 2012 11:31 AM

  • 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

  • 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 - 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.

  • 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>

  • 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

  • Error : java.lang.VerifyError: (class: oracle/forms/fd/JCalendarJinit$1,..

    Hi,
    How to solve this error:
    java.lang.VerifyError: (class: oracle/forms/fd/JCalendarJinit$1, method: <init> signature: (Loracle/forms/fd/JCalendarJinit;)V) Expecting to find object/array on stack
         at oracle.forms.fd.JCalendarJinit.<init>(JCalendarJinit.java:66) ............
    I edited the JCalendarJinit.java file for the JCalendar control for the Oracle Forms, I created the jar file, and when using in the forms, i am getting this error when running the oracle form,
    I read, it may be version problem, How can I set the Java version to 1.3 for this java file.
    Thanks in advance,

    Jacob,
    I have received complaints from users, that have got this error on some beans while migrating to Forms 10.1.2.3, even with Sun 1.6 plug-in.
    The beans worked fine with 10.1.2
    Francois

  • 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 Heap Error when using Stateless Session Timer Bean deployed in Oracle

    Hi,
    Am getting following Java Heap Error when using Stateless Session Timer Bean deployed in Oracle 10g AS R3 (Oracle Containers for J2EE 10g (10.1.3.0.0) (build 060119.1546.05277) ):
    06/08/02 14:58:43 javax.ejb.EJBException: java.lang.OutOfMemoryError: Java heap space
    06/08/02 14:58:43 at com.evermind.server.ejb.EJBUtils.getLocalUserException(EJBUtils.java:304)
    06/08/02 14:58:43 at com.evermind.server.ejb.interceptor.system.AbstractTxInterceptor.convertAndHandleMethodException(AbstractTxInterceptor.java:67)
    06/08/02 14:58:43 at com.evermind.server.ejb.interceptor.system.TxNotSupportedInterceptor.invoke(TxNotSupportedInterceptor.java:45)
    06/08/02 14:58:43 at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:69)
    06/08/02 14:58:43 at com.evermind.server.ejb.StatelessSessionEJBObject.OC4J_invokeMethod(StatelessSessionEJBObject.java:86)
    06/08/02 14:58:43 at com.evermind.server.ejb.StatelessSessionEJBHome.invokeTimer(StatelessSessionEJBHome.java:71)
    06/08/02 14:58:43 at com.evermind.server.ejb.EJBContainer.invokeTimer(EJBContainer.java:1624)
    06/08/02 14:58:43 at oracle.ias.container.scheduler.TimerTask.runBeanTimer(TimerTask.java:92)
    06/08/02 14:58:43 at oracle.ias.container.scheduler.TimerTask.run(TimerTask.java:184)
    06/08/02 14:58:43 at EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(PooledExecutor.java:819)
    06/08/02 14:58:43 at java.lang.Thread.run(Thread.java:595)
    06/08/02 14:58:43 Caused by: java.lang.OutOfMemoryError: Java heap space
    I had tried using -Xms / -Xmx options (upto 1 GB).
    The trace of exception gets delayed (from being displayed on the console) as the memory size is increased; but after sometime it starts getting displayed on the console.
    Even though this exception is displayed on the console, the Timer Bean continues to execute upto sometime before it finally crashes!
    If anyone has encountered such problem; would appreciate if you could share the solution.
    Regards, Vidyadhar

    Hi guys, I have the same problem. I have an application EAR file with two modules (EJB and WAR starting in this order). The application can schedule a process via EJB timer. In this case restarting the server I receive the error above. If I change the modules start order --> WAR - EJB the server start correctly, but the application scheduler fails (the persistency is not working) with this error:
    07/10/09 10:30:54 FINISSIMO: TimerTask.runBeanTimer java.lang.NullPointerException; nested exception is: java.lang.NullPointerExceptionjavax.ejb.TransactionRolledbackLocalException: java.lang.NullPointerException; nested exception is: java.lang.NullPointerException
    java.lang.NullPointerException
         at java.util.ListResourceBundle.handleGetObject(ListResourceBundle.java:107)
         at java.util.ResourceBundle.getObject(ResourceBundle.java:319)
         at java.util.ResourceBundle.getString(ResourceBundle.java:285)
         at java.util.logging.Formatter.formatMessage(Formatter.java:108)
         at oracle.j2ee.util.TraceLogFormatter.format(TraceLogger.java:124)
         at oracle.j2ee.util.TraceLogger$TraceLoggerHandler.publish(TraceLogger.java:105)
         at java.util.logging.Logger.log(Logger.java:428)
         at java.util.logging.Logger.doLog(Logger.java:450)
         at java.util.logging.Logger.log(Logger.java:539)
         at oracle.ias.container.timer.TimerEntry.readObjFromBytes(TimerEntry.java:308)
         at oracle.ias.container.timer.TimerEntry.getInfo(TimerEntry.java:107)
         at oracle.ias.container.timer.Timer.getInfo(Timer.java:367)
         at oracle.ias.container.timer.EJBTimerImpl.getInfo(EJBTimerImpl.java:89)
         at com.finantix.foundation.integration.ejbtimer.EJBTimerServiceExecutorBean.ejbTimeout(EJBTimerServiceExecutorBean.java:42)
         at com.evermind.server.ejb.interceptor.joinpoint.EJBTimeoutJoinPoint.invoke(EJBTimeoutJoinPoint.java:20)
         at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
         at com.evermind.server.ejb.interceptor.system.DMSInterceptor.invoke(DMSInterceptor.java:52)
         at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
         at com.evermind.server.ejb.interceptor.system.SetContextActionInterceptor.invoke(SetContextActionInterceptor.java:44)
         at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
         at com.evermind.server.ejb.interceptor.system.TxBeanManagedInterceptor.invoke(TxBeanManagedInterceptor.java:53)
         at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
         at com.evermind.server.ejb.InvocationContextPool.invoke(InvocationContextPool.java:55)
         at com.evermind.server.ejb.StatelessSessionEJBObject.OC4J_invokeMethod(StatelessSessionEJBObject.java:87)
         at com.evermind.server.ejb.StatelessSessionEJBHome.invokeTimer(StatelessSessionEJBHome.java:38)
         at com.evermind.server.ejb.EJBContainer.invokeTimer(EJBContainer.java:1714)
         at oracle.ias.container.scheduler.TimerTask.runBeanTimer(TimerTask.java:106)
         at oracle.ias.container.scheduler.TimerTask.run(TimerTask.java:220)
         at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
         at java.lang.Thread.run(Thread.java:595)
    javax.ejb.TransactionRolledbackLocalException: java.lang.NullPointerException; nested exception is: java.lang.NullPointerException
         at com.evermind.server.ejb.EJBUtils.getLocalUserException(EJBUtils.java:309)
         at com.evermind.server.ejb.interceptor.system.AbstractTxInterceptor.convertAndHandleMethodException(AbstractTxInterceptor.java:73)
         at com.evermind.server.ejb.interceptor.system.TxBeanManagedInterceptor.invoke(TxBeanManagedInterceptor.java:55)
         at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
         at com.evermind.server.ejb.InvocationContextPool.invoke(InvocationContextPool.java:55)
         at com.evermind.server.ejb.StatelessSessionEJBObject.OC4J_invokeMethod(StatelessSessionEJBObject.java:87)
         at com.evermind.server.ejb.StatelessSessionEJBHome.invokeTimer(StatelessSessionEJBHome.java:38)
         at com.evermind.server.ejb.EJBContainer.invokeTimer(EJBContainer.java:1714)
         at oracle.ias.container.scheduler.TimerTask.runBeanTimer(TimerTask.java:106)
         at oracle.ias.container.scheduler.TimerTask.run(TimerTask.java:220)
         at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
         at java.lang.Thread.run(Thread.java:595)
    Caused by: java.lang.NullPointerException
         at java.util.ListResourceBundle.handleGetObject(ListResourceBundle.java:107)
         at java.util.ResourceBundle.getObject(ResourceBundle.java:319)
         at java.util.ResourceBundle.getString(ResourceBundle.java:285)
         at java.util.logging.Formatter.formatMessage(Formatter.java:108)
         at oracle.j2ee.util.TraceLogFormatter.format(TraceLogger.java:124)
         at oracle.j2ee.util.TraceLogger$TraceLoggerHandler.publish(TraceLogger.java:105)
         at java.util.logging.Logger.log(Logger.java:428)
         at java.util.logging.Logger.doLog(Logger.java:450)
         at java.util.logging.Logger.log(Logger.java:539)
         at oracle.ias.container.timer.TimerEntry.readObjFromBytes(TimerEntry.java:308)
         at oracle.ias.container.timer.TimerEntry.getInfo(TimerEntry.java:107)
         at oracle.ias.container.timer.Timer.getInfo(Timer.java:367)
         at oracle.ias.container.timer.EJBTimerImpl.getInfo(EJBTimerImpl.java:89)
         at com.finantix.foundation.integration.ejbtimer.EJBTimerServiceExecutorBean.ejbTimeout(EJBTimerServiceExecutorBean.java:42)
         at com.evermind.server.ejb.interceptor.joinpoint.EJBTimeoutJoinPoint.invoke(EJBTimeoutJoinPoint.java:20)
         at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
         at com.evermind.server.ejb.interceptor.system.DMSInterceptor.invoke(DMSInterceptor.java:52)
         at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
         at com.evermind.server.ejb.interceptor.system.SetContextActionInterceptor.invoke(SetContextActionInterceptor.java:44)
         at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
         at com.evermind.server.ejb.interceptor.system.TxBeanManagedInterceptor.invoke(TxBeanManagedInterceptor.java:53)
         ... 9 more
    Any idea?
    Thx Auro

Maybe you are looking for

  • Access ODBC link table list ONLY one table

    Hi all, I try to link Oracle tables from Microsoft Access via Link Table. The return list show ONLY one table, which by right it should show ALL tables in my Database. What is the problem here? Anyone encounter this same problem before. My database i

  • I downloaded the iOS 7.0.2 update and now my iPad is stuck on stupid

    Downloaded iOS 7.0.2 , when ipad shut down to restart and install, it got stuck flashing back and forth from reboot screen with the apple logo on it, and my lock screen.  It's been flashing back and forth for about 45 mins now and I'm about ready to

  • Waas, large block of data, ftp

    Hi, a bit new to waas. Doing some testing with waas in lab environment. Works great when tranfering data with ftp when link is not congested. But when I test with congested links I see that the ftp session times out (that is: files that is already ca

  • Where i can download iText libraries??

    Hi friends can any one help me to download itext-1.3.jar file, i want use that for pdf file reports.. from where i can download?? thanks in advance.. null

  • N95 V11.0.026 Help!

    Ah the joys of moblie phones! I recently got fooled into purchasing a N95. Unfortunately I've had nothing but hassel with it. The usual frezzing when trying to use the application, camera quality quite poor, battery life - or rather lack off, Maps, o