JAPPLET Application migration from JDK1.2.2_07 to JDK1.4.2_10 - Issues

Hi
We have a JAPPLET application that is using SWING components. So far the development and maintenance of this application has been done using JDK1.2.2_07. Now we wanted to upgrade to JDK1.4.2_10 for some enhancements to this application. Regarding this upgrade we have the following questions.
1.Does JDK1.4.2_10 have the complete backward compatibility up to JDK1.2.2_07?
2.What sort of possible rework to the existing features required? Main components and features that this application has are menus, tables, tree tables, printing, tabbed and framed views.
3.What sort of upgrades is required for user�s environment?
I would be very grateful if you could help me with answers to these questions. Also help me with any other suggestions related to this upgrade.
Thanks & Regards
Srini

Yes you can use SPA to do the test even if you are on RBO on 9.2.0.8..0.
It is not necessary to go in cbo before the test.
Use metalink Note.562899.1 TESTING SQL PERFORMANCE IMPACT OF AN ORACLE 9i TO ORACLE DATABASE 10g RELEASE 2 UPGRADE WITH SQL PERFORMANCE ANALYZER
You will need to put your optimizer statistics gathering strategy in place and tune the sqls on 10.2.0.4.0 using cbo. SPA will help in doing the testing.
you can validate the outcome of your tuning actions using SPA and even use sql tuning advisor to tune some of the sqls, if needed.
Hope this helps.
Thanks
Ashish

