Urgent : Oracle AS 10.1.2.0.2 : Switch OC4J's JDK version to 1.3 ?

Hi,
We have inherited an EJB application which was written during the hey days of JDK 1.3.
We have an Oracle AS 10.1.2.0.2 & we have successfully migrated most of the other Applications / Oracle J PDK Applications which were developed using JDK 1.4. Unfortunately, we now need to migrate the older EJB application to Oracle AS 10.1.2.0.2.
We tried a few dry runs with our staging Oracle As 10.1.2.0.2 instances - unfortunately, the application's code just won't compile - it looks as if we need to rewrite our application to compile under JDK 1.4. We can do this - but, we are hard pressed for time & we are looking for a solution that can bail us out of this tight corner.
I would like to know if we can switch the OC4J's JDK version to 1.3 in any supported way ? If yes, we can just install another Oracle AS J2EE instance dedicated to out legacy ( !! ) EJB Application at this time & think about reqwiting & performance tuing at leisure.
If not, what other options to I have ? Have I provided enough information or do I need to post additional infromation ? Please do let me know if more information is needed.
Thanks in advance,
Sandeep

Hi,
We also tried to follow Metalink Note:351476.1 which talks about changing the JAVA version used to run a specific OC4J instance. However, after following the steps, when we try to start our OC4J instance, we see this error:-
D:\OraInfra\opmn\bin>opmnctl startproc process-type=OC4J_JDK13
opmnctl: starting opmn managed processes...
=============================================================================
opmn id=nac014:6200
0 of 1 processes started.
ias-instance id=OraInfra.myHost.idc.oracle.com
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
ias-component/process-type/process-set:
OC4J/OC4J_JDK13/default_island
Error
--> Process (pid=6240)
failed to start a managed process after the maximum retry limit
Log:
D:\OraInfra\opmn\logs\OC4J~OC4J_JDK13~default_island~1
Now, when I look into the log file, I see this ( !! ) :-
06/02/21 18:18:11 Start process
06/02/21 18:18:13 Start process
06/02/21 18:18:15 Start process
I understand that OC4J tried thrice before giving up, but if there are no error, I don't know why OC4J just refuses to start ? Truly, the mystery deepens....
Regards,
Sandeep

