AbstractMethodError Exception

Hello everyone,
I've had this problem in a couple of days and couldn't solve this problem
Exception in thread "AWT-EventQueue-0" java.lang.AbstractMethodError: ics202.AbstractGraph$GraphVertex.getX()I
    at ics202.GraphicalGraphTest.paint(GraphicalGraphTest.java:90)I don't get why i get this run time error, the getX() method is implemented i'm sure of it, if it wasn't i would get an error while compiling, i'm kinda new with java i jsut took my 3rd course, but i'm not familiar with compilers and some other things.
Hope you can help me with this probelm,
Thank you :)

The API docs for AbstractMethodError say:
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.So the easiest solution is probably to delete your .class files and recompile everything.
Edited by: paulcw on Feb 2, 2008 11:31 AM

Similar Messages

  • Getting AbstractMethodError exception

    hola....
    i'm running this on a unix server with no display attached to it, i.e. headless server. i have Xvfb running as well. i have set he display variable in the script of the username under which the app server runs.
    did a whole lot of R&D and still have this problem:
    i call this jsp and here is what i get:
    i added the following code to the jsp below
    Graphics g = img.createGraphics();
    g.setColor(Color.white);
    g.fillRect(0, 0, img.getWidth(null),img.getHeight(null));
    g.drawImage(img, 0, 0, null);
    and got the following:
    sun.java2d.SunGraphicsEnvironment.createFontProperties()Lsun/awt/FontProperties;
    see code below. i am running solaris 8, jdk1.4.2 and coldfusionmx. any clue why i'm getting createFontProperties exception???? has anyone encountered this before.
    <%@ page language="java" contentType="text/html"
    import="java.io.*,java.awt.GraphicsEnvironment,
    java.awt.*,
    java.net.*"
    %>
    <html>
    <head>
    <title>Headless</title>
    </head>
    <body bgcolor="#ffffff" marginwidth="0" marginheight="0" topmargin="0" leftmargin="0">
    Getting headless property : <%=System.getProperty("java.awt.headless")%><BR>
    setting headless property to "true" <BR>
    <%
    System.setProperty("java.awt.headless", "true");
    %>
    check headless property : <%=System.getProperty("java.awt.headless")%><BR>
    <BR>
    java home : <%=System.getProperty("java.home")%><BR>
    classpath : <%=System.getProperty("java.class.path")%><BR>
    <BR>
    <%
    try
    if(java.awt.GraphicsEnvironment.isHeadless())
    {%>java.awt.GraphicsEnvironment.isHeadless<BR>
    <%}
    }catch(Exception e){
    %>headless exceptn
    <%}
    %>
    <%
    java.awt.image.BufferedImage img;
    try
    img = new java.awt.image.BufferedImage(10,10,java.awt.image.BufferedImage.TYPE_INT_ARGB);
    Graphics g = img.createGraphics();
    g.setColor(Color.white);
    g.fillRect(0, 0, img.getWidth(null),img.getHeight(null));
    g.drawImage(img, 0, 0, null);
    %>Got image object<BR>
    <%
    }catch(Exception e)
    %> Exception occured while getting BufferedImage object
    <%
    %>
    </body>
    </html>

    Annoyingly cross-posted at: http://forum.java.sun.com/thread.jsp?forum=4&thread=457706

  • AbstractMethodError in JDBC calls

    I am using weblogic.jdbc.mssqlserver4.Driver for MSSQLServer7.0.JavaTM 2 Platform
    Std. Ed. v1.3.While i am trying to run my code it throws AbstractMethodError where ever i used JDBC API. For example in some place i have called result.next()(result is ResultSet). In other place i have called result.getFectchSize(). Can somebody help to get rid of this problem. Atleast i want know why this is happening.
    Thanks in advance
    Siva

    Siva wrote:
    >
    I am using weblogic.jdbc.mssqlserver4.Driver for MSSQLServer7.0.JavaTM 2 Platform
    Std. Ed. v1.3.While i am trying to run my code it throws AbstractMethodError where ever i used JDBC API. For example in some place i have called result.next()(result is ResultSet). In other place i have called result.getFectchSize(). Can somebody help to get rid of this problem. Atleast i want know why this is happening.
    Thanks in advance
    Siva
    Our driver is only at the JDBC 1.0 level in functionality. There is a way to call it so you
    don't get AbstractMethodError exceptions, but you will then get SQLExceptions saying
    'this jdbc 2.0 method is unimplemented'. For jdbc 2.0 compliance, I recommend using either
    MS's new free type-4 driver or the good driver from www.inetsoftware.de.
    Joe

  • Scrollable/Read_only  ResultSet objects

    I am trying to create an instance of a scrollable/read_only ResultSet object with the following code:
    Statement stmt = con.createStatement(
    ResultSet.TYPE_SCROLL_INSENSITIVE,
    ResultSet.CONCUR_READ_ONLY);
    ResultSet rs = stmt.executeQuery("SELECT * FROM ...");
    The Connection object has been made successfully but am getting an AbstractMethodError Exception at line 1.
    Can anyone please help me out here.
    Thank you.

    I don't believe the Oracle driver allows for
    read/only. I'll take a look at the Oracle website,
    and see if I can verify that.
    JoelSorry, I was wrong on this. From the Oracle JDBC documentation, it states that CONCUR_READ_ONLY is valid for the Oracle 8 and Oracle 9 drivers. Are you using classes12.zip or classes12.jar for your Oracle libraries?

  • Scrollable/Updateable ResultSet objects

    I am trying to create an instance of a scrollable/updateable ResultSet object with the following code:
    Statement stmt = con.createStatement(
    ResultSet.TYPE_SCROLL_INSENSITIVE,
    ResultSet.CONCUR_UPDATABLE);
    ResultSet rs = stmt.executeQuery("SELECT * FROM sch.a");
    The Connection object has been made successfully but am getting an AbstractMethodError Exception at line 1.
    Can anyone please help me out here.
    Thanks
    I am using JDK 1.3.1 and JDBC 2.0

    I use this and works fine for me....let me know how it goes...
    ResultSet resultSetMultCond = null;
    Statement getMultPartCond = null;
    String sqlMultCond = null;
    sqlMultCond = "SELECT #PART,#CONDS,COUNT(*) AS MCOUNT FROM MYLIB WHERE #PART = 'A123' GROUP BY #PART,#CONDS ORDER BY #PART";
    getMultPartCond = conn.createStatement(java.sql.ResultSet.TYPE_SCROLL_SENSITIVE,java.sql.ResultSet.CONCUR_UPDATABLE);
    resultSetMultCond = getMultPartCond.executeQuery(sqlMultCond);

  • Getting generated keys inside Java

    Is there any way to get generated keys in Java running on CF
    server?
    I have some java code accessed from CF, I get a connection to
    the data source by name via
    "coldfusion.server.DataSourceService.getDatasource(datasourceName).getConnection()"
    call within java, which works. However if I try to do a
    connection.prepareStatement(sql,
    PreparedStatement.RETURN_GENERATED_KEYS) call or
    preparedStatement.getGeneratedKeyts() call I get a
    "java.lang.AbstractMethodError" exception like:
    java.lang.AbstractMethodError:
    coldfusion.server.j2ee.sql.JRunConnectionHandle.prepareStatement(Ljava/lang/String;I)Ljav a/sql/PreparedStatement;
    Which seems to indicate to me that CF does not implement
    getting generated keys via JDBC - is there another way or do I have
    to just give up and do a "select" after "insert"?
    Hope this made sense.
    Thanks,
    -HH
    P.S. In case this is usefull, CF MX7 with MSSQL2005 , JDK
    1.4

    Hichhiker wrote:
    > Is there any way to get generated keys in Java running
    on CF server?
    CF6/7 uses JDBC 2 so I don't think you can get it to work
    there. In CF 8
    it should work (if your database supports it).
    Jochem
    Jochem van Dieten
    Adobe Community Expert for ColdFusion

  • TopLink issues using Weblogic Server 8.1 SP3 and MAC OS X with Oracle 9i

    Hi, I have successfully deployed my EJB (entity bean) on WLS 8.1 (the generic version) on Mac OS X. I also have installed Apple jdk 1.4.2 and everything seems to be ok. The server came up without any problem and can connect to my Oracle DB. I verify this from Weblogic console. However, when I try to access the bean (create/find), I got this AbstractMethodError exception. Can anyone help ?
    Thanks for any help/pointer you can provide.
    Regards,
    Message = Could not create network. javax.ejb.TransactionRolledbackLocalExceptio
    n: EJB Exception: : java.lang.AbstractMethodError: oracle.toplink.internal.ejb.c
    mp.wls.Wls81BeanManager.localCreate(Lweblogic/ejb20/internal/InvocationWrapper;L
    java/lang/reflect/Method;Ljava/lang/reflect/Method;[Ljava/lang/Object;)Ljavax/ej
    b/EJBLocalObject;
    at weblogic.ejb20.internal.EntityEJBLocalHome.create(EntityEJBLocalHome.
    java:170)
    at com.maranti.msm.server.objectRepository.Network_kmp5vn_LocalHomeImpl.
    create(Network_kmp5vn_LocalHomeImpl.java:151)
    at com.maranti.msm.server.topologyManagement.TopologyManagerEJB.createNe
    tworkBean(TopologyManagerEJB.java:157)
    at com.maranti.msm.server.topologyManagement.TopologyManagerEJB.getRootN
    etwork(TopologyManagerEJB.java:347)
    at com.maranti.msm.server.topologyManagement.TopologyManager_363sal_EOIm
    pl.getRootNetwork(TopologyManager_363sal_EOImpl.java:1558)
    at com.maranti.msm.server.topologyManagement.TopologyManager_363sal_EOIm
    pl_WLSkel.invoke(Unknown Source)
    at weblogic.rmi.internal.BasicServerRef.invoke(BasicServerRef.java:477)
    at weblogic.rmi.cluster.ReplicaAwareServerRef.invoke(ReplicaAwareServerR
    ef.java:108)
    at weblogic.rmi.internal.BasicServerRef$1.run(BasicServerRef.java:420)
    at weblogic.security.acl.internal.AuthenticatedSubject.doAs(Authenticate
    dSubject.java:363)
    at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:
    144)
    at weblogic.rmi.internal.BasicServerRef.handleRequest(BasicServerRef.jav
    a:415)
    at weblogic.rmi.internal.BasicExecuteRequest.execute(BasicExecuteRequest
    .java:30)
    at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:219)
    at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:178)

    Any idea, anyone ?

  • Exception data: java.lang.AbstractMethodError - Calling Remote Method.

    We recently changed some of our CMP fields from primative int's to integer's and now we are receiving Abstract Method Errors at runtime. We have fixed all the methods that use this CMP fields, well at least we think we got them all. Since this are remote methods the sever is setup to pull JAR files from a lib directory on the server. This JAR files have also been updated. Can anyone give me more information about this error or something I might be missing.
    ------------------------------------------------------------------------------------- Errors -------------------------------------------------------------------------------------
    [11/7/07 15:40:23:141 CST] 00000022 ExceptionUtil E CNTR0020E: EJB threw an unexpected (non-declared) exception during invocation of method "getPositionInfo" on bean "BeanId(hr-ear#hr-ejb.jar#PositionService, null)". Exception data: java.lang.AbstractMethodError: com/tgt/supply/pdd/ejb/entity/AmcOffice.getOfcI()Ljava/lang/Integer;
         at com.theamc.hr.ejb.session.PositionServiceBean.getPositionCollections(PositionServiceBean.java:1383)
         at com.theamc.hr.ejb.session.PositionServiceBean.getPositionInfo(PositionServiceBean.java:46)
         at com.theamc.hr.ejb.session.EJSRemoteStatelessPositionService_fae72574.getPositionInfo(EJSRemoteStatelessPositionService_fae72574.java:262)
         at com.theamc.hr.ejb.session._PositionService_Stub.getPositionInfo(_PositionService_Stub.java:272)
         at com.theamc.hr.web.servlet.PositionServlet.createPageObject(PositionServlet.java:153)
         at com.theamc.framework.servlet.ControllerServlet.doGet(ControllerServlet.java:221)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:743)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
         at com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:966)
         at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:478)
         at com.ibm.ws.wswebcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:463)
         at com.ibm.ws.webcontainer.servlet.CacheServletWrapper.handleRequest(CacheServletWrapper.java:92)
         at com.ibm.ws.webcontainer.WebContainer.handleRequest(WebContainer.java:744)
         at com.ibm.ws.wswebcontainer.WebContainer.handleRequest(WebContainer.java:1433)
         at com.ibm.ws.webcontainer.channel.WCChannelLink.ready(WCChannelLink.java:93)
         at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleDiscrimination(HttpInboundLink.java:465)
         at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleNewInformation(HttpInboundLink.java:394)
         at com.ibm.ws.http.channel.inbound.impl.HttpICLReadCallback.complete(HttpICLReadCallback.java:102)
         at com.ibm.ws.tcp.channel.impl.AioReadCompletionListener.futureCompleted(AioReadCompletionListener.java:152)
         at com.ibm.io.async.AbstractAsyncFuture.invokeCallback(AbstractAsyncFuture.java:213)
         at com.ibm.io.async.AbstractAsyncFuture.fireCompletionActions(AbstractAsyncFuture.java:195)
         at com.ibm.io.async.AsyncFuture.completed(AsyncFuture.java:136)
         at com.ibm.io.async.ResultHandler.complete(ResultHandler.java:194)
         at com.ibm.io.async.ResultHandler.runEventProcessingLoop(ResultHandler.java:741)
         at com.ibm.io.async.ResultHandler$2.run(ResultHandler.java:863)
         at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1510)
    [11/7/07 15:34:10:043 CST] 00000020 ExceptionUtil E CNTR0020E: EJB threw an unexpected (non-declared) exception during invocation of method "getUserOrgInfo" on bean "BeanId(userprofile-ear#userprofile-ejb.jar#UserOrgInfo, null)". Exception data: java.lang.AbstractMethodError: com/tgt/supply/pdd/ejb/entity/AmcOffice.getOfcI()Ljava/lang/Integer;
         at com.theamc.userprofile.ejb.session.UserOrgInfoBean.getUserOfficeValue(UserOrgInfoBean.java:536)
         at com.theamc.userprofile.ejb.session.UserOrgInfoBean.getUserOrgInfo(UserOrgInfoBean.java:84)
         at com.theamc.userprofile.ejb.session.EJSRemoteStatelessUserOrgInfo_13c2e095.getUserOrgInfo(EJSRemoteStatelessUserOrgInfo_13c2e095.java:194)
         at com.theamc.userprofile.ejb.session._UserOrgInfo_Stub.getUserOrgInfo(_UserOrgInfo_Stub.java:273)
         at com.theamc.userprofile.servlet.UserOrgInfoServlet.createPageObject(UserOrgInfoServlet.java:243)
         at com.theamc.framework.servlet.ControllerServlet.doGet(ControllerServlet.java:221)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:743)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
         at com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:966)
         at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:478)
         at com.ibm.ws.wswebcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:463)
         at com.ibm.ws.webcontainer.webapp.WebApp.handleRequest(WebApp.java:3129)
         at com.ibm.ws.webcontainer.webapp.WebGroup.handleRequest(WebGroup.java:238)
         at com.ibm.ws.webcontainer.WebContainer.handleRequest(WebContainer.java:811)
         at com.ibm.ws.wswebcontainer.WebContainer.handleRequest(WebContainer.java:1433)
         at com.ibm.ws.webcontainer.channel.WCChannelLink.ready(WCChannelLink.java:93)
         at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleDiscrimination(HttpInboundLink.java:465)
         at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleNewInformation(HttpInboundLink.java:394)
         at com.ibm.ws.http.channel.inbound.impl.HttpICLReadCallback.complete(HttpICLReadCallback.java:102)
         at com.ibm.ws.tcp.channel.impl.AioReadCompletionListener.futureCompleted(AioReadCompletionListener.java:152)
         at com.ibm.io.async.AbstractAsyncFuture.invokeCallback(AbstractAsyncFuture.java:213)
         at com.ibm.io.async.AbstractAsyncFuture.fireCompletionActions(AbstractAsyncFuture.java:195)
         at com.ibm.io.async.AsyncFuture.completed(AsyncFuture.java:136)
         at com.ibm.io.async.ResultHandler.complete(ResultHandler.java:194)
         at com.ibm.io.async.ResultHandler.runEventProcessingLoop(ResultHandler.java:741)
         at com.ibm.io.async.ResultHandler$2.run(ResultHandler.java:863)
         at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1510)
    ------------------------------------------------------------------------------------- Usage -------------------------------------------------------------------------------------
    HashMap ofcRegn = new HashMap();
    AmcOffice off = null;
    AmcOfficeHome offHome = com.tgt.supply.pdd.ejb.entity.EntityHomeFactory.getAmcOfficeHome();
    ArrayList ofcColl = new ArrayList();
    Iterator iter = offHome.findAll().iterator();
    while (iter.hasNext()) {
    off = (AmcOffice) PortableRemoteObject.narrow(iter.next(), AmcOffice.class);
    ofcColl.add(new GenericCode(""+off.getOfcI(),off.getOfcN())); line 1383
    ofcRegn.put(""+off.getOfcI(),""+off.getRegnI());
    The abstract method error is thrown when off.getOfcI() is called. OfcI is the field that was changed from a primative int to an integer.
    Any help is appreciated
    Chris

    I am pretty sure. I am using RAD locally so I have deleted all the generated AccessBean and Deployment code and rerun the deploy. My concern is that these remote methods are using an external JAR file which is loaded when the server is started. I have updated this JAR files, but I am not sure if maybe they are being cached some where.

  • Exception Occur  "java.lang.AbstractMethodError: oracle.jdbc.driver....."

    I am using oracle 10.2.0.1.0. I can able to connect the database using sqlplus. I am executing some ant task. While running the ant script I am getting the following exception.
    [java] INFO: Locale id is:1
    [java] Oct 16, 2006 7:20:24 PM com.cramer.globalisation.resourcebundleloader.DataBaseMgr getLocaleI
    d
    [java] INFO: Using the default locale ID :1
    [java] Oct 16, 2006 7:20:24 PM com.cramer.globalisation.resourcebundleloader.ResourceBundleReader l
    oadPropertyFile
    [java] INFO: .\html\homepages\thersholdhomepage\config\bundle\thersholdhomepage.properties is Crame
    r resource bundle file
    [java] java.lang.AbstractMethodError: oracle.jdbc.driver.T4CConnection.setSavepoint(Ljava/lang/Stri
    ng;)Ljava/sql/Savepoint;
    [java] at org.apache.tools.ant.taskdefs.ExecuteJava.execute(ExecuteJava.java:180)
    [java] at org.apache.tools.ant.taskdefs.Java.run(Java.java:710)
    [java] at org.apache.tools.ant.taskdefs.Java.executeJava(Java.java:178)
    [java] at org.apache.tools.ant.taskdefs.Java.execute(Java.java:84)
    [java] at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:275)
    [java] at org.apache.tools.ant.Task.perform(Task.java:364)
    [java] at org.apache.tools.ant.Target.execute(Target.java:341)
    [java] at org.apache.tools.ant.Target.performTasks(Target.java:369)
    [java] at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1216)
    [java] at org.apache.tools.ant.helper.SingleCheckExecutor.executeTargets(SingleCheckExecutor.ja
    va:37)
    [java] at org.apache.tools.ant.Project.executeTargets(Project.java:1068)
    [java] at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:382)
    [java] at org.apache.tools.ant.taskdefs.CallTarget.execute(CallTarget.java:107)
    [java] at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:275)
    [java] at org.apache.tools.ant.Task.perform(Task.java:364)
    [java] at org.apache.tools.ant.Target.execute(Target.java:341)
    [java] at org.apache.tools.ant.Target.performTasks(Target.java:369)
    [java] at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1216)
    [java] at org.apache.tools.ant.Project.executeTarget(Project.java:1185)
    [java] at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:40)
    [java] at org.apache.tools.ant.Project.executeTargets(Project.java:1068)
    [java] at org.apache.tools.ant.Main.runBuild(Main.java:668)
    [java] at org.apache.tools.ant.Main.startAnt(Main.java:187)
    [java] at org.apache.tools.ant.launch.Launcher.run(Launcher.java:246)
    [java] at org.apache.tools.ant.launch.Launcher.main(Launcher.java:67)
    [java] Caused by: java.lang.AbstractMethodError: oracle.jdbc.driver.T4CConnection.setSavepoint(Ljav
    a/lang/String;)Ljava/sql/Savepoint;
    [java] at com.cramer.globalisation.resourcebundleloader.DataBaseMgr.insertBundleRow(DataBaseMgr
    .java:118)
    [java] at com.cramer.globalisation.resourcebundleloader.ResourceBundleLoader.loadPropertyFiles(
    ResourceBundleLoader.java:77)
    [java] at com.cramer.globalisation.resourcebundleloader.ResourceBundleLoader.main(ResourceBundl
    eLoader.java:47)
    [java] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    [java] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    [java] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    [java] at java.lang.reflect.Method.invoke(Method.java:324)
    [java] at org.apache.tools.ant.taskdefs.ExecuteJava.run(ExecuteJava.java:202)
    [java] at org.apache.tools.ant.taskdefs.ExecuteJava.execute(ExecuteJava.java:134)
    [java] ... 24 more
    [java] --- Nested Exception ---
    [java] java.lang.AbstractMethodError: oracle.jdbc.driver.T4CConnection.setSavepoint(Ljava/lang/Stri
    ng;)Ljava/sql/Savepoint;
    [java] at com.cramer.globalisation.resourcebundleloader.DataBaseMgr.insertBundleRow(DataBaseMgr
    .java:118)
    Can anyone help me in this issue?.....

    few of my colligue are using the same database, and
    they are not getting these kind of error. Only my
    system and 2 more system is giving these problem.
    All of us are using the same version of oracle
    only.I said driver not database.
    >
    Only I am and 2 more friends are getting the "
    java.lang.AbstractMethodError:
    oracle.jdbc.driver.T4CConnection.setSavepoint(Ljava/la
    ng/String")
    "And are you running the same exact code as everyone else?
    Additionally you might want to check your class path to verify that only what is required is in that.
    You haven't put anything in the ext directory have you?

  • Exception java.lang.AbstractMethodError

    I've had a lot of problems updating an EJB on a Windows NT Weblogic 5.1 server, used by a Java application. The application utilized a new class I've created, called TFUserCredentials. Everytime I implement this class into the EJB, very strange things happens: Error messages like nosuchmethodexception, AbstractMethodError etc. But once I remove any reference to this class from a method's argument list or as a return type, the problems disapear (along with any usefullness with these methods). I wonder if anybody has experienced these problems before. It's like the Weblogic server refuses to recognize the TFUserCredentials class. I've made absolutely sure that both the client and the EJB uses the same versions of the common classes, and that the TFUserCredentials class resides on the server's class path.
    I would really appreciate some help on this one as I've struggled with this problem for weeks now.
    Kenneth

    What blows up? EJBC or Weblogic? Try packing the class as part of the app
    instead of in the CLASSPATH.
    Peace,
    Cameron Purdy
    Tangosol, Inc.
    Clustering Weblogic? You're either using Coherence, or you should be!
    Download a Tangosol Coherence eval today at http://www.tangosol.com/
    "Odd Kenneth Oden" <[email protected]> wrote in message
    news:3c7a4043$[email protected]..
    I've had a lot of problems updating an EJB on a Windows NT Weblogic 5.1server, used by a Java application. The application utilized a new class
    I've created, called TFUserCredentials. Everytime I implement this class
    into the EJB, very strange things happens: Error messages like
    nosuchmethodexception, AbstractMethodError etc. But once I remove any
    reference to this class from a method's argument list or as a return type,
    the problems disapear (along with any usefullness with these methods). I
    wonder if anybody has experienced these problems before. It's like the
    Weblogic server refuses to recognize the TFUserCredentials class. I've made
    absolutely sure that both the client and the EJB uses the same versions of
    the common classes, and that the TFUserCredentials class resides on the
    server's class path.
    I would really appreciate some help on this one as I've struggled withthis problem for weeks now.
    >
    Kenneth

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

  • WSAD 5.1, JDBC 1.2;  DB2 7.2; Servelet Exception due to Prepared Statement

    Hi - I am using WSAD 5.1.2, JDBC1.2 and DB2 and driver classes for JDBC1.2.
    However when i start my WAS Server, I get the following error:
    Did not realize init() exception thrown by servlet bootstrap: javax.servlet.ServletException: COM/ibm/db2/jdbc/app/DB2Connection.prepareStatement
    Its elabroated as below. Any inputs appreciated. Thanks
    *** Starting the server ***
    ************ Start Display Current Environment ************
    WebSphere Platform 5.1 [BASE 5.1.0.3 cf30412.02] [JDK 1.4.1 b0344.02] running with process name localhost\localhost\server1 and process id 3408
    Host Operating System is Windows XP, version 5.1
    Java version = J2RE 1.4.1 IBM Windows 32 build cn1411-20031011 (JIT enabled: jitc), Java Compiler = jitc, Java VM name = Classic VM
    was.install.root = D:\Program Files\WebSphere\runtimes\base_v51
    user.install.root = D:\Program Files\WebSphere\runtimes\base_v51
    Java Home = D:\Program Files\WebSphere\runtimes\base_v51\java\jre
    ws.ext.dirs = D:\Program Files\WebSphere\runtimes\base_v51/java/lib;D:\Program Files\WebSphere\runtimes\base_v51/classes;D:\Program Files\WebSphere\runtimes\base_v51/classes;D:\Program Files\WebSphere\runtimes\base_v51/lib;D:\Program Files\WebSphere\runtimes\base_v51/lib/ext;D:\Program Files\WebSphere\runtimes\base_v51/web/help;D:\Program Files\WebSphere\runtimes\base_v51/deploytool/itp/plugins/com.ibm.etools.ejbdeploy/runtime;D:/Program Files/SQLLIB/java/db2java.zip;D:/Program Files/WebSphere/wstools/eclipse/plugins/com.ibm.etools.webservice_5.1.2/runtime/worf.jar
    Classpath = D:\Program Files\WebSphere\runtimes\base_v51/properties;D:\Program Files\WebSphere\runtimes\base_v51/properties;D:\Program Files\WebSphere\runtimes\base_v51/lib/bootstrap.jar;D:\Program Files\WebSphere\runtimes\base_v51/lib/j2ee.jar;D:\Program Files\WebSphere\runtimes\base_v51/lib/lmproxy.jar;D:\Program Files\WebSphere\runtimes\base_v51/lib/urlprotocols.jar;D:/Program Files/WebSphere/wstools/eclipse/plugins/com.ibm.etools.websphere.tools.common_5.1.1.1/runtime/wteServers.jar;D:/Program Files/WebSphere/wstools/eclipse/plugins/com.ibm.etools.websphere.tools.common_5.1.1.1/runtime/wasToolsCommon.jar
    Java Library path = D:\Program Files\WebSphere\runtimes\base_v51/bin;D:\Program Files\WebSphere\runtimes\base_v51/java/bin;D:\Program Files\WebSphere\runtimes\base_v51/java/jre/bin;D:\Program Files\WebSphere\eclipse\jre\bin;.;C:\SYSROOT\system32;C:\SYSROOT;D:\Java\jdk1.5.0_04\bin;C:\SYSROOT\system32;C:\SYSROOT;C:\SYSROOT\System32\Wbem;D:\Program Files\Rational\common;C:\Program Files\MySQL\MySQL Server 5.0\bin;C:\Program Files\CA\SharedComponents\ScanEngine;C:\Program Files\CA\SharedComponents\CAUpdate\;C:\Program Files\CA\SharedComponents\ThirdParty\;C:\Program Files\CA\SharedComponents\SubscriptionLicense\;C:\Program Files\CA\eTrustITM;D:\Program Files\SQLLIB\BIN;D:\Program Files\SQLLIB\FUNCTION;D:\Program Files\SQLLIB\SAMPLES\REPL;D:\Program Files\SQLLIB\HELP;D:\PROGRA~1\IBM\IMNNQ
    ************* End Display Current Environment *************
    [9/20/07 14:50:02:324 IST] 7cd85806 ManagerAdmin I TRAS0017I: The startup trace state is *=all=disabled.
    [9/20/07 14:50:03:495 IST] 7cd85806 AdminInitiali A ADMN0015I: AdminService initialized
    [9/20/07 14:50:04:870 IST] 7cd85806 Configuration A SECJ0215I: Successfully set JAAS login provider configuration class to com.ibm.ws.security.auth.login.Configuration.
    [9/20/07 14:50:04:933 IST] 7cd85806 SecurityDM I SECJ0231I: The Security component's FFDC Diagnostic Module com.ibm.ws.security.core.SecurityDM registered successfully: true.
    [9/20/07 14:50:05:464 IST] 7cd85806 SecurityCompo I SECJ0309I: Java 2 Security is disabled.
    [9/20/07 14:50:05:464 IST] 7cd85806 SecurityCompo I SECJ0212I: WCCM JAAS configuration information successfully pushed to login provider class.
    [9/20/07 14:50:05:480 IST] 7cd85806 SecurityCompo I SECJ0240I: Security service initialization completed successfully
    [9/20/07 14:50:05:480 IST] 7cd85806 JMSRegistrati A MSGS0602I: WebSphere Embedded Messaging Client only has been installed
    [9/20/07 14:50:09:777 IST] 7cd85806 ResourceMgrIm I WSVR0049I: Binding jdbc/mrsinventoryDataSource_CF as eis/jdbc/mrsinventoryDataSource_CMP
    [9/20/07 14:50:09:824 IST] 7cd85806 ResourceMgrIm I WSVR0049I: Binding jdbc/mrsinventoryDataSource as jdbc/mrsinventoryDataSource
    [9/20/07 14:50:10:652 IST] 7cd85806 CacheServiceI I DYNA0048I: WebSphere Dynamic Cache initialized successfully.
    [9/20/07 14:50:12:699 IST] 7cd85806 JMXSoapAdapte A ADMC0013I: SOAP connector available at port 8880
    [9/20/07 14:50:12:699 IST] 7cd85806 SecurityCompo I SECJ0243I: Security service started successfully
    [9/20/07 14:50:12:699 IST] 7cd85806 SecurityCompo I SECJ0210I: Security enabled false
    [9/20/07 14:50:14:324 IST] 7cd85806 ApplicationMg A WSVR0200I: Starting application: IBMUTC
    [9/20/07 14:50:15:152 IST] 7cd85806 WebContainer A SRVE0161I: IBM WebSphere Application Server - Web Container. Copyright IBM Corp. 1998-2002
    [9/20/07 14:50:15:167 IST] 7cd85806 WebContainer A SRVE0162I: Servlet Specification Level: 2.3
    [9/20/07 14:50:15:183 IST] 7cd85806 WebContainer A SRVE0163I: Supported JSP Specification Level: 1.2
    [9/20/07 14:50:15:277 IST] 7cd85806 WebContainer A SRVE0169I: Loading Web Module: IBM Universal Test Client.
    [9/20/07 14:50:15:620 IST] 7cd85806 WebGroup I SRVE0180I: [IBM Universal Test Client] [UTC] [Servlet.LOG]: JSP 1.2 Processor: init
    [9/20/07 14:50:15:995 IST] 7cd85806 WebGroup I SRVE0180I: [IBM Universal Test Client] [UTC] [Servlet.LOG]: SimpleFileServlet: init
    [9/20/07 14:50:16:074 IST] 7cd85806 ApplicationMg A WSVR0221I: Application started: IBMUTC
    [9/20/07 14:50:16:074 IST] 7cd85806 ApplicationMg A WSVR0200I: Starting application: MRSInventory_17thJuly2007
    [9/20/07 14:50:16:167 IST] 7cd85806 WebContainer A SRVE0169I: Loading Web Module: MRSInventory.
    [9/20/07 14:50:16:949 IST] 7cd85806 WebGroup I SRVE0180I: [MRSInventory] [mrs/inventory] [Servlet.LOG]: JSP 1.2 Processor: init
    [9/20/07 14:50:17:011 IST] 7cd85806 WebGroup I SRVE0180I: [MRSInventory] [mrs/inventory] [Servlet.LOG]: SimpleFileServlet: init
    [9/20/07 14:50:17:027 IST] 7cd85806 WebGroup I SRVE0180I: [MRSInventory] [mrs/inventory] [Servlet.LOG]: InvokerServlet: init
    [9/20/07 14:50:17:105 IST] 7cd85806 WebGroup I SRVE0180I: [MRSInventory] [mrs/inventory] [Servlet.LOG]: bootstrap: init
    [9/20/07 14:50:17:105 IST] 7cd85806 WebGroup I SRVE0180I: [MRSInventory] [mrs/inventory] [Servlet.LOG]: bootstrap: config.domain = mrsinventory
    [9/20/07 14:50:17:105 IST] 7cd85806 WebGroup I SRVE0180I: [MRSInventory] [mrs/inventory] [Servlet.LOG]: bootstrap: unprocessed subdomains = null
    [9/20/07 14:50:17:261 IST] 7cd85806 WebGroup I SRVE0180I: [MRSInventory] [mrs/inventory] [Servlet.LOG]: bootstrap class=org.grnds.facility.GrndsCommonFacilityBootstrap
    [9/20/07 14:50:17:261 IST] 7cd85806 WebGroup I SRVE0180I: [MRSInventory] [mrs/inventory] [Servlet.LOG]: bootstrap: config.getInitParameter( grnds.xml.config.map ) = null
    [9/20/07 14:50:17:261 IST] 7cd85806 WebGroup I SRVE0180I: [MRSInventory] [mrs/inventory] [Servlet.LOG]: bootstrap: config.getServletContext().getRealPath('/') = D:\MRSInventory\MRSInventoryWeb\WebContent
    [9/20/07 14:50:17:261 IST] 7cd85806 WebGroup I SRVE0180I: [MRSInventory] [mrs/inventory] [Servlet.LOG]: bootstrap: looking for xml config map at D:\MRSInventory\MRSInventoryWeb\WebContent\WEB-INF\grnds-xmlconfig-map.xconf
    [9/20/07 14:50:17:261 IST] 7cd85806 WebGroup I SRVE0180I: [MRSInventory] [mrs/inventory] [Servlet.LOG]: bootstrap: xml config map not found in the WEB-INF directory, rely on systematically set xml configuration files
    [9/20/07 14:50:17:261 IST] 7cd85806 SystemOut O configuration mapping information is initialized.
    [9/20/07 14:50:17:261 IST] 7cd85806 WebGroup I SRVE0180I: [MRSInventory] [mrs/inventory] [Servlet.LOG]: bootstrap: looking for web app map D:\MRSInventory\MRSInventoryWeb\WebContent\WEB-INF\grnds-web-app.xconf
    [9/20/07 14:50:17:261 IST] 7cd85806 WebGroup I SRVE0180I: [MRSInventory] [mrs/inventory] [Servlet.LOG]: bootstrap: web app map resource path=grnds-web-app.xconf
    [9/20/07 14:50:17:261 IST] 7cd85806 WebGroup I SRVE0180I: [MRSInventory] [mrs/inventory] [Servlet.LOG]: bootstrap: classloader=
    com.ibm.ws.classloader.CompoundClassLoader@1f57d804
    Local ClassPath: D:\MRSInventory\MRSInventoryWeb\WebContent\WEB-INF\classes;D:\MRSInventory\MRSInventoryWeb\WebContent;D:\MRSInventory\MRSInventory_17thJuly2007\ApacheCollections.jar;D:\MRSInventory\MRSInventory_17thJuly2007\ApplicationArchitecture.jar;D:\MRSInventory\MRSInventory_17thJuly2007\OswegoEdu.jar;D:\MRSInventory\MRSInventory_17thJuly2007\hsqldb.jar;D:\MRSInventory\MRSInventory_17thJuly2007\jakarta-oro-2.0.2-dev-1.jar;D:\MRSInventory\MRSInventory_17thJuly2007\jdom.jar;D:\MRSInventory\MRSInventory_17thJuly2007\log4j.jar;D:\MRSInventory\MRSInventory_17thJuly2007\mrsarchcommon.jar;D:\MRSInventory\MRSInventory_17thJuly2007\trucommon.jar;D:\MRSInventory\MRSInventory_17thJuly2007\velocity-1.2-dev.jar;D:\MRSInventory\MRSInventory_17thJuly2007\xalan.jar;D:\MRSInventory\MRSInventory_17thJuly2007\xalanj1compat.jar;D:\MRSInventory\MRSInventory_17thJuly2007\xerces.jar;D:\MRSInventory\MRSInventory_17thJuly2007\FiscalWeekInformation.jar;D:\MRSInventory\MRSInventory_17thJuly2007\mrscommon.jar;
    Delegation Mode: PARENT_FIRST
    [9/20/07 14:50:17:261 IST] 7cd85806 WebGroup I SRVE0180I: [MRSInventory] [mrs/inventory] [Servlet.LOG]: bootstrap: resource web app map=null
    [9/20/07 14:50:17:261 IST] 7cd85806 WebGroup I SRVE0180I: [MRSInventory] [mrs/inventory] [Servlet.LOG]: bootstrap: web app map not found in the WEB-INF directory, relying on xml config map setting
    [9/20/07 14:50:17:261 IST] 7cd85806 SystemOut O web application mapping information is initialized.
    [9/20/07 14:50:17:355 IST] 7cd85806 SystemOut O exception mapper is initialized.
    [9/20/07 14:50:17:589 IST] 7cd85806 SystemOut O Common Facility Bootstrap successfully executed.
    [9/20/07 14:50:18:042 IST] 7cd85806 ConnectionFac I J2CA0122I: Resource reference jdbc/mrsinventoryDataSource could not be located, so default values of the following are used: [Resource-ref settings]
         res-auth: 1 (APPLICATION)
         res-isolation-level: 0 (TRANSACTION_NONE)
         res-sharing-scope: true (SHAREABLE)
         res-resolution-control: 999 (undefined)
    [Other attributes]
    isCMP1_x: false (not CMP1.x)
    isJMS: false (not JMS)
    [9/20/07 14:50:18:261 IST] 7cd85806 SystemOut O data source is initialized.
    [9/20/07 14:50:18:261 IST] 7cd85806 SystemOut O About to call application-specific bootstrap (com.tru.mrs.inventory.common.structural.web.MRSInventoryBootstrap)...
    [9/20/07 14:50:18:277 IST] 7cd85806 SystemOut O Successfully obtained name supplied by the properties file.
    [9/20/07 14:50:18:277 IST] 7cd85806 SystemOut O Successfully created an instance of the bootstrap.
    [9/20/07 14:50:18:308 IST] 7cd85806 SystemOut O screen profile cache is initialized
    [9/20/07 14:50:20:495 IST] 7cd85806 WSRdbDataSour I DSRA8203I: Database product name : DB2
    [9/20/07 14:50:20:511 IST] 7cd85806 WSRdbDataSour I DSRA8204I: Database product version : 08.01.0005
    [9/20/07 14:50:20:511 IST] 7cd85806 WSRdbDataSour I DSRA8205I: JDBC driver name : IBM DB2 JDBC 1.2 Type 2
    [9/20/07 14:50:20:511 IST] 7cd85806 WSRdbDataSour I DSRA8206I: JDBC driver version : 07.02.0005
    [9/20/07 14:50:25:042 IST] 7cd85806 ServletInstan E SRVE0100E: Did not realize init() exception thrown by servlet bootstrap: javax.servlet.ServletException: COM/ibm/db2/jdbc/app/DB2Connection.prepareStatement
         at com.ibm.ws.webcontainer.servlet.StrictServletInstance.doInit(StrictServletInstance.java:99)
         at com.ibm.ws.webcontainer.servlet.StrictLifecycleServlet._init(StrictLifecycleServlet.java:147)
         at com.ibm.ws.webcontainer.servlet.PreInitializedServletState.init(StrictLifecycleServlet.java:270)
         at com.ibm.ws.webcontainer.servlet.StrictLifecycleServlet.init(StrictLifecycleServlet.java:113)
         at com.ibm.ws.webcontainer.servlet.ServletInstance.init(ServletInstance.java:189)
         at javax.servlet.GenericServlet.init(GenericServlet.java:258)
         at com.ibm.ws.webcontainer.webapp.WebAppServletManager.addServlet(WebAppServletManager.java:870)
         at com.ibm.ws.webcontainer.webapp.WebAppServletManager.loadServlet(WebAppServletManager.java:224)
         at com.ibm.ws.webcontainer.webapp.WebAppServletManager.loadAutoLoadServlets(WebAppServletManager.java:542)
         at com.ibm.ws.webcontainer.webapp.WebApp.loadServletManager(WebApp.java:1277)
         at com.ibm.ws.webcontainer.webapp.WebApp.init(WebApp.java:283)
         at com.ibm.ws.webcontainer.srt.WebGroup.loadWebApp(WebGroup.java:387)
         at com.ibm.ws.webcontainer.srt.WebGroup.init(WebGroup.java:209)
         at com.ibm.ws.webcontainer.WebContainer.addWebApplication(WebContainer.java:1005)
         at com.ibm.ws.runtime.component.WebContainerImpl.install(WebContainerImpl.java:136)
         at com.ibm.ws.runtime.component.WebContainerImpl.start(WebContainerImpl.java:356)
         at com.ibm.ws.runtime.component.ApplicationMgrImpl.start(ApplicationMgrImpl.java:505)
         at com.ibm.ws.runtime.component.DeployedApplicationImpl.fireDeployedObjectStart(DeployedApplicationImpl.java:808)
         at com.ibm.ws.runtime.component.DeployedModuleImpl.start(DeployedModuleImpl.java:354)
         at com.ibm.ws.runtime.component.DeployedApplicationImpl.start(DeployedApplicationImpl.java:578)
         at com.ibm.ws.runtime.component.ApplicationMgrImpl.startApplication(ApplicationMgrImpl.java:299)
         at com.ibm.ws.runtime.component.ApplicationMgrImpl.start(ApplicationMgrImpl.java:256)
         at com.ibm.ws.runtime.component.ContainerImpl.startComponents(ContainerImpl.java:536)
         at com.ibm.ws.runtime.component.ContainerImpl.start(ContainerImpl.java:413)
         at com.ibm.ws.runtime.component.ApplicationServerImpl.start(ApplicationServerImpl.java:128)
         at com.ibm.ws.runtime.component.ContainerImpl.startComponents(ContainerImpl.java:536)
         at com.ibm.ws.runtime.component.ContainerImpl.start(ContainerImpl.java:413)
         at com.ibm.ws.runtime.component.ServerImpl.start(ServerImpl.java:183)
         at com.ibm.ws.runtime.WsServer.start(WsServer.java:128)
         at com.ibm.ws.runtime.WsServer.main(WsServer.java:225)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:79)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:41)
         at java.lang.reflect.Method.invoke(Method.java:386)
         at com.ibm.ws.bootstrap.WSLauncher.main(WSLauncher.java:105)
         at com.ibm.etools.websphere.tools.runner.api.ServerRunnerV5$1.run(ServerRunnerV5.java:97)
    ---- Begin backtrace for Nested Throwables
    java.lang.AbstractMethodError: COM/ibm/db2/jdbc/app/DB2Connection.prepareStatement
         at com.ibm.ws.rsadapter.jdbc.WSJdbcConnection.prepareStatement(WSJdbcConnection.java:1458)
         at com.ibm.ws.rsadapter.jdbc.WSJdbcConnection.prepareStatement(WSJdbcConnection.java:1424)
         at com.tru.mrs.common.facility.security.authorization.AuthorizationServiceDAO.getApplicationLayout(AuthorizationServiceDAO.java:126)
         at com.tru.mrs.common.facility.security.authorization.AuthorizationService.getApplicationLayout(AuthorizationService.java:117)
         at com.tru.mrs.common.facility.security.authorization.AuthorizationCacheManager.createApplicationLayout(AuthorizationCacheManager.java:106)
         at com.tru.mrs.common.structural.web.MRSBootstrap.cacheApplicationLayout(MRSBootstrap.java:68)
         at com.tru.mrs.common.structural.web.MRSBootstrap.startBootstrap(MRSBootstrap.java:141)
         at com.tru.mrs.inventory.common.structural.web.MRSInventoryBootstrap.startBootstrap(MRSInventoryBootstrap.java:43)
         at org.grnds.structural.web.GrndsBootstrapServlet.doBootstrapFacilities(GrndsBootstrapServlet.java:186)
         at org.grnds.structural.web.GrndsBootstrapServlet.init(GrndsBootstrapServlet.java:280)
         at com.ibm.ws.webcontainer.servlet.StrictServletInstance.doInit(StrictServletInstance.java:82)
         at com.ibm.ws.webcontainer.servlet.StrictLifecycleServlet._init(StrictLifecycleServlet.java:147)
         at com.ibm.ws.webcontainer.servlet.PreInitializedServletState.init(StrictLifecycleServlet.java:270)
         at com.ibm.ws.webcontainer.servlet.StrictLifecycleServlet.init(StrictLifecycleServlet.java:113)
         at com.ibm.ws.webcontainer.servlet.ServletInstance.init(ServletInstance.java:189)
         at javax.servlet.GenericServlet.init(GenericServlet.java:258)
         at com.ibm.ws.webcontainer.webapp.WebAppServletManager.addServlet(WebAppServletManager.java:870)
         at com.ibm.ws.webcontainer.webapp.WebAppServletManager.loadServlet(WebAppServletManager.java:224)
         at com.ibm.ws.webcontainer.webapp.WebAppServletManager.loadAutoLoadServlets(WebAppServletManager.java:542)
         at com.ibm.ws.webcontainer.webapp.WebApp.loadServletManager(WebApp.java:1277)
         at com.ibm.ws.webcontainer.webapp.WebApp.init(WebApp.java:283)
         at com.ibm.ws.webcontainer.srt.WebGroup.loadWebApp(WebGroup.java:387)
         at com.ibm.ws.webcontainer.srt.WebGroup.init(WebGroup.java:209)
         at com.ibm.ws.webcontainer.WebContainer.addWebApplication(WebContainer.java:1005)
         at com.ibm.ws.runtime.component.WebContainerImpl.install(WebContainerImpl.java:136)
         at com.ibm.ws.runtime.component.WebContainerImpl.start(WebContainerImpl.java:356)
         at com.ibm.ws.runtime.component.ApplicationMgrImpl.start(ApplicationMgrImpl.java:505)
         at com.ibm.ws.runtime.component.DeployedApplicationImpl.fireDeployedObjectStart(DeployedApplicationImpl.java:808)
         at com.ibm.ws.runtime.component.DeployedModuleImpl.start(DeployedModuleImpl.java:354)
         at com.ibm.ws.runtime.component.DeployedApplicationImpl.start(DeployedApplicationImpl.java:578)
         at com.ibm.ws.runtime.component.ApplicationMgrImpl.startApplication(ApplicationMgrImpl.java:299)
         at com.ibm.ws.runtime.component.ApplicationMgrImpl.start(ApplicationMgrImpl.java:256)
         at com.ibm.ws.runtime.component.ContainerImpl.startComponents(ContainerImpl.java:536)
         at com.ibm.ws.runtime.component.ContainerImpl.start(ContainerImpl.java:413)
         at com.ibm.ws.runtime.component.ApplicationServerImpl.start(ApplicationServerImpl.java:128)
         at com.ibm.ws.runtime.component.ContainerImpl.startComponents(ContainerImpl.java:536)
         at com.ibm.ws.runtime.component.ContainerImpl.start(ContainerImpl.java:413)
         at com.ibm.ws.runtime.component.ServerImpl.start(ServerImpl.java:183)
         at com.ibm.ws.runtime.WsServer.start(WsServer.java:128)
         at com.ibm.ws.runtime.WsServer.main(WsServer.java:225)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:79)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:41)
         at java.lang.reflect.Method.invoke(Method.java:386)
         at com.ibm.ws.bootstrap.WSLauncher.main(WSLauncher.java:105)
         at com.ibm.etools.websphere.tools.runner.api.ServerRunnerV5$1.run(ServerRunnerV5.java:97)
    [9/20/07 14:50:25:073 IST] 7cd85806 WebGroup E SRVE0020E: [Servlet Error]-[bootstrap]: Failed to load servlet: java.lang.AbstractMethodError: COM/ibm/db2/jdbc/app/DB2Connection.prepareStatement
         at com.ibm.ws.rsadapter.jdbc.WSJdbcConnection.prepareStatement(WSJdbcConnection.java:1458)
         at com.ibm.ws.rsadapter.jdbc.WSJdbcConnection.prepareStatement(WSJdbcConnection.java:1424)
         at com.tru.mrs.common.facility.security.authorization.AuthorizationServiceDAO.getApplicationLayout(AuthorizationServiceDAO.java:126)
         at com.tru.mrs.common.facility.security.authorization.AuthorizationService.getApplicationLayout(AuthorizationService.java:117)
         at com.tru.mrs.common.facility.security.authorization.AuthorizationCacheManager.createApplicationLayout(AuthorizationCacheManager.java:106)
         at com.tru.mrs.common.structural.web.MRSBootstrap.cacheApplicationLayout(MRSBootstrap.java:68)
         at com.tru.mrs.common.structural.web.MRSBootstrap.startBootstrap(MRSBootstrap.java:141)
         at com.tru.mrs.inventory.common.structural.web.MRSInventoryBootstrap.startBootstrap(MRSInventoryBootstrap.java:43)
         at org.grnds.structural.web.GrndsBootstrapServlet.doBootstrapFacilities(GrndsBootstrapServlet.java:186)
         at org.grnds.structural.web.GrndsBootstrapServlet.init(GrndsBootstrapServlet.java:280)
         at com.ibm.ws.webcontainer.servlet.StrictServletInstance.doInit(StrictServletInstance.java:82)
         at com.ibm.ws.webcontainer.servlet.StrictLifecycleServlet._init(StrictLifecycleServlet.java:147)
         at com.ibm.ws.webcontainer.servlet.PreInitializedServletState.init(StrictLifecycleServlet.java:270)
         at com.ibm.ws.webcontainer.servlet.StrictLifecycleServlet.init(StrictLifecycleServlet.java:113)
         at com.ibm.ws.webcontainer.servlet.ServletInstance.init(ServletInstance.java:189)
         at javax.servlet.GenericServlet.init(GenericServlet.java:258)
         at com.ibm.ws.webcontainer.webapp.WebAppServletManager.addServlet(WebAppServletManager.java:870)
         at com.ibm.ws.webcontainer.webapp.WebAppServletManager.loadServlet(WebAppServletManager.java:224)
         at com.ibm.ws.webcontainer.webapp.WebAppServletManager.loadAutoLoadServlets(WebAppServletManager.java:542)
         at com.ibm.ws.webcontainer.webapp.WebApp.loadServletManager(WebApp.java:1277)
         at com.ibm.ws.webcontainer.webapp.WebApp.init(WebApp.java:283)
         at com.ibm.ws.webcontainer.srt.WebGroup.loadWebApp(WebGroup.java:387)
         at com.ibm.ws.webcontainer.srt.WebGroup.init(WebGroup.java:209)
         at com.ibm.ws.webcontainer.WebContainer.addWebApplication(WebContainer.java:1005)
         at com.ibm.ws.runtime.component.WebContainerImpl.install(WebContainerImpl.java:136)
         at com.ibm.ws.runtime.component.WebContainerImpl.start(WebContainerImpl.java:356)
         at com.ibm.ws.runtime.component.ApplicationMgrImpl.start(ApplicationMgrImpl.java:505)
         at com.ibm.ws.runtime.component.DeployedApplicationImpl.fireDeployedObjectStart(DeployedApplicationImpl.java:808)
         at com.ibm.ws.runtime.component.DeployedModuleImpl.start(DeployedModuleImpl.java:354)
         at com.ibm.ws.runtime.component.DeployedApplicationImpl.start(DeployedApplicationImpl.java:578)
         at com.ibm.ws.runtime.component.ApplicationMgrImpl.startApplication(ApplicationMgrImpl.java:299)
         at com.ibm.ws.runtime.component.ApplicationMgrImpl.start(ApplicationMgrImpl.java:256)
         at com.ibm.ws.runtime.component.ContainerImpl.startComponents(ContainerImpl.java:536)
         at com.ibm.ws.runtime.component.ContainerImpl.start(ContainerImpl.java:413)
         at com.ibm.ws.runtime.component.ApplicationServerImpl.start(ApplicationServerImpl.java:128)
         at com.ibm.ws.runtime.component.ContainerImpl.startComponents(ContainerImpl.java:536)
         at com.ibm.ws.runtime.component.ContainerImpl.start(ContainerImpl.java:413)
         at com.ibm.ws.runtime.component.ServerImpl.start(ServerImpl.java:183)
         at com.ibm.ws.runtime.WsServer.start(WsServer.java:128)
         at com.ibm.ws.runtime.WsServer.main(WsServer.java:225)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:79)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:41)
         at java.lang.reflect.Method.invoke(Method.java:386)
         at com.ibm.ws.bootstrap.WSLauncher.main(WSLauncher.java:105)
         at com.ibm.etools.websphere.tools.runner.api.ServerRunnerV5$1.run(ServerRunnerV5.java:97)
    [9/20/07 14:50:25:089 IST] 7cd85806 TraceNLS u No message text associated with key COM/ibm/db2/jdbc/app/DB2Connection.prepareStatement in bundle com.ibm.ejs.resources.seriousMessages
    [9/20/07 14:50:25:089 IST] 7cd85806 WebAppServlet E COM/ibm/db2/jdbc/app/DB2Connection.prepareStatement
    [9/20/07 14:50:25:105 IST] 7cd85806 ApplicationMg A WSVR0221I: Application started: MRSInventory_17thJuly2007
    [9/20/07 14:50:25:167 IST] 7cd85806 HttpTransport A SRVE0171I: Transport http is listening on port 9,080.
    [9/20/07 14:50:27:308 IST] 7cd85806 HttpTransport A SRVE0171I: Transport https is listening on port 9,443.
    [9/20/07 14:50:27:355 IST] 7cd85806 RMIConnectorC A ADMC0026I: RMI Connector available at port 2809
    [9/20/07 14:50:27:433 IST] 7cd85806 WsServer A WSVR0001I: Server server1 open for e-business

    It's hard to tell, but my thought is that maybe the driver is not consistent with the database version of DB2 that you are using.
    Be sure that the driver is the correct version for the database to which you are attempting to connect.

  • Exception while starting the weblogic10.0 server : getTransactionSupport

    We are in process of migrating the application from weblogic8 to weblogic10.0. we are facing some problem while starting the weblogic server, continously getting the exception like
    ####<31-Dec-2008 10:36:19 o'clock GMT> <Error> <<MessagingBridge> <blx25ao01> <aadev100-01><STANDBY ExecuteThread: '1' for queue: 'weblogic.kernel.Default (self-tuning)> <WLS Kernel> <1230719779233> <BEA-200044> <The following exception has occurred:
    java.lang.AbstractMethodError: getTransactionSupport
    at weblogic.jms.bridge.internal.MessagingBridge.startInternal(MessagingBridge.java:615)
    at weblogic.jms.bridge.internal.MessagingBridge.run(MessagingBridge.java:1030)
    at weblogic.work.SelfTuningWorkManagerImpl$WorkAdapterImpl.run(SelfTuningWorkManagerImpl.java:464)
    at weblogic.work.ExecuteThread.execute(ExecuteThread.java:200)
    at weblogic.work.ExecuteThread.run(ExecuteThread.java:172)
    >
    Our application is using the JMS with MQ Queue to send and receive the message. but messages are not flown fron MQ Queue to JMS server..
    Please guide me on this..as we are in critical stage of implementation phase.

    You need to open a support case at support.bea.com or 888.232.7878 for urgent issues.

  • Exception while trying to write xml file

    When I try to write my DOM tree to an XML file a get the following exception form the transformer.transform() function call:
    Exception in thread "AWT-EventQueue-0" java.lang.AbstractMethodError: org.apache.crimson.tree.XmlDocument.getXmlStandalone()Z
    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)
    at CentMon.ConfigRW.writeConfig(ConfigRW.java:77)
    The whole thing worked for 2 years. I did not change anything on the code. the only difference is that i have now office 2007 installed instead of office 2003.
    That's the code which generates the exception:
    import java.io.File;
    import java.io.IOException;
    import java.util.logging.Level;
    import java.util.logging.Logger;
    import javax.xml.parsers.DocumentBuilder;
    import javax.xml.parsers.DocumentBuilderFactory;
    import javax.xml.parsers.ParserConfigurationException;
    import javax.xml.transform.Transformer;
    import javax.xml.transform.TransformerConfigurationException;
    import javax.xml.transform.TransformerException;
    import javax.xml.transform.TransformerFactory;
    import javax.xml.transform.dom.DOMSource;
    import javax.xml.transform.stream.StreamResult;
    import org.w3c.dom.Document;
    import org.xml.sax.SAXException;
    public void writeConfig(Document doc){
    TransformerFactory tFactory =
    TransformerFactory.newInstance();
    Transformer transformer;
    if (doc==null){
    System.out.println("Document is null");
    else{
    try {
    transformer = tFactory.newTransformer();
    } catch (TransformerConfigurationException e) {
    transformer = null;
    System.out.println(e.getMessage());
    DOMSource source = new DOMSource(doc);
    StreamResult result = new StreamResult(new File(filename));
    try {
    if (transformer != null){
    transformer.transform(source, result);
    } catch (TransformerException ex) {
    Logger.getLogger(ConfigRW.class.getName()).log(Level.SEVERE, null, ex);
    }

    I am getting the exact same error when trying to write out an XML file. I have been following the J2EE Tutorial. Perhaps I need to look for a more recent tutorial.
    Exception in thread "AWT-EventQueue-0" java.lang.AbstractMethodError: org.apache.crimson.tree.XmlDocument.getXmlStandalone()Z
    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)
    at com.wordhopper.xml.DOMXMLParser.writeXMLFile(DOMXMLParser.java:55)
    at com.wordhopper.gui.xmltool.XMLEditor.writeButtonActionPerformed(XMLEditor.java:217)
    at com.wordhopper.gui.xmltool.XMLEditor.access$100(XMLEditor.java:13)
    at com.wordhopper.gui.xmltool.XMLEditor$2.actionPerformed(XMLEditor.java:139)
    at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:2028)
    at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2351)
    at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:387)
    at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:242)
    at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:236)
    at java.awt.Component.processMouseEvent(Component.java:6348)
    at javax.swing.JComponent.processMouseEvent(JComponent.java:3267)
    at java.awt.Component.processEvent(Component.java:6113)
    at java.awt.Container.processEvent(Container.java:2085)
    at java.awt.Component.dispatchEventImpl(Component.java:4714)
    at java.awt.Container.dispatchEventImpl(Container.java:2143)
    at java.awt.Component.dispatchEvent(Component.java:4544)
    at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4618)
    at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4282)
    at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4212)
    at java.awt.Container.dispatchEventImpl(Container.java:2129)
    at java.awt.Window.dispatchEventImpl(Window.java:2475)
    at java.awt.Component.dispatchEvent(Component.java:4544)
    at java.awt.EventQueue.dispatchEvent(EventQueue.java:635)
    at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:296)
    at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:211)
    at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:201)
    at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:196)
    at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:188)
    at java.awt.EventDispatchThread.run(EventDispatchThread.java:122)

  • Java.rmi.ServerError: A error occurred the server; nested exception is:

    Hello Guys,
    I'm getting the following error when calling a method of a normally
    deployed facade session bean.
    java.rmi.ServerError: A error occurred the server; nested exception is:
    java.lang.AbstractMethodError
    It's very confusing, it sometimes appear and sometimes the method is
    invoked normally.
    Thanks in advance for ur help.
    Itani
    [att1.html]

    That error means your are not running xserver process. Or, your ssh connection is not set-up to forward X-11 data.

Maybe you are looking for

  • Leaving Action Date not refleting properly

    Dear Expert, We have implementing Germany Payroll for our client. We have created the actions like - Deputation Initiation, End of Deputation which is similar to Hiring & Leaving. While executing End of Deputation action, system is not taking the act

  • How to add 3 legends for a single series barchart?? JAVAFX

    Here is my code to generate 10 bars of different colors. I want to add legend respectively but it only one shows yellow legend 1. I think it shows only 1 color because there is only 1 series. Is it possible to add more than 1 legend for a single seri

  • Fixing a sequence created as 29.97 - should have been 25fps

    It's been many years since I edited anything, as I primarily shoot commercials and edits are done by others much more qualified. My last Premiere software was purchased back when Photoshop 5.0 was new . . . so apologies in advance for this senior mom

  • Serious Album Art Question!

    here is the situation, for the songs i have purchased it works perfectly, however, for other songs that i have that i have applied album art too, even though when i select it in the iTunes the album art is the same for the whole album, for other albu

  • N95 PC Sync Problem

    I connect my phone via USB to my laptop and run PC Suite 6.8, click on Syncronise and Syncronise Now and the following appears, the last report displays the following, does anyone know what it means? PC Sync information. PC Sync has encountered a pro