OA JDeveloper 9i (RUP5) 9.0.3.5 (Build 1453) - Row level validation issue

Hi everyone,
Can anyone help me with the following:
Version of OA JDeveloper 9i (RUP5) 9.0.3.5 (Build 1453)
I have a xml page what is based on a master detail relationship.
The master table (Advancetable EO) contain the Employee details and the Detail VO (Advancetable) contain
the allowances an employee are entitiled too.
How do I stop a user from selecting(radio button) the next employee in an advance table, it the the records
they entered at the detail level is not valid. (Row level validation). My validation method works fine then they try commit the record.
But I need to stop them from navigating to the next employee record in the table, when the records they entered
at detail level is not valid.
How will I do this?
I added the same validation method I used for the "APPLY" event to validate the records entered at detail level to the "EmployeeSelect" event, but the error message showed only after the new employee has been selected. Thus the error message that is displayed does not relate the the employee record selected at that stage.

Time for you to make a trip to the [url http://forums.oracle.com/forums/forum.jspa?forumID=210]OA Framework Forum

Similar Messages

  • Oracle JDeveloper 11g (11.1.2.2.0) (Build 6183)Installations

    I clicked the Studio Edition:11.1.2.2.0 Windows Install Download File button from the Oracle JDeveloper 11g (11.1.2.2.0) (Build 6183)Installations page. After that I clicked Save and a window displayed with the % complete. It goes to 99% complete and 1 sec left and this seems to hang at that point. I've left it going for several minutes and then eventually cancelled it. I have the correct jdk version. Any suggestions?

    You mean the download hangs at 99%?
    That its usually the point when your virus checker starts its work. Some such programs are known to have trouble with large archive files containing many files.
    Try to download with three virus checker turned off.
    Timo

  • Install problem JDeveloper 12c (12.1.2.0.0) (Build 6668) with Generic Installer on windows

    Hi,
    I am trying to install JDeveloper 12c (12.1.2.0.0) (Build 6668) with Generic Installer on windows .
    C:\Program Files\Java\jdk1.7.0_25\bin>java -jar C:\jdev_suite_121200.jar
    I get the following error :
    Extracting files................................................................
    Unsupported platform (unable to determine the startup directory location).
    The Oracle Universal Installer failed.  Exiting.
    When I try with windows install ( right click jdev_suite_121200_win32.exe and "run as administrator") , I get the following error:
    ERROR Launch:No such file or directory
    In the discussion (https://forums.oracle.com/thread/2573396?start=0&tstart=0) , it is said to be solved by "running as administrator" but it didn't work for me ...
    Thanks ...

    Hi,
      Can you please tell whether you are using 32-bit or 64-bit windows.
      If it is 64-bit then you must run as administrator. In Windows 7x64, just right click on the jDeveloper exe and choose "run as administrator..."
      Remove the existing Oracle folder and restart the system.
      Try to install in new drive.
      Oracle Fusion Middleware Installation Guide for Oracle JDeveloper - 11g Release 2 (11.1.2.4.0) Hope this link will give you more idea in installation.
    Thanks
    Pramila
    Message was edited by: d6866663-7e0d-4497-89df-99f670c41872

  • JDeveloper 10.1.2.3 Row Insert Update issue

    All,
    We have a problem we hope you can help solve, using JDeveloper 10.1.2.3.0 with JHeadStart 10.1.3.3.87 and its easy to reporduce and its a bad one.
    Create a simple web project > Create Entity/VO for one table > Enable JHeadStart >
    Use JHS to create Master Detail drill down single record
    Run app > Open Browser to the Master list > press button Create X to bring up a new row NOW open another browser TAB and do the same so we have 2 forms open in INSERT mode.
    Press Save on 1st tab to trigger the Insert - fine it reloads the form after commit and row is in the DB THEN switch to the other tab and submit that one > this one will overwire the record you entered 1st.
    This is bad and its happening often when we load the system with many users event without multiple (multiple tabs makes it easy to test) - trapping the doDML we expect the 2nd insert request to be DML_INSERT but we get DML_UPDATE. Depending on refresh setting on some attributes we will get error back JBO-25014 but if no refresh on insert update you still get the same issue only one row in db and 1st row gets over written.
    If you have any ideas what is going on and how to solve this ASAP that would be great.
    Thank you
    Anthony

    Steven,
    Thanks for the entry. Yes, we realized that the two-tab browser scenario was the same session. The thing that baffled us was why our test without JHS allowed two inserts in a two-tab, same session situation whereas with JHS, the second insert did an update on the first record committed. We suspected it had something to do with how the current row pointer in the view cache/entity cache was being handled.
    The main symptom we started with was that users in separate sessions in production are overwriting each other's records; and we agree with you, it is surprising but we can reproduce it when traffic is "heavy" (more than four users usually) or the operations are rapid fire -- less than a minute between User 1 inserting a record and User 2 inserting a record. The second user insert operation acutally updates user 1's record even though the data for both inserts is different.
    We switched EnableTokenValidation to "true" and this "fixes" the two-tab, single session situation -- the second insert presents a row currency JBO error (much better than overwriting the first record). In a two-user session scenario, the effect is worse with this setting: the second user trying to insert actually updates a different record from the record the first user just inserted.
    This seems to point to users sharing a view/entity cache and it seems like that might be an ADF or maybe an OC4J bug -- we are using datasources on OAS and an HTTPS protocol for this app.
    So next we are going to try using a database procedure that overrides the Save operation on new (and updated) records. If the database procedure sees a negative ID (from DBSequence) it will insert regardless of the current record pointer. If the database procedure sees a positive ID, it will update that record. I think we'll also need to roll back the CreateInsert that got us to the new record screen, too. Messy, yes, but if this effect is due to an ADF 10.1.3 bug, rewriting the app in 11g would take much longer.
    Our other ADF JHS 10.1.3 apps do not have this problem as far as we know, but they do not use datasources or HTTPS.
    Peter

  • Jdeveloper 11.1.1.1.0 and build in WLS problem

    Hello,
    I couldn't find thread about my problem so I made a new one.
    First:
    I've installed 10g XE DB, WebLogic Server, SOA Suite and JDeveloper 11g.
    I want to create simple JSF page and run it through build in JDev WLS Server, but i get this error:
    *** Using port 7101 ***
    "C:\Documents and Settings\Holmes\Dane aplikacji\JDeveloper\system11.1.1.1.33.54.07\DefaultDomain\bin\startWebLogic.cmd"
    [waiting for the server to complete its initialization...]
    System could not find path.
    JAVA Memory arguments: -Xms256m -Xmx512m -XX:CompileThreshold=8000 -XX:PermSize=128m -XX:MaxPermSize=512m
    WLS Start Mode=Development
    CLASSPATH=C:\Oracle\MIDDLE~1\jdeveloper\modules\oracle.jrf_11.1.1\jrf.jar;C:\Oracle\MIDDLE~1\wlserver_10.3\server\lib\xqrl.jar
    PATH=C:\Oracle\Oracle_10g_XE\app\oracle\product\10.2.0\server\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\Program Files\Executive Software\DiskeeperLite\
    * To start WebLogic Server, use a username and *
    * password assigned to an admin-level user. For *
    * server administration, use the WebLogic Server *
    * console at http:\\hostname:port\console *
    starting weblogic with Java version:
    Starting WLS with line:
    java version "1.6.0_18"
    Java(TM) SE Runtime Environment (build 1.6.0_18-b07)
    Java HotSpot(TM) Client VM (build 16.0-b13, mixed mode, sharing)
    C:\PROGRA~1\Java\JDK16~1.0_1\bin\java -Xms256m -Xmx512m -XX:CompileThreshold=8000 -XX:PermSize=128m -XX:MaxPermSize=512m -Dweblogic.Name=DefaultServer -Djava.security.policy=C:\Oracle\MIDDLE~1\wlserver_10.3\server\lib\weblogic.policy -da -Dplatform.home=C:\Oracle\MIDDLE~1\wlserver_10.3 -Dwls.home=C:\Oracle\MIDDLE~1\wlserver_10.3\server -Dweblogic.home=C:\Oracle\MIDDLE~1\wlserver_10.3\server -Djps.app.credential.overwrite.allowed=true -Ddomain.home=C:\DOCUME~1\Holmes\DANEAP~1\JDEVEL~1\SYSTEM~1.07\DEFAUL~1 -Doracle.home=C:\Oracle\MIDDLE~1\jdeveloper -Djrf.version=11.1.1 -Dorg.apache.commons.logging.Log=org.apache.commons.logging.impl.Jdk14Logger -Djrockit.optfile=C:\Oracle\MIDDLE~1\jdeveloper\modules\oracle.jrf_11.1.1\jrocket_optfile.txt -Doracle.security.jps.config=C:\DOCUME~1\Holmes\DANEAP~1\JDEVEL~1\SYSTEM~1.07\DEFAUL~1\config\fmwconfig\jps-config.xml -Djava.protocol.handler.pkgs=oracle.mds.net.protocol -Dweblogic.alternateTypesDirectory=C:\Oracle\MIDDLE~1\jdeveloper\modules\oracle.ossoiap_11.1.1,C:\Oracle\MIDDLE~1\jdeveloper\modules\oracle.oamprovider_11.1.1 -Dsso.filter.enable=true -Dweblogic.management.discover=true -Dwlw.iterativeDev= -Dwlw.testConsole= -Dwlw.logErrorsToConsole= weblogic.Server
    java.lang.NoClassDefFoundError: weblogic/Server
    Caused by: java.lang.ClassNotFoundException: weblogic.Server
         at java.net.URLClassLoader$1.run(URLClassLoader.java:202)
         at java.security.AccessController.doPrivileged(Native Method)
         at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
         at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
         at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
         at java.lang.ClassLoader.loadClass(ClassLoader.java:248)
    Could not find the main class: weblogic.Server. Program will exit.
    Exception in thread "main" Process exited.
    Any clues how to resolve this problem?
    Best regards,
    MK

    Hi,
    This looks like a problem with your PATH / CLASSPATH variables... In the startup log you can see that your own JDK is being used to start up the WLS. Normally, this should be the JDK that was installed with JDeveloper / the integrated WLS:
    "starting weblogic with Java version:
    C:\PROGRA~1\Java\JDK16~1.0_1\bin\java -Xms256m -Xmx512m ..."
    This should be:
    "*C:\Oracle\MIDDLE~1\JDK160*~1\bin\java -Xms..."
    Also, your PATH variable was not correctly set during startup, there are no entries for the WLS middleware.
    Could you check the following scripts, for incorrect references:
    C:\Documents and Settings\Holmes\Dane aplikacji\JDeveloper\system11.1.1.1.33.54.07\DefaultDomain\bin\startWebLogic.cmd
    C:\Oracle\MIDDLE~1\wlserver_10.3\common\bin\commEnv.cmd
    A solution might be to close JDev, rename the folder "C:\Documents and Settings\Holmes\Dane aplikacji\JDeveloper\system11.1.1.1.33.54.07" to for example "C:\Documents and Settings\Holmes\Dane aplikacji\JDeveloper\system11.1.1.1.33.54.07.BAK" and restart JDev. This way your JDev settings will be reset. If this does not help, there is a problem with the startWebLogic.cmd script, or your PATH/CLASSPATH variables in Windows.
    Another possibility that comes into mind: you mentioned that you have a weblogic server with SOA suite installed, and JDeveloper. In the installation of JDeveloper, you are asked to use an existing WL Home or create a new one. Did you create a new one or reuse your separate WLS installation? This should be a new WL Home, as this is the integrated WLS used for testing in JDev... Maybe that is what went wrong.
    Hope this helps...

  • ADF Faces & BC JDeveloper 10.1.3.4: af:menuTab in multiple rows.

    Hi all,
    We have a dynamic menu design in our application that is defined within the faces-config.xml file. The menu tabes are rendered in a single row, are there any ways to split these tabs into multiple rows (as more are necessary)?
    <f:facet name="menu1">
    <af:menuTabs var="menuTab" id="menuTabs11" value="#{menuModel.model}">
    <f:facet name="nodeStamp">
    <af:commandMenuItem text="#{menuTab.label}"
    id="commandMenuItem11"
    action="#{menuTab.doAction}"
    disabled="#{CRDBMenuBean.isEnabledFlag}"
    selected="#{menuItem.isSelected=='true'?true:false}"
    actionListener="#{CRDBMenuBean.menuItemActionListener}"/>
    </f:facet>
    </af:menuTabs>
    </f:facet>
    thanks,
    Wes
    Edited by: Wes Fang on Jul 24, 2009 10:25 AM

    Fixed. This is a similar problem to:
    JDeveloper 10.1.3.4,ADF Faces & BC: InputText PPR Problem

  • [JDeveloper/BPEL] "repository.jar" is missing when building the project

    Hi,
    First of all let me say that I'm new to JDeveloper and BPEL. I followed the "CreditFlow" tutorial and everything was OK. I could deploy and run it. Then I wanted to create my own webservice and try to create a simple HelloWorld BPEL workflow. My problem now is that I get a "Error: C:\oracle\JDeveloper\jlib\repository.jar (The system cannot find the file specified)" error when I build my project.
    I had the same error message for the following jars:
    -jaxb-libs.jar
    -jaxb-impl.jar
    -jaxb-api.jar
    I just copied them from "<jdeveloper_inst_dir>\adfp\lib" to "<jdeveloper_inst_dir>\webservices\lib" to get rid of thoses error messages.
    But this "repository.jar" simply doesn't exist on my filesystem...
    I think it's pretty strange...
    BTW I use JDeveloper version 10.1.3.3.0.
    Thanks for any help!
    Nicolas

    Hi,
    I am getting the same error. Any help is greatly appreciated.
    May be if you have repossotory.jar in your lib folder by any chance please send it to [email protected]
    Thanks

  • JDeveloper 11.1.1.2.0 - Help text at field level

    Hi,
    We are making use of the Help.properties file to produce field level text. I have field's such as the following
    <af:inputText value="#{bindings.DocumentName.inputValue}"
                                    label="#{bindings.DocumentName.inputValue eq null ? ''  : bindings.DocumentName.hints.label}"
                                    required="#{bindings.DocumentName.hints.mandatory}"
                                    columns="#{bindings.DocumentName.hints.displayWidth}"
                                    maximumLength="#{bindings.DocumentName.hints.precision}"
                                    shortDesc="#{bindings.DocumentName.hints.tooltip}"
                                    id="it4"
                                    autoSubmit="true"
                                    helpTopicId="WORKFLOW_EDITPURCHASEORDER_DOCUMENTNAME"
                                    readOnly="true"
                                    rendered="true"Is there a elegant way to disable the help text? e.g. provide a form level radio button to enable/disable help text? The only way i can think at the moment would
    be to set the helpTopidId to a key that doesnt exists using an EL expression.
    Regards

    Hi,
    I think what you suggest is the way to go in this case
    Frank

  • Row level validation for Master-Detail form

    OA JDeveloper 9i (RUP5) 9.0.3.5 (Build 1453)
    I have a form which is based on a master detail relationship.
    - For each employees details (Advancetable) based on a EO (AbsenceInputsEO)
    - For each employee you can add one or more allowances records (AdvanceTable) VO (AbsenceInputsVO)
    Both the above VO and EO is based on the same table (XHR_BWCD_KRONOS_INTERFACE)
    How do stop a user from selecting (radio button) the next employee in an advance table (master level), it the the records they entered at the detail level for the previous employee is not valid?
    I used the the same validation method I used for the "APPLY" event to validate the records entered at detail level
    to the "EmployeeSelect" event, but the error message showed only after the new employee has been selected. Thus the error message that is displayed does not relate to the employee record selected at that stage.
    How do I prevent the user from selecting the next employee in the Master(Advancetable) if the records in the Detail(AdvanceTable) is not valid?

    Thanks for you help,
    Where able to reset the "SelectFlag" for the employee the error related to, but now I endup with two radio buttons being selected. One for the employee which the error relates to and one for the employee which triggered the validation when user navigated away from the current employee record.
    I need to be able to set the attribute "SelectFlag" for any other employee selected in the master record to "N", before the error is thrown. I do not seem to be able to access the newly selected employee record to set the "SelectFlag" to "N" as I only have access to the currentrow SelectFlag in the processFormData.
    It looks to be if I can only access the new selected employee in the processFormRequest(OAPageContext pageContext, OAWebBean webBean), but I never get to this method as the error message stop processing in the processFormData().
    I have the following code in the processFormData(OAPageContext pageContext, OAWebBean webBean)
    if ("EmployeeSelect".equals(event))
    if (!IsValid(pageContext,am,true,AsgJobName,EmpStartDate.toString()))
    // oracle.jbo.Row ValidationRow = vo.getFirstFilteredRow("SelectFlag", "Y");
    // Set flag for employee record with error
    Row [] rows = vo.getFilteredRows("SelectFlag", "Y");
    // getFilteredRows returns a zero-length array if it finds no matches.
    if ((rows != null) && (rows.length > 0))
    // Set the master row and get the unique identifier.
    Row masterRow = rows[0];
    am.findViewObject("EmployeeAbsenceDetailsVO1").getCurrentRow().setAttribute("SelectFlag","Y");
    vo.setCurrentRow(masterRow);
    // Unselect new Employee
    throw new OAException(ErrorMessage, OARowValException.ERROR);
    } // EmployeeSelect-Event
    Question:
    =======
    Can I access the newly selected employee rows from the processFormData to reset the "SelectFlag" to "N" before I through the error message? I would like to be able to do this in the section I have marked "// ?????", before I throw the error. How would I do this?

  • Blog post : "Bug in Create/Edit View Criteria Wizard (JDeveloper 11g)"

    hi
    Using steps 1 to 13 from the blog post "Bug in Create/Edit View Criteria Wizard (JDeveloper 11g)" by Andrejus Baranovskis, I have been able to reproduce the issue he describes.
    see http://andrejusb.blogspot.com/2008/12/bug-in-createedit-view-criteria-wizard.html
    I the blog post comments he writes "... there was no time for me to fill bug in Metalink ...".
    Maybe someone from Oracle can pick it up from this forum post and file it as a bug if it is one (and if possible post the bug number here).
    many thanks
    Jan Vervecken

    The mechanism is to create a reproduceable test case, create a Service Request in metalink.oracle.com, post the test case, and convince the analyst to file it as a bug.
    It may be not efficient at some time, but this the way it is handled.
    --olaf                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

  • While deploying BPEL Process through JDeveloper 10.1.3.2 the BUILD FAILS

    While deploying a BPEL Process through JDeveloper 10.1.3.2 it says :-
    BUILD FAILED
    D:\Development_mywork\MemoApplication\Memo\MemoProcess\build.xml:79: A problem occured while connecting to server "boomidevp.alshaya.com" using port
    "7778":
    ### Steps to Reproduce ###
    The Connections Tab, Application Server details are as follows :-
    Type Tab :-
    Connection Type :- Oracle Application Server 10g 10.1.3
    Authentication Tab :-
    UserName :- oc4jadmin
    Password :- bpel123
    Connection Tab :-
    Connect to :- Single Instance
    Host Name :- 172.16.100.85
    OPMN Port :- 6004
    OC4J Instance Name :- oc4j_soa
    The Test was successful.
    The Integration Server details are as follows :-
    Connection Tab :-
    App. Server :- Same thing created earlier.
    Host Name :- 172.16.100.85
    Port Number :- 7778
    The Test Connection was successful.
    After the above steps, went to Application Navigator Tab and tried to Deploy a BPEL Process.
    While deploying this BPEL Process through JDeveloper 10.1.3.2 it says :-
    BUILD FAILED
    D:\Development_mywork\MemoApplication\Memo\MemoProcess\build.xml:79: A problem occured while connecting to server "boomidevp.alshaya.com" using port
    "7778":
    Alshaya eGroup Business Solutions Team
    www.alshaya.com

    Disable your proxy settings in JDeveloper.
    Marc

  • Error deploying from Jdeveloper 10.1.3.4 to OAS 10.1.2

    I've upgraded my Jdeveloper to 10.1.3.4 and imported an old project written in Jdev 10.1.2.0 (build 1811).
    My application uses Struts, JSP, Log4j and EJB's
    I can deploy to my local o4cj in the new Jdev and the applciation runs fine but when I try to deploy to my 10.1.2 app server I get the following error within the DCM log file:
    TM] Remote evaluate failed.
    Current StackTrace:
    java.lang.Throwable
    at oracle.ias.sysmgmt.task.TaskMaster.remote_evaluate(Unknown Source)
    at oracle.ias.sysmgmt.task.TaskMaster.evaluate(Unknown Source)
    at oracle.ias.sysmgmt.deployment.j2ee.console.ApplicationDeployment.deployCommon(Unknown Source)
    at oracle.ias.sysmgmt.deployment.j2ee.console.ApplicationDeployment.redeploy(Unknown Source)
    at oracle.ias.sysmgmt.deployment.j2ee.console.EarDeployerImpl.redeploy(Unknown Source)
    at oracle.j2ee.tools.remote_deploy.Oc4jDcmCommandThread.executeCommand(Unknown Source)
    at oracle.j2ee.tools.remote_deploy.Oc4jDcmCommandThread.run(Unknown Source)
    remote exception: oracle.ias.sysmgmt.deployment.j2ee.exception.J2eeDeploymentException: Nested exception
    Resolution:
    Base Exception:
    java.rmi.RemoteException
    deploy failed!: ; nested exception is:
    oracle.oc4j.admin.internal.DeployerException: Error initializing ejb-module; Exception Error in application careers-test: Error
    loading package at file:/opt/oraias/OraHome_1/j2ee/oc4j_dev/applications/careers-test/careers.jar,
    Error compiling /opt/oraias/OraHome_1/j2ee/oc4j_dev/applications/careers-test/careers.jar: Error finding a suitable DataSource: SQL
    Error opening DataSource: invalid arguments in call; nested exception is: java.sql.SQLException: invalid arguments in call; nested exception
    is:
    java.sql.SQLException: invalid arguments in call
    remote exception StackTrace:
    java.rmi.RemoteException: deploy failed!: ; nested exception is:
    oracle.oc4j.admin.internal.DeployerException: Error initializing ejb-module; Exception Error in application careers-test: Error
    loading package at file:/opt/oraias/OraHome_1/j2ee/oc4j_dev/applications/careers-test/careers.jar,
    Error compiling /opt/oraias/OraHome_1/j2ee/oc4j_dev/applications/careers-test/careers.jar: Error finding a suitable DataSource: SQL
    Error opening DataSource: invalid arguments in call; nested exception is: java.sql.SQLException: invalid arguments in call; nested exception
    is:
    java.sql.SQLException: invalid arguments in call
    at com.evermind.server.rmi.RMIConnection.EXCEPTION_ORIGINATES_FROM_THE_REMOTE_SERVER(RMIConnection.java:1621)
    at com.evermind.server.rmi.RMIConnection.invokeMethod(RMIConnection.java:1572)
    at com.evermind.server.rmi.RemoteInvocationHandler.invoke(RemoteInvocationHandler.java:55)
    at com.evermind.server.rmi.RecoverableRemoteInvocationHandler.invoke(RecoverableRemoteInvocationHandler.java:22)
    at __Proxy0.deploy(Unknown Source)
    at oracle.ias.sysmgmt.deployment.j2ee.runtime.LocalDeploy.deployOnSingleInstance(Unknown Source)
    at oracle.ias.sysmgmt.deployment.j2ee.runtime.LocalDeploy.doExecute(Unknown Source)
    at oracle.ias.sysmgmt.deployment.j2ee.runtime.RuntimeIf.execute(Unknown Source)
    at oracle.ias.sysmgmt.deployment.j2ee.adapter.DeploymentAdapter.doEvaluateDeploy(Unknown Source)
    at oracle.ias.sysmgmt.deployment.j2ee.adapter.DeploymentAdapter.evaluate(Unknown Source)
    at oracle.ias.sysmgmt.task.TaskMaster.sync_evaluate(Unknown Source)
    at oracle.ias.sysmgmt.task.TaskMaster.internal_evaluate(Unknown Source)
    at oracle.ias.sysmgmt.task.RemoteEvaluate.execCommand(Unknown Source)
    at oracle.ias.sysmgmt.task.DaemonWorker.run(Unknown Source)
    Caused by: oracle.oc4j.admin.internal.DeployerException: Error initializing ejb-module; Exception Error in application careers-test:
    Error loading package at file:/opt/oraias/OraHome_1/j2ee/oc4j_dev/applications/careers-test/careers.jar,
    Error compiling /opt/oraias/OraHome_1/j2ee/oc4j_dev/applications/careers-test/careers.jar: Error finding a suitable DataSource: SQL
    Error opening DataSource: invalid arguments in call; nested exception is: java.sql.SQLException: invalid arguments in call; nested exception
    is:
    java.sql.SQLException: invalid arguments in call
    at oracle.oc4j.admin.internal.DeployerBase.execute(DeployerBase.java:91)
    at com.evermind.server.administration.DefaultApplicationServerAdministrator.internalDeploy(DefaultApplicationServerAdministrator.java:429)
    at com.evermind.server.administration.DefaultApplicationServerAdministrator.deploy(DefaultApplicationServerAdministrator.java:348)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:324)
    at com.evermind.server.rmi.RMICallHandler.run(RMICallHandler.java:124)
    at com.evermind.server.rmi.RMICallHandler.run(RMICallHandler.java:48)
    at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:192)
    at java.lang.Thread.run(Thread.java:534)
    Caused by: java.lang.InstantiationException: Error initializing ejb-module; Exception Error in application careers-test: Error loading
    package at file:/opt/oraias/OraHome_1/j2ee/oc4j_dev/applications/careers-test/careers.jar,
    Error compiling /opt/oraias/OraHome_1/j2ee/oc4j_dev/applications/careers-test/careers.jar: Error finding a suitable DataSource: SQL
    Error opening DataSource: invalid arguments in call; nested exception is: java.sql.SQLException: invalid arguments in call; nested exception
    is:
    java.sql.SQLException: invalid arguments in call
    at com.evermind.server.ejb.EJBContainer.throwInstantiationException(EJBContainer.java:2461)
    at com.evermind.server.ejb.EJBContainer.postInitBatch(EJBContainer.java:2445)
    at com.evermind.server.ejb.EJBContainer.postInit(EJBContainer.java:2225)
    at com.evermind.server.Application.postInit(Application.java:557)
    at com.evermind.server.Application.setConfig(Application.java:171)
    at com.evermind.server.ApplicationServer.addApplication(ApplicationServer.java:1996)
    at oracle.oc4j.admin.internal.ApplicationDeployer.addApplication(ApplicationDeployer.java:430)
    at oracle.oc4j.admin.internal.ApplicationDeployer.doDeploy(ApplicationDeployer.java:138)
    at oracle.oc4j.admin.internal.DeployerBase.execute(DeployerBase.java:73)
    ... 10 more
    It looks like it's not picking up the datasource yet it works fine via the local oc4j. From my understanding the datasource is picked up from the connections in Jdeveloper but i've tried adding a datasource.xml to my "Model" tier within the "META-INF" folder but the error is still being generated.
    I've amended the J2SE version to 1.4.2_02 on both the ViewController and Model project properties as recommended within the Jdev 10.1.3.4 documentation. I've also just read the following but i'm not sure how relevant it is as the error seems to be that it can't find a datasource not that the password is not being read.
    "Data-Sources Password Handling and Application Server 10.1.2
    It is important to note that deploying an application that uses connections defined in data-sources.xml developed using JDeveloper 10.1.3 that is deployed to Application Server 10.1.2 will result in a deployment failure. One example would be an application that uses an EJB to connect to a database. This is due to differences in the way Application Server 10.1.3 and Application Server 10.1.2 interpret password indirection. We are expecting a patch for Application Server 10.1.2 to be made available that will allow deployment of these types of applications to Application Server 10.1.2."
    I imported the project datasource files from my old project that were developed in Jdev 10.2.3 rather then creating the connection via Jdev 10.1.3.4 but this still hasn't cleared the error.
    I've spent a few days on this so far so any help would be most appreciated.
    Thanks.

    "Not really. You can exclude the data-sources.xml from the EAR file and rely on the setup of the Global Datasource, created before deployment.
    --olaf"
    Thanks. Yes I did try this but when I setup the datasource via the datasources tab within the console I still received the error. This may have been due to an error on my part but I can't be sure as i've tried all sorts of different approaches over the last few days. I initially didn't have a datasource.xml so there wasn't one to exclude (via the deploy properties in Jdev) I had relied on Jdeveloper to setup the datasource via my connections. I read somewhere that Jdev does this fduring deploy and indeed it works fine for my embedded oc4j and when deplolying from Jdeveloper 10.1.2 so it would seem odd that the same approach doesn't work for Jdeveloper 10.1.3.
    Surely the release notes regarding the password issue is the reason why I can't deploy from Jdev 10.1.3.4 to app server 10.1.2?
    The release notes say that a patch is due to fix the issue with password indirection, Olaf do you know where I can get this?
    Also how do I setup Jdev not to write the datasources during deployment? If I don't have a datasources.xml then there is nothiing to exclude. Is there a setting somewhere in Jdev 10.1.3.4?
    Edited by: [email protected] on 05-Mar-2009 08:08
    Edited by: [email protected] on 05-Mar-2009 08:12

  • Error while running OA Framework (HelloWorld.jpr) in Jdeveloper 10g

    Hi all,
    I have a created sample HelloWorld Page thru Jdeveloper 10g with OA Extension on R12 Instance. I am running to following error when I run the page from Jdeveloper 10g. Can you please help me out in resolving this issue?
    I would really appreciate your help. Thx
    java.lang.ExceptionInInitializerError     at oracle.apps.fnd.common.WebRequestUtil.validateContextPrivate(WebRequestUtil.java:439)     at oracle.apps.fnd.common.WebRequestUtil.validateContext(WebRequestUtil.java:322)     at oracle.apps.fnd.common.WebRequestUtil.validateContext(WebRequestUtil.java:225)     at OAErrorPage.jspService(_OAErrorPage.java:62)     [OAErrorPage.jsp]     at com.orionserver[Oracle Containers for J2EE 10g (10.1.3.3.0) ].http.OrionHttpJspPage.service(OrionHttpJspPage.java:59)     at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:462)     at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:594)     at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:518)     at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)     at com.evermind[Oracle Containers for J2EE 10g (10.1.3.3.0) ].server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:713)     at com.evermind[Oracle Containers for J2EE 10g (10.1.3.3.0) ].server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:370)     at com.evermind[Oracle Containers for J2EE 10g (10.1.3.3.0) ].server.http.ServletRequestDispatcher.unprivileged_forward(ServletRequestDispatcher.java:259)     at com.evermind[Oracle Containers for J2EE 10g (10.1.3.3.0) ].server.http.ServletRequestDispatcher.access$100(ServletRequestDispatcher.java:51)     at com.evermind[Oracle Containers for J2EE 10g (10.1.3.3.0) ].server.http.ServletRequestDispatcher$2.oc4jRun(ServletRequestDispatcher.java:193)     at oracle.oc4j.security.OC4JSecurity.doPrivileged(OC4JSecurity.java:283)     at com.evermind[Oracle Containers for J2EE 10g (10.1.3.3.0) ].server.http.ServletRequestDispatcher.forward(ServletRequestDispatcher.java:198)     at com.evermind[Oracle Containers for J2EE 10g (10.1.3.3.0) ].server.http.EvermindPageContext.handlePageThrowable(EvermindPageContext.java:847)     at com.evermind[Oracle Containers for J2EE 10g (10.1.3.3.0) ].server.http.EvermindPageContext.handlePageException(EvermindPageContext.java:813)     at runregion.jspService(_runregion.java:193)     [runregion.jsp]     at com.orionserver[Oracle Containers for J2EE 10g (10.1.3.3.0) ].http.OrionHttpJspPage.service(OrionHttpJspPage.java:59)     at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:462)     at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:594)     at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:518)     at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)     at com.evermind[Oracle Containers for J2EE 10g (10.1.3.3.0) ].server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:713)     at com.evermind[Oracle Containers for J2EE 10g (10.1.3.3.0) ].server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:370)     at com.evermind[Oracle Containers for J2EE 10g (10.1.3.3.0) ].server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:871)     at com.evermind[Oracle Containers for J2EE 10g (10.1.3.3.0) ].server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:453)     at com.evermind[Oracle Containers for J2EE 10g (10.1.3.3.0) ].server.http.HttpRequestHandler.serveOneRequest(HttpRequestHandler.java:221)     at com.evermind[Oracle Containers for J2EE 10g (10.1.3.3.0) ].server.http.HttpRequestHandler.run(HttpRequestHandler.java:122)     at com.evermind[Oracle Containers for J2EE 10g (10.1.3.3.0) ].server.http.HttpRequestHandler.run(HttpRequestHandler.java:111)     at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)     at oracle.oc4j.network.ServerSocketAcceptHandler.procClientSocket(ServerSocketAcceptHandler.java:239)     at oracle.oc4j.network.ServerSocketAcceptHandler.access$700(ServerSocketAcceptHandler.java:34)     at oracle.oc4j.network.ServerSocketAcceptHandler$AcceptHandlerHorse.run(ServerSocketAcceptHandler.java:880)     at com.evermind[Oracle Containers for J2EE 10g (10.1.3.3.0) ].util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:298)     at java.lang.Thread.run(Thread.java:595)Caused by: java.lang.IllegalArgumentException: WebAppsContext.getJDBCConnection() == null     at oracle.apps.fnd.functionSecurity.FunctionSecurity.init(FunctionSecurity.java:1602)     at oracle.apps.fnd.functionSecurity.FunctionSecurity.<init>(FunctionSecurity.java:188)     at oracle.apps.fnd.sso.SSOUtil.getLocalPwdChangeUrl(SSOUtil.java:709)     at oracle.apps.fnd.sso.SSOUtil.getLocalPwdChangeUrl(SSOUtil.java:765)     at oracle.apps.fnd.sso.SSOManager.<clinit>(SSOManager.java:2209)     ... 37 more

    Hi
    Thanks for your reply. I have checked my Runtime Connection. Everything looks good. The following are settings done.
    1) Project Properties -> Oracle Applications -> Runtime Connection
    Dbc FileName: C:\Jdev10g_R12\jdevhome\jdev\dbc_files\secure\dld.dbc
    username: kthalakoti (Apps Username & password as given)
    password: ************
    Applcation Short Name: AK
    Responsibility Key: FWK_TBX_TUTORIAL
    2) Project Properties -> Oracle Applications -> Database Connection
    User Name: apps
    Connect String:
    jdbc:oracle:thin:@//mrpdev24.sirf.com:1521/DLD
    Can you please help me out where I'm getting wrong?
    Thanks
    3) Project Properties -> Oracle Applications -> Run Options
    Selected Options: OADiagnostic
    OADeveloperMode

  • Installing Jdeveloper 11g on MAC OS 10.4.11?

    Has anyone successfully installed Jdeveloper 11g on MAC OS 10.4.11? I've found examples Jdeveloper 11g on MAC OS 10.5 but nothing on 10.4.11.

    The issue is not so much with JDeveloper but with the JDK. There isn't a supported (easy) install of JDK 1.6 for Tiger, and the current JDeveloper requires it. There are some hacks around if you search for JDK 1.6 and 10.4 or Tiger, but JDeveloper/Weblogic are quite complex and I just imagine there would be issues with SoyLatte or whatever other JDK was used. I am going to finally upgrade to Leopard I think, seems easier and more of a sure thing to get JDeveloper/Weblogic working correctly so I can work on the road as well as at my Linux workstation in the office.

  • Getting XML-32000: (Fatal Error) when using xml.jar of jaxb in jdeveloper 9

    Hi,
    I am trying to use jaxb in jdeveloper 9 to create java objects from an xsd. Any help would be really appreciated.
    I tested the below example with jdeveloper10 and it worked fine as jaxb was introduced in jdeveloper 10 by providing xml.jar.
    I need to use jdeveloper 9 in my project and jdeveloper 9 doesn't have xml.jar. I copied the xml.jar and xmlparserv2.jar from jdeveloper 10 to jdeveloper9. Created a build script to generate the java files for test.xsd.
    The build script works in jdeveloper 10 but gives the following error in jdeveloper 9:
    XML-32000: (Fatal Error) error in Building the Schema
    The test.s simple and is as follows :
    <?xml version="1.0" encoding="windows-1252"?>
    <schema xmlns="http://www.w3.org/2001/XMLSchema"
    targetNamespace="http://www.example.org"
    elementFormDefault="qualified" >
    <element name="exampleElement">
    <annotation>
    <documentation>A sample element</documentation>
    </annotation>
    </element>
    </schema>
    Below is the ant script to generate the jva files from the xsd:
    <?xml version = '1.0' encoding = 'windows-1252'?>
    <project default="generate">
    <target name="init">
    <tstamp/>
    </target>
    <path id="build.path">
    <pathelement location="C:\JDeveloper9\jdevbin\lib\xmlparserv2forstudio.jar"/>
    <pathelement location="C:\JDeveloper9\jdevbin\lib\xml.jar"/>
    </path>
    <target name="generate" depends="init">
    <java fork="yes" classname="oracle.xml.jaxb.orajaxb"
    description="generate java code from xml schema"
    classpathref="build.path">
    <arg value="-schema"/>
    <arg value="test.xsd"/>
    <arg value="-outputDir"/>
    Please let me know where I am doing wrong
    Thanks,
    SR
    Edited by: user2188619 on Aug 29, 2008 8:20 AM

    You can not simply swap arround jar files from jdev 10 to jdev 9. You then are also using an entirly different jdk and there probably are some dependencies on it. Will it work if you try to run ant from outside jdev and using a 1.5 jdk?
    Andre