Similar Messages

  • URGENT - Oracle 9i, Oracle 9iAS, and Oracle 9iAS Portal Installation Problem

    ERROR :
    1. Objects with type JAVA CLASS with more than 30 characters are truncated to 30 characters
    2. There are only 30 objects with type JAVA CLASS are installed (instead of 334) mentioned on the troubleshooting guide
    3. Oracle9iASHttpService automatically stops after starting the service
    Environment :
    Windows 2000 Server
    Oracle 9i 9.0.1.1.1
    Oracle 9iAS 3.0.9.8.2 (Oracle 9iAS 1.0.2.2.2a)
    PDK Services for Java version 3.0.9.0.4 (from Patch used to install 3.0.9.8.2)
    Patches 8.1.7.1.1, 8.1.7.1.5, 3.0.9.8.2
    I installed the Oracle 9i, 9iAS, Portal and the patches based on the installation instructions (http://portalstudio.oracle.com/pls/ops/docs/FOLDER/COMMUNITY/OTN_CONTENT/DOCUMENTATION/INSTALL_GUIDE_9I.PDF)
    I tried adding the Sample Web Provider I got ORA-29531 error on HttpProviderDispatcher. Then I checked the Patch 8.1.7.1.1 installation, they are some scripts that need to be run that was not part of the 9i/9iAS installation instruction. I run the suggested scripts(catalog.sql, catproc.sql and utlrp.sql) and modified the jserv.properties to point the xsqlconfig.xml to ORACLE_HOME\oracore\admin.
    The error still persisted. From the Troubleshooting PDK Services for Java, one of the suggestion is to run the sql command :
    Select object_name, object_type, status from user_objects where object_name like '%HttpProvider%';
    which resulted to an object with name '/3334f18_HttpProviderDispatche' without the 'r' at the end
    and
    Select count(object_name) from user_objects where object_type='JAVA CLASS';
    which resulted to only 30 VALID object. According to the installation instruction, there are supposedly 334 objects.
    I checked the object_name of the other JAVA CLASS objects, all the names of the objects are all less than 30 characters. It looks like that the objects with the object_name > 30 are truncated to 30 characters.
    Then I rebooted the machine, when the machine went back on Oracle9iASHttpService stops automatically after it has been started.

    I have posted question on that thread and there is no specific solution from our problem. From the Oracle PDK Troubleshooting PDK Services for Java, it looks like there is a problem on the Oracle Portal installation. I tried recompiling the packages and my problem worsened. Now I cannot start the Oracle9iAS HTTP Service.

  • Oracle Application Server 10.1.3.3.0 OC4J Restarting

    Oracle ADF application is deployed to the AS from JDeveolper 10.1.3.3.0 and runs fine initially but after continual use the OC4J returns a runtime exception and restarts.
    1. This instance is not associated with an infrastructure but it is on a server with 10.1.2.2.0 Infra and middle tier instances.
    2.The error occurs while using a web app. It all works fine at first, can nav pages, view records from the db just fine. Then after say 15mins the page returns Internal Server Error message at which time I check the Oracle app server ctrl to find the error below. That error is displayed in the actual app server ctrl page.
    After a few minutes I can refresh the web app page and it returns to the home page working fine again until the next exception and restart. Sometimes as a result of this issue the server will not OC4J will not restart and the page will stop working altogether. At this point I cannot ever restart the OC4J. I have to Restart the entire server machine.
    An error has occurred.
    Caught exception calling invoke on oc4j:name=Singleton,type=OpmnConfig
    Exception thrown in RequiredModelMBean while trying to invoke operation invoke
    Object reference no longer valid (disconnected)
    Object reference no longer valid (disconnected)
    Hide Additional Trace Information
    oracle.j2ee.admin.jmx.exception.config.ConfigMBeanException:
    Caught exception calling invoke on oc4j:name=Singleton,type=OpmnConfig
    at oracle.oc4j.admin.management.farm.util.OpmnProxyUtil.invoke(OpmnProxyUtil.java:204)
    at oracle.oc4j.admin.management.farm.util.OpmnProxyUtil.invokeSingle(OpmnProxyUtil.java:129)
    at oracle.oc4j.admin.management.farm.util.OpmnProxyUtil.invokeSingle(OpmnProxyUtil.java:99)
    at oracle.oc4j.admin.management.farm.mbeans.OpmnConfigAgr.getNotificationServerAttrs(OpmnConfigAgr.java:200)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:585)
    at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:815)
    at com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(JmxMBeanServer.java:784)
    at oracle.oc4j.admin.jmx.server.state.LocalizationFilterMBeanServer.invoke(LocalizationFilterMBeanServer.java:579)
    at oracle.oc4j.admin.management.farm.util.OpmnProxyUtil.invoke(OpmnProxyUtil.java:202) ... 50 more
    Caused by: java.io.IOException: Object reference no longer valid (disconnected)
    at oracle.oc4j.admin.jmx.client.RemoteMBeanServer.invoke(RemoteMBeanServer.java:820)
    at oracle.oc4j.admin.management.farm.mbeans.JVMAgr.invoke(JVMAgr.java:1481)
    at sun.reflect.GeneratedMethodAccessor40.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:585)
    at sun.reflect.misc.Trampoline.invoke(MethodUtil.java:36)
    at sun.reflect.GeneratedMethodAccessor18.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:585) at sun.reflect.misc.MethodUtil.invoke(MethodUtil.java:239)
    at javax.management.modelmbean.RequiredModelMBean.invokeMethod(RequiredModelMBean.java:1071) ... 58
    more Caused by: com.evermind.server.rmi.RMIConnectionException: Object reference no longer valid (disconnected)
    at com.evermind.server.rmi.RemoteInvocationHandler.invoke(RemoteInvocationHandler.java:60)
    at com.evermind.server.rmi.RecoverableRemoteInvocationHandler.invoke(RecoverableRemoteInvocationHandler.java:28)
    at com.evermind.server.ejb.StatefulSessionRemoteInvocationHandler.invoke(StatefulSessionRemoteInvocationHandler.java:38)
    at __Proxy8.invoke(Unknown Source) at oracle.oc4j.admin.jmx.client.MBeanServerEjbRemoteSynchronizer.invoke(MBeanServerEjbRemoteSynchronizer.java:144)
    at oracle.oc4j.admin.jmx.client.RemoteMBeanServer.invoke(RemoteMBeanServer.java:816) ... 68 more

    Greetings,
    First I would recommend turning up your logging level to FINEST to glean more informatin regarding the error that is occurring. Please post these data along with any related Messaging service configuration information. It is possible that two services are attempting to make the same connection and it is causing one or the other to fail. You might also review the information in your opmn config file. Does the 10.1.2.2 instance remain running during the OC4j restart?
    OPMN Configuration:
    10.1.20 How to Specify Ports for State Replication in OPMN
    When you deploy an application utilizing state replication in a managed Oracle Application Server, OPMN dynamically allocates the ports that are used to propagate state across the cluster. You can restrict this allocation to a range of ports for an application that has peer-to-peer replication enabled. Specifying ports for state replication might be necessary in an installation with a firewall or network that uses a well-defined port range.
    To specify a range of ports for peer-to-peer state replication
    Add a <port> element to an OC4J instance configuration in the opmn.xml file.
    Specify the name of an application that has peer-to-peer replication enabled as the value of the id attribute of the <port> element.
    Specify a range of ports in the range attribute of the <port> element.
    For example, for deployment of an application named rac-web that is set up for peer-to-peer replication, the line labeled <port id=rac-web .../> in the following OC4J instance configuration tells OPMN to use ports 15213 to 15214 for state replication:
    <port id="default-web-site" range="80-100" protocol="http"/>
    <port id="rmi" range="12401-12500"/>
    <port id="rmis" range="12701-12800"/>
    <port id="jms" range="12601-12700"/>
    <port id="rac-web" range="15213-15214"/>
    For more information about state replication, see Chapter 9, "Application Clustering in OC4J," in the Oracle Containers for J2EE Configuration and Administration Guide.Quoted from:
    http://download.oracle.com/docs/cd/B32110_01/relnotes.1013/b32199/oc4j.htm#CEGICDEF-Michael

  • Oracle 11g jars not being compatible with WAS 6.1.x versions

    Hi,
    We have an issue with Oracle 11g jars not being compatible with WAS 6.1.x versions.
    If we use Oracle10g client jars then they are working with the 11g database.
    Below are the findings
    Working fine With Ojdbc14.jar
    Not working With Ojdbc5.jar
    WAS 6.0
    Working fine With Ojdbc14.jar
    Not working With Ojdbc5.jar
    WAS 6.013
    Working fine With Ojdbc14.jar
    Not working With Ojdbc5.jar
    As per IBM website link Oracle 11g should be working with WAS 6.1.0.21 upwards
    Could somebody please help me regarding the same.
    thanks & Regards,
    Anoop

    # Download the full Firefox installer from http://www.mozilla.com/
    # Delete the Firefox [http://kb.mozillazine.org/Installation_directory installation directory], making sure all the Firefox files and folders are removed. The default location on 32 bit Windows is C:\Program Files\Mozilla Firefox\
    # Re-install Firefox
    Note that deleting the Firefox installation directory will not remove your bookmarks or other Firefox user data, they are stored elsewhere.

  • Interaction oracle 8.1.7 internal jdk version and jdk1.4

    Hi all
    If I install a jdk 1.4 in my PC which runs an oracle 8.1.7 server, which jdk version does oracle use if I create and execute a java stored procedure ?
    Thank you very much.

    Installing any other JVM on your system doesn't change the JVM Oracle uses to run Java stored procedures. I believe 8i was using a 1.1 JVM, but it's been a while.
    Justin
    Distributed Database Consulting, Inc.
    http://www.ddbcinc.com/askDDBC

  • Urgent: Oracle Text error: DRG-10001: can not access result table

    Hi,
    I am getting the "DRG-10001:can not access result table" error when trying to run the oracle text procedure ctx_cls.train within HTMLDB. The schema i used for parsing is granted with the necessary privileges, and i can run the procedure manually using the same schema in sqlplus. Following is the script I am trying to run:
    1. begin
    2. ctx_cls.train(
    3. index_name => 'MyDocindex',
    4. docid => 'MyDoc_id',
    5. cattab => 'MyDocTab_categories',
    6. catdocid => 'cat_MyDoc_id',
    7. catid => 'cat_id',
    8. restab => 'rules',
    9. rescatid => 'rule_cat_id',
    10. resquery => 'rule_text',
    11. resconfid => 'rule_confidence'
    12. );
    13. end;
    Please help urgently!
    Thanks
    RG

    I seem to have hit a similar problem.
    Did you eventually resolve this problem?
    Rgds
    Z

  • **Urgent*** Oracle E-business suite Upgrade 11.5.10.2 to R12

    Hi Guys
    I gone through the Doc ID 761570.1
    And I have chosen to follow the PATH -C Which has two down times.
    In the first down time planing to Upgrade the Database.
    But.......
    I had a question..
    My current database is running on 32-bit. Target Database is planing to use the 64-bit
    Will my application support.......
    By keeping the application tier on 32-bit as it is and Upgrading the Database to a 64-bit 11gr2
    Thanks guys for taking a look at my issue its very Urgent..
    Thanks
    Bhupesh...........

    Hi Hussen
    Hi
    I have upgraded the database from 10gr2 to 11gr2.
    In the alert log I finding these errors
    Mon Apr 25 11:15:55 2011
    Errors in file /u02/oracle/diag/rdbms/gltst/gltst1/trace/gltst1_j000_6792.trc:
    ORA-12012: error on auto execute of job "SYS"."KWQICPOSTMSGDEL_1303744554"
    ORA-28031: maximum of 148 enabled roles exceeded
    Errors in file /u02/oracle/diag/rdbms/gltst/gltst1/trace/gltst1_j000_6792.trc:
    ORA-28031: maximum of 148 enabled roles exceeded
    ORA-12012: error on auto execute of job "SYS"."KWQICPOSTMSGDEL_1303744554"
    ORA-28031: maximum of 148 enabled roles exceeded
    ###########gltst1_j000_6792.trc###################
    *** 2011-04-25 11:15:55.038
    *** SESSION ID:(155.63) 2011-04-25 11:15:55.038
    *** CLIENT ID:() 2011-04-25 11:15:55.038
    *** SERVICE NAME:(SYS$USERS) 2011-04-25 11:15:55.038
    *** MODULE NAME:() 2011-04-25 11:15:55.038
    *** ACTION NAME:() 2011-04-25 11:15:55.038
    ORA-12012: error on auto execute of job "SYS"."KWQICPOSTMSGDEL_1303744554"
    ORA-28031: maximum of 148 enabled roles exceeded
    Unexpected error 28031 in job slave process
    ORA-28031: maximum of 148 enabled roles exceeded
    ORA-12012: error on auto execute of job "SYS"."KWQICPOSTMSGDEL_1303744554"
    ORA-28031: maximum of 148 enabled roles exceeded
    Under sys user these jobs are keeps on growing.
    I have looked into the metalink note : 1115495_1. And I am not using any streams, my database is for E-Business suite 11.5.10.2.
    Thanks
    Reddy

  • Urgent --oracle service is not starting

    hi everyone,
    in my server one of oracle service is not starting.
    "oracleorahome81httpserver" if i try to start this service its telling that " error 1067, the process terminated unexpectedly.
    i checked in cmd prompt, by r3trans -d. its telling " error <0012>
    .i need the command for mounting the database.
    its urgent...,
    regards
    gopi

    hi
    good
    go through this link,hope this would help you to solve your problem
    http://orafaq.com/usenet/comp.databases.oracle.server/2004/09/22/1495.htm
    thanks
    mrutyun^

  • Urgent : Oracle Reports Server 9.0.4.0.0 Japanese fonts

    Hi,
    I have one problem in displaying Japanese fonts in Reports Server.
    I have installed Oracle Reports Server (9.0.4.0.0) by selecting radio button -
    ' Use Unicode (UTF8) as the Character Set'
    while installing Infrastructure. But I didn't choose any Prodcut Language at the time of Middle Tier Installation.
    I changed the value of NLS_LANG to JAPANESE_JAPAN.JA16JIS in registry for both Infra as well as Middle tier homes. Both are on same machine.But no able to display the report in Japanese Fonts. It gives me following error -
    REP-501: Unable to connect to the specified database.
    Could anybody help me resolve this issue ? Its urgent.
    Thanks in anticipation

    I would advice you to install a new mid tier with Japanese language.
    Regards
    Pavna

  • Urgent: Oracle AccessDeniedException:

    Hi,
    I am trying to upload the RTF and other files in UNIX environment. But im getting the following error.
    Kindly let me know the solution for below error. Urgent
    Error:
    "oracle.apps.xdo.webservice.exception.Acc essDeniedException:java.lang.SecurityExceptio n: Failed to log into BI Publisher: invalid username or password.".

    Hi thanks for your response.
    we are tyring to run the reports from siebel application by uploading the rtf and xliff files in BIP server using web services. So we dont use the JDBC connectivity here.

  • URGENT: Oracle EBS 12.1.3 to Apex 4.1.1

    Hi Friends,
    I am trying to open Apex page via Oracle EBS responsibility.
    I performed steps as given by Oracle White paper on Integrating Oracle EBS to APEX
    http://www.oracle.com/technetwork/developer-tools/apex/learnmore/apex-ebs-extension-white-paper-345780.pdf
    1. Create Application in Oracle Apex.
    2. set EBS Profile FND:APEX URL to" http://<APEX_HOME>:8080/pls/apex"
    3. Create a Function of JSP type with URL "GWY.jsp?targetAppType=APEX&p=100:101"
    4. Create Menu of ( Type as HOME page) and attach in resp.
    When I try to Open the Apex application it gives me below error : "HTTP: 500 Internal server Error"
    I tries to open this URL
    "<EBS_HOME>:8010/OA_HTML/RF.jsp?function_id=47586&resp_id=50663&resp_appl_id=20003&security_group_id=0&lang_code=US&params=s84C7wWix3DIkoiRBOSZDu89Q3n738-8cvNF4q24wEE"
    I have cleared the cache of Oracle EBS from Functional admin resp . I have cleared the cache of browser. but no luck.
    Please help on it.
    Edited by: user11672064 on Nov 30, 2012 6:38 AM

    Hi Friends,
    I am trying to open Apex page via Oracle EBS responsibility.
    I performed steps as given by Oracle White paper on Integrating Oracle EBS to APEX
    http://www.oracle.com/technetwork/developer-tools/apex/learnmore/apex-ebs-extension-white-paper-345780.pdf
    1. Create Application in Oracle Apex.
    2. set EBS Profile FND:APEX URL to" http://<APEX_HOME>:8080/pls/apex"
    3. Create a Function of JSP type with URL "GWY.jsp?targetAppType=APEX&p=100:101"
    4. Create Menu of ( Type as HOME page) and attach in resp.
    When I try to Open the Apex application it gives me below error : "HTTP: 500 Internal server Error"
    I tries to open this URL
    "<EBS_HOME>:8010/OA_HTML/RF.jsp?function_id=47586&resp_id=50663&resp_appl_id=20003&security_group_id=0&lang_code=US&params=s84C7wWix3DIkoiRBOSZDu89Q3n738-8cvNF4q24wEE"
    I have cleared the cache of Oracle EBS from Functional admin resp . I have cleared the cache of browser. but no luck.
    Please help on it.
    Edited by: user11672064 on Nov 30, 2012 6:38 AM

  • URGENT - Oracle Reports errors

    Hi All,
    I have two serious problems which are giving me a massive headache. We have a forms 10g application which calls Reports 10.1.2.0.2 reports in a pdf format.
    1) When reports are called by say User A, the reports generated in the browser are for say User B who is in another location entirely. User A has to log out and retry several times before he gets the correct report generated for him/her.
    2) The report Job IDs returned on some occasions are higher than the highest Job ID shown/displayed in the Reports Job Queue when viewed via Enterprise Manager. As a result the user gets an error REP-52251 followed by a REP-56033. This is so rampant and the intriguing thing about it all is that it is sporadic. One moment all seems fine and then all hell breaks loose. I have tried just about everything. I am at a loss as to how the Job ID retrieval call in the calling Oracle form will return a JOB ID which is HIGHER than the last JOB ID in the Reports Server Queue.
    Any help will be much appreciated.
    Thanks

    Hello,
    There is a know problem in this configuration (2 in-process reports server are started)
    The easiest solution is to "convert" the in-process reports server into a standalone reports server .
    Step 1 : Use addNewServerTarget.sh (UNIX) or addNewServerTarget.bat (Windows) to add a Reports Server target to targets.xml and opmn.xml.
    (use the same name than the "in-process reports server")
    Step 2 : edit the file rwservlet.properties and modify the line :
    SERVER_IN_PROCESS=YES
    into
    SERVER_IN_PROCESS=NO
    Step 3 : Then, restart OPMN for the change to take effect.
    Regards

  • URGENT: Oracle Workflow Error: API-10020 on Creation of OWB Process Flows

    I am trying to use Oracle Workflow to create Process Flows, in order to link together various mappings and components in Oracle Warehouse Builder. However, in the process flow editor window when I attempt to drag an object such as a mapping onto the editor panel, I get an error message stating the below:
    API-10020: Unable to determine if the map is a PLSQL or SQLLDR map, please correct the map or choose another map.
    All my maps are in PLSQL, and the language setting is set to this. I have tried modifying the langauge settings to see if it makes a difference but with no luck. My colleague believes this is a known bug in Oracle Workflow and there is a patch available to correct it.
    Can anyone help with this query please? Thank you for your time.

    In some versions of OWB (10.1, 10.2) The mapping property will display PL/SQL, but will actually be set to NULL in the repository (which will cause PL/SQL to be displayed as default).
    The fix is easy enough: in the developer navigator, right-click on the mapping and go to configure and set the generation language first to something other then PL/SQL (you should get an error) and then place it back to PL/SQL. This should force the GUI to reset the parameter.
    Alternatively, use OMB*Plus:
    OMBALTER MAPPING 'MAPPINGNAME' SET PROPERTIES \
    (GENERATION_LANGUAGE) VALUES ('PLSQL');
    Good Luck,
    Robbert

  • Urgent: oracle.jbo.domain.Number Bug (continued)

    Dear Shailesh(JDeveloper Team):
    To catch your attention, I posted the topic here again:
    [original topic]
    We are developing a BC4J application for our US customer. Our web server (iAS) and database (Oracle 8i) are installed on RS/6000, AIX 4.3.3
    When we try to set a Number type field value (Number is the only type in Oracle database to stand for a number, either a float field or sequence number). On AIX iAS, if the value is integer, larger than 100 and is not multiple of 100 ( such as 123, 112, 5676, 43435 ), the system(ont our jsp, web bean, but handled by low level classes) will automatically add two zeroes at the end of the number before insert to database table. For example:
    123---->12300
    112---->11200
    5676--->567600
    43435-->4343500.
    It is incorrect! On the other hand, when we try to retrieve value from a field which type is Number, if the value is a integer but larger than 100, and is not multiple of 100 ( such as 123, 112, 5676, 43435 ), the system will automatically add two zeroes at the end of the number after got from database table. For example:
    123---->12300
    112---->11200
    5676--->567600
    43435-->4343500
    We check the xml file of the BC4J, Number field type in the middle-tier is denoted as oracl.jbo.domain.Number, so we wrote a program (JSP) without accessing database, like this one:
    <%
    for (int i=0 ; i<1000; i++) {
    %>
    <p> <%=new oracle.jbo.domain.Number(i).toString() %></p>
    <%}%
    The program runs correctly in JDeveloper developing environment on NT workstation( in the developing environment, NT mimic a local virtual middle-tier):
    0
    1
    99
    100
    101
    598
    599
    600
    999
    But after we deployed the jsp to iAS on RS/6000 and browse it, the output result is very inconceivable:
    0
    1
    99
    100
    10100 (Should be 101)
    59800 (Should be 598)
    59900 (Should be 599)
    600
    99900 (Should be 999)
    We checked all through the deployed Jar files on iAS and the oracl.jbo.domain.Number class, we found that the class is extended from oracle.sql.NUMBER, and the toString method is also inherited from oracle.sql.NUMBER.
    We even test below simple jsp program using oracl.jbo.domain.Number type:
    <%@ page contentType="text/html" autoFlush="true" import="java.lang.*,LocaMotion.*"%>
    <HTML>
    <HEAD>
    <META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=ISO-8859-1">
    <META NAME="GENERATOR" CONTENT="Oracle JDeveloper">
    <TITLE>
    Hello World
    </TITLE>
    </HEAD>
    <BODY>
    <%
    String strI="123";
    %>
    <p> <%=new oracle.jbo.domain.Number(strI)%></p>
    </BODY>
    </HTML>
    In JDeveloper developing environment, it prints 123 in browser, but when deployed to iAS, it prints 12300.
    Why the same Java class has different behavior under different OS (NT and RS/6000)? We think it is a bug on implementation of oracle.sql.NUMBER. We assume this is caused by the machine CPU register length: NT: 32 bits, RS/6000: 64 bits.
    This bug must be fixed to ensure the BC4J application workable. Would you please resolve this problem for us at your time?
    We are eager to waiting for your answer, as we are in FVT phase, our customer is BITCO enterprises inc. in Virginia.
    Thanks,
    [Answer from Shailesh(JDeveloper Team)]:
    I'd suspect this is an issue in oracle.sql.NUMBER implementation. Could you help us by verifying that oracle.sql.NUMBER.toString() also reproduces the same problem. A potential fix I could think of is to use the jdbc libraries that come with RS/6000-AIX version of the database.
    [Our test result]:
    We test the oracle.sql.NUMBER.toString() method, it also reproduces the same problem.
    What's the "jdbc libraries that come with RS/6000-AIX version of the database"?
    ,who offer it? IBM or Oracle. Where could I find it and how to use it? Will oracle.sql.NUMBER problem for AIX fixed?
    null

    As a follow up , could you tell the specific database version of Oracle8i you are using.(i.e 8.1.6 or 8.1.7/ also if you have applied any patches)
    . Just wondering if you had tried a simple JDBC program (without BC4J) (eg: a command line program) which uses oracle.sql.Number and produced the same erroneous results.
    appericiate if you could provide any additional information.
    thanks and best regards
    raghu

  • Urgent: oracle.jbo.domain.Number Bug (continued I)

    Dear Shailesh and Raghu (JDeveloper Team):
    To catch your attention, I posted the topic here again:
    ------------------------------------------------------------------------------------------[original topic]
    We are developing a BC4J application for our US customer. Our web server (iAS) and database (Oracle 8i) are installed on RS/6000, AIX 4.3.3
    When we try to set a Number type field value (Number is the only type in Oracle database to stand for a number, either a float field or sequence number). On AIX iAS, if the value is integer, larger than 100 and is not multiple of 100 ( such as 123, 112, 5676, 43435 ), the system(ont our jsp, web bean, but handled by low level classes) will automatically add two zeroes at the end of the number before insert to database table. For example:
    123---->12300
    112---->11200
    5676--->567600
    43435-->4343500.
    It is incorrect! On the other hand, when we try to retrieve value from a field which type is Number, if the value is a integer but larger than 100, and is not multiple of 100 ( such as 123, 112, 5676, 43435 ), the system will automatically add two zeroes at the end of the number after got from database table. For example:
    123---->12300
    112---->11200
    5676--->567600
    43435-->4343500
    We check the xml file of the BC4J, Number field type in the middle-tier is denoted as oracl.jbo.domain.Number, so we wrote a program (JSP) without accessing database, like this one:
    <%
    for (int i=0 ; i<1000; i++) {
    %>
    <p> <%=new oracle.jbo.domain.Number(i).toString() %></p>
    <%}%
    The program runs correctly in JDeveloper developing environment on NT workstation( in the developing environment, NT mimic a local virtual middle-tier):
    0
    1
    99
    100
    101
    598
    599
    600
    999
    But after we deployed the jsp to iAS on RS/6000 and browse it, the output result is very inconceivable:
    0
    1
    99
    100
    10100 (Should be 101)
    59800 (Should be 598)
    59900 (Should be 599)
    600
    99900 (Should be 999)
    We checked all through the deployed Jar files on iAS and the oracl.jbo.domain.Number class, we found that the class is extended from oracle.sql.NUMBER, and the toString method is also inherited from oracle.sql.NUMBER.
    We even test below simple jsp program using oracl.jbo.domain.Number type:
    <%@ page contentType="text/html" autoFlush="true" import="java.lang.*,LocaMotion.*"%>
    <HTML>
    <HEAD>
    <META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=ISO-8859-1">
    <META NAME="GENERATOR" CONTENT="Oracle JDeveloper">
    <TITLE>
    Hello World
    </TITLE>
    </HEAD>
    <BODY>
    <%
    String strI="123";
    %>
    <p> <%=new oracle.jbo.domain.Number(strI)%></p>
    </BODY>
    </HTML>
    In JDeveloper developing environment, it prints 123 in browser, but when deployed to iAS, it prints 12300.
    Why the same Java class has different behavior under different OS (NT and RS/6000)? We think it is a bug on implementation of oracle.sql.NUMBER. We assume this is caused by the machine CPU register length: NT: 32 bits, RS/6000: 64 bits.
    This bug must be fixed to ensure the BC4J application workable. Would you please resolve this problem for us at your time?
    We are eager to waiting for your answer, as we are in FVT phase, our customer is BITCO enterprises inc. in Virginia.
    Thanks,
    [Answer from Shailesh(JDeveloper Team)]:
    I'd suspect this is an issue in oracle.sql.NUMBER implementation. Could you help us by verifying that oracle.sql.NUMBER.toString() also reproduces the same problem. A potential fix I could think of is to use the jdbc libraries that come with RS/6000-AIX version of the database.
    [Our test result]:
    We test the oracle.sql.NUMBER.t oString() method, it also reproduces the same problem.
    What's the "jdbc libraries that come with RS/6000-AIX version of the database"?
    ,who offer it? IBM or Oracle. Where could I find it and how to use it? Will oracle.sql.NUMBER problem for AIX fixed?
    [Answer from Raghu(JDeveloper Team)]:
    JDev Team
    unregistered posted January 04, 2001 10:14 AM
    Hi
    we are trying to follow up internally on this. Did you file a bug with Oracle Support on this. ?
    If not I would suggest to do that, but at the same time we would be following up on that with the respecitive product group which works on that.
    thanks and best regards
    raghu
    IP: Logged
    JDev Team
    unregistered posted January 04, 2001 04:08 PM
    As a follow up , could you tell the specific database version of Oracle8i you are using.(i.e 8.1.6 or 8.1.7/ also if you have applied any patches)
    . Just wondering if you had tried a simple JDBC program (without BC4J) (eg: a command line program) which uses oracle.sql.Number and produced the same erroneous results.
    appericiate if you could provide any additional information.
    thanks and best regards
    raghu
    Larry's answer:
    Yes. We opened a Tar on http://metalink.oracle.com (Tar number is 1350841.999), but still no solution provided.
    Our software platform is AIX 4.3.3., Oracle 8i is 8.1.6, iAS is 1.0.
    Below program is a very simple Jsp that uses oracle.sql.NUMBER but no BC4J classed used.
    <%@ page contentType="text/html" autoFlush="true" import="java.lang.*,oracle.sql.*"%>
    <HTML>
    <HEAD>
    <META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=ISO-8859-1">
    <META NAME="GENERATOR" CONTENT="Oracle JDeveloper">
    <TITLE>
    Hello World
    </TITLE>
    </HEAD>
    <BODY>
    <%
    String strI="123";
    %>
    <p> <%=new oracle.sql.NUMBER(strI).stringValue()%></p>
    </BODY>
    </HTML>
    In JDeveloper developing environment (WINDOWS NT), it prints 123 in browser, but when deployed to iAS on AIX, it prints 12300.
    null

    thanks for the extra information. We have passed the information to specific product group and they are looking into it.
    As it looks like specific issue we can take this offline.
    can you send your email id [email protected]
    and we can let you know on the status.
    raghu

