Multple workspaces in sys-jazn-data, attn: Frank

Frank:
If one has multiple applications linked from the same page, is it possible to define different workspaces within the same system-jazn-data.xml. I rememeber you mentioned that app is always "current-workspace-app". However, each link starts a separate app and we don't want multiple login modules. We just want one login module for the main page, one users and roles table.
Thanks

Hi,
no, the embedded OC4J always using the current workspace app as the name for the LoginModule. I filed ER 6131483 in case that the this limitation is not changed in JDeveloper 11, where the integration of OC4J will change in the production release
Frank

Similar Messages

  • Multiple Apps using same security system -  Attn: Frank

    Hi Frank:
    Based on what you suggested for a scenario with different apps/databases using one "application_users", "application_roles" tables and one "system-jazn-data.xml" file, does the following setup sound right?
    (1) APPLICATION_ROLES table
    Add an additional column "APPLICATION_REALM". This will have "app_one_realm", "app_two_realm" etc.
    (2) System_jazn_data.xml
    <application>
    <name>current-workspace-app_one</name> (***App One wrkspace****)
    <login-modules>
    <login-module>
    <class>oracle.security.jazn.login.module.db.DBTableOraDataSourceLoginModule</class>
    <control-flag>optional</control-flag>
    <options>
         <option>
         <name>data_source_name</name>
         <value>jdbc/BDTestDS_App_One</value> (***Points to connection for App One. Does this sound right?****)
    </option>
    <option>
    <option>
    <name>realm_column</name> (***is this correct?**)
    <value>application_realm</value> (**Is this correct?***)
    </option>
    </options>
    </login-module>
    </login-modules>
    </application>
    <application>
    <name>current-workspace-app_two</name> (****App Two wrkspace. Make sense*** )
    <login-modules>
    <login-module>
    <class>oracle.security.jazn.login.module.db.DBTableOraDataSourceLoginModule</class>
    <control-flag>optional</control-flag>
    <options>
         <option>
         <name>data_source_name</name>
         <value>jdbc/BDTestDS_App_Two</value> (***Does this sound right? Coonection for App Two*****)
    </option>
    <option>
    <name>realm_column</name> (***is this correct?***)
    <value>application_realm</value> (***Is this correct?***)
    </option>
    </options>
    </login-module>
    </login-modules>
    </application>
    (3) system-application.xml (Points to absolute path for system-jazn-data.xml)
    <jazn provider="XML" location="<absolute address>/system-jazn-data.xml" default-realm="jazn.com"/>
    (4) jazn.xml (Points to absolute path for system-jazn-data.xml)
    <jazn
    location="<Absolute address>/system-jazn-data.xml"
    default-realm="jazn.com">
    </jazn>
    (5) I am not clear about your comment "Regarding Application Context when assigning roles to a J2EE authenticase case see jaassec/index.htm doc" Are you talking about something in the web.xml for each app?
    How does (a)
    <option>
    <name>realm_column</name>
    <value>application_realm</value>
    </option>
    in "system-jazn-data.xml"
    and (b) "APPLICATION_REALM" in APPLICATION_ROLES table
    and (c)      
    <application>
    <name>current-workspace-app_one</name>
    </application>
    <application>
    <name>current-workspace-app_one</name>
    </application>
    in "system-jazn-data.xml" all tie in?
    In other words, how are the roles tied to the appropriate application context? Each app needs to know its role?
    Thanks

    Hi,
    please note that application_realm only works with the LoginModule provided with the document. It doesn't work with the OC4J oracle.security.jazn.login.module.db.DBTableOraDataSourceLoginModule. Note that the how-to document I pointed you to explains the use of custom LoginModules by example of custom login modules I wrote.
    The way it works is that the application_realm if provided is used when querying the application specific roles. If a realm is not provided then all roles are queried for the user.
    Frank

  • AUTENTICACION CON JAAS - JAZN-DATA.XML

    HOLA TODOS
    ESTOY REALIZANDO UNA APLICACION CON LA SIGUIENTE ARQUITECTURA:
    MODEL: EJB 3.0 - SERVICE - SESSION -DELEGATE
    VIEW : ADF
    YA REALICE LA AUTENTICACION PERO UTILIZANDO JAAS Y JAZN-DATA, PERO NO ENCONTRADO LA FORMA DE CREAR LOS USUARIOS Y MODIFICAR LAS CONTRASEÑAS Y ASOCIAR ROLES.
    ESTO LO NECESITO HACER DESDE MI PROPIA APLICACION.
    GRACIAS

    Hello User
    I agree with Frank is going to be easier to respond if you write in English.
    Anyway I will answer in Spanish:
    En en caso de JAAS es un capa media de autenticación que puede conectarse a multiples fuentes de datos como un XML, BD o LDAP teniendo en cuenta este punto vos en forma independiente a JAAS tenes que ver la maneja de actualizar tu fuente de datos, JAAS es una API que se encarga solo de la autenticación y seguridad de una aplicacion.
    Cualquier duda estamos en contacto, gracias y suerte.

  • Database Auth in J2EE and Page authorization, Attn: Frank

    Frank:
    (1) In one of your replies to my queries, you said that page authorization and permissions (the way it is available now in a file based security where one can go to Edit Authorization on each page and grant read/write) is not available in a J2EE Container managed Security with database schema table based security provider that used custom LoginModules till JDev 11. Till then, is there an alternative way?
    (2) Is a tool of some sort in the works for page authorization that can be given to customers? Otherwise it will be nightmare if customers call in and say they want to change authorizations every second and one has to go to JDeveloper to manually check the checkboxes on the pages from "Edit Authorization" and deliver another release after changes.
    (3) Lastly, from your replies, it looks like LoginModules are powerful. You mentioned that you can write one to access multiple database connections to access different tables in different schema etc. is there a link to a how-to that addresses this? (Something that may apply to accessing APPLICATION_USERS in one schema and APPLICATION_ROLES and all the SRDemo tables (as a test case)in another schema. I recall it being there somewhere. I want to get "very" familiar with it. By the way, your DBTableOraDataSourcesLoginModule is working very well with the tables in my Oracle JExpress database. Thanks...
    Thanks

    Hi, Frank,
    I followed your how-to document of Database Authentication and Authorization in J2EE Container Managed Security to set up a test application. However, I came to a point that the authentication and authorization seemed ok but received 401 unauthorized error. Here is the log I received
    2007年11月7日 下午04:52:51 oracle.security.jazn.login.module.db.DBTableOraDataSourceLoginModule login
    細緻: [DBTableOraDataSourceLoginModule]Logon Successful = true
    2007年11月7日 下午04:52:51 oracle.security.jazn.login.module.db.DBTableOraDataSourceLoginModule commit
    細緻: [DBTableOraDataSourceLoginModule]Subject contains 0 Principals before auth
    2007年11月7日 下午04:52:51 oracle.security.jazn.login.module.db.DBTableOraDataSourceLoginModule commit
    細緻: [DBTableOraDataSourceLoginModule]Local LM commit succeeded
    2007年11月7日 下午04:52:51 oracle.security.jazn.login.module.db.DBTableOraDataSourceLoginModule commit
    細緻: [DBTableOraDataSourceLoginModule]Subject contains 5 Principals after auth
    2007年11月7日 下午04:52:51 oracle.security.jazn.login.module.db.DBTableOraDataSourceLoginModule commit
    細緻: [DBTableOraDataSourceLoginModule]Cleaning internal state!
    2007年11月7日 下午04:52:53 oracle.adfinternal.view.faces.application.ViewHandlerImpl _checkTimestamp
    資訊: ADF Faces is running with time-stamp checking enabled. This should not be used in a production environment. See the oracle.adf.view.faces.CHECK_FILE_MODIFICATION property in WEB-INF/web.xml
    What may go wrong? web.xml? system-jazn-data.xml ? application.xml ? or data-sources.xml?
    Your advice would be appreciated.

  • Bug JDev 11g - opening jazn-data.xml throws exception

    Hi JDev team
    In the latest JDev 11g release JDEVADF_MAIN.BOXER_GENERIC_081002.2127.5156, after running the ADF Security wizard for an ADF Fusion app, double clicking on the jazn-data.xml file within the ViewController to open it raises the exception below. Happens on an existing project and a new one where I've done virtually nothing but run the wizard.
    I'm happy to assist in working out what this issue is if you bounce me an email.
    Cheers,
    CM.
    java.lang.NullPointerException
         at oracle.ideimpl.editor.SplitPane.setEditorComponent(SplitPane.java:376)
         at oracle.ideimpl.editor.SplitPane.attachEditor(SplitPane.java:1026)
         at oracle.ideimpl.editor.SplitPane.attachCurrentEditor(SplitPane.java:996)
         at oracle.ideimpl.editor.SplitPane.setCurrentEditorStatePos(SplitPane.java:1234)
         at oracle.ideimpl.editor.SplitPane.setSplitPaneState(SplitPane.java:233)
         at oracle.ideimpl.editor.TabGroup.attachCurrentNode(TabGroup.java:621)
         at oracle.ideimpl.editor.TabGroup.setCurrentTabGroupState(TabGroup.java:1427)
         at oracle.ideimpl.editor.TabGroup.activateEditor(TabGroup.java:752)
         at oracle.ideimpl.editor.EditorManagerImpl.createEditor(EditorManagerImpl.java:1412)
         at oracle.ideimpl.editor.EditorManagerImpl.createEditor(EditorManagerImpl.java:1334)
         at oracle.ideimpl.editor.EditorManagerImpl.openEditor(EditorManagerImpl.java:1260)
         at oracle.ideimpl.navigator.OpenEditorController.whenOpenEditor(OpenEditorController.java:41)
         at oracle.ideimpl.navigator.OpenEditorContextMenuListener.handleDefaultAction(OpenEditorContextMenuListener.java:51)
         at oracle.ide.controller.ContextMenuListenersHook$LazyContextMenuListener.handleDefaultAction(ContextMenuListenersHook.java:199)
         at oracle.ide.controller.ContextMenu.fireDefaultAction(ContextMenu.java:412)
         at oracle.ideimpl.explorer.BaseTreeExplorer.fireDefaultAction(BaseTreeExplorer.java:1792)
         at oracle.ideimpl.explorer.BaseTreeExplorer.dblClicked(BaseTreeExplorer.java:2127)
         at oracle.ideimpl.explorer.BaseTreeExplorer.mouseReleased(BaseTreeExplorer.java:2148)
         at oracle.ideimpl.explorer.CustomTree.processMouseEvent(CustomTree.java:198)
         at java.awt.Component.processEvent(Component.java:5806)
         at java.awt.Container.processEvent(Container.java:2058)
         at java.awt.Component.dispatchEventImpl(Component.java:4413)
         at java.awt.Container.dispatchEventImpl(Container.java:2116)
         at java.awt.Component.dispatchEvent(Component.java:4243)
         at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4322)
         at java.awt.LightweightDispatcher.processMouseEvent(Container.java:3986)
         at java.awt.LightweightDispatcher.dispatchEvent(Container.java:3916)
         at java.awt.Container.dispatchEventImpl(Container.java:2102)
         at java.awt.Window.dispatchEventImpl(Window.java:2440)
         at java.awt.Component.dispatchEvent(Component.java:4243)
         at java.awt.EventQueue.dispatchEvent(EventQueue.java:599)
         at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:273)
         at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:183)
         at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:173)
         at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:168)
         at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:160)
         at java.awt.EventDispatchThread.run(EventDispatchThread.java:121)

    I take that back, on restart it now only occurs in an existing project.
    For that existing project I ran the ADF wizard, and just happened to manually create a jazn-data.xml file via the New Gallery too. I note there appears to be 2 instances of the file:
    1) <app workspace>\src\META-INF\jazn-data.xml
    2) <app workspace>\ViewController\src\META-INF\jazn-data.xml
    The first was created by the ADF wizard, and the 2nd the New Gallery. The first appears under the Application Resources sub-window, while the 2nd in the META-INF node for the ViewController in the App Navigator.
    CM.

  • Oracle.oc4j.admin.internal.DeployerException: Could not read jazn-data conf

    I have an J2EE application along. This application works fine in IDE(JDeveloper9i), but when I want to deploy the EARfile in Jdeveloper10g,it gives me nested Exception in the code according to the following message in the console:
    Wrote WAR file to C:\jdev1012\Workspaces\Workspace_STInstall\Pr_Dev_Aug05\deploy\webapp1.war
    Wrote EAR file to C:\jdev1012\Workspaces\Workspace_STInstall\Pr_Dev_Aug05\deploy\application1.ear
    Invoking OC4J admin tool...
    C:\jdev\jdk\jre\bin\javaw.exe -jar C:\jdev1012\j2ee\home\admin.jar ormi://strele01.idc.oracle.com:23791 admin **** -deploy -file C:\jdev1012\Workspaces\Workspace_STInstall\Pr_Dev_Aug05\deploy\application1.ear -deploymentName stinstall-ear
    Error: Deploy error: deploy failed!: ; nested exception is:
    com.evermind.client.orion.AdminCommandException: Deploy error: deploy failed!: ; nested exception is:
         oracle.oc4j.admin.internal.DeployerException: Could not read jazn-data config file: file:/C:/jdev1012/j2ee/home/application-deployments/stinstall-ear/jazn-data.xml for stinstall-ear (C:\jdev1012\j2ee\home\application-deployments\stinstall-ear\jazn-data.xml (The system cannot find the file specified))
         at com.evermind.client.orion.DeployCommand.execute(DeployCommand.java:98)
         at com.evermind.client.orion.Oc4jAdminConsole.executeCommand(Oc4jAdminConsole.java:121)
         at com.evermind.client.orion.Oc4jAdminConsole.main(Oc4jAdminConsole.java:30)
    java.rmi.RemoteException: deploy failed!: ; nested exception is:
         oracle.oc4j.admin.internal.DeployerException: Could not read jazn-data config file: file:/C:/jdev1012/j2ee/home/application-deployments/stinstall-ear/jazn-data.xml for stinstall-ear (C:\jdev1012\j2ee\home\application-deployments\stinstall-ear\jazn-data.xml (The system cannot find the file specified))
         oracle.oc4j.admin.internal.DeployerException: Could not read jazn-data config file: file:/C:/jdev1012/j2ee/home/application-deployments/stinstall-ear/jazn-data.xml for stinstall-ear (C:\jdev1012\j2ee\home\application-deployments\stinstall-ear\jazn-data.xml (The system cannot find the file specified))
         at com.evermind.server.rmi.RMIConnection.EXCEPTION_ORIGINATES_FROM_THE_REMOTE_SERVER(RMIConnection.java:1602)
         at com.evermind.server.rmi.RMIConnection.invokeMethod(RMIConnection.java:1553)
         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 com.evermind.client.orion.DeployCommand.execute(DeployCommand.java:95)
         at com.evermind.client.orion.Oc4jAdminConsole.executeCommand(Oc4jAdminConsole.java:121)
         at com.evermind.client.orion.Oc4jAdminConsole.main(Oc4jAdminConsole.java:30)
    Caused by: oracle.oc4j.admin.internal.DeployerException: Could not read jazn-data config file: file:/C:/jdev1012/j2ee/home/application-deployments/stinstall-ear/jazn-data.xml for stinstall-ear (C:\jdev1012\j2ee\home\application-deployments\stinstall-ear\jazn-data.xml (The system cannot find the file specified))
         at oracle.oc4j.admin.internal.DeployerBase.execute(DeployerBase.java:91)
         at com.evermind.server.administration.DefaultApplicationServerAdministrator.internalDeploy(DefaultApplicationServerAdministrator.java:378)
         at com.evermind.server.administration.DefaultApplicationServerAdministrator.deploy(DefaultApplicationServerAdministrator.java:278)
         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:186)
         at java.lang.Thread.run(Thread.java:534)
    ---- Embedded exception
    oracle.oc4j.admin.internal.DeployerException: Could not read jazn-data config file: file:/C:/jdev1012/j2ee/home/application-deployments/stinstall-ear/jazn-data.xml for stinstall-ear (C:\jdev1012\j2ee\home\application-deployments\stinstall-ear\jazn-data.xml (The system cannot find the file specified))
         at oracle.oc4j.admin.internal.DeployerBase.execute(DeployerBase.java:91)
         at com.evermind.server.administration.DefaultApplicationServerAdministrator.internalDeploy(DefaultApplicationServerAdministrator.java:378)
         at com.evermind.server.administration.DefaultApplicationServerAdministrator.deploy(DefaultApplicationServerAdministrator.java:278)
         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:186)
         at java.lang.Thread.run(Thread.java:534)
    ---- Embedded exception
    java.lang.InstantiationException: Could not read jazn-data config file: file:/C:/jdev1012/j2ee/home/application-deployments/stinstall-ear/jazn-data.xml for stinstall-ear (C:\jdev1012\j2ee\home\application-deployments\stinstall-ear\jazn-data.xml (The system cannot find the file specified))
         at com.evermind.server.XMLServerConfig.storeConfig(XMLServerConfig.java:1249)
         at com.evermind.server.XMLServerConfig.storeJAZNConfig(XMLServerConfig.java:1197)
         at com.evermind.server.XMLServerConfig.mkUserManager(XMLServerConfig.java:174)
         at com.evermind.server.XMLServerConfig.initUserManager(XMLServerConfig.java:333)
         at com.evermind.server.XMLServerConfig.initUserManagers(XMLServerConfig.java:240)
         at com.evermind.server.XMLServerConfig.postInit(XMLServerConfig.java:643)
         at com.evermind.server.deployment.EnterpriseArchive.postInit(EnterpriseArchive.java:1035)
         at com.evermind.xml.XMLConfig.init(XMLConfig.java:181)
         at com.evermind.server.ServerComponent.initDeployment(ServerComponent.java:317)
         at com.evermind.server.ServerComponent.copyAndDeploy(ServerComponent.java:386)
         at com.evermind.server.ServerComponent.initDeployment(ServerComponent.java:288)
         at oracle.oc4j.admin.internal.ApplicationDeployer.initArchive(ApplicationDeployer.java:283)
         at oracle.oc4j.admin.internal.ApplicationDeployer.doDeploy(ApplicationDeployer.java:120)
         at oracle.oc4j.admin.internal.DeployerBase.execute(DeployerBase.java:73)
         at com.evermind.server.administration.DefaultApplicationServerAdministrator.internalDeploy(DefaultApplicationServerAdministrator.java:378)
         at com.evermind.server.administration.DefaultApplicationServerAdministrator.deploy(DefaultApplicationServerAdministrator.java:278)
         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:186)
         at java.lang.Thread.run(Thread.java:534)
    ---- Embedded exception
    java.lang.InstantiationException: Could not read jazn-data config file: file:/C:/jdev1012/j2ee/home/application-deployments/stinstall-ear/jazn-data.xml for stinstall-ear (C:\jdev1012\j2ee\home\application-deployments\stinstall-ear\jazn-data.xml (The system cannot find the file specified))
         at com.evermind.server.XMLServerConfig.storeConfig(XMLServerConfig.java:1249)
         at com.evermind.server.XMLServerConfig.storeJAZNConfig(XMLServerConfig.java:1197)
         at com.evermind.server.XMLServerConfig.mkUserManager(XMLServerConfig.java:174)
         at com.evermind.server.XMLServerConfig.initUserManager(XMLServerConfig.java:333)
         at com.evermind.server.XMLServerConfig.initUserManagers(XMLServerConfig.java:240)
         at com.evermind.server.XMLServerConfig.postInit(XMLServerConfig.java:643)
         at com.evermind.server.deployment.EnterpriseArchive.postInit(EnterpriseArchive.java:1035)
         at com.evermind.xml.XMLConfig.init(XMLConfig.java:181)
         at com.evermind.server.ServerComponent.initDeployment(ServerComponent.java:317)
         at com.evermind.server.ServerComponent.copyAndDeploy(ServerComponent.java:386)
         at com.evermind.server.ServerComponent.initDeployment(ServerComponent.java:288)
         at oracle.oc4j.admin.internal.ApplicationDeployer.initArchive(ApplicationDeployer.java:283)
         at oracle.oc4j.admin.internal.ApplicationDeployer.doDeploy(ApplicationDeployer.java:120)
         at oracle.oc4j.admin.internal.DeployerBase.execute(DeployerBase.java:73)
         at com.evermind.server.administration.DefaultApplicationServerAdministrator.internalDeploy(DefaultApplicationServerAdministrator.java:378)
         at com.evermind.server.administration.DefaultApplicationServerAdministrator.deploy(DefaultApplicationServerAdministrator.java:278)
         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:186)
         at java.lang.Thread.run(Thread.java:534)
    Exit status of OC4J admin tool (-deploy): 1
    Elapsed time for deployment: 8 seconds
    #### Deployment incomplete. #### Aug 17, 2005 5:19:14 PM
    Does any one knows the cause of this exception??????????Plz. help
    Message was edited by:
    user446879

    Thanks....
    Contents of the orion-application.xml are below:
    ++++++++++++++++++++++++++++++++++++++++++++++++++++++
    <?xml version="1.0"?>
    <!DOCTYPE orion-application PUBLIC "-//Evermind//DTD J2EE Application runtime 1.2//EN" "http://xmlns.oracle.com/ias/dtds/orion-application.dtd">
    <orion-application>
    <data-sources path="./data-sources.xml"/>
         <!-- mapping for realm "jazn.com" -->
    <security-role-mapping name="stonly">
              <group name="stonlys" />
         </security-role-mapping>
         <security-role-mapping name="stinternal">
              <group name="stusers" />
         </security-role-mapping>
         <security-role-mapping name="stadmin">
              <group name="stadmins" />
         </security-role-mapping>
    <security-role-mapping name="stinstallconfig">
              <group name="stinstallconfigs" />
         </security-role-mapping>
    <security-role-mapping name="stcalendar">
              <group name="stcalendars" />
         </security-role-mapping>
    <security-role-mapping name="stemail">
              <group name="stemails" />
         </security-role-mapping>
         <security-role-mapping name="stem">
              <group name="stems" />
         </security-role-mapping>
         <security-role-mapping name="stfile">
              <group name="stfiles" />
         </security-role-mapping>
         <security-role-mapping name="stintegclient">
              <group name="stintegclients" />
         </security-role-mapping>
         <security-role-mapping name="strtc">
              <group name="strtcs" />
         </security-role-mapping>
         <security-role-mapping name="stusearch">
              <group name="stusearchs" />
         </security-role-mapping>
         <security-role-mapping name="stcportlet">
              <group name="stcportlets" />
         </security-role-mapping>
         <security-role-mapping name="stwireless">
              <group name="stwires" />
         </security-role-mapping>
    <security-role-mapping name="stvmfax">
              <group name="stvmfaxs" />
         </security-role-mapping>
         <!-- use JAZN-XML by default -->
         <jazn provider="XML" location="./jazn-data.xml" />
         </orion-application>
    ++++++++++++++++++++++++++++++++++++++++++++++++++++++
    Plz. clarify about the listing of the EAR file you wants to have a look??

  • 10.1.3 - what happened to jazn-data.xml?

    I tried to run my application, unchanged from 10.1.2 to 10.1.3, and things aren't going so well.
    1. I can't login anymore. I use a simple jazn-data.xml configuration for authentication, but the documentation talks about a system-jazn-data.xml file. If I use the embedded oc4j server and add any more accounts, they are added the jazn-data.xml deployment descriptor for my application. I also added a jazn.xml file to point to this file (did not have in 10.1.2). The documentation talks about an adf-config.xml file for the PROJECT, but says it should be in the workspace/.adf folder. The docs also mention a system-jazn-data.xml file, but this is not a deployment type file. When I examined my workspace the workspace-oc4j-app.xml file has a pointer to a jazn.com file, which I'm unsure how to change inside the application. If I REMOVE this from my "config" via embedded oc4j, it gets added back in. Where is this coming from, and why? What are the steps to get jazn/jaas working with this, easily?
    2. I can't get into the database anymore. All I can say is that it is UNCHANGED, and the connection information is present.
    3. The migration of the system settings is a definite action to SKIP. When I migrated I could not access the "check for update wizard" wizard.
    4. I haven't had much time to review any docs, but this appears to be a substantial change from the way the 10.1.2 bindings and page life-cycle work. I'm somewhat confused about why this appears to be such a major shift, feeling somewhat abandoned that I went this route - I'm not ready to jump on the JSF bandwagon at this point - even though it's been 3+ years in the making.
    a) What's the suggested alternative to a DataAction for invoking an application module service method?
    b) The saveErrors method disappears with no replacement. Was this a fluke or did my documentation just not print properly?
    c) My data forward actions are inaccessible from the struts-config via a right click on the action class. Am I missing something here? Do I have to go back to the application navigator to get to them?
    5. Why does the help:print option provide no means to access the printer properties? If I can't print duplex, or change the margins, and the text in the right margin gets truncated, you might want to just disable the print icon altogether.
    I hope this doesn't appear to be knee-jerk reaction. I would really expect an application written in 10.1.2 to run UNCHANGED in 10.1.3.
    I'll appreciate any advice that is provided.
    Thanks.

    For #2, the message displayed is:
    Validation Error
    You must correct the following error(s) before proceeding:
    JBO-29000: Unexpected exception caught: oracle.jbo.common.ampool.ApplicationPoolException, msg=JBO-30003: The application pool (model.AppModuleLocalWithDS) failed to checkout an application module due to the following exception:
    JBO-29000: Unexpected exception caught: oracle.jbo.DMLException, msg=JBO-26061: Error while opening JDBC connection.
    JBO-26061: Error while opening JDBC connection.
    invalid arguments in call
    If I switch back to a JDBC URL it works fine.
    The data-sources.xml file looks substantially changed in that now it contains the new 10.1.3 Oc4j jdbc connection information that use connection pools, native data sources and managed data-sources. All of this stuff "looks" correct, however it won't connect.
    The stack trace is as follows:
    6/02/03 16:29:31 [410] (0) ApplicationPoolImpl.resourceStateChanged wasn't release related. No notify invoked.
    06/02/03 16:29:31 [411] (16) Trying connection: DataSource='oracle.jdbc.pool.OracleDataSource@af2a50'...
    06/02/03 16:29:31 [412] (0) DBTransactionImpl.initTransaction: Login failed
    06/02/03 16:29:31 [413] (0) java.sql.SQLException: invalid arguments in call
         at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:138)
         at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:175)
         at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:240)
         at oracle.jdbc.driver.T4CConnection.logon(T4CConnection.java:206)
         at oracle.jdbc.driver.PhysicalConnection.<init>(PhysicalConnection.java:430)
         at oracle.jdbc.driver.T4CConnection.<init>(T4CConnection.java:151)
         at oracle.jdbc.driver.T4CDriverExtension.getConnection(T4CDriverExtension.java:32)
         at oracle.jdbc.driver.OracleDriver.connect(OracleDriver.java:608)
         at oracle.jdbc.pool.OracleDataSource.getConnection(OracleDataSource.java:218)
         at oracle.jdbc.pool.OracleDataSource.getConnection(OracleDataSource.java:159)
         at oracle.jbo.server.DBTransactionImpl.establishNewConnection(DBTransactionImpl.java:829)
         at oracle.jbo.server.DBTransactionImpl.initTransaction(DBTransactionImpl.java:1153)
         at oracle.jbo.server.DBTransactionImpl.initTxn(DBTransactionImpl.java:5887)
         at oracle.jbo.server.DBTransactionImpl2.connectToDataSource(DBTransactionImpl2.java:251)
         at oracle.jbo.server.DBTransactionImpl2.connectToDataSource(DBTransactionImpl2.java:274)
         at oracle.jbo.common.ampool.DefaultConnectionStrategy.connect(DefaultConnectionStrategy.java:184)
         at oracle.jbo.server.ApplicationPoolMessageHandler.doPoolConnect(ApplicationPoolMessageHandler.java:440)
         at oracle.jbo.server.ApplicationPoolMessageHandler.doPoolMessage(ApplicationPoolMessageHandler.java:329)
         at oracle.jbo.server.ApplicationModuleImpl.doPoolMessage(ApplicationModuleImpl.java:7735)
         at oracle.jbo.common.ampool.ApplicationPoolImpl.sendPoolMessage(ApplicationPoolImpl.java:3965)
         at oracle.jbo.common.ampool.ApplicationPoolImpl.prepareApplicationModule(ApplicationPoolImpl.java:2114)
         at oracle.jbo.common.ampool.ApplicationPoolImpl.doCheckout(ApplicationPoolImpl.java:1913)
         at oracle.jbo.common.ampool.ApplicationPoolImpl.useApplicationModule(ApplicationPoolImpl.java:2756)
         at oracle.jbo.common.ampool.SessionCookieImpl.useApplicationModule(SessionCookieImpl.java:426)
         at oracle.jbo.http.HttpSessionCookieImpl.useApplicationModule(HttpSessionCookieImpl.java:258)
         at oracle.jbo.common.ampool.SessionCookieImpl.useApplicationModule(SessionCookieImpl.java:397)
         at oracle.jbo.common.ampool.SessionCookieImpl.useApplicationModule(SessionCookieImpl.java:392)
         at oracle.adf.model.bc4j.DCJboDataControl.rebuildApplicationModule(DCJboDataControl.java:1550)
         at oracle.adf.model.bc4j.DCJboDataControl.beginRequest(DCJboDataControl.java:1408)
         at oracle.adf.model.binding.DCDataControlReference.getDataControl(DCDataControlReference.java:99)
         at oracle.adf.model.BindingContext.get(BindingContext.java:465)
         at oracle.adf.model.BindingContext.findDataControl(BindingContext.java:322)
         at view.fwkext.BaseDataForwardAction.getApplicationModule(BaseDataForwardAction.java:235)
         at view.Act220DataForwardAction.getPFAppModule(Act220DataForwardAction.java:45)
         at view.strutsactions.PIN_EntryAction.onEnter(PIN_EntryAction.java:43)
         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:585)
         at oracle.adf.controller.lifecycle.PageLifecycle.handleEvent(PageLifecycle.java:545)
         at oracle.adf.controller.struts.actions.StrutsPageLifecycle.handleEvent(StrutsPageLifecycle.java:258)
         at oracle.adf.controller.lifecycle.PageLifecycle.processComponentEvents(PageLifecycle.java:478)
         at oracle.adf.controller.struts.actions.DataAction.processComponentEvents(DataAction.java:235)
         at oracle.adf.controller.struts.actions.DataAction.processComponentEvents(DataAction.java:430)
         at oracle.adf.controller.lifecycle.PageLifecycle.handleLifecycle(PageLifecycle.java:127)
         at oracle.adf.controller.struts.actions.DataAction.handleLifecycle(DataAction.java:222)
         at view.fwkext.BaseDataForwardAction.handleLifecycle(BaseDataForwardAction.java:294)
         at oracle.adf.controller.struts.actions.DataAction.execute(DataAction.java:153)
         at oracle.adf.controller.v2.struts.actions.DataAction.execute(DataAction.java:104)
         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:1482)
         at org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:525)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:763)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
         at com.evermind.server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:64)
         at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:332)
         at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:629)
         at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:376)
         at com.evermind.server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:870)
         at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:451)
         at com.evermind.server.http.HttpRequestHandler.serveOneRequest(HttpRequestHandler.java:218)
         at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:119)
         at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:112)
         at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)
         at oracle.oc4j.network.ServerSocketAcceptHandler.procClientSocket(ServerSocketAcceptHandler.java:230)
         at oracle.oc4j.network.ServerSocketAcceptHandler.access$800(ServerSocketAcceptHandler.java:33)
         at oracle.oc4j.network.ServerSocketAcceptHandler$AcceptHandlerHorse.run(ServerSocketAcceptHandler.java:831)
         at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
         at java.lang.Thread.run(Thread.java:595)
    06/02/03 16:29:31 [414] (16) AMPoolMessageBundle (language base) being initialized
    06/02/03 16:29:31 [415] (0) * * * BindingContainer caching EXCEPTION:oracle.jbo.JboException
    06/02/03 16:29:31 [416] (0) JBO-30003: The application pool (model.AppModuleLocalWithDS) failed to checkout an application module due to the following exception:
    oracle.jbo.JboException: JBO-29000: Unexpected exception caught: oracle.jbo.DMLException, msg=JBO-26061: Error while opening JDBC connection.
         at oracle.jbo.common.ampool.ApplicationPoolImpl.doCheckout(ApplicationPoolImpl.java:1954)
         at oracle.jbo.common.ampool.ApplicationPoolImpl.useApplicationModule(ApplicationPoolImpl.java:2756)
         at oracle.jbo.common.ampool.SessionCookieImpl.useApplicationModule(SessionCookieImpl.java:426)
         at oracle.jbo.http.HttpSessionCookieImpl.useApplicationModule(HttpSessionCookieImpl.java:258)
         at oracle.jbo.common.ampool.SessionCookieImpl.useApplicationModule(SessionCookieImpl.java:397)
         at oracle.jbo.common.ampool.SessionCookieImpl.useApplicationModule(SessionCookieImpl.java:392)
         at oracle.adf.model.bc4j.DCJboDataControl.rebuildApplicationModule(DCJboDataControl.java:1550)
         at oracle.adf.model.bc4j.DCJboDataControl.beginRequest(DCJboDataControl.java:1408)
         at oracle.adf.model.binding.DCDataControlReference.getDataControl(DCDataControlReference.java:99)
         at oracle.adf.model.BindingContext.get(BindingContext.java:465)
         at oracle.adf.model.BindingContext.findDataControl(BindingContext.java:322)
         at view.fwkext.BaseDataForwardAction.getApplicationModule(BaseDataForwardAction.java:235)
         at view.Act220DataForwardAction.getPFAppModule(Act220DataForwardAction.java:45)
         at view.strutsactions.PIN_EntryAction.onEnter(PIN_EntryAction.java:43)
         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:585)
         at oracle.adf.controller.lifecycle.PageLifecycle.handleEvent(PageLifecycle.java:545)
         at oracle.adf.controller.struts.actions.StrutsPageLifecycle.handleEvent(StrutsPageLifecycle.java:258)
         at oracle.adf.controller.lifecycle.PageLifecycle.processComponentEvents(PageLifecycle.java:478)
         at oracle.adf.controller.struts.actions.DataAction.processComponentEvents(DataAction.java:235)
         at oracle.adf.controller.struts.actions.DataAction.processComponentEvents(DataAction.java:430)
         at oracle.adf.controller.lifecycle.PageLifecycle.handleLifecycle(PageLifecycle.java:127)
         at oracle.adf.controller.struts.actions.DataAction.handleLifecycle(DataAction.java:222)
         at view.fwkext.BaseDataForwardAction.handleLifecycle(BaseDataForwardAction.java:294)
         at oracle.adf.controller.struts.actions.DataAction.execute(DataAction.java:153)
         at oracle.adf.controller.v2.struts.actions.DataAction.execute(DataAction.java:104)
         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:1482)
         at org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:525)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:763)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
         at com.evermind.server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:64)
         at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:332)
         at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:629)
         at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:376)
         at com.evermind.server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:870)
         at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:451)
         at com.evermind.server.http.HttpRequestHandler.serveOneRequest(HttpRequestHandler.java:218)
         at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:119)
         at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:112)
         at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)
         at oracle.oc4j.network.ServerSocketAcceptHandler.procClientSocket(ServerSocketAcceptHandler.java:230)
         at oracle.oc4j.network.ServerSocketAcceptHandler.access$800(ServerSocketAcceptHandler.java:33)
         at oracle.oc4j.network.ServerSocketAcceptHandler$AcceptHandlerHorse.run(ServerSocketAcceptHandler.java:831)
         at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
         at java.lang.Thread.run(Thread.java:595)
    ## Detail 0 ##
    oracle.jbo.DMLException: JBO-26061: Error while opening JDBC connection.
         at oracle.jbo.server.DBTransactionImpl.establishNewConnection(DBTransactionImpl.java:993)
         at oracle.jbo.server.DBTransactionImpl.initTransaction(DBTransactionImpl.java:1153)
         at oracle.jbo.server.DBTransactionImpl.initTxn(DBTransactionImpl.java:5887)
         at oracle.jbo.server.DBTransactionImpl2.connectToDataSource(DBTransactionImpl2.java:251)
         at oracle.jbo.server.DBTransactionImpl2.connectToDataSource(DBTransactionImpl2.java:274)
         at oracle.jbo.common.ampool.DefaultConnectionStrategy.connect(DefaultConnectionStrategy.java:184)
         at oracle.jbo.server.ApplicationPoolMessageHandler.doPoolConnect(ApplicationPoolMessageHandler.java:440)
         at oracle.jbo.server.ApplicationPoolMessageHandler.doPoolMessage(ApplicationPoolMessageHandler.java:329)
         at oracle.jbo.server.ApplicationModuleImpl.doPoolMessage(ApplicationModuleImpl.java:7735)
         at oracle.jbo.common.ampool.ApplicationPoolImpl.sendPoolMessage(ApplicationPoolImpl.java:3965)
         at oracle.jbo.common.ampool.ApplicationPoolImpl.prepareApplicationModule(ApplicationPoolImpl.java:2114)
         at oracle.jbo.common.ampool.ApplicationPoolImpl.doCheckout(ApplicationPoolImpl.java:1913)
         at oracle.jbo.common.ampool.ApplicationPoolImpl.useApplicationModule(ApplicationPoolImpl.java:2756)
         at oracle.jbo.common.ampool.SessionCookieImpl.useApplicationModule(SessionCookieImpl.java:426)
         at oracle.jbo.http.HttpSessionCookieImpl.useApplicationModule(HttpSessionCookieImpl.java:258)
         at oracle.jbo.common.ampool.SessionCookieImpl.useApplicationModule(SessionCookieImpl.java:397)
         at oracle.jbo.common.ampool.SessionCookieImpl.useApplicationModule(SessionCookieImpl.java:392)
         at oracle.adf.model.bc4j.DCJboDataControl.rebuildApplicationModule(DCJboDataControl.java:1550)
         at oracle.adf.model.bc4j.DCJboDataControl.beginRequest(DCJboDataControl.java:1408)
         at oracle.adf.model.binding.DCDataControlReference.getDataControl(DCDataControlReference.java:99)
         at oracle.adf.model.BindingContext.get(BindingContext.java:465)
         at oracle.adf.model.BindingContext.findDataControl(BindingContext.java:322)
         at view.fwkext.BaseDataForwardAction.getApplicationModule(BaseDataForwardAction.java:235)
         at view.Act220DataForwardAction.getPFAppModule(Act220DataForwardAction.java:45)
         at view.strutsactions.PIN_EntryAction.onEnter(PIN_EntryAction.java:43)
         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:585)
         at oracle.adf.controller.lifecycle.PageLifecycle.handleEvent(PageLifecycle.java:545)
         at oracle.adf.controller.struts.actions.StrutsPageLifecycle.handleEvent(StrutsPageLifecycle.java:258)
         at oracle.adf.controller.lifecycle.PageLifecycle.processComponentEvents(PageLifecycle.java:478)
         at oracle.adf.controller.struts.actions.DataAction.processComponentEvents(DataAction.java:235)
         at oracle.adf.controller.struts.actions.DataAction.processComponentEvents(DataAction.java:430)
         at oracle.adf.controller.lifecycle.PageLifecycle.handleLifecycle(PageLifecycle.java:127)
         at oracle.adf.controller.struts.actions.DataAction.handleLifecycle(DataAction.java:222)
         at view.fwkext.BaseDataForwardAction.handleLifecycle(BaseDataForwardAction.java:294)
         at oracle.adf.controller.struts.actions.DataAction.execute(DataAction.java:153)
         at oracle.adf.controller.v2.struts.actions.DataAction.execute(DataAction.java:104)
         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:1482)
         at org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:525)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:763)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
         at com.evermind.server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:64)
         at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:332)
         at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:629)
         at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:376)
         at com.evermind.server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:870)
         at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:451)
         at com.evermind.server.http.HttpRequestHandler.serveOneRequest(HttpRequestHandler.java:218)
         at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:119)
         at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:112)
         at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)
         at oracle.oc4j.network.ServerSocketAcceptHandler.procClientSocket(ServerSocketAcceptHandler.java:230)
         at oracle.oc4j.network.ServerSocketAcceptHandler.access$800(ServerSocketAcceptHandler.java:33)
         at oracle.oc4j.network.ServerSocketAcceptHandler$AcceptHandlerHorse.run(ServerSocketAcceptHandler.java:831)
         at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
         at java.lang.Thread.run(Thread.java:595)
    ## Detail 0 ##
    java.sql.SQLException: invalid arguments in call
         at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:138)
         at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:175)
         at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:240)
         at oracle.jdbc.driver.T4CConnection.logon(T4CConnection.java:206)
         at oracle.jdbc.driver.PhysicalConnection.<init>(PhysicalConnection.java:430)
         at oracle.jdbc.driver.T4CConnection.<init>(T4CConnection.java:151)
         at oracle.jdbc.driver.T4CDriverExtension.getConnection(T4CDriverExtension.java:32)
         at oracle.jdbc.driver.OracleDriver.connect(OracleDriver.java:608)
         at oracle.jdbc.pool.OracleDataSource.getConnection(OracleDataSource.java:218)
         at oracle.jdbc.pool.OracleDataSource.getConnection(OracleDataSource.java:159)
         at oracle.jbo.server.DBTransactionImpl.establishNewConnection(DBTransactionImpl.java:829)
         at oracle.jbo.server.DBTransactionImpl.initTransaction(DBTransactionImpl.java:1153)
         at oracle.jbo.server.DBTransactionImpl.initTxn(DBTransactionImpl.java:5887)
         at oracle.jbo.server.DBTransactionImpl2.connectToDataSource(DBTransactionImpl2.java:251)
         at oracle.jbo.server.DBTransactionImpl2.connectToDataSource(DBTransactionImpl2.java:274)
         at oracle.jbo.common.ampool.DefaultConnectionStrategy.connect(DefaultConnectionStrategy.java:184)
         at oracle.jbo.server.ApplicationPoolMessageHandler.doPoolConnect(ApplicationPoolMessageHandler.java:440)
         at oracle.jbo.server.ApplicationPoolMessageHandler.doPoolMessage(ApplicationPoolMessageHandler.java:329)
         at oracle.jbo.server.ApplicationModuleImpl.doPoolMessage(ApplicationModuleImpl.java:7735)
         at oracle.jbo.common.ampool.ApplicationPoolImpl.sendPoolMessage(ApplicationPoolImpl.java:3965)
         at oracle.jbo.common.ampool.ApplicationPoolImpl.prepareApplicationModule(ApplicationPoolImpl.java:2114)
         at oracle.jbo.common.ampool.ApplicationPoolImpl.doCheckout(ApplicationPoolImpl.java:1913)
         at oracle.jbo.common.ampool.ApplicationPoolImpl.useApplicationModule(ApplicationPoolImpl.java:2756)
         at oracle.jbo.common.ampool.SessionCookieImpl.useApplicationModule(SessionCookieImpl.java:426)
         at oracle.jbo.http.HttpSessionCookieImpl.useApplicationModule(HttpSessionCookieImpl.java:258)
         at oracle.jbo.common.ampool.SessionCookieImpl.useApplicationModule(SessionCookieImpl.java:397)
         at oracle.jbo.common.ampool.SessionCookieImpl.useApplicationModule(SessionCookieImpl.java:392)
         at oracle.adf.model.bc4j.DCJboDataControl.rebuildApplicationModule(DCJboDataControl.java:1550)
         at oracle.adf.model.bc4j.DCJboDataControl.beginRequest(DCJboDataControl.java:1408)
         at oracle.adf.model.binding.DCDataControlReference.getDataControl(DCDataControlReference.java:99)
         at oracle.adf.model.BindingContext.get(BindingContext.java:465)
         at oracle.adf.model.BindingContext.findDataControl(BindingContext.java:322)
         at view.fwkext.BaseDataForwardAction.getApplicationModule(BaseDataForwardAction.java:235)
         at view.Act220DataForwardAction.getPFAppModule(Act220DataForwardAction.java:45)
         at view.strutsactions.PIN_EntryAction.onEnter(PIN_EntryAction.java:43)
         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:585)
         at oracle.adf.controller.lifecycle.PageLifecycle.handleEvent(PageLifecycle.java:545)
         at oracle.adf.controller.struts.actions.StrutsPageLifecycle.handleEvent(StrutsPageLifecycle.java:258)
         at oracle.adf.controller.lifecycle.PageLifecycle.processComponentEvents(PageLifecycle.java:478)
         at oracle.adf.controller.struts.actions.DataAction.processComponentEvents(DataAction.java:235)
         at oracle.adf.controller.struts.actions.DataAction.processComponentEvents(DataAction.java:430)
         at oracle.adf.controller.lifecycle.PageLifecycle.handleLifecycle(PageLifecycle.java:127)
         at oracle.adf.controller.struts.actions.DataAction.handleLifecycle(DataAction.java:222)
         at view.fwkext.BaseDataForwardAction.handleLifecycle(BaseDataForwardAction.java:294)
         at oracle.adf.controller.struts.actions.DataAction.execute(DataAction.java:153)
         at oracle.adf.controller.v2.struts.actions.DataAction.execute(DataAction.java:104)
         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:1482)
         at org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:525)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:763)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
         at com.evermind.server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:64)
         at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:332)
         at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:629)
         at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:376)
         at com.evermind.server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:870)
         at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:451)
         at com.evermind.server.http.HttpRequestHandler.serveOneRequest(HttpRequestHandler.java:218)
         at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:119)
         at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:112)
         at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)
         at oracle.oc4j.network.ServerSocketAcceptHandler.procClientSocket(ServerSocketAcceptHandler.java:230)
         at oracle.oc4j.network.ServerSocketAcceptHandler.access$800(ServerSocketAcceptHandler.java:33)
         at oracle.oc4j.network.ServerSocketAcceptHandler$AcceptHandlerHorse.run(ServerSocketAcceptHandler.java:831)
         at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
         at java.lang.Thread.run(Thread.java:595)

  • Oracle EPM 11.1.2 issue with system-jazn-data.xml & HIT entries

    Have been working on configuring Oracle EPM 11.1.2 and have one final issue from the diagnostic utility that I cannot figure out. Configuration sequence is as follows and each step is installed in its own database:
    Step 1 - Foundation/Shared Services/Calc Mgr/EPMA/Essbase to a single relational DB. I am not configuring the web server until the final step.
    Step 2 - Hyperion Performance Scorecard
    Step 3 - Planning
    Step 4 - Profitability
    Step 5 - RA and configure web server.
    I have used both SQL Server Express 2008 and Oracle DB 11g and get the same result.
    When I complete the install, restart all of the services, and run the diagnostic utility, I get a failure with foundation services indicating that the file "system-jazn-data.xml" cannot be found. No real help is provided with the error message and have found no help in the docs or on the web. I have searched the disk and the file seems to be in the proper place per the docs. I have done partial configs and do not get the error. I have then compared the system-jazn-data.xml file from the successful config to the system-jazn-data.xml file from the failed config they are identical. Both files seem to be bloated with tens of thousands of lines, most of them blank.
    I had reached a point where I thought the issue was related to Performance Scorecard and removed that step. I am now getting the error again.
    Anyone seeing this issue? Is it just a bogus message in the diagnostic report and can be ignored? Any other thoughts?
    Thanks
    EPMCloud

    Update - After going through the install many more times, I still do not know what the issue is, but I believe I have figured out how to resolve it. It appears that if you go back (after everything is installed and configured) and reconfigure the application server for Foundation services, the issue is corrected.
    I am running some final test now and if I discover something different, I will update the post.
    EPMCloud

  • SYS and DATA on same RAID 5 Array

    I have a server now with 4 drives; 2 Mirrored SYS, 1 DATA, and 1 Backup.
    (The backup one holds a copy of the DATA drive and my GRPWISE database).
    I just purchased a new server with SCSI drives, and it comes with 6 73GB
    U320 drives, and 2 36GB U160 drives. My question is how should I lay out
    my partitions? Should I put my DATA partition on a RAID 5 of the six
    drives, and then my SYS on mirrored 36GB drives, or should I just put my
    DATA and SYS partitions on the RAID 5 array.
    I am mostly concerned about performance, since this server runs
    GroupWise, NDS, and all my files...printers...etc.
    Also, currently my groupwise database is on my SYS partition, in the
    grpwise\gwdom folder...should this database be put on the DATA partition,
    or is it safe to have it on the SYS partition?
    Thanks!
    - Eric

    >How many users?
    20 total. At most 15 on at any given time.
    >Try to keep SYS clean as bad things happen if it fills up.
    Currently my SYS drive is 80GB, 1/4 full. 10GB is Mail, 5GB is ****
    (Deleting it now), and 5GB is SYS Files. How large should I make the new
    SYS drive if I move the GW Databases off it? (Just as a sidenote, I may
    be installing ZenWorks, so I would want to have room for that as well.)
    > I would keep all the "live" data on one RAID, but split it into SYS,
    DATA and MAIL and have all the Groupwise (Domain and PO) on the Mail
    volume and then have separate drive(s) for the Backup volume.
    If I move groupwise to another partition, should I move the software
    directory to, or just the DOMAIN and PO databases?
    >Do you also backup to tape/offsite, or is this your only backup?
    I do backup off-site incase of fire/flood etc. The reason I keep the hard
    drive backup, is for an easier way for me to restore deleted files, as
    well as just to have a backup on hand.
    The only problem in our backup scenario, which I will admit, is that we
    do not have software to backup GroupWise. We used to have Exchange and
    used Win2k3 Backup, to back it up, but after recently moving to GroupWise
    7, we don't have any software that will work with that, since the cost of
    backup software is very expensive for a small company.
    However, currently I have been going in remotly on the weekends, and
    shutting down GroupWise and copying the GRPWISE folder over to the
    offsite backup. I am looking into a way to automate this / a cheaper
    backup solution.
    > I would keep all the "live" data on one RAID, but split it into SYS,
    DATA
    > and MAIL and have all the Groupwise (Domain and PO) on the Mail volume
    and
    > then have separate drive(s) for the Backup volume. Do you also backup
    to
    > tape/offsite, or is this your only backup?
    >
    >
    > <[email protected]> wrote in message
    > news:[email protected]...
    > > I have a server now with 4 drives; 2 Mirrored SYS, 1 DATA, and 1
    Backup.
    > > (The backup one holds a copy of the DATA drive and my GRPWISE
    database).
    > >
    > > I just purchased a new server with SCSI drives, and it comes with 6
    73GB
    > > U320 drives, and 2 36GB U160 drives. My question is how should I lay
    out
    > > my partitions? Should I put my DATA partition on a RAID 5 of the six
    > > drives, and then my SYS on mirrored 36GB drives, or should I just put
    my
    > > DATA and SYS partitions on the RAID 5 array.
    > >
    > > I am mostly concerned about performance, since this server runs
    > > GroupWise, NDS, and all my files...printers...etc.
    > >
    > > Also, currently my groupwise database is on my SYS partition, in the
    > > grpwise\gwdom folder...should this database be put on the DATA
    partition,
    > > or is it safe to have it on the SYS partition?
    > >
    > > Thanks!
    > >
    > > - Eric
    >
    >

  • Jazn-data. xml has 3 errors on newly created portal app

    I just created a new portal app and my jazn-data.xml has 3 errors right off the bat.
    1. element attributes not expected
    2. element functions not expected
    3. Element system-policy not expected
    Why am I getting these errors.

    Are you sure? Cause somebody told me the same thing about my css files. But then somebody suggested I check the ADF Faces Extension and the errors went away and my skins were able to be applied.
    Also I created a user how the Portal Framework tutorial told me too and when I login as that user all the files I am bringing in from the content server won't display, all my panel links disappear and I get this error when I log in as content admin:
    oracle.webcenter.content.integration.RepositoryException: Sep 14, 2012 9:53:59 AM oracle.webcenter.content.integration.spi.ucm.UCMBridge getUCMAccessLevel
    SEVERE: Cannot get security info for node ID: /UCM/0
    Caused by: oracle.webcenter.content.integration.RepositoryException: oracle.stellent.ridc.protocol.ServiceException: Could not calculate the user's permissions. User 'contentadmin' cannot be retrieved.
    Edited by: beachw08 on Sep 14, 2012 6:54 AM
    Edited by: beachw08 on Sep 14, 2012 10:38 AM

  • What is app-jazn-data.xml

    Hello
    What is app-jazn-data.xml. Do modifications in system-jazn-data.xml automatically update app-jazn-data.xml?
    Thanks

    Hi,
    app-jazn-data.xml contains a copy of all security permissions set with ADF Security, This is a convenience file for you to import to system-jazn-data.xml on the target system or import to OID.
    So the answer is, no - you have to manually update system-jazn-data.xml or OID (using the migration tool)
    Frank

  • Jazn-data.xml file, authentication in web.xml and embedded oc4j

    I've defined new security-roles, security-constraints and an authentication method in my web.xml file and i've created a new jazn-data.xml file that holds the different users and their groups.
    If I want to link the security-roles of the web.xml file to the roles in the jazn-data.xml file I always need an orion-application.xml file, is this correct?
    If I want to deploy an application as this to the embedded container the security won't work, I'm always getting the '403 forbidden' page.
    Can somebody point me out how I need to define security for an embedded and standalone environment when using authentication and jazn-data.xml file + how do I deploy this to a standalone oc4j and how to get this same application to work in the embedded oc4J.

    hi "romanna"
    Part of the answer to "Can somebody point me out how I need to define security ..." can probably be found in the "Oracle ADF Developer's Guide" that has "18 Adding Security to an Application".
    success
    Jan

  • Enterprise Role grants in jazn-data fail for AD Provider User Accounts?

    Hello All,
    I have enterprise roles defined within my jazn-data.xml for my 11.1.1.4 web application. We just recently switched user accounts over to an active directory provider for authentication. So, I have user accounts associated with the active directory provider that are assigned to my enterprise roles. This is working fine because all of my EL expressions of the form #{securityContext.userInRole['EnterpriseRoleName']} are working great.
    However, all of the grants in jazn-data.xml for pages that should only be viewable by users with this role are now not working. Users with this role see a "Internal Server 500" error with the message "oracle.adf.controller.security.AuthorizationException: ADFC-0619: Authorization check failed", rather than the related pages. This all used to work when the user accounts were not coming from the active directory provider.
    As a work around, I've had to grant test-all view access to all pages, but hide controls and portions of pages that non-authorized users should see using EL like what I printed above.
    This can't be right. Why are AD user accounts treated differently by WebLogic Server, when the security context indicates that the user has the proper role?
    Thanks

    Haha... nice one. This is a low-key production app that is internal to this company. I can't have users with AD accounts, who used to have WLS internal accounts when the jazn grants worked, just stop using the application until some solution comes about. It may take days. I don't understand why you would leave such an unhelpful comment and then leave the discussion. Is this a precedence that you want set within your forum? Please help me to understand why this is a bad workaround. I'm just at the beginning of trying to figure out the root cause of this issue. A search didn't reveal any obvious answers, so I thought I'd reach out to my knowledgeable ADF friends on the forum to see if this was something that could easily be fixed.
    Back to your comment -- why is this a mistake? I have always used the rendered attribute value to hide navigation points to pages that are supposed to be accessible to users with the enterprise role (e.g. rendered="#{securityContext.userInRole['EnterpriseRoleName']}"). This still works fine in the context of this problem, because the security context is working properly -- it's picking up user membership to enterprise roles. It's the jazn grants that are not working for the AD provider related users.
    In this context, if some really smart user guesses the URL of a page I don't want them on because they don't have the role, then why can't I simply set rendered="#{securityContext.userInRole['EnterpriseRoleName']}" on the PGL that presents the body of the page? The content of the page isn't rendered. That's the point of the "rendered" attribute, right? Better yet, I could have a nice message that says that aren't authorized to view the page, rather than put a Java stack trace in their face. Why, then, as a temporary workaround, is this such a bad idea?
    Thank you "sameera.sac" for the links. I'd seen the first one before posting and it wasn't pertinent. But I'll certainly research the others you provided.
    Thanks

  • How to change application name in system-jazn-data.xml

    I have weblogic server installed and applications deployed.
    However, I'd like to change the application name in system-jazn-data.xml, specifically, the "<name>context=APPLICATION,name=app1</name>" change "app1" to be "AllMyApp".
    Is this possible? ideally, I do not want to re-deploy the application. I'm not sure what files in application(I have both Web and EJB based applications) kept the name to point to above names in system-jazn-data.xml
    Thanks

    Hi thanks for your quick response.
    I mean to say we have deployed one application and that application appears as a web-DynPro application in PCD. Then i copied that application and pasted in the application folder as a page(PCD object). The page in the folder and application in webdynpro application both are having the same name.
    Now when i changed the name of the application in webDynPro (By re factoring) and deployed. The name in PCD in webdynPro application get changed but the PCD object in Folder becomes like a warning sign and shows that broken delta link.
    Now i want to know can i edit the link of the object so that it can point to the exect application or i have to copy the application and again paste as PCD object in the folder and then assign again to all 20 roles.
    Thanks & Regards
    Jeetendra....

  • Setup User Hierarchy in system-jazn-data file.

    Hi All,
    We are using the File Based Security Provider for the Human Workflow Tasks in BPEL 10.1.3.4.
    How can we setup the Manager/Reportee Hierarchy in the system-jazn-data.xml file? I can see the user and role definitions there but I not see any kind of hierarchy in the file. Or is there some other file where this Hierarchy needs to be set up?

    See ORACLE_HOME\bpel\system\services\config\demo-users-properties.xml
    Heidi.

