Like to migrate SRDemo from OC4J to Weblogic 10g but in vain

Hi all experts,
I'm newbie in WebLogic Server Admin.
I 'm migrating SRDemo from oc4j to weblogic10.3. Firstly, deployment and login engagement are ok.
After LOGIN, I click the "start" button at page SRWelcome.jspx, oh Errors burst out !
Connection name SRDemo not defined -
java.lang.NullPointerException at oracle.adf.model.binding.DCIteratorBinding.initSourceRSI(DCIteratorBinding.java:1735) -
java.lang.NullPointerException at oracle.adf.model.binding.DCIteratorBinding.initSourceRSI(DCIteratorBinding.java:1735) -
What can I do ?

CillyBanZorLore wrote:
Hi all experts,
I'm newbie in WebLogic Server Admin.
I 'm migrating SRDemo from oc4j to weblogic10.3. Firstly, deployment and login engagement are ok.
After LOGIN, I click the "start" button at page SRWelcome.jspx, oh Errors burst out !
Connection name SRDemo not defined -
java.lang.NullPointerException at oracle.adf.model.binding.DCIteratorBinding.initSourceRSI(DCIteratorBinding.java:1735) -
java.lang.NullPointerException at oracle.adf.model.binding.DCIteratorBinding.initSourceRSI(DCIteratorBinding.java:1735) -
What can I do ?WAR SR Demo requires "SRDemo" connection . Have you provided it yet ?

