AbstractMethodError

Error:
java.lang.AbstractMethodError
     at oracle.jsp.provider.JspUniversalHttpRequest.getSession(JspUniversalHttpRequest.java:426)
     at xerox.index._jspService(_index.java:135)
     at oracle.jsp.runtime.HttpJsp.service(HttpJsp.java:119)
     at oracle.jsp.app.JspApplication.dispatchRequest(JspApplication.java:419)
     at oracle.jsp.JspServlet.doDispatch(JspServlet.java:265)
     at oracle.jsp.JspServlet.internalService(JspServlet.java:184)
     at oracle.jsp.JspServlet.service(JspServlet.java:154)
     at javax.servlet.http.HttpServlet.service(HttpServlet.java:336)
     at org.apache.jserv.JServConnection.processRequest(JServConnection.java:500)
     at org.apache.jserv.JServConnection.run(JServConnection.java:321)
     at java.lang.Thread.run(Thread.java:484)
When ussing this code:
session = ((HttpServletRequest) request).getSession();
String mensaje = "© Rights";
session.setAttribute("vs_Footer",new String(mensaje));
I have jdk 1.0.2 installed, the code is running in jdk 1.4.2 but on 1.0.2 not.
Any idea?, Is there anything I can use to replace session.setAttribute command?
thanks
Carlos

user580550,
As far as I am aware, the only environment that supports "auto generated keys" is Oracle 10g database, Oracle JDBC driver version 10.x.x.x and java 1.4 and above.
More details can be found in the JDBC FAQ.
By the way, I believe "auto generated keys" returns the ROWID for the row and not the actual primary key of the table -- but I'm not sure because I haven't used "auto generated keys" myself, yet.
There are workarounds, of-course, if "auto generated keys" support in Oracle is not what you desire.
Good Luck,
Avi.

