Testing application module in jdeveloper 9.0.2

I have created the following view:
create or replace view emp_dept_vw
( empno, ename, job, hiredate, sal, comm, mgr, mgrname, deptno, deptname) as select
e.empno, e.ename, e.job, e.hiredate, e.sal, e.comm, m.mgr, m.ename, d.deptno, d.dname
from emp e
, emp m
, dept d
where e.mgr = m.empno and m.mgr is not null and e.mgr is not null and e.deptno = d.deptno
i have created an entity object with wizard within jdeveloper9i
i have created an view object with wizard within jdeveloper9i
i have created an application module with wizard.
Problem:
while testing the application module i saw that the application module does not retrieve any rows
instead of 14 rows wich the view returns in sqlplus(Oracle8i EE release 8.1.7.2.0)
my emp looks like this:
EMPNO ENAME JOB MGR HIREDATE SAL COMM DEPTNO
7369 SMITH CLERK 7902 17-12-80 800 20
7499 ALLEN SALESMAN 7782 20-02-81 1600 300 30
7521 WARD SALESMAN 7782 22-02-81 1250 500 30
7566 JONES MANAGER 7902 02-04-81 2975 20
7654 MARTIN SALESMAN 7782 28-09-81 1250 1400 30
7782 Jan MANAGER 7902 09-06-81 2450 10
7788 SCOTT ANALYST 7566 09-12-82 3000 20
7839 KING PRESIDENT 17-11-81 5000 10
7844 TURNER SALESMAN 7782 08-09-81 1500 0 30
7876 ADAMS CLERK 7788 12-01-83 1100 20
7900 JAMES CLERK 7782 03-12-81 950 30
7902 FORD ANALYST 7566 03-12-81 3000 20
7934 MILLER CLERK 7782 23-01-82 1300 10
9000 Kees MANAGER

Hi,
You can switch to US english by modifying ${jdev.home}/jdev/bin/jdev.conf and adding the following two lines:
AddVMOption -Duser.lang=en
AddVMOption -Duser.region=USThanks,
Brian
JDev Team

