Deployment Using admin_client.jar causes edit of system-jazn-data.xml

Greetings,
1. standalone OC4J version 10.1.3.3.0
2. Windows XP platform in a VM
Our automated deployment to a stand alone oc4j causes the system-jazn-data.xml file in the oc4j\j2ee\home\config folder to be overwritten. This process removes the pertinent application-specific login module information required for our JAAS security. Overwriting this file with a known working version followed by a restart of oc4j enables application login. What we would like to learn is how to control the content of the system-jazn-data.xml file during automated deployment with ant scripts using oc4j admin_client.jar. Note that when deployed with JDeveloper, the information in the orion-application.xml file is added back to the system-jazn-data.xml in the oc4j\j2ee\home\config directory and logging in is once again enabled.
THX
-Mike

Found that jar files were missing from autobuild. This continues to be an issue where libraries are added to WEB-INF\lib in JDeveloper and the individual jar files are needed for an automated build process.

Similar Messages

  • Automated Deployment Using admin_client.jar gives 500 error

    Greetings,
    1. standalone OC4J version 10.1.3.3.0
    2. Windows XP platform in a VM
    We have a mature deployment in that the deployment from JDeveloper is routinely successful. During the course of developing continuous integration builds, the automated deployment is now failing. We had succeeded previously using admin_client.jar and the deploy command as follows:
        <target name="deploy_oc4j" depends="assembleEar"
      description="deploy the enterprise archive to a standalone oc4j using admin_client.jar">
        <echo>
          In deploy_oc4j target.
        </echo>
        <java classname="${j2ee.home}/admin_client.jar" fork="true">
            <jvmarg value="-jar"/>
            <arg value="${oc4j.deploy.admin_client}"/>
            <arg value="${oc4j.deploy.username}"/>
            <arg value="${oc4j.deploy.password}"/>
            <arg value="-deploy"/>
            <arg value="-file"/>
            <arg value="${this.application.name}".ear"/>
            <arg value="-deploymentName"/>
            <arg value="${this.application.name}"/>
            <arg value="-bindAllWebApps"/>
            <arg value="${default.application.name}"/>
        </java>
        </target>We now have two issues occurring and they may be related. We have added the capability of creating a connection pool and a data source using admin_client.jar commands:
        <target name="connectionpool" depends="deploy_oc4j"
          description="create a connection pool using admin_client.jar">
        <echo>
        Adding a connection pool.
        </echo>
          <java classname="${j2ee.home}/admin_client.jar" fork="true">
            <jvmarg value="-jar"/>
            <arg value="${oc4j.deploy.admin_client}"/>
            <arg value="${oc4j.deploy.username}"/>
            <arg value="${oc4j.deploy.password}"/>
            <arg value="-addDataSourceConnectionPool"/>
            <arg value="-applicationName"/>
            <arg value="${this.application.name}"/>
            <arg value="-name"/>
            <arg value="jdev-connection-pool-name"/>
            <arg value="-factoryClass"/>
            <arg value="oracle.jdbc.pool.OracleDataSource"/>
            <arg value="-dbUser"/>
            <arg value="username"/>
            <arg value="-dbPassword"/>
            <arg value="password"/>
            <arg value="-url"/>
            <arg value="jdbc:oracle:thin:@dev:1521:ORCL"/>
          </java>
        </target>
        <target name="datasource" depends="connectionpool"
          description="create a datasource using admin_client.jar">
        <echo>
        Adding Managed Data Source.
        </echo>
          <java classname="${j2ee.home}/admin_client.jar" fork="true">
            <jvmarg value="-jar"/>
            <arg value="${oc4j.deploy.admin_client}"/>
            <arg value="${oc4j.deploy.username}"/>
            <arg value="${oc4j.deploy.password}"/>
            <arg value="-addManagedDataSource"/>
            <arg value="-applicationName"/>
            <arg value="${this.application.name}"/>
            <arg value="-name"/>
            <arg value="jdev-connection-managed-name"/>
            <arg value="-jndiLocation"/>
            <arg value="jdbc/name"/>
            <arg value="-connectionPoolName"/>
            <arg value="jdev-connection-pool-name"/>
            <arg value="-dbUser"/>
            <arg value="username"/>
            <arg value="-dbPassword"/>
            <arg value="password"/>
          </java>
        </target>We complete the automated deployment and all ant tasks succeed, including creation of the connection pool and managed data source. During this process, the existing system-jazn-data.xml file is overwritten and our Application's <login module> information has been deleted. Upon editing this file and adding back the login module data and restarting oc4j, we can login to our application. The framework of the site is present along with graphics, yet every page visited yields a 500 error (jspx +and+ HTML). Since the entire deployment is done from ant, we do not have the capability of specifying a the web-app as development configuration. We need advice on how best to debug the deployed application as well as knowledge regarding the mechanism which causes the system-jazn-data.xml file in the oc4j/j2ee/home/config folder to be modified.
    THX
    -Mike
    Edited by: Michael F. Hardy on Sep 11, 2008 5:03 PM
    Edited by: Michael F. Hardy on Sep 11, 2008 5:03 PM
    Edited by: Michael F. Hardy on Sep 11, 2008 5:05 PM

    Found that jar files were missing from autobuild. This continues to be an issue where libraries are added to WEB-INF\lib in JDeveloper and the individual jar files are needed for an automated build process.

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

  • System-jazn-data.xml problem and start up of Admin Server

    Every time I start the weblogic admin server I get this error. Even after shutting everything down, and after restarting my computer. I have no idea why it keeps saying a user mapped section is open. Does anybody know how to fix this or why it's doing this?
    Also the second error says the file was not found but it is there, right were it says it is.
    <Feb 28, 2013 3:18:37 PM EST> <Warning> <oracle.jps.deployment> <JPS-04084> <Migration of application policy failed. Reason: {0}.
    oracle.security.jps.JpsRuntimeException: C:\Oracle\Middleware\user_projects\domains\base_domain\config\fmwconfig\system-jazn-data.xml (The requested operation cannot be performed on a file with a user-mapped section open)
            at oracle.security.jps.internal.policystore.xml.XmlPolicyStore.persist(XmlPolicyStore.java:596)
            at oracle.security.jps.internal.policystore.xml.XmlPolicyStore.enableXmlPolicyStorePersist(XmlPolicyStore.java:1207)
            at oracle.security.jps.internal.config.deploy.DeployUtil.enableXmlPersist(DeployUtil.java:191)
            at oracle.security.jps.internal.config.deploy.DeployUtil.migrateAppPolicy(DeployUtil.java:155)
            at oracle.security.jps.internal.config.deploy.AppPolicyHandler$1.run(AppPolicyHandler.java:99)
            at java.security.AccessController.doPrivileged(Native Method)
            at oracle.security.jps.internal.config.deploy.AppPolicyHandler.migrateAppPolicies(AppPolicyHandler.java:96)
            at oracle.security.jps.wls.listeners.WlsAppPolicyHandler.migrateDeploymentPolicies(WlsAppPolicyHandler.java:54)
            at oracle.security.jps.internal.config.deploy.PolicyDeployment.handle(PolicyDeployment.java:142)
            at oracle.security.jps.internal.config.deploy.AppPolicyHandler.handle(AppPolicyHandler.java:72)
            at oracle.security.jps.wls.listeners.JpsApplicationLifecycleListener.callHandler(JpsApplicationLifecycleListener.java:125)
            at oracle.security.jps.wls.listeners.JpsApplicationLifecycleListener.handle(JpsApplicationLifecycleListener.java:106)
            at oracle.security.jps.wls.listeners.JpsApplicationLifecycleListener.preStart(JpsApplicationLifecycleListener.java:93)
            at weblogic.application.internal.flow.BaseLifecycleFlow$PreStartAction.run(BaseLifecycleFlow.java:282)
            at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
            at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)
            at weblogic.application.internal.flow.BaseLifecycleFlow$LifecycleListenerAction.invoke(BaseLifecycleFlow.java:199)
            at weblogic.application.internal.flow.BaseLifecycleFlow.preStart(BaseLifecycleFlow.java:62)
            at weblogic.application.internal.flow.HeadLifecycleFlow.prepare(HeadLifecycleFlow.java:283)
            at weblogic.application.internal.BaseDeployment$1.next(BaseDeployment.java:613)
            at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:52)
            at weblogic.application.internal.BaseDeployment.prepare(BaseDeployment.java:184)
            at weblogic.application.internal.EarDeployment.prepare(EarDeployment.java:58)
            at weblogic.application.internal.DeploymentStateChecker.prepare(DeploymentStateChecker.java:154)
            at weblogic.deploy.internal.targetserver.AppContainerInvoker.prepare(AppContainerInvoker.java:60)
            at weblogic.deploy.internal.targetserver.AppDeployment.prepare(AppDeployment.java:141)
            at weblogic.management.deploy.internal.DeploymentAdapter$1.doPrepare(DeploymentAdapter.java:39)
            at weblogic.management.deploy.internal.DeploymentAdapter.prepare(DeploymentAdapter.java:191)
            at weblogic.management.deploy.internal.AppTransition$1.transitionApp(AppTransition.java:21)
            at weblogic.management.deploy.internal.ConfiguredDeployments.transitionApps(ConfiguredDeployments.java:240)
            at weblogic.management.deploy.internal.ConfiguredDeployments.prepare(ConfiguredDeployments.java:165)
            at weblogic.management.deploy.internal.ConfiguredDeployments.deploy(ConfiguredDeployments.java:122)
            at weblogic.management.deploy.internal.DeploymentServerService.resume(DeploymentServerService.java:180)
            at weblogic.management.deploy.internal.DeploymentServerService.start(DeploymentServerService.java:96)
            at weblogic.t3.srvr.SubsystemRequest.run(SubsystemRequest.java:64)
            at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
            at weblogic.work.ExecuteThread.run(ExecuteThread.java:178)
    Caused By: java.io.FileNotFoundException: C:\Oracle\Middleware\user_projects\domains\base_domain\config\fmwconfig\system-jazn-data.xml (The requested operation cannot be performed on a file with a user-mapped section open)
            at java.io.FileOutputStream.open(Native Method)
            at java.io.FileOutputStream.<init>(FileOutputStream.java:179)
            at java.io.FileOutputStream.<init>(FileOutputStream.java:131)
            at oracle.security.jps.internal.core.datastore.xml.XmlDataStore$1.run(XmlDataStore.java:562)
            at oracle.security.jps.internal.core.datastore.xml.XmlDataStore$1.run(XmlDataStore.java:560)
            at oracle.security.jps.internal.core.datastore.xml.XmlDataStore.persistToFile(XmlDataStore.java:567)
            at oracle.security.jps.internal.core.datastore.xml.XmlDataStore.unsync_persist(XmlDataStore.java:539)
            at oracle.security.jps.internal.core.datastore.xml.XmlDataStore.persist(XmlDataStore.java:503)
            at oracle.security.jps.internal.policystore.xml.XmlPolicyStore.persist(XmlPolicyStore.java:594)
            at oracle.security.jps.internal.policystore.xml.XmlPolicyStore.enableXmlPolicyStorePersist(XmlPolicyStore.java:1207)
            at oracle.security.jps.internal.config.deploy.DeployUtil.enableXmlPersist(DeployUtil.java:191)
            at oracle.security.jps.internal.config.deploy.DeployUtil.migrateAppPolicy(DeployUtil.java:155)
            at oracle.security.jps.internal.config.deploy.AppPolicyHandler$1.run(AppPolicyHandler.java:99)
            at java.security.AccessController.doPrivileged(Native Method)
            at oracle.security.jps.internal.config.deploy.AppPolicyHandler.migrateAppPolicies(AppPolicyHandler.java:96)
            at oracle.security.jps.wls.listeners.WlsAppPolicyHandler.migrateDeploymentPolicies(WlsAppPolicyHandler.java:54)
            at oracle.security.jps.internal.config.deploy.PolicyDeployment.handle(PolicyDeployment.java:142)
            at oracle.security.jps.internal.config.deploy.AppPolicyHandler.handle(AppPolicyHandler.java:72)
            at oracle.security.jps.wls.listeners.JpsApplicationLifecycleListener.callHandler(JpsApplicationLifecycleListener.java:125)
            at oracle.security.jps.wls.listeners.JpsApplicationLifecycleListener.handle(JpsApplicationLifecycleListener.java:106)
            at oracle.security.jps.wls.listeners.JpsApplicationLifecycleListener.preStart(JpsApplicationLifecycleListener.java:93)
            at weblogic.application.internal.flow.BaseLifecycleFlow$PreStartAction.run(BaseLifecycleFlow.java:282)
            at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
            at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)
            at weblogic.application.internal.flow.BaseLifecycleFlow$LifecycleListenerAction.invoke(BaseLifecycleFlow.java:199)
            at weblogic.application.internal.flow.BaseLifecycleFlow.preStart(BaseLifecycleFlow.java:62)
            at weblogic.application.internal.flow.HeadLifecycleFlow.prepare(HeadLifecycleFlow.java:283)
            at weblogic.application.internal.BaseDeployment$1.next(BaseDeployment.java:613)
            at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:52)
            at weblogic.application.internal.BaseDeployment.prepare(BaseDeployment.java:184)
            at weblogic.application.internal.EarDeployment.prepare(EarDeployment.java:58)
            at weblogic.application.internal.DeploymentStateChecker.prepare(DeploymentStateChecker.java:154)
            at weblogic.deploy.internal.targetserver.AppContainerInvoker.prepare(AppContainerInvoker.java:60)
            at weblogic.deploy.internal.targetserver.AppDeployment.prepare(AppDeployment.java:141)
            at weblogic.management.deploy.internal.DeploymentAdapter$1.doPrepare(DeploymentAdapter.java:39)
            at weblogic.management.deploy.internal.DeploymentAdapter.prepare(DeploymentAdapter.java:191)
            at weblogic.management.deploy.internal.AppTransition$1.transitionApp(AppTransition.java:21)
            at weblogic.management.deploy.internal.ConfiguredDeployments.transitionApps(ConfiguredDeployments.java:240)
            at weblogic.management.deploy.internal.ConfiguredDeployments.prepare(ConfiguredDeployments.java:165)
            at weblogic.management.deploy.internal.ConfiguredDeployments.deploy(ConfiguredDeployments.java:122)
            at weblogic.management.deploy.internal.DeploymentServerService.resume(DeploymentServerService.java:180)
            at weblogic.management.deploy.internal.DeploymentServerService.start(DeploymentServerService.java:96)
            at weblogic.t3.srvr.SubsystemRequest.run(SubsystemRequest.java:64)
            at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
            at weblogic.work.ExecuteThread.run(ExecuteThread.java:178)

    hi,
    1)Is this error occured at leat one secutity enable app installed?(Without application server works well?)
    2)Is your app file base secutty enabled one(jazn-dat.xml) then what is the jazn-data.xml file size?
    3)All ways keep a backup of newely created domain system-jazan-data.xml. Then you can replace the original one in case.
    4)What is tha pllication? If it is an ADF app what is the version?
    Nilum.

  • System-jazn-data.xml corruption after few ADF Application Deployments in Weblogic 11g

    We have been facing issues of system-jazn-data.xml getting corrupted after deploying some ADF Applications causing impact on other deployed applications accessibility. As a work around, we need un-deploy the application and restore the template jazn file and bounce Admin and Managed Servers and then re-deploy the application. Anyone faced this issue? Is the root cause identified and a solution to this issue.
    Thanks,
    Kumar

    Hello Kumar,
    We faced similar issues after deploying new applications and bouncing the manager servers, but not with "system-jazn-data.xm" though. Suggest to check with oracle(SR), they would come up with a more appropriate solution/work around.
    Good luck!
    Thanks,
    Rajiv.

  • 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

  • I have created a user in oracle BPM but it is not reflected in system-jazn-data.xml file and I am unable to authenticate that user to create context as needed in workflow client

    I have created a user in oracle BPM but it is not reflected in system-jazn-data.xml file and I am unable to authenticate that user to create context as needed in workflow client

    weblogic credentials are different.
    and using thode credentials I am able to login to weblogic server
    the users I am talking about is the process users defined in realm.
    in realm those users are defined as Default authenticator and OID authenticator.
    and I am trying to authenticate one of those users defined in realm using java api so that I an access a process defined In Oracle BPM 11g

  • WLS 10.3.2 error - specific file not found system-jazn-data.xml

    I don't want to use this on my stand alone server. Does anyone know how to get around it asking for the file upon deployment? Is there a setting in the WLS console to disable this feature?

    hi,
    1)Is this error occured at leat one secutity enable app installed?(Without application server works well?)
    2)Is your app file base secutty enabled one(jazn-dat.xml) then what is the jazn-data.xml file size?
    3)All ways keep a backup of newely created domain system-jazan-data.xml. Then you can replace the original one in case.
    4)What is tha pllication? If it is an ADF app what is the version?
    Nilum.

  • Deploy using admin_client.jar to Oracle SOA suite started up with java cmd

    Hey,
    Someone at work asked me to create a deployer command to deploy to a locally running OC4J SOA suite. I got it working like this:
    java -jar %ORACLE_HOME%\j2ee\home\admin_client.jar deployer:oc4j:opmn://localhost/home oc4jadmin oc4jadmin -deploy -file <path> -deploymentName <appname> -bindAllWebApps
    However when I implemented this using Maven2 there was a problem. It seems the SOA suite OC4J instance gets started up alternatively to get debugging to work. I started it up using the startupconsole which is automatically used in the Windows XP start menu.
    They start it up like this:
    java -Xrs -server -XX:MaxPermSize=128M -ms512M -mx1024M -XX:AppendRatio=3 -Djava.security.policy=$ORACLE_HOME/j2ee/home/config/java2.policy -Djava.awt.headless=true -Dhttp.webdir.enable=false -Djava.net.preferIPv4Stack=true -Xdebug -Xrunjdwp:transport=dt_socket,address=5000,suspend=n,server=y -jar oc4j.jar
    This causes the URI for deployment to be invalid. I tried lots of other URI forms I found online but none of them work. Maybe you guys know?
    Thanks in advance

    Something noteworthy it seems...
    I added a few extra lines to the command to enable logging (as found here)
    http://theblasfrompas.blogspot.com/2007/12/adminclientjar-giving-standard-could.html
    This results in the following peculiar stacktrace:
    C:\Thomas\appz\OC4JLA~1\j2ee\home>java -Djava.util.logging.config.file=logging.p
    roperties -jar admin_client.jar deployer:oc4j:opnm://localhost:6003/home oc4jadm
    in oc4jadmin -validateURI
    SEVERE: Oc4jDeploymentFactory.getDeploymentManager For input string: "//localhos
    t"java.lang.NumberFormatException: For input string: "//localhost"
    at java.lang.NumberFormatException.forInputString(NumberFormatException.
    java:48)
    at java.lang.Integer.parseInt(Integer.java:447)
    at java.lang.Integer.parseInt(Integer.java:497)
    at oracle.oc4j.admin.jmx.client.Oc4jDomainFactory.getDomainFromDeployerU
    rl(Oc4jDomainFactory.java:283)
    at oracle.oc4j.admin.deploy.spi.factories.Oc4jDeploymentFactory.getDeplo
    ymentManager(Oc4jDeploymentFactory.java:127)
    at javax.enterprise.deploy.shared.factories.DeploymentFactoryManager.get
    DeploymentManager(DeploymentFactoryManager.java:112)
    at oracle.oc4j.admin.deploy.api.J2EEDeploymentManager.validateURI(J2EEDe
    ploymentManager.java:911)
    at oracle.oc4j.admin.deploy.cmdline.ValidateURICommand.execute(ValidateU
    RICommand.java:61)
    at oracle.oc4j.admin.deploy.cmdline.Oc4jAdminCmdline.executeCommand(Oc4j
    AdminCmdline.java:96)
    at oracle.oc4j.admin.deploy.cmdline.Oc4jAdminCmdline.main(Oc4jAdminCmdli
    ne.java:73)
    Failed at "Could not get DeploymentManager".
    I find this peculiar because I use an URI format as specified in the documentation.

  • Deploying jazn-data.xml

    I'm trying to set up container managed security from JDev (10.1.2) into an Oracle AS (10.1.2.0.0) all on the same Windows 2k box. The application is named cms and updating the cms-jazn-data.xml file + web.xml served to set up security in the stand-alone OC4j that runs from jdev. What I want to do is put those users and roles into the app server without going to OEM and setting up everything again.
    the cms-jazn-data.xml file doesn't get assembled into the ear or the war so I created an orion-application.xml and jazn-data.xml in my META-INF directory for the project. When I try using jdev to deploy it tells me it deployed but nothing seems to exist on the app server. When I use OEM to deploy the EAR I get this error:
    Deployment failed: Nested exception
    Resolution:
    Base Exception:
    java.rmi.RemoteException
    deploy failed!: ; nested exception is:
    oracle.oc4j.admin.internal.DeployerException: Constructing UserManager for cms:caught oracle.security.jazn.JAZNInitException: C:\oracle\oraAS\j2ee\home\application-deployments\cms\jazn-data.xml (The system cannot find the file specified). deploy failed!: ; nested exception is:
    oracle.oc4j.admin.internal.DeployerException: Constructing UserManager for cms:caught oracle.security.jazn.JAZNInitException: C:\oracle\oraAS\j2ee\home\application-deployments\cms\jazn-data.xml (The system cannot find the file specified)
    The file is in the ear, I checked it via winzip. Its under the meta-inf directory just where it appears to belong. What's the missing piece of the puzzle here?

    Jason,
    to get the jazn-data.xml file deployed, you need to add it to your project. You do this by choosing the jazn-data.xml file from the New Gallery in JDeveloper. After that you can use a similar dialog that you use to populate teh embedded OC4J's jazn-data.xml file to create all entries.
    Please have a look at: http://www.oracle.com/technology/products/jdev/collateral/papers/10g/adfstrutsj2eesec.pdf
    This paper is in the collateral section on otn.oracle.com/products/jdev
    Frank

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

  • Problem using admin_client.jar -addDataSourceConnectionPool

    I am using admin_client.jar -addDataSourceConnectionPool to create a Connection Pool.
    Below is the command i am using
    java admin_client.jar deployer:oc4j:opmn://localhost:6003/home admin welcome -addDataSourceConnectionPool -applicationName default -name MySitePool -factoryClass <my application specific connection pool class> -dbUser new -dbPassword new -url <db url>
    I guess the command looks good.
    but when i try it out it gives me following error,
    addDataSourceConnectionPool error: Can't find resource for bundle oracle.oc4j.admin.deploy.shared.util.Messages, key addDataSourceConnectionPool_failed
    I am totally clueless about what could i be missing here.
    Any help is highly appreciated.
    Thanks
    Vicky

    I am using admin_client.jar
    -addDataSourceConnectionPool to create a Connection
    Pool.
    but when i try it out it gives me following error,
    addDataSourceConnectionPool error: Can't find
    resource for bundle
    oracle.oc4j.admin.deploy.shared.util.Messages, key
    addDataSourceConnectionPool_failed
    I am totally clueless about what could i be missing
    here.
    Same here, only that i try to add a native DataSource, resulting in:
    addNativeDataSource error: Can't find resource for bundle oracle.oc4j.admin.deploy.shared.util.Messages, key addNativeDataSource_failed
    i tried this with "C", "en_US.utf8" and "de_DE.utf8" locales set

  • Jazn-loginconfig data not copied to system-jazn-data on deployment

    Hi all!
    There are a lot of threads about deployment and security, but I still haven't found a solution to my problem. I've specified l login configuration in my orion-application file like:
    <jazn-loginconfig>
    <application>
    <name>MyApplication</name>
    <login-modules>
    <login-module>
    <class>myclass.MyLoginModule</class>
    <control-flag>required</control-flag>
    <options> ...
    I also specified application's own jazn-datain this file. When deploying on standalone oc4j through AS Control I have to select custom security provider and manually enter options. If I do that everything works OK, permissions are read from my jazn-data file, that is deployed with application.
    Is there a way to get login configuration from orion-application file in JDeveloper to system-jazn-data file on standalone oc4j when deploying an application?
    Thank you!
    BB

    Hello BB,
    (1) Create the orion-application.xml file in the Deployment project
    I have a separate Deployment project. In this project I created the orion-application.xml file in the META-INF directory. Double click on the Deployment description to see where the META-INF directory should be placed.
    If your Project Content/Java Content directory is c:\Application\src, then the META-INF should be c:\Application\src\META-INF
    Copy/create the orion-application.xml file in this directory
    (2) Create a META-INF group in the EAR deployment descriptor
    In the deployment profile I added a file group META-INF
    (3) Add the orion-application.xml to the META-INF group
    Click on filters and add the orion-application.xml
    (4) Create the EAR file with the deployment descriptor
    Open the EAR file, the orion-application.xml file should be, directly visible, in the META-INF directory.
    (5) Deploy the EAR file
    Now it should work.
    Regards Leon

  • 2nd Post : Security using JAZN-DATA.xml vs OID ?

    Hi All,
    From what I read, we can implement JAZN security either with JAZN-DATA.xml
    or OID. The question is :
    1) In term of security, what are the benefits of using OID compared to use
    JAZN-Data.xml ?
    2) If we do not have OID (because we only use IAS SE, not EE), so we can
    only use JAZN-Data.xml, is it secure / reliable enough for production ?
    Thank you for your help,
    xtanto

    Xtanto,
    1) In term of security, what are the benefits of using OID compared to use
    JAZN-Data.xml ?
    - Security policies that work across application server instances and that are the same for all applications
    - Central user management
    - Integration with Identity Management for enterprise wide security management
    2) If we do not have OID (because we only use IAS SE, not EE), so we can
    only use JAZN-Data.xml, is it secure / reliable enough for production ?
    - Sure
    Frank

  • Using admin_client.jar from bash script

    Hello,
    When I make a call "java -jar admin_client.jar" from a bash script I always get 0 for $? even when there are errors reported in the console. How can I check the status correctly?
    S

    Greetings,
    Can you see the console when running the script? I would try to test something simple like -testDatabaseConnection and you should see a result. If you cannot login the the server directly, pipe the output to a file. Next, build up your bash script with additional complexity as you go. Post the results here for the group to analyze.
    THX
    -Michael
    Edited by: Michael F. Hardy on Dec 2, 2008 2:02 PM