Similar Messages

  • Application Migration from HP-UNIX to SUN Solaris

    Hi Gurus,
    Need help on the application migration from HP-UNIX to Sun Solaris . Copied the filesystems APPL_TOP, OA_HTML, OA_JAVA, COMMON_TOP/util and COMMON_TOP/_pages from SOURCE( HP) to TARGET SUN-solaris as per 238276.1
    Now trying to clone Autoconfig XML context file on the TARGET System
    perl adclonectx.pl migrate java=\opt\java1.4 \
    contextfile=\ul01\app\applmgr\lasrx\admin\LASRX_fiapd4.xml
    Error: source context file ul01appapplmgrlasrxadminLASRX_fiapd4.xml does not exist.
    Questions:
    ======
    1. we still need to install jdk in the TARGET or copy the file system from source(HP) to target( Solaris) bring the JDK and how to check jdk on Solaris?
    2. In clone autoconfig XML, contextfile=? Is the location of SOURCE or TARGER?
    3. I think running above with root permission.
    Please help somebody on this issue.
    Thank You.

    Hi Hussein,
    I need your help on the Application migration from HP-UNIX to SUN Solaris. As per the note 238276.1 we dont copy $806_ORACLE_HOME for cross platform migration, Copied all the filesystem from SOURCE to TARGET but rename it because it suppose to create while installing Middle tier.
    Issue:1
    =====
    When i start to set environment like below, i get the error and
    . /ul01/app/applmgr/lasrx/APPSORA.env
    ksh: /ul02/app/oracle/lasrx/8.0.6_new/LASRX_fiapd4.env: not found
    I am trying to install Middle Tier Technology Stack on SUN server ( Migrating from HP-UNIX to SUN solaris)
    Issue 2: ( Display error) while install Tech Stack
    =====
    ./rapidwiz -techstack
    Rapid Install Wizard is validating your file system......
    >> Wizard requires the DISPLAY variable to be set.
    >> Please set your DISPLAY variable and restart Rapid Install Wizard.
    even i can not see
    echo $DISPLAY because not set the environment.
    Need your help and suggetions on this.
    Thank You.

  • Migration from BO XI R2 to BI 4.0 issue

    Hi ,
    we are migrating from BOXIR2 TO BI 4.0 through upgrade manager tool , we are choosing the incremental upgrade option , but it gives the error as attached after the summary screen .
    The screenshot of the error is as mentioned below
    Upgrade process has been interrupted by an error : XSD file parsing exception occurred : =Restriction could not find base type metadata : base ="io Object" (FWM04011)
    Regards,
    Charu Thareja

    Hi Charu,
    This seems to be a known issue that is going to be fixed in Patch 9
    https://service.sap.com/sap/support/notes/1663459
    Regards,
    Julian

  • Migrated from weblogic 8.1 to 10.2. Issue with Message center transactions

    we recently migrated from webloguc 8.1 to weblogic 10.2. When mesasage center is accessed, we are getting below exception. It is working fine in weblogic 8.1 .
    <Name=[EJB AccountServicesBean.submitAddressChangeRequest(AccountServicesInfo,java.lang.String,java.lang.String)],
    Xid=BEA1-0310676F13BEAC935370(464474497),Status=Rolled back.
    [Reason=weblogic.transaction.internal.TimedOutException: Transaction timed out after 60 seconds
    BEA1-0310676F13BEAC935370],HeuristicErrorCode=XA_HEURHAZ,numRepliesOwedMe=0,numRepliesOwedOthers=0,
    seconds since begin=131,seconds left=60,XAServerResourceInfo[weblogic.jdbc.wrapper.JTSXAResourceImpl]=
    (ServerResourceInfo[weblogic.jdbc.wrapper.JTSXAResourceImpl]=(state=rolledback,assigned=managed4),
    xar=weblogic.jdbc.wrapper.JTSXAResourceImpl@1baf6254,re-Registered = false),
    SCInfo[admin+managed4]=(state=rolledback),SCInfo[server_2+server_2_managed2]=(state=rolledback),
    properties=({weblogic.transaction.name=
    [EJB AccountServicesBean.submitAddressChangeRequest(AccountServicesInfo,java.lang.String,java.lang.String)],
    START_AND_END_THREAD_EQUAL=false, weblogic.jdbc=t3://myserver.com}),
    OwnerTransactionManager=ServerTM[ServerCoordinatorDescriptor=
    (CoordinatorURL=managed4+myserver.com+admin+t3+,
    XAResources={WSATGatewayRM_managed4_admin, weblogic.jdbc.wrapper.JTSXAResourceImpl,
    WLStore_admin__WLS_managed4},NonXAResources={})],
    CoordinatorURL=managed4+myserver.com+admin+t3+) completed heuristically:
    (weblogic.jdbc.wrapper.JTSXAResourceImpl, HeuristicHazard, (javax.transaction.xa.XAException:
    No connection associated with
    xid = BEA1-0310676F13BEAC935370-7765626C6F6769632E6A6462632E777261707065722E4A545358415265736F75726365496D706C)) >
    Please help us in resolving it.

    Hi,
    A general rule to follow is to make sure that WebLogic Server JTA timeout (either global, specific to an EJB or for individual transactions) is set to a lower value than the shortest timeout value configured/set for a participating XA resource (e.g., XA Transaction Timeout for Oracle XA JDBC connections). Not doing so can lead to an unexpected and inconsistent distributed transaction outcome, i.e., a participating XA Resource timing out before WebLogic Server JTA as the distributed transaction coordinator. The timed out XA Resource may take action to resolve its own part of the distributed transaction before WebLogic Server can take action. This will lead to heuristic error messages at the time when the WebLogic transaction manager tries to prepare/commit the distributed transaction.
    The solution was for the JDBC Connection Pools to set the XASetTransactionTimeout to true and XATransactionTimeout to zero. When this parameter is set to zero, the XAResource Session Timeout will be set to the global transaction timeout.
    Regards,
    Kal

  • Problems(java.lang.OutOfMemoryError)  Migrating from jdk1.3 to jdk1.4

    Hi,
    We are trying to migrate our application written using Swing EJB,JMS from jdk 1.3.1_06-b01 version to jdk1.4.1. With jdk1.3 everything works fine, but with jdk1.4, after the client is launched I get a java.lang.OutOfMemoryError, even for simple operation like seleting a node in the tree. We had set the initial heap size to 64m and max heap size to 150m. If I change the heap size to -Xms=96m an d-Xmx=256m the application works fine, but it hogs a lot of memory(nearly 210m for simple operations). Is there a memory issue with jdk1.4. If yes are there any possible workarounds?
    Any help would be appreciated.
    Thanks
    Dheeresh

    Don't use any memory settings, the memory will be allowed dynamically.
    Denis

  • Deploying ear application - migrating from OC4j to Weblogic

    I am trying to migrate application from OC4J to weblogic server. Apart from usual differences in descriptors, structure of EAR etc. I came across unusual error:
    "both the remote home and remote component interface must be specified. Currently, only one of them is specified"
    It is about deploying session bean. Usual EJB3 stateless session bean with local and remote interface, deployed without any problem on OC4J and JBoss. Of course, I know home interfaces are something to do with EJB 2.1, but this is EJB3 application and, I guess, Weblogic has full support for it. Does it? :)
    Anyway, is there workaround? Or am I missing something? I don't have to tell you what problems we will be facing if I have to restructure whole application with dozens and hundreds of session beans.
    Thanks a lot!

    OK. I just want to make sure that there are no problems with the deployment descriptors.
    To pin point the problem do the following in JDeveloper:
    1. Create a simple EJB 3.0 session bean
    2. On that session bean create a Sample Java Client.
    3. Run the Session Bean
    4. Run the Client
    5. If both are running fine, compare the deployment descriptors from the sample and your real application.
    --olaf                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

  • Planning classical application Migration from version 9.3.1 to 11.1.1.3.

    Hi,
    Current Version
    Hyperion Version 11.1.1.3
    Database: SQL Server 2005
    Windows Server 2003 R2
    Old Version
    Hyperion Version 9.3.1
    Database: SQL Server 2000
    Windows Server 2000 R2
    1.I have created classical planning applicationin(CPLAN) in the 11.1.1.3 which similar to 9.31 application, interms of application name, database names and dimensions.
    2.I took backup of CPLAN of 11, and CPLAN of 931.
    3.stopped planning, Essbase , RMI Registry, Shared services.
    4.Restored the 931 CPLAN Backup( of SQLServer 2000) into 11113 CPLAN(SQL Server 2005)
    5.HSP_OBJECT table - in this table object id  column and objectname column is password, Here tried with both old password hypadmin and new password admin.
    6.HSP_USERS table - USER _ID =50001 and SID= (I given 11 version details)
    7. HSP_SYSTEMCFG Table- I tried with changing the VERSION from 9 to 11 and cleared the verion - tried with both the ways
    and EIE_SERVER changed- this is shared service path with port number and server name changed.
    I mean http://mycurrent server:28080/interop.
    8. Above These3 Tables columns changed and started the services all planning etc.
    9. tried to open planning web, i got the application CPLAN name, once enter the username and password and CPLAN , its giving error. the error message , error while processing this current page, check the log for details. I got this error message.
    10. I checked the logs, Access.log, and Hyperion Planning.log these two logs verified i didnot find any error.
    --please help meon this who has done this kind of migration. ASAP.
    Thanks
    Chinna
    Edited by: Hyperion Chinna on Aug 12, 2010 4:45 PM

    Make sure you follow the steps here :- Migration of Hyperion Planning Application
    Do not start changing anything in HSP_SYSTEMCFG
    Cheers
    John
    http://john-goodwin.blogspot.com/

  • Application migration from 10.1.2 to 10.1.3.4

    Hi,
    In migrating our application from JDeveloper 10.1.2 to 10.1.3.4, we are experiencing an issue on one of the pages. The page contains First, Prev, Next, Last and All pagination buttons where the default range size is 10. If the user clicks the "ALL" button then the range size should be changed to be 500. Unfortunately, the range size continues to be 10 once the "ALL" button is clicked. The application is currently using Struts and the stuts-config.xml file was migrated to 10.1.3.4. I have been unable to find anything under Forums or through Google, so any help that you could give me would be greatly appreciated.
    Regards,
    TJ
    showTransactionsAction.java
    public class ShowTransactionsAction extends DataAction {
    private static int DefaultRangeSize = 10;
    private static int MaxRangeSize = 500;
    private static String RowSetIterator = "MasterTransactionView1Iterator";
    public String getRowSetIterator() {
    return RowSetIterator;
    * Supports the All button of the Super Search by setting a larger range size
    public void onEventAll(DataActionContext ctx) {
    DCIteratorBinding iter = (DCIteratorBinding)ctx.getBindingContainer().findIteratorBinding(getRowSetIterator());
    RowSetIterator rsi = iter.getRowSetIterator();
    int currentRangeSize = iter.getRangeSize();
    // Set a max range size to facilitate ALL. We do not want -1 here, as the max rows could be quite large.
    iter.setRangeSize(MaxRangeSize);
    showTransactions.jsp
    <c:set var="previousDisabled" value="${bindings.PreviousSet.enabledString}"/>
    <c:set var="nextDisabled" value="${bindings.NextSet.enabledString}"/>
    <c:set var="rangeBinding" value="${bindings.MasterTransactionView1}"/>
    <c:set var="totalRows" value="${rangeBinding.estimatedRowCount}"/>
    <c:set var="firstRowShown" value="${rangeBinding.rangeStart + 1}"/>
    <c:choose>
    <c:when test="${rangeBinding.rangeSize == -1}">
    <c:set var="rowsPerPage" value="${totalRows}"/>
    </c:when>
    <c:otherwise>
    <c:set var="rowsPerPage" value="${rangeBinding.rangeSize}"/>
    </c:otherwise>
    </c:choose>
    <c:choose>
    <c:when test="${firstRowShown + rowsPerPage - 1 > totalRows}">
    <c:set var="lastRowShown" value="${totalRows}"/>
    </c:when>
    <c:otherwise>
    <c:set var="lastRowShown" value="${firstRowShown + rowsPerPage - 1}"/>
    </c:otherwise>
    </c:choose>
    <html:form name="pagingOne" type="org.apache.struts.action.DynaActionForm"; action="/Transactions.do?hash=page&;reset=false" >
    <input type="hidden" name="<c:out value='${bindings.MasterTransactionView1.statetokenid}'/>" value="<c:out value='${bindings.MasterTransactionView1.statetoken}'/>" >
    <table width="970" border="0" cellpadding="0" cellspacing="0">
    <tr valign="bottom">
    <td width="10"><img src="img/whitespacer.jpg"; width="5" height="3"></td>
    <td width="460" class="table-header">
    TRANSACTION DETAIL</td>
    <c:choose >
    <c:when test="${lastRowShown > 0}">
    <td width="140" class="table-header">
    <fmt:parseNumber var="firstRowShownFMT" type="number" pattern="##,###" value="${firstRowShown}"/>
    <fmt:parseNumber var="lastRowShownFMT" type="number" pattern="##,###" value="${lastRowShown}"/>
    <fmt:parseNumber var="totalRowsFMT" type="number" pattern="##,###" value="${totalRows}"/>
    <c:out value="${firstRowShown}"/> - <c:out value="${lastRowShown}"/> of <c:out value="${totalRowsFMT}"/>
    </td>
    <td width="370" class="table-header">
    <table border="0" align="right" cellpadding="0" cellspacing="0">
    <tr valign="bottom">
    <td width="40" align="center" valign="bottom" nowrap>
    <img src="img/export-icon3.jpg"; style="background-color:transparent; border-style:none;"/>
    </td>
    <!-- <td width="30" valign="bottom" ><img src="img/whitespacer.jpg"; width="5" height="3"></td> -->
    <c:choose>
    <c:when test="${previousDisabled != 'disabled'}">
    <td width="35" align="center" valign="bottom" nowrap><input type="image" src="img\first-icon3.jpg"; name="event_First" value="First" <c:out value="${bindings.First.enabledString}" /> > </td>
    <td width="35" align="center" valign="bottom" nowrap><input type="image" src="img\prev-icon3.jpg"; name="event_PreviousSet" value="PreviousSet" <c:out value="${bindings.PreviousSet.enabledString}" /> > </td>
    </c:when>
    <c:otherwise>
    <c:choose>
    <c:when test="${lastRowShown == totalRows && firstRowShown == 1 && totalRows > 10}">
    <td width="35" align="center" valign="bottom" nowrap><input type="image" src="img\first-icon3.jpg"; name="event_First" value="First" > </td>
    </c:when>
    <c:otherwise>
    <td width="35" align="center" valign="bottom" nowrap><img src="img\first-icon-gray3.jpg";> </td>
    </c:otherwise>
    </c:choose>
    <td width="35" align="center" valign="bottom" nowrap><img src="img\prev-icon-gray3.jpg";> </td>
    </c:otherwise>
    </c:choose>
    <c:choose>
    <c:when test="${nextDisabled != 'disabled'}">
    <td width="35" align="center" valign="bottom" nowrap><input type="image" src="img\next-icon3.jpg"; name="event_NextSet" value="NextSet" <c:out value="${bindings.NextSet.enabledString}" /> > </td>
    <td width="35" align="center" valign="bottom" nowrap><input type="image" src="img\last-icon3.jpg"; name="event_Last" value="Last" <c:out value="${bindings.Last.enabledString}" /> > </td>
    </c:when>
    <c:otherwise>
    <td width="35" align="center" valign="bottom" nowrap><img src="img\next-icon-gray3.jpg";> </td>
    <td width="35" align="center" valign="bottom" nowrap><img src="img\last-icon-gray3.jpg";> </td>
    </c:otherwise>
    </c:choose>
    <c:choose>
    <c:when test="${lastRowShown == totalRows && firstRowShown == 1}">
    <td width="35" align="center" valign="bottom" nowrap><img src="img\all-icon-gray-v5.jpg";> </td>
    </c:when>
    <c:otherwise>
    <td width="35" align="center" valign="bottom" nowrap><input type="image" src="img\all-icon-v5.jpg"; name="event_EventAll" value="All" </td>
    </c:otherwise>
    </c:choose>
    </tr>
    </table>
    </td>
    </c:when>
    <c:otherwise>
    <td>
    </td>
    </c:otherwise>
    </c:choose>
    </tr>
    </html:form>
    </table>
    ...

    Your issue seems not on OA Framework.
    To check more response , put your issue on this forum
    JDeveloper and ADF
    Thanks

  • Essbase and planning applications migration from 11.1.2.1 to 11.1.2.4

    Hi Masters,
    I have few Hyperion 11.1.2.1 running servers for Essbase and planning applications (Essbase alone applications and planning applications are running into different servers). Now we are planning to upgrade 11.1.2.1 directly to new 11.1.2.4 servers.
    could you guys please suggest me the best way of migrating these applications to 11.1.2.4?
    Thanks a lot,
    Siva

    Hi John,
    Actually we are moving all our existing servers to some new data center. the plan is like installing 124 in the new server in the new data center and migrate the existing 121 applications to the 124 servers.
    So is there a best way to migrate like i said above? or do we need to install 121 in the new server 1st and migrate the applications from existing 121 servers, then apply maintenance release of 124 would be best way?
    Thanks,
    siva

  • HFM Application Migration from 9.3.1 to 11.1.2.1

    Hi All,
    We installed HFM on Winsrvr2008 x64 .....we need to migrate the existing HFM applications from 9.3.1 servers to 11.1.2.1 servers...........how can we do it

    You have mentioned 2 versions in your question. 11.1.2 and 11.1.2.1 and the process is very different for both. Can you confirm your destination version?
    Best
    Alex

  • Problems related to SQL application migration from 6.5 to 7.0

    we have developed our application with D2K as the front end and MS-SQL6.5 server as the database. We are trying to migrate the application to MS-SQL7.0 server as the database.
    The following are the limitations we are facing
    1) It has been seen that whenever an Insert statement is executed against a table, the table is getting locked and it is not possible to execute subsequent DML statements until the insert lock on the table has been released.
    2) Whenever a particular row is selected, then that row is getting locked and it is not able to select the same row again.
    From these two observations, we came to a conclusion that in SQLSERVER 6.5, process-id will be assigned for a Batch and the LOCK will be created for the batch and hence two users cannot simultaneously commit the transaction and in SQLSERVER 7.0 each DML Statement in a Batch is given a process-id and the LOCK will be created for each DML Statement, the LOCK will be released only when a commit statement is issued. So the DML Statements which refer to the table that has been locked will be in a deadlock situation. That is the reason why the system is getting hanged.
    please post us with a possible solution for the above situation at the earliest.

    Krish,
    I would think since your question is more related to SQL Server instead of the Oracle products you're using, that you might be better off to search Microsoft's Knowledgebase.

  • Issue when Application Migration from Weblogic 8 to Weblogic 10

    Hi,
    I have an application developed in Java1.4 which we need to migrate to Weblogic 10 (currently the application resides in Weblogic 8)
    I have recompiled the application with Java1.5 compiler. I am new to this area and need some assistance.
    I am getting the following exceptions (snippets below)
    javax.naming.CommunicationException [Root exception is java.net.ConnectException: t3://localhost: No known valid port for: 'Default[t3]:t3(t3):null:8001:172.29.194.87:-1'; No available router to destination]
    at weblogic.jndi.internal.ExceptionTranslator.toNamingException(ExceptionTranslator.java:40)
    at weblogic.jndi.WLInitialContextFactoryDelegate.toNamingException(WLInitialContextFactoryDelegate.java:773)
    at weblogic.jndi.WLInitialContextFactoryDelegate.getInitialContext(WLInitialContextFactoryDelegate.java:365)
    at weblogic.jndi.Environment.getContext(Environment.java:307)
    at weblogic.jndi.Environment.getContext(Environment.java:277)
    at weblogic.jndi.WLInitialContextFactory.getInitialContext(WLInitialContextFactory.java:117)
    at javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:667)
    at javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:247)
    at javax.naming.InitialContext.init(InitialContext.java:223)
    at javax.naming.InitialContext.<init>(InitialContext.java:197)
    at org.springframework.jndi.JndiTemplate.createInitialContext(JndiTemplate.java:105)
    at org.springframework.jndi.JndiTemplate.execute(JndiTemplate.java:83)
    org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'dataSource' defined in class path resource [com/bmw/cms/domain/config/domain-context.xml]: Invocation of init method failed; nested exception is javax.naming.CommunicationException [Root exception is java.net.ConnectException: t3://localhost: No known valid port for: 'Default[t3]:t3(t3):null:8001:172.29.194.87:-1'; No available router to destination]
    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1148)
    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:427)
    at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:251)
    at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:144)
    at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:248)
    at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:160)
    at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:276)
    at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:360)
    at org.springframework.context.support.ClassPathXmlApplicationContext.<init>(ClassPathXmlApplicationContext.java:91)
    at org.springframework.context.support.ClassPathXmlApplicationContext.<init>(ClassPathXmlApplicationContext.java:75)
    at com.bmw.cms.domain.config.Application.<clinit>(Application.java:18)
    Though they speak about the connectivity errors, I want to reconfirm that any specific jar files that we need to have if we are migrating an application from WL8 to WL 10.
    My question: Is there any jar file(s) that is not compatible with WL10 that is compatible with WL8
    The application is making use of the following jar files.
    ant-antlr-1.6.5.jar
    cmdDomain.jar
    common.jar
    commons-beanutils.jar
    commons-collections-3.2.jar
    commons.dbcp.jar
    commons-digester.jar
    commons-lang-2.3.jar
    commons-logging.jar
    commons-net-1.4.1.jar
    commons-pool.jar
    commons-validator.jar
    dsf-spring.jar
    ibatis-2.3.0.677.jar
    ivsr-logging-adapter.jar
    jakarta-regexp-12.jar
    javax-security.jar
    jsr173_1_0_api.jar
    junit.jar
    jxl.jar
    log4j.jar
    spring.jar
    struts-request.jar
    struts-session.jar
    struts-validator.jar
    struts.jar
    tiles.jar
    utilities.jar
    xalan.jar
    xbean.jar
    xercesImpl.jar
    Please let me know if my question does not make any sense or am I missing something valid?
    Regards
    R.

    It's likely that something in your weblogic.xml is invalid according to the schema. If you have a tool that can validate XML against a schema, then do that. It should point to the problem. Otherwise, if you show the entire contents of the file here, we might be able to see what the problem is.

  • Application migrated from 11.1.2.3 to 12.1.2.0 fails to run in IntegratedWebLogic

    Hi,
    Can anyone help resolving the following problem.
    We've been developing an ADF application with JDeveloper 11.1.2.3 and it works fine when run both with its IntegratedWebLogic or when deployed to a standalone Glassfish server.
    We want to switch to JDeveloper 12.1.2.0. and use new UI components.
    We are able to successfully open the application in JDeveloper 12c -  the migration logs say it was successfully converted, all projects, pages, task flows, classes open and can be edited just fine. However the application fails to run with IntegratedWebLogic.
    Application is using modules included via ADF shared libraries:
    CommonUI.jar and  CommonModel.jar -> included in ApplicationModule1 and ApplicationModule2.
    Both ApplicationModule1 and ApplicationModule2 work fine when tested with IntegratedWebLogic.
    They are in turn included in the MasterApplication as ApplicationModule1.jar and ApplicationModule2.jar.
    However the MasterApplication (SLABAccountMaster) fails to run. It gets deployed, but there is an exception when accessing the first page: The UIViewRoot is null. Fatal exception during PhaseId: RESTORE_VIEW 1.
    I've posted a fragment of the logs below. I can include all of it - but it's huge.
    [Running application SLABAccountMaster on IntegratedWebLogicServer...]
    [02:31:02 PM] Web Module AccountViewWebApp.war recognized in project AccountView.jpr
    [02:31:03 PM] ----  Deployment started.  ----
    [02:31:03 PM] Target platform is  (Weblogic 12.x).
    [02:31:03 PM] Retrieving existing application information
    [02:31:03 PM] Running dependency analysis...
    [02:31:03 PM] Deploying 2 profiles...
    [02:31:06 PM] Wrote Web Application Module to C:\Users\SlawekAr.SLAB\AppData\Roaming\JDeveloper\system12.1.2.0.40.66.68\o.j2ee\drs\SLABAccountMaster\AccountViewWebApp.war
    [02:31:06 PM] Wrote Enterprise Application Module to C:\Users\SlawekAr.SLAB\AppData\Roaming\JDeveloper\system12.1.2.0.40.66.68\o.j2ee\drs\SLABAccountMaster
    [02:31:06 PM] Deploying Application...
    <11-Sep-2013 14:31:10 o'clock BST> <Warning> <Application Client> <BEA-2162200> <No Main-Class defined in the manifest file of Java Module: empty.jar. This module will be treated as a utility JAR and subsequent initialization steps will be skipped.>
    <11-Sep-2013 14:31:13 o'clock BST> <Warning> <HTTP> <BEA-101384> <WLServlet annotation is deprecated, please use servlet 3.0 annotation instead. App:SLABAccountMaster@SLABAccountMaster-AccountView-context-root, Class:oracle.adfinternal.view.faces.activedata.AdsServlet>
    [02:31:39 PM] Application Deployed Successfully.
    [02:31:39 PM] The following URL context root(s) were defined and can be used as a starting point to test your application:
    [02:31:39 PM] http://172.16.60.102:7111/SLABAccountMaster-AccountView-context-root
    [02:31:39 PM] Elapsed time for deployment:  36 seconds
    [02:31:39 PM] ----  Deployment finished.  ----
    Run startup time: 36353 ms.
    [Application SLABAccountMaster running on IntegratedWebLogicServer]
    Target URL -- http://127.0.0.1:7111/SLABAccountMaster-AccountView-context-root/faces/AccountsWorkbench.jsf
    <11-Sep-2013 14:31:48 o'clock BST> <Error> <oracle.adfinternal.controller.application.AdfcExceptionHandler> <ADFC-50016> <ADFc: While handling an exception the application's exception handler threw a new exception.
    oracle.jbo.JboException: JBO-29000: Unexpected exception caught: java.lang.NullPointerException, msg=null
      at oracle.adf.model.binding.DCBindingContainerReference.createBindingContainer(DCBindingContainerReference.java:194)
      at oracle.adf.model.binding.DCBindingContainerReference.getBindingContainer(DCBindingContainerReference.java:95)
      at oracle.adf.model.BindingContext.get(BindingContext.java:1316)
      at oracle.adf.model.BindingContext.findBindingContainer(BindingContext.java:1027)
      at oracle.adf.model.BindingContext.findBindingContainerByPath(BindingContext.java:1875)
      at oracle.adfinternal.controller.application.model.UpdateBindingListener.setBindingELVariable(UpdateBindingListener.java:112)
      at oracle.adfinternal.controller.application.model.UpdateBindingListener.beforePhase(UpdateBindingListener.java:61)
      at oracle.adfinternal.controller.lifecycle.ADFLifecycleImpl$PagePhaseListenerWrapper.beforePhase(ADFLifecycleImpl.java:557)
      at oracle.adfinternal.controller.lifecycle.LifecycleImpl.internalDispatchBeforeEvent(LifecycleImpl.java:100)
      at oracle.adfinternal.controller.lifecycle.LifecycleImpl.dispatchBeforePagePhaseEvent(LifecycleImpl.java:147)
      at oracle.adfinternal.controller.faces.lifecycle.ADFPhaseListener$PhaseInvokerImpl.dispatchBeforePagePhaseEvent(ADFPhaseListener.java:290)
      at oracle.adfinternal.controller.faces.lifecycle.ADFPhaseListener.beforePhase(ADFPhaseListener.java:76)
      at oracle.adfinternal.controller.faces.lifecycle.ADFLifecyclePhaseListener.beforePhase(ADFLifecyclePhaseListener.java:44)
      at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._executePhase(LifecycleImpl.java:356)
      at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:225)
      at javax.faces.webapp.FacesServlet.service(FacesServlet.java:593)
      at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:280)
      at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:254)
      at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:136)
      at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:341)
      at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:25)
      at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:79)
      at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:192)
      at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:79)
      at oracle.adfinternal.view.faces.webapp.rich.RegistrationFilter.doFilter(RegistrationFilter.java:106)
      at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:478)
      at oracle.adfinternal.view.faces.activedata.AdsFilter.doFilter(AdsFilter.java:60)
      at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:478)
      at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._doFilterImpl(TrinidadFilterImpl.java:303)
      at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl.doFilter(TrinidadFilterImpl.java:208)
      at org.apache.myfaces.trinidad.webapp.TrinidadFilter.doFilter(TrinidadFilter.java:92)
      at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:79)
      at oracle.adf.library.webapp.LibraryFilter.doFilter(LibraryFilter.java:202)
      at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:79)
      at oracle.security.jps.ee.http.JpsAbsFilter$1.run(JpsAbsFilter.java:137)
      at java.security.AccessController.doPrivileged(Native Method)
      at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:315)
      at oracle.security.jps.ee.util.JpsPlatformUtil.runJaasMode(JpsPlatformUtil.java:460)
      at oracle.security.jps.ee.http.JpsAbsFilter.runJaasMode(JpsAbsFilter.java:120)
      at oracle.security.jps.ee.http.JpsAbsFilter.doFilter(JpsAbsFilter.java:217)
      at oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:81)
      at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:79)
      at oracle.dms.servlet.DMSServletFilter.doFilter(DMSServletFilter.java:225)
      at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:79)
      at weblogic.servlet.internal.RequestEventsFilter.doFilter(RequestEventsFilter.java:27)
      at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:79)
      at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.wrapRun(WebAppServletContext.java:3367)
      at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3333)
      at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
      at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)
      at weblogic.servlet.provider.WlsSubjectHandle.run(WlsSubjectHandle.java:57)
      at weblogic.servlet.internal.WebAppServletContext.doSecuredExecute(WebAppServletContext.java:2220)
      at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2146)
      at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2124)
      at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1564)
      at weblogic.servlet.provider.ContainerSupportProviderImpl$WlsRequestExecutor.run(ContainerSupportProviderImpl.java:254)
      at weblogic.work.ExecuteThread.execute(ExecuteThread.java:295)
      at weblogic.work.ExecuteThread.run(ExecuteThread.java:254)
    Caused By: java.lang.NullPointerException
      at oracle.adf.model.binding.DCBindingContainerDef.createExecutables(DCBindingContainerDef.java:632)
      at oracle.adf.model.binding.DCBindingContainerDef.initializeBindingContainer(DCBindingContainerDef.java:764)
      at oracle.adf.model.binding.DCBindingContainerDef.createBindingContainer(DCBindingContainerDef.java:984)
      at oracle.adf.model.binding.DCBindingContainerReference.createBindingContainer(DCBindingContainerReference.java:158)
      at oracle.adf.model.binding.DCBindingContainerReference.getBindingContainer(DCBindingContainerReference.java:95)
      at oracle.adf.model.BindingContext.get(BindingContext.java:1316)
    -Sep-2013 14:31:48 o'clock BST> <Error> <oracle.adfinternal.controller.application.AdfcExceptionHandler> <ADFC-50017> <ADFc: While attempting to handle this exception the application's exception handler failed.
    oracle.jbo.JboException: JBO-29000: Unexpected exception caught: java.lang.NullPointerException, msg=null
      at oracle.adf.model.binding.DCBindingContainerReference.createBindingContainer(DCBindingContainerReference.java:194)
      at oracle.adf.model.binding.DCBindingContainerReference.getBindingContainer(DCBindingContainerReference.java:95)
      at oracle.adf.model.BindingContext.get(BindingContext.java:1316)
      at oracle.adf.model.BindingContext.findBindingContainer(BindingContext.java:1027)
      at oracle.adf.model.BindingContext.findBindingContainerByPath(BindingContext.java:1875)
      at oracle.adfinternal.controller.application.model.UpdateBindingListener.setBindingELVariable(UpdateBindingListener.java:112)
      at oracle.adfinternal.controller.application.model.UpdateBindingListener.beforePhase(UpdateBindingListener.java:61)
      at oracle.adfinternal.controller.lifecycle.ADFLifecycleImpl$PagePhaseListenerWrapper.beforePhase(ADFLifecycleImpl.java:557)
      at oracle.adfinternal.controller.lifecycle.LifecycleImpl.internalDispatchBeforeEvent(LifecycleImpl.java:100)
      at oracle.adfinternal.controller.lifecycle.LifecycleImpl.dispatchBeforePagePhaseEvent(LifecycleImpl.java:147)
      at oracle.adfinternal.controller.faces.lifecycle.ADFPhaseListener$PhaseInvokerImpl.dispatchBeforePagePhaseEvent(ADFPhaseListener.java:290)
      at oracle.adfinternal.controller.faces.lifecycle.ADFPhaseListener.beforePhase(ADFPhaseListener.java:76)
      at oracle.adfinternal.controller.faces.lifecycle.ADFLifecyclePhaseListener.beforePhase(ADFLifecyclePhaseListener.java:44)
      at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._executePhase(LifecycleImpl.java:356)
      at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:225)
      at javax.faces.webapp.FacesServlet.service(FacesServlet.java:593)
      at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:280)
      at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:254)
      at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:136)
      at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:341)
      at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:25)
      at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:79)
      at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:192)
      at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:79)
      at oracle.adfinternal.view.faces.webapp.rich.RegistrationFilter.doFilter(RegistrationFilter.java:106)
      at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:478)
      at oracle.adfinternal.view.faces.activedata.AdsFilter.doFilter(AdsFilter.java:60)
      at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:478)
      at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._doFilterImpl(TrinidadFilterImpl.java:303)
      at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl.doFilter(TrinidadFilterImpl.java:208)
      at org.apache.myfaces.trinidad.webapp.TrinidadFilter.doFilter(TrinidadFilter.java:92)
      at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:79)
      at oracle.adf.library.webapp.LibraryFilter.doFilter(LibraryFilter.java:202)
      at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:79)
      at oracle.security.jps.ee.http.JpsAbsFilter$1.run(JpsAbsFilter.java:137)
      at java.security.AccessController.doPrivileged(Native Method)
      at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:315)
      at oracle.security.jps.ee.util.JpsPlatformUtil.runJaasMode(JpsPlatformUtil.java:460)
      at oracle.security.jps.ee.http.JpsAbsFilter.runJaasMode(JpsAbsFilter.java:120)
      at oracle.security.jps.ee.http.JpsAbsFilter.doFilter(JpsAbsFilter.java:217)
      at oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:81)
      at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:79)
      at oracle.dms.servlet.DMSServletFilter.doFilter(DMSServletFilter.java:225)
      at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:79)
      at weblogic.servlet.internal.RequestEventsFilter.doFilter(RequestEventsFilter.java:27)
      at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:79)
      at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.wrapRun(WebAppServletContext.java:3367)
      at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3333)
      at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
      at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)
      at weblogic.servlet.provider.WlsSubjectHandle.run(WlsSubjectHandle.java:57)
      at weblogic.servlet.internal.WebAppServletContext.doSecuredExecute(WebAppServletContext.java:2220)
      at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2146)
      at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2124)
      at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1564)
      at weblogic.servlet.provider.ContainerSupportProviderImpl$WlsRequestExecutor.run(ContainerSupportProviderImpl.java:254)
      at weblogic.work.ExecuteThread.execute(ExecuteThread.java:295)
      at weblogic.work.ExecuteThread.run(ExecuteThread.java:254)
    Caused By: java.lang.NullPointerException
      at oracle.adf.model.binding.DCBindingContainerDef.createExecutables(DCBindingContainerDef.java:632)
      at oracle.adf.model.binding.DCBindingContainerDef.initializeBindingContainer(DCBindingContainerDef.java:764)
      at oracle.adf.model.binding.DCBindingContainerDef.createBindingContainer(DCBindingContainerDef.java:984)
      at oracle.adf.model.binding.DCBindingContainerReference.createBindingContainer(DCBindingContainerReference.java:158)
      at oracle.adf.model.binding.DCBindingContainerReference.getBindingContainer(DCBindingContainerReference.java:95)
      at oracle.adf.model.BindingContext.get(BindingContext.java:1316)

    Refer
    6365500 javax.faces.el.EvaluationException: oracle.jbo.JboException: JBO-29000: Unexpected exception caught: java.lang.N…

  • Application migrating from 10.1.2 to 10.1.3.4 (404 Not Found)

    I am migrating a application developed in jdeveloper 10.1.2 to Jdeveloper 10.1.3.4. Works and runs fine in 10.1.2
    The application is compiling in 10.1.3.4, but when I try to run, I get the following error.
    404 Not Found
    javax.servlet.UnavailableException     at org.apache.struts.action.ActionServlet.init(ActionServlet.java:368)     at javax.servlet.GenericServlet.init(GenericServlet.java:256)     at com.evermind[Oracle Containers for J2EE 10g (10.1.3.4.0) ].server.http.HttpApplication.loadServlet(HttpApplication.java:2379)     at com.evermind[Oracle Containers for J2EE 10g (10.1.3.4.0) ].server.http.HttpApplication.findServlet(HttpApplication.java:4830)     at com.evermind[Oracle Containers for J2EE 10g (10.1.3.4.0) ].server.http.HttpApplication.findServlet(HttpApplication.java:4754)     at com.evermind[Oracle Containers for J2EE 10g (10.1.3.4.0) ].server.http.HttpApplication.getRequestDispatcher(HttpApplication.java:2978)     at com.evermind[Oracle Containers for J2EE 10g (10.1.3.4.0) ].server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:738)     at com.evermind[Oracle Containers for J2EE 10g (10.1.3.4.0) ].server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:453)     at com.evermind[Oracle Containers for J2EE 10g (10.1.3.4.0) ].server.http.HttpRequestHandler.serveOneRequest(HttpRequestHandler.java:221)     at com.evermind[Oracle Containers for J2EE 10g (10.1.3.4.0) ].server.http.HttpRequestHandler.run(HttpRequestHandler.java:122)     at com.evermind[Oracle Containers for J2EE 10g (10.1.3.4.0) ].server.http.HttpRequestHandler.run(HttpRequestHandler.java:111)     at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)     at com.evermind[Oracle Containers for J2EE 10g (10.1.3.4.0) ].util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)     at java.lang.Thread.run(Thread.java:595)
    Edited by: FML0 on Mar 12, 2009 11:28 PM

    Close the jdeveloper and delete class folder inside model and view proyect, then open jdeveloper compile and run.
    Good Luck.

  • Time Critical Application Migration from MFC

    I have a multi-threaded windows desktop application that runs on a standard PC motherboard. It collects images from cameras , displays them onto the UI, performs image processing on these pictures, also displays the results onto the UI and sends information
    via the Serial port to the PLC to control an external component. It’s a time critical system that repeats this sequence of steps every ~ 50ms. At times, there is a fair amount of user interaction while all of the computations are going on. In summary, standard
    operation involves app running with the images being collected , analyzed, results being displayed on the GUI and communicating with the PLC.
    The legacy code is 100% MFC 6.0.
    The main goal is to upgrade the GUI – without sacrificing the current speed.
    What are some recommendations on rebuilding/upgrading this application?
    Would a WPF front end / C# back end work, and be as fast as legacy?
    Would a Windows Form front end / C# back end work, and be as fast as legacy?
    Would a Windows Form front end / C++ back end work, and be as fast as legacy?
    How would the 1st 3 options compare to simply upgrading the app to MFC 11
    How will moving to a managed framework affect speed and repeatability?
    Any thoughts would be greatly appreciated!
    If this app were not time critical, I would go to C#. I’m concerned that by upgrading the GUI and by moving to managed code, I’m sacrificing speed. It’d be great to be able to ascertain the risk before making this decision.

    Both MFC and WinForms are based on GDI, now considered legacy by Microsoft. On modern systems the desktop is rendered in DirectX, and GDI interop is slower than going DirectX
    directly. The Direct3D-based WPF is the current desktop technology, however it come with a lot of luggage like the large memory footprint and slow startup time. Modern MFC also supports Direct2D (which is used by IE to improve performance) but Direct2D is
    relatively new and does not have many docs/tutorials/third party controls. 
    1 you can upgrade part of application to managed code instead of the whole application by using MFC's Windows Forms support (that support works for WPF controls too). If you get a performance bottleneck you can move back to C++.
    2 It depends. EverNote actually
    went from WPF to C++ citing performance issues.
    3 not really. But you may have faster time to market.
    4 not really. But you may have faster time to market.
    5 MFC 11 would have the same performance as your MFC 6 app.
    6 See 2. 
    Your FPS requirement is similar to a game, and most game engines I see are written in C++. Those game engine use DirectX/OpenGL instead of GDI, but moving to that direction means rewriting losts of GUI code.
    Visual C++ MVP

Maybe you are looking for