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

Similar Messages

  • 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

  • Crystal Reports 2013 java-error "java.lang.ClassCastException: class com.crystaldecisions..." when promoting

    Hi,
    when promoting "Crystal Report 2013" report (with data connectivity BW MDX Query) from BO DEV to BO PROD with BO Promotion Mgmt (LCM), we get the following error message in LCM jobs history:
    Resolution Status=Overwritten, Dependency Status=All the required dependencies are included.,
    Commit Status=Commit attempted and failed.,
    Promotion Status=Failure : Object promoted. Update failed.
    Error: java.lang.ClassCastException: class com.crystaldecisions.sdk.occa.report.lib.ByteArray:java.net.URLClassLoader@1d634758 incompatible
    with class com.crystaldecisions.sdk.occa.report.lib.PropertyBag:java.net.URLClassLoader@1d634758
    The report itself is present on BO PROD, but the overwrite (BW DEV MDX Query-> BW PROD MDX Query) is not applied, so report connectivity still points to the BW Query on the development system :-( .
    Moreover, the overwrite itself is detected when the job is "test promoted" ("active overwrite").
    Before, we successfully were able to transport crystal reports 2013 with overwrite (the connection then pointed to BW PROD). No idea yet what suddenly changed that...
    Any ideas what causes the error and what can fix it (no posts found, no SAP note, google also no hits)?
    Best regards
    Florian Pitschi

    Update:
    After more investigation, it looks as if the BO Server "CrystalReports2013ReportApplicationServer"
    from time to time has an issue - not only when promoting, but also when viewing publications that contain Crystal Report documents or when executing them, the java class error or similar issue is thrown.
    Did sb face similar behaviour and knows what is the root cause for "CrystalReports2013ReportApplicationServer" not working probably and throwing the java-class error? - it was running fine for several months, now, the class error showed up twice in one month.
    We need to find out what is causing the issue (aleady checked tomcat and BO-logfiles...).
    Best Regards
    Florian

  • OAS 9.0.4 display error: java.lang.verify.error

    Hi,
    I have an adf application, in jdevelper 10.1.2 and jheadstart 10.1.2...in oc4j embedded run correctly, but its deployed in:
    oas 10g 9.0.4 display the following error:
    java.lang.VerifyError: (class: oracle/adf/controller/lifecycle/PageLifecycle, method: initializeParameterValuesUsingRequestObject signature: (Loracle/adf/controller/lifecycle/LifecycleContext;Loracle/jbo/uicli/binding/JUCtrlActionBinding;)V) Incompatible object argument for funcßf8?Þ?î<ul8?Þ?î<
         at oracle.jheadstart.controller.strutsadf.action.JhsStrutsPageLifecycleFactory.getJSPLifeCycle(JhsStrutsPageLifecycleFactory.java:83)
         at oracle.jheadstart.controller.strutsadf.action.JSPLifecycleFactory.getPageLifecycle(JSPLifecycleFactory.java:40)
         at oracle.adf.controller.struts.actions.DataActionMapping.freeze(DataActionMapping.java:212)
         at org.apache.struts.config.impl.ModuleConfigImpl.freeze(ModuleConfigImpl.java:503)
         at org.apache.struts.action.ActionServlet.init(ActionServlet.java:474)
         at javax.servlet.GenericServlet.init(GenericServlet.java:258)
         at oracle.jheadstart.controller.strutsadf.JhsActionServlet.init(JhsActionServlet.java:195)
         at com.evermind[Oracle Application Server Containers for J2EE 10g (9.0.4.1.0)].server.http.HttpApplication.loadServlet(HttpApplication.java:2130)
         at com.evermind[Oracle Application Server Containers for J2EE 10g (9.0.4.1.0)].server.http.HttpApplication.findServlet(HttpApplication.java:4560)
         at com.evermind[Oracle Application Server Containers for J2EE 10g (9.0.4.1.0)].server.http.HttpApplication.getRequestDispatcher(HttpApplication.java:2598)
         at com.evermind[Oracle Application Server Containers for J2EE 10g (9.0.4.1.0)].server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:643)
         at com.evermind[Oracle Application Server Containers for J2EE 10g (9.0.4.1.0)].server.http.AJPRequestHandler.run(AJPRequestHandler.java:208)
         at com.evermind[Oracle Application Server Containers for J2EE 10g (9.0.4.1.0)].server.http.AJPRequestHandler.run(AJPRequestHandler.java:125)
         at com.evermind[Oracle Application Server Containers for J2EE 10g (9.0.4.1.0)].util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:192)
         at java.lang.Thread.run(Thread.java:534)
    I configure mi app according to:
    http://www.oracle.com/technology/products/jdev/collateral/papers/10g/as_supportmatrix.html
    help me please...
    Rigoberto

    Rigoberto,
    Can you apply the steps as documented by Steve Muench at
    http://radio.weblogs.com/0118231/stories/2005/05/20/stepsToDeployJheadstartTutorialApplication.html
    and see whether the problem persists?
    Steven Davelaar,
    JHeadstart Team.

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

  • Java.lang.VerifyError - another cause

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

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

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

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

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

  • Java.lang.NoClassDefFoundError at oracle.xml.parser.v2.NonValidatingParser

    Hi All,
    While accessing the JPDK provider URL that is integrated with PeopleSoft application, I am getting the following error
    500 Internal Server Error
    java.lang.NoClassDefFoundError at oracle.xml.parser.v2.NonValidatingParser.(NonValidatingParser.java:172) at oracle.xml.parser.v2.XMLParser.(XMLParser.java:174) at oracle.xml.parser.v2.DOMParser.(DOMParser.java:92) at oracle.portal.utils.xml.v2.XMLUtil.getParser(Unknown Source) at oracle.portal.utils.xml.v2.XMLUtil.parseDocument(Unknown Source) at oracle.portal.provider.v2.http.DefaultProviderLoader.parseRegistry(Unknown Source) at oracle.portal.provider.v2.http.DefaultProviderLoader.getProviderDefinition(Unknown Source) at oracle.portal.provider.v2.http.DefaultProviderLoader.validate(Unknown Source) at oracle.webdb.provider.v2.adapter.soapV1.ProviderAdapter.validate(Unknown Source) at oracle.webdb.provider.v2.adapter.soapV1.ProviderAdapter.showTestPage(Unknown Source) at oracle.webdb.provider.v2.adapter.soapV1.ProviderAdapter.handleHttp(Unknown Source) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at oracle.webdb.provider.v2.adapter.SOAPServlet.doHTTPCall(Unknown Source) at oracle.webdb.provider.v2.adapter.SOAPServlet.service(Unknown Source) at javax.servlet.http.HttpServlet.service(HttpServlet.java:856) at com.evermind.server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:64) at com.peoplesoft.pt.portlet.jpdk.provider.PSProviderFilter.doFilter(PSProviderFilter.java:78) at com.evermind.server.http.EvermindFilterChain.doFilter(EvermindFilterChain.java:15) at com.peoplesoft.pt.portlet.logging.DynamicFilter.doFilter(DynamicFilter.java:83) at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:619) at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:368) at com.evermind.server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:866) at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:448) at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:302) at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:190) at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260) at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303) at java.lang.Thread.run(Thread.java:595)
    As our application uses AXIS to do WebServices, we have removed the default oracle xml shared library by using remove-inherited in orion-application.xml. In addition, we package our own xerces in our application ear file. It looks like PDK is looking for oracle xml parser resulting in the NoClassDefFoundError exception.
    The above exception is thrown if I access the JDPK provider URL after accessing our application.
    However, if I restart the OC4J and ccess the JPDK provider URL without accessing our application, I get the following error
    500 Internal Server Error
    oracle.classloader.util.AnnotatedLinkageError: class oracle.xml.parser.schema.XSDNode cannot access its superinterface oracle.xml.parser.schema.XSDComponent Invalid class: oracle.xml.parser.schema.XSDNode Loader: oracle.cache:10.1.3 Code-Source: /D:/Oracle/OAS101310/OracleAS_1/LIB/xschema.jar Configuration: (ignore manifest Class-Path) in META-INF/boot.xml in D:\Oracle\OAS101310\OracleAS_1\j2ee\home\oc4j.jar Dependent class: oracle.xml.parser.v2.XMLNode Loader: PeopleSoft2.web.pspc:0.0.0 Code-Source: /D:/Oracle/OAS101310/OracleAS_1/j2ee/PeopleSoft2/applications/PeopleSoft2/pspc/WEB-INF/lib/xmlparserv2.jar Configuration: WEB-INF/lib/ directory in D:\Oracle\OAS101310\OracleAS_1\j2ee\PeopleSoft2\applications\PeopleSoft2\pspc\WEB-INF\lib at oracle.classloader.PolicyClassLoader.findLocalClass (PolicyClassLoader.java:1462) [D:/Oracle/OAS101310/OracleAS_1/j2ee/home/lib/pcl.jar (from system property java.class.path), by sun.misc.Launcher$AppClassLoader@26795951] at oracle.classloader.SearchPolicy$FindLocal.getClass (SearchPolicy.java:167) [D:/Oracle/OAS101310/OracleAS_1/j2ee/home/lib/pcl.jar (from system property java.class.path), by sun.misc.Launcher$AppClassLoader@26795951] at oracle.classloader.SearchSequence.getClass (SearchSequence.java:119) [D:/Oracle/OAS101310/OracleAS_1/j2ee/home/lib/pcl.jar (from system property java.class.path), by sun.misc.Launcher$AppClassLoader@26795951] at oracle.classloader.SearchPolicy.loadClass (SearchPolicy.java:645) [D:/Oracle/OAS101310/OracleAS_1/j2ee/home/lib/pcl.jar (from system property java.class.path), by sun.misc.Launcher$AppClassLoader@26795951] at oracle.classloader.SearchPolicy$CheckSharedLibraries.getClass (SearchPolicy.java:396) [D:/Oracle/OAS101310/OracleAS_1/j2ee/home/lib/pcl.jar (from system property java.class.path), by sun.misc.Launcher$AppClassLoader@26795951] at oracle.classloader.SearchSequence.getClass (SearchSequence.java:119) [D:/Oracle/OAS101310/OracleAS_1/j2ee/home/lib/pcl.jar (from system property java.class.path), by sun.misc.Launcher$AppClassLoader@26795951] at oracle.classloader.PolicyClassLoader.internalLoadClass (PolicyClassLoader.java:1674) [D:/Oracle/OAS101310/OracleAS_1/j2ee/home/lib/pcl.jar (from system property java.class.path), by sun.misc.Launcher$AppClassLoader@26795951] at oracle.classloader.PolicyClassLoader.loadClass (PolicyClassLoader.java:1635) [D:/Oracle/OAS101310/OracleAS_1/j2ee/home/lib/pcl.jar (from system property java.class.path), by sun.misc.Launcher$AppClassLoader@26795951] at oracle.classloader.PolicyClassLoader.loadClass (PolicyClassLoader.java:1620) [D:/Oracle/OAS101310/OracleAS_1/j2ee/home/lib/pcl.jar (from system property java.class.path), by sun.misc.Launcher$AppClassLoader@26795951] at java.lang.ClassLoader.loadClassInternal (ClassLoader.java:319) [jre bootstrap, by jre.bootstrap:1.5.0_06] at oracle.xml.parser.v2.XMLNode. (XMLNode.java:4123) [D:/Oracle/OAS101310/OracleAS_1/j2ee/PeopleSoft2/applications/PeopleSoft2/pspc/WEB-INF/lib/xmlparserv2.jar (from WEB-INF/lib/ directory in D:\Oracle\OAS101310\OracleAS_1\j2ee\PeopleSoft2\applications\PeopleSoft2\pspc\WEB-INF\lib), by PeopleSoft2.web.pspc:0.0.0] at oracle.xml.parser.v2.NonValidatingParser. (NonValidatingParser.java:172) [D:/Oracle/OAS101310/OracleAS_1/j2ee/PeopleSoft2/applications/PeopleSoft2/pspc/WEB-INF/lib/xmlparserv2.jar (from WEB-INF/lib/ directory in D:\Oracle\OAS101310\OracleAS_1\j2ee\PeopleSoft2\applications\PeopleSoft2\pspc\WEB-INF\lib), by PeopleSoft2.web.pspc:0.0.0] at oracle.xml.parser.v2.XMLParser. (XMLParser.java:174) [D:/Oracle/OAS101310/OracleAS_1/j2ee/PeopleSoft2/applications/PeopleSoft2/pspc/WEB-INF/lib/xmlparserv2.jar (from WEB-INF/lib/ directory in D:\Oracle\OAS101310\OracleAS_1\j2ee\PeopleSoft2\applications\PeopleSoft2\pspc\WEB-INF\lib), by PeopleSoft2.web.pspc:0.0.0] at oracle.xml.parser.v2.DOMParser. (DOMParser.java:92) [D:/Oracle/OAS101310/OracleAS_1/j2ee/PeopleSoft2/applications/PeopleSoft2/pspc/WEB-INF/lib/xmlparserv2.jar (from WEB-INF/lib/ directory in D:\Oracle\OAS101310\OracleAS_1\j2ee\PeopleSoft2\applications\PeopleSoft2\pspc\WEB-INF\lib), by PeopleSoft2.web.pspc:0.0.0] at oracle.portal.utils.xml.v2.XMLUtil.getParser (Unknown source file) [D:/Oracle/OAS101310/OracleAS_1/j2ee/PeopleSoft2/applications/PeopleSoft2/pspc/WEB-INF/lib/ptlshare.jar (from WEB-INF/lib/ directory in D:\Oracle\OAS101310\OracleAS_1\j2ee\PeopleSoft2\applications\PeopleSoft2\pspc\WEB-INF\lib), by PeopleSoft2.web.pspc:0.0.0] at oracle.portal.utils.xml.v2.XMLUtil.parseDocument (Unknown source file) [D:/Oracle/OAS101310/OracleAS_1/j2ee/PeopleSoft2/applications/PeopleSoft2/pspc/WEB-INF/lib/ptlshare.jar (from WEB-INF/lib/ directory in D:\Oracle\OAS101310\OracleAS_1\j2ee\PeopleSoft2\applications\PeopleSoft2\pspc\WEB-INF\lib), by PeopleSoft2.web.pspc:0.0.0] at oracle.portal.provider.v2.http.DefaultProviderLoader.parseRegistry (Unknown source file) [D:/Oracle/OAS101310/OracleAS_1/j2ee/PeopleSoft2/applications/PeopleSoft2/pspc/WEB-INF/lib/pdkjava.jar (from WEB-INF/lib/ directory in D:\Oracle\OAS101310\OracleAS_1\j2ee\PeopleSoft2\applications\PeopleSoft2\pspc\WEB-INF\lib), by PeopleSoft2.web.pspc:0.0.0] at oracle.portal.provider.v2.http.DefaultProviderLoader.getProviderDefinition (Unknown source file) [D:/Oracle/OAS101310/OracleAS_1/j2ee/PeopleSoft2/applications/PeopleSoft2/pspc/WEB-INF/lib/pdkjava.jar (from WEB-INF/lib/ directory in D:\Oracle\OAS101310\OracleAS_1\j2ee\PeopleSoft2\applications\PeopleSoft2\pspc\WEB-INF\lib), by PeopleSoft2.web.pspc:0.0.0] at oracle.portal.provider.v2.http.DefaultProviderLoader.validate (Unknown source file) [D:/Oracle/OAS101310/OracleAS_1/j2ee/PeopleSoft2/applications/PeopleSoft2/pspc/WEB-INF/lib/pdkjava.jar (from WEB-INF/lib/ directory in D:\Oracle\OAS101310\OracleAS_1\j2ee\PeopleSoft2\applications\PeopleSoft2\pspc\WEB-INF\lib), by PeopleSoft2.web.pspc:0.0.0] at oracle.webdb.provider.v2.adapter.soapV1.ProviderAdapter.validate (Unknown source file) [D:/Oracle/OAS101310/OracleAS_1/j2ee/PeopleSoft2/applications/PeopleSoft2/pspc/WEB-INF/lib/pdkjava.jar (from WEB-INF/lib/ directory in D:\Oracle\OAS101310\OracleAS_1\j2ee\PeopleSoft2\applications\PeopleSoft2\pspc\WEB-INF\lib), by PeopleSoft2.web.pspc:0.0.0] at oracle.webdb.provider.v2.adapter.soapV1.ProviderAdapter.showTestPage (Unknown source file) [D:/Oracle/OAS101310/OracleAS_1/j2ee/PeopleSoft2/applications/PeopleSoft2/pspc/WEB-INF/lib/pdkjava.jar (from WEB-INF/lib/ directory in D:\Oracle\OAS101310\OracleAS_1\j2ee\PeopleSoft2\applications\PeopleSoft2\pspc\WEB-INF\lib), by PeopleSoft2.web.pspc:0.0.0] at oracle.webdb.provider.v2.adapter.soapV1.ProviderAdapter.handleHttp (Unknown source file) [D:/Oracle/OAS101310/OracleAS_1/j2ee/PeopleSoft2/applications/PeopleSoft2/pspc/WEB-INF/lib/pdkjava.jar (from WEB-INF/lib/ directory in D:\Oracle\OAS101310\OracleAS_1\j2ee\PeopleSoft2\applications\PeopleSoft2\pspc\WEB-INF\lib), by PeopleSoft2.web.pspc:0.0.0] at sun.reflect.NativeMethodAccessorImpl.invoke0 (Native method) [unknown, by unknown] at sun.reflect.NativeMethodAccessorImpl.invoke (NativeMethodAccessorImpl.java:39) [unknown, by unknown] at sun.reflect.DelegatingMethodAccessorImpl.invoke (DelegatingMethodAccessorImpl.java:25) [unknown, by unknown] at java.lang.reflect.Method.invoke (Method.java:585) [unknown, by unknown] at oracle.webdb.provider.v2.adapter.SOAPServlet.doHTTPCall (Unknown source file) [D:/Oracle/OAS101310/OracleAS_1/j2ee/PeopleSoft2/applications/PeopleSoft2/pspc/WEB-INF/lib/pdkjava.jar (from WEB-INF/lib/ directory in D:\Oracle\OAS101310\OracleAS_1\j2ee\PeopleSoft2\applications\PeopleSoft2\pspc\WEB-INF\lib), by PeopleSoft2.web.pspc:0.0.0] at oracle.webdb.provider.v2.adapter.SOAPServlet.service (Unknown source file) [D:/Oracle/OAS101310/OracleAS_1/j2ee/PeopleSoft2/applications/PeopleSoft2/pspc/WEB-INF/lib/pdkjava.jar (from WEB-INF/lib/ directory in D:\Oracle\OAS101310\OracleAS_1\j2ee\PeopleSoft2\applications\PeopleSoft2\pspc\WEB-INF\lib), by PeopleSoft2.web.pspc:0.0.0] at javax.servlet.http.HttpServlet.service (HttpServlet.java:856) [D:/Oracle/OAS101310/OracleAS_1/j2ee/home/lib/servlet.jar (from (ignore manifest Class-Path) in META-INF/boot.xml in D:\Oracle\OAS101310\OracleAS_1\j2ee\home\oc4j.jar), by api:1.4.0] at com.evermind.server.http.ResourceFilterChain.doFilter (ResourceFilterChain.java:64) [D:/Oracle/OAS101310/OracleAS_1/j2ee/home/lib/oc4j-internal.jar (from in META-INF/boot.xml in D:\Oracle\OAS101310\OracleAS_1\j2ee\home\oc4j.jar), by oc4j:10.1.3] at com.peoplesoft.pt.portlet.jpdk.provider.PSProviderFilter.doFilter (PSProviderFilter.java:78) [D:/Oracle/OAS101310/OracleAS_1/j2ee/PeopleSoft2/applications/PeopleSoft2/pspc/WEB-INF/classes/ (from WEB-INF/classes/ in D:\Oracle\OAS101310\OracleAS_1\j2ee\PeopleSoft2\applications\PeopleSoft2\pspc\WEB-INF\classes), by PeopleSoft2.web.pspc:0.0.0] at com.evermind.server.http.EvermindFilterChain.doFilter (EvermindFilterChain.java:15) [D:/Oracle/OAS101310/OracleAS_1/j2ee/home/lib/oc4j-internal.jar (from in META-INF/boot.xml in D:\Oracle\OAS101310\OracleAS_1\j2ee\home\oc4j.jar), by oc4j:10.1.3] at com.peoplesoft.pt.portlet.logging.DynamicFilter.doFilter (DynamicFilter.java:83) [D:/Oracle/OAS101310/OracleAS_1/j2ee/PeopleSoft2/applications/PeopleSoft2/pspc/WEB-INF/classes/ (from WEB-INF/classes/ in D:\Oracle\OAS101310\OracleAS_1\j2ee\PeopleSoft2\applications\PeopleSoft2\pspc\WEB-INF\classes), by PeopleSoft2.web.pspc:0.0.0] at com.evermind.server.http.ServletRequestDispatcher.invoke (ServletRequestDispatcher.java:619) [D:/Oracle/OAS101310/OracleAS_1/j2ee/home/lib/oc4j-internal.jar (from in META-INF/boot.xml in D:\Oracle\OAS101310\OracleAS_1\j2ee\home\oc4j.jar), by oc4j:10.1.3] at com.evermind.server.http.ServletRequestDispatcher.forwardInternal (ServletRequestDispatcher.java:368) [D:/Oracle/OAS101310/OracleAS_1/j2ee/home/lib/oc4j-internal.jar (from in META-INF/boot.xml in D:\Oracle\OAS101310\OracleAS_1\j2ee\home\oc4j.jar), by oc4j:10.1.3] at com.evermind.server.http.HttpRequestHandler.doProcessRequest (HttpRequestHandler.java:866) [D:/Oracle/OAS101310/OracleAS_1/j2ee/home/lib/oc4j-internal.jar (from in META-INF/boot.xml in D:\Oracle\OAS101310\OracleAS_1\j2ee\home\oc4j.jar), by oc4j:10.1.3] at com.evermind.server.http.HttpRequestHandler.processRequest (HttpRequestHandler.java:448) [D:/Oracle/OAS101310/OracleAS_1/j2ee/home/lib/oc4j-internal.jar (from in META-INF/boot.xml in D:\Oracle\OAS101310\OracleAS_1\j2ee\home\oc4j.jar), by oc4j:10.1.3] at com.evermind.server.http.AJPRequestHandler.run (AJPRequestHandler.java:302) [D:/Oracle/OAS101310/OracleAS_1/j2ee/home/lib/oc4j-internal.jar (from in META-INF/boot.xml in D:\Oracle\OAS101310\OracleAS_1\j2ee\home\oc4j.jar), by oc4j:10.1.3] at com.evermind.server.http.AJPRequestHandler.run (AJPRequestHandler.java:190) [D:/Oracle/OAS101310/OracleAS_1/j2ee/home/lib/oc4j-internal.jar (from in META-INF/boot.xml in D:\Oracle\OAS101310\OracleAS_1\j2ee\home\oc4j.jar), by oc4j:10.1.3] at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run (ServerSocketReadHandler.java:260) [D:/Oracle/OAS101310/OracleAS_1/j2ee/home/lib/oc4j-internal.jar (from in META-INF/boot.xml in D:\Oracle\OAS101310\OracleAS_1\j2ee\home\oc4j.jar), by oc4j:10.1.3] at oracle.oc4j.network.ServerSocketAcceptHandler.procClientSocket (ServerSocketAcceptHandler.java:239) [D:/Oracle/OAS101310/OracleAS_1/j2ee/home/lib/oc4j-internal.jar (from in META-INF/boot.xml in D:\Oracle\OAS101310\OracleAS_1\j2ee\home\oc4j.jar), by oc4j:10.1.3] at oracle.oc4j.network.ServerSocketAcceptHandler.access$700 (ServerSocketAcceptHandler.java:34) [D:/Oracle/OAS101310/OracleAS_1/j2ee/home/lib/oc4j-internal.jar (from in META-INF/boot.xml in D:\Oracle\OAS101310\OracleAS_1\j2ee\home\oc4j.jar), by oc4j:10.1.3] at oracle.oc4j.network.ServerSocketAcceptHandler$AcceptHandlerHorse.run (ServerSocketAcceptHandler.java:880) [D:/Oracle/OAS101310/OracleAS_1/j2ee/home/lib/oc4j-internal.jar (from in META-INF/boot.xml in D:\Oracle\OAS101310\OracleAS_1\j2ee\home\oc4j.jar), by oc4j:10.1.3] at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run (ReleasableResourcePooledExecutor.java:303) [D:/Oracle/OAS101310/OracleAS_1/j2ee/home/lib/oc4j-internal.jar (from in META-INF/boot.xml in D:\Oracle\OAS101310\OracleAS_1\j2ee\home\oc4j.jar), by oc4j:10.1.3] at java.lang.Thread.run (Thread.java:595) [jre bootstrap, by jre.bootstrap:1.5.0_06]

    On further test, If I let the default oracle xml parser be loaded, then I do not get the the exception.
    I have removed the following lines from orion-application.xml
         <imported-shared-libraries>
              <remove-inherited name="oracle.xml"/>
         </imported-shared-libraries>
    Now, If I access the JPDK provider URL
    http://ple-fjunod.peoplesoft.com:9820/pspc/providers/psprovider/ps/EMPLOYEE
    I get the excepted page
    Congratulations! You have successfully reached your Provider's Test Page.
    Recognizing Portlets...
    Recognizing component versions...
    ptlshare.jar version: 10.1.3.2.0
    pdkjava.jar version: 10.1.3.2.0
    Can someone please tell me that if I remove the inherited default oracle XML parser using remove-inherited tag in orion-application.xml, how do I make the JPDK use my own packaged xerces XML parser.
    Thanks

  • Interesting --- java.lang.verifyerror

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

    see answer to your other post in advanced language forum

  • 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

  • Howto capture/debug java.lang.VerifyError?

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

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

  • Java.lang.VerifyError    (Eclipse vs Command Line)

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

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

  • Error -:  AIP-50031:  B2B adapter general error: java.lang.NullPointerExce

    I have configured two B2B trading partner over ebMS communication. I have also configured an internal delivery channel using JMS.I am posting a msg(the Tp identification is through duns no.) on the JMS queue and I am not able to receive it on the Tp side and i am getting the following error
    008.11.28 at 01:53:36:544: Thread-13: B2B - (ERROR) java.lang.NullPointerException
         at oracle.tip.adapter.b2b.msgproc.DbAccess.insertMsgTblRow(DbAccess.java:806)
         at oracle.tip.adapter.b2b.msgproc.DbAccess.updateWireBusinessToErrorState(DbAccess.java:5365)
         at oracle.tip.adapter.b2b.engine.Engine.handleOutboundException(Engine.java:4109)
         at oracle.tip.adapter.b2b.engine.Engine.processOutgoingMessage(Engine.java:1130)
         at oracle.tip.adapter.b2b.transport.AppInterfaceListener.onMessage(AppInterfaceListener.java:137)
         at oracle.tip.transport.basic.jms.JMSMonitor.processMessages(JMSMonitor.java:610)
         at oracle.tip.transport.basic.jms.JMSMonitor.run(JMSMonitor.java:236)
    2008.11.28 at 01:53:36:544: Thread-13: B2B - (ERROR) Error -: AIP-50031: B2B adapter general error: java.lang.NullPointerException
         at oracle.tip.adapter.b2b.msgproc.DbAccess.updateWireBusinessToErrorState(DbAccess.java:5426)
         at oracle.tip.adapter.b2b.engine.Engine.handleOutboundException(Engine.java:4109)
         at oracle.tip.adapter.b2b.engine.Engine.processOutgoingMessage(Engine.java:1130)
         at oracle.tip.adapter.b2b.transport.AppInterfaceListener.onMessage(AppInterfaceListener.java:137)
         at oracle.tip.transport.basic.jms.JMSMonitor.processMessages(JMSMonitor.java:610)
         at oracle.tip.transport.basic.jms.JMSMonitor.run(JMSMonitor.java:236)
    Caused by: java.lang.NullPointerException
         at oracle.tip.adapter.b2b.msgproc.DbAccess.insertMsgTblRow(DbAccess.java:806)
         at oracle.tip.adapter.b2b.msgproc.DbAccess.updateWireBusinessToErrorState(DbAccess.java:5365)
    I am able to recevie the Heased but not the payload
         ... 5 more

    Hi,
    ":" - has been used as default separator so if you identifier holds this value, please enable add the tip.properties entry as below and things should be fine.
    oracle.tip.adapter.b2b.partyTypeAndValueSeparator=#.
    Here's a sample for jms enqueue,
    FROM_PARTY= urn:oasis:names:tc:ebXML-cppa:partyid-type:duns#232510151
    TO_PARTY= urn:oasis:names:tc:ebXML-cppa:partyid-type:duns#123456789
    Just replace the "FROM_PARTY" and "TO_PARTY" as "from" and "to" for AQ.
    Thanks,
    Sinkar
    [From Ramesh Team]

Maybe you are looking for

  • Problem reading files

    Hello, the following code reads a file into a byte stream: URL url = new URL("some filename under the codebase"); InputStream inStream = url.openStream(); int inBytes = inStream.available();            byte inBuf[] = new byte[inBytes]; int bytesRead

  • Top-N in Materialized View

    Hello, I have to create a materialized view for a top 10 query. "rownum" and "Rank()" doesn't work in a mv. That's my query: bq.      SELECT * \\     FROM ( \\     SELECT RANK() OVER(order by sum(f.f_gebuehren) DESC) as Rang, sum(f.f_gebuehren), d.d_

  • How can I transfer android photos to iPhoto?

    How can I sync Samsung Fascinate/Galaxy S photos with iPhoto on my iMac? Thanks

  • How can I enlarge the favorite bar to a larger font

    how to change the font size in the favborites bar

  • When I click "Edit Original" in the links panel it opens MICROSOFT PAINT!

    When I click "Edit Original" with a jpeg selected in the links panel it opens Microsoft Paint! In Windows (7) the file association is Windows Picture Viewer (NOT Paint!) and in Bridge it is associated with Photoshop CC. In InDesign we have the option