Similar Messages

  • Error during testing Application Module in JDeveloper 11.1.1 Tech Preview 3

    I am successfully using Jdeveloper 10.1.3 version
    now i am trying to use new JDeveloper version 11.1.1 but i am initially get this error while i am trying to test my buisness components.
    When i test my buisness components first time i got this error
    ORA-01866: the datetime class is invalid
    and on same window when i click on re-execute query on context menu of any view object it gives an proper output.
    so plz try and find the solution i am stuck up here,
    how can i go ahead when initially buisness component want work ??
    Thank In Advance
    Jaydip Bosamiya

    Hi,
    are you running an application you migrated from 10.1.3 to 11, or is it one that you created in JDeveloper 11. If its a migration case, can you try and re-create the part of the module in JDeveloper 11 to see if this reproduces. To me this sounds like a migration issue. Once you verified this, can you post the reply on JDeveloper and OC4J 11g Technology Preview
    which is the JDeveloper 11 forum?
    Frank

  • Error while testing Application Module Jdeveloper 10.1.3.4

    Hello everybody..
    I´m facing an error when I try to test the application Module.
    Due the version of the application server, I´ve changed the java version from 1.5.0 to 1.4.2. However, if a right click on appModule and click and test
    is shows the error
    oracle.jbo.common.ampool.ApplicationPoolException: JBO-30003: The application pool (model.AppModuleLocal) failed to checkout an
    JBO-30003: O pool de aplicações (.1222C99D82D) failed to checkout an application module due to the following exception:
    oracle.jbo.JboException: JBO-29000: JBO-29000: oracle/comercial/datamodel/ComPublicServiceImpl (Unsupported major.minor version 49.0)
    have anyone facing this problem??
    Thanks
    Willian

    Hi Willian,
    Did you set up your "Model" Project to use the JDK 1.4 and rebuild the application ?
    See " [Deploying to Application Servers That Support JDK 1.4|http://tinyurl.com/lfc6kc] "
    Regards,
    Didier.

  • No suitable driver - testing Application Module

    I'm using the AVEconnect JDBC Driver which I've registered successfully with the IDE as well as placed in my ClassPath.
    I've created entity and view objects using the aforementioned driver and placed them in an application module. To verify the application module, I right click on it and choose "test"... the resulting debug information in the console window shows a "no suitable driver" error.
    No changes have been made to the IDE generated code.
    What else should I check?

    I believe that neither MySQL nor PostgreSQL will work with BC4J as they currently stand. I did my testing with JDev9i, but I would imagine that the issues are the same (and even if you got something working, you'd never get it to work in JDev9i).
    Basically, neither database has all the SQL features that JDev9i relies on - including subqueries (sub-selects) and Savepoints (for partial rollbacks). PostgreSQl has most of the features, but poorly implemented drivers at this time. Its updatable resultset implementation is woefully incomplete as it now stands, but I'm not sure how necessary that is for BC4J (I could't get that far in testing).
    As somebody mentioned to me in an email afterwards, MySQL may have almost enough features sometime after v4.02 (4.0 is now in Alpha), with the exception of Savepoints (it might be possible to modify the driver to work around that issue - just ignoring the savepoint might work so long as you never have database commit problems). They talk about implementing subqueries, foreign keys, and some other things they'd need to work well with JDev and BC4J. But I bet this stuff is 6-12 months away.
    For more technical info, see my reply to posting '
    re:Again: SqlException - Creating a ViewObject' by
    Stefanie Tvlke a few days ago.

  • Error when generating Web Services Proxy for SCA Application Module

    Hello,
    I'm trying to create Web Services for a simple Application Module with JDeveloper 11g (11.1.1.3.0).
    I start a new ADF Project, I create an Application Module as simple as possible : it contains only a simple View Object on the DEPT Entity.
    On my Application Module, I choose "Service Interface" and I add my View Object in the service interface.
    I test my Web Service in the Embedded Weblogic Server, it works well. (I succeed in using the Get operation, for example).
    But when I try to generate a Web Service proxy (right-click on the WSDL File -> Generate Web Service Proxy), It always fail with such errors :
    oracle.jdeveloper.webservices.tools.WsdlValidationException: Error creating model from wsdl "file:/C:/JDeveloper/mywork/ApplicationAppelServiceSCA/Model/src/model/common/AppModuleService.wsdl": 'unset' is already defined'Bytes' is already defined'ref' is already defined'Duration' is already defined'Types' is already defined'Character' is already defined'type' is already defined'Day' is already defined'nestedInterfaces' is already defined'Date' is already defined'datagraph' is already defined'Type' is already defined'Integer' is already defined'ModelsType' is already defined'ChangeSummaryType' is already defined'instanceClass' is already defined'Month' is already defined'DataObject' is already defined'javaClass' is already defined'LongObject' is already defined'DateTime' is already defined'dataObject' is already defined'YearMonth' is already defined'ShortObject' is already defined'Long' is already defined'types' is already defined'JavaInfo' is already defined'IntObject' is already defined'Boolean' is already defined'DoubleObject' is already defi...
    Can someone help me to understand this error ?
    i never manually edited the WSDL File, so I don't understand why the generated WSDL or XSD files might contain errors.
    Thanks for your Help,
    Laurent

    We have the same problem, and the problem was in the xsd import:
    The wdsl import a schema that import other schema, the second import use a relative path, that was wrong.
    So check the xsd import sequence....

  • Application Module Security

    I am trying to set security on the application module Using jDeveloper 10.1.2 and oracle db 9.2.
    Currently testing from the embedded oc4j and a standalone oc4j.
    Created an application module to a db table and named it CountryAppModule.
    The application module successfully tested using the projects default Business Component Name.
    The application module also tested successfully using the Business Component Name "CountriesAppModuleLocal".
    I then set the jbo.security.enforce application module property to "Must".
    The application module is re-tested using the Business Component Name "CountriesAppModuleLocal".
    A dialog window prompts for user and password.
    Then login using the default user/456 and the below error is generated:
    JBO-30003: The application pool (Cuma.model.cumaStateModuleLocal) failed to checkout an application module due to the following exception:oracle.jbo.JboException: JBO-29000: Unexpected exception caught: oracle.jbo.JboException, msg=JBO-33021: Failed authenticate user null     at oracle.jbo.JboException.<init>(JboException.java:343)     at oracle.jbo.common.ampool.ApplicationPoolImpl.doCheckout(ApplicationPoolImpl.java:1772)     at oracle.jbo.common.ampool.ApplicationPoolImpl.useApplicationModule(ApplicationPoolImpl.java:2611)     at oracle.jbo.common.ampool.SessionCookieImpl.useApplicationModule(SessionCookieImpl.java:441)     at oracle.jbo.http.HttpSessionCookieImpl.useApplicationModule(HttpSessionCookieImpl.java:230)     at oracle.jbo.common.ampool.SessionCookieImpl.useApplicationModule(SessionCookieImpl.java:411)     at oracle.jbo.common.ws.WSApplicationModuleImpl.createWorkerApplicationModule(WSApplicationModuleImpl.java:2457)     at oracle.jbo.common.ws.WSApplicationModuleImpl.getCustomApplicationModule(WSApplicationModuleImpl.java:2416)     at oracle.adf.model.bc4j.DCJboDataControl.setDataProvider(DCJboDataControl.java:1429)     at oracle.adf.model.bc4j.DCJboDataControl.setApplicationModule(DCJboDataControl.java:200)     at oracle.adf.model.bc4j.DCJboDataControl.<init>(DCJboDataControl.java:171)     at oracle.jbo.uicli.binding.JUApplication.<init>(JUApplication.java:90)     at oracle.jbo.uicli.binding.JUApplication.<init>(JUApplication.java:81)     at oracle.adf.model.bc4j.DataControlFactoryImpl.createSession(DataControlFactoryImpl.java:256)     at oracle.adf.model.binding.DCDataControlReference.getDataControl(DCDataControlReference.java:63)     at oracle.adf.model.BindingContext.get(BindingContext.java:411)     at oracle.adf.model.binding.DCUtil.findSpelObject(DCUtil.java:228)     at oracle.adf.model.binding.DCUtil.findContextObject(DCUtil.java:308)     at oracle.adf.model.binding.DCIteratorBinding.<init>(DCIteratorBinding.java:127)     at oracle.jbo.uicli.binding.JUIteratorBinding.<init>(JUIteratorBinding.java:59)     at oracle.jbo.uicli.binding.JUIteratorDef.createIterBinding(JUIteratorDef.java:58)     at oracle.jbo.uicli.binding.JUIteratorDef.createIterBinding(JUIteratorDef.java:47)     at oracle.adf.model.binding.DCBindingContainerDef.createIterBindings(DCBindingContainerDef.java:197)     at oracle.adf.model.binding.DCBindingContainerDef.createBindingContainer(DCBindingContainerDef.java:273)     at oracle.adf.model.binding.DCBindingContainerReference.getBindingContainer(DCBindingContainerReference.java:40)     at oracle.adf.model.BindingContext.get(BindingContext.java:427)     at oracle.adf.model.binding.DCUtil.findSpelObject(DCUtil.java:228)     at oracle.adf.model.binding.DCUtil.findContextObject(DCUtil.java:308)     at oracle.adf.model.binding.DCUtil.findBindingContainer(DCUtil.java:536)     at oracle.adf.controller.lifecycle.LifecycleContext.initialize(LifecycleContext.java:121)     at oracle.adf.controller.lifecycle.LifecycleContext.initialize(LifecycleContext.java:77)     at oracle.adf.controller.struts.actions.DataActionContext.initialize(DataActionContext.java:48)     at oracle.adf.controller.struts.actions.DataAction.execute(DataAction.java:150)     at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:484)     at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:274)     at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1485)     at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:509)     at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)     at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)     at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.0)].server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:65)     at oracle.security.jazn.oc4j.JAZNFilter.doFilter(Unknown Source)     at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.0)].server.http.EvermindFilterChain.doFilter(EvermindFilterChain.java:16)     at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:239)     at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.0)].server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:645)     at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.0)].server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:322)     at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.0)].server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:790)     at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.0)].server.http.HttpRequestHandler.run(HttpRequestHandler.java:270)     at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.0)].server.http.HttpRequestHandler.run(HttpRequestHandler.java:112)     at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.0)].util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:192)     at java.lang.Thread.run(Thread.java:534)## Detail 0 ##oracle.jbo.JboException: JBO-33021: Failed authenticate user null     at oracle.jbo.common.UserAznUtil.authenticateUser(UserAznUtil.java:60)     at oracle.jbo.server.ApplicationModuleImpl.prepareSession(ApplicationModuleImpl.java:5893)     at oracle.jbo.server.ApplicationModuleImpl.prepareSession(ApplicationModuleImpl.java:5862)     at oracle.jbo.server.ApplicationModuleImpl.doPoolMessage(ApplicationModuleImpl.java:7584)     at oracle.jbo.common.ampool.ApplicationPoolImpl.sendPoolMessage(ApplicationPoolImpl.java:3923)     at oracle.jbo.common.ampool.ApplicationPoolImpl.prepareApplicationModule(ApplicationPoolImpl.java:1915)     at oracle.jbo.common.ampool.ApplicationPoolImpl.doCheckout(ApplicationPoolImpl.java:1739)     at oracle.jbo.common.ampool.ApplicationPoolImpl.useApplicationModule(ApplicationPoolImpl.java:2611)     at oracle.jbo.common.ampool.SessionCookieImpl.useApplicationModule(SessionCookieImpl.java:441)     at oracle.jbo.http.HttpSessionCookieImpl.useApplicationModule(HttpSessionCookieImpl.java:230)     at oracle.jbo.common.ampool.SessionCookieImpl.useApplicationModule(SessionCookieImpl.java:411)     at oracle.jbo.common.ws.WSApplicationModuleImpl.createWorkerApplicationModule(WSApplicationModuleImpl.java:2457)     at oracle.jbo.common.ws.WSApplicationModuleImpl.getCustomApplicationModule(WSApplicationModuleImpl.java:2416)     at oracle.adf.model.bc4j.DCJboDataControl.setDataProvider(DCJboDataControl.java:1429)     at oracle.adf.model.bc4j.DCJboDataControl.setApplicationModule(DCJboDataControl.java:200)     at oracle.adf.model.bc4j.DCJboDataControl.<init>(DCJboDataControl.java:171)     at oracle.jbo.uicli.binding.JUApplication.<init>(JUApplication.java:90)     at oracle.jbo.uicli.binding.JUApplication.<init>(JUApplication.java:81)     at oracle.adf.model.bc4j.DataControlFactoryImpl.createSession(DataControlFactoryImpl.java:256)     at oracle.adf.model.binding.DCDataControlReference.getDataControl(DCDataControlReference.java:63)     at oracle.adf.model.BindingContext.get(BindingContext.java:411)     at oracle.adf.model.binding.DCUtil.findSpelObject(DCUtil.java:228)     at oracle.adf.model.binding.DCUtil.findContextObject(DCUtil.java:308)     at oracle.adf.model.binding.DCIteratorBinding.<init>(DCIteratorBinding.java:127)     at oracle.jbo.uicli.binding.JUIteratorBinding.<init>(JUIteratorBinding.java:59)     at oracle.jbo.uicli.binding.JUIteratorDef.createIterBinding(JUIteratorDef.java:58)     at oracle.jbo.uicli.binding.JUIteratorDef.createIterBinding(JUIteratorDef.java:47)     at oracle.adf.model.binding.DCBindingContainerDef.createIterBindings(DCBindingContainerDef.java:197)     at oracle.adf.model.binding.DCBindingContainerDef.createBindingContainer(DCBindingContainerDef.java:273)     at oracle.adf.model.binding.DCBindingContainerReference.getBindingContainer(DCBindingContainerReference.java:40)     at oracle.adf.model.BindingContext.get(BindingContext.java:427)     at oracle.adf.model.binding.DCUtil.findSpelObject(DCUtil.java:228)     at oracle.adf.model.binding.DCUtil.findContextObject(DCUtil.java:308)     at oracle.adf.model.binding.DCUtil.findBindingContainer(DCUtil.java:536)     at oracle.adf.controller.lifecycle.LifecycleContext.initialize(LifecycleContext.java:121)     at oracle.adf.controller.lifecycle.LifecycleContext.initialize(LifecycleContext.java:77)     at oracle.adf.controller.struts.actions.DataActionContext.initialize(DataActionContext.java:48)     at oracle.adf.controller.struts.actions.DataAction.execute(DataAction.java:150)     at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:484)     at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:274)     at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1485)     at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:509)     at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)     at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)     at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.0)].server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:65)     at oracle.security.jazn.oc4j.JAZNFilter.doFilter(Unknown Source)     at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.0)].server.http.EvermindFilterChain.doFilter(EvermindFilterChain.java:16)     at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:239)     at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.0)].server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:645)     at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.0)].server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:322)     at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.0)].server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:790)     at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.0)].server.http.HttpRequestHandler.run(HttpRequestHandler.java:270)     at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.0)].server.http.HttpRequestHandler.run(HttpRequestHandler.java:112)     at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.0)].util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:192)     at java.lang.Thread.run(Thread.java:534)

    what this problem mean?

  • Exception while exposing Application Module Methods as Web Service

    Hello Everyone,
    I am working on Jdeveloper 11.1.1.3.0 version and tried to expose one method of application module as web service. To do this, i used "Service Interface" tab of Application module within Jdeveloper and Jdeveloper had generated all interfaces, stubs, code for the Session bean required for web service. I am now trying to "Test Web Service" from the implementation class generated then i am getting this error in Weblogic deployment. Any help/pointers would be highly appreciated.
    I used another installation of Jdeveloper same version at my collegues desktop but getting the same error. Not sure, if this version of Jdeveloper is having issue in exposing application module as web service. I think that database related exception can be ignored as no database call is being made by the application.
    [Running application SalaryControlService on Server Instance IntegratedWebLogicServer...]
    [10:41:26 AM] ---- Deployment started. ----
    [10:41:26 AM] Target platform is (Weblogic 10.3).
    [10:41:27 AM] Retrieving existing application information
    [10:41:27 AM] Running dependency analysis...
    [10:41:27 AM] Deploying 2 profiles...
    [10:41:27 AM] Wrote EJB Module to C:\Documents and Settings\sacggupt\Application Data\JDeveloper\system11.1.1.3.37.56.60\o.j2ee\drs\SalaryControlService\ModelEJB.jar
    [10:41:28 AM] Wrote Enterprise Application Module to C:\Documents and Settings\sacggupt\Application Data\JDeveloper\system11.1.1.3.37.56.60\o.j2ee\drs\SalaryControlService
    [10:41:29 AM] java.lang.NullPointerException
    [10:41:29 AM]      at oracle.j2ee.ws.tools.wsa.jaxws.AssemblerProcessor.getClassNamesFromEjb(AssemblerProcessor.java:180)
    [10:41:29 AM]      at oracle.j2ee.ws.tools.wsa.jaxws.AssemblerProcessor.processEjb(AssemblerProcessor.java:149)
    [10:41:29 AM]      at oracle.j2ee.ws.tools.wsa.jaxws.JaxwsEjbAssembler.processEjb(JaxwsEjbAssembler.java:182)
    [10:41:29 AM]      at oracle.j2ee.ws.tools.wsa.jaxws.JaxwsEjbAssembler.ejbAssemble(JaxwsEjbAssembler.java:152)
    [10:41:29 AM]      at oracle.j2ee.ws.tools.wsa.cli.Processor.jaxwsEjbAssemble(Processor.java:630)
    [10:41:29 AM]      at oracle.j2ee.ws.tools.wsa.cli.Processor.execute(Processor.java:327)
    [10:41:29 AM]      at oracle.j2ee.ws.tools.wsa.cli.Processor.execute(Processor.java:230)
    [10:41:29 AM]      at oracle.j2ee.ws.tools.wsa.Main.mainNoSystemExit(Main.java:84)
    [10:41:29 AM]      at oracle.j2ee.ws.tools.wsa.Main.main(Main.java:49)
    [10:41:29 AM] WARNING: Error while processing ejb-jar.xml for ejb module at "C:\Documents and Settings\sacggupt\Application Data\JDeveloper\system11.1.1.3.37.56.60\o.j2ee\drs\SalaryControlService\ModelEJB.jar".
    [10:41:29 AM] INFO: Unable to load annotation weblogic.javaee.CallByReference for parsing. The annotation is ignored.
    [10:41:29 AM] INFO: Unable to load annotation weblogic.javaee.CallByReference for parsing. The annotation is ignored.
    [10:41:29 AM] INFO: GenericWSWarAnnotationListener.parseAnnotatedClass Adding Servlet Mapping with URL pattern /HrModuleService for annotated WebService class lt.andrejusb.model.server.serviceinterface.HrModuleServiceImpl
    [10:41:30 AM] WSA process exited with code 0
    [10:41:30 AM] Deploying Application...
    <Jan 3, 2011 10:41:31 AM IST> <Warning> <J2EE> <BEA-160195> <The application version lifecycle event listener oracle.security.jps.wls.listeners.JpsAppVersionLifecycleListener is ignored because the application SalaryControlService is not versioned.>
    <ServerMessages><warningMBeanRegisterError> Failed to register the web service Config MBeans for application: SalaryControlService endpoint: SalaryControlService the error is: oracle.as.jmx.framework.util.MissingConfigurationFileException: The configuration at URI "WEB-INF\oracle-webservices.xml" cannot be loaded.
    [10:41:36 AM] Application Deployed Successfully.
    [10:41:36 AM] The following URL context root(s) were defined and can be used as a starting point to test your application:
    [10:41:36 AM] http://10.176.162.16:7101/SalaryControlService
    [10:41:36 AM] Elapsed time for deployment: 9 seconds
    [10:41:36 AM] ---- Deployment finished. ----
    Run startup time: 9391 ms.
    [Application SalaryControlService deployed to Server Instance IntegratedWebLogicServer]
    Target URL -- http://localhost:7101/SalaryControlService/HrModuleService
    Edited by: LearningToFly on Jan 2, 2011 9:13 PM

    Hello,
    Is this resolved yet? The reason I am asking is that I'm getting the same error as yours. I am trying to run the StoreFront tutorial in JDeveloper 11.1.1.3 and here's what I got:
    [04:21:31 PM] ---- Deployment started. ----
    [04:21:31 PM] Target platform is (Weblogic 10.3).
    [04:21:32 PM] Retrieving existing application information
    [04:21:32 PM] Running dependency analysis...
    [04:21:32 PM] Deploying 4 profiles...
    [04:21:32 PM] Wrote MAR file to C:\Documents and Settings\ylin\Application Data\JDeveloper\system11.1.1.3.37.56.60\o.j2ee\drs\StoreFrontModule\metadata1.mar
    [04:21:33 PM] Wrote Web Application Module to C:\Documents and Settings\ylin\Application Data\JDeveloper\system11.1.1.3.37.56.60\o.j2ee\drs\StoreFrontModule\StoreFrontUIWebApp.war
    [04:21:38 PM] Wrote EJB Module to C:\Documents and Settings\ylin\Application Data\JDeveloper\system11.1.1.3.37.56.60\o.j2ee\drs\StoreFrontModule\StoreFrontServiceEJB.jar
    [04:21:40 PM] Wrote Enterprise Application Module to C:\Documents and Settings\ylin\Application Data\JDeveloper\system11.1.1.3.37.56.60\o.j2ee\drs\StoreFrontModule
    [04:21:41 PM] java.lang.NullPointerException
    [04:21:41 PM]      at oracle.j2ee.ws.tools.wsa.jaxws.AssemblerProcessor.getClassNamesFromEjb(AssemblerProcessor.java:180)
    [04:21:41 PM]      at oracle.j2ee.ws.tools.wsa.jaxws.AssemblerProcessor.processEjb(AssemblerProcessor.java:149)
    [04:21:41 PM]      at oracle.j2ee.ws.tools.wsa.jaxws.JaxwsEjbAssembler.processEjb(JaxwsEjbAssembler.java:182)
    [04:21:41 PM]      at oracle.j2ee.ws.tools.wsa.jaxws.JaxwsEjbAssembler.ejbAssemble(JaxwsEjbAssembler.java:152)
    [04:21:41 PM]      at oracle.j2ee.ws.tools.wsa.cli.Processor.jaxwsEjbAssemble(Processor.java:630)
    [04:21:41 PM]      at oracle.j2ee.ws.tools.wsa.cli.Processor.execute(Processor.java:327)
    [04:21:41 PM]      at oracle.j2ee.ws.tools.wsa.cli.Processor.execute(Processor.java:230)
    [04:21:41 PM]      at oracle.j2ee.ws.tools.wsa.Main.mainNoSystemExit(Main.java:84)
    [04:21:41 PM]      at oracle.j2ee.ws.tools.wsa.Main.main(Main.java:49)
    [04:21:41 PM] WARNING: Error while processing ejb-jar.xml for ejb module at "C:\Documents and Settings\ylin\Application Data\JDeveloper\system11.1.1.3.37.56.60\o.j2ee\drs\StoreFrontModule\StoreFrontServiceEJB.jar".
    [04:21:41 PM] INFO: Unable to load annotation weblogic.javaee.CallByReference for parsing. The annotation is ignored.
    [04:21:41 PM] INFO: Unable to load annotation javax.interceptor.Interceptors for parsing. The annotation is ignored.
    [04:21:41 PM] INFO: Unable to load annotation weblogic.javaee.CallByReference for parsing. The annotation is ignored.
    [04:21:41 PM] INFO: Unable to load annotation javax.interceptor.Interceptors for parsing. The annotation is ignored.
    [04:21:41 PM] INFO: GenericWSWarAnnotationListener.parseAnnotatedClass Adding Servlet Mapping with URL pattern /StoreFron
    Can someone help with this? Thank you in advance!
    Edited by: 834077 on Mar 5, 2011 6:28 AM

  • Authenticate application Module

    I am trying to set security on the application module Using jDeveloper 10.1.2 and oracle db 9.2.
    Currently testing from the embedded oc4j and a standalone oc4j.
    Created an application module to a db table and named it CountryAppModule.
    The application module successfully tested using the projects default Business Component Name.
    The application module also tested successfully using the Business Component Name "CountriesAppModuleLocal".
    I then set the jbo.security.enforce application module property to "Must".
    The application module is re-tested using the Business Component Name "CountriesAppModuleLocal".
    A dialog window prompts for user and password.
    Then login using the default user/456 and the below error is generated:
    JBO-30003: The application pool (Cuma.model.cumaStateModuleLocal) failed to checkout an application module due to the following exception:oracle.jbo.JboException: JBO-29000: Unexpected exception caught: oracle.jbo.JboException, msg=JBO-33021: Failed authenticate user null     at oracle.jbo.JboException.<init>(JboException.java:343)     at oracle.jbo.common.ampool.ApplicationPoolImpl.doCheckout(ApplicationPoolImpl.java:1772)     at oracle.jbo.common.ampool.ApplicationPoolImpl.useApplicationModule(ApplicationPoolImpl.java:2611)     at oracle.jbo.common.ampool.SessionCookieImpl.useApplicationModule(SessionCookieImpl.java:441)     at oracle.jbo.http.HttpSessionCookieImpl.useApplicationModule(HttpSessionCookieImpl.java:230)     at oracle.jbo.common.ampool.SessionCookieImpl.useApplicationModule(SessionCookieImpl.java:411)     at oracle.jbo.common.ws.WSApplicationModuleImpl.createWorkerApplicationModule(WSApplicationModuleImpl.java:2457)     at oracle.jbo.common.ws.WSApplicationModuleImpl.getCustomApplicationModule(WSApplicationModuleImpl.java:2416)     at oracle.adf.model.bc4j.DCJboDataControl.setDataProvider(DCJboDataControl.java:1429)     at oracle.adf.model.bc4j.DCJboDataControl.setApplicationModule(DCJboDataControl.java:200)     at oracle.adf.model.bc4j.DCJboDataControl.<init>(DCJboDataControl.java:171)     at oracle.jbo.uicli.binding.JUApplication.<init>(JUApplication.java:90)     at oracle.jbo.uicli.binding.JUApplication.<init>(JUApplication.java:81)     at oracle.adf.model.bc4j.DataControlFactoryImpl.createSession(DataControlFactoryImpl.java:256)     at oracle.adf.model.binding.DCDataControlReference.getDataControl(DCDataControlReference.java:63)     at oracle.adf.model.BindingContext.get(BindingContext.java:411)     at oracle.adf.model.binding.DCUtil.findSpelObject(DCUtil.java:228)     at oracle.adf.model.binding.DCUtil.findContextObject(DCUtil.java:308)     at oracle.adf.model.binding.DCIteratorBinding.<init>(DCIteratorBinding.java:127)     at oracle.jbo.uicli.binding.JUIteratorBinding.<init>(JUIteratorBinding.java:59)     at oracle.jbo.uicli.binding.JUIteratorDef.createIterBinding(JUIteratorDef.java:58)     at oracle.jbo.uicli.binding.JUIteratorDef.createIterBinding(JUIteratorDef.java:47)     at oracle.adf.model.binding.DCBindingContainerDef.createIterBindings(DCBindingContainerDef.java:197)     at oracle.adf.model.binding.DCBindingContainerDef.createBindingContainer(DCBindingContainerDef.java:273)     at oracle.adf.model.binding.DCBindingContainerReference.getBindingContainer(DCBindingContainerReference.java:40)     at oracle.adf.model.BindingContext.get(BindingContext.java:427)     at oracle.adf.model.binding.DCUtil.findSpelObject(DCUtil.java:228)     at oracle.adf.model.binding.DCUtil.findContextObject(DCUtil.java:308)     at oracle.adf.model.binding.DCUtil.findBindingContainer(DCUtil.java:536)     at oracle.adf.controller.lifecycle.LifecycleContext.initialize(LifecycleContext.java:121)     at oracle.adf.controller.lifecycle.LifecycleContext.initialize(LifecycleContext.java:77)     at oracle.adf.controller.struts.actions.DataActionContext.initialize(DataActionContext.java:48)     at oracle.adf.controller.struts.actions.DataAction.execute(DataAction.java:150)     at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:484)     at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:274)     at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1485)     at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:509)     at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)     at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)     at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.0)].server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:65)     at oracle.security.jazn.oc4j.JAZNFilter.doFilter(Unknown Source)     at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.0)].server.http.EvermindFilterChain.doFilter(EvermindFilterChain.java:16)     at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:239)     at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.0)].server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:645)     at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.0)].server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:322)     at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.0)].server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:790)     at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.0)].server.http.HttpRequestHandler.run(HttpRequestHandler.java:270)     at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.0)].server.http.HttpRequestHandler.run(HttpRequestHandler.java:112)     at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.0)].util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:192)     at java.lang.Thread.run(Thread.java:534)## Detail 0 ##oracle.jbo.JboException: JBO-33021: Failed authenticate user null     at oracle.jbo.common.UserAznUtil.authenticateUser(UserAznUtil.java:60)     at oracle.jbo.server.ApplicationModuleImpl.prepareSession(ApplicationModuleImpl.java:5893)     at oracle.jbo.server.ApplicationModuleImpl.prepareSession(ApplicationModuleImpl.java:5862)     at oracle.jbo.server.ApplicationModuleImpl.doPoolMessage(ApplicationModuleImpl.java:7584)     at oracle.jbo.common.ampool.ApplicationPoolImpl.sendPoolMessage(ApplicationPoolImpl.java:3923)     at oracle.jbo.common.ampool.ApplicationPoolImpl.prepareApplicationModule(ApplicationPoolImpl.java:1915)     at oracle.jbo.common.ampool.ApplicationPoolImpl.doCheckout(ApplicationPoolImpl.java:1739)     at oracle.jbo.common.ampool.ApplicationPoolImpl.useApplicationModule(ApplicationPoolImpl.java:2611)     at oracle.jbo.common.ampool.SessionCookieImpl.useApplicationModule(SessionCookieImpl.java:441)     at oracle.jbo.http.HttpSessionCookieImpl.useApplicationModule(HttpSessionCookieImpl.java:230)     at oracle.jbo.common.ampool.SessionCookieImpl.useApplicationModule(SessionCookieImpl.java:411)     at oracle.jbo.common.ws.WSApplicationModuleImpl.createWorkerApplicationModule(WSApplicationModuleImpl.java:2457)     at oracle.jbo.common.ws.WSApplicationModuleImpl.getCustomApplicationModule(WSApplicationModuleImpl.java:2416)     at oracle.adf.model.bc4j.DCJboDataControl.setDataProvider(DCJboDataControl.java:1429)     at oracle.adf.model.bc4j.DCJboDataControl.setApplicationModule(DCJboDataControl.java:200)     at oracle.adf.model.bc4j.DCJboDataControl.<init>(DCJboDataControl.java:171)     at oracle.jbo.uicli.binding.JUApplication.<init>(JUApplication.java:90)     at oracle.jbo.uicli.binding.JUApplication.<init>(JUApplication.java:81)     at oracle.adf.model.bc4j.DataControlFactoryImpl.createSession(DataControlFactoryImpl.java:256)     at oracle.adf.model.binding.DCDataControlReference.getDataControl(DCDataControlReference.java:63)     at oracle.adf.model.BindingContext.get(BindingContext.java:411)     at oracle.adf.model.binding.DCUtil.findSpelObject(DCUtil.java:228)     at oracle.adf.model.binding.DCUtil.findContextObject(DCUtil.java:308)     at oracle.adf.model.binding.DCIteratorBinding.<init>(DCIteratorBinding.java:127)     at oracle.jbo.uicli.binding.JUIteratorBinding.<init>(JUIteratorBinding.java:59)     at oracle.jbo.uicli.binding.JUIteratorDef.createIterBinding(JUIteratorDef.java:58)     at oracle.jbo.uicli.binding.JUIteratorDef.createIterBinding(JUIteratorDef.java:47)     at oracle.adf.model.binding.DCBindingContainerDef.createIterBindings(DCBindingContainerDef.java:197)     at oracle.adf.model.binding.DCBindingContainerDef.createBindingContainer(DCBindingContainerDef.java:273)     at oracle.adf.model.binding.DCBindingContainerReference.getBindingContainer(DCBindingContainerReference.java:40)     at oracle.adf.model.BindingContext.get(BindingContext.java:427)     at oracle.adf.model.binding.DCUtil.findSpelObject(DCUtil.java:228)     at oracle.adf.model.binding.DCUtil.findContextObject(DCUtil.java:308)     at oracle.adf.model.binding.DCUtil.findBindingContainer(DCUtil.java:536)     at oracle.adf.controller.lifecycle.LifecycleContext.initialize(LifecycleContext.java:121)     at oracle.adf.controller.lifecycle.LifecycleContext.initialize(LifecycleContext.java:77)     at oracle.adf.controller.struts.actions.DataActionContext.initialize(DataActionContext.java:48)     at oracle.adf.controller.struts.actions.DataAction.execute(DataAction.java:150)     at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:484)     at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:274)     at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1485)     at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:509)     at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)     at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)     at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.0)].server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:65)     at oracle.security.jazn.oc4j.JAZNFilter.doFilter(Unknown Source)     at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.0)].server.http.EvermindFilterChain.doFilter(EvermindFilterChain.java:16)     at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:239)     at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.0)].server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:645)     at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.0)].server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:322)     at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.0)].server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:790)     at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.0)].server.http.HttpRequestHandler.run(HttpRequestHandler.java:270)     at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.0)].server.http.HttpRequestHandler.run(HttpRequestHandler.java:112)     at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.0)].util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:192)     at java.lang.Thread.run(Thread.java:534)

    "Failed authenticate user null "
    what does mean?

  • Junit test cases -error in creating Application Module

    I am on JDeveloper 9i with OA Extension installed build 1550. I am trying to run Business Components Test Fixtures and getting the following error in setUp method of the fixture class at the following line
    _am = Configuration.createRootApplicationModule("mycompany.oracle.apps.xxsan.invoiceholds.server.InvoiceHoldsAM", "Development");
    The exception below..
    java.lang.NoSuchMethodError: oracle.xml.parser.v2.SAXParser.setContentHandler(Lorg/xml/sax/ContentHandler;)V
    at oracle.jdeveloper.cm.DefaultConnectionStore.read(DefaultConnectionStore.java:182)
    Anybody who have used Junit successfully to test their business components. Would appreciate any feedback.
    Thank you.
    Arun

    Well I guess i figured it out myself. I use the findApplicationModule before calling the createApplicationModule. Apparently, bc4j does not like creating multiple application modules...it should just reuse the existing one instead of throwing this obscure invalid name exception.

  • Error while testing Service enabled Application module-ADF11g

    Hi All,
    I am facing an error while testing Service enabled Application module.I have followed the documentation avaialble in this link
    http://download.oracle.com/docs/cd/E14571_01/web.1111/b31974/bcextservices.htm#CJABABJE.
    All the supporting jar files are included in the calling application, but still I am getting class not found exception.
    Error is as follows…
    JBO-29000: Unexpected exception caught: java.lang.RuntimeException, msg=java.lang.RuntimeException: java.lang.ClassNotFoundException: demo.model.common.serviceinterface.AppModuleService: java.lang.RuntimeException: java.lang.ClassNotFoundException: demo.model.common.serviceinterface.AppModuleService
    Jdev version is 11.1.1.2.0 and
    Build JDEVADF_11.1.1.2.0_GENERIC_091029.2229.5536
    Any pointers for the same is highly appreciated.
    Thanks,
    Anusha

    Hi Willian,
    Did you set up your "Model" Project to use the JDK 1.4 and rebuild the application ?
    See " [Deploying to Application Servers That Support JDK 1.4|http://tinyurl.com/lfc6kc] "
    Regards,
    Didier.

  • Exceptions trying to run Junit test thro Jdev. Test uses Application module

    Hi,
    my junit test works through the OraTst frame work. But I want to debug the code and If I try to run the same test through Jdev I am running into a following exception. Can somebody tell me how to fix this issue.
    I am a consumer of the Application module, I have not created it. I am using it by referencing it through the jar file provided by the owner.
    oracle.jbo.DMLException: JBO-27200: JNDI failure. Unable to lookup Data Source at context jdbc/EMReposDS
    at oracle.jbo.server.DBTransactionImpl.lookupDataSource(DBTransactionImpl.java:1414)
    at oracle.jbo.server.DBTransactionImpl2.connectToDataSource(DBTransactionImpl2.java:309)
    at oracle.jbo.common.ampool.DefaultConnectionStrategy.connect(DefaultConnectionStrategy.java:203)
    at oracle.jbo.server.ApplicationPoolMessageHandler.doPoolConnect(ApplicationPoolMessageHandler.java:553)
    at oracle.jbo.server.ApplicationPoolMessageHandler.doPoolMessage(ApplicationPoolMessageHandler.java:409)
    at oracle.jbo.server.ApplicationModuleImpl.doPoolMessage(ApplicationModuleImpl.java:8534)
    at oracle.jbo.common.ampool.ApplicationPoolImpl.sendPoolMessage(ApplicationPoolImpl.java:4392)
    at oracle.jbo.common.ampool.ApplicationPoolImpl.prepareApplicationModule(ApplicationPoolImpl.java:2388)
    at oracle.jbo.common.ampool.ApplicationPoolImpl.prepareResource(ApplicationPoolImpl.java:3621)
    at oracle.jbo.pool.ResourcePool.useResource(ResourcePool.java:344)
    at oracle.jbo.common.ampool.ApplicationPoolImpl.doCheckout(ApplicationPoolImpl.java:2200)
    at oracle.jbo.common.ampool.ApplicationPoolImpl.useApplicationModule(ApplicationPoolImpl.java:3088)
    at oracle.jbo.common.ampool.SessionCookieImpl.useApplicationModule(SessionCookieImpl.java:460)
    at oracle.jbo.common.ampool.SessionCookieImpl.useApplicationModule(SessionCookieImpl.java:431)
    at oracle.jbo.common.ampool.SessionCookieImpl.useApplicationModule(SessionCookieImpl.java:426)
    at oracle.jbo.client.Configuration.getApplicationModule(Configuration.java:1494)
    at oracle.jbo.client.Configuration.createRootApplicationModule(Configuration.java:1399)
    at oracle.jbo.client.Configuration.createRootApplicationModule(Configuration.java:1370)
    -Sidd

    Sidd,
    No idea what OraTst is, but based upon the name of your data source, I'd guess you are an Oracle employee using an internal framework. I understand that there are some internal Oracle forums that you can use.
    John

  • Dynamic VO error while testing without Application Module Pooling

    Hi,
    I am using ADF11g 11.1.1.4
    I have a dynamic VO which is used to display data depending on user defined configuration .
    It works fine till I try to test the application for activation / passivation by disabling application Module
    The moment I do this the application starts throwing ArrayIndexOutOfBound exception with the following trace.
    oracle.jbo.JboException: JBO-29000: Uventet undtagelse fundet: java.lang.ArrayIndexOutOfBoundsException, msg=0
    at oracle.jbo.server.Serializer.passivate(Serializer.java:234)
    at oracle.jbo.server.DBSerializer.passivateRootAM(DBSerializer.java:290)
    at oracle.jbo.server.DBSerializer.passivateRootAM(DBSerializer.java:267)
    at oracle.jbo.server.ApplicationModuleImpl.passivateStateInternal(ApplicationModuleImpl.java:5913)
    at oracle.jbo.server.ApplicationModuleImpl.passivateState(ApplicationModuleImpl.java:5783)
    at oracle.jbo.server.ApplicationPoolMessageHandler.doPoolMessage(ApplicationPoolMessageHandler.java:381)
    at oracle.jbo.server.ApplicationModuleImpl.doPoolMessage(ApplicationModuleImpl.java:8933)
    at oracle.jbo.common.ampool.ApplicationPoolImpl.sendPoolMessage(ApplicationPoolImpl.java:4496)
    at oracle.jbo.common.ampool.ApplicationPoolImpl.doManagedCheckin(ApplicationPoolImpl.java:2742)
    at oracle.jbo.common.ampool.ApplicationPoolImpl.releaseApplicationModule(ApplicationPoolImpl.java:1554)
    at oracle.jbo.common.ampool.SessionCookieImpl.releaseApplicationModule(SessionCookieImpl.java:729)
    at oracle.jbo.common.ampool.SessionCookieImpl.releaseApplicationModule(SessionCookieImpl.java:649)
    at oracle.adf.model.bc4j.DCJboDataControl.releaseApplicationModule(DCJboDataControl.java:2437)
    at oracle.adf.model.bc4j.DCJboDataControl.endRequest(DCJboDataControl.java:2130)
    at oracle.adf.model.dcframe.DataControlFrameImpl.endRequestInternal(DataControlFrameImpl.java:579)
    at oracle.adf.model.dcframe.DataControlFrameImpl.endRequest(DataControlFrameImpl.java:457)
    at oracle.adf.model.BindingContext.endRequest(BindingContext.java:1955)
    at oracle.adf.model.BindingRequestHandler.invokeEndRequest(BindingRequestHandler.java:406)
    at oracle.adf.model.BindingRequestHandler.endRequest(BindingRequestHandler.java:302)
    at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:210)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
    at oracle.adfinternal.view.faces.webapp.rich.RegistrationFilter.doFilter(RegistrationFilter.java:106)
    at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:446)
    at oracle.adfinternal.view.faces.activedata.AdsFilter.doFilter(AdsFilter.java:60)
    at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:446)
    at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._doFilterImpl(TrinidadFilterImpl.java:271)
    at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl.doFilter(TrinidadFilterImpl.java:177)
    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:175)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
    at oracle.security.jps.ee.http.JpsAbsFilter$1.run(JpsAbsFilter.java:111)
    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.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:207)
    at weblogic.work.ExecuteThread.run(ExecuteThread.java:176)
    Caused by: java.lang.ArrayIndexOutOfBoundsException: 0
    at oracle.jbo.server.ViewRowStorage.getAttributeInternal(ViewRowStorage.java:1669)
    at oracle.jbo.server.ViewRowImpl.getAttributeValue(ViewRowImpl.java:1891)
    at oracle.jbo.server.ViewRowImpl.getAttributeInternal(ViewRowImpl.java:834)
    at oracle.jbo.server.ViewRowImpl.getKey(ViewRowImpl.java:645)
    at oracle.jbo.server.ViewObjectImpl.doPassivateSettings(ViewObjectImpl.java:19423)
    at oracle.jbo.server.ViewObjectImpl.doPassivateSettings(ViewObjectImpl.java:19127)
    at oracle.jbo.server.ApplicationModuleImpl.passivateVOs(ApplicationModuleImpl.java:7712)
    at oracle.jbo.server.ApplicationModuleImpl.doPassivateState(ApplicationModuleImpl.java:7522)
    at oracle.jbo.server.ApplicationModuleImpl.doPassivateAMState(ApplicationModuleImpl.java:7509)
    at oracle.jbo.server.Serializer.passivate(Serializer.java:213)
    ... 51 more
    Edited by: user3067156 on 2012-04-07 15:53

    Hi Frank,
    The view object is an Entity based view object with a very simple where clause
    We have a train flow and each stop is a jsf page which renders the dynamic VO
    Each pages have a simple iterator for View object related to the stop to create a form iterating over the View object attributes.
    We tried to investigate the problem by making a train for two stops with two dynamic VO, one on each stop , this was done as a train which had only one stop as dymanic VO worked fine.
    We found the problem to be that when passivation was being called on change of train stop1 to train stop 2,
    Application module was passivting all the view objects and it was trying to find attributes of view object2 , which is attached to train stop 2, while being at train stop 1 and it was not able to find the attribute definition on train stop 1.
    Strangely it was able to find the view object 2 definition but not the attributes of the view object 2, even when there was no binding in the page def for the view object Iterator 2.
    To solve , We created a iterators for view objects on both the pages and rendered the one not related to the stop be false and It then solved the problem
    But I am not very comfortable with the solution as I am not very sure how does an Iterator binding on the jsff page , set to rendered false help in passivation.

  • Jdeveloper 10g Failed to chekcout the application module connection problem

    Hello friends,
    I am using trying to simulate the demo of "Oracle Application Development Framework (Oracle ADF) declarative and visual J2EE development" given on the same site.
    To do the same I just downloaded the Jdeveloper 10g and followed the steps given in the application.
    While running the page1DataAction in StrutsPageFlow I got the following exception on my internet explorer.
    500 Internal Server Error
    JBO-30003: The application pool (model.AppModuleLocal) failed to checkout an application module due to the following exception:
    oracle.jbo.JboException: JBO-29000: Unexpected exception caught: oracle.jbo.JboException, msg=JBO-29000: Unexpected exception caught: java.lang.ClassCastException, msg=sun.jdbc.odbc.JdbcOdbcConnection
         at oracle.jbo.JboException.<init>(JboException.java:343)
         at oracle.jbo.common.ampool.ApplicationPoolImpl.doCheckout(ApplicationPoolImpl.java:1759)
         at oracle.jbo.common.ampool.ApplicationPoolImpl.useApplicationModule(ApplicationPoolImpl.java:2488)
         at oracle.jbo.common.ampool.SessionCookieImpl.useApplicationModule(SessionCookieImpl.java:434)
         at oracle.jbo.http.HttpSessionCookieImpl.useApplicationModule(HttpSessionCookieImpl.java:241)
         at oracle.jbo.common.ampool.SessionCookieImpl.useApplicationModule(SessionCookieImpl.java:405)
         at oracle.jbo.common.ws.WSApplicationModuleImpl.createWorkerApplicationModule(WSApplicationModuleImpl.java:1606)
         at oracle.jbo.common.ws.WSApplicationModuleImpl.getCustomApplicationModule(WSApplicationModuleImpl.java:1584)
         at oracle.adf.model.bc4j.DCJboDataControl.setDataProvider(DCJboDataControl.java:781)
         at oracle.adf.model.bc4j.DCJboDataControl.<init>(DCJboDataControl.java:140)
         at oracle.jbo.uicli.binding.JUApplication.<init>(JUApplication.java:94)
         at oracle.jbo.uicli.binding.JUApplication.<init>(JUApplication.java:85)
         at oracle.adf.model.bc4j.DataControlFactoryImpl.createSession(DataControlFactoryImpl.java:249)
         at oracle.adf.model.bc4j.DataControlFactoryImpl.createSession(DataControlFactoryImpl.java:93)
         at oracle.jbo.uicli.mom.JUMetaObjectManager.loadCpx(JUMetaObjectManager.java:543)
         at oracle.adf.model.servlet.ADFBindingFilter.initializeBindingContext(ADFBindingFilter.java:228)
         at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:84)
         at com.evermind[Oracle Application Server Containers for J2EE 10g (9.0.4.0.0)].server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:610)
         at com.evermind[Oracle Application Server Containers for J2EE 10g (9.0.4.0.0)].server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:317)
         at com.evermind[Oracle Application Server Containers for J2EE 10g (9.0.4.0.0)].server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:784)
         at com.evermind[Oracle Application Server Containers for J2EE 10g (9.0.4.0.0)].server.http.HttpRequestHandler.run(HttpRequestHandler.java:270)
         at com.evermind[Oracle Application Server Containers for J2EE 10g (9.0.4.0.0)].server.http.HttpRequestHandler.run(HttpRequestHandler.java:112)
         at com.evermind[Oracle Application Server Containers for J2EE 10g (9.0.4.0.0)].util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:186)
         at java.lang.Thread.run(Thread.java:536)
    ## Detail 0 ##
    oracle.jbo.JboException: JBO-29000: Unexpected exception caught: java.lang.ClassCastException, msg=sun.jdbc.odbc.JdbcOdbcConnection
         at oracle.jbo.JboException.<init>(JboException.java:343)
         at oracle.jbo.pool.ResourcePool.createResource(ResourcePool.java:524)
         at oracle.jbo.common.ampool.ApplicationPoolImpl.doCheckout(ApplicationPoolImpl.java:1646)
         at oracle.jbo.common.ampool.ApplicationPoolImpl.useApplicationModule(ApplicationPoolImpl.java:2488)
         at oracle.jbo.common.ampool.SessionCookieImpl.useApplicationModule(SessionCookieImpl.java:434)
         at oracle.jbo.http.HttpSessionCookieImpl.useApplicationModule(HttpSessionCookieImpl.java:241)
         at oracle.jbo.common.ampool.SessionCookieImpl.useApplicationModule(SessionCookieImpl.java:405)
         at oracle.jbo.common.ws.WSApplicationModuleImpl.createWorkerApplicationModule(WSApplicationModuleImpl.java:1606)
         at oracle.jbo.common.ws.WSApplicationModuleImpl.getCustomApplicationModule(WSApplicationModuleImpl.java:1584)
         at oracle.adf.model.bc4j.DCJboDataControl.setDataProvider(DCJboDataControl.java:781)
         at oracle.adf.model.bc4j.DCJboDataControl.<init>(DCJboDataControl.java:140)
         at oracle.jbo.uicli.binding.JUApplication.<init>(JUApplication.java:94)
         at oracle.jbo.uicli.binding.JUApplication.<init>(JUApplication.java:85)
         at oracle.adf.model.bc4j.DataControlFactoryImpl.createSession(DataControlFactoryImpl.java:249)
         at oracle.adf.model.bc4j.DataControlFactoryImpl.createSession(DataControlFactoryImpl.java:93)
         at oracle.jbo.uicli.mom.JUMetaObjectManager.loadCpx(JUMetaObjectManager.java:543)
         at oracle.adf.model.servlet.ADFBindingFilter.initializeBindingContext(ADFBindingFilter.java:228)
         at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:84)
         at com.evermind[Oracle Application Server Containers for J2EE 10g (9.0.4.0.0)].server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:610)
         at com.evermind[Oracle Application Server Containers for J2EE 10g (9.0.4.0.0)].server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:317)
         at com.evermind[Oracle Application Server Containers for J2EE 10g (9.0.4.0.0)].server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:784)
         at com.evermind[Oracle Application Server Containers for J2EE 10g (9.0.4.0.0)].server.http.HttpRequestHandler.run(HttpRequestHandler.java:270)
         at com.evermind[Oracle Application Server Containers for J2EE 10g (9.0.4.0.0)].server.http.HttpRequestHandler.run(HttpRequestHandler.java:112)
         at com.evermind[Oracle Application Server Containers for J2EE 10g (9.0.4.0.0)].util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:186)
         at java.lang.Thread.run(Thread.java:536)
    ## Detail 0 ##
    java.lang.ClassCastException: sun.jdbc.odbc.JdbcOdbcConnection
         at oracle.jbo.server.OracleSQLBuilderImpl.isConnectionAlive(OracleSQLBuilderImpl.java:3168)
         at oracle.jbo.server.ConnectionPool.getConnectionInternal(ConnectionPool.java:90)
         at oracle.jbo.server.ConnectionPool.getConnection(ConnectionPool.java:65)
         at oracle.jbo.server.ConnectionPoolManagerImpl.getConnection(ConnectionPoolManagerImpl.java:56)
         at oracle.jbo.server.DBTransactionImpl.establishNewConnection(DBTransactionImpl.java:831)
         at oracle.jbo.server.DBTransactionImpl.initTransaction(DBTransactionImpl.java:1067)
         at oracle.jbo.server.DBTransactionImpl.initTxn(DBTransactionImpl.java:5286)
         at oracle.jbo.server.DBTransactionImpl2.connect(DBTransactionImpl2.java:116)
         at oracle.jbo.common.ampool.DefaultConnectionStrategy.connect(DefaultConnectionStrategy.java:288)
         at oracle.jbo.common.ampool.ApplicationPoolImpl.connect(ApplicationPoolImpl.java:3515)
         at oracle.jbo.common.ampool.ApplicationPoolImpl.instantiateResource(ApplicationPoolImpl.java:2151)
         at oracle.jbo.pool.ResourcePool.createResource(ResourcePool.java:515)
         at oracle.jbo.common.ampool.ApplicationPoolImpl.doCheckout(ApplicationPoolImpl.java:1646)
         at oracle.jbo.common.ampool.ApplicationPoolImpl.useApplicationModule(ApplicationPoolImpl.java:2488)
         at oracle.jbo.common.ampool.SessionCookieImpl.useApplicationModule(SessionCookieImpl.java:434)
         at oracle.jbo.http.HttpSessionCookieImpl.useApplicationModule(HttpSessionCookieImpl.java:241)
         at oracle.jbo.common.ampool.SessionCookieImpl.useApplicationModule(SessionCookieImpl.java:405)
         at oracle.jbo.common.ws.WSApplicationModuleImpl.createWorkerApplicationModule(WSApplicationModuleImpl.java:1606)
         at oracle.jbo.common.ws.WSApplicationModuleImpl.getCustomApplicationModule(WSApplicationModuleImpl.java:1584)
         at oracle.adf.model.bc4j.DCJboDataControl.setDataProvider(DCJboDataControl.java:781)
         at oracle.adf.model.bc4j.DCJboDataControl.<init>(DCJboDataControl.java:140)
         at oracle.jbo.uicli.binding.JUApplication.<init>(JUApplication.java:94)
         at oracle.jbo.uicli.binding.JUApplication.<init>(JUApplication.java:85)
         at oracle.adf.model.bc4j.DataControlFactoryImpl.createSession(DataControlFactoryImpl.java:249)
         at oracle.adf.model.bc4j.DataControlFactoryImpl.createSession(DataControlFactoryImpl.java:93)
         at oracle.jbo.uicli.mom.JUMetaObjectManager.loadCpx(JUMetaObjectManager.java:543)
         at oracle.adf.model.servlet.ADFBindingFilter.initializeBindingContext(ADFBindingFilter.java:228)
         at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:84)
         at com.evermind[Oracle Application Server Containers for J2EE 10g (9.0.4.0.0)].server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:610)
         at com.evermind[Oracle Application Server Containers for J2EE 10g (9.0.4.0.0)].server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:317)
         at com.evermind[Oracle Application Server Containers for J2EE 10g (9.0.4.0.0)].server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:784)
         at com.evermind[Oracle Application Server Containers for J2EE 10g (9.0.4.0.0)].server.http.HttpRequestHandler.run(HttpRequestHandler.java:270)
         at com.evermind[Oracle Application Server Containers for J2EE 10g (9.0.4.0.0)].server.http.HttpRequestHandler.run(HttpRequestHandler.java:112)
         at com.evermind[Oracle Application Server Containers for J2EE 10g (9.0.4.0.0)].util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:186)
         at java.lang.Thread.run(Thread.java:536)
    Please help me.As i am new user please tell me Is there any path to be set.
    ThankYou.

    CAN ANYONE HELP ME.

  • Can't create Application Module when deploy an JDeveloper project

    Hi,
    I'm using JDeveloper 10 to create a Project, in backing bean i use:
    AppInsert_HS bam=(AppInsert_HS)Configuration.createRootApplicationModule("app.model.AppInsert_HS", "AppInsert_HSLocal");
    to create an instance of application module in backing bean (Where AppInsert_HS is the name of my Application Module ).
    When i run my application in Embedded OC4J server, it run ok. But when i deploy my application in OC4J standalone, it has error:
    SEVERE: oracle.jbo.common.ampool.ApplicationPoolException: JBO-30003: The application pool (app.model.AppInsert_HSLocal) failed to checkout an application modul
    + e due to the following exception:+
    + javax.faces.el.EvaluationException: oracle.jbo.common.ampool.ApplicationPoolException: JBO-30003: The application pool (app.model.AppInsert_HSLocal) failed to+
    + checkout an application module due to the following exception: at com.sun.faces.el.MethodBindingImpl.invoke(MethodBindingImpl.java:150)+
    + ...................................................+
    Please help me!
    Many thanks

    Hi,
    there must be more in the stack trace than just that. My impression is that it cannot connect to the database. Do you use JDBC URL or JDBC data sources? Also, your approach only make sense if you don't use ADF. If you use ADF then you could access the current AM to avoid the penalty of an extra database connection
    Frank

  • Application module with no connection to the database in jdeveloper 10.1.3

    I have a number of programmatic bc view objects and entity objects which i have implemented through the time from different projects and now that i have collected them i want to add all of them in a reusable application module. However i don't need a connection to the database for this application module. Is it possible to enforce the application module to circumvent the db connection?

    Hi user,
    Just out of curiosity, why would you use ADF BC for that - if I had a bunch of non-db data sources, I'd probably use POJOs and create POJO data controls.
    I didn't look in 10g, but in 11g, the ApplicationModule has a method called getDBConnectionRequired() that you could override to see if that solves your issue.
    John

Maybe you are looking for

  • Can I convert my internal hard drive to an external hard drive

    I have an 80 GB hard drive that was in my MacBook.  What do I have to do to convert it to an external hard drive?  Thanks

  • [GeForceFX] My monitor is blank

    When i played some games ( Need For Speed Underground 2 or Swat4 ) with a some time, my video cards apears had some problem, because my monitor goes to blank, and the monitor light is turn off and on, i don t know how to solve!I try to install other

  • How to See Action Logs

    Hi Guys,                 Can anybody tell me how to see action logs for sales documents?Also i want to know how to change sales doc type...( i know we can mention in vov8...alt.sales doc types...how to get that(configure) list(in my system list is em

  • Videos all screwed up looks like blindes or shudders????

    I cant see any of my videos because they are all distorted. They look like blinds or shudders on a window????? HELP!!!!

  • I have installed Flash player 9 but I can't execute VC applications

    Hi all, I have installed in my computer a Flash player version 9 and I can play any flash movie, banner, ...  but when I execute a Visual Composer application it shows me the message: Visual Composer Flex iviews require Adobe Flash 7.0 for proper vie