11g Tp3 Tutorial execution problems

I tried creating the 1st JDeveloper targeted Toplink tutorial at http://www.oracle.com/technology/products/ias/toplink/doc/11110/tutorial/index.htm.
What are the correct libraries to execute the test?
I have
TopLink
Oracle XML Parser v2
Oracle JDBC *
Java EE 1.5 *
JUnit 4 Runtime
* - I added theses to resolve ClassNotFound errors.
I now get a TransactionException. What are the correct libraries? Do I really need to set this naming factory, or do you think I am doing something else wrong?
oracle.toplink.exceptions.TransactionException:
Exception Description: Error obtaining the Transaction Manager
Internal Exception: Exception [TOPLINK-23001] (Oracle TopLink - 11g Technology Preview 3 (11.1.1.0.0) (Build 071207)): oracle.toplink.exceptions.TransactionException
Exception Description: Error looking up external Transaction resource under JNDI name [java:comp/pm/TransactionManager]
Internal Exception: javax.naming.NoInitialContextException: Need to specify class name in environment or system property, or as an applet parameter, or in an application resource file: java.naming.factory.initial

Hi !
Can you please share this tutorial as when i am trying to build and execute it in 11g (11.1.1.1.0) i am getting the below error, i am new to 11g/Toplink/Junit.
oracle.toplink.exceptions.SessionLoaderException:
Exception Description: Several [2] SessionLoaderExceptions were thrown:
oracle.toplink.exceptions.SessionLoaderException.finalException(SessionLoaderException.java:91)
oracle.toplink.tools.sessionconfiguration.XMLLoader.loadInternal(XMLLoader.java:172)
oracle.toplink.tools.sessionconfiguration.XMLLoader.load(XMLLoader.java:144)
oracle.toplink.tools.sessionmanagement.SessionManager.getSession(SessionManager.java:340)
oracle.toplink.tools.sessionmanagement.SessionManager.getSession(SessionManager.java:453)
oracle.toplink.tools.sessionmanagement.SessionManager.getSession(SessionManager.java:383)
example.test.TopLinkExampleTest.createSession(TopLinkExampleTest.java:79)
example.test.TopLinkExampleTest.setUp(TopLinkExampleTest.java:40)
junit.framework.TestCase.runBare(TestCase.java:125)
junit.framework.TestResult$1.protect(TestResult.java:106)
junit.framework.TestResult.runProtected(TestResult.java:124)
junit.framework.TestResult.run(TestResult.java:109)
junit.framework.TestCase.run(TestCase.java:118)
junit.framework.TestSuite.runTest(TestSuite.java:208)
junit.framework.TestSuite.run(TestSuite.java:203)
Thanks,
KK