Similar Messages

  • AbstractMethodError while calling PreparedStatement.setBinaryStream()

    I am getting AbstractMethodError while calling PreparedStatement.setBinaryStream(int, InputStream) for a BLOB column
    I am using Oracle Database 11g Enterprise Edition Release 11.2.0.2.0 - 64bit
    JDBC Driver ojdbc6.jar (downloaded from oracle website corresponding to 11.2.0.2 version)
    JDK 6
    I understand this error is due to my code calling abstract method which is not available in JDBC 3.x and it requires JDBC 4.0
    But I am not able to find any traces of usage of earlier version of driver.
    Debugging steps performed with results are as below
    1) I enabled -verbose:class VM argument that outputs all the classes loaded along with jar from which it loads. Everywhere i see ojdbc6.jar (No reference to older or any other jdbc driver jar file)
    2) Below is code segment and its output
    Connection con = getConnection(); // get connection
    DatabaseMetaData d= con.getMetaData();
    d.getDatabaseProductName(); // output: Oracle
    d.getDatabaseProductVersion(); // output: Oracle Database 11g Enterprise Edition Release 11.2.0.2.0 - 64bit Production
    d.getDatabaseMajorVersion(); // output: 11
    d.getDatabaseMinorVersion(); // output: 2
    d.getDriverName(); // output: Oracle JDBC driver
    d.getDriverVersion(); // output: 11.2.0.2.0
    d.getDriverMajorVersion(); // output: 11
    d.getDriverMinorVersion(); // output: 2
    d.supportsGetGeneratedKeys(); // output: true
    3) I updated code (its third party component, so not suppose to update :( )
    Added third argument whick works fine (it means at runtime it is using older jdbc driver???)
    PreparedStatement.setBinaryStream(int, InputStream, (int)length
    Please let me know if i am missing anything here... how can i solve this issue?
    Thanks!

    From my initial post
    I am getting AbstractMethodError while calling PreparedStatement.setBinaryStream(int, InputStream) for a BLOB column
    3) I updated code (its third party component, so not suppose to update )
    Added third argument whick works fine (it means at runtime it is using older jdbc driver???)(3) will not work if correct ojdbc6.jar is used. Because third argument is int and not long. long will work with ojdbc6 but will not work with older version.
    I am using third party component and they are using - PreparedStatement.setBinaryStream(int, InputStream)
    It should work with JDK 6, Oracle 11g and ojdbc6.jar driver.
    I am sure its simple classpath issue or some configuration mismatch - just couldn't see it right now.
    I will probably create new workspace / or test on other system now
    Thanks!

  • Java Get Clob field error, message "java.lang.AbstractMethodError" in "getClob(2)"

    oracle is 8.1.6, my jdbc is /home/oracle/OraHome1/jdbc/lib/classes111.zip
    my table test_clob's struction
    id int
    content clob
    While I run my class, it report:
    Exception in thread "main" java.lang.AbstractMethodError
    at ...(Oracle_clob.java:72)
    the error line is:
    Clob clob = result.getClob(2);
    the code is :
    import java.sql.*;
    import java.io.*;
    import java.util.*;
    public class Oracle_clob
    public static void main(String[] args)
    Connection con = null;
    int iRowCount = 0;
    Statement stmt = null;
    ResultSet result = null;
    String sDriver = "oracle.jdbc.driver.OracleDriver";
    String sURL = "jdbc:oracle:oci8:@orcl";
    String sUsername = "sj";
    String sPassword = "sj";
    try // Attempt to load the JDBC driver
    { // with newInstance
    Class.forName( sDriver ).newInstance();
    catch( Exception e ) // error
    System.err.println(
    "Failed to load current driver.");
    return;
    } // end catch
    try
    con = DriverManager.getConnection ( sURL,
    sUsername,
    sPassword);
    stmt = con.createStatement();
    catch ( Exception e)
    System.err.println( "problems connecting to " +
    sURL + ":" );
    System.err.println( e.getMessage() );
    if( con != null)
    try { con.close(); }
    catch( Exception e2 ) {}
    return;
    } // end catch
    try {
    String ls_sql;
    ls_sql = "select id, content from test_clob";
    result = stmt.executeQuery(ls_sql);
    String ls_field=null;
    if (result == null) {
    System.out.print("result is null");
    return ;
    if(result.next()){
    Clob clob = result.getClob(2);
    Reader char_stream = clob.getCharacterStream();
    char[] buffer = new char[1024];
    int length = 0;
    ls_field = "";
    String ls_newString;
    try{
    while((length=char_stream.read(buffer))!=-1){
    //for(int i=0; i<length; i++){
    ls_newString = String.valueOf(buffer);
    ls_field = ls_field + ls_newString;
    char_stream.close();
    catch( Exception e3 ) {
    System.out.print("error: "+ e3.getMessage());
    else
    System.out.print("next is false");
    if (ls_field== null ) ls_field = "";
    System.out.print(" field: "+ ls_field);
    result.close();
    catch(SQLException ex) {
    System.out.print("aq.executeQuery: " + ex.getMessage());
    finally
    try { stmt.close(); }
    catch( Exception e ) {}
    try { con.close(); }
    catch( Exception e ) {}
    } // end finally clause
    } // end main
    } // end class Create4JData
    What's wrong with it? Thank you advance.

    getClob is supported by JDBC2.0 which is not supported by classes111.zip. Get the classes12.zip and the corresponding OCI driver by installing oracle client update.

  • Blob and java.lang.AbstractMethodError

    I can't make this code (below) to work. I get an java.lang.AbstractMethodError trying. Does anyone have a clue about what might cause this error?
    My setup:
    jsdk 1.4
    Oracle 8.1.7
    Forte4J 4.0
    Thanks in advance
    Roland
    ---------- the code --------------
    conn = cp.getConnection(_database, user, password);
    conn.setAutoCommit(true);
    PreparedStatement stat = conn.prepareStatement(sql.toString());
    stat = conn.prepareStatement(sql.toString());
    stat.setLong(1, id);
    ResultSet res = stat.executeQuery();
    if(res.next()){
    setId(res.getLong("id"));
    Blob b = res.getBlob("data");
    stat.close();

    PreparedStatement stat =
    conn.prepareStatement(sql.toString());
    stat = conn.prepareStatement(sql.toString());yes there is something wrong there but if your problem is
    occurring with
    Blob b = res.getBlob("data");then the problem is that the ResultSet you are using does not implement this method. getBlob is a method that was introduced in JDBC 2.0. in fact the Blob interface itself was introduced in JDBC 2.0.
    you can try on of the following...
    get a new driver that implements getBlob. for oracle i think you will be fine. you can get a new driver here http://otn.oracle.com/software/tech/java/sqlj_jdbc/content.html
    the other option if you cannot get a new driver is to use the getBinaryStream() method of ResultSet to retrieve your data

  • AbstractMethodError on WebLogic Linux

    I am trying to migrate a web application from the WebLogic 8.1 server running on a Solaris box to a WebLogic server running on Linux. I am able to deploy the application with no problem, however I am getting the following runtime error:
    I am using the exact same startWebLogic.sh script from Solaris, but am having no luck. Has anyone encountered this error or know if this is a known issue with WebLogic 8.1 on Linux? Thanks in advance!
    java.lang.AbstractMethodError: weblogic.webservice.core.soap.SOAPEnvelopeImpl.normalize()V
    at com.sun.xml.rpc.streaming.XmlTreeReader.parse(XmlTreeReader.java:133)
    at com.sun.xml.rpc.streaming.XmlTreeReader.next(XmlTreeReader.java:103)
    at com.sun.xml.rpc.streaming.XMLReaderBase.nextContent(XMLReaderBase.java:23)
    at com.sun.xml.rpc.streaming.XMLReaderBase.nextElementContent(XMLReaderBase.java:41)
    at com.sun.xml.rpc.server.StreamingHandler.handle(StreamingHandler.java:154)
    at com.sun.xml.rpc.server.http.JAXRPCServletDelegate.doPost(JAXRPCServletDelegate.java:443)
    at com.sun.xml.rpc.server.http.JAXRPCServlet.doPost(JAXRPCServlet.java:86)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
    at weblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.run(ServletStubImpl.java:1006)
    at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:419)
    at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:315)
    at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:6718)
    at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
    at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
    at weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletContext.java:3764)
    at weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java:2644)
    at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:219)
    at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:178)

    Here it is
    java.lang.AbstractMethodError
         at weblogic.ejb20.manager.BaseEntityManager.scalarFinder(BaseEntityManager.java:852)
         at weblogic.ejb20.manager.BaseEntityManager.remoteScalarFinder(BaseEntityManager.java:797)
         at weblogic.ejb20.internal.EntityEJBHome.finder(EntityEJBHome.java:552)
    Rob Woollen <[email protected]> wrote:
    Can you post the AbstractMethodError? We'd need some more info to help
    you.
    -- Rob
    Chun wrote:
    Hi all
    We are trying to migrate our J2EE application from WLS 6.1 to WLS 7.After deployed
    started successfully, we keep getting java.lang.AbstractMethodError.We have recompile
    the jar, and the jar wroks fine under WLS 6. Could anybody helps? Thankyou very
    much

  • JTidy in weblogic 10.3 throws AbstractMethodError

    Hi all,
    Last year a developed a portlet application that makes the transformation of a jTidy-DOM-SDK5 to an string as in the next snippet, this year I'm being asked to migrate that application to weblogic portal 10.3 with SDK6 and I'm getting an error as shown below.
    Please assist. Thank you!
                //reading HTML
                Document htmlDoc = tidy.parseDOM(in, null);          
                //more code processing the document above
                //Printing out our doc
                   TransformerFactory tf = TransformerFactory.newInstance();
                   Transformer trans = tf.newTransformer();
                   StringWriter sw = new StringWriter();
                   trans.transform(new DOMSource(htmlDoc), new StreamResult(sw));
    wl_page java.lang.AbstractMethodError
         at com.sun.org.apache.xalan.internal.xsltc.trax.DOM2TO.setDocumentInfo(DOM2TO.java:373)
         at com.sun.org.apache.xalan.internal.xsltc.trax.DOM2TO.parse(DOM2TO.java:127)
         at com.sun.org.apache.xalan.internal.xsltc.trax.DOM2TO.parse(DOM2TO.java:94)
         at com.sun.org.apache.xalan.internal.xsltc.trax.TransformerImpl.transformIdentity(TransformerImpl.java:662)
         at com.sun.org.apache.xalan.internal.xsltc.trax.TransformerImpl.transform(TransformerImpl.java:708)
         at com.sun.org.apache.xalan.internal.xsltc.trax.TransformerImpl.transform(TransformerImpl.java:313)

    instead of import weblogic.security.SubjectUtils; use import weblogic.security.spi.WLSUser; and get the username as below
    Set users = subject.getPrincipals(WLSUser.class);
              Iterator iter = users.iterator();
              while (iter.hasNext()){
                   userName = ((WLSUser)iter.next()).getName();
                   System.out.println(userName);
    this returns you the username

  • Java.lang.AbstractMethodError

    In my application when i try to use resultSet.getClob() method i get an exception under tomcat. Could any body help me retrieveing Clob object from database in java Clob. Thanks.

    Here is the Stacktrace, but it will hardly help, since it doesn't tell bout the jdbc or connection probs. And Let me tell you I used jdbc extensively in my app there is not a single problem for other data type such as String numbers So only prob is Clob. I following stack ClauseServlet is the Servlet in which the method makeDocLink is the method which i previously posted.
    (Just for ur info). Should u need any detail pls let me know. Thanx for ur interest.
    java.lang.AbstractMethodError
         at items.ClauseServlet.makeDocLink(ClauseServlet.java:38)
         at items.ClauseServlet.doPost(ClauseServlet.java:26)
         at items.ClauseServlet.doGet(ClauseServlet.java:16)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at org.apache.tomcat.core.ServletWrapper.doService(ServletWrapper.java:405)
         at org.apache.tomcat.core.Handler.service(Handler.java:287)
         at org.apache.tomcat.core.ServletWrapper.service(ServletWrapper.java:372)
         at org.apache.tomcat.core.ContextManager.internalService(ContextManager.java:797)
         at org.apache.tomcat.core.ContextManager.service(ContextManager.java:743)
         at org.apache.tomcat.service.http.HttpConnectionHandler.processConnection(HttpConnectionHandler.java:213)
         at org.apache.tomcat.service.TcpWorkerThread.runIt(PoolTcpEndpoint.java:416)
         at org.apache.tomcat.util.ThreadPool$ControlRunnable.run(ThreadPool.java:501)
         at java.lang.Thread.run(Thread.java:484)

  • Java.lang.AbstractMethodError: getTextContent

    Hi,
    I've an application that has been build using hibernate, spring and icefaces and when I update my application using UPDATE button the application could not restart (or if it's stopped doesn't restart)
    I always need to restart the whole server to get it running. (I'm been using Weblogic 9.2) here is the stack trace
    deployment request with ID '1246006508862' for task '97'. Error is: 'weblogic.application.ModuleException: '
    weblogic.application.ModuleException:
         at weblogic.servlet.internal.WebAppModule.startContexts(WebAppModule.java:891)
         at weblogic.servlet.internal.WebAppModule.start(WebAppModule.java:333)
         at weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStateDriver.java:204)
         at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:26)
         at weblogic.application.internal.flow.ModuleStateDriver.start(ModuleStateDriver.java:60)
         at weblogic.application.internal.flow.ScopedModuleDriver.start(ScopedModuleDriver.java:200)
         at weblogic.application.internal.flow.ModuleListenerInvoker.start(ModuleListenerInvoker.java:117)
         at weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStateDriver.java:204)
         at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:26)
         at weblogic.application.internal.flow.ModuleStateDriver.start(ModuleStateDriver.java:60)
         at weblogic.application.internal.flow.StartModulesFlow.activate(StartModulesFlow.java:26)
         at weblogic.application.internal.BaseDeployment$2.next(BaseDeployment.java:635)
         at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:26)
         at weblogic.application.internal.BaseDeployment.activate(BaseDeployment.java:212)
         at weblogic.application.internal.DeploymentStateChecker.activate(DeploymentStateChecker.java:154)
         at weblogic.deploy.internal.targetserver.AppContainerInvoker.activate(AppContainerInvoker.java:80)
         at weblogic.deploy.internal.targetserver.operations.AbstractOperation.activate(AbstractOperation.java:566)
         at weblogic.deploy.internal.targetserver.operations.ActivateOperation.activateDeployment(ActivateOperation.java:136)
         at weblogic.deploy.internal.targetserver.operations.ActivateOperation.doCommit(ActivateOperation.java:104)
         at weblogic.deploy.internal.targetserver.operations.StartOperation.doCommit(StartOperation.java:139)
         at weblogic.deploy.internal.targetserver.operations.AbstractOperation.commit(AbstractOperation.java:320)
         at weblogic.deploy.internal.targetserver.DeploymentManager.handleDeploymentCommit(DeploymentManager.java:815)
         at weblogic.deploy.internal.targetserver.DeploymentManager.activateDeploymentList(DeploymentManager.java:1222)
         at weblogic.deploy.internal.targetserver.DeploymentManager.handleCommit(DeploymentManager.java:433)
         at weblogic.deploy.internal.targetserver.DeploymentServiceDispatcher.commit(DeploymentServiceDispatcher.java:161)
         at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.doCommitCallback(DeploymentReceiverCallbackDeliverer.java:181)
         at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.access$100(DeploymentReceiverCallbackDeliverer.java:12)
         at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer$2.run(DeploymentReceiverCallbackDeliverer.java:67)
         at weblogic.work.ServerWorkManagerImpl$WorkAdapterImpl.run(ServerWorkManagerImpl.java:518)
         at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
         at weblogic.work.ExecuteThread.run(ExecuteThread.java:181)
    java.lang.AbstractMethodError: getTextContent
         at com.sun.faces.config.processor.AbstractConfigProcessor.getNodeText(AbstractConfigProcessor.java:140)
         at com.sun.faces.config.processor.FactoryConfigProcessor.processFactories(FactoryConfigProcessor.java:148)
         at com.sun.faces.config.processor.FactoryConfigProcessor.process(FactoryConfigProcessor.java:125)
         at com.sun.faces.config.ConfigManager.initialize(ConfigManager.java:203)
         at com.sun.faces.config.ConfigureListener.contextInitialized(ConfigureListener.java:196)
         at weblogic.servlet.internal.EventsManager$FireContextListenerAction.run(EventsManager.java:376)
         at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
         at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
         at weblogic.servlet.internal.EventsManager.notifyContextCreatedEvent(EventsManager.java:82)
         at weblogic.servlet.internal.WebAppServletContext.preloadResources(WebAppServletContext.java:1610)
         at weblogic.servlet.internal.WebAppServletContext.start(WebAppServletContext.java:2751)
         at weblogic.servlet.internal.WebAppModule.startContexts(WebAppModule.java:889)
         at weblogic.servlet.internal.WebAppModule.start(WebAppModule.java:334)
         at weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStateDriver.java:205)
         at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:26)
         at weblogic.application.internal.flow.ModuleStateDriver.start(ModuleStateDriver.java:60)
         at weblogic.application.internal.flow.ScopedModuleDriver.start(ScopedModuleDriver.java:201)
         at weblogic.application.internal.flow.ModuleListenerInvoker.start(ModuleListenerInvoker.java:118)
         at weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStateDriver.java:205)
         at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:26)
         at weblogic.application.internal.flow.ModuleStateDriver.start(ModuleStateDriver.java:60)
         at weblogic.application.internal.flow.StartModulesFlow.activate(StartModulesFlow.java:27)
         at weblogic.application.internal.BaseDeployment$2.next(BaseDeployment.java:636)
         at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:26)
         at weblogic.application.internal.BaseDeployment.activate(BaseDeployment.java:212)
         at weblogic.application.internal.DeploymentStateChecker.activate(DeploymentStateChecker.java:154)
         at weblogic.deploy.internal.targetserver.AppContainerInvoker.activate(AppContainerInvoker.java:80)
         at weblogic.deploy.internal.targetserver.operations.AbstractOperation.activate(AbstractOperation.java:566)
         at weblogic.deploy.internal.targetserver.operations.ActivateOperation.activateDeployment(ActivateOperation.java:136)
         at weblogic.deploy.internal.targetserver.operations.ActivateOperation.doCommit(ActivateOperation.java:104)
         at weblogic.deploy.internal.targetserver.operations.StartOperation.doCommit(StartOperation.java:139)
         at weblogic.deploy.internal.targetserver.operations.AbstractOperation.commit(AbstractOperation.java:320)
         at weblogic.deploy.internal.targetserver.DeploymentManager.handleDeploymentCommit(DeploymentManager.java:815)
         at weblogic.deploy.internal.targetserver.DeploymentManager.activateDeploymentList(DeploymentManager.java:1222)
         at weblogic.deploy.internal.targetserver.DeploymentManager.handleCommit(DeploymentManager.java:433)
         at weblogic.deploy.internal.targetserver.DeploymentServiceDispatcher.commit(DeploymentServiceDispatcher.java:162)
         at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.doCommitCallback(DeploymentReceiverCallbackDeliverer.java:181)
         at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.access$100(DeploymentReceiverCallbackDeliverer.java:12)
         at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer$2.run(DeploymentReceiverCallbackDeliverer.java:68)
         at weblogic.work.ServerWorkManagerImpl$WorkAdapterImpl.run(ServerWorkManagerImpl.java:518)
         at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
         at weblogic.work.ExecuteThread.run(ExecuteThread.java:181)
    It's look like the dom xml implementation is not well found
    java.lang.AbstractMethodError: getTextContent
         at com.sun.faces.config.processor.AbstractConfigProcessor.getNodeText(AbstractConfigProcessor.java:140)
         at com.sun.faces.config.processor.FactoryConfigProcessor.processFactories(FactoryConfigProcessor.java:148)
         at com.sun.faces.config.processor.FactoryConfigProcessor.process(FactoryConfigProcessor.java:125)
         at com.sun.faces.config.ConfigManager.initialize(ConfigManager.java:203)
         at com.sun.faces.config.ConfigureListener.contextInitialized(ConfigureListener.java:196)
         at weblogic.servlet.internal.EventsManager$FireContextListenerAction.run(EventsManager.java:376)
    Here'is the full list of jar I've
    aopalliance-1.0.jar
    asm-1.5.3.jar
    axis.jar
    backport-util-concurrent-2.2.jar
    cglib-2.1_3.jar
    commons-beanutils-1.8.0.jar
    commons-codec-1.3.jar
    commons-collections-3.2.jar
    commons-dbcp-1.3.0.jar
    commons-digester-1.8.jar
    commons-discovery-0.2.jar
    commons-el-1.0.jar
    commons-fileupload-1.2.jar
    commons-lang-2.3.jar
    commons-logging-1.1.1.jar
    commons-logging-api-1.1.jar
    commons-pool-1.3.jar
    dom4j-1.6.1.jar
    el-ri.jar
    hibernate-3.2.6.ga.jar
    hibernate-annotations-3.3.1.GA.jar
    hibernate-commons-annotations-3.0.0.ga.jar
    icefaces-comps.jar
    icefaces-facelets.jar
    icefaces.jar
    jaas.config
    jaxrpc.jar
    jsf-api-1.2.jar
    jsf-impl-1.2.jar
    jsp-api-2.1-6.0.2.jar
    jstl.jar
    jta-1.0.1B.jar
    junit-4.6.jar
    log4j-1.2.15.jar
    merlina-7.1.0.jar
    out.txt
    persistence-api-1.0.jar
    saaj.jar
    spring-aop-2.5.5.jar
    spring-aspects-2.5.5.jar
    spring-beans-2.5.5.jar
    spring-context-2.5.5.jar
    spring-core-2.5.5.jar
    spring-jdbc-2.5.5.jar
    spring-orm-2.5.5.jar
    spring-tx-2.5.5.jar
    spring-web-2.5.5.jar
    wsdl4j.jar
    xercesImpl.jar
    xml-apis.jar

    Look at the documentation for AbstractMethodError.
    http://java.sun.com/j2se/1.5.0/docs/api/index.html
    Anyway, you're apparantly running with some unexpected outdated classes in the classpath.

  • Java.lang.AbstractMethodError: javax.servlet.jsp.JspFactory.getJspApplicati

    Hi,
    I have an application which is executing properly in jboss 3.2.5 but as we are trying to upgrade the jboss version i am getting above mentioned error.
    The application is deployed in jboss as an ear file and the ear contains one jar file that has been removed from the ear and still i am getting this error.
    I am posting the full stack trace over here.
    ERROR [[jsp]] Servlet.service() for servlet jsp threw exception
    java.lang.AbstractMethodError: javax.servlet.jsp.JspFactory.getJspApplicationContext(Ljavax/servlet/ServletContext;)Ljavax/servlet/jsp/JspApplicationContext;
            at org.apache.jsp.Jsp.Common.logout_jsp._jspInit(logout_jsp.java:22)
            at org.apache.jasper.runtime.HttpJspBase.init(HttpJspBase.java:52)
            at org.apache.jasper.servlet.JspServletWrapper.getServlet(JspServletWrapper.java:158)
            at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:328)
            at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:336)
            at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:265)
            at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
            at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
            at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
            at clime.messadmin.filter.MessAdminFilter.doFilter(MessAdminFilter.java:104)
            at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
            at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
            at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
            at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
            at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
            at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:230)
            at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
            at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:182)
            at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:524)
            at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:84)
            at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
            at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
            at org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:157)
            at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
            at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:262)
            at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)
            at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)
            at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:446)
            at java.lang.Thread.run(Thread.java:595)It is happening in logout.jsp, but all other main jsp's are working properly ( login.jsp etc ).
    I am posting the jsp code over here.
    <html>
    <head>
           <script language="JavaScript">
         function init()  {
           window.history.forward(1);
       </script>
      </head>
    <body  onLoad="init();" >
      <%@ page language="java" %>
      <%@ page isThreadSafe="true" %>
        <%
         session.invalidate();
         response.sendRedirect("../../logout.html");
    %>
    </body>
    </html>Please guide me to solve the issue.

    evnafets wrote:
    My guess would be that you have some of the servlet classes deployed with your application.
    Yes.
    Any jar files that contain the javax.servlet.* packages should NOT be part of a web application, but are intended to be on the server.
    First up all there is no such jar files.
    Common candidates:
    servlet.jar
    servlet-api.jar
    j2ee.jar
    All those jars are in lib directory of my app server. I have jsp-api and servlet-api.jar as i am using embedded tomcat 6 in jboss appsever.
    Check the WEB-INF/lib directory of your web application to see that there are none of those there.
    Nothing similar deployed in your ear file?I have extracted my application ear , jar and war then when i checked i found one jar file inside the war but in that no servlet*.jarr files. It is my application oriented files only. I have deleted this ar files and then i executedi am getting same error. Is there any way to find out the exact issue ????.
    Regards
    Rasa

  • Java.lang.AbstractMethodError on data source verification

    Using the easysoft JDBC-ODBC bridge to connect to an Access DB. Has been working great since CF6. Currently no issues on CF9(solaris). We're working to upgrade our servers to CF10 on Redhat and have everything working except when we attemtp to verify our data sources that use this driver we get the following error:
    In the CF administrator: Connection verification failed for data source: csd_training_index
    java.lang.AbstractMethodError: null
    The root cause was that: java.lang.AbstractMethodError
    "Error","ajp-bio-8012-exec-1","04/08/14","16:50:43",,""
    in the server.log file
    Note: EasySoft says "There is nothing in that stack trace to indicate CF is even connecting with Easysoft."
    Stack trace:
    "Error","ajp-bio-8012-exec-1","03/17/14","11:35:11",,""
    java.lang.AbstractMethodError
          at coldfusion.server.j2ee.sql.JRunConnection.<init>(JRunConnection.java:133)
            at coldfusion.server.j2ee.sql.pool.JDBCPool.create(JDBCPool.java:555)
            at coldfusion.server.j2ee.sql.pool.JDBCPool._checkOut(JDBCPool.java:472)
            at coldfusion.server.j2ee.sql.pool.JDBCPool.checkOut(JDBCPool.java:378)
            at coldfusion.server.j2ee.sql.pool.JDBCPool.requestConnection(JDBCPool.java:785)
            at coldfusion.server.j2ee.sql.pool.JDBCManager.requestConnection(JDBCManager.java:123)
            at coldfusion.server.j2ee.sql.JRunDataSource.getConnection(JRunDataSource.java:135)
            at coldfusion.server.j2ee.sql.JRunDataSource.getConnection(JRunDataSource.java:122)
            at coldfusion.sql.CFDataSource.getConnection(CFDataSource.java:45)
            at coldfusion.sql.Executive.verifyDatasource(Executive.java:492)
            at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
            at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
            at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
            at java.lang.reflect.Method.invoke(Unknown Source)
            at coldfusion.runtime.StructBean.invoke(StructBean.java:508)
            at coldfusion.runtime.CfJspPage._invoke(CfJspPage.java:2465)
            at cfudflibrary2ecfm1867463752$funcVERIFYDSN.runFunction(E:\cf10_final\cfusion\wwwroot\CFIDE\administrator\datasources\udflibrary.cfm:14)
            at coldfusion.runtime.UDFMethod.invoke(UDFMethod.java:472)
            at coldfusion.runtime.UDFMethod$ArgumentCollectionFilter.invoke(UDFMethod.java:368)
            at coldfusion.filter.FunctionAccessFilter.invoke(FunctionAccessFilter.java:55)
            at coldfusion.runtime.UDFMethod.runFilterChain(UDFMethod.java:321)
            at coldfusion.runtime.UDFMethod.invoke(UDFMethod.java:518)
            at coldfusion.runtime.CfJspPage._invokeUDF(CfJspPage.java:2624)
            at cfindex2ecfm782328217._factor12(E:\cf10_final\cfusion\wwwroot\CFIDE\administrator\datasources\index.cfm:450)
            at cfindex2ecfm782328217._factor17(E:\cf10_final\cfusion\wwwroot\CFIDE\administrator\datasources\index.cfm:396)
            at cfindex2ecfm782328217._factor18(E:\cf10_final\cfusion\wwwroot\CFIDE\administrator\datasources\index.cfm:168)
            at cfindex2ecfm782328217.runPage(E:\cf10_final\cfusion\wwwroot\CFIDE\administrator\datasources\index.cfm:1)
            at coldfusion.runtime.CfJspPage.invoke(CfJspPage.java:244)
            at coldfusion.tagext.lang.IncludeTag.doStartTag(IncludeTag.java:444)
            at coldfusion.filter.CfincludeFilter.invoke(CfincludeFilter.java:65)
            at coldfusion.filter.IpFilter.invoke(IpFilter.java:64)
            at coldfusion.filter.ApplicationFilter.invoke(ApplicationFilter.java:449)
            at coldfusion.filter.RequestMonitorFilter.invoke(RequestMonitorFilter.java:48)
            at coldfusion.filter.MonitoringFilter.invoke(MonitoringFilter.java:40)
            at coldfusion.filter.PathFilter.invoke(PathFilter.java:112)
            at coldfusion.filter.ExceptionFilter.invoke(ExceptionFilter.java:94)
            at coldfusion.filter.ClientScopePersistenceFilter.invoke(ClientScopePersistenceFilter.java:28)
            at coldfusion.filter.BrowserFilter.invoke(BrowserFilter.java:38)
            at coldfusion.filter.NoCacheFilter.invoke(NoCacheFilter.java:58)
            at coldfusion.filter.GlobalsFilter.invoke(GlobalsFilter.java:38)
            at coldfusion.filter.DatasourceFilter.invoke(DatasourceFilter.java:22)
            at coldfusion.filter.CachingFilter.invoke(CachingFilter.java:62)
            at coldfusion.CfmServlet.service(CfmServlet.java:219)
            at coldfusion.bootstrap.BootstrapServlet.service(BootstrapServlet.java:89)
            at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305)
            at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
            at coldfusion.monitor.event.MonitoringServletFilter.doFilter(MonitoringServletFilter.java:42)
            at coldfusion.bootstrap.BootstrapFilter.doFilter(BootstrapFilter.java:46)
            at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
            at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
            at coldfusion.filter.ClickjackingProtectionFilter.doFilter(ClickjackingProtectionFilter.java:75)
            at coldfusion.bootstrap.BootstrapFilter.doFilter(BootstrapFilter.java:46)
            at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
            at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
            at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:224)
            at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:169)
            at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:472)
            at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:168)
            at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:98)
            at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:928)
            at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118)
            at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:414)
            at org.apache.coyote.ajp.AjpProcessor.process(AjpProcessor.java:204)
            at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:539)
            at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:298)
            at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source)
            at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown

    keithal wrote:
    Using the easysoft JDBC-ODBC bridge to connect to an Access DB. Has been working great since CF6. Currently no issues on CF9(solaris). We're working to upgrade our servers to CF10 on Redhat and have everything working except when we attemtp to verify our data sources that use this driver we get the following error:
    In the CF administrator: Connection verification failed for data source: csd_training_index
    java.lang.AbstractMethodError: null
    The root cause was that: java.lang.AbstractMethodError
    "Error","ajp-bio-8012-exec-1","04/08/14","16:50:43",,""
    in the server.log file
    Note: EasySoft says "There is nothing in that stack trace to indicate CF is even connecting with Easysoft."
    Stack trace:
    "Error","ajp-bio-8012-exec-1","03/17/14","11:35:11",,""
    java.lang.AbstractMethodError
          at coldfusion.server.j2ee.sql.JRunConnection.<init>(JRunConnection.java:133)
    The error suggests to me that the package coldfusion.server.j2ee.sql may still contain throw-backs to JRun, even after ColdFusion 10's move to Tomcat. Adobe's Coldfusion team may have to review their design to detect remnants of JRun that would break in Tomcat.

  • Java.lang.AbstractMethodError (rs.getBigDecimal)

    Hello,
    I consistently get a java.lang.AbstractMethodError when I call getBigDecimal() on a ResultSet, as in the example below. I recently downloaded and installed the latest classes12.zip, but this did not help.
    I am connecting to an 8.1.6 server.
    Thanks in advance for you help.
    try
         conn = DriverManager.getConnection(jdbcUrl);
         conn.setAutoCommit(false);
         stmt = conn.createStatement();
         // get the first set of profiles
         log.debug("Executing statement: " + sqlText);
         rs = stmt.executeQuery(sqlText);
         log.debug("Statement executed ok. Now parsing rows...");
         while (rs.next())
         ProfileKeys keys = new ProfileKeys();
         keys.emailAdr = rs.getString("EMAIL_ADR");
    /* code fails on this statement */
         testBD = rs.getBigDecimal("CUST_ID");
         keys.custId = testBD.longValue();
         keys.custId = rs.getBigDecimal("CUST_PRFL_NUM").longValue();
         profiles.add(keys);
         count++;
         if (conn != null) { conn.close(); }
         log.debug("Found " + count + " rows.");
    catch (SQLException e)
         e.printStackTrace();
         while(e != null)
         log.error("NewsletterProfileImporter.getRecords(): ");
         log.error("\nSQL Exception:");
         log.error(e.getMessage());
         log.error("ANSI-92 SQL State: " + e.getSQLState());
         log.error("Vendor Error Code: " + e.getErrorCode());
         e = e.getNextException();
         log.error("Terminating Connection to database.");
         conn.close();

    Hi Stewart,
    You can try these following options.
    1. Try casting your rs.getBigDecimal(columnName) with java.math.BigDecimal and then assign to testBD which hopefully would be of type java.math.BigDecimal. see if this helps.
    or 2. instead of jdbc's resultset, use the result set of Oracle's. This is available in oracle.jdbc.driver package. and the class Name is OracleResultSet
    i.e create ur resultset as following.
    import oracle.jdbc.driver.*;
    OracleResultSet rs = null;
    rs = stmt.executeQuery(sqlstmt);
    now
    java.math.BigDecimal testBD = rs.getBigDecimal(columnName);/cast to big decimal if necessary.
    Reason, this might work because, Oracle's OracleResulSet class has this getBigDecimal(java.lang.String) method already implements, JDBC 2.0's getBigDecimal function.
    you may be aware that getBigDecimal(int) is an abstract method and cannot be used directly. so getBigDecimal(String) is the viable option.
    Hope this helps.
    Thanks
    Hari

  • Java.lang.AbstractMethodError: oracle.jdbc.driver.OracleResultSet.isLast()Z

    Hello.
    I'm trying to detect if a row is the last one of a ResultSet (from a
    executeQuery):
    ResultSet results = sql.executeQuery();
    if (results.isLast())
         out.println("EMPTY");
    But I get this error message:
    Error 500
    Servlet internal error:
    java.lang.AbstractMethodError: oracle.jdbc.driver.OracleResultSet.isLast()Z
         at estructura_10._jspService(mycode_10.java:93)
         at org.apache.jasper.runtime.HttpJspBase.service(Unknown Source)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java)
         at org.apache.tomcat.facade.ServletHandler.doService(Unknown Source)
    What am I doing wrong?
    Thank you very much.

    What do you want to do with a RS instead at least 1 next() ?
    Only 1 next() - then you know, if it is empty.
    If it's not empty, I assume you will do any retrieval, so you will have needed at least this first next(), don't you?
    Even if you would like to skip the first row (though you have retrieved it), it would not be too much costs.
    If you don't want to retrieve but only count your rows, do a query "SELECT COUNT(*) FROM table WHERE <your condition ...>".
    However, to get the count you would have to do one - only one - next() call.

  • Java.lang.AbstractMethodError: oracle.jdbc.driver.OracleDatabaseMetaData.lo

    I am evaluating the sun RI of javax.sql package . I downloaded the jdbc_rowset_tiger-1_0_1-mrel-jwsdp.zip package and installed in my machine.
    I tried the JdbcRowSet implmenation and it worked pretty smooth. I wanted to try the disconnected Rowset implementation. I tried CachedRowSet Implementation with thin driver. I get the following error message.
    Exception in thread "main" java.lang.AbstractMethodError: oracle.jdbc.driver.OracleDatabaseMetaData.locatorsUpdateCopy()Z
    at com.sun.rowset.CachedRowSetImpl.execute(Unknown Source)
    at com.sun.rowset.CachedRowSetImpl.execute(Unknown Source)
    at CachedRowSetSampl.main(CachedRowSetSampl.java:79)
    I am using thin driver with Oracle8i db.
    Appreciate any early responses

    I had the same problem initially.
    I fixed it by downloading an updated ojdbc14.jar (1).
    It may be because I downloaded the ocrs12.jar from there a bit earlier and the versions of ojdbc14.jar and ocrs12.jar need to match (that is, come from the Oracle10g suite of jars).
    Here is the class I used:
    import java.sql.*;
    import javax.sql.*;
    import com.sun.rowset.WebRowSetImpl;
    import com.sun.rowset.providers.RIXMLProvider;
    public class test {
      public static void main(String[] args) {
        try {
          Class.forName("oracle.jdbc.driver.OracleDriver");
          WebRowSetImpl wrs = new WebRowSetImpl();
          wrs.setCommand("select table_name from user_tables");
          wrs.setUsername("scott");
          wrs.setPassword("tiger");
          wrs.setUrl("jdbc:oracle:thin:@paramount.com:1521:ORCL");
          wrs.execute();
          wrs.writeXml(System.out);
        } catch (Exception e) {
          System.out.println("Exception:"+e);
    Dale(1) http://www.oracle.com/technology/software/tech/java/sqlj_jdbc/htdocs/jdbc101020.html (Oracle Database 10g JDBC Drivers)

  • Java.lang.AbstractMethodError if we move to JSDK2.1 in apache jserv

    hi,
    i have currently installed apache http server, apache jserv and jsdk2.0 in a winNt environment. However whenever i try to run my serlvets i get the following exception java.lang.AbstractMethodError.
    Understand this is "Thrown when an application tries to call an abstract method. Normally, this error is caught by the compiler; this error can only occur at run time if the definition of some class has incompatibly changed since the currently executing method was last compiled."
    Tried to compile all the following java files under the specified packages when i installed Apache jserv, such as org.apache.java.io etc but get a lot of compile errors complaining that this and that cannot be found. What should i do? Thanks and deeply appreciated

    Hi,
    Print the stack trace of the exception using printStackTrace() method on exception object. So you can get which is exactly abstract method & in which class that is present.
    Try this out.
    Ajay.

  • Get java.lang.AbstractMethodError when issuing session.getRootNode()

    Hello,
    I'm trying to run the sample from the "Writing an Application Connecting to a Remote JCR"-page (see http://dev.day.com/docs/en/crx/current/developing/accessing_jcr_connectors.html#A%2520Shor t%2520introduction%2520to%2520JCR%2520development) but still fail.
    The only relevant difference to the sample in this page is, that I'm using http-access insead of rmi.
    I thought the page might be a good starting point to get familiar to get some knowledge to access CRX. But I'm no longer sure about this. This is the second problem with my third statement trying to connect to CQ5. I probably missed something fundamental. Can you give a hint or a curriculum how to start to get some knowledge how to access crx with java?
    But anyway to go further, I need ot know whats wrong with my program:
    private void connectJcrUtils2() throws Exception {
            System.out.println("Start");
            //Create a connection to the Day CQ repository running on local host
            Repository repository = org.apache.jackrabbit.commons.JcrUtils.getRepository("http://localhost:4502/crx/server");
            //Create a Session instance       
            char[] password="admin".toCharArray();
            Credentials cred= new SimpleCredentials("admin", password);
            Session session = repository.login(cred);
            System.out.println("Done");
            System.out.println("Workspace: " +
                    session.getWorkspace().getName() + "\n");
            Node node = session.getRootNode();                                                   // Line 50 - see error messages below
            listChildren( "", session.getRootNode() );
        private static void listChildren(String indent, Node node ) throws RepositoryException {
            System.out.println("-->" + indent + node.getName());
            NodeIterator ni = node.getNodes();
            while(ni.hasNext()) {
                listChildren(indent+"  ", ni.nextNode());
    Start
    Done
    Workspace: crx.default
    Exception in thread "main" java.lang.AbstractMethodError: org.apache.jackrabbit.spi2davex.RepositoryServiceImpl.getItemInfos(Lorg/apache/jackrabbit /spi/SessionInfo;Lorg/apache/jackrabbit/spi/NodeId;)Ljava/util/Iterator;
        at org.apache.jackrabbit.jcr2spi.state.WorkspaceItemStateFactory.createNodeState(WorkspaceIt emStateFactory.java:93)
        at org.apache.jackrabbit.jcr2spi.state.TransientISFactory.createNodeState(TransientISFactory .java:97)
        at org.apache.jackrabbit.jcr2spi.hierarchy.NodeEntryImpl.doResolve(NodeEntryImpl.java:990)
        at org.apache.jackrabbit.jcr2spi.hierarchy.HierarchyEntryImpl.resolve(HierarchyEntryImpl.jav a:133)
        at org.apache.jackrabbit.jcr2spi.hierarchy.HierarchyEntryImpl.getItemState(HierarchyEntryImp l.java:252)
        at org.apache.jackrabbit.jcr2spi.hierarchy.NodeEntryImpl.getItemState(NodeEntryImpl.java:71)
        at org.apache.jackrabbit.jcr2spi.ItemManagerImpl.getItem(ItemManagerImpl.java:199)
        at org.apache.jackrabbit.jcr2spi.SessionImpl.getRootNode(SessionImpl.java:233)
        at AccessJCR.connectJcrUtils2(AccessJCR.java:50)
        at AccessJCR.main(AccessJCR.java:9)
    regards,
    Ulrich

    Hi,    
    I am trying to connect to remote JCR using the similiar code as above. But I am getting below exception.
    Exception in thread "main" javax.jcr.RepositoryException: Unable to access a repository with the following settings:
        org.apache.jackrabbit.repository.uri: http://localhost:4502/crx/server
    The following RepositoryFactory classes were consulted:
        org.apache.jackrabbit.commons.JndiRepositoryFactory: declined
        org.apache.jackrabbit.rmi.repository.RmiRepositoryFactory: failed
            because of RepositoryException: Failed to read the resource at URL http://localhost:4502/crx/server
            because of StreamCorruptedException: invalid stream header: 3C68746D
    Perhaps the repository you are trying to access is not available at the moment.
              at org.apache.jackrabbit.commons.JcrUtils.getRepository(JcrUtils.java:217)
              at org.apache.jackrabbit.commons.JcrUtils.getRepository(JcrUtils.java:257)
              at com.wsgc.digitalasset.constants.TestMigration.main(TestMigration.java:17)

  • Java.lang.AbstractMethodError: oracle.sql.BLOB.setBytes

    Hi ,
    When I deployed an application ( In Oracle 10g )that uses oracleresultset i am getting an error as follows java.lang.AbstractMethodError: oracle.sql.BLOB.setBytes
    anybody has a clue ?
    Vishnu

    Hi Vishnu,
    I got the same error, and also when trying blob.setBinaryStream(1L);
    By me the DB is an 8.1.6 and the JDBC Driver I tried are both the new 10.1 and older ones.
    Did you solve your problem ? In which case I would be interested in a solution. A work around seems to be the blob.getBinaryOutputStream() method, but this is a problem for me since it is not portable.
    Regards
    Michele

Maybe you are looking for

  • Help with regular expression needed

    Hi, Perhaps someone here can help me with my regular expression I'm trying to build in my Java code. The regular expression that I'm looking to build consists of any non-whitespace character up until it finds one or two <>= symbols and then any chara

  • Opening a pdf in Acrobat 9 automatically instead of in adobe Reader

    I have both Reader 9 and Acrobat 9 Pro in my PC. When I double-click a pdf file, it'll be opened automatically in Reader 9. Then I notice that when I right-click over a pdf filename, 'Open with Adobe Reader 9' comes before 'Open with Acrobat 9'. How/

  • Vertical alignment in cross-tab

    Hi, Anyone of you know how to align the measures Vertically Centered In Cross-tab report? As far as i know, there is option for Horizontal alignment; but no options for Vertical alignment. By default the text are docking on top aligned!!! Help me out

  • A bizarre behavior when include %@ session="false" %

    In weblogic8, suppose you have a.jsp and it has a line <%@ session="false" %>. Then the generated jsp_servlet file for this will not have session. It will have something like the following:           javax.servlet.jsp.JspFactory.getDefaultFactory().g

  • File size quandary....

    Hi I am submitting some photos to a contest with max file size 500k and 1000 pixel max per longest side. I am getting VERY different file sizes from Aperture than Photoshop. If I export with 1024*1024 setting I get a jpeg file 205k , 1000*667, 72dpi.