Maybe you are looking for

  • Can't upload reports to crystal server

    Hello guys, First is the system info: Crystal Server XI R2 with SP3 OS: Red Hat Enterprise Linux ES release 4 (Nahant Update 6) Database: Oracle DB 10g This issue shall be divided into two parts. Parts one: Before the server is reinstalled we can upl

  • Slow performance of Java program with Oracle db on Solaris

    Hi all, I'm developing a Java program to read a large no. of records (arnd 40,000) from a file and populate into an Oracle database on a Solaris system. I'm using a thin JDBC driver. The problem is that the program runs very slow on Solaris. When I r

  • HT1212 im getting a 3194 errror code. what do i need to do?

    How do i set up a meeting with apple to fix my ipod. it is locked out and my itunes wont work on my computer.

  • Address book: can't select iPhoto faces

    Supposedly, I can double click the picture in a contact in address book, then click the Faces icon at the bottom left to browse from my iPhoto library. However, in my address book, that icon is always greyed out. Any ideas why that might be? Regards,

  • Bad link for "Earth Crisis"

    After doing a search for earth crisis, the top two results are: Steel Pulse Reggae Earth Crisis Alternative Clicking Earth Crisis brings up all of the cd's by Steel Pulse, as search results, while clicking steel pulse brings up their CDs. Bad Link???