Similar Messages

  • Oracle SOA 11g TP3 - Tutorial problem

    Hello!
    I am quite new to this whole platform, and while I was following the First step of the tutorial, I ran into a problem, which I have no idea how to solve.
    (this tutorial: http://download.oracle.com/otndocs/products/soa/105-end2end-PO-Processing.zip )
    As it said I installed the prerequisites,
    an Oracle database,
    Oracle Database 10g Express Edition Release 10.2.0.1.0 - Product
    PL/SQL Release 10.2.0.1.0 - Production
    CORE 10.2.0.1.0 Production
    TNS for 32-bit Windows: Version 10.2.0.1.0 - Production
    NLSRTL Version 10.2.0.1.0 - Production
    the Oracle SOA Suite 11g TP3,
    as well as jDeveloper 11.1.1.0.0
    After I successfully created and successfully deployed the 'CreditCardValidation Application' following the steps in 105-end2end-PO-Processing_2.pdf (part of the zip, but it's basically a database adapter a mediator and an exposed web service packed together) and I tried to test it, i got this error:
    <env:Envelope
    xmlns:env="http://schemas.xmlsoap.org/soap/envelope/">
    <env:Header/>
    <env:Body>
    <env:Fault>
    <faultcode
    xmlns="">env:Server</faultcode>
    <faultstring
    xmlns="">null: Exception occured when binding was invoked. Exception occured during invocation of JCA binding: "JCA Binding execute of Reference operation 'OracleXESelect' failed due to: Could not create/access the TopLink Session. This session is used to connect to the datastore. Caused by Exception [TOPLINK-4002] (Oracle TopLink - 11g Technology Preview 3 (11.1.1.0.0) (Build 071207)): oracle.toplink.exceptions.DatabaseException Internal Exception: java.sql.SQLException: No suitable driver Error Code: 0. ". The invoked JCA adapter raised a resource exception. Please examine the above error message carefully to determine a resolution. </faultstring>
    <faultactor
    xmlns=""/>
    <detail
    xmlns="">
    <exception/>
    </detail>
    </env:Fault>
    </env:Body>
    </env:Envelope>
    If I understand it correctly, the core of the problem is this:
    java.sql.SQLException: No suitable driver Error Code: 0.
    now if this is the problem, how to solve it?
    Ideally I would start by looking at the configurations of Toplink, but I didn't install Toplink, as such I have no idea where these options are.. (Is it part of the database in this current configuration?)
    Thanks in advance!
    Mike

    Actually, the tutorial works fine in this version, all the way through. Specifically, the database adapter is working.
    The problem you are having has been discussed on this forum. You should do this:
    sqlplus sys/system@XE as sysdba
    SQL> show parameter session
    SQL> show parameter processes
    SQL> alter system set sessions=100 scope=spfile;
    SQL> alter system set processes=150 scope=spfile;
    SQL> shutdown immediate
    SQL> startup
    SQL> show parameter session
    And restart your server. That should fix it. Some people have also restarted Windows.
    Heidi.

  • SOA Suite 11g TP3 + Update 1 on Vista

    Hi,
    A few weeks ago I installed SOA Suite 11g TP3 on a Vista pc and completed the SOAHello application.
    On a recent 11g preview I did another tutorial for which it was advised to install TP3 + update 1. This time configuration of SOA Suite took 11 minutes instead of the usual 7 to 8 minutes. However, the message "Build successful" appeared. I created a composite containing BPEL, ran it and started the SOAConsole. The SOAConsole appeared, however the deployed application could not be found. Anyone had similar problems?
    I recently installed SOA Suite 10g on Vista. There is a Metalink note (note 444112.1) providing some additional steps on installing SOA Suite 10g on Vista. When I perform these steps, mainly disabling IPv6, SOA Suite 11g TP3 + update 1 installs correctly and the application is visible in SOAConsole.
    Regards, Ronald

    Well in our case it was pretty reproducable. A colleague also installed and configured JDeveloper 11g TP3 (without update 1) on Vista. The composite deployed, ran and showed in the SOA Console without any problems. Same for me.
    However, when I "upgraded" too update 1 (did this a couple of times), every time preconfiguration took too long but succeeded, deployment worked, but no composite was shown in the SOA Console. When I performed the configuration steps for installing SOA Suite 10g on Vista (see Metalink note), JDeveloper 11g TP3 + update 1 worked for the composite and showed in the SOA Console the first time.
    Regards, Ronald

  • JDEV 11G TP3 [BUG]: Diagramming / Use Case & Activity  / open save

    I'm not able to open existing use diagram and couldn't save activity diagram after i created them. So UML is not functional in this preview release.
    Is this knowns bugs ?
    Is some workarounds knows ?
    I need these diagrams very soon and would know if i have to create them in a another tools or it is a way to use JDeveloper for them.
    Thank you

    You can find more details in these threads
    http://forums.oracle.com/forums/thread.jspa?threadID=622107
    JDEV 11G TP3 [BUG]: Diagramming / Use Case & Activity  / open save
    I already sent my project files to Shay. I may sent them to you too if needed.
    I suspect the problem may be due by the fact i'm using two workspaces simultanously, both managed with subversion. I already detected in the same configuration that "Select in Navigator" from pl/sql editor doesn't find an edited file (loaded from the offline database navigator) in the offline database navigator because it was searching the same project but in the wrong workspace.

  • Using Presence Service in JDev 11g TP3

    I am trying to use Presence Service in JDev 11g TP3.
    I have followed Chapter 13 (Integrating Presence) in Fusion Middleware Developer's Guide for Oracle WebCenter to create the page.
    1. Created connection to presence service in Application Resources(ViewController).
    2. Dropped presence and presenceData into JSF page.
    When I ran the page, getting exception(Unable to find a valid RTC connection). Looks like it is not using the connection I have created and would like to know, how to resolve this problem?. Thanks.

    Hi JP,
    The WebCenter TP3 Release Notes spell out what is and what is not available in TP3.
    Let me know if you have more questions.
    Peter

  • Oracle database 11g release 2 installation problem on windows 7 (64-bit)

    First of all my windows is not genuine, but on my friend's desktop oracle download and installation  worked fine, he chose "create and configure database" options, and it works very well on his desktop, though his windows is also illegitimate. In my case, when I select "Create and configure database" option and pressed 'next",
    (Go to my blog to see it with snapshots: Computer Science: Oracle database 11g release 2 installation problem on windows 7 (64-bit))
    it asks to select class, I select "Desktop class" and pressed "next". The moment I pressed "next", the whole setup thing disappeared like it was never started. I searched for all possible reasons for why its not getting installed on my laptop, I used registry cleaner s/w,  deleted 25 GB of data to create free space if it were the problem, increased the virtual memory to increase the space for RAM, I did almost everything to get this setup working, but I found no success with the "Create and Configure database" option
    and
    then
    I chose a "database software only" option and chose to store in a folder w/o spaces. This way, I got database s/w only and then later I found "Database configuration Assistant (DBCA)"  from windows START button and clicked to create and configure database manually. The steps are pretty much interactive and doesn't involve much brainstorming.
    The values I filled for
    1) Global Database Name :  orcl
    2) System Identifier : orcl
    3) I chose common password for both SYS and SYSTEM
    4) while on Enterprise Manager Configuration step, It asked me to create and configure listener in oracle home, so for that too, I typed "netca" in windows START menu and clicked it. There I added a listener.
    5) I chose a Storage area which was the Oracle-home itself i.e. where our installation files goes , in my case it is : C:\oracle_base\product\11.2.0\dbhome_1\oradata
    6) Then after few more nitty-gritty clicks, we are set to go !
    Finally to write SQL code and to create your first TABLE , type "sqlplus" in windows "START" menu and click it when it appears. A command-prompt like window appears , which will ask you for username and password, so here they are :
    Username : sys/ as sysdba
    Password : (its the one you created in step 3 stated above )
    After this you are ready to write your first SQL command.

    Is this your solution to your original post at Oracle database 11g release 2 installation on windows 7 (64-bit) ?
    Pl be aware that you should not create any custom objects in SYS or SYSTEM schema - you should create any such objects in a separate custom schema.
    About Database Administrator Security and Privileges

  • Migration from 10.1.3.3.0 to 11g Tp3 : tld issues please please help

    Hello All,
    I have migrated my 10.1.3.3.0 application to 11g Tp3, but it does not work
    first of all in my jsps,
    WEB-INF/struts-bean.tld is not a registered namespace
    and all my custom libraries with same page
    JAR for WEB-INF/lib/datatags.jar founr but not incluede in project classpath
    Hoever, I do have Struts Libraries, custom libraries in my progect classpth datatags.jar
    Can anyone advise me, whats wrong here
    Thank you all in advance,
    Hardik

    Also, I get this when I run
    500 Internal Server Error
    java.lang.NullPointerException
         at org.apache.struts.taglib.TagUtils.retrieveMessageResources(TagUtils.java:1175)
         at org.apache.struts.taglib.TagUtils.message(TagUtils.java:1038)
         at org.apache.struts.taglib.bean.MessageTag.doStartTag(MessageTag.java:224)
         at MenuFrameSet.ctru0_helper_1(_MenuFrameSet.java:84)
         [MenuFrameSet.jsp]
         at MenuFrameSet.jspService(_MenuFrameSet.java:49)
         [MenuFrameSet.jsp]
         at com.orionserver[Oracle Containers for J2EE 11g (11.1.1.0.0) ].http.OrionHttpJspPage.service(OrionHttpJspPage.java:60)
         at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:488)
         at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:706)
         at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:627)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
         at com.evermind[Oracle Containers for J2EE 11g (11.1.1.0.0) ].server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:65)
         at oracle.security.jazn.oc4j.JAZNFilter$3.run(JAZNFilter.java:434)
         at java.security.AccessController.doPrivileged(Native Method)
         at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:308)
         at oracle.security.jazn.oc4j.JAZNFilter.doFilter(JAZNFilter.java:452)
         at com.evermind[Oracle Containers for J2EE 11g (11.1.1.0.0) ].server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:585)
         at com.evermind[Oracle Containers for J2EE 11g (11.1.1.0.0) ].server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:334)
         at com.evermind[Oracle Containers for J2EE 11g (11.1.1.0.0) ].server.http.HttpRequestHandler.doDispatchRequest(HttpRequestHandler.java:942)
         at com.evermind[Oracle Containers for J2EE 11g (11.1.1.0.0) ].server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:843)
         at com.evermind[Oracle Containers for J2EE 11g (11.1.1.0.0) ].server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:646)
         at com.evermind[Oracle Containers for J2EE 11g (11.1.1.0.0) ].server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:614)
         at com.evermind[Oracle Containers for J2EE 11g (11.1.1.0.0) ].server.http.HttpRequestHandler.serveOneRequest(HttpRequestHandler.java:405)
         at com.evermind[Oracle Containers for J2EE 11g (11.1.1.0.0) ].server.http.HttpRequestHandler.run(HttpRequestHandler.java:168)
         at com.evermind[Oracle Containers for J2EE 11g (11.1.1.0.0) ].server.http.HttpRequestHandler.run(HttpRequestHandler.java:149)
         at oracle.oc4j.network.ServerSocketReadHandler$ClientRunnable.run(ServerSocketReadHandler.java:275)
         at oracle.oc4j.network.ServerSocketAcceptHandler.procClientSocket(ServerSocketAcceptHandler.java:237)
         at oracle.oc4j.network.ServerSocketAcceptHandler.access$800(ServerSocketAcceptHandler.java:29)
         at oracle.oc4j.network.ServerSocketAcceptHandler$AcceptHandlerHorse.run(ServerSocketAcceptHandler.java:877)
         at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:650)
         at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:675)
         at java.lang.Thread.run(Thread.java:595)

  • Second Time, RFC execution Problem!

    Hi all,
    Has any one encountered this problem, when calling RFC First time fine and getting data from BAPI, when i call same RFC again, Second Time, RFC execution Problem!. Any idea!, Now i restarted server, that may cause the problem. Other than this, please give me your idea.
    Thanks
    Ravi Golla

    Hi Bhavik,
    <b>In View Controller:</b>
    public void onActionCreateProject(com.sap.tc.webdynpro.progmodel.api.IWDCustomEvent wdEvent )
        //@@begin onActionCreateProject(ServerEvent)
        wdThis.wdGetArchCompController().CreateProject();
         wdThis.wdFirePlugOutToProjectCreationResult();
        //@@end
    <b>In Custom Controller:
    </b>
    wdDoInit()
    __Arch__Arm_Project_Create_Input create = new __Arch__Arm_Project_Create_Input();
         wdContext.node__Arch__Arm_Project_Create_Input().bind(create);
    public void CreateProject( )
        //@@begin CreateProject()
         try
                             wdContext.current__Arch__Arm_Project_Create_InputElement().modelObject().execute();
                             wdContext.nodeOutput().invalidate();
                        catch(WDDynamicRFCExecuteException ex)
                             wdThis.wdGetAPI().getComponent().getMessageManager().reportSuccess(ex.toString());
                             ex.printStackTrace();
        //@@end
    I am using other functional modules they all working fine, this is one only has problem
    Thanks  Bhavic.
    Regards
    Ravi

  • QA08 execution problem

    Hi all,
    QA08 execution problem, one material lying in QA32 stock that is cancel condition only (qa32 status for the material is LTCA, CALC) so I canu2019t deactivate the insp type through QA08, kindly help me to solve the problem.

    Hi,
    Thanks a lot your suggestion is 100% correct, problem has solved.
    Regards,
    Karthick.

  • Run client execution problem  when running Sun J2EE tutorial example

    Hi,
    I'm trying to run the Sun J2EE tutorial example, CartApp.
    When come to run the client application I got the following error:
    The command:
    E:\Dev\src\J2EE_J2EE_tutorial\examples\ears>runclient -client CarApp.ear -name CartClient -textauth
    The error:
    Application threw an exception:java.io.IOException: CarApp.ear does not exist
    The deployment complete without error.
    I tried to the the APPCPATH to :
    set APPCPATH=E:\Dev\src\J2EE_J2EE_tutorial\examples\ears\CartAppClient.jar
    set APPCPATH=CartAppClient.jar
    On both set, it gave the same error above.
    Did someone known the problem I have ?
    Thnaks

    hi ,
    I think u have given other disply name to your J2EE client ,
    Anyway check disply name of J2EE client through deploytool.
    u have to use that display name to access the j2ee client .
    suppose ur j2ee client displyname is testclient, u can use:
    runclient -client ConverterApp.ear -name testclient
    hope this will help u,
    babu.

  • Problem in 11g tp3 lov

    Hi All,
    I have a create page with a lov (af:inputListOfValues )field country.
    But if I run the page, page is coming properly but
    on clicking of lov I am not getting the lov popup. below is code for your inspection
    <af:inputText value="#{bindings.ManId.inputValue}"
    label="#{bindings.ManId.hints.label}"
    required="#{bindings.ManId.hints.mandatory}"
    columns="#{bindings.ManId.hints.displayWidth}"
    maximumLength="#{bindings.ManId.hints.precision}">
    <f:validator binding="#{bindings.ManId.validator}"/>
    <af:convertNumber groupingUsed="false"
    pattern="#{bindings.ManId.format}"/>
    </af:inputText>
    <af:inputText value="#{bindings.AddressType.inputValue}"
    label="#{bindings.AddressType.hints.label}"
    required="#{bindings.AddressType.hints.mandatory}"
    columns="#{bindings.AddressType.hints.displayWidth}"
    maximumLength="#{bindings.AddressType.hints.precision}">
    <f:validator binding="#{bindings.AddressType.validator}"/>
    </af:inputText>
    <!--<af:inputText value="#{bindings.Country.inputValue}"
    label="#{bindings.Country.hints.label}"
    required="#{bindings.Country.hints.mandatory}"
    columns="#{bindings.Country.hints.displayWidth}"
    maximumLength="#{bindings.Country.hints.precision}">
    <f:validator binding="#{bindings.Country.validator}"/>
    </af:inputText>-->
    <af:inputListOfValues id="country1Id"
    popupTitle="Search and Select: #{bindings.Country1.hints.label}"
    value="#{bindings.Country1.inputValue}"
    label="#{bindings.Country1.hints.label}"
    model="#{bindings.Country1.listOfValuesModel}"
    required="#{bindings.Country1.hints.mandatory}"
    columns="#{bindings.Country1.hints.displayWidth}">
    <f:validator binding="#{bindings.Country1.validator}"/>
    </af:inputListOfValues>
    Regards,
    Ghosh

    Thanks Frank for your reply.
    Anyway I solved the problem by checking view object attribute settings.
    But I have a query regarding the lov popup page.
    which contains a search form and table of countriesview(in my case).
    How do I customize the lov popup page?
    In tp2, I repalced the searchcontet facet content with
    my custom jsff(using region and taskflow).
    But here I get problem in doing so because I am not able to access
    the particular page.
    Please help.
    Regards,
    Ghosh

  • OBIEE 11g Users Time Out Problem

    Hi,
    I am using OBIEE 11g version and setup up user through weblogic console, but problem is users are logging out after 5 minutes, so how can we solve that,
    Thnaks

    OK,
    execute your query.
    Goto ST04/ detailed analysis menu Oracle session.
    Identify your session searching something like SELECT ... FROM /BIC/A* where * is your ODS name in the SQL statement.
    Click on this SQL statement and then display execution plan;
    if you aren't on Oracle then let me know what options you do have...
    put this info in the thread.
    regards,
    Olivier.

  • Oracle 10g to 11g Upgrade - Oracle Clusterware problem

    Oracle10g RAC (2 Nodes) RHEL 4 64bit
    Hi All,
    I have began the procedure for upgrading Oracle Clusterware to 11g. However, during the install OUI was giving me certain error messages like it couldn't transfer the OUI installlogs to node 2. Well, I kept pushing through the install and after I ran the last rootupgrade script on node 2 it gave me the following error:
    Checking the existence of nodeapps on this node
    Exception in thread "main" java.lang.UnsupportedClassVersionError: oracle/ops/opsctl/OPSCTLDriver (Unsupported major.minor version 49.0)
    at java.lang.ClassLoader.defineClass0(Native Method)
    at java.lang.ClassLoader.defineClass(ClassLoader.java:539)
    at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:123)
    at java.net.URLClassLoader.defineClass(URLClassLoader.java:251)
    at java.net.URLClassLoader.access$100(URLClassLoader.java:55)
    at java.net.URLClassLoader$1.run(URLClassLoader.java:194)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.net.URLClassLoader.findClass(URLClassLoader.java:187)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:289)
    at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:274)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:235)
    at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:302)
    Creating '/crs/home/install/paramfile.crs' with data used for CRS configuration
    Exception in thread "main" java.lang.UnsupportedClassVersionError: oracle/ops/opsctl/OPSCTLDriver (Unsupported major.minor version 49.0)
    at java.lang.ClassLoader.defineClass0(Native Method)
    at java.lang.ClassLoader.defineClass(ClassLoader.java:539)
    at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:123)
    at java.net.URLClassLoader.defineClass(URLClassLoader.java:251)
    at java.net.URLClassLoader.access$100(URLClassLoader.java:55)
    at java.net.URLClassLoader$1.run(URLClassLoader.java:194)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.net.URLClassLoader.findClass(URLClassLoader.java:187)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:289)
    at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:274)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:235)
    at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:302)
    Failed to retrieve VIP details
    Exception in thread "main" java.lang.UnsupportedClassVersionError: oracle/ops/opsctl/OPSCTLDriver (Unsupported major.minor version 49.0)
    at java.lang.ClassLoader.defineClass0(Native Method)
    at java.lang.ClassLoader.defineClass(ClassLoader.java:539)
    at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:123)
    at java.net.URLClassLoader.defineClass(URLClassLoader.java:251)
    at java.net.URLClassLoader.access$100(URLClassLoader.java:55)
    at java.net.URLClassLoader$1.run(URLClassLoader.java:194)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.net.URLClassLoader.findClass(URLClassLoader.java:187)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:289)
    at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:274)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:235)
    at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:302)
    Failed to retrieve VIP details
    Setting CRS configuration values in /crs/home/install/paramfile.crs
    So I ignored the error for the time being and after that I checked the status of crs and it gave me the following:
    [oracle@vtl-rac2 crsd]$ crsstatus
    HA Resource Target State
    ora.VMRACDEV.VMRACDEV1.inst ONLINE ONLINE on vtl-rac1
    ora.VMRACDEV.VMRACDEV2.inst ONLINE ONLINE on vtl-rac2
    ora.VMRACDEV.db ONLINE ONLINE on vtl-rac1
    ora.vtl-rac1.ASM1.asm ONLINE ONLINE on vtl-rac1
    ora.vtl-rac1.LISTENER_VTL-RAC1.lsnr ONLINE ONLINE on vtl-rac1
    ora.vtl-rac1.gsd ONLINE ONLINE on vtl-rac1
    ora.vtl-rac1.ons ONLINE OFFLINE
    ora.vtl-rac1.vip ONLINE ONLINE on vtl-rac1
    ora.vtl-rac2.ASM2.asm ONLINE ONLINE on vtl-rac2
    ora.vtl-rac2.LISTENER_VTL-RAC2.lsnr ONLINE ONLINE on vtl-rac2
    ora.vtl-rac2.gsd ONLINE ONLINE on vtl-rac2
    ora.vtl-rac2.ons ONLINE OFFLINE
    ora.vtl-rac2.vip ONLINE ONLINE on vtl-rac2
    So i tried to bring it back up by doing a crs_stop -all and crs_start -all and it gave me the following error:
    vtl-rac1 : CRS-1019: Resource ora.vtl-rac2.ons (application) cannot run on vtl-rac1
    Start of `ora.vtl-rac1.ons` on member `vtl-rac1` failed.
    vtl-rac2 : CRS-1019: Resource ora.vtl-rac1.ons (application) cannot run on vtl-rac2
    CRS-0223: Resource 'ora.VMRACDEV.db' has placement error.
    CRS-0215: Could not start resource 'ora.vtl-rac1.ons'.
    CRS-0215: Could not start resource 'ora.vtl-rac2.ons'.
    I am thinking that all of this is caused by the various issues I had with the install. If I am incorrect, then please let me know. If it is true, I would like to know if there are any 11g docs on how to clean up a failed clusterware upgrade. Any advice would be greatly appreciated on any of the situations I am having.
    Thank you

    Hi Chandra,
    Did CVU report any problems before the upgrade?No, there were no errors reported by CVU before the upgrade.
    I don't there is note out there for cleaning 11g CRS
    install...and I think can very use the 10g CRS note -
    239998.1.Yeah I might have to go that way.
    I have both the 11g CRS install and upgrade from 10g
    to 11CRS at
    http://chandradba.blogspot.com/2007/08/oracle-11g-rac-
    install-on-red-hat-50.html
    and
    http://chandradba.blogspot.com/2008/02/oracle-10g-crs-
    upgrade-to-11g-crs.html
    see if it helps.Yup, your guide is very simple, clear and error proof :) That's how mine when pretty much except right around 75% I started getting these strange errors of files not being able to be transferred to node 2. Anyways, it shouldn't be a problem as none of those errors were configuration related...or else I would have a messed up cluster.
    Well, I actually rebooted both machines and now the whole CRS stack is up!! So I guess I am ok. We'll just have to wait and see.
    Thanks for your help Chandra...I always appreciate it.

  • Package execution problem with SQLSERVERAGENT

    Hello,
    I'm having a problem with the execution of SSIS packages: I created locally a package with SQL Server Data Tools, then I deployed it on my server in the SSISDB database. Then I created a job to execute periodically this package with SQL Server Agent. The
    package works fine and does everything I want, but I always get a failed notification. In the global view of the execution I can see:
    Result: "failed"
    Package name: "Package.dtsx"
    Task name: "Package"
    Execution access path: "\Package"
    Every other task returns a success and their execution access path is a subfolder of "\Package". I tried everything I found on the web, check the "Runtime 32bits" box, create a "Job Account" user to execute the package via a
    "Job Account Proxy", modify the ProtectionLevel of the package to "DontSaveSensitive", give the "Job Account" user full rights on everything, nothing works.
    Do you have an idea of what my problem is and how to solve it?
    I must precise that all my packages do the same thing: I have a loop on all the csv files in a folder that for each file loads the contents of the file in my database and the delete the file. I observed that the error message do not appear when there is
    no file in the folder when the package executes.
    Thanks in advance.

    Not sure what error message, is the one "est introuvable.
    Cette erreur est retournée par la collection Connections lorsque l'élément de connexion spécifique est introuvable"?
    So, here is in short: the ForEach Loop once in its beginning of operation "senses" the files currently present in the working folder. If a new file arrives after this stage, it will not see it.
    In your case it seems that the ForEach "saw" a file at the beginning, but it was gone at the time the processing wanted it for execution.
    Like many above indicated, the common practice, call
    it elegant or not is to indeed move the files to a different directory (working folder). This is done to avoid collisions with some other activity in that folder.
    Furthermore, you can have all the files deleted using a ForEach against the working folder as say in
    http://beyondrelational.com/modules/2/blogs/88/posts/10178/ssis-delete-files-from-specified-folder-using-file-system-task-in-sql-server.aspx And there is no need to delete the working folder
    itself.
    The job is run in SQL Server's Agent
    need to be set to run using a domain proxy account as it needs write access to the file system.
    Arthur My Blog

  • Command line program execution problem.

    Hey there, I'm about to complete my Java thesis project, but I can't fix a problem: i have to find a command line programme (which is in python but i think its not a big deal) through a java programme. Getting some information around I ended up i could execute the program with the command:
    Process proc = Runtime.getRuntime().exec("...");
    and create the streams:
    OutputStream out = proc.getOutputS 14.49
    InputStream in = proc.getInputStream();
    the problem is that calling a programme which prints on screen something and then it ends (ex. ipconfig) the following sequence works out:
    do
    int i=in.read();
    if(i==-1) break;
    System.out.print((char)i);
    }while(true);
    instead in the specific case of the programme that i need to execute it canno't work because this programme after its opening prints a couple of lines, at this stage you need to type the input in and when the eof font is sent the output is printed. i've tried to send the input thru OutputStream but the execution gets stuck when it reads the output (in.read());
    Can you guys help me out? What do i need to do? Please it's very important, let me know ASAP.
    Thanks very much,
    Fabio

    I would not recommend the use of raw "InputStream" for much of anything.
    Try Scanner if you can use JDK5, if not, try BufferedReader.
    Scanner:
    Process proc = Runtime.getRuntime().exec("...");
    BufferedOutputStream out = new BufferedOutputStream(proc.getOutputStream());
    Scanner in = new Scanner(proc.getInputStream());
    while(in.hasNextLine()) {
         String s = in.nextLine();
         System.out.println(s);
    }BufferedReader:
    Process proc = Runtime.getRuntime().exec("...");
    BufferedOutputStream out = new BufferedOutputStream(proc.getOutputStream());
    BufferedReader in = new BufferedReader(new InputStreamReader(proc.getInputStream()));
    String l = " ";
    while(l != null) {
         l = r.nextLine();
         System.out.println(s);
    }

Maybe you are looking for