Maybe you are looking for

  • Can I choose which of my displays to share?

    I am a teacher and would like to present a PowerPoint presentation both through a projector and on ~20 student computers.  When I launch the slide show in Powerpoint, I see the presenter's view (with notes) on my machine, which is great, and the pres

  • Windows 8.1 Enterprise (64-bit) update screws up SkyDrive!

    I upgraded from Windows 8 Enterprise to 8.1 (64-bit over the top installation).  Now my SkyDrive is screwed up and I can't access any files (in all cases I get a 'An unexpected error is keeping you from copying the file.  (blah blah blah)' Error: 0x8

  • Runtime Error in SM36 IMPORT_OBJECT_DESTROYED

    Hello, When i call up Tx : SM36 and choose Standard Jobs a runtime error is occurring "  IMPORT_OBJECT_DESTROYED". The short dump mentions as : Short text                                                                                            The

  • Recording line-level input with Griffin iMic

    I'm having trouble recording line-level input from a stereo system with a Griffin iMic. Even though all extraneous inputs have been deactivated, I'm still getting a slight feedback hum. There should be no extraneous noise whatsoever. I haven't done t

  • Anyone having RAM issues with Notes.app on Mountain Lion?

    I have installed ML a couple different times. All is well except for Notes. Once Notes is running and after it has synced therough iCloud there is a process that continues to run named "com.apple.NotesMigratorService" and it gobbles up RAM until ther