Migrate tomcat application to oc4j

hello,
i want to migrate an application built with jsp and structs from tomcat to oc4j.
where can i found documentation about that?
regards,

hi
tank you Shay Shmeltzer.
I see http://www.oracle.com/technology/products/adf/learnadf.html.
after make configuration in server.xml (tomcat) i see
http://radio.weblogs.com/0118231/stories/2003/08/08/installingTheBc4jToyStoreOnApacheTomcat4124.html.
When start application in tomcat we have this message :
Failed to checkout SRService application module. Ensure your datasource name is SRDemo [case-sensitive!] and that connection settings are properly defined for a database with the SRDEMO schema installed. See server log for more exception details...
Tank you
Alfredo Queiros

Similar Messages

  • Trasaction problem when migrate ejb application from oc4j 10.1.2 to 10.1.3

    When i migrate my ejb application from oc4j 10.1.2 to 10.1.3
    in application log i found following many exceptions:
    where is problem? on AS 10.1.2 all works fine.
    javax.transaction.SystemException: Transaction state is COMMITTED and therefore can not be suspended, transaction
    at com.evermindhttp://Oracle Containers for J2EE 10g (10.1.3.4.0) .server.ApplicationServerTransaction.suspend(ApplicationServerTransaction.java:356)
    at com.evermindhttp://Oracle Containers for J2EE 10g (10.1.3.4.0) .server.ApplicationServerTransactionManager.suspend(ApplicationServerTransactionManager.java:541)
    at com.evermindhttp://Oracle Containers for J2EE 10g (10.1.3.4.0) .server.ejb.EJBTransactionManager.suspend(EJBTransactionManager.java:186)
    at com.evermindhttp://Oracle Containers for J2EE 10g (10.1.3.4.0) .server.ejb.EJBTransactionManager.suspendLocal(EJBTransactionManager.java:163)
    at com.evermindhttp://Oracle Containers for J2EE 10g (10.1.3.4.0) .server.ejb.BeanPool.suspend(BeanPool.java:588)
    at com.evermindhttp://Oracle Containers for J2EE 10g (10.1.3.4.0) .server.ejb.BeanPool.destroyContext(BeanPool.java:460)
    at com.evermindhttp://Oracle Containers for J2EE 10g (10.1.3.4.0) .server.ejb.BeanPool.releaseContext(BeanPool.java:306)
    at com.evermindhttp://Oracle Containers for J2EE 10g (10.1.3.4.0) .server.ejb.BMPOrionEntityBeanPool.releaseContext(BMPOrionEntityBeanPool.java:72)
    at com.evermindhttp://Oracle Containers for J2EE 10g (10.1.3.4.0) .server.ejb.EntityEJBHome.releaseContextInstance(EntityEJBHome.java:114)
    at com.evermindhttp://Oracle Containers for J2EE 10g (10.1.3.4.0) .server.ejb.EntityEJBHome.passivateAndRelease(EntityEJBHome.java:182)
    at com.evermindhttp://Oracle Containers for J2EE 10g (10.1.3.4.0) .server.ejb.EntityEJBObject.releaseContext(EntityEJBObject.java:402)
    at com.evermindhttp://Oracle Containers for J2EE 10g (10.1.3.4.0) .server.ejb.EntityEJBObject.removeFromCacheNew(EntityEJBObject.java:336)
    at com.evermindhttp://Oracle Containers for J2EE 10g (10.1.3.4.0) .server.ejb.EntityEJBObject.endTransaction(EntityEJBObject.java:178)
    at com.evermindhttp://Oracle Containers for J2EE 10g (10.1.3.4.0) .server.ApplicationServerTransactionSynchronization.endTransaction(ApplicationServerTransactionSynchronization.java:198)
    at com.evermindhttp://Oracle Containers for J2EE 10g (10.1.3.4.0) .server.ApplicationServerTransactionSynchronization.freeEjbResources(ApplicationServerTransactionSynchronization.java:179)
    at com.evermindhttp://Oracle Containers for J2EE 10g (10.1.3.4.0) .server.ApplicationServerTransactionSynchronization.afterCompletion(ApplicationServerTransactionSynchronization.java:677)
    at com.evermindhttp://Oracle Containers for J2EE 10g (10.1.3.4.0) .server.ApplicationServerTransaction.callSynchronizationAfterCompletion(ApplicationServerTransaction.java:1215)
    at com.evermindhttp://Oracle Containers for J2EE 10g (10.1.3.4.0) .server.ApplicationServerTransactionManager.freeResources(ApplicationServerTransactionManager.java:394)
    at com.evermindhttp://Oracle Containers for J2EE 10g (10.1.3.4.0) .server.ApplicationServerTransaction.doCommit(ApplicationServerTransaction.java:282)
    at com.evermindhttp://Oracle Containers for J2EE 10g (10.1.3.4.0) .server.ApplicationServerTransaction.commit(ApplicationServerTransaction.java:162)
    at com.evermindhttp://Oracle Containers for J2EE 10g (10.1.3.4.0) .server.ApplicationServerTransactionManager.commit(ApplicationServerTransactionManager.java:472)
    at com.evermindhttp://Oracle Containers for J2EE 10g (10.1.3.4.0) .server.ejb.EJBTransactionManager.end(EJBTransactionManager.java:143)
    at com.evermindhttp://Oracle Containers for J2EE 10g (10.1.3.4.0) .server.ejb.interceptor.system.TxRequiredInterceptor.invoke(TxRequiredInterceptor.java:57)
    at com.evermindhttp://Oracle Containers for J2EE 10g (10.1.3.4.0) .server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
    at com.evermindhttp://Oracle Containers for J2EE 10g (10.1.3.4.0) .server.ejb.interceptor.system.DMSInterceptor.invoke(DMSInterceptor.java:52)
    at com.evermindhttp://Oracle Containers for J2EE 10g (10.1.3.4.0) .server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
    at com.evermindhttp://Oracle Containers for J2EE 10g (10.1.3.4.0) .server.ejb.InvocationContextPool.invoke(InvocationContextPool.java:55)
    any idea?
    Thanks. J.

    java.lang.NoSuchMethodError: java.lang.String oracle.adf.model.BindingContext.findBindingContainerIdByPath(java.lang.String) at oracle.adf.controller.v2.struts.actions.DataAction.mappingCreate
    Refer Steve's blog
    http://radio-weblogs.com/0118231/stories/2006/02/28/notesOnMigratingAdfstruts1012ApplicationsTo1013.html

  • Migrate ADF application from OC4J to weblogic

    Hi Experts,
    we are trying to migrate ADF toystore demo(Version 10.1.2.46 (Built on 9-May-2005) from an IAS10.1.3 OC4J server to a fmw11g weblogic server,
    We used the existing .ear from the old IAS server, and tried to deploy it though EM. Firstly we got below message:
    [Wed Oct 21 22:21:44 PDT 2009] [Deployer:149191]Operation 'deploy' on application 'ADFToyStore' is initializing on 'fusion_demo'
    [Wed Oct 21 22:21:44 PDT 2009] [Deployer:149192]Operation 'deploy' on application 'ADFToyStore' is in progress on 'fusion_demo'
    [Wed Oct 21 22:21:44 PDT 2009] [Deployer:149193]Operation 'deploy' on application 'ADFToyStore' has failed on 'fusion_demo'
    [Wed Oct 21 22:21:44 PDT 2009] java.lang.ClassNotFoundException: oracle.adf.model.servlet.ADFBindingFilter
    [Wed Oct 21 22:21:44 PDT 2009] oracle.adf.model.servlet.ADFBindingFilter
    [Wed Oct 21 22:21:45 PDT 2009] Deploy operation failed.
    After installing adfmweb.jar as a library in target server, we tried again, but the error was just the same.
    Can anyone give us a clue?
    Thanks a lot,
    Todd

    That won't work. ADF 10g doesn't run on WLS. You need to upgrade to ADF 11g through JDeveloper.
    See the Upgrade Guide: http://download.oracle.com/docs/cd/E12839_01/upgrade.1111/e10127/toc.htm
    --olaf                                                                                                                                                                                                                                                                                                                                                                                                                   

  • Migrating applciation from weblogic to oracle 9i application server(OC4J)??????

    Hi,
    I am migrating my ejb application from weblogic to oracle 9i application server.What changes are needed to be made in code and what configuration changes are required.
    In my application i use a couple of session beans wherin a session bean calls the method of the other session bean which acceses the database.I am using a jdbc thin driver for the database connection. is it possible for a session bean to call a method of another session bean which access the database??This concept works well in weblogic where the current application is running.
    The problem is that while migrating the application to the orion server, it gives an OrionCMTException ...
    memory leak..etc.
    Could any one clarify.
    Thanks in advance!!!

    Hi Avi and Harrison,
    Cease Fire avi!!!!.First of all let me clear the issue of posting the same problem twice.Well, when i mentioned the problem the first time , i found the title session bean deployment was not right and few people would look into it as it was a common problem so i thought it would be appropriate if i mentioned the title correctly , so i posted the query again with the change in title.
    Now coming to the answer for ur questions.
    The platform used is MS Windows NT.
    The (OC4J) version is 1.0.2.2.1.
    I am not using JDeveloper.
    The database is oracle 8i and i am using the thin driver.
    The beans to be deployed are stateless session beans.
    The client involved is a web client i.e a jsp application.
    The first session bean is as follows.
    import java.sql.Connection;
    import java.sql.Statement;
    import java.sql.ResultSet;
    import java.sql.SQLException;
    import java.util.Vector;
    import java.sql.Timestamp;
    import java.rmi.RemoteException;
    import java.util.Date;
    import javax.ejb.*;
    import javax.naming.*;
    import initcontext;
    import PrintMessage;
    import JB_B2B_ERROR_PARSER;
    * @stereotype SessionBean
    * @homeInterface DB_UTILITYHome
    * @remoteInterface DB_UTILITYRemote
    public class DB_UTILITY implements SessionBean
         private SessionContext context;
    private ResultSet rs = null;
    private Statement stmt = null;
    private Connection con = null;
    private PrintMessage print = null;
    public DB_UTILITY()
    rs = null;
    stmt = null;
    con = null;
    print = new PrintMessage();
         public Connection getConnection()throws RemoteException
              InitialContext initctx = null;
              Connection con = null;
              try
                   initctx = initcontext.getContext();
                   javax.sql.DataSource ds =
    (javax.sql.DataSource)initctx.lookup("java:comp/env/jdbc/ePool");
                   con = ds.getConnection();
    //(javax.sql.DataSource)initctx.lookup("java:comp/env/jdbc/ePool");
    catch(NamingException namingexception)
    print.printUserMessage("DB_UTILITY", (new
    Date()).toString(), "", namingexception);
    throw new
    EpoolException(JB_B2B_ERROR_PARSER.getErrorMessage("AppError",
    "Epool-10001", "DB_UTILITY.getConnection"));
    catch(SQLException sqlexception)
    print.printUserMessage("DB_UTILITY", (new
    Date()).toString(), "", sqlexception);
    throw new
    epoolException(JB_B2B_ERROR_PARSER.getErrorMessage("DBError",
    JB_B2B_ERROR_PARSER.getSQLCode(sqlexception),
    "DB_UTILITY.getConnection"));
    catch(Exception exception)
    print.printUserMessage("DB_UTILITY", (new
    Date()).toString(), "", exception);
    throw new
    epoolException(JB_B2B_ERROR_PARSER.getErrorMessage("EpoolError",
    "Epool10005", "DB_UTILITY.getConnection"));
              return con;
         public String getDate()throws RemoteException
              String Date=null;
              try
                   con=getConnection();
                   stmt=con.createStatement();
                   rs=stmt.executeQuery("SELECT
    TO_CHAR(SYSDATE,'YYYY-MM-DD HH:MI:SS') FROM DUAL");
                   while(rs.next())
                        Date=rs.getString(1);
                   stmt.close();
                   con.close();
    catch(SQLException sqlexception)
         print.printUserMessage("DB_UTILITY", (new
    Date()).toString(), "", sqlexception);
    throw new
    EpoolException(JB_B2B_ERROR_PARSER.getErrorMessage("DBError",
    JB_B2B_ERROR_PARSER.getSQLCode(sqlexception), "DB_UTILITY.getDate"));
    catch(Exception exception)
         print.printUserMessage("DB_UTILITY", (new
    Date()).toString(), "", exception);
    throw new
    EpoolException(JB_B2B_ERROR_PARSER.getErrorMessage("epoolError",
    "Epool10005", "DB_UTILITY.getDate"));
    finally
    try
    if(con != null && !con.isClosed())
    con.close();
    catch(Exception exception2)
    stmt = null;
    con = null;
              return Date;
         public void setSessionContext(SessionContext context)
              this.context = context;
         public void ejbActivate()
         public void ejbPassivate()
         public void ejbCreate()
         public void ejbRemove()
    Also the xml files are as follows.
    web.xml
    <?xml version="1.0"?>
    <!DOCTYPE web-app PUBLIC "-//Sun Microsystems,
    Inc.//DTD Web Application 2.2//EN"
    "http://java.sun.com/j2ee/dtds/web-app_2_2.dtd">
    <web-app>
    <!-- A friendly name for this web application, this name can be used in visual development environments, for instance -->
    <display-name>AddressBook Web Application</display-name>
    <!-- A human-readable description of this web application -->
    <description>Web module that contains an HTML welcome page, and 4 JSP's.</description>
    <!-- The file(s) to show when no file is specified, i.e. only the directory is specified. -->
    <welcome-file-list>
    <welcome-file>B2B_COUNTRY_CODE.jsp</welcome-file>
    </welcome-file-list>
    <ejb-ref>
    <ejb-ref-name>SB_B2B_COUNTRY_CODEHome</ejb-ref-name>
    <ejb-ref-type>Session</ejb-ref-type>
    <home>SB_B2B_COUNTRY_CODEHome</home
    <remote>SB_B2B_COUNTRY_CODERemote</remote>
    </ejb-ref></web-app>
    Application.xml
    <?xml version="1.0"?>
    <!DOCTYPE application PUBLIC "-//Sun Microsystems, Inc.//DTD J2EE Application 1.2//EN" "http://java.sun.com/j2ee/dtds/application_1_2.dtd">
    <application>
    <display-name>Country Code</display-name>
    <module>
    <ejb>epool_CountryCode-ejb.jar</ejb>
    </module>
    <module>
    <web>
    <web-uri>epool_CountryCode-web.war</web-uri>
    <context-root>/epool_CountryCode-web</context-root>
    </web>
    </module>
    </application>
    ejb-jar.xml:
    <?xml version="1.0"?>
    <!DOCTYPE ejb-jar PUBLIC "-//Sun Microsystems, Inc.//DTD Enterprise JavaBeans 1.1//EN" "http://java.sun.com/j2ee/dtds/ejb-jar_1_1.dtd">
    <ejb-jar>
    <description>epool_CountryCode</description>
    <enterprise-beans>
    <session>
    <display-name>CountryCode Session
    Bean</display-name>
    <ejb-name>SB_B2B_COUNTRY_CODERemote</ejb-name>
    <home>SB_B2B_COUNTRY_CODEHome</home>
    <remote>SB_B2B_COUNTRY_CODERemote</remote>
    <ejb-class>SB_B2B_COUNTRY_CODE</ejb-class>
    <session-type>Stateless</session-type>
    <ejb-ref>
    <description>EJB Epool DButility</description>
         <ejb-ref-name>DB_UTILITYRemote</ejb-ref-name>
                   <ejb-ref-type>Session</ejb-ref-type>
                   <home>DB_UTILITYHome</home>
                   <remote>DB_UTILITYRemote</remote>
              </ejb-ref>
              <ejb-ref>
              <description>EJB Entity Bean</description>
    <ejb-ref-name>EB_B2B_COUNTRY_CODERemote</ejb-ref-name>
                   <ejb-ref-type>Entity</ejb-ref-type>
                   <home>EB_B2B_COUNTRY_CODEHome</home>
              <remote>EB_B2B_COUNTRY_CODERemote</remote>
              </ejb-ref>
    </session>
    <session>
    <display-name>DbUtility Session Bean</display-name>
    <ejb-name>DB_UTILITYRemote</ejb-name>
    <home>DB_UTILITYHome</home>
    <remote>DB_UTILITYRemote</remote>
    <ejb-class>DB_UTILITY</ejb-class>
    <session-type>Stateless</session-type>
    </session>
    <entity>
    <ejb-name>EB_B2B_COUNTRY_CODERemote</ejb-name>
         <home>EB_B2B_COUNTRY_CODEHome</home>
         <remote>EB_B2B_COUNTRY_CODERemote</remote>
         <ejb-class>EB_B2B_COUNTRY_CODE</ejb-class>
         <persistence-type>Container</persistence-type>
         <prim-key-class>EB_B2B_COUNTRY_CODEPK</prim-key-class>
         <reentrant>False</reentrant>
         <cmp-field>
         <field-name>country_code_desc</field-name>
         </cmp-field>
         <cmp-field>
         <field-name>phone_format_flag</field-name>
         </cmp-field>
         <cmp-field>
         <field-name>country_code</field-name>
         </cmp-field>
         <cmp-field>
         <field-name>active_date</field-name>
         </cmp-field>
         <cmp-field>
         <field-name>date_created</field-name>
         </cmp-field>
         <cmp-field>
         <field-name>active_flag</field-name>
         </cmp-field>
         <cmp-field>
         <field-name>country_phone_code</field-name>
         </cmp-field>
         <cmp-field>
         <field-name>country_tax_percent</field-name>
         </cmp-field>
         <cmp-field>
         <field-name>sort_order</field-name>
         </cmp-field>
         <cmp-field>
         <field-name>date_modified</field-name>
         </cmp-field>
         <cmp-field>
         <field-name>user_created</field-name>
         </cmp-field>
         <cmp-field>
         <field-name>user_modified</field-name>
         </cmp-field>
         <resource-ref>
         <description></description>
         <res-ref-name>jdbc/ePool</res-ref-name>
         <res-type>javax.sql.DataSource</res-type>
         <res-auth>Container</res-auth>
         </resource-ref>
    </entity>
    </enterprise-beans>
    <assembly-descriptor>
         <container-transaction>
              <method>
                   <ejb-name>EB_B2B_COUNTRY_CODERemote</ejb-name>
                   <method-name>*</method-name>
              </method>
              <trans-attribute>Required</trans-attribute>
    </container-transaction>
    <security-role>
    <description>Users</description>
    <role-name>users</role-name>
    </security-role>
    </assembly-descriptor>
    </ejb-jar>
    The session bean which uses the above session bean is as follows.
    import javax.ejb.SessionContext;
    import javax.ejb.SessionBean;
    import java.sql.*;
    import javax.naming.Context;
    import java.sql.Timestamp;
    import java.util.Vector;
    import initcontext;
    import DB_UTILITYHome;
    import DB_UTILITYRemote;
    import EB_B2B_COUNTRY_CODEHome;
    import EB_B2B_COUNTRY_CODERemote;
    import EB_B2B_COUNTRY_CODEPK;
    * @stereotype SessionBean
    * @homeInterface SB_B2B_COUNTRY_CODEHome
    * @remoteInterface SB_B2B_COUNTRY_CODERemote
    public class SB_B2B_COUNTRY_CODE implements SessionBean
         private SessionContext context;
         * Sets the context of the bean
         * @param context The Bean's Context
         public Vector selectCountryCode(String query,String
    countquery, String pagenos) throws Exception
              Context ctx = initcontext.getContext();
              Connection con=null;
              Vector records=new Vector();
              int pageno=Integer.parseInt(pagenos);
              int min=(pageno-1)*10;
              int max=pageno*10;
              int counter=0;
              boolean recordsfound=false;     
              try
                   DB_UTILITYHome home =
    (DB_UTILITYHome)ctx.lookup("java:comp/env/DB_UTILITYRemote");
                   DB_UTILITYRemote remote =
    (DB_UTILITYRemote)home.create();
                   con=remote.getConnection();
                   Statement stmt = con.createStatement();
                   ResultSet rscount =
    stmt.executeQuery(countquery);
                   while(rscount.next())
                        int temp=rscount.getInt(1);
                        int pagecount=temp;
                        pagecount=pagecount/10;
                        if((temp%10)>0)
                        pagecount=pagecount+1;               
                        records.addElement(""+pagecount);
                   ResultSet rs = stmt.executeQuery(query);
                   while(rs.next())
                        counter++;
                        if(counter>min && counter<=max)
                             String row[]=new String[8];     
                             recordsfound=true;
                             row[0]=rs.getString(1);
                             row[1]=rs.getString(2);
                             row[2]=rs.getString(3);
                             row[3]=rs.getString(4);
                             row[4]=rs.getString(5);
                             row[5]=rs.getString(6);
                             row[6]=rs.getString(7);
                             row[7]=rs.getString(8);          
                             records.addElement(row);
              con.close();               
              catch(Exception e)
                   System.out.println("Error in selecting Country
    Code "+e);
                   throw new Exception("Error in selecting Country
    Code "+e);
              return(records);     
         public void insertCountryCode(String country_code, String
    country_code_desc, String country_phone_code, String
    phone_format_flag,String active_flag, String sort_order,String
    country_tax_percent)throws Exception
              Context ctx = initcontext.getContext();
              Double Sort_Order=null;
              Double cntry_tax_prct=null;
              if(sort_order!=null && sort_order.length()>0)          
              Sort_Order=new Double(sort_order);          
              if(country_tax_percent!=null &&
    country_tax_percent.length()>0)          
              cntry_tax_prct=new Double(country_tax_percent);
              String user_created=null;
              Timestamp date_created=null;
              Timestamp active_date=null;
              String user_modified=null;
              Timestamp date_modified=null;          
              try
                   DB_UTILITYHome dbhome =
    (DB_UTILITYHome)ctx.lookup("java:comp/env/DB_UTILITYRemote");
                   DB_UTILITYRemote dbremote =
    (DB_UTILITYRemote)dbhome.create();
                   user_created=dbremote.getUser();
    date_created=Timestamp.valueOf(dbremote.getDate());
                   active_date=date_created;
                   EB_B2B_COUNTRY_CODEHome home =
    (EB_B2B_COUNTRY_CODEHome)ctx.lookup("java:comp/env/EB_B2B_COUNTRY_CODER
    emote");
                   EB_B2B_COUNTRY_CODERemote remote =
    (EB_B2B_COUNTRY_CODERemote)home.create(country_code, country_code_desc,
    country_phone_code,active_flag, phone_format_flag,user_created,
    date_created, active_date, Sort_Order, user_modified,
    date_modified,cntry_tax_prct);                              
              catch(Exception e)
                   System.out.println("Error in Creating COUNTRY
    Code "+e);
                   throw new Exception("Error in Creating COUNTRY
    Code "+e);
         public void setSessionContext(SessionContext context)
              this.context = context;
         public void ejbActivate()
         public void ejbPassivate()
         public void ejbCreate()
         public void ejbRemove()
    The jsp client which acces the beans is as follows.
    <BODY >
    <%@ page language="java" %>
    <%@ page import="java.sql.*" %>
    <%@ page import="initcontext" %>
    <%@ page import = "java.util.*" %>
    <%@ page import="DB_UTILITYHome"%>
    <%@ page import="DB_UTILITYRemote"%>
    <%@ page import="javax.naming.*"%>
    <%Connection con=null; %>
    <script src="search_getvalues.js">
    </script>
    <form name=frm1>
    <%! int intCount,intI,intRowCount,intJ;
    String strtname=new String();
    String strhidden=new String("txthdn");
         Statement st;
         ResultSet rs;
         ResultSetMetaData rmeta;
    ....%>
    <%
    try
         Context ctx = initcontext.getContext();
         DB_UTILITYHome dbhome =
    (DB_UTILITYHome)ctx.lookup("java:comp/env/DB_UTILITYRemote");
         DB_UTILITYRemote dbremote = (DB_UTILITYRemote)dbhome.create();
         con=dbremote.getConnection();
         st=con.createStatement();
         rs=st.executeQuery(strsqlquery);
         rmeta=rs.getMetaData();
    intCount=rmeta.getColumnCount();
    ....... %>
    </form>
    </BODY>
    </HTML>
    The resulting exception generated is as follows:
    D:\oc4j\j2ee\home>java -jar orion.jar
    Auto-unpacking
    D:\oc4j\j2ee\home\applications\epool_CountryCode\build\epool_CountryCod
    e.ear... done.
    Auto-unpacking
    D:\oc4j\j2ee\home\applications\epool_CountryCode\build\epool_CountryCod
    e\epool_CountryCode-web.war... done.
    Auto-deploying epool_CountryCode (New server version detected)...
    Auto-deploying epool_CountryCode-ejb.jar (No previous deployment
    found)... done.
    Error deploying
    file:/D:/oc4j/j2ee/home/demo/messagelogger/messagelogger-ejb.jar homes:
    No javax.jms.Destination found a
    t the specified destination-location (jms/theTopic) for
    MessageDrivenBean com.evermind.logger.MessageLogger
    Oracle9iAS (1.0.2.2.1) Containers for J2EE initialized
    Auto-deploying epool countryCode example (New server version
    detected)...
    ************************1
    ************************2
    COUNT QUERY :SELECT COUNT(COUNTRY_CODE) FROM BAP_COUNTRY_CODE
    QUERY :SELECT
    COUNTRY_CODE,COUNTRY_CODE_DESC,COUNTRY_PHONE_CODE,PHONE_FORMAT_FLAG,COU
    NTRY_TAX_PERCENT ,SORT_ORDER,ACTIVE
    FLAG,ACTIVEDATE FROM BAP_COUNTRY_CODE order by COUNTRY_CODE
    Error in selecting Country Code java.rmi.RemoteException: Error
    (de-)serializing object: com.evermind.sql.OrionCMTConnec
    tion; nested exception is:
    java.io.NotSerializableException:
    com.evermind.sql.OrionCMTConnection
    JB:Error in selecting country cd java.lang.Exception: Error in
    selecting Country Code java.rmi.RemoteException: Error (d
    e-)serializing object: com.evermind.sql.OrionCMTConnection; nested
    exception is:
    java.io.NotSerializableException:
    com.evermind.sql.OrionCMTConnection
    Error in Selecting Records
    OrionCMTConnection not closed, check your code!
    LogicalDriverManagerXAConnection not closed, check your code!
    (Use -Djdbc.connection.debug=true to find out where the leaked
    connection was created)
    Auto-unpacking
    D:\oc4j\j2ee\home\applications\epool_CountryCode\build\epool_CountryCod
    e.ear... Error unpacking: IO Error:
    The system cannot find the path specified
    Error updating application epool_CountryCode: Unable to find/read
    assembly info for D:\oc4j\j2ee\home\applications\epool_C
    ountryCode\build\epool_CountryCode (META-INF/application.xml)
    But if the DBUTILITY session bean is changed to a simple bean and accessed the code works fine and i am able to retrieve the data.Is the problem there because u one session bean cannot access a database connection method from another one or could it be because of the driver???
    I hope i am clear.Please revert back in case any more references are needed.
    Thanks in advance!!!!!!

  • Migration Tomcat to Oracle

    Actually, we have an open source architecture but, I'm trying to convince everyone change to Application Server 10G.
    We have an Apache HTTP Server on front-end redirecting requests to different instances of Tomcat by mod_jk feature. How can I adapt this architecture for using Oracle Application Server?
    Exists some documentantion how-to migrate from Tomcat to Oracle Application Server?
    thanks a lot
    André

    Andre,
    Here is a document that discuss migrating Tomcat to OC4J.
    You can use the existing HTTP load balancing to then distribute calls
    to your Application Server Middle Tiers.
    Regards
    Roelie Viviershttp://download.oracle.com/docs/cd/B32110_01/web.1013/b28959/develop.htm#CHDFJJDA<a/>
    You can use the existing HTTP load balancing to then distribute calls
    to your Application Server Middle Tiers.
    Regards
    Roelie Viviers

  • From Tomcat-Apache to OC4J

    I4m migrating an application from Tomcat-Apache to OC4J. I have a problem whith a taglib in a Servlet call a JSP that use a taglib.
    In the JSP call a taglib whith:
    <%@ taglib uri="/oficios" prefix="portalOficios"%>
    <jsp:useBean id="resultado" scope="session" class="com.npevolution.util.SQLResult" />
    <portalOficios:iteracion nombres="codigo" tipo="String" group="<%= resultado%>">
    <% String campoCodProv = (String)pageContext.getAttribute("campo0");%>
    <%String campoNombProv =(String)pageContext.getAttribute("campo1");%>
    </portalOficios:iteracion>
    thank you;
    Esther

    I looked at the code after a jsp compiled to a servlet. The
    jspService method of "EditTmpForm.jsp" is about 801 KB. But for another jsp "EditOperation.jsp", the  jspService method is about 236 KB.
    Both are much greater than 64 K, but why it runs okay for "EditOperation.jsp" but gives me error for "EditTmpForm.jsp"?
    Furthermore, since the HTML form is long, so the HTML code itself is bigger than 64 K, how can you prevent your _jspService method so that is is shorter than 64K?
    Thanks for your help!
    James

  • Migrating an application from JDev 10.1.3 to JDev 10.1.3.2

    Hi,
    I am having trouble migrating an application made with JDev 10.1.3 to 10.1.3.2.
    Everything is fine when I run it on the embedded OC4J, but when I try to deploy I have problems.
    The application is deployed on OAS 10.1.3R3.
    What I have done so far was to install the new ADF libraries using ADFinstaller, editing server.xml as per Note:417812.1 and include adf-faces-api.jar, adf-faces-impl.jar, jsf-api.jar, jsf-impl.jar and adfshare.jar from JDev 10.1.3.2 to my project WEB-INF/lib folder.
    Some pages are working as they should, but when a date is to be displayed I have this error:
    javax.faces.el.EvaluationException: java.lang.NoSuchMethodError: oracle.jbo.domain.Date.timestampValue()Ljava/sql/Timestamp;So, am I missing some jar to be included? Have I missed a step or two?
    Thank you for your help.
    adsm

    Solved.
    For some reason, once the application has been migrated, the following lines were added to orion-application.xml:
        <imported-shared-libraries>
            <import-shared-library name="adf.generic.domain" min-version="10.1.3"></import-shared-library>
            <remove-inherited name="adf.oracle.domain"></remove-inherited>
        </imported-shared-libraries>
    -------I do not know if the migration tool was directly responsible for this. Anyway, as this project has been migrated time and time again from a JDev version anterior to 10, this kind of thing was bound to happen someday.
    Cheers,
    adsm

  • Migrating from JServ to OC4J: problems with XSQLServlet configuration

    I'm trying to move an application using xsql pages from 9iAS to 10g (9.04). Development is currently done under JDev9 (9.02) an its OC4J standalone server.
    I guess I've done most of the configurations, since the application is working correctly now, BUT only with the connections defined statically in the XSQLConfig.xml of the XSQLServlet. On JServ, we implemented our own connection manager to pass our connections to the XSQLServlet as defined by the <connection-manager><factory> tag. Now, under OC4J, this no longer works:
    The log files tells:
    Failed to create custom connection manager factory: "our.connection.manager.factory": Using default.
    And with the default one, we get of course the 'cannot acquire database connection' error message which is ok, since we're not using one of those defined under XSQLConfig.xml...
    Background: Our connection manager is contained in a jar file with many other classes. These are visible to the 2 applications ("P" and "T") we're running successfully under OC4J Standalone. As I interprete the message as the XSQLServlet not being able to create an instance of our ConnectionManager, I guess I missed somewhere an library or classpath entry??
    Many thanx for any hints!

    There was a generic Migration guide produced for the earlier 9.0.2 release with some content on migrating from JServ to OC4J.
    http://download-west.oracle.com/docs/cd/A97331_08/migrate.902/migrate/intapps.htm#1006415
    It's hard to provide much help without more details.
    cheers
    -steve-

  • OIM11gR2 - How to migrate an Application Instance Form

    Hello,
    I'm trying to migrate an Application Instance Form from my Dev env to my QA env.
    My target system is SAP
    I performed the following steps in Dev:
    1. Installed and configured the SAP Connector (no problem here)
    2. Created a sandbox
    3. Created an Application Instance
    4. Created the Application Instance Form
    5. Ran a target reconciliation to confirm everything is working properly
    6. Exported the sandbox
    7. Published the sandbox
    8. Via Deployment Manager I exported all objects related to SAP (Resource object, Process Forms, Lookups etc.)
    In QA I did:
    9. Installed and configured the SAP Connector (no problem here)
    10. Via Deployment Manager I imported the objects related to SAP
    11. Imported the sandbox
    Problem:
    To my surprise, the Application Instance does not have a Form in the QA env.
    I had to create it manually by performing the following:
    12. Create a sandbox
    13. Open the Application Instance definition
    14. Click on create (to create a form)
    15. Entered the same name I used in my Dev environment
    16. Received an error message saying that the form already exists
    17. Entered a different name for the Form
    18. Saved
    19. Exported the sandbox (to import in Prd)
    20. Published the sandbox
    21. Ran a target reconciliation to confirm everything is working properly
    I tried to reproduce the problem with another (test) destination environment because I don't want to have the same problem when migrating to Prd.
    I repeated the steps 9,10,11 except that I imported the sandbox exported from QA (step 19) instead.
    The same problem: Application Instance definition has no Form attached to it in my test destination environment.
    If I try to create the form with the same name, it gives an error message saying it is already there.
    Is my procedure wrong?
    Is there an official procedure explaining how to migrate only Application Instance Form from one env to another?
    My env:
    OS: Windows 2008 R2 SP1
    OIM: 11gR2 BP7
    SAP connector: 9.1.2.2.0
    Thanks,
    Adr

    This is a bug: Bug:16027176
    Check the [Article ID 1515225.1] which proposes a workaround that might be useful in your case (it was not in mine).
    In short the workaround is:
    The following order should be observed to export :
    - IT Resource & Application instance in one xml
    - Request DataSet in another xml
    - SysAdmin Sandbox (the one defined while creating the Application Instance and the Form)
    - Identity URL Sandbox (defined while customizing the fields on the Form, in the Catalogue page)
    Adr

  • Info : Migrating Apex Application from Non-SSO to SSO environment

    Hi All,
    This post is to share my experience while working on APEX. This may be useful to some apex developer.
    If we migrate an apex application from a non-sso (i.e. http) to sso (i.e. https) environment, the flash chart doesn't work.
    I found that in the source of a Flash Chart region, we use #HOST# variable to locate the swf file. The environment variable takes the correct path but with "http" as prefix. But to access application pages "https" is used. Because of which, the swf file couldn't be located by the application.
    Work-around Solution : If I hard code the value i.e. the application path having "https" replacing #HOST# variable then the flash chart works fine. I couldn't found a way by which the #HOST# parameter value can be updated to take "https".
    The same environment host other non-sso applications as well.
    Any comments on this are welcomed.
    Regards,
    Mangal

    Hi Dirk,
    Thanks for the reply.
    As I mentioned earlier, by Non-SSO I mean "http" and by SSO I mean "https". This is because, before migration the application was accessible using "http" and now we have to use "https" alongwith SSO to access the application. I only want to highlight the Flash Chart issue with this migration.
    The problem doesn't solves with your solution as I am getting correct instance/environment name with #HOST# but prefixed with "http" and not "https". Hence the application won't be able to locate the required swf file.
    Even the workaround I mentioned is only feasible, if an application has only few Flash Charts. However, if there are large no. of Flash charts in an application, then it would be a tedious task to update all flash chart source either by an application item (as you mentioned in your post) or hard coding the path itself. Also, every new Flash Chart source needs to be updated by a developer to fix this.
    A better solution is required by which the Flash chart source is not touched and the #HOST# variable for the application is updated to take the "https" prefixed to the swf file path.
    Regards,
    Mangal
    Edited by: Mangal on Mar 5, 2009 11:31 PM

  • IPhoto worked initially on new iMac with yosemite then I did a migrate of application only now it won't open

    I have new iMac retina display.  I manually loaded my photo library from old mac, it asked to upgrade library I said yes and it all was working fine. Then I did a migration on applications only from my older macbook pro 17 inch and now I am getting
    I have trashed iPhoto and reinstalled it and it still gets this error
    I have reloaded the old photo library I still get this error message.
    Help please
    Thanks

    To answer your questions so others can use this post.
    In my broken
    NyxAudioAnalysis.framework file on the new iMac Yosemite
    I only had a file called headers and it was broken.
    I copied the
    NyxAudioAnalysis.framework file
    (which had 3 files like your example above.)
    from my old mac and then after making a copy of the broken one 'just in case' I inserted the copy from my old mac and iPhoto worked.

  • Just bought a used MacBook pro after my previous died. I want to migrate my applications, data, etc from a time machine backup of the old computer to the new. Will this affect, or overwrite the Apps., data, etc existing on the new machine?

    Just bought a used MacBook pro after my previous died. I want to migrate my applications, data, etc from a time machine backup of the old computer to the new. Will this affect, or overwrite the Apps., data, etc existing on the new machine?

    No. Only those Apps that are not installed on the new will migrate over.

  • How to Redeploy application in OC4J using war file

    Hi
    Am new in area of 9ias and OC4J.
    I have deployed and application in OC4J of 9ias 902. using enterprise manager web interface.
    now i have change the contents of current jsp and added more jsp files.
    do i have to recreate war file and redeploy it in oc4j? or just copy the new version of current jsp and copy new jsp in application forlder.
    in case of redeploying , exterprise manager web interface asks for .ear file.
    can anyone give some hint to me... it will great help
    thanks
    samir
    [email protected]

    Yes you have to rebuild the WAR file. You can deploy WAR from EMWebsite by using the deploy WAR link. If you are in development and your WAR/EAR file is constantly changing you can use standalone OC4J.
    regards
    Debu

  • Error accessing web application in OC4J-reg.

    Hi All,
    We deployed a web application into oc4j 903.
    We got the ERROR 1 when trying to access the application. Then we replaced the jaxb-rt-1.0-ea.jar & jaxp.jar in oc4j with the latest
    version from jwsdk1.1. Then we got the ERROR 2. This error is thrown because it is trying to use JXDocumentBuilderFactory from
    xmlparserv2.jar in oc4j instead of DocumentBuilderFactory in jaxp.jar. Then we tried to uncomment the tag "<web-app-class-loader
    search-local-classes-first="true" include-war-manifest-class-path="true" />" in orion-web.xml file. This ensures the use of jaxp.jar
    instead of xmlparserv2.jar but we got the ERROR 3. Now we don't know how to proceed further. Are we going in the right direction or
    are we missing anything?
    I will appreciate if any of you can provide any inputs.
    Please reply to me directly.
    ERROR 1:
    500 Internal Server Error
    ee.wm.jwlf.module.ModuleManagerException: Modules mappings loading failed.
    at ee.wm.jwlf.module.BaseModuleManager.init(BaseModuleManager.java:54)
    at
    ee.wm.jwlf.controller.MainServlet.getModuleManager(MainServlet.java:432)
    at ee.wm.jwlf.controller.MainServlet.init(MainServlet.java:72)
    at javax.servlet.GenericServlet.init(GenericServlet.java:258)
    at com.evermind[Oracle9iAS (9.0.3.0.0) Containers for
    J2EE].server.http.HttpApplication.loadServlet(HttpApplication.java:1956)
    at com.evermind[Oracle9iAS (9.0.3.0.0) Containers for
    J2EE].server.http.HttpApplication.findServlet(HttpApplication.java:4355)
    at com.evermind[Oracle9iAS (9.0.3.0.0) Containers for
    J2EE].server.http.HttpApplication.getRequestDispatcher(HttpApplication.java:2484)
    at com.evermind[Oracle9iAS (9.0.3.0.0) Containers for
    J2EE].server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:617)
    at com.evermind[Oracle9iAS (9.0.3.0.0) Containers for
    J2EE].server.http.HttpRequestHandler.run(HttpRequestHandler.java:259)
    at com.evermind[Oracle9iAS (9.0.3.0.0) Containers for
    J2EE].server.http.HttpRequestHandler.run(HttpRequestHandler.java:106)
    at
    EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(PooledExecutor.java:797)
    at java.lang.Thread.run(Unknown Source)
    Caused by: ee.wm.jwlf.module.mapping.ModuleMappingDAOException:
    Initialization of modules mappings source failed.
    at
    ee.wm.jwlf.module.mapping.ModuleMappingJAXBDAOImpl.initializeSource(ModuleMappingJAXBDAOImpl.java:255)
    at ee.wm.jwlf.module.BaseModuleManager.init(BaseModuleManager.java:49)
    ... 11 more
    Caused by: javax.xml.bind.JAXBException: Provider
    com.sun.xml.bind.ContextFactory could not be instantiated:
    java.lang.IncompatibleClassChangeError: Implementing class - with
    linked exception:[java.lang.IncompatibleClassChangeError: Implementing
    class]
    at javax.xml.bind.ContextFinder.newInstance(ContextFinder.java:118)
    at
    javax.xml.bind.ContextFinder.searchcontextPath(ContextFinder.java:233)
    at javax.xml.bind.ContextFinder.find(ContextFinder.java:153)
    at javax.xml.bind.JAXBContext.newInstance(JAXBContext.java:281)
    at javax.xml.bind.JAXBContext.newInstance(JAXBContext.java:238)
    at
    ee.wm.jwlf.module.mapping.ModuleMappingJAXBDAOImpl.initializeSource(ModuleMappingJAXBDAOImpl.java:228)
    ... 12 more
    ERROR 2:
    500 Internal Server Error
    ee.wm.jwlf.module.ModuleManagerException: Modules mappings loading
    failed.
    at ee.wm.jwlf.module.BaseModuleManager.init(BaseModuleManager.java:54)
    at
    ee.wm.jwlf.controller.MainServlet.getModuleManager(MainServlet.java:432)
    at ee.wm.jwlf.controller.MainServlet.init(MainServlet.java:72)
    at javax.servlet.GenericServlet.init(GenericServlet.java:258)
    at com.evermind[Oracle9iAS (9.0.3.0.0) Containers for
    J2EE].server.http.HttpApplication.loadServlet(HttpApplication.java:1956)
    at com.evermind[Oracle9iAS (9.0.3.0.0) Containers for
    J2EE].server.http.HttpApplication.findServlet(HttpApplication.java:4355)
    at com.evermind[Oracle9iAS (9.0.3.0.0) Containers for
    J2EE].server.http.HttpApplication.getRequestDispatcher(HttpApplication.java:2484)
    at com.evermind[Oracle9iAS (9.0.3.0.0) Containers for
    J2EE].server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:617)
    at com.evermind[Oracle9iAS (9.0.3.0.0) Containers for
    J2EE].server.http.HttpRequestHandler.run(HttpRequestHandler.java:259)
    at com.evermind[Oracle9iAS (9.0.3.0.0) Containers for
    J2EE].server.http.HttpRequestHandler.run(HttpRequestHandler.java:106)
    at
    EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(PooledExecutor.java:797)
    at java.lang.Thread.run(Unknown Source)
    Caused by: ee.wm.jwlf.module.mapping.ModuleMappingDAOException:
    Initialization of modules mappings source failed.
    at
    ee.wm.jwlf.module.mapping.ModuleMappingJAXBDAOImpl.initializeSource(ModuleMappingJAXBDAOImpl.java:255)
    at ee.wm.jwlf.module.BaseModuleManager.init(BaseModuleManager.java:49)
    ... 11 more
    Caused by: java.lang.IllegalArgumentException
    at
    oracle.xml.jaxp.JXDocumentBuilderFactory.setAttribute(JXDocumentBuilderFactory.java:133)
    at
    ee.wm.jwlf.module.mapping.ModuleMappingJAXBDAOImpl.initializeSource(ModuleMappingJAXBDAOImpl.java:235)
    ... 12 more
    ERROR 3:
    500 Internal Server Error
    ee.wm.jwlf.module.ModuleManagerException: Modules mappings loading failed.
    at ee.wm.jwlf.module.BaseModuleManager.init(BaseModuleManager.java:54)
    at ee.wm.jwlf.controller.MainServlet.getModuleManager(MainServlet.java:432)
    at ee.wm.jwlf.controller.MainServlet.init(MainServlet.java:72)
    at javax.servlet.GenericServlet.init(GenericServlet.java:258)
    at com.evermind[Oracle9iAS (9.0.3.0.0) Containers for
    J2EE].server.http.HttpApplication.loadServlet(HttpApplication.java:1956)
    at com.evermind[Oracle9iAS (9.0.3.0.0) Containers for
    J2EE].server.http.HttpApplication.findServlet(HttpApplication.java:4355)
    at com.evermind[Oracle9iAS (9.0.3.0.0) Containers for
    J2EE].server.http.HttpApplication.getRequestDispatcher(HttpApplication.java:2484)
    at com.evermind[Oracle9iAS (9.0.3.0.0) Containers for
    J2EE].server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:617)
    at com.evermind[Oracle9iAS (9.0.3.0.0) Containers for
    J2EE].server.http.HttpRequestHandler.run(HttpRequestHandler.java:259)
    at com.evermind[Oracle9iAS (9.0.3.0.0) Containers for
    J2EE].server.http.HttpRequestHandler.run(HttpRequestHandler.java:106)
    at EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(PooledExecutor.java:797)
    at java.lang.Thread.run(Thread.java:536)
    Caused by: ee.wm.jwlf.module.mapping.ModuleMappingDAOException: Initialization of modules mappings source failed.
    at ee.wm.jwlf.module.mapping.ModuleMappingJAXBDAOImpl.initializeSource(ModuleMappingJAXBDAOImpl.java:255)
    at ee.wm.jwlf.module.BaseModuleManager.init(BaseModuleManager.java:49)
    ... 11 more
    Caused by: java.lang.ClassCastException
    at javax.xml.parsers.DocumentBuilderFactory.newInstance(DocumentBuilderFactory.java:139)
    at ee.wm.jwlf.module.mapping.ModuleMappingJAXBDAOImpl.initializeSource(ModuleMappingJAXBDAOImpl.java:231)
    ... 12 more
    Thanks & Regards,
    Yoga

    Thanks Avi -- I did have a JDK versioning problem when first deploying in OC4J 9.0.4 -- but when I used JDK1.4.1 things worked. The problem appears to be that some classes are present in several different JAR files in the JDev libraries. Can anyone tell me about the dependencies out there between these JAR files? I can run the application in JDeveloper's OC4J container but cannot get it to deploy on 9.0.4 standalone.
    1) I had this error for a bit... the problem was caused by bc4jmt.jar and mc4jct.jar in my MT deployment.
    java.lang.IncompatibleClassChangeError
         at oracle.jbo.common.ampool.ApplicationPoolImpl.createSessionCookie(ApplicationPoolImpl.java:418)
    2) now I get this error -- looks like another version incompatibility. Can anyone shed light on this??
    oracle.jbo.JboException: JBO-29000: Unexpected exception caught: java.lang.LinkageError, msg=Class oracle/jbo/ApplicationModule violates loader constraints
         at oracle.jbo.pool.ResourcePool.createResource(ResourcePool.java:532)

  • Support document for Migration of application fro flex 2 o flex 3

    Support document for Migration of application fro flex 2 to
    flex 3

    I'm sorry to hear that you are having problems. A few APIs
    did change from B3 to final, but you should be getting compile
    errors for those. I can assure you that all of the areas you
    mentioned were tested and are working for many folks so if you can
    supply examples of what isnt working we can try to get you back up
    and running.

Maybe you are looking for

  • Availability at Storage Location Level

    Dear All, While  creating a sales order system is checking the material  stock at the plant level it is including the stock in all the storage location we have several storage locations in the plant Hence i want to restrict the availablity to be done

  • GMail displays loading and does not load in Firefox, IE ok

    After opening GMail, if I try to look at sent mail or compose a new email much of the time it displays loading but never loads. I can go to Internet Explorer and open gmail and it works fine. The problem is with firefox and I am running 3.6.10

  • BB Flip External Display Caller Notification Issue

    Hello- I have owned this phone for approximately two weeks; and until today it was working perfectly. As of today the external display is no longer working for "caller ID" or incoming call notification. The temporary fix was to disable the "auto answ

  • Japanese Partner access names not displaying correctly

    Japanese external users' displaying name comes as "????", however their user profile stored correctly in AD. Modifying Locale and Language Settings doesn't seem to have an effect. Does anyone suggest an approach to solving?

  • Last GR Date & Last GI Date of stock in inventory

    Hi Gurus, How can I get last GR date & last GI date from stock in Inventory if  i don't have information on batch ? Is there any standard report in SAP which provide that information ? Please kindly give advice on this. Regards, Gunawan