OC4J 9.0.4 migrate to 10.1.3.1 JSP fails using abstract class for ResultSet

Consider the following JSP code snipet:
<%
com.class.SQLDataSource detail = ((com.class.SQLDataSource)request.getAttribute("AcctList"));
%>
<%while detail.next()) {detail.getRow();%>
<tr ...>
<td ...><%= detail.getString("ACCT") %></td>
</tr>
<%}%>
blah, blah, blah
class snipet looks like this:
public abstarct class SQLDataSource extends serializable {
private ResultSet resultSet = null;
private PreparesStatement stmt = null;
public boolean next() throws SQLException {
boolean result = getResultSet().next();
return (result);
public String getString(String columnName) throws SQLExcpetion {
return getResultSet().getString(columnName);
public void execute() throws SQLException {
-- checks stmt
-- if null generates resultSet from "AcctList.sql" query
-- if not null, re-executes as-is stmt for a query only
protected ResultSet getResultSet() throws SQLException {
execute(); // see above
return resultSet;
The problem:
<%= detail.getString("ACCT") %> generates a NullPointerException
Yet, if I add debug statements in the SQLDataSouce class, they conclusively show that resultSet has 1902 rows and I can diplay the contents on these rows (on the console, of course, the JSP still generates a NullPointerException).
If I "hardcode" the creation of a ResultSet in the JSP, the pages displays properly (not the desired method).
PLEASE TAKE NOTE: This JSP/Class combination works PERFECTLY in OC4J 9.0.4 using JDeveloper 9.0.5.2. When I deploy the **EXACT SAME** JSP/Class combination in JDeveloper/OC4J 10.1.3.1, I receive the NullPointerException.
So what this feels like to me (and my VERY limited J2EE experinece) is that the abstract class SQLDataSource has somehow lost/closed/dropped/corrupted resultSet when "returning" to the JSP for display of the contents of resultSet. This is, of course, a laymans explanation of the experienced effect of running this code.
It makes me wonder if under 10.1.3.1 "something more" must be done so that the (abstract) SQLDataSource class can operate in the same way it did under 9.0.4.
Last note: this NullPointerException happens whether I deploy to standalone OC4J 10.1.3.1 or if I execute my application withing JDevloper's Embedded OC4J instance.
Any Assistance on this MOST aggrivating problem would be greatly appreciated.
Others have yet to solve it in similar posts of mine. Hopefully this more definitive description will help YOU be my personal HERO.
Ed.

repost to pique interest

Similar Messages

  • I have chosen to fil migrate from old ibook to new MacBook Pro using Time Machine after establishing admin account. I now have two admin. accounts and wish to delete the later one and transfer files manually. I am worried I will loose both accounts. ??

    I have chosen to fil migrate from old ibook to new MacBook Pro using Time Machine after establishing admin account. I now have two admin. accounts and wish to delete the later one and transfer files manually. I am worried I will loose both accounts. ??

    Use the Office for Mac and ignore using Parallels for that. If you have PC only apps you have to run that are MS Windows only then consider Parallels. Just transfer your main PC, using Migration Assistant.  If you don't know how then simply read over Pondini's article called Lion or Mountain Lion Setup Assistant tips and look for the section on migrating from a PC. Millions have done what you are about to, it's far from leading edge these days, if you go to an Apple Store to purchase they will offer this as a service, something you might be interested in.

  • Unable to install Adobe Digital Reader 3.0. Keep receiving error message "migration has stopped working" and then installation fails.

    Every time I try to install Adobe Digital Reader 3.0 I get an error message "migration has stopped working" and the installation fails. Is there a solution to this?

    Trying to install. Installation fails and I am unable to open it to migrate
    epub books to transfer to ereader
    In a message dated 8/31/2014 9:50:51 A.M. Eastern Daylight Time, 
    [email protected] writes:
    Unable  to install Adobe Digital Reader 3.0. Keep receiving error message 
    "migration has stopped working" and then installation fails.
    created by kglad (https://forums.adobe.com/people/kglad)  in 
    Downloading, Installing, Setting Up - View the full  discussion
    (https://forums.adobe.com/message/6688648#6688648)

  • How do i migrate files from a imac to macbook pro using an ethernet cable. the migration program asks for firewire and i don't own a fireWire.  I do own an ethernet cable though

    how do i migrate files from a imac to macbook pro using an ethernet cable. the migration program asks for firewire and i don't own a fireWire.  I do own an ethernet cable though

    A FW cable would be far faster & Easier, but with Ethernet you need a compatible version of Migration Assistant running on both Macs.

  • Migrating Oracle forms to APEX 3.2 without using Forms2XML tool

    Can we migrate Oracle forms to APEX 3.2 without using Forms2XML tool?

    Hi Anoo,
    In order to convert Oracle Forms to Oracle Application Express, using the Forms Conversion utility in Oracle APEX 3.2, you are required to convert your Forms Module (FMB) files to XML format, using the Oracle Forms to XML conversion tool, Forms2XML. I would recommend that you review Chapter 4 [Converting an Oracle Forms Application|http://download.oracle.com/docs/cd/E14373_01/migrate.32/e13368/appmgr_forms.htm] , in the Oracle Application Express Migration Guide Release 3.2
    If you have any further questions relating to the Oracle Forms to Oracle Application Express conversions, I would recommend that you refer to the [Application Express|http://forums.oracle.com/forums/forum.jspa?forumID=137] forum.
    I hope this helps.
    Regards,
    Hilary

  • TopLink to EclipseLink migration - Missing class for indicator field value

    I am migrating Toplink 11g to EclipseLink 12.1.3.  I have EclipseLink.jar to the classpath. I have few mapping xml files. When executing the application, i am getting following error.
    Exception [EclipseLink-9005] (Eclipse Persistence Services - 2.5.2.v20140319-9ad6abd): org.eclipse.persistence.exceptions.SessionLoaderException
    Exception Description: An exception was thrown while loading the project-xml file [META-INF/Business.xml].
    Internal Exception: Exception [EclipseLink-43] (Eclipse Persistence Services - 2.5.2.v20140319-9ad6abd): org.eclipse.persistence.exceptions.DescriptorException
    Exception Description: Missing class for indicator field value [toplink:object-type-mapping] of type [class java.lang.String].
    Descriptor: XMLDescriptor(org.eclipse.persistence.mappings.DatabaseMapping --> [DatabaseTable(attribute-mapping)]).
    How to resolve this.

    Ooooops, sorry, guys!
    I was using TopLink 10.1.3.0 JARs to run a project created via TopLink 10.1.3.1 Workbench. That was the reason for the exception.
    I ran across the REAL problem, however. The one that was occurring when I created the TopLink project via JDeveloper 10.1.3.1 and ran it via JDeveloper 10.1.3.1. That's why I decided to try with TopLink 10.1.3.1 Workbench instead of JDeveloper 10.1.3.1.
    I will report the problem in a clean separate post.

  • Migration from Infotmix 11.5 to Oracle 10g using OMWK

    Hi,
    when i try to migrat Informix 11.5 to Oracle 10g with OMWK i got an error
    ** Oracle Migration Workbench
    ** Production
    ** ( Build 20050629 )
    ** OMWB_HOME: C:\Temp\eBook\Oracle\omwb
    ** user language: en
    ** user region: null
    ** user timezone:
    ** file encoding: Cp1252
    ** java version: 1.4.2_04
    ** java vendor: Sun Microsystems Inc.
    ** o.s. arch: x86
    ** o.s. name: Windows NT (unknown)
    ** o.s. version: 6.0
    ** Classpath:
    ..\lib\boot.jar
    ** Started : Fri Dec 03 10:20:28 GMT 2010
    ** Workbench Repository : Oracle9i Lite ORDBMS 4.0.3.11.0
    ** The following plugins are installed:
    ** Informix Dynamic Server 9.x Plugin, Production Release 10.1.0.4.0
    ** Active Plugin : Informix9
    : Informix Dynamic Server 9.52.TC7CE
    : IBM Informix JDBC Driver for IBM Informix Dynamic Server 2.21.JC5
    java.sql.SQLException: [POL-2401] the number value is not in the valid range
         at oracle.lite.poljdbc.LiteEmbPreparedStmt.jniExecute(Native Method)
         at oracle.lite.poljdbc.LiteEmbPreparedStmt.execute(Unknown Source)
         at oracle.lite.poljdbc.POLJDBCPreparedStatement.executeInt(Unknown Source)
         at oracle.lite.poljdbc.POLJDBCPreparedStatement.executeUpdate(Unknown Source)
         at oracle.mtg.informix9.server.Informix9LoadTableData._loadSourceModelData(Informix9LoadTableData.java:621)
         at oracle.mtg.informix9.server.Informix9LoadTableData.run(Informix9LoadTableData.java:703)
         at oracle.mtg.migration.WorkerThread.run(Worker.java:268)
    java.sql.SQLException: [POL-2401] the number value is not in the valid range
         at oracle.lite.poljdbc.LiteEmbPreparedStmt.jniExecute(Native Method)
         at oracle.lite.poljdbc.LiteEmbPreparedStmt.execute(Unknown Source)
         at oracle.lite.poljdbc.POLJDBCPreparedStatement.executeInt(Unknown Source)
         at oracle.lite.poljdbc.POLJDBCPreparedStatement.executeUpdate(Unknown Source)
         at oracle.mtg.informix9.server.Informix9LoadTableData._loadSourceModelData(Informix9LoadTableData.java:621)
         at oracle.mtg.informix9.server.Informix9LoadTableData.run(Informix9LoadTableData.java:703)
         at oracle.mtg.migration.WorkerThread.run(Worker.java:268)
    java.sql.SQLException: [POL-2401] the number value is not in the valid range
         at oracle.lite.poljdbc.LiteEmbPreparedStmt.jniExecute(Native Method)
         at oracle.lite.poljdbc.LiteEmbPreparedStmt.execute(Unknown Source)
         at oracle.lite.poljdbc.POLJDBCPreparedStatement.executeInt(Unknown Source)
         at oracle.lite.poljdbc.POLJDBCPreparedStatement.executeUpdate(Unknown Source)
         at oracle.mtg.informix9.server.Informix9LoadTableData._loadSourceModelData(Informix9LoadTableData.java:621)
         at oracle.mtg.informix9.server.Informix9LoadTableData.run(Informix9LoadTableData.java:703)
         at oracle.mtg.migration.WorkerThread.run(Worker.java:268)
    java.sql.SQLException: [POL-5205] column not found
         at oracle.lite.poljdbc.LiteEmbPreparedStmt.jniPrepare(Native Method)
         at oracle.lite.poljdbc.LiteEmbPreparedStmt.prepare(Unknown Source)
         at oracle.lite.poljdbc.POLJDBCPreparedStatement.<init>(Unknown Source)
         at oracle.lite.poljdbc.POLJDBCPreparedStatement.<init>(Unknown Source)
         at oracle.lite.poljdbc.OraclePreparedStatement.<init>(Unknown Source)
         at oracle.lite.poljdbc.POLJDBCConnection.prepareStatement(Unknown Source)
         at oracle.mtg.informix9.server.Informix9LoadTableData._loadSourceModelData(Informix9LoadTableData.java:464)
         at oracle.mtg.informix9.server.Informix9LoadTableData.run(Informix9LoadTableData.java:703)
         at oracle.mtg.migration.WorkerThread.run(Worker.java:268)
    EXCEPTION : LoadTableData.run() : IDS9_SYSUSERS [POL-5205] column not found
    _releaseConnection did not find connection to release!
    java.lang.Exception
         at oracle.mtg.informix7.server.Informix7ConnectionCache.releaseConnection(Informix7ConnectionCache.java:168)
         at oracle.mtg.informix7.server.Informix7ServiceImpl.releaseSourceConnection(Informix7ServiceImpl.java:310)
         at oracle.mtg.informix7.server.Informix7SourceModelLoad.loadSourceModel(Informix7SourceModelLoad.java:312)
         at oracle.mtg.informix7.ui.Informix7CaptureWizard.doCapture(Informix7CaptureWizard.java:751)
         at oracle.mtg.informix7.ui.Informix7CaptureWizard._runDialog(Informix7CaptureWizard.java:561)
         at oracle.mtg.informix7.ui.Informix7CaptureWizard.capture(Informix7CaptureWizard.java:490)
         at oracle.mtg.migrationUI.ActionMenuHandler._capture(ActionMenuHandler.java:208)
         at oracle.mtg.migrationUI.ActionMenuHandler.run(ActionMenuHandler.java:85)
         at oracle.mtg.migration.WorkerThread.run(Worker.java:268)
    ** Shutdown : Fri Dec 03 10:40:09 GMT 2010
    mayby because i'm using plug-in for Informix 9 (i cannot find plug-in for Informix 11.5!)
    could you hlep me?
    Thanks
    Maysar

    Hi,
    The 10.1 OMWB does not support the migration of Informix 11.5 and there is no plugin for that version.
    At the moment SQL*Develeoper migration workbench doesn't support Informix migrations either.
    If you have access to My Oracle Support have a look at this note -
    How To Migrate Non-Oracle Databases For Which A Migration Workbench Option Is Not Available (Doc ID 393760.1)
    Regards,
    Mike

  • Can Oracle Migration Workbench 2.0.2.0.0 be used to migrate SQL 7.0 to Oracle 8i?

    Hi,
    Does anyone know that can Oracle Migration Workbench 2.0.2.0.0
    be used to migrate SQL 7.0 to Oracle 8i? or the version
    2.0.2.0.0 can be only used for Oracle 9i?
    I failed to install Oracle Migration Workbench 2.0.2.0.0 onto my
    workstation(running Oracle 8.1.7), because it need Oracle 9i.
    Thanks
    Leo Siu

    One more question: where can I download the Oracle Migration
    Workbench 1.4.1.0.0 in order to migrate non-oracle database to
    Oracle 8i?
    Thanks

  • Migrating from 9.2 to 10.0 portal using migration wizard in 10.0.

    Migrating from 9.2 to 10.0 portal using migration wizard in 10.0.
    I am getting the following errors:
    "A WebLogic Portal web application project should be added as a J2EE module a WebLogic Portal EAR project for proper deployment
    The associated EAR "MyPortalEAR" is not a Portal Application Services EAR          LabPortal     "
    I just followed the steps given in portal guide.
    Can some one help

    They are not available for download.
    Don't erase your 9.x on your system yet, you'll need to upgrade your firmware first:
    http://docs.info.apple.com/article.html?artnum=86117
    Otherwise you may end up with a permanently blank screen.
    Once your firmware is up to date, and you have at least 3.5 GB of at least a 10 GB hard drive free (see my FAQ*: http://www.macmaps.com/diskfull.html to learn what proportions you need free), you have at least 512 MB of RAM, and your data is backed up, you can upgrade to 10.3.9. I wouldn't bother with anything less. See this place*:
    http://www.macmaps.com/usedrefurbished.html
    on where you might be able to find 10.3 retail, which looks like *, and then you can upgrade to 10.3.9 from the combo update here:
    http://www.apple.com/support/downloads/macosxcombinedupdate1039.html
    10.0 to 10.3 are not tiger. 10.0 = Cheetah, 10.1 is Puma, 10.2 is Jaguar, and 10.3 is Panther. Ironically 10.3 is the fastest of the bunch.
    - * Links to images I asterisk, and my pages are hosted on a website I may get compensation from.
    Message was edited by: a brody

  • Can I use SQL developer for a Sybase IQ migration to Oracle?

    Hello,
    Can I use SQL developer for a Sybase IQ migration to Oracle?
    Currently in the supported list appears only Sybase Adaptive Server 12 and 15.
    Thanks,
    Florin D.

    Sorry, we don't support IQ migrations at this time.

  • Live Migration failed using virtual HBA's and Guest Clustering

    Hi,
    We have a Guest Cluster Configuration on top of an Hyper-V Cluster. We are using Windows 2012 and Fiber Channel shared storage.
    The problem is regarding Live Migration. Some times when we move a virtual machine from node A to node B everything goes well but when we try to move back to node A Live Migration fails. What we can see is that when we move the VM from node A to B and Live
    Migration completes successfully the virtual ports remain active on node A, so when we try to move back from B to A Live Migration fails because the virtual ports are already there.
    This doesn't happen every time.
    We have checked the zoning between Host Cluster Hyper-V and the SAN, the mapping between physical HBA's and the vSAN's on the Hyper-V and everything is ok.
    Our doubt is, what is the best practice for zoning the vHBA on the VM's and our Fabric? We setup our zoning using an alias for the vHBA 1 and the two WWN (A and B) on the same object and an alias for the vHBA 2 and the correspondent WWN (A and B). Is it
    better to create an alias for vHBA 1 -> A (with WWN A) and other alias for vHBA 1 -> B (with WWN B)? 
    The guest cluster VM's have 98GB of RAM each. Could it be a time out issue when Live Migration happen's and the virtual ports remain active on the source node? When everything goes well, the VM moves from node A with vHBA WWN A to node B and stays there
    with vHBA WWN B. On the source node the virtual ports should be removed automatically when the Live Migration completes. And that is the issue... sometimes the virtual ports (WWN A) stay active on the source node and when we try to move back the VM Live Migration
    fails.
    I hope You may understand the issue.
    Regards,
    Carlos Monteiro.

    Hi ,
    Hope the following link may help.
    To support live migration of virtual machines across Hyper-V hosts while maintaining Fibre Channel connectivity, two WWNs are configured for each virtual Fibre Channel adapter: Set A and Set B. Hyper-V automatically alternates between the Set A and Set B
    WWN addresses during a live migration. This ensures that all LUNs are available on the destination host before the migration and that no downtime occurs during the migration.
    Hyper-V Virtual Fibre Channel Overview
    http://technet.microsoft.com/en-us/library/hh831413.aspx
    More information:
    Hyper-V Virtual Fibre Channel Troubleshooting Guide
    http://social.technet.microsoft.com/wiki/contents/articles/18698.hyper-v-virtual-fibre-channel-troubleshooting-guide.aspx
    Hyper-V Virtual Fibre Channel Design Guide
    http://blogs.technet.com/b/privatecloud/archive/2013/07/23/hyper-v-virtual-fibre-channel-design-guide.aspx
    Hyper-V virtual SAN
    http://salworx.blogspot.co.uk/
    Thanks.
    Please remember to click “Mark as Answer” on the post that helps you, and to click “Unmark as Answer” if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread.

  • How to implement Startup class for OC4J

    I'm in the process of converting my current J2EE application from weblogic 5.1 to OC4J.
    I have startup class that would set application specific properties by reading property file. In addition, this class would also check for certain resource availability (like database) during weblogic startup. I could not find similar option in OC4J.
    Any help to convert this startup class for OC4J would be highly appreciated.
    Thanks
    Sankaran.

    Hi Sankaran,
    Your eMail address suggests you work for Oracle. Do you? Can't someone
    at Oracle help you?
    I imagine that Oracle would have some kind of agreement with Ironflare
    as well. Can't someone at Ironflare help you?
    But remember, with application servers (as with RDBMSs), no two are the
    same. Each one offers the same functionality, but using different methods
    to achieve that functionality. I don't know how to do it, but I'm sure
    you can check database availability when starting up OC4J -- just not
    the same way you do it in Weblogic.
    Good Luck,
    Avi.

  • Windows migration assistant gives error " An error occurred while preparing your information for transfer " Please suggest how to proceed . Many Thanks .

    Windows migration assistant gives error " An error occurred while preparing your information for transfer " Please suggest how to proceed . Many Thanks .

    To find out what is causing the Migration Assistant to fail, you can check the SystemMigration log located in - C:\Users\[user name]\AppData\Local\Temp\SystemMigration

  • Why can't I migrate from an iPhone 3GS to a 4GS using iCloud Backup/Restore?? (Says incompatible.)

    Why can't I -simply- migrate from an iPhone 3GS to a 4GS using iCloud Backup/Restore??
    (The 4GS says it's incompatible with 3GS iCloud Backups and so it cannot restore them.)
    I've had to use a computer with iTunes, but surely iCloud can be used fior this?

    You need to update your 4 to newer software to restore from icloud back up, until then you will get incompatible message. So steps are - set up your iphone 4 as new. Update. Erase. Restore from cloud backup. If you update does not take long you should be all set within an hour.

  • How to deploy JSP application using inbuilt OC4J of Oracle BPEL??

    I have to combine JSP pages with BPEL and for that i have to deploy applications with the inbuilt OC4J i dont know from where to deploy the whole application and how to write build.xml for deploying using obant

    You can deploy your application to the Oracle Bpel Server by specifying a new Application Server connection that points to yout LocalBpelServer.
    You don't need to write a build.xml file, you can just use the Deployment Descriptor functionality of JDeveloper which is much more easier than using the obant.
    The process of automatically deploying your UI-application to the Oracle Bpel Server, without any manual steps or restaring the server, is fully documented on the following blog: http://iadvise.blogspot.com/

Maybe you are looking for

  • Including a web page in my jsf

    Hi, I have a tabbed panel (I'm using myfaces' tomahawk) and I want to include in one tab the content of another web page. Is it possible ? Thank you.

  • Error when syncing iPhone 4

    I recently upgraded to iPhone 4.  Ever since doing that, I have been experiencing a problem when I sync the phone with my computer.  I am constantly getting an error message that states: iTunes could not back up the iPhone "" because the backup could

  • "Posting Date" field blank by default

    Hi! Is there any way, in transactions FB60 and F-43, so that field "Posting Date" is displayed blank whenever the user executes them? By default, this field displays the current date. Thank you Lucia

  • Mail send error from Jive forum

    Hi Gurus, I have a problem: in our portal implemented a jive forum, but we cannot send any mail from forum. The portal send mail (e.g. if I create a new collaboration room, I get the invite mail). What should I configure to repair this bug? Thanks fo

  • Where do I go to find out what is registered in my name. thanks

    where do I go to find out what is registered in my name, thanks