Migration from Jdeveloper 11g r1 to 11g r2 problem

Hi all
I have a project initially created in Jdeveloper 11g r1
after migrating it to Jdeveloper 11g r2 i tried to replace lookup ejb invocation to dependency injection.
So i used @EJB annotation in my managed bean. I'm shure there could be no mistakes in the way how i used this anno, i did it many times
it looks something like this
@EJB(name="StatelessSessionEJBEx",beanInterface =StatelessSessionEJBEx.class, beanName = "StatelessSessionEJBEx")
as a result it generated an exception which said that the EJB interface could not be found, though all dependencies between business and view projects are in place. After a while i figured out that the problem is it used JSF 1.2 specification instead of 2.0 so i replaced the version of JSF in managed been source code
<?xml version="1.0" encoding="windows-1251"?>
<faces-config version="2.0" xmlns="http://java.sun.com/xml/ns/javaee"> ....
but it seemed to make no effect at all.
So are there any guesses what i did wrong
Thanks. Alex.

Hi,
the server used by JDeveloper 11g R2 is a patched WLS 10.3.5 or 10.1.3.6 server (depends on teh JDeveloper version), which is not a Java EE 6 version but Java EE 5 (which explains why CDI doesn't work as expected). To read up on how to get annotated EJBs work from JSF managed beans, see http://buttso.blogspot.de/2011/03/jsf-with-managed-beans-and-dependency.html.
The upcoming 12c release will solve all of this. My suggestion therefore is to keep on going with the web.xml reference and then replace it later with @EJB annotation references
Frank

Similar Messages

  • Migration from JDeveloper 10 to JDeveloper 11g, load view data failed

    Hello
    I upgraded our projects from Oracle JDeveloper 10 to JDeveloper 11g. I got a problem for a Swing project. It worked fine in JDeveloper 10 and it throws exceptions during the start up process in JDeveloper 11g:
    [1843] T1XrefVView1 ViewRowSetImpl.execute caused params to be "un"changed
    [1844] Carrying over CappedRowCount:-1for ViewRowSet:T1XrefVView1
    [1845] Column count: 16
    [1846] executeQueryForCollection ViewObject:T1XrefVView1, RowSet:T1XrefVView1
    [1847] ViewObject: [taxreturn.T1XrefVView]AM_Taxreturn.T1XrefVView1 close prepared statements...
    [1848] ViewObject: [taxreturn.T1XrefVView]AM_Taxreturn.T1XrefVView1 Created new QUERY statement
    [1849] T1XrefVView1>#q computed SQLStmtBufLen: 92, actual=74, storing=104
    [1850] SELECT * FROM (select * from t1_xref_v) QRSLT WHERE (T1X_T1_TAXYEAR=2012)
    [1851] Bind params for ViewObject: [taxreturn.T1XrefVView]AM_Taxreturn.T1XrefVView1
    [1852] ViewObject: [taxreturn.T1XrefVView]AM_Taxreturn.T1XrefVView1 close single-use prepared statements
    [1853] oracle.jbo.RowNotFoundException: JBO-25060: Unexpected error encountered while trying to retrieve the next row from JDBC ResultSet for collection T1XrefVView1
         at oracle.jbo.server.QueryCollection.hasNextInResultSet(QueryCollection.java:4893)
         at oracle.jbo.server.ViewObjectImpl.hasNextForCollection(ViewObjectImpl.java:7306)
         at oracle.jbo.server.QueryCollection.hasNext(QueryCollection.java:4768)
         at oracle.jbo.server.QueryCollection.buildResultSet(QueryCollection.java:1294)
         at oracle.jbo.server.QueryCollection.executeQuery(QueryCollection.java:913)
         at oracle.jbo.server.ViewObjectImpl.executeQueryForCollection(ViewObjectImpl.java:7282)
         at oracle.jbo.server.ViewRowSetImpl.execute(ViewRowSetImpl.java:1227)
         at oracle.jbo.server.ViewRowSetImpl.executeQueryForMasters(ViewRowSetImpl.java:1413)
         at oracle.jbo.server.ViewRowSetImpl.executeQueryForMode(ViewRowSetImpl.java:1319)
         at oracle.jbo.server.ViewRowSetImpl.executeQuery(ViewRowSetImpl.java:1304)
    Caused by: oracle.jbo.JboException: JBO-29000: Unexpected exception caught: java.sql.SQLException, msg=The 'getRow()' method is only allowed on scroll cursors.
         at oracle.jbo.server.QueryCollection.setResultSetState(QueryCollection.java:5643)
         at oracle.jbo.server.QueryCollection.hasNextInResultSet(QueryCollection.java:4859)
         ... 20 more
    T1XrefVView1 is the view object of a view "T1_XREF_V" in the database. Anybody knows what is the reason for this? Thank you
    Leaf Woods
    Edited by: Leaf Woods on May 14, 2013 6:41 AM

    Hello Frank
    Thank you for the reply. I checked the view object. the access mode is already "Scrollable". The data source of this view object is SQL, not an entity object since it is running on top of a data view rather than a data table in the database. Does this matter? Thanks
    Leaf

  • Java.util.NoSuchElementException when migrating from 10.1.3 to 11g Preview4

    I have migrated my project from Jdeveloper 10.1.3 to JDeveloper with OC4j11g Preview 4.
    I see below exception displaying 5 times.... Can some one help me in getting this project running on 11g....
    Jul 17, 2008 2:01:13 PM oracle.javatools.logging.LogUtils log
    WARNING: Exception in task oracle.jdevimpl.webapp.jsp.taglibraries.trinidad.addin.TrinidadModelListener$UpdateTrinidadNamespaceTask@157342 on model oracle.jdevimpl.webapp.jsp.JspXmlModel@42017c; txn name=Updating html, head, and body, to be under the Trinidad namespace
    java.util.NoSuchElementException
         at java.util.HashMap$HashIterator.nextEntry(HashMap.java:844)
         at java.util.HashMap$KeyIterator.next(HashMap.java:877)
         at oracle.jdevimpl.webapp.jsp.taglibraries.trinidad.addin.TrinidadModelListener$UpdateTrinidadNamespaceTask.performTask(TrinidadModelListener.java:278)
         at oracle.bali.xml.model.task.StandardTransactionTask.runThrowingXCE(StandardTransactionTask.java:195)
         at oracle.bali.xml.model.task.StandardTransactionTask.run(StandardTransactionTask.java:103)
         at oracle.jdevimpl.webapp.jsp.taglibraries.trinidad.addin.TrinidadModelListener.modelChanged(TrinidadModelListener.java:109)
         at oracle.bali.xml.model.XmlModel._deliverModelChangeEvents(XmlModel.java:3250)
         at oracle.bali.xml.model.XmlModel._deliverChangeEvents(XmlModel.java:3417)
         at oracle.bali.xml.model.XmlModel.__commitTransaction(XmlModel.java:2940)
         at oracle.bali.xml.model.XmlContext.__commitTransaction(XmlContext.java:1773)
         at oracle.bali.xml.model.XmlModel.__requestCommitTransaction(XmlModel.java:2882)
         at oracle.bali.xml.model.XmlModel.commitTransaction(XmlModel.java:562)
         at oracle.bali.xml.model.task.NonValidatingTransactionTask.__commitWrapperTransaction(NonValidatingTransactionTask.java:32)
         at oracle.bali.xml.model.task.StandardTransactionTask.runThrowingXCE(StandardTransactionTask.java:208)
         at oracle.adfdt.view.common.migration.MigrationManager$MigrationCallable.call(MigrationManager.java:618)
         at oracle.ide.model.Node.callUnderWriteLock(Node.java:1555)
         at oracle.adfdt.view.common.migration.MigrationManager$MigrationRunnable.run(MigrationManager.java:550)
         at oracle.adfdt.view.common.migration.MigrationManager.migrate(MigrationManager.java:105)
         at oracle.adfdtinternal.view.common.migration.wizards.MigrationHelper.migrate(MigrationHelper.java:30)
         at oracle.ide.migration.NodeMigrator.callHelperMigrate(NodeMigrator.java:474)
         at oracle.ide.migration.NodeMigrator.callHelpersMigrate(NodeMigrator.java:464)
         at oracle.ide.model.ProjectMigrator.super_callHelpersMigrate(ProjectMigrator.java:38)
         at oracle.ide.model.ProjectMigrator.mav$super_callHelpersMigrate(ProjectMigrator.java:26)
         at oracle.ide.model.ProjectMigrator$1.run(ProjectMigrator.java:54)
         at oracle.javatools.data.Structure.applyBatchChanges(Structure.java:164)
         at oracle.ide.model.HashStructureNode$1.run(HashStructureNode.java:326)
         at oracle.javatools.data.Structure.applyBatchChanges(Structure.java:164)
         at oracle.ide.model.HashStructureNode.applyBatchChanges(HashStructureNode.java:322)
         at oracle.ide.model.ProjectMigrator.callHelpersMigrate(ProjectMigrator.java:50)
         at oracle.ide.migration.NodeMigrator.doMigration(NodeMigrator.java:447)
         at oracle.ide.migration.NodeMigrator$1.run(NodeMigrator.java:400)
         at oracle.ide.dialogs.ProgressBar.run(ProgressBar.java:615)
         at java.lang.Thread.run(Thread.java:595)
    I have made needed manual changes and made sure all the libraries are pointing to correct jar files.
    When I perform rebuild I have warning
    class javax.faces.el.ValueBinding has been deprecated
    When I try to run the jspx browser displays error message
    Missing class: oracle.adfinternal.view.faces.renderkit.RenderKitBase
    Embedded OC4J server has message
    Jul 17, 2008 3:12:30 PM com.evermind.server.http.HttpMessages logApplicationStartupFailedMessage
    SEVERE: The application named, current-workspace-app, could not start due to an error. oracle.classloader.util.AnnotatedNoClassDefFoundError:
         Missing class: oracle.adfinternal.view.faces.renderkit.RenderKitBase

    Yes, I did follow all the steps mentioned at http://www.oracle.com/technology/products/jdev/tips/muench/1013srdemo/index.html
    What surprises me is even though it throws exception(reason i dont know) I see the migration completed message at the end.
    Most of the files I checked are migrated...
    When I try launch jspx by starting the embedded OC4J there is still some reference to ADF instead of TRINIDAD... How do I correct it?
    Thanks,
    -Josephine

  • What is the right tools to migrate from developer suite 10g to 11g?

    Hi all..
    Im kinda new here and hope pro can help me in the right direction. I've been developing forms and reports in 10g which is using the developer suite. My company would like to migrate to 11g. However, i see that there are no 11g developer suite. it must have rename it something else or provided to developer in a different name or so.
    Could someone clarify this and give me a link to what i need to develop forms and reports in 11g. Im sure im going to need the weblogic as well.
    I did find a post where user states that there is no more developer suite in 11g but i find his answer a bit unclear. So i was hoping someone can give a link to what i really need in order to continue with 11g.
    Thanks

    In brief a migration from 10g to 11g is just a recompile, nothing more. There were some built-ins removed in 11g which were deprecated in 10g (like run_product for example) so if you have some dead code containing this built-ins you will get compile errors. But as those built-ins didn't do anything in 10g you should be able to remove them without a second thought.
    As for developer suite: there is no developer suite anymore like there was in 10g; There is only one complete bundle containing the development as well as the deployment components, and you can choose at installation time which components you want to install. You can install the IDEs and omit some of the components you won't need in 11gR1 or install the development version in 11gR2.
    You can find the install bundles here.
    Before you start installing it is a good idea to review the certified system configurations.
    cheers

  • No data after migration from MSSQL 2008 to Oracle 11g

    Hi
    After looong way to migrate database from MSSQL 08 to Oracle 11g (lots of topic on oracle forum was very helpfull), I finally wanted to migrate my data. So, i did like in this http://st-curriculum.oracle.com/obe/db/hol08/sqldev_migration/mssqlserver/migrate_microsoft_sqlserver_otn.htm tutorial, used oracle_ctl , then I got back some data :
    SQL*Plus: Release 11.2.0.1.0 Production on Tue Jun 5 22:37:29 2012
    Copyright (c) 1982, 2010, Oracle. All rights reserved.
    Connected to:
    Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - 64bit Production
    With the Partitioning, OLAP, Data Mining and Real Application Testing options
    SQL> SQL>
    Table altered.
    SQL>
    Table altered.
    SQL>
    Table altered.
    SQL>
    Table altered.
    SQL>
    Table altered.
    SQL>
    Table altered.
    SQL>
    Trigger altered.
    SQL>
    Table altered.
    SQL>
    Table altered.
    SQL> Disconnected from Oracle Database 11g Enterprise Edition Release 11.2.0.1.0
    - 64bit Production
    With the Partitioning, OLAP, Data Mining and Real Application Testing options
    SQL*Loader: Release 11.2.0.1.0 - Production on Tue Jun 5 22:37:29 2012
    Copyright (c) 1982, 2009, Oracle and/or its affiliates. All rights reserved.
    SQL*Loader-522: lfiopn failed for file (log\dbo_zsbddwa.Pracownicy.log)
    SQL*Loader: Release 11.2.0.1.0 - Production on Tue Jun 5 22:37:30 2012
    Copyright (c) 1982, 2009, Oracle and/or its affiliates. All rights reserved.
    SQL*Loader-522: lfiopn failed for file (log\dbo_zsbddwa.Dokumenty.log)
    SQL*Loader: Release 11.2.0.1.0 - Production on Tue Jun 5 22:37:30 2012
    Copyright (c) 1982, 2009, Oracle and/or its affiliates. All rights reserved.
    SQL*Loader-522: lfiopn failed for file (log\dbo_zsbddwa.sysdiagrams.log)
    SQL*Loader: Release 11.2.0.1.0 - Production on Tue Jun 5 22:37:30 2012
    Copyright (c) 1982, 2009, Oracle and/or its affiliates. All rights reserved.
    SQL*Loader-522: lfiopn failed for file (log\dbo_zsbddwa.Spis.log)
    SQL*Plus: Release 11.2.0.1.0 Production on Tue Jun 5 22:37:30 2012
    Copyright (c) 1982, 2010, Oracle. All rights reserved.
    Connected to:
    Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - 64bit Production
    With the Partitioning, OLAP, Data Mining and Real Application Testing options
    SQL> 2
    PL/SQL procedure successfully completed.
    SQL> 2
    PL/SQL procedure successfully completed.
    SQL> SQL>
    Table altered.
    SQL>
    Table altered.
    SQL>
    Table altered.
    SQL>
    Table altered.
    SQL>
    Table altered.
    SQL>
    Table altered.
    SQL>
    Trigger altered.
    SQL> Disconnected from Oracle Database 11g Enterprise Edition Release 11.2.0.1.0
    - 64bit Production
    With the Partitioning, OLAP, Data Mining and Real Application Testing options.
    Ok, I see there are problems with save logs, but ok, I'm moving on to sqldeveloper - open table in migrated database, pressing "Data", and unfortunatly, there were no data. I tryed few times, checked permission for database user, but still the same.
    Anyone have idea, whats wrong could be with it?

    Hi
    After looong way to migrate database from MSSQL 08 to Oracle 11g (lots of topic on oracle forum was very helpfull), I finally wanted to migrate my data. So, i did like in this http://st-curriculum.oracle.com/obe/db/hol08/sqldev_migration/mssqlserver/migrate_microsoft_sqlserver_otn.htm tutorial, used oracle_ctl , then I got back some data :
    SQL*Plus: Release 11.2.0.1.0 Production on Tue Jun 5 22:37:29 2012
    Copyright (c) 1982, 2010, Oracle. All rights reserved.
    Connected to:
    Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - 64bit Production
    With the Partitioning, OLAP, Data Mining and Real Application Testing options
    SQL> SQL>
    Table altered.
    SQL>
    Table altered.
    SQL>
    Table altered.
    SQL>
    Table altered.
    SQL>
    Table altered.
    SQL>
    Table altered.
    SQL>
    Trigger altered.
    SQL>
    Table altered.
    SQL>
    Table altered.
    SQL> Disconnected from Oracle Database 11g Enterprise Edition Release 11.2.0.1.0
    - 64bit Production
    With the Partitioning, OLAP, Data Mining and Real Application Testing options
    SQL*Loader: Release 11.2.0.1.0 - Production on Tue Jun 5 22:37:29 2012
    Copyright (c) 1982, 2009, Oracle and/or its affiliates. All rights reserved.
    SQL*Loader-522: lfiopn failed for file (log\dbo_zsbddwa.Pracownicy.log)
    SQL*Loader: Release 11.2.0.1.0 - Production on Tue Jun 5 22:37:30 2012
    Copyright (c) 1982, 2009, Oracle and/or its affiliates. All rights reserved.
    SQL*Loader-522: lfiopn failed for file (log\dbo_zsbddwa.Dokumenty.log)
    SQL*Loader: Release 11.2.0.1.0 - Production on Tue Jun 5 22:37:30 2012
    Copyright (c) 1982, 2009, Oracle and/or its affiliates. All rights reserved.
    SQL*Loader-522: lfiopn failed for file (log\dbo_zsbddwa.sysdiagrams.log)
    SQL*Loader: Release 11.2.0.1.0 - Production on Tue Jun 5 22:37:30 2012
    Copyright (c) 1982, 2009, Oracle and/or its affiliates. All rights reserved.
    SQL*Loader-522: lfiopn failed for file (log\dbo_zsbddwa.Spis.log)
    SQL*Plus: Release 11.2.0.1.0 Production on Tue Jun 5 22:37:30 2012
    Copyright (c) 1982, 2010, Oracle. All rights reserved.
    Connected to:
    Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - 64bit Production
    With the Partitioning, OLAP, Data Mining and Real Application Testing options
    SQL> 2
    PL/SQL procedure successfully completed.
    SQL> 2
    PL/SQL procedure successfully completed.
    SQL> SQL>
    Table altered.
    SQL>
    Table altered.
    SQL>
    Table altered.
    SQL>
    Table altered.
    SQL>
    Table altered.
    SQL>
    Table altered.
    SQL>
    Trigger altered.
    SQL> Disconnected from Oracle Database 11g Enterprise Edition Release 11.2.0.1.0
    - 64bit Production
    With the Partitioning, OLAP, Data Mining and Real Application Testing options.
    Ok, I see there are problems with save logs, but ok, I'm moving on to sqldeveloper - open table in migrated database, pressing "Data", and unfortunatly, there were no data. I tryed few times, checked permission for database user, but still the same.
    Anyone have idea, whats wrong could be with it?

  • Problem with app migration from JDeveloper 11.1.1.0 to JDeveloper 11.1.1.2

    Hi Fusion developers,
    I'm migrating an application to JDeveloper 11.1.1.2 from JDeveloper 11.1.1.0 environment.
    I've installed the JDeveloper 11.1.1.2 Studio package on a new laptop with Windows XP Pro service pack 3
    and copied the application from a JDeveloper 11.1.1.0 environment. I opened the application with JDev 11.1.1.2
    and JDev converted the application.
    When I run the application, I received a ClassCastException from MyFaces Trinidad. I've pasted the stacktrace
    below.
    I checked the 11.1.1.2 release notes and didn't find any Trinidad issues. Does 11.1.1.2 use a different Trinidad
    release? If so, are there Trinidad config settings that I should modify?
    Thanks,
    Bob
    java.lang.ClassCastException: org.apache.myfaces.trinidadinternal.config.xmlHttp.XmlHttpConfigurator cannot be cast to org.apache.myfaces.trinidad.config.Configurator
         at org.apache.myfaces.trinidadinternal.config.GlobalConfiguratorImpl.init(GlobalConfiguratorImpl.java:366)
         at org.apache.myfaces.trinidadinternal.config.GlobalConfiguratorImpl.beginRequest(GlobalConfiguratorImpl.java:199)
         at org.apache.myfaces.trinidadinternal.config.GlobalConfiguratorImpl.getExternalContext(GlobalConfiguratorImpl.java:304)
         at org.apache.myfaces.trinidadinternal.context.FacesContextFactoryImpl$CacheRenderKit.(FacesContextFactoryImpl.java:86)
         at org.apache.myfaces.trinidadinternal.context.FacesContextFactoryImpl.getFacesContext(FacesContextFactoryImpl.java:64)
         at oracle.adfinternal.controller.application.FacesContextFactoryImpl.getFacesContext(FacesContextFactoryImpl.java:56)
         at oracle.adfinternal.controller.application.model.FacesContextFactoryImpl.getFacesContext(FacesContextFactoryImpl.java:70)
         at org.apache.myfaces.trinidadinternal.context.FacesContextFactoryImpl.getFacesContext(FacesContextFactoryImpl.java:64)
         at javax.faces.webapp.FacesServlet.service(FacesServlet.java:260)
         at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
         at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
         at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:292)
         at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:191)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.security.jps.ee.http.JpsAbsFilter$1.run(JpsAbsFilter.java:94)
         at java.security.AccessController.doPrivileged(Native Method)
         at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:313)
         at oracle.security.jps.ee.util.JpsPlatformUtil.runJaasMode(JpsPlatformUtil.java:413)
         at oracle.security.jps.ee.http.JpsAbsFilter.doFilter(JpsAbsFilter.java:138)
         at oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:70)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.dms.wls.DMSServletFilter.doFilter(DMSServletFilter.java:326)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at weblogic.servlet.internal.RequestEventsFilter.doFilter(RequestEventsFilter.java:27)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3592)
         at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
         at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
         at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2202)
         at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2108)
         at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1432)
         at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
         at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)

    Please refer
    http://docs.oracle.com/cd/E26098_01/install.1112/e17074/ojdig.htm#BDCIHDBA

  • Compile error after migration from JDeveloper 11.1.1.4 to 11.1.2

    Hi,
    I have recently downloaded JDeveloper 11.1.2 and I need to migrate from 11.1.1.4.
    I got the following error message:
    Error: An unreported error occurred in Appc. No errors were reported, but the tool returned a failure result code:1.
    Can somebody suggest me how do I go about this?
    Regards

    see {thread:id=2241934}

  • Migrating from JDeveloper 3.2 to JDeveloper 10.1.3.2

    Hi
    I developed my java code in JDeveloped 3.2. Now i want to migrate to JDeveloper 10.1.3.2
    Please tell me the Procedure.
    ThankYou,
    Sri Lakshmi.B

    Also, see earlier posting:
    Upgrading from JDeveloper 3.2 to 10g

  • Migration from jdeveloper to eclipse

    Did anyone migrate any jdeveloper app to elipse. I need to migrate to eclipse becouse of metric testing but i do now how?

    It sounds like you have the right idea -- you want to import the sources, rather than trying to "convert" an Eclipse project to a JDeveloper project. What do you mean that the EAR import is "not happening"? Did you get errors?
    -- Brian

  • Migrating from MSSQL2005 to OracleExpress 10g - stored proc problems

    I'm trying to migrate from MSSQLExpress2005 to OracleExpress 10g.
    I upgraded my SQLDeveloper 1.1.3 to SQLDeveloper 1.2 from Check Updates (Even it still displays 1.1.3 at Help->About, I assume it was upgraded because version of extensions changed to 10.2.0.29.98)
    First I have renaming of my objects problem :
    Why does SQLDeveloper renames my stored procedures? I dont see any reason to change.Some of about 50 occurrences :
    1-"spCPLN_Alloc_ReSortForMultiAttendance" to "spCPLN_lloc_ReSortForMultitten"
    2-"spCPLN_Alloc_CalculateFixedConstraints" to "spCPLN_lloc_CalculateFixedCons"
    3-"spCPLN_Alloc_GetAllocationResult" to "spCPLN_lloc_GetllocationResult"
    Another problem : What is the problem of this T/SQL scode snippet?I cant convert it with Scratch editor too. I got "Unexpected end of subtree : Line 0 Col 0." error
    CREATE PROCEDURE spCPLN_XML_InsertDers
    @CourseID int,
    @Type1 int
    AS
    BEGIN
    IF((NOT EXISTS(
    SELECT * FROM DersKur
    WHERE CourseID = @CourseID))
    AND ( @Type1 = 2 ))
    BEGIN
    SELECT 1
    END
    END     
    I have more than 15 error like this.
    thank you
    tuna

    Hi Tuna ,
    Thanks for the feedback.
    Stored procedure names are collision managed so that they are not longer than 30 characters in length. This is a limitation of Oracles object naming convention.
    http://download-west.oracle.com/docs/cd/B19306_01/appdev.102/b14261/fundamentals.htm#sthref309
    WRT the procedure.
    There is a issue in the T-SQL translator which I have logged a bug for.
    bug 6127111 NOT EXITS SUB EXPRESSION NOT RECOGNIZED
    It looks like the translator cannot recognize the
    IF(( NOT EXISTS
    and is expecting IF NOT EXISTS.
    As a workaround the following manually modified T-SQL translates
    T-SQL
    CREATE PROCEDURE spCPLN_XML_InsertDers
    @CourseID int,
    @Type1 int
    AS
    BEGIN
    IF NOT EXISTS(
    SELECT * FROM DersKur
    WHERE CourseID = @CourseID) AND ( @Type1 = 2 )
    BEGIN
    SELECT 1
    END
    END
    GENERATED PL/SQL
    CREATE OR REPLACE PROCEDURE spCPLN_XML_InsertDers
    v_CourseID IN NUMBER DEFAULT NULL ,
    v_Type1 IN NUMBER DEFAULT NULL ,
    cv_1 IN OUT SYS_REFCURSOR
    AS
    v_temp NUMBER(1, 0) := 0;
    BEGIN
    BEGIN
    SELECT 1 INTO v_temp
    FROM DUAL
    WHERE NOT EXISTS ( SELECT *
    FROM DersKur
    WHERE CourseID = v_CourseID )
    AND ( v_Type1 = 2 );
    EXCEPTION
    WHEN OTHERS THEN
    NULL;
    END;
    IF v_temp = 1 THEN
    BEGIN
    OPEN cv_1 FOR
    SELECT 1
    FROM DUAL ;
    END;
    END IF;
    END;

  • Procedure for migration from 9i Rac to to 11g Rac.

    Aim is to upgrade 9i Rac to 11g R1 Rac on Solaris 10.
    1) Apply patch on 9i Rac to upgrade it to 11g Rac.
    2)Install pre req patches on 9i (Oracle 9.2.0.8)
    3) Install 11g Database Binaries. Migrate data of 9i using 11g Software.
    Can i use 9i Rman backup to restore and/or recover in 11g? (as recovery is required for a day data).
    Please advice me the Best process for the Exercise.
    Thanks in advance.
    Shekhar

    Hi,
    4 - Patch clusterware
    5 - Create ASM instance
    6 - Patch ASM instance
    7 - Install DB software
    8 - Patch DB software
    9 - Run dbca (create DB)
    10 - run "crs_stat -t" to check status
    you can run cluvfy before or after every step.
    11 - migrate old DB to RAC
    Regards

  • Can i use OMW to migrate from Oracle RDB to Oracle 11g

    Hi,
    Please could you tell me if i could use Oracle Migration Workbench to migrate an existing Oracle RDB database to an Oracle 11g database.
    Thanks.
    Joyce.

    Hi Joyce,
    Unfortunately you can't.
    Same topic was discussed here:
    Oracle RDB to Oracle 10g
    Good luck,
    Andrei

  • Migrating from DEV to TST in 11g

    I have a rpd and web catalog in my Windows DEV environment. I copied the RPD and Web Catalog over to my Linux environment, brought them online and did a refresh of the GUID's. When I log in as "weblogic" I have less permissions than my users, yet all roles and privileges are the same between environments as I did a compare through WL, EM and Answers. Is there some other step I am missing? Also, when I open up the catalog through catalog manager and look at the users, I do not see a weblogic user folder, but see a "My Folder" as a user.

    Hi,
    Have you migration weblogic console User,Group (Identity) and application role ( in EM).?
    Thanks
    Deva

  • Database migration from Windows 10g to Linux 11g

    Hello All,
    We are having a small database in a windows 2003 server machine. We would be shift this database to another Linux platform. So far My action plan is as follows:-
    1. Shutting down instance.
    2. copying physical structure of Database
    3. alter database backup control file to trace as '....sql';
    4. Transfer all the files.
    5. In the Linux server creating pfile and creating control file using following commad:-
    CREATE CONTROLFILE REUSE DATABASE "DBNAME" NORESETLOGS NOARCHIVELOG
    MAXLOGFILES 16
    MAXLOGMEMBERS 3
    MAXDATAFILES 100
    MAXINSTANCES 8
    MAXLOGHISTORY
    LOGFILE GROUP 1 '../REDO01.LOG' SIZE 50M,
    GROUP 2 '../REDO02.LOG' SIZE 50M,
    GROUP 3 '../REDO03.LOG' SIZE 50M
    DATAFILE '../SYSTEM01.DBF',
    '../UNDOTBS01.DBF',
    '../SYSAUX01.DBF',
    '../USERS01.DBF',
    '../RMANTBS01.DBF'
    CHARACTER SET WE8MSWIN1252
    6. Opening the database in upgrade mode. I am getting error:
    Database mounted.
    ORA-01113: file 1 needs media recovery
    ORA-01110: data file 1: '/u01/COLDBACKUP_T1RMAN_POC/SYSTEM01.DBF'
    Please help
    -Reards,
    Saha

    j_DBA_saha wrote:
    Hello All,
    We are having a small database in a windows 2003 server machine. We would be shift this database to another Linux platform. So far My action plan is as follows:-
    1. Shutting down instance.
    2. copying physical structure of Database
    3. alter database backup control file to trace as '....sql';
    4. Transfer all the files.
    5. In the Linux server creating pfile and creating control file using following commad:-
    CREATE CONTROLFILE REUSE DATABASE "DBNAME" NORESETLOGS NOARCHIVELOG
    MAXLOGFILES 16
    MAXLOGMEMBERS 3
    MAXDATAFILES 100
    MAXINSTANCES 8
    MAXLOGHISTORY
    LOGFILE GROUP 1 '../REDO01.LOG' SIZE 50M,
    GROUP 2 '../REDO02.LOG' SIZE 50M,
    GROUP 3 '../REDO03.LOG' SIZE 50M
    DATAFILE '../SYSTEM01.DBF',
    '../UNDOTBS01.DBF',
    '../SYSAUX01.DBF',
    '../USERS01.DBF',
    '../RMANTBS01.DBF'
    CHARACTER SET WE8MSWIN1252
    6. Opening the database in upgrade mode. I am getting error:
    Database mounted.
    ORA-01113: file 1 needs media recovery
    ORA-01110: data file 1: '/u01/COLDBACKUP_T1RMAN_POC/SYSTEM01.DBF'
    Please help
    -Reards,
    SahaThis will not work ....
    Since you are performing the cross-platform migration . So this method will not work . Either use the exp/imp or datapump or the transport tablespace . for more about the transport tablespace check the below link
    http://neeraj-dba.blogspot.in/2012/01/cross-platform-transportable.html
    Hope this may help you
    --neeraj                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

  • How to Migrate from SQL server to oracle 11g

    Hi,
    i have many tables in sql server and i want to link them in oracle

    Welcome to the forum,
    Hi,
    To link Oracle with SQL Server follow this steps:
    1-Install Oracle ODBC drivers on the server (your local Oracle database) that will access the remote SQL Server database using the database link.
    2. Setup the ODBC connection on the local Oracle database using the Windows ODBC Data Source Administrator
    3. Test the ODBC drivers to ensure that connectivity is made to the SQL Server database.
    4. Ensure that your global_names parameter is set to False.
    5. Configure the Oracle Heterogeneous services by creating an initodbc.ora file within the Oracle database.
    7. Modify the Listener.ora file.
    SID_NAME is the DSN for the remote database.
    ORACLE_HOME is the actual Oracle home file path.
    PROGRAM tells Oracle to use heterogeneous services.
    SID_LIST_LISTENER =
    (SID_LIST =
    (SID_DESC =
    (SID_NAME=Cas30C) -- Enter the DSN on this line
    (ORACLE_HOME = c:\oracle10gdb) -- Enter your Oracle home on this line
    (PROGRAM = hsodbc) ) )
    8. Modify the Tnsnames.ora file. This is the Oracle database installation accessed by the users to connect to the ODBC drivers
    (DESCRIPTION=
    (ADDRESS_LIST=
    (Address=(PROTOCOL=TCP)
    (HOST=
    -- (Server x)
    (PORT=1521))) -- Enter the port on which the server x Oracle installation
    -- is listening
    (CONNECT_DATA=(SID=Cas30c)) - Enter the DSN name
    (HS=OK) -- Enter this value. It tells Oracle to use hetergeneous services
    9. Reload the listener on local Oracle database
    10. Create a database link on the local Oracle installation that accesses the heterogeneous connection, which, in turn, connect to SQL Server.
    11. Run a SQL Server Select statement from the Oracle installation using the database link
    Thanks
    BelMan :)

Maybe you are looking for

  • Import multipage pdf in an Illustrator document

    Hello, Does a script exist to import multipages pdf document in an illustrator document ? I usually use InDesign to import multipage document with the script named "pdf import". The goal of the manipulation is to outline fonts, or resize the differen

  • Apple is silly.

    -------------------------------------------------------------------------------- Alright, so a couple days back i had some issues with my ipod.. so I call them up right? they issue an RMA and tell me to print out these labels and send it back and as

  • Can't get preview/logging window to open in Log and Transfer

    Hello- Running FCP7 on Mac Duo Quad Core Nehalem, OS 10.6. Hopefully really simple solution to this. Doing a Canon 5D workflow in FCP. So bring in via Log and Transfer. I've got the plug-in installed. Up to this point it's been going smooth - open up

  • Compressing for Web download

    Trying to compress a 5 min HD 1080i movie out of FCP to download for the web - can't seem to get anything of decent quality smaller than 2+GBs file size. Target size is 1024 MB max. Have used Compressor H.264 and still results are to large. Quicktime

  • Download Oracle 10g Client Release 2 for Solaris doesn't work

    Hello, When I try to download 10gr2_client_sol.cpio.gz at this url : http://download.oracle.com/otn/solaris/oracle10g/10201/sol64/10gr2_client_sol.cpio.gz I get 0KB file . How can I do ?