Migrating to jdeveloper 9i

Hello,
I'm migrating a application that uses bc4j from jdeveloper 3.2 to j9i,
but i have problems in a JSP page, in some pages when i want to create a row using a view object i have this problem.
oracle.jbo.RowCreateException: JBO-25017: Error while creating a new entity row for BrpComites.
The code in the pages look like:
try{
ApplicationModule am = Util.getAppModule("ModuloBrp", pageContext);
ViewObject vo = am.findViewObject("BrpInmueblesView");
Row row = vo.createRow(); --so here is the problem
Sorry for my poor English.
thanks in advance...
Jhon Lspez

Jhon:
I need the stack trace (including that of the detail exception) to diagnose the problem.
Could you post the exception stack stack trace, so that I can look into it?
To get the exception stack, turn on diagnostic:
To turn on diagnostic, go to the IDE,
1. Select the project.
2. Do right mouse click and select "Project Settings..."
3. On the Settings dialog, select Configurations/Runner.
4. In the righthand side pane, you should see a textbox for "Java
Options". Please add the following JVM switch:
-Djbo.debugoutput=console
Then, rerun. The run command should include
-Djbo.debugoutput=console as in
"D:\JDev9i\jdk\bin\javaw.exe" -Djbo.debugoutput=console -classpath ...
Or, if you are running your test program from command prompt, add -Djbo.debugoutput=console to your java invocation as in:
java -Djbo.debugoutput=console ...
Thanks.
Sung

Similar Messages

  • 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

  • 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

  • Migrate from JDeveloper 11.1.1.3 to 11.1.2

    Hi,
    Previously I was using Jdeveloper 11.1.1.3 .I installed 11.1.2 and opened my application . When i compiled it i got this error
    Error: An unreported error occurred in Appc. No errors were reported, but the tool returned a failure result code: 1.
    What might be wrong?
    Thanks,
    Priya.
    Edited by: Priya on Jun 22, 2011 1:22 AM

    Priya,
    can you create a test case (an 11.1.1.3 app that produces this error when migrated to 11.1.2) ? A simple sample that allows to reproduce the problem ? If you need to find a solution quickly then I suggest to file a SR with customer support. If this solution has time, then I can have a look as well. Note that the test case should be the working 11.1.1.3 version, not the 11.1.2 version that doesn't work
    Frank
    Edited by: Frank Nimphius on Aug 19, 2011 1:28 PM

  • 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}

  • RowKeySet error after migrating to Jdeveloper 11.1.2

    We migrated our applications from Jdev 11.1.1.5 to 11.1.2. We encounter several issues. For some of them we found work around. Not for this one though.
    Consider a jsff page with a table. A commandLink inside a column has to call a popup.
    We get the error whenever we call a taskflow in an inline popup that contains a jsf page.The error does NOT occur if the popup is part of the page (showPopupBehavior).
    The error shows only in console and even it does not cause crash, it sounds dangerous.
    Code extracts:
    this is causing the error:
    <af:column sortProperty="BreakdownSupName" sortable="true" headerText="Name" id="c19">
    <af:commandImageLink text="#{row.BreakdownSupName}" id="cilEditBv" partialSubmit="true"
    action="editNonContractVendor" useWindow="true"
    windowEmbedStyle="inlineDocument" windowHeight="435" windowWidth="500"
    returnListener="#{backingBeanScope.vendorManagerBackingBean.editBreakdownVendorCommandImageLink_ReturnListener}">
    <af:setPropertyListener from="#{row.BreakdownSupId}" to="#{pageFlowScope.supId}"
    type="action"/>
    <af:setPropertyListener from="#{pageFlowScope.vendorManagerPageFlow.readOnly}"
    to="#{pageFlowScope.readOnly}" type="action"/>
    </af:commandImageLink>
    </af:column>
    this is Not causing the error:
    <af:column sortProperty="WoNumber" sortable="false" headerText="Reference" id="c1" width="80">
    <af:commandLink text="#{row.WoNumber}" id="cl2" partialSubmit="true"
    rendered="#{row.SupinvtypCode ne 'MISCINV'}">
    <af:showPopupBehavior popupId="::popupROEdit" triggerType="click"/>
    <af:clientAttribute name="completionDate" value="#{row.CompletionDate}"/>
    <af:clientAttribute name="wouniId" value="#{row.WouniId}"/>
    <af:clientAttribute name="worordId" value="#{row.WorordId}"/>
    <af:clientAttribute name="equEquId" value="#{row.EquEquId}"/>
    <af:clientAttribute name="repinvstaCode" value="#{row.RepinvstaCode}"/>
    </af:commandLink>
    </af:column>
    here is the error in the console:
    <RowKeySetAttributeChange$GetOldValueAndUpdate> <_updateKeySet> Failed to apply row key set attribute change. Reason : {1}
    java.lang.NullPointerException
         at oracle.jbo.uicli.binding.JUCtrlHierNodeBinding.<init>(JUCtrlHierNodeBinding.java:212)
         at oracle.adfinternal.view.faces.model.binding.FacesCtrlHierNodeBinding.<init>(FacesCtrlHierNodeBinding.java:71)
         at oracle.adfinternal.view.faces.model.binding.FacesCtrlHierBinding.createNodeBinding(FacesCtrlHierBinding.java:104)
         at oracle.jbo.uicli.binding.JUCtrlHierBinding.createRootBinding(JUCtrlHierBinding.java:410)
         at oracle.jbo.uicli.binding.JUCtrlHierBinding.getRootNodeBinding(JUCtrlHierBinding.java:97)
         at oracle.adfinternal.view.faces.model.binding.FacesCtrlHierBinding$HierCurrencyRowKeySet.getRowIterator(FacesCtrlHierBinding.java:1421)
         at oracle.adfinternal.view.faces.model.binding.CurrencyRowKeySet._computeCurrentRowKey(CurrencyRowKeySet.java:125)
         at oracle.adfinternal.view.faces.model.binding.CurrencyRowKeySet.iterator(CurrencyRowKeySet.java:41)
         at java.util.AbstractCollection.addAll(AbstractCollection.java:303)
         at org.apache.myfaces.trinidad.change.RowKeySetAttributeChange$GetOldValueAndUpdate._updateKeySet(RowKeySetAttributeChange.java:136)
         at org.apache.myfaces.trinidad.change.RowKeySetAttributeChange$GetOldValueAndUpdate.invokeContextCallback(RowKeySetAttributeChange.java:117)
         at org.apache.myfaces.trinidad.component.UIXCollection.invokeOnComponent(UIXCollection.java:1170)
         at oracle.adf.view.rich.component.rich.data.RichTable.invokeOnComponent(RichTable.java:620)
         at org.apache.myfaces.trinidad.component.UIXComponentBase.invokeOnChildrenComponents(UIXComponentBase.java:1627)
         at org.apache.myfaces.trinidad.component.UIXComponentBase.invokeOnComponent(UIXComponentBase.java:1750)
         at org.apache.myfaces.trinidad.component.UIXComponentBase.invokeOnChildrenComponents(UIXComponentBase.java:1627)
         at org.apache.myfaces.trinidad.component.UIXComponentBase.invokeOnComponent(UIXComponentBase.java:1750)
         at org.apache.myfaces.trinidad.component.UIXComponentBase.invokeOnChildrenComponents(UIXComponentBase.java:1627)
         at org.apache.myfaces.trinidad.component.UIXComponentBase.invokeOnComponent(UIXComponentBase.java:1750)
         at org.apache.myfaces.trinidad.component.UIXComponentBase.invokeOnChildrenComponents(UIXComponentBase.java:1627)
         at org.apache.myfaces.trinidad.component.UIXComponentBase.invokeOnComponent(UIXComponentBase.java:1750)
         at org.apache.myfaces.trinidad.component.UIXComponentBase.invokeOnChildrenComponents(UIXComponentBase.java:1627)
         at org.apache.myfaces.trinidad.component.UIXComponentBase.invokeOnComponent(UIXComponentBase.java:1750)
         at org.apache.myfaces.trinidad.component.UIXComponentBase.invokeOnChildrenComponents(UIXComponentBase.java:1627)
         at org.apache.myfaces.trinidad.component.UIXComponentBase.invokeOnComponent(UIXComponentBase.java:1750)
         at org.apache.myfaces.trinidad.component.UIXComponentBase.invokeOnChildrenComponents(UIXComponentBase.java:1627)
         at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent.invokeOnComponent(ContextSwitchingComponent.java:222)
         at org.apache.myfaces.trinidad.component.UIXComponentBase.invokeOnChildrenComponents(UIXComponentBase.java:1627)
         at org.apache.myfaces.trinidad.component.UIXComponentBase.invokeOnComponent(UIXComponentBase.java:1750)
         at org.apache.myfaces.trinidad.component.UIXComponentBase.invokeOnChildrenComponents(UIXComponentBase.java:1627)
         at org.apache.myfaces.trinidad.component.UIXComponentBase.invokeOnComponent(UIXComponentBase.java:1750)
         at org.apache.myfaces.trinidad.component.UIXComponentBase.invokeOnChildrenComponents(UIXComponentBase.java:1627)
         at oracle.adf.view.rich.component.fragment.UIXInclude.invokeOnComponent(UIXInclude.java:161)
         at org.apache.myfaces.trinidad.component.UIXComponentBase.invokeOnChildrenComponents(UIXComponentBase.java:1627)
         at org.apache.myfaces.trinidad.component.UIXComponentBase.invokeOnNamingContainerComponent(UIXComponentBase.java:1693)
         at oracle.adf.view.rich.component.fragment.UIXRegion.invokeOnComponent(UIXRegion.java:625)
         at org.apache.myfaces.trinidad.component.UIXComponentBase.invokeOnChildrenComponents(UIXComponentBase.java:1627)
         at org.apache.myfaces.trinidad.component.UIXComponentBase.invokeOnComponent(UIXComponentBase.java:1750)
         at org.apache.myfaces.trinidad.component.UIXComponentBase.invokeOnChildrenComponents(UIXComponentBase.java:1627)
         at org.apache.myfaces.trinidad.component.UIXComponentBase.invokeOnComponent(UIXComponentBase.java:1750)
         at org.apache.myfaces.trinidad.component.UIXComponentBase.invokeOnChildrenComponents(UIXComponentBase.java:1627)
         at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent.invokeOnComponent(ContextSwitchingComponent.java:222)
         at org.apache.myfaces.trinidad.component.UIXComponentBase.invokeOnChildrenComponents(UIXComponentBase.java:1627)
         at org.apache.myfaces.trinidad.component.UIXComponentBase.invokeOnComponent(UIXComponentBase.java:1750)
         at org.apache.myfaces.trinidad.component.UIXComponentBase.invokeOnChildrenComponents(UIXComponentBase.java:1627)
         at org.apache.myfaces.trinidad.component.UIXComponentBase.invokeOnComponent(UIXComponentBase.java:1750)
         at org.apache.myfaces.trinidad.component.UIXComponentBase.invokeOnChildrenComponents(UIXComponentBase.java:1627)
         at oracle.adf.view.rich.component.fragment.UIXInclude.invokeOnComponent(UIXInclude.java:161)
         at org.apache.myfaces.trinidad.component.UIXComponentBase.invokeOnChildrenComponents(UIXComponentBase.java:1627)
         at org.apache.myfaces.trinidad.component.UIXComponentBase.invokeOnComponent(UIXComponentBase.java:1750)
         at org.apache.myfaces.trinidad.component.UIXComponentBase.invokeOnChildrenComponents(UIXComponentBase.java:1627)
         at org.apache.myfaces.trinidad.component.UIXComponentBase.invokeOnComponent(UIXComponentBase.java:1750)
         at org.apache.myfaces.trinidad.component.UIXDocument.invokeOnComponent(UIXDocument.java:106)
         at javax.faces.component.UIComponent.invokeOnComponent(UIComponent.java:1299)
         at javax.faces.component.UIComponentBase.invokeOnComponent(UIComponentBase.java:677)
         at org.apache.myfaces.trinidad.change.RowKeySetAttributeChange._updateRowKeySetInPlace(RowKeySetAttributeChange.java:86)
         at org.apache.myfaces.trinidad.change.RowKeySetAttributeChange.changeComponent(RowKeySetAttributeChange.java:53)
         at org.apache.myfaces.trinidad.change.SessionChangeManager._applyComponentChanges(SessionChangeManager.java:399)
         at org.apache.myfaces.trinidad.change.SessionChangeManager.applyComponentChangesForCurrentView(SessionChangeManager.java:73)
         at org.apache.myfaces.trinidadinternal.application.ViewDeclarationLanguageFactoryImpl$ChangeApplyingVDLWrapper.buildView(ViewDeclarationLanguageFactoryImpl.java:343)
         at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._renderResponse(LifecycleImpl.java:982)
         at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._executePhase(LifecycleImpl.java:334)
         at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:232)
         at javax.faces.webapp.FacesServlet.service(FacesServlet.java:313)
         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:300)
         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:173)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.adfinternal.view.faces.webapp.rich.RegistrationFilter.doFilter(RegistrationFilter.java:122)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:468)
         at oracle.adfinternal.view.faces.activedata.AdsFilter.doFilter(AdsFilter.java:60)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:468)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._doFilterImpl(TrinidadFilterImpl.java:293)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl.doFilter(TrinidadFilterImpl.java:199)
         at org.apache.myfaces.trinidad.webapp.TrinidadFilter.doFilter(TrinidadFilter.java:92)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.adf.library.webapp.LibraryFilter.doFilter(LibraryFilter.java:180)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.security.jps.ee.http.JpsAbsFilter$1.run(JpsAbsFilter.java:111)
         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.runJaasMode(JpsAbsFilter.java:94)
         at oracle.security.jps.ee.http.JpsAbsFilter.doFilter(JpsAbsFilter.java:161)
         at oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:71)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.dms.servlet.DMSServletFilter.doFilter(DMSServletFilter.java:136)
         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.wrapRun(WebAppServletContext.java:3715)
         at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3681)
         at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
         at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)
         at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2277)
         at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2183)
         at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1454)
         at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
         at weblogic.work.ExecuteThread.run(ExecuteThread.java:178)
    I appreciate any input on this issue.
    Thank you,
    Monica

    After more investigations I have more details:
    1. the error does not occur if the base table does not have rowSelection=”single”
    2. the error does not occur if the base table has rowSelection=”single” but the popup is raised with showPopupBehavior
    3. the error only occurs when the base table has rowSelection=”single” and we call the popup as inline popup (taskFlow with jsf page)
    I could not reproduce the error on a newly created application in Jdevelope 11.1.2.1, it only happens to migrated applications.
    We can not give up to rowSelection=”single” because of master-detail structures.
    Thank you,
    Monica

  • 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

  • Problems starting project after migrating to JDeveloper 11

    Hello,
    when starting a my project via Webstart a Exception appears.
    I have an application created in JDeveloper 10 using Java 1.5. Now we have to change to java version 1.6,
    so i tried the following steps:
    1.     install JDeveloper 11 120
    2.     install Java 1.6
    3.     migrate BC4J/ADF project in JDev 11 (automatically)
    4.     fix some problems that occured with java 1.6 after starting the programm
    5.     build two jar files, one containing the project files, one containing the libraries
    6.     used tomcat 6 to start the project with a jnlp file from ROOT directory
    7.     the login appears but after using submit the following problem appears
         (the problem didn't appear when starting the project in JDev):
    15.12.2011 08:57:30 oracle.adf.share.config.ADFConfigFactory findOrCreateADFConfig
    INFO: oracle.adf.share.config.ADFConfigFactory Reading META-INF/adf-config.xml
    Parameter EnvInfoProvider is NOT instanceof 'EnvInfoProviderImpl'
    JBO-30003: Der Anwendungs-Pool (com.trivadis.eis.dbmodel.DBModelModuleLocal) konnte aufgrund folgender Exception kein Anwendungsmodul auschecken:
    oracle.jbo.JboException: JBO-29000: JBO-29000: JBO-29000: JBO-26061: Fehler beim Öffnen von JDBC-Verbindung.
    at oracle.jbo.common.ampool.ApplicationPoolImpl.doCheckout(ApplicationPoolImpl.java:2002)
    at oracle.jbo.common.ampool.ApplicationPoolImpl.useApplicationModule(ApplicationPoolImpl.java:2793)
    at oracle.jbo.common.ampool.SessionCookieImpl.useApplicationModule(SessionCookieImpl.java:453)
    at oracle.jbo.common.ampool.SessionCookieImpl.useApplicationModule(SessionCookieImpl.java:424)
    at oracle.jbo.common.ampool.SessionCookieImpl.useApplicationModule(SessionCookieImpl.java:419)
    at oracle.adf.model.bc4j.DataControlFactoryImpl.createSession(DataControlFactoryImpl.java:271)
    at oracle.jbo.uicli.mom.JUMetaObjectManager.createDataControl(JUMetaObjectManager.java:668)
    at oracle.jbo.uicli.mom.JUMetaObjectManager.createApplicationObject(JUMetaObjectManager.java:600)
    at moenkemoeller.eis.CESIApp.setupBC4JApplication(CESIApp.java:304)
    at moenkemoeller.eis.CESIApp.<init>(CESIApp.java:89)
    at moenkemoeller.eis.CESIApp.main(CESIApp.java:356)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
    at java.lang.reflect.Method.invoke(Unknown Source)
    at com.sun.javaws.Launcher.executeApplication(Unknown Source)
    at com.sun.javaws.Launcher.executeMainClass(Unknown Source)
    at com.sun.javaws.Launcher.doLaunchApp(Unknown Source)
    at com.sun.javaws.Launcher.run(Unknown Source)
    at java.lang.Thread.run(Unknown Source)
    ## Detail 0 ##
    oracle.jbo.JboException: JBO-29000: JBO-29000: JBO-26061: Fehler beim Öffnen von JDBC-Verbindung.
    at oracle.jbo.pool.ResourcePool.useResource(ResourcePool.java:336)
    at oracle.jbo.server.ConnectionPool.getConnectionInternal(ConnectionPool.java:87)
    at oracle.jbo.server.ConnectionPool.getConnection(ConnectionPool.java:66)
    at oracle.jbo.server.ConnectionPoolManagerImpl.getConnection(ConnectionPoolManagerImpl.java:56)
    at oracle.jbo.server.DBTransactionImpl.establishNewConnection(DBTransactionImpl.java:915)
    at oracle.jbo.server.DBTransactionImpl.initTransaction(DBTransactionImpl.java:1160)
    at oracle.jbo.server.DBTransactionImpl.initTxn(DBTransactionImpl.java:5910)
    at oracle.jbo.server.DBTransactionImpl2.connect(DBTransactionImpl2.java:120)
    at oracle.jbo.common.ampool.DefaultConnectionStrategy.connect(DefaultConnectionStrategy.java:194)
    at com.trivadis.eis.client.ConnectionStrategyImpl.connect(ConnectionStrategyImpl.java:22)
    at oracle.jbo.server.ApplicationPoolMessageHandler.doPoolConnect(ApplicationPoolMessageHandler.java:478)
    at oracle.jbo.server.ApplicationPoolMessageHandler.doPoolMessage(ApplicationPoolMessageHandler.java:367)
    at oracle.jbo.server.ApplicationModuleImpl.doPoolMessage(ApplicationModuleImpl.java:7777)
    at oracle.jbo.common.ampool.ApplicationPoolImpl.sendPoolMessage(ApplicationPoolImpl.java:4074)
    at oracle.jbo.common.ampool.ApplicationPoolImpl.prepareApplicationModule(ApplicationPoolImpl.java:2161)
    at oracle.jbo.common.ampool.ApplicationPoolImpl.doCheckout(ApplicationPoolImpl.java:1961)
    at oracle.jbo.common.ampool.ApplicationPoolImpl.useApplicationModule(ApplicationPoolImpl.java:2793)
    at oracle.jbo.common.ampool.SessionCookieImpl.useApplicationModule(SessionCookieImpl.java:453)
    at oracle.jbo.common.ampool.SessionCookieImpl.useApplicationModule(SessionCookieImpl.java:424)
    at oracle.jbo.common.ampool.SessionCookieImpl.useApplicationModule(SessionCookieImpl.java:419)
    at oracle.adf.model.bc4j.DataControlFactoryImpl.createSession(DataControlFactoryImpl.java:271)
    at oracle.jbo.uicli.mom.JUMetaObjectManager.createDataControl(JUMetaObjectManager.java:668)
    at oracle.jbo.uicli.mom.JUMetaObjectManager.createApplicationObject(JUMetaObjectManager.java:600)
    at moenkemoeller.eis.CESIApp.setupBC4JApplication(CESIApp.java:304)
    at moenkemoeller.eis.CESIApp.<init>(CESIApp.java:89)
    at moenkemoeller.eis.CESIApp.main(CESIApp.java:356)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
    at java.lang.reflect.Method.invoke(Unknown Source)
    at com.sun.javaws.Launcher.executeApplication(Unknown Source)
    at com.sun.javaws.Launcher.executeMainClass(Unknown Source)
    at com.sun.javaws.Launcher.doLaunchApp(Unknown Source)
    at com.sun.javaws.Launcher.run(Unknown Source)
    at java.lang.Thread.run(Unknown Source)
    ... (several more identical "oracle.jbo.JboException: JBO-29000: JBO-29000: JBO-29000: JBO-26061: Fehler beim Öffnen von JDBC-Verbindung."-Exceptions
    Trace message truncated for length over 10K
    #### Java Web Start Error:
    #### JBO-30003: Der Anwendungs-Pool (com.trivadis.eis.dbmodel.DBModelModuleLocal) konnte aufgrund folgender Exception kein Anwendungsmodul auschecken:
    15.12.2011 08:57:48 oracle.adf.share.config.ADFConfigFactory findOrCreateADFConfig
    INFO: oracle.adf.share.config.ADFConfigFactory No META-INF/adf-config.xml found
    We tried several solutions, found on various forums:
    1. copy adf-config.xml to every META-INF-directory
    2. add "-Djps.app.credential.overwrite.allowed=true" to the jnlp-file
    3.
    but none of this solved the problem.
    Any Help or suggestion would be highly appreciated.
    Thanks, Stefan.

    It would seem that the AM tries to open a connection, but cannot.
    Don't think that the adf-config.xml is of vital importance, our Swing application has none either.
    You could enable the JBO debug output (-Djbo.debugoutput=console). That output should give you a fairly good idea of what's going on.
    Sascha

  • Migrate to JDeveloper 11 Technology Preview 2

    Hi,
    I just downloaded JDeveloper 11 Technology Preview 2 . Now I tried to migrate my project from Jdev 10.1.3 bit that give an error saying only that it could not migrate the project.
    Does migration normally work? And how can I get more information about the error's during the migration?

    If I migrate, will my project have the new richclient look and feel like here?:
    http://www.oracle.com/technology/products/adf/adffaces/11/doc/multiproject/adf-richclient-api/enhanced-tagdoc.html

  • Migrating from Jdeveloper 11

    I am having to many issues with jdeveloper. Is there any way to migrate my project to an earlier release?

    Not directly, and depending on the specific technologies you used this might actually be impossible.
    But you can try to create a new project in JDeveloper 10g using the "project from existing source" wizard.
    Just make sure to take a full backup of your code before any such trials.

  • Migrate Application Jdeveloper 11.1.1.0.2 to 11.1.2.2.0 - won´t compile

    Hi,
    I'm trying to migrate my application from JDev 11.1.1.0.2 to 11.1.2.2.0 but even after Jdev migrate to new version, the application won't compile correct. Seems that some classes wont recognize dependecies from other package. If i have a class in Web that import a class from Model, in compile time the console give me this kind a error: "package 'xxx.yyy.www' does not exist". If i open any class that gave me this error there isn't any warning or red line showing errors, in the line of the import i can use Ctrl + right click and go to the class without problems. The dependecies between projects (web, model and ejb) are correct. I dont know what is, any help will be appreciated.
    Thanks in advance,
    Alexandre Rocco.

    Hi
    I am facing the same problem when migrating from JDev 11.1.1.4.0 to JDev 11.1.2.2.0. Any idea?
    Regards,
    Ferez

  • Toplink JPA 2.0  migration in JDeveloper 11.1.1.2.0

    I would like to used Toplink JPA 2.0 in JDeveloper 11g, how to update toplink_111120_en.zip in JDeveloper IDE.? Even I added eclipselink and JPA 2.0 spec lib into classpath, I am still getting compile time error on orphanRemoval attribute in OneToMany annotation.

    Hi,
    I am not clear on the requirement.Let me know if my understanding is correct.
    You have a created a JPA project in Toplink Workbench and want to reuse the work in JDeveloper.
    If the above is correct,open the JDeveloper(PS3 release) and use the File-import-TopLinkworkbenchProject and select the application workspce created in TWB.
    Regards,
    Vinay

  • Oracle Forms migration to JDeveloper

    Hi everybody,
    We got here a large pool of Oracle Forms and PL/SQL savvy resources. They mainly use Oracle Designer to generate Oracle Forms applications. Occasionnaly, they tweak the generated forms with PL/SQL triggers to adapt the application for special needs.
    Now, they would like to go towards applications with HTML front-ends. With the advent of JDeveloper 10g (9.0.5), it might be the right time. With the ADF framework, screen painter, design time components, etc... there should be an easier learning curve for people with no java experience. Yes, we expect a couple of guys that should be very Java savvy but it should not be required for the entire pool of developer resources.
    Personnaly, I investigate the business tier (or data tier) to identify changes in the development methodology required to address the java environment.
    Currently, a good part of the business rules are defined within the database through the use of triggers. Should it stay the same with the use of ADF BC4J ? I mean, is there some situations where some kind of business logic or validation should reside within the BC4J model for the sake of performance or ease of development with ADF and the design time components? Maybe I should duplicate in java (within BC4J) some kind of validations like we used to do with Oracle Forms (through PL/SQL form triggers) to give the user a better UI response?
    I need some guidelines here.
    Thank you

    Thanks Prasoon for you suggestions.
    We're not heading toward application conversions from Forms to J2EE. Instead, we're thinking development methodology transformation from Designer/Forms to J2EE. But, in the beginning we're trying to minimize the efforts needed to learn the java (and J2EE) complexities. In the middle/long term, the developers should apply the correct techniques to build web applications with the right tools and proven J2EE standards.
    Right now, we're looking at the Designer ADF Business Components Generator comming with JDeveloper 10g to see to what extent we can reproduce in BC4J what we can define in Designer for a module. In the first time, we intend to continue module definitions in Designer (instead of UML Activity or Class diagram). That part should sufice for the database definition and the model layer. For the view layer, I think that the new screen painter in JDeveloper can be used the same way the developers used the screen designer in Oracle Designer. That leaves the Struts Page Flow for the controler layer.
    We know that JDeveloper has not evolved yet to the level of what Oracle Designer can do. There is a certain amount of stepping back in the design of an application. But we think we must step in the J2EE world some day and maybe JDeveloper 10g give us that opportunity. After further evaluation, if we think the gap is too large, maybe we'll wait for a next JDeveloper evolution.
    Yves

  • 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

Maybe you are looking for

  • Logic Pro 9.1.8 + Mountain Lion 10.8.2 - Frequently crashes when using plug-ins

    I'm really hoping someone can help. I suspect this problem is new since I can't find a definitive answer. When using the third party plug-in Superior Drummer 2, Logic Pro 9.1.8 frequently crashes giving problem report 'Logic Pro quit unexpectedly whi

  • Problems with adding loops

    Hey I had my Mac for awhile now (Mac Mini) and I just upgraded to Leopard a few day ago. I'm having problems transferring loops onto the loop index..I tried the drag and drop and sometimes only a few get through but not all. And when I try again a pr

  • Nav Buttons

    On my work page the nav bar looks perfect. when i view in safari or netscape, the nav bar buttons have small spaces between them. Anybody know why? thanks.

  • UI Bean Input Length Validation

    We use a Flex Bean in our Page <oa:flex id="EgoCatalogGroupKeyFlex" flexStyle="key" flexFieldAppShortName="INV" flexName="MICG" viewName="EgoCatalogGroupsVO"/> We are facing issues with Inputting Multibyte Characters through the UI , ie : when we giv

  • Linking a chm file

    hello, i have a little help file. i like to link the chm file from inside the programm. usually i use Runtime.. to launch an appropriate prog.. what is a common way for a chm file ? marco