Similar Messages

  • 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                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

  • Problem with servlet after migrating from OC4J to WebLogic 10.3

    I come across a problem when I was migrating from jDev 11g TP4 to production version in that step also server got changed from OC4J to webLogic.
    I am running java http servlet along other jspx pages. When everything was on OC4J there was no problem whit security on this servlet ( servlet was under same authorization automatically, and I was able to create new application module on this servlet by createRootApplicationModule
    ) but when I changed to WebLogic 10.3 I come across a numerous problems. First one is solved i managed to put the servlet under same authorization as jspx pages by
    *<servlet>*
    *<servlet-name>report</servlet-name>*
    *<servlet-class>path.to.class</servlet-class>*
    *<security-role-ref>*
    *<role-name>name</role-name>*
    *<role-link>valid-users</role-link>*
    *</security-role-ref>*
    *</servlet>*
    but when I trying to create new application module I get JBO-30003 error which is Caused by:
    oracle.adf.share.security.ADFSecurityAuthenticationException: JAAS login error.
    Invalid null input: name
    Has anybody any idea what I am doing wrong?
    Thank you for your help, Rok Kogovšek

    for example:
    web.xml
    <security-role>
    <role-name>yourrole</role-name>
    </security-role>
    weblogic.xml
    <security-role-assignment>
    <role-name>yourrole</role-name>
    <principal-name>wlsuser</principal-name > <!-- wlsuser is define at wls console-->
    </security-role-assignment>

  • Migrating database from PostgreSql to Oracle 10g

    Hi
    can anybody help me by providing steps to migrating database from PostgreSql to Oracle 10g. its very urgent requirement. so please let me know if anyone know about this setps.
    thanks in advance.
    jayesh
    cignex technology pvt ltd

    NPD wrote:
    Hi Guys,
    Can one migrate database from sql2005 to Oracle.
    Thanx.You can use [Oracle Migration Tool |http://www.oracle.com/technology/tech/migration/workbench/index.html]
    Kamran Agayev A. (10g OCP)
    http://kamranagayev.wordpress.com
    [Step by Step install Oracle on Linux and Automate the installation using Shell Script |http://kamranagayev.wordpress.com/2009/05/01/step-by-step-installing-oracle-database-10g-release-2-on-linux-centos-and-automate-the-installation-using-linux-shell-script/]

  • Running an exe from within Oracle WebLogic 10g R3 does not find dll

    Hi,
    I am facing a strange issue with Oracle WebLogic 10g R3.
    I use the code as shown in Listing 1 below to run a windows based application exe (batch job) from within my web application hosted on Oracle WebLogic 10g Release 3.
    Note that this code woks fine on Tomcat 6.x and OC4J (JDeveloper TP4).
    The exec gets executed but the log of the exe program shows it could not load certain DLLs.
    Note that these DLLs are in the same directoy as the Batch program and this directory is in the PATH.
    Running through simple Java Program Successful*
    When I run the same program from a java program it runs successfully. So this means some WebLogic environment does not get set properly.
    Running directly BatchProg.exe rather than cmd.exe fails*
    Also note that when I run the exe directly e.g. BatchProg.exe rather than through cmd.exe it gives me a error the system did not find the file specified.
    CreateProcess error=2, The system cannot find the file specified with cause java.io.IOException: CreateProcess error=2, The system cannot find the file specified
    Listing 1:*
    String[] commandArgs = new String[|http://forums.oracle.com/forums/] { "cmd.exe", "/C", "BatchProg.exe \"param1\" \"param2\" " },null , l_workingDir)
    Runtime rt = Runtime.getRuntime();
    Process proc;
    proc = rt.exec( commandArgs, envParams, workingDir );
    ProcessIO errStream = new ProcessIO( proc.getErrorStream(), "ERROR");
    ProcessIO outStream = new ProcessIO( proc.getInputStream(), "OUTPUT");
    errStream.start(); // process any errors from the command
    outStream.start(); // process any output from the command
    System.out.println("Error=" +errStream);
    System.out.println("Out" + outStream);
    return (p_waitToFinish ? proc.waitFor() : this.SUCCESS);

    OK.
    I have posted this on the WebLogic Forum.
    Thanx.

  • HT1386 Lost iPhone 4, bought iPhone 5, would like to transfer backup from last synch with computer but don't have the password

    Lost iPhone 4, bought iPhone 5, would like to transfer backup to new iPhone 5 from last synch with computer but don't have the password.

    What password? Did you encrypt your backup & now can't remember the encrypted backup passcode? If so, no, you won't be able to use that backup. If on a Mac, & you elected to save the passcode to your Keychain, you can recover it from that. Otherwise, you'll have to delete the backup. The data is unrecoverable.
    Or, are you talking about the iPhone passcode?

  • How to upgrade from OCS 904 to 10g but not upgrading Oracle Files

    Hi All,
    We have installed OCS 904 from where we only are using:
    - Portal
    - Oracle Files
    Our idea is to upgrade this installation to OCS 10g but keeping the same version of Oracle Files (we don't want to migrate to content services for the moment).
    Is this possible? or if we want to keep Oracle Files we need to do a fresh install of OCS 10g in another location?
    Thanks in advance,
    Harvey

    >I want to upgrade it from RHEL 6 TO  RHEL 7 and from ORACLE 11G TO ORACLE 12C. I wonder if anyone could suggest the best url for for upgrading accordingly.
    which metric measures best? Fewest keystrokes?
    BTW - you are actually doing 2 upgrades. You are upgrading OS & you are upgrading Oracle version.
    So you can either over then up or up then over.
    How much down down time is available?
    How much risk do you want to include?

  • 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                                                                                                                                                                                                                                                                                                                                                                                                                   

  • JNDI lookup from OC4J to weblogic throws javax.naming.NameNotFoundException

    Hi All,
    We have the below setup in our production environment.
    EJB application is deployed in the Weblogic 10.3.4.0 Server on Sun Solaris. The EJB version is 3.0
    OC4J 10.2.0 is running on another Sun Solaris machine.
    There are 2 webservice applications WEBSERV1 & TestSoapEJB running on this OC4J container.
    We need to do lookup the EJBs deployed on the Weblogic server. For this we used the below logic in the web service's Stateless session bean:
    String weblogicURL = "";
    Properties props = new Properties();
    try
    props.load(Thread.currentThread().getContextClassLoader().getResourceAsStream("wl.properties"));
    weblogicURL     = props.getProperty("weblogicURL");     
    catch (FileNotFoundException e)
    e.printStackTrace();
    catch (IOException e)
    e.printStackTrace();
    Context ctx = null;
    Hashtable ht = new Hashtable();
    ht.put(Context.INITIAL_CONTEXT_FACTORY, "weblogic.jndi.WLInitialContextFactory");
    ht.put(Context.SECURITY_PRINCIPAL,"weblogic");
    ht.put(Context.SECURITY_CREDENTIALS,"weblogic654");
    ht.put(Context.PROVIDER_URL, weblogicURL);
    ctx = NamingManager.getInitialContext(ht) ;
    // tried using //ctx = new InitialContext(ht); same behavior.
    TestEJB.AdministratorEJB ejb = (TestEJB.AdministratorEJB) ctx.lookup("TestEJB#TestEJB.AdministratorEJB");
    ctx.close();
    When we first test first WEBSER1, the lookup is fine.
    But when we test the second webservice WEBSER2, the webservice name itself not able to lookup: It gives the below error:
    javax.naming.NameNotFoundException: remaining name: env/TestSoapEJB
    Below is the stack throws thrown on browser:
    500 Internal Server Error
    javax.naming.NameNotFoundException: remaining name: env/TestSoapEJB     
    at weblogic.j2eeclient.SimpleContext.resolve(SimpleContext.java:35)     
    at weblogic.j2eeclient.SimpleContext.resolve(SimpleContext.java:39)     
    at weblogic.j2eeclient.SimpleContext.lookup(SimpleContext.java:59)     
    at weblogic.j2eeclient.SimpleContext.lookup(SimpleContext.java:59)     
    at weblogic.j2eeclient.SimpleContext.lookup(SimpleContext.java:64)     
    at weblogic.jndi.factories.java.ReadOnlyContextWrapper.lookup(ReadOnlyContextWrapper.java:45)     
    at weblogic.jndi.internal.AbstractURLContext.lookup(AbstractURLContext.java:130)     
    at javax.naming.InitialContext.lookup(InitialContext.java:392)     
    at oracle.j2ee.ws.SessionBeanRpcWebService.init(SessionBeanRpcWebService.java:65)     
    at javax.servlet.GenericServlet.init(GenericServlet.java:258)     
    at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.2)].server.http.HttpApplication.loadServlet(HttpApplication.java:2354)     
    at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.2)].server.http.HttpApplication.findServlet(HttpApplication.java:4795)     
    at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.2)].server.http.HttpApplication.getRequestDispatcher(HttpApplication.java:2821)     
    at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.2)].server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:680)     
    at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.2)].server.http.HttpRequestHandler.run(HttpRequestHandler.java:285)     
    at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.2)].server.http.HttpRequestHandler.run(HttpRequestHandler.java:126)     
    at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.2)].util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:186)     
    at java.lang.Thread.run(Thread.java:662)
    It seems that, the OC4J is looking in Weblogic context. But it should be looking in its own context. How to resolve this issue.
    The same case happens if i restart the OC4J and first test the TestSoapEJB the lookup is fine . But if i test the WEBSERV1 , it throws the same error as above. In short, if one of the webservices lookup is working fine, the other webservice is not working. At the same time only one webservice's lookup is working.
    Kindly help me to resolve this issue.
    regards,
    Zia
    Edited by: PT Expert on Sep 9, 2012 3:16 AM

    I work now more that two days on this error!!!
    -> I remade my complete jdev project, it did not work!
    -> I deleted the jdev/system/j2ee/oc4j/workspace dir
    -> I search for some .lock files
    -> and many more tries!!! But without success...
    Is there a way to reset the Embedded OC4J?

  • Deploying application from oc4j to weblogic

    while creating a new connection(by rt clicking the webapp.deploy) and then after i click testconnection i am getting the error cannot instantiate class: weblogic.jndi.WeblogicInitialContextFactory
    plz help
    ruchi

    Please refer to a previous post:
    Cannot instantiate class: weblogic.jndi.WLInitialContextFactory

  • Migrate datas from RDB to Oracle 10g

    The applications that use the RDB database are being re-write with Forms based on an Oracle database.
    Of course, before we use the new application, we will have a step for moving datas from old tables in Rdb to the new tables (new design) in Oracle (developpers are working on sql scripts for that). But when the new applications with Oracle db will be in production, I would like to save datas (datas as datas) from Rdb in an Oracle database with the same struture as the rdb structure (same tabels, with same columns and same datas in). The idea is we will be able to verify datas through SQL.
    Do you have any idea ?
    Thank you
    AnneMar

    Hi AnneMar,
    there exists a Metalink note that serves as a starter for such a migration:
    Note 135929.1: RDBPROD: Advice on Converting from Oracle Rdb to Oracle RDBMS
    For your convenience I am pasting that note here.
    Regards
    Wolfgang
    PURPOSE
    To provide general advice on migrating from Oracle Rdb to Oracle RDBMS
    SCOPE & APPLICATION
    This advice is intended for people who have already decided to convert, and are starting to plan how to do it. It provides a broad outline of how it can be done and some of the things to consider.
    Advice on Converting from Oracle Rdb to Oracle RDBMS
    General notes
    * The longer you leave it the easier it is likely to be. The SQL interfaces to Rdb are growing closer to those for RDBMS, particularly OCI Services for Rdb.
    * Converting the database will probably be the easy part. The applications are likely to require more work.
    * A staged approach is more likely to be successful than trying to do everything in one go.
    A possible strategy for converting
    1. Install OCI Services for Rdb. Pick a small application, or one that needs rewriting anyway. Convert the application using the method and tools of your choice to access the Rdb database via SQL*Net for Rdb. If unsatisfied with the results, you can repeat this with alternative methods or tools, until you find one that works for you.
    2. Install RDBMS. For those tables used by applications converted to use OCI Services, create database links. Point the converted application to the RDBMS database instead of the Rdb one. This step can be done whilst other applications are being converted. No data is yet stored in the RDBMS database, so any problems that arise with it, possibly due to lack of appropriate DBA experience, can be worked around by just pointing the programs back at the Rdb database.
    3. Now you have a choice.
    1. Gradually move the data into the RDBMS database. First new tables, then tables only accessed by applications that have already been converted. This has the advantage of taking one step at a time, so it would be easy to back up temporarily if a problem is found. The main disadvantage is that now that the data is spread over two databases your backup and recovery strategy will be more complicated.
    2. Finish converting the applications. Then transfer all the data over in one go. If there is a lot of data, then going back would be a big job, so there is more risk.
    Alternative common interfaces
    Besides OCI Services there are several other APIs that applications could use to access Rdb or RDBMS transparently.
    * JDBC - If your applications are written in JAVA or you want to rewrite them in JAVA
    * ODBC - If your applications run on Windows
    * .NET - If your applications run on Windows
    Techniques for converting a database
    * Transferring Metadata Extract the metadata using RMU/EXTRACT. Cut down and edit the output to produce a script to use to create the corresponding RDBMS objects.
    * Transferring data
    For small tables,
    INSERT INTO rdbms_table SELECT columns FROM rdb_table;
    (using dblinks to the rdb database and SQL*Net for Rdb)
    For large tables, use RMU/UNLOAD to create a delimited file and then load that into RDBMS using SQL$Loader.
    * Keeping data current in RDBMS while testing the transfer can be done using the Logminer Option in Rdb.
    Notes
    1. OCI Services for Rdb was formerly known as SQL*Net for Rdb and is part of Oracle SQL/Services. Though this is structured as a separate product from Oracle Rdb no additional license is needed.
    2. Some limits are different between Rdb and RDBMS.
    For example: in Rdb table and column names can be 31 bytes but RDBMS only allows 30.
    3. The RMU/EXTRACT command can write the SQL definitions of objects within a Rdb database to a text file.
    RELATED DOCUMENTS
    SQL*Net for Rdb
    Oracle Rdb Guide to SQL*Net for Rdb
    Oracle Rdb Oracle SQL/Services Release Notes
    Oracle Rdb A Comparison of SQL Dialects for Oracle and Oracle Rdb
    RMU/EXTRACT and /UNLOAD
    Oracle RMU Reference Manual
    SQL*Loader
    Oracle8 Server Utilities

  • Migration assistant from Old Mac to New(but used) Mac, email recovery.

    Recently used Migration assistant (using external as a back-up) to move from an old Mac using Snow Leopard to a new mac using Lion. Lost the use of my entourage with the new Lion OS and I'm swithing to use Apple Mail, but I'm not being successful is transfering my previous mailbox and past emails.
    Tried to "import mailbox" from entourage, but I get "Unable to locate Microsoft Entourage mailboxes to import."
    Ideas?

    FireWire cables are dirt cheap and that's how you should be doing the migration. You might have to start over, wiping the new machine's HD, and restoring the software as described in the Everything Mac manual that came with it. See Best Practices and Setup new Mac for more details.

  • Migrating forms from 6i to forms 10g

    Hi all,
    We plan to migrate the current forms 6i to forms 10g. Can you please suggest/advise the advantages of forms 10g to that of forms 6i.
    thanks in advance
    Chettarjee

    Hi
    the one main big advantage is that you will have Oracle support in 10g. 6i is not supported any more. Other benefits are 10g is more open to Java . You can call out to Web service and java apis. REfer to the forms otn page for more 10g features.
    Rgds
    Arvind Balaraman

  • Migrated files from PC to new Macbook but can't log into user account

    Its the same account as was on my PC, and I remember the password for the account. But I have entered that and still cannot log in. This is a brand new computer.

    See this Apple support article - http://support.apple.com/kb/PH4562.
    Hope it helps,
    Clinton

  • Oc4j to weblogic server migration

    I want to migrate my application from oc4j to weblogic server. i have oc4j related deployment descriptors like Orion-ejb-jar.xml, Orion-application.xml etc.
    For getting weblogic related deployment descriptors from oc4j ear(containing oc4j related descriiptors) , i used SmartUpgrade utility along with JDeveloper. Also i also tried SmartUpgrade command line utility.
    But i did not get Web Logic related descriptors i.e weblogic-ejb-jar etc.
    Please guide me regarding above issue.
    Also, tell me , is there any other utility to get weblogic related descriptors.

    Hello,
    this Forum is dedicated for questions about using the SQL Developer Migration Workbench to migrate non-Oracle databases to Oracle databases.
    There exists better Forums:
    WebLogic Server - Upgrade / Install / Environment / Migration
    OC4J
    You should better use one of them. Here are the links:
    WebLogic Server - Upgrade / Install / Environment / Migration
    OC4J
    Regards
    Wolfgang

