Any way around java.lang.VerifyError in JUTableSortModel.enableColumnSortin

Hi,
(JDeveloper 10.1.2) I have created a ADF Client application on top of an POJO business service. The application contains a tabbed pane. The first tab is based on a master data control binding, the second on its details-collection data control - as a JTable.
When I run the application (from within JDeveloper) , I get a Fatal Exception from the JVM:
Exception in thread main
java.lang.VerifyError: oracle.jbo.uicli.jui.JUTableSortModel
     at oracle.jbo.uicli.jui.JUTableBinding.getControlModel(JUTableBinding.java:106)
     at oracle.jbo.uicli.jui.JUPanelBinding.bindUIControl(JUPanelBinding.java:817)
     at amis.view.tabbedPane.FortuneForm.jbInit(FortuneForm.java:287)
     at amis.view.tabbedPane.FortuneForm.setBindingContext(FortuneForm.java:467)
     at amis.view.tabbedPane.FortuneForm.main(FortuneForm.java:375)
When I swap the JTable for some simple JTextFields, the code runs ok. However, I really like to have a Table. Does anyone have any clue or workaround for this situation? Since the exception originates within the ADF library code, I do not see too many options myself.
thanks for your help.
Lucas

OK, I have been too hasty once more.
When I create a simple ADF BC Model, drag a ViewObject's Data Control as Table to the ADF JClient pane and run the application, I get the same fatal exception. So it has nothing to do with the Business Service technology, it is a generic ADF JClient JTable issue.
Question is still: what can I do to get rid of it? Is it just my installation, project setup? Should i create a fresh JDev install? Is there a patch?
Any help is very welcome.
Lucas

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

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

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

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

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

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

  • 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

  • Java.lang.VerifyError with JDK1.3.1_02

    Hi all,
    I was using a third part ".jar" in my application and I started getting a java.lang.verifyError. I was wondering what are the various reasons that can cause this error to show up. I have jotted down the possibilities I can think of, but due to lack of documentation from the Java team at sun, I am not too sure. If anybody can cross-verify these and can provide feedback, it would be great.
    Reasons for java.lang.VerifyError :
    1) You compiled your code which uses ABC.java in package1 and while running it you used package2 instead of package1 which also had ABC.java.
    2) You call a method in your code which accepts say a String[] array, but at run time what you pass to the method is merely a String - Although this kind of code should not compile at all, but again what class you use at compile time and runtime can be different and can cause this to happen.
    Any other additions / Corrections are welcome.
    Thanks.
    Vivek.

    Hi, Do you get any message / stack trace to find out
    where it happens .I have actually fixed the problem now, basically the code was compiled with one xerces.jar and at run time a different jar with the same class files was getting included. What I wanted to find out is that are there other reasons for getting this VerifyError - coz the Java API does not mention anything about what conditions can cause this to occur.
    Thanks.
    Vivek.

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

  • 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

  • HT201667 I rented a movie through itunes on my ipad and wanted to watch it with friends on a digital projector, but it wouldn't allow me to do it.  Is there any way around this?

    I  rented a movie through itunes on my ipad and wanted to watch it with friends on a digital projector, but it wouldn't allow me to do it.  Is there any way around this?

    The issue was that a dialogue box came up which said that I couldn't play this movie on another device.  I tried playing the same movie on an Tv with an HDMI connection attached to an adapter to the IPad and that worked.  I wonder if the problem is that the digital projector has a VGA connection.

  • PC died and in turn my main iTunes library. iPhone was synced to it. Now when I try to connect to another library it tells me the phone must be wiped clean before I can manage music with new library. Any way around that? Don't want to lose music.

    My PC died and in turn so did my main iTunes library.  My iPhone was synced to the library that is gone.  Now when I try to connect to another library, it tells me the phone must be wiped clean before I can manage music with new library.  Any way around that?  I don't want to lose the music that is on my phone.  I am looking for a way to tell the phone to "forget" the old library and let me start working with a new library. 

    It has always been very basic to always maintain a backup copy of your computer for just such an occasion.
    Use your backup copy of your computer to put everything on the new one.
    It sounds like you have failed to do this, which is not good at all.
    You will have to transfer your itunes purchases from your iphone.  Authorize your computer for your itunes account 
    About iTunes Store authorization and deauthorization
    Open itunes, plug in iphone, do NOT sync, click File>Transfer Purchases
    When you do sync you will lose your pics ( photo library - synced from your old computer), your itunes content ( music, apps, videos,etc) , your contacts and your calendars.  So do NOT sync yet.  This is why a backup copy is so important.
    Enter one unique contact and calendar entry on your computer.
    When you first sync, you should get the option to merger the data.  Choose it.
    If you want your pics, then you will need to e-mail them to yourself before you sync.  They will not be of the original quality as they are reduced when synced to iphone.
    When all is as goos as it can be, then backup your computer, and always maintain the backup.

  • HT1212 So my phone is messed up and you can't do anything with the screen...in order for me to sink it to back up i have to enter the passcode because it had a lock on it...and i can't due to it being messed up...is there any way around this...

    So my phone is messed up and you can't do anything with the screen...in order for me to sink it to back up i have to enter the passcode because it had a lock on it...and i can't due to it being messed up...is there any way around this...

    See Here  >  http://support.apple.com/kb/HT1808
    You may need to try this More than Once...  Be sure to Follow ALL the Steps...
    Take your time... Pay particular attention to Steps 3 and 4.
    Make sure you have the Current Version of iTunes Installed on your computer
    iTunes free download from www.itunes.com/download
    After you have Recovered your Device...
    Re-Sync your Content or Restore from the most recent Backup...
    Restore from Backup  >  http://support.apple.com/kb/ht1766

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

Maybe you are looking for

  • Using a variable in netsh command to set ip address on NIC

    hi friends i wrote an script which gets an input & use that variable to set ip address on NIC. but actually it doesn't set ip address. may you please help me. my script contains: $VMNumber=Read-Host "please enter your VM number (for example 2)" Netsh

  • Only audio transferring to timeline for edit

    Got a weird situation. Halfway through editing a concert with two cameras, suddenly the rover camera footage will not transfer to timeline. I have the still camera footage and then I put ins/outs in the viewer for rover footage and then drop them int

  • EBS R12.1.1 databse copy windows to windows??

    Hi All, I am a report developer. I have two servers(VMs) Server1: Win 2008, Oracle EBS R12.1.1. Server2: Win XP SP3, about to install Oracle 11g R1 My goal is to copy the whole EBS R12.1.1 Vision Instance database (VIS) on Server1 to Server 2 Oracle

  • Server Problem confusion

    this is a project that I must complete for my final project. I don't want you to spell out what I should do. I would only like some pointers of where I should look or what I should try to do to complete this project. Please Help and again to write ou

  • Office 365+ OWA lite , Delegate permissions

    In office 365, does OWA lite mode supports delegate permission.  (send as, send on behalf of) is there an article that provides a better comparison between OWA premium and OWA lite for office 365