Maybe you are looking for

  • HP Office Jet 4500 G510n-z fails to print on wireless network

    Hi, A while back my XP machine (Dell D620) stopped printing wirelessly with my officejet 4500 G510n-z. My Windows 7 D630 prints wirlessly with no problems. I have download the current HP drivers to no avail. I have looked at other posts but no workab

  • Tomahawk jar not available in JSF

    {color:#0000ff}Hi all, I use myface1.1 tomcat5.5 and EBA workshop3.3 to develope JSF website. In some reason, i use tomahawk1.1.3 selectOneRadio. At the beginning, everything seen quite smooth, but when i test my website servial time, the error messa

  • To limit number of characters in a text field...

    I did a little research. My goal is to limit the number of characters in the textfield by 50. If the results of my research are correct, I have to create a JFormattedTextField, then use a MaskFormatter with a mask of 50 asteriks. Is that correct? Any

  • Problems in setting a locale

    Hi, I want to display my data (which is numeric) in German format. I am able to do so using the following code : double dbl=2345.67; NumberFormat nf= NumberFormat.getInstance(Locale.GERMAN); ((DecimalFormat)nf).applyPattern("#,##0.#"); str_output=nf.

  • First Servlet Program: Whats the error now?

    I have changed my web.xml file. Its small now: <?xml version="1.0" encoding="ISO-8859-1"?> <!DOCTYPE web-app PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN" "http://java.sun.com/j2ee/dtds/web-app_2_3.dtd"> <web-app> <servlet> <servlet