Maybe you are looking for

  • Ipod shows up in My Computer but not in itunes....HELP

    my ipod has been working fine since i got it a few weeks ago. only recently has it been acting up. I connect it to my computer via USB cable and itunes doesnt automatically show up anymore. I then click on itunes icon but my Ipod doesnt show up. i ch

  • Aspect Ratio in Quicktime

    I have been creating a showreel of work in iDVD6. It has all been going swimmingly, except that the Quicktime Movies that I have exported from FCP and imported into iDVD, which are 16:9, are coming out squashed 4:3 (i.e square pixels. The menu and su

  • External usb hard drive - read only

    I connected an external hard drive to my macbook in hopes I would be able to use it for storage. I shows up and I can parse through all the files. When I try to add a file to a folder, it doesnt let me. Its says READ ONLY. I have never set any permis

  • Presenter SCORM courses not scoring correctly in Firefox

    We are having an issue with SCORM courses created in Presenter not communicating back the correct quiz score when using the new version of Firefox. These courses worked properly in the older version of Firefox. I can provide the course if needed. The

  • How xapp Analytics is different from CRM analytics and sem

    Hi, I need some information on how the xapp analytics is differnet from CRM analytics.  Is this an upgrade functionality or it is  atotaly a different Analytics aplication.  If it is a new process need some brief info on this. Thanks Naveen