Maybe you are looking for

  • Error while loading Data in HFM application through ODI

    Hello All, I am performing a integration from source(Flat file) to HFM application I have created a Integration to it and while loading the data i get the following error:- org.apache.bsf.BSFException: exception from Jython: Traceback (most recent ca

  • Argh! New line not being connected, although BT Op...

    Hi, New customer, new line ordered 03/08/11.  Existing phone provide is VM. There is a BT Master socket in house but socket condition unknown. BT Engineer due to come out 19/08.  On 8:03 on 19/08, got a text to say they had cancelled the visit as soc

  • Pr CC crash on render every time... and project appears mangled...

    This is new for me in Pr, although not new on computers in general. I'm looking for hints on: 1) How do I best diagnose and/or report bugs like this? 2) Why would Pr think a project file is corrupt... when it is not? I have a significant video conver

  • How to Stop Negative /ZF5 (Should calculate only Positive amount)

    Dear Consultants, As per our client requirement Wage type /ZF5 {Restrict Carry Forward (CF) EPF} should not calculate any negative amount. Example, Thanks & Regards, Navesh

  • SOP for Material and Customer

    Hi Gurus, is it possible to have a Forecast in SOP in which I have different customer using the same part number? Scenario is this customer gives separate forecast for this material. I need to consolidate this forecast and load to Demand Management.