Password overide in OC4J 10.1.3

In the data-sources.xml file of an ear file the password is encrypted:
<connection-factory factory-class="oracle.jdbc.pool.OracleDataSource" user="srdemo"
password="->DataBase_User_cBexWZKv_Joj1Gz0RhvzXpHvVa4wOkSh" url="jdbc:oracle:thin:@localhost:1521:ORCL"/>
How does one change it.
I.E., in system-jazn-data.xml a password is encrypted as:
<credentials>{903}EOcjdVqn+ELKflIMbhsGWYiduU3NZerkGXXkJRA7C4FZufEuTeFCrg==</credentials>
One could enter '!oracle' (without quotes) and that becomes the new password and it is encrypted the next time it is used.

In the data-sources.xml file of an ear file the password is encrypted:
<connection-factory factory-class="oracle.jdbc.pool.OracleDataSource" user="srdemo"
password="->DataBase_User_cBexWZKv_Joj1Gz0RhvzXpHvVa4wOkSh" url="jdbc:oracle:thin:@localhost:1521:ORCL"/>
How does one change it.
I.E., in system-jazn-data.xml a password is encrypted as:
<credentials>{903}EOcjdVqn+ELKflIMbhsGWYiduU3NZerkGXXkJRA7C4FZufEuTeFCrg==</credentials>
One could enter '!oracle' (without quotes) and that becomes the new password and it is encrypted the next time it is used.

Similar Messages

  • OC4J standalone password failed

    hello
    i have application server 10.1.2.2.0 and OC4J standalone 10.1.3.1 installed on Redhat Linux OS .
    All Services in Infra , Middle and the OC4J standalone are UP .
    i try to login to the enterprise manager of the OC4J stand alone using oc4jadmin user , but have the error message ( Your username and/or password are invalid.).
    i try to reset OC4J administrator password using the OC4J Documentation from Oracle section H.3.1 Resetting the Administrator (oc4jadmin) Password
    or like the metalink ID 576587.1 , and i try to change the password from ldap too ,
    but without a result , i still cannot login to the OC4J Application Server Control Console .
    Any help please?

    I m using OC4J version 9.0.4.0.0 ,what is the ---user name--- for it
    I had used ias_home & oc4jadmin
    but it showing the error that javax.naming.AthunticationException;
    & invalid username for default oc4jadmin,connect failed;
    How to set the path to JSTL:
    i.e. for sqltaglib.tld
    How to deploy JSTL app's manually

  • Unable to make a connection to OC4J instance - passwords identical for sure

    Hi,
    I have an unusual problem on my AS instance. We're using AS 10.1.3.5.0 (recently upgraded from 10.1.3.3.) and suddenly we're receiving the next error when we try to go to the instance <MY_INSTANCE> in enterprise manager:
    Unable to make a connection to OC4J instance <MY_INSTANCE>on Application Server <MY_SERVER>. A common cause for this failure is an authentication error. The administrator password for each OC4J instance in the Cluster must be the same as the administrator password for the OC4J instance on which Application Server Control is running.
    I've been working on this issue for a whole day now and I'm 100% sure, the passwords fore domain home and <MY_INSTANCE> are the same and it is the password I use for logging into the EM. I've been following the instructions from http://download.oracle.com/docs/cd/B31017_01/core.1013/b28940/em_app.htm#CEGCFFCB but no success.
    Can anyone please try and explain what might be wrong? The error also appear if I click on default_group group. The message is:
    Error
    A connection could not established to some members of the group default_group. Common causes for this failure are an authentication error or a JMX protocol mismatch.
    The administrator password for each OC4J instance in the group must be the same as the administrator password for the OC4J instance on which Application Server Control is running.
    The JMX protocol is specified by the property oracle.oc4j.jmx.internal.connection.protocol and the remote OC4J instance must be configured to use that protocol.
    Any help would be very appreciated.
    Thanks, BB

    On further search I managed to view the ascontrol.log file. Here is the error that is being thrown (my instance is called archibus):
    2010-07-08 15:05:14,355 [EMUI_15_05_14_/console/ias/cluster/clickThruLogin] WARN cluster.ClusterUtil switchDefaultJMXTarget.541
    - couldn't connect to oraias_09.boswell.bath.ac.uk, archibus
    oracle.oc4j.admin.jmx.shared.exceptions.JMXRuntimeException: RuntimeException thrown by the invoke method of the Dynamic MBean
    at oracle.oc4j.admin.jmx.distributed.SimpleInstanceMBeanServerDelegate.queryNames(SimpleInstanceMBeanServerDelegate.java:556)
    at oracle.oc4j.admin.jmx.server.state.LocalizationFilterMBeanServer.queryNames(LocalizationFilterMBeanServer.java:442)
    at oracle.sysman.ias.studio.jmx.spi.JMXConnectorImpl.queryNames(JMXConnectorImpl.java:352)
    at oracle.sysman.ias.studio.sdk.SDKJMXUtil.queryNames(SDKJMXUtil.java:236)
    at oracle.sysman.ias.studio.sdk.SDKJMXUtil.queryNames(SDKJMXUtil.java:214)
    at oracle.sysman.ias.studio.sdk.SDKJMXUtil.queryName(SDKJMXUtil.java:129)
    at oracle.sysman.ias.studio.oc4j.OC4JJMXUtil.getDisplayName(OC4JJMXUtil.java:842)
    at oracle.sysman.ias.studio.cluster.ClusterUtil$Switcher.switchDefaultJMXTarget(ClusterUtil.java:508)
    at oracle.sysman.ias.studio.cluster.ClickThruLoginHelper.handleEvent(ClickThruLoginHelper.java:111)
    at oracle.sysman.ias.studio.sdk.AbstractController.handleEvent(AbstractController.java:769)
    at oracle.sysman.emSDK.svlt.PageHandler.handleRequest(PageHandler.java:378)
    at oracle.sysman.emSDK.svlt.EMServlet.myDoGet(EMServlet.java:765)
    at oracle.sysman.emSDK.svlt.EMServlet.doGet(EMServlet.java:283)
    at oracle.sysman.ias.studio.app.StudioConsole.doGet(StudioConsole.java:385)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:743)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
    at com.evermind.server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:64)
    at oracle.sysman.ias.studio.app.BrowserVersionFilter.doFilter(BrowserVersionFilter.java:75)
    at com.evermind.server.http.EvermindFilterChain.doFilter(EvermindFilterChain.java:15)
    at oracle.sysman.ias.studio.app.MultipleJVMFilter.doFilter(MultipleJVMFilter.java:85)
    at com.evermind.server.http.EvermindFilterChain.doFilter(EvermindFilterChain.java:17)
    at oracle.sysman.ias.studio.app.PostLogonFilter.doFilter(PostLogonFilter.java:80)
    at com.evermind.server.http.EvermindFilterChain.doFilter(EvermindFilterChain.java:17)
    at oracle.sysman.ias.studio.app.ShortHostnameRedirectFilter.doFilter(ShortHostnameRedirectFilter.java:68)
    at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:642)
    at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:391)
    at com.evermind.server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:908)
    at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:458)
    at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:313)
    at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:199)
    at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)
    at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
    at java.lang.Thread.run(Thread.java:595)
    Caused by: javax.management.RuntimeMBeanException: RuntimeException thrown by the invoke method of the Dynamic MBean
    at com.sun.jmx.mbeanserver.DynamicMetaDataImpl.invoke(DynamicMetaDataImpl.java:227)
    at com.sun.jmx.mbeanserver.MetaDataImpl.invoke(MetaDataImpl.java:220)
    at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:815)
    at com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(JmxMBeanServer.java:784)
    at oracle.oc4j.admin.jmx.server.state.LocalizationFilterMBeanServer.invoke(LocalizationFilterMBeanServer.java:579)
    at oracle.oc4j.admin.jmx.distributed.SimpleInstanceMBeanServerDelegate.queryNames(SimpleInstanceMBeanServerDelegate.java:550)
    ... 32 more
    Caused by: javax.management.RuntimeMBeanException: Error calling queryNames for pattern: *:j2eeType=J2EEServer,* on VM: ias:j2eeType
    =JVMProxy,name=1,J2EEServerGroup=default_group,J2EEServer=archibus,ASInstance=oraias_09.boswell.bath.ac.uk
    at oracle.oc4j.admin.jmx.server.mbeans.model.DefaultModelMBeanImpl.invoke(DefaultModelMBeanImpl.java:709)
    at com.sun.jmx.mbeanserver.DynamicMetaDataImpl.invoke(DynamicMetaDataImpl.java:213)
    ... 37 more
    Caused by: oracle.oc4j.admin.jmx.shared.exceptions.JMXClusterRuntimeException: Error calling queryNames for pattern: *:j2eeType=J2EEServer
    ,* on VM: ias:j2eeType=JVMProxy,name=1,J2EEServerGroup=default_group,J2EEServer=archibus,ASInstance=oraias_09.boswell.bath.ac.uk
    at oracle.oc4j.admin.management.farm.mbeans.J2EEServerAgr.queryLocalNames(J2EEServerAgr.java:1373)
    at sun.reflect.GeneratedMethodAccessor278.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:585)
    at sun.reflect.misc.Trampoline.invoke(MethodUtil.java:36)
    at sun.reflect.GeneratedMethodAccessor72.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:585)
    at sun.reflect.misc.MethodUtil.invoke(MethodUtil.java:243)
    at javax.management.modelmbean.RequiredModelMBean.invokeMethod(RequiredModelMBean.java:1073)
    at javax.management.modelmbean.RequiredModelMBean.invoke(RequiredModelMBean.java:954)
    at oracle.oc4j.admin.jmx.server.mbeans.model.DefaultModelMBeanImpl.invoke(DefaultModelMBeanImpl.java:700)
    ... 38 more
    ---- Embedded exception
    javax.management.RuntimeMBeanException: RuntimeException thrown by the invoke method of the Dynamic MBean
    at com.sun.jmx.mbeanserver.DynamicMetaDataImpl.invoke(DynamicMetaDataImpl.java:227)
    at com.sun.jmx.mbeanserver.MetaDataImpl.invoke(MetaDataImpl.java:220)
    at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:815)
    at com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(JmxMBeanServer.java:784)
    at oracle.oc4j.admin.jmx.server.state.LocalizationFilterMBeanServer.invoke(LocalizationFilterMBeanServer.java:579)
    at oracle.oc4j.admin.jmx.distributed.SimpleInstanceMBeanServerDelegate.queryNames(SimpleInstanceMBeanServerDelegate.java:550)
    at oracle.oc4j.admin.jmx.server.state.LocalizationFilterMBeanServer.queryNames(LocalizationFilterMBeanServer.java:442)
    at oracle.sysman.ias.studio.jmx.spi.JMXConnectorImpl.queryNames(JMXConnectorImpl.java:352)
    at oracle.sysman.ias.studio.sdk.SDKJMXUtil.queryNames(SDKJMXUtil.java:236)
    at oracle.sysman.ias.studio.sdk.SDKJMXUtil.queryNames(SDKJMXUtil.java:214)
    at oracle.sysman.ias.studio.sdk.SDKJMXUtil.queryName(SDKJMXUtil.java:129)
    at oracle.sysman.ias.studio.oc4j.OC4JJMXUtil.getDisplayName(OC4JJMXUtil.java:842)
    at oracle.sysman.ias.studio.cluster.ClusterUtil$Switcher.switchDefaultJMXTarget(ClusterUtil.java:508)
    at oracle.sysman.ias.studio.cluster.ClickThruLoginHelper.handleEvent(ClickThruLoginHelper.java:111)
    at oracle.sysman.ias.studio.sdk.AbstractController.handleEvent(AbstractController.java:769)
    at oracle.sysman.emSDK.svlt.PageHandler.handleRequest(PageHandler.java:378)
    at oracle.sysman.emSDK.svlt.EMServlet.myDoGet(EMServlet.java:765)
    at oracle.sysman.emSDK.svlt.EMServlet.doGet(EMServlet.java:283)
    at oracle.sysman.ias.studio.app.StudioConsole.doGet(StudioConsole.java:385)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:743)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
    at com.evermind.server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:64)
    at oracle.sysman.ias.studio.app.BrowserVersionFilter.doFilter(BrowserVersionFilter.java:75)
    at com.evermind.server.http.EvermindFilterChain.doFilter(EvermindFilterChain.java:15)
    at oracle.sysman.ias.studio.app.MultipleJVMFilter.doFilter(MultipleJVMFilter.java:85)
    at com.evermind.server.http.EvermindFilterChain.doFilter(EvermindFilterChain.java:17)
    at oracle.sysman.ias.studio.app.PostLogonFilter.doFilter(PostLogonFilter.java:80)
    at com.evermind.server.http.EvermindFilterChain.doFilter(EvermindFilterChain.java:17)
    at oracle.sysman.ias.studio.app.ShortHostnameRedirectFilter.doFilter(ShortHostnameRedirectFilter.java:68)
    at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:642)
    at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:391)
    at com.evermind.server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:908)
    at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:458)
    at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:313)
    at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:199)
    at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)
    at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
    at java.lang.Thread.run(Thread.java:595)
    Caused by: javax.management.RuntimeMBeanException: Error calling queryNames for pattern: *:j2eeType=J2EEServer,* on VM: ias:j2eeType
    =JVMProxy,name=1,J2EEServerGroup=default_group,J2EEServer=archibus,ASInstance=oraias_09.boswell.bath.ac.uk
    at oracle.oc4j.admin.jmx.server.mbeans.model.DefaultModelMBeanImpl.invoke(DefaultModelMBeanImpl.java:709)
    at com.sun.jmx.mbeanserver.DynamicMetaDataImpl.invoke(DynamicMetaDataImpl.java:213)
    ... 37 more
    Caused by: oracle.oc4j.admin.jmx.shared.exceptions.JMXClusterRuntimeException: Error calling queryNames for pattern: *:j2eeType=J2EEServer
    ,* on VM: ias:j2eeType=JVMProxy,name=1,J2EEServerGroup=default_group,J2EEServer=archibus,ASInstance=oraias_09.boswell.bath.ac.uk
    at oracle.oc4j.admin.management.farm.mbeans.J2EEServerAgr.queryLocalNames(J2EEServerAgr.java:1373)
    at sun.reflect.GeneratedMethodAccessor278.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:585)
    at sun.reflect.misc.Trampoline.invoke(MethodUtil.java:36)
    at sun.reflect.GeneratedMethodAccessor72.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:585)
    at sun.reflect.misc.MethodUtil.invoke(MethodUtil.java:243)
    at javax.management.modelmbean.RequiredModelMBean.invokeMethod(RequiredModelMBean.java:1073)
    at javax.management.modelmbean.RequiredModelMBean.invoke(RequiredModelMBean.java:954)
    at oracle.oc4j.admin.jmx.server.mbeans.model.DefaultModelMBeanImpl.invoke(DefaultModelMBeanImpl.java:700)
    ... 38 more
    ---- Embedded exception
    javax.management.RuntimeMBeanException: Error calling queryNames for pattern: *:j2eeType=J2EEServer,* on VM: ias:j2eeType=JVMProxy
    ,name=1,J2EEServerGroup=default_group,J2EEServer=archibus,ASInstance=oraias_09.boswell.bath.ac.uk
    at oracle.oc4j.admin.jmx.server.mbeans.model.DefaultModelMBeanImpl.invoke(DefaultModelMBeanImpl.java:709)
    at com.sun.jmx.mbeanserver.DynamicMetaDataImpl.invoke(DynamicMetaDataImpl.java:213)
    at com.sun.jmx.mbeanserver.MetaDataImpl.invoke(MetaDataImpl.java:220)
    at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:815)
    at com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(JmxMBeanServer.java:784)
    at oracle.oc4j.admin.jmx.server.state.LocalizationFilterMBeanServer.invoke(LocalizationFilterMBeanServer.java:579)
    at oracle.oc4j.admin.jmx.distributed.SimpleInstanceMBeanServerDelegate.queryNames(SimpleInstanceMBeanServerDelegate.java:550)
    at oracle.oc4j.admin.jmx.server.state.LocalizationFilterMBeanServer.queryNames(LocalizationFilterMBeanServer.java:442)
    at oracle.sysman.ias.studio.jmx.spi.JMXConnectorImpl.queryNames(JMXConnectorImpl.java:352)
    at oracle.sysman.ias.studio.sdk.SDKJMXUtil.queryNames(SDKJMXUtil.java:236)
    at oracle.sysman.ias.studio.sdk.SDKJMXUtil.queryNames(SDKJMXUtil.java:214)
    at oracle.sysman.ias.studio.sdk.SDKJMXUtil.queryName(SDKJMXUtil.java:129)
    at oracle.sysman.ias.studio.oc4j.OC4JJMXUtil.getDisplayName(OC4JJMXUtil.java:842)
    at oracle.sysman.ias.studio.cluster.ClusterUtil$Switcher.switchDefaultJMXTarget(ClusterUtil.java:508)
    at oracle.sysman.ias.studio.cluster.ClickThruLoginHelper.handleEvent(ClickThruLoginHelper.java:111)
    at oracle.sysman.ias.studio.sdk.AbstractController.handleEvent(AbstractController.java:769)
    at oracle.sysman.emSDK.svlt.PageHandler.handleRequest(PageHandler.java:378)
    at oracle.sysman.emSDK.svlt.EMServlet.myDoGet(EMServlet.java:765)
    at oracle.sysman.emSDK.svlt.EMServlet.doGet(EMServlet.java:283)
    at oracle.sysman.ias.studio.app.StudioConsole.doGet(StudioConsole.java:385)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:743)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
    at com.evermind.server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:64)
    at oracle.sysman.ias.studio.app.BrowserVersionFilter.doFilter(BrowserVersionFilter.java:75)
    at com.evermind.server.http.EvermindFilterChain.doFilter(EvermindFilterChain.java:15)
    at oracle.sysman.ias.studio.app.MultipleJVMFilter.doFilter(MultipleJVMFilter.java:85)
    at com.evermind.server.http.EvermindFilterChain.doFilter(EvermindFilterChain.java:17)
    at oracle.sysman.ias.studio.app.PostLogonFilter.doFilter(PostLogonFilter.java:80)
    at com.evermind.server.http.EvermindFilterChain.doFilter(EvermindFilterChain.java:17)
    at oracle.sysman.ias.studio.app.ShortHostnameRedirectFilter.doFilter(ShortHostnameRedirectFilter.java:68)
    at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:642)
    at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:391)
    at com.evermind.server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:908)
    at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:458)
    at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:313)
    at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:199)
    at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)
    at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
    at java.lang.Thread.run(Thread.java:595)

  • How to set password in JMS adapter

    Hi All,
    I have put a JMS adpater partner link into a BPEL process, and everything seems to work fine, except that it wants to authenticate to the App Server using oc4jadmin/welcome1 and I used a different password.
    Can anyone tell me where to set the password it uses?
    I have tried putting it in the JMS Adpater's wsdl file under the jca:address section as mcf.Password, and as properties on the adapter partner link itself. Neither of these seem to work.
    Thanks for your help,
    Mark Nelson

    Mark,
    When you say "authenticating to the app server" you mean the adapter authenticating to the JMS Provider (running in the app server), correct?
    If so, the username/password are in oc4j-ra.xml, more precisely:
    %J2EE_HOME%\application-deployments\default\JmsAdapter
    (you might have to change "default").
    Look for your adapter connector-factory. It should have:
            <config-property name="username" value="oc4jadmin"/>
         <config-property name="password" value="welcome1"/>I understand that this sounds like the previous recommendation but this really should be it. Might be confusing as they are various instances of oc4j-ra.xml.
    Let us know how this works.

  • Unable to see OC4J Instances in ascontrol -- Urgent

    Hi
    Iam not able to see the OC4J instances running in ascontrol.
    They are shown in default group as running.
    adopmnctl status shows the below status as alive.
    --------------------------------------------------------------+---------
    ias-component | process-type | pid | status
    --------------------------------------------------------------+---------
    OC4JGroup:default_group | OC4J:oafm | 2383 | Alive
    OC4JGroup:default_group | OC4J:forms | 2382 | Alive
    OC4JGroup:default_group | OC4J:oacore | 2381 | Alive
    HTTP_Server | HTTP_Server | 2380 | Alive
    **** If click applications-> forms this shows me the below error.
    Unable to login to the OC4J "forms" on Application Server "xxxxxxxxxxx"; the OC4J is not running.
    **** If I click on default_group I get the below error.
    A connection could not established to some members of the Group default_group. Common causes for this failure are an authentication error or a JMX protocol mismatch.
    The administrator password for each OC4J instance in the Group must be the same as the administrator password for the OC4J instance on which ascontrol is running.
    The JMX protocol is specified by the property oracle.oc4j.jmx.internal.connection.protocol and the remote OC4J instance must be configured to use that protocol.
    Anyone had this issue, or any guess what might be wrong.I tried changing the oc4jadmin password with setup but still shows the error.
    Thanks
    Sree

    Hi,
    Was this working before? If yes, any changes have been done recently?
    Did you complete the steps as per this document?
    Note: 603716.1 - Using AS10g AS Control with eBusiness Suite Rel 12
    https://metalink2.oracle.com/metalink/plsql/ml2_documents.showDocument?p_database_id=NOT&p_id=603716.1
    Regards,
    Hussein

  • OC4J Problem

    Hello
    I have created Servlet Application.
    Now when i run JDeveloper and run the BIController (by default it starts OC4J i.e. :-
    Starting OC4J using the following ports: HTTP=8988, RMI=23891, JMS=9227.]
    D:\jdev\jdk\bin\javaw.exe -ojvm -classpath D:\jdev\j2ee\home\oc4j.jar;D:\jdev\jdev\lib\jdev-oc4j.jar -Doc4j.userThreads=true -Xverify:none -Doracle.j2ee.dont.use.memory.archive=true -Doracle.j2ee.http.socket.timeout=500 com.evermind.server.OC4JServer -config D:\jdev\jdev\system9.0.3.4.1247\oc4j-config\server.xml
    [waiting for the server to complete its initialization...]
    Ready message received from Oc4jNotifier.
    Embedded OC4J startup time: 17109 ms.
    Target URL -- http://192.168.1.243:8988/Proj-Workspace-Profitable-Products-context-root/mypackage1.BIController1
    Oracle9iAS (9.0.3.0.0) Containers for J2EE initialized
    When this is done clients can access through browser using url: -
    http://192.168.1.243:8988/Proj-Workspace-Profitable-Products-context-root/mypackage1.BIController1
    I want that client can access this in a scenarion that i don't have to run JDeveloper (OC4J)
    Plz some one tell me that how to run embedded OC4J without JDevloper with configuration same as in JDeveloper i.e.
    Starting OC4J using the following ports: HTTP=8988, RMI=23891, JMS=9227.]
    D:\jdev\jdk\bin\javaw.exe -ojvm -classpath D:\jdev\j2ee\home\oc4j.jar;D:\jdev\jdev\lib\jdev-oc4j.jar -Doc4j.userThreads=true -Xverify:none -Doracle.j2ee.dont.use.memory.archive=true -Doracle.j2ee.http.socket.timeout=500 com.evermind.server.OC4JServer -config D:\jdev\jdev\system9.0.3.4.1247\oc4j-config\server.xml
    [waiting for the server to complete its initialization...]
    Ready message received from Oc4jNotifier.
    Embedded OC4J startup time: 17109 ms.
    Target URL -- http://192.168.1.243:8988/Proj-Workspace-Profitable-Products-context-root/mypackage1.BIController1
    Oracle9iAS (9.0.3.0.0) Containers for J2EE initialized
    In simple words i want to do all that (above) without opening Jdeveloper so that clients can access through browser. (Note:- i don't want to deploy it to application server or to any other tech,.....)

    hi
    usually the application is deployed to an application server, please note that the oc4j itself is intended only for development purpose and not ment for a production system. this is because it lacks the clustering/failover/etc features
    if you want to try the "deployment", here is what you can do:
    either download the oc4j (just for testing) or use the one supplied with jdeveloper.
    if using the one from jdeveloper do the following (assuming you run under windows):
    open a dos prompt and set the path the following way:
    set path=YOUR_JDEV_HOME\jdk\bin;%PATH%
    cd YOUR_JDEV_HOME\j2ee\home
    java -jar oc4j.jar -install
    you now get prompted for the admin password
    start your oc4j:
    java -jar oc4j.jar
    o)afterwards, create a "deployment profile" within your project
    o)put all the files together
    o)create a new delopyment connection (oc4j standalone) and deploy it to your recently configured oc4j
    o) thats it
    note: i recommend you tune the deployment profile and change the name of your webapp and the context as well
    "Proj-Workspace-Profitable-Products-context-root" isnt very fancy ;)
    regards,
    thomas

  • Password indirection for database adapter

    Does the database adapter support the use of thge password indirection feature? I refer to the topic Creating an Indirect Password in the OC4J J2EE Security Guide, see http://download-east.oracle.com/docs/cd/B14099_15/web.1012/b14013/passman.htm#sthref746,
    oc4j-ra.xml is not listed.

    you will notice a JNDI name for this e.g. eis/DB/... this is used to look at the Application Server configuration. If it doesn't exist then it will use the credentials used as design time. Not good asthe connection will be fore development mainly.
    you can safely remove the mcf setting from the wsdl so it will always force the AS connection. this is good practice.
    To configure the AS configuration there is the oc4j-ra.xml file for the DB adapter. Or you can configure in Enterprise Manager
    EM -> oc4j_soa (home if basic install) -> Administration -> JDBC Resources
    configure a connection pool and data source
    then create a JNDI name entry for the DB adapter
    EM -> oc4j_soa (home if basic install) -> Applications -> Drop Down box select Adapter Resources -> DB Adapter
    Use the examples. You will see that the connect string = jdbc/DBName
    cheers
    James

  • Jdeveloper Deployment issue with OC4J

    I am using JDEVELOPER with Standalone Version of OC4J. I am trying to deploy the application EAR file generated using JDEVELOPER deploymnent wizard in to Standalone instance of OC4J. I am having issue with the Application server connecton wizard.
    I do not know the 'admin' password of the OC4J standalone instance. I am able to start the instance with 'java -jar oc4j.jar'. I am able to access the instacne with
    http://localhost:8888.
    I am having issue with the Application server connecton wizard. It requires 'admin'
    password to create a connection with the app server. The deployment could not succeed without the password.
    I would appreciate feedback and suggestons.
    Thanks.
    Palani

    This will reset the password to welcome for you (I've had this problem too - it happens if OC4J doesn't shutdown properly)
    java -jar oc4j.jar -install
    Enter an admin password to use: welcome
    Confirm admin password: welcome
    Installation done

  • Beginner Question - Help Needed for EJB QL Sample Application

    I'm working with a group of student interns, like myself, and we've been given an assignment to work with Oracle. All of us have no training or experience with this, so we're just learning as we go.
    I've been trying to run the EJB QL Sample Application (http://www.oracle.com/technology/sample_code/tech/java/ejb_corba/ejbql/Install.html), but I keep running into problems at step 3.
    Now, we will deploy the sample application onto OC4J. Open another command prompt and go to the folder <OC4J_HOME>/j2ee/home and run the following commands one-by-one
    > java -jar admin.jar ormi://<machine_name>:<admin_port> admin <admin_pwd> -deploy -file <SAMPLE_HOME>/build/ejbql.ear -deploymentName Ejbql
    > java -jar admin.jar ormi://<machine_name>:<admin_port> admin <admin_pwd> -bindWebApp Ejbql ejbql-war http-web-site /ejbql
    where,
    <machine_name>      Name of the machine where OC4J Server is running
    <admin_port>      Admin Port on which the OC4J server listens. This value by default is 23791 unless explicitly changed by the user
    <admin_pwd>      Adminstrator password to access OC4J. The default value is welcome
    When I do this step I get this error:
    Error: Unable to find java:comp/ServerAdministrator: Lookup error: javax.naming.
    AuthenticationException: Invalid username/password for default (sds); nested exc
    eption is:
    javax.naming.AuthenticationException: Invalid username/password for defa
    ult (sds)
    com.evermind.client.orion.AdminCommandException: Unable to find java:comp/Server
    Administrator: Lookup error: javax.naming.AuthenticationException: Invalid usern
    ame/password for default (sds); nested exception is:
    javax.naming.AuthenticationException: Invalid username/password for defa
    ult (sds)
    at com.evermind.client.orion.Oc4jAdminConsole.executeCommand(Oc4jAdminCo
    nsole.java:105)
    at com.evermind.client.orion.Oc4jAdminConsole.main(Oc4jAdminConsole.java
    :27)
    javax.naming.NamingException: Lookup error: javax.naming.AuthenticationException
    : Invalid username/password for default (sds); nested exception is:
    javax.naming.AuthenticationException: Invalid username/password for defa
    ult (sds) [Root exception is javax.naming.AuthenticationException: Invalid usern
    ame/password for default (sds)]
    at com.evermind.server.rmi.RMIContext.lookup(RMIContext.java:153)
    at com.evermind.client.orion.Oc4jAdminConsole.executeCommand(Oc4jAdminCo
    nsole.java:102)
    at com.evermind.client.orion.Oc4jAdminConsole.main(Oc4jAdminConsole.java
    :27)
    Caused by: javax.naming.AuthenticationException: Invalid username/password for d
    efault (sds)
    at com.evermind.server.rmi.RMIConnection.connect(RMIConnection.java:2410
    at com.evermind.server.rmi.RMIConnection.connect(RMIConnection.java:2226
    at com.evermind.server.rmi.RMIConnection.lookup(RMIConnection.java:1692)
    at com.evermind.server.rmi.RMIServer.lookup(RMIServer.java:727)
    at com.evermind.server.rmi.RMIContext.lookup(RMIContext.java:134)
    ... 2 more
    ---- Embedded exception
    javax.naming.AuthenticationException: Invalid username/password for default (sds
    at com.evermind.server.rmi.RMIConnection.connect(RMIConnection.java:2410
    at com.evermind.server.rmi.RMIConnection.connect(RMIConnection.java:2226
    at com.evermind.server.rmi.RMIConnection.lookup(RMIConnection.java:1692)
    at com.evermind.server.rmi.RMIServer.lookup(RMIServer.java:727)
    at com.evermind.server.rmi.RMIContext.lookup(RMIContext.java:134)
    at com.evermind.client.orion.Oc4jAdminConsole.executeCommand(Oc4jAdminCo
    nsole.java:102)
    at com.evermind.client.orion.Oc4jAdminConsole.main(Oc4jAdminConsole.java
    :27)
    Any suggestions to fix this error?
    Thanks in advance for any help.

    George,
    The Readme.html file is available with the ejbqlsample.jar downloadable (Extract and find the doc in Ejbql\docs\Readme.html) which is printable.
    Or,
    If you are trying to print the file directly from OTN site, you need to set the Page-Setup Orientation to 'Landscape'.
    Hope this helps.
    Regards
    Pushkala

  • Registering Partner Application in OAS 10.1.3.1

    Machine A: ple-wlau5
    OID and Oracle SSO [installed through infrastructure - 10.1.2.0.1]. such as D:\Oracle\Product\OID101201
    Machine B : wlau-lap
    OAS [installed through 10.1.3.1] such as C:\Oracle\product\10.1.3.1\OAS10131
    and Oracle Portal [installed 10.1.2.0.1]. such as C:\Oracle\product\Portal
    I have an application such as Test and running inside OAS 10.1.3.1.
    I have a URL link[to my Test Application] in the Oracle Portal. However, I am not able to get or retrieve the cookie from the header such as %Request.GetHeader("Osso-User-Dn");. No value there. So this means I must have config and setup incorrectly.
    Since my oracle portal is on 10.1.2.1 and my OAS is in 10.1.3.1, I think I need to register them from command line such as ssoreg.bat in my OAS 10.1.3.1. This bat file reside in SSO directory. I am not able to locate ssoreg.bat in my OAS 10.1.3.1 in order for me to registered my mod_osso into single signon server..
    I need to know how to integrate my application that run in OAS 10.1.3.1 with my Oracle SSO in 10.1.2.0.1

    There is some confusion about AS Control users in 10.1.3.x. Important is that you have the oc4jadmin user as the owner of all instances (AS instances in a cluster, and OC4J instances within an AS instance), all with the same password. New OC4J instances should only be created by oc4jadmin.
    You can create sub-ordinate users, but you should not give them the role that is intended for oc4jadmin. Sub-ordinate users should be created only with restricted rights, e.g. for deploying applications.
    I have used this feature in 10.1.3.2 and tested it on 10.1.3.3 on Windows, and it works. Tomorrow I will be in the opportunity to test it on RH4 update 4.
    Message was edited by:
    pdevaal

  • FTP Adapter where FTP server is SSH Tectia Server for IBM z/OS

    We are purchasing "SSH Tectia Server for IBM z/OS" as the secure FTP server.
    1. Has anyone used this with Oracle FTP Adapter to securely FTP files to the mainframe?
    2. What is the best way to maintain the username and password in the oc4j-ra.xml of the FTP adapter?
    3. Can this user and password be encrypted?
    Thanks

    HI,
    Unfortunately there are some concerns with FTPS connectivity with XI.
    As you know SFTP is not yet possible with XI, but somehow you could use FTPS.
    Please confirm below things this may help you
    1. Please make sure to Activate Secure Storage in the File System after Deploying the SAP Java Cryptographic Toolkit. Check below thread for the detail procedure
    http://help.sap.com/saphelp_nw04/helpdata/en/cd/14c93ec2f7df6ae10000000a114084/content.htm
    2. You can go for Third Part adapters such as Seeburger adapter AS2, OFTPS etc. for better connectivity with FTPS
    refer
    EDI Adapter by SeeBurger
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/206e2b65-2ca8-2a10-edad-f2d1391644cb
    B2B(EDI) Integration using SAP Netweaver XI and Seeburger AS2 Adapter
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/00f9cdf5-d812-2a10-03b4-aff3bbf792bf
    Integrating XI with SeeBurger
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/6dc02f5d-0601-0010-cd9d-f4ff9a7e8c33
    3. Search the options of your client's software to find where its public and private keys are stored, these are 2 files present on the FTP server, then put the Public key of the XI server on the Client FTP Server and likewise for the Public Key of the FTP Server on the XI Server.
    This enables the SSL handshake, i.e. Exchange of certificates.
    Thanks
    Swarup

  • Do I have to use opmn:ormi in the JNDI Service Provider URL?

    Trying to create a new Enterprise Message Source (JMS) and it's not updating the Data Object. Tested the OC4J queue using a Java POJO listener ... sending and receiving text message seems okay. I created a basic Plan (there's only one data element for now) and it is running.
    Any suggestions would be appreciated!

    Here is a document from Ranga on how to connect BAM to OJMS (hope it helps):
    Database Trigger - OJMS - BAM Integration Sample
    Last updated 07/27/05 Ranga
    OJMS setup
    Step 1 - Oc4j setup
    •     Install Standalone/Developer 10g OC4J or production version Application server.
    Developer version download -http://www.oracle.com/technology/software/htdocs/devlic.html?/technology/software/products/ias/htdocs/utilsoft.html#1012 or from http://bamqa.us.oracle.com/bamqaWiki/attach?page=Downloads%2Foc4j1012_extended.zip
    •     Modify following configuration files
    o     Add entry in <OC4J_Install_location>\j2ee\home\config\data-sources.xml for your database, use below sample replacing HOST, PORT and SERVICE_NAME in url tag
    <data-source
    class="com.evermind.sql.DriverManagerDataSource"
    name="TTTDS"
    location="jdbc/OracleTTTDS"
    xa-location="jdbc/xa/OracleXaBamDS"
    ejb-location="jdbc/OracleEjbBamDS"
    connection-driver="oracle.jdbc.driver.OracleDriver"
    username="scott"
    password="tiger"
    url="jdbc:oracle:thin:@(DESCRIPTION=(ADDRESS_LIST=(LOAD_BALANCE=on)(ADDRESS=(PROTOCOL=tcp)(HOST=stank04)(PORT=1521)))(CONNECT_DATA=(SERVICE_NAME=db10g)))"
    inactivity-timeout="30"
    />
    o     Add a resource provider entry in <OC4J_Install_location>\j2ee\home\config\application.xml
    <resource-provider name="BAMTTT" class="oracle.jms.OjmsContext">
    <description>BAM for Generic</description>
    <property name="datasource" value="jdbc/OracleTTTDS"/>
    </resource-provider>
    Step 2 - Database setup
    •     Install 10g or 9i database, below steps will setup AQ in sample schema scott.
    •     Connect to database as sys and grant AQ permissions to scott user
    connect sys/welcome1@db10g as sysdba
    grant SELECT_CATALOG_ROLE to scott;
    GRANT EXECUTE ON DBMS_APPLY_ADM TO scott;
    GRANT EXECUTE ON DBMS_AQ TO scott;
    GRANT EXECUTE ON DBMS_AQADM TO scott;
    GRANT EXECUTE ON DBMS_CAPTURE_ADM TO scott;
    GRANT EXECUTE ON DBMS_FLASHBACK TO scott;
    GRANT EXECUTE ON DBMS_STREAMS_ADM TO scott;
    execute dbms_aqadm.grant_system_privilege('ENQUEUE_ANY', 'scott', TRUE);
    grant aq_administrator_role to scott;
    grant execute on dbms_lock to scott;
    grant execute on sys.dbms_aqin to scott;
    grant execute on sys.dbms_aqjms to scott;
    •     Connect to database as scott user and create AQ
    connect scott/tiger@db10g
    execute dbms_aqadm.stop_queue( queue_name => 'bam_ttq' );
    execute dbms_aqadm.drop_queue( queue_name => 'bam_ttq');
    execute DBMS_AQADM.DROP_QUEUE_TABLE (queue_table => 'bam_ttq_tab');
    execute dbms_aqadm.create_queue_table( queue_table => 'bam_ttq_tab', queue_payload_type => 'sys.aq$_jms_text_message', multiple_consumers => true );
    execute dbms_aqadm.create_queue( queue_name => 'bam_ttq', queue_table => 'bam_ttq_tab' );
    execute dbms_aqadm.start_queue( queue_name => 'bam_ttq' );
    Database Trigger setup
    Run the following sql connected to database as scott user, it creates a trigger on EMP table.
    create or replace trigger send_recs_Employee AFTER INSERT OR Update ON EMP
    FOR each row
    declare
    xml_complete varchar2(8000);
    v_enqueue_options dbms_aq.enqueue_options_t;
    v_message_properties dbms_aq.message_properties_t;
    v_msgid raw(16);
    temp sys.aq$_jms_text_message;
    v_recipients dbms_aq.aq$_recipient_list_t;
    Begin
    temp:=sys.aq$_jms_text_message.construct;
    v_recipients(1) := sys.aq$_agent('istante',null,0);
    v_recipients(2) := sys.aq$_agent('test',null,0);
         v_message_properties.recipient_list := v_recipients;
    xml_complete :=
              '<?xml version="1.0"?><row>' ||
              '<EMPNO>' || :new.EMPNO || '</EMPNO>' ||
              '<ENAME>' || :new.ENAME || '</ENAME>' ||
              '<JOB>' || :new.JOB || '</JOB>' ||
              '<MGR>' || :new.MGR || '</MGR>' ||
              '<HIREDATE>' || :new.HIREDATE || '</HIREDATE>' ||
              '<SAL>' || :new.SAL || '</SAL>' ||
              '<COMM>' || :new.COMM || '</COMM>' ||
              '<DEPTNO>' || :new.DEPTNO || '</DEPTNO>' ||
              '</row>' ;
              temp.set_text(xml_complete);
    dbms_aq.enqueue(queue_name => 'bam_ttq',
              enqueue_options => v_enqueue_options,
              message_properties => v_message_properties,
              payload => temp,
              msgid => v_msgid );
    End ;
    BAM Setup
    •     Administrator - Fix the classpaths for oc4j jar files for Oracle (AS JMS and OJMS) Message source type using the OC4J_Install_location. If you are using production App Server you need to add extra classpath entry <App Server Location>\opmn\lib\optic.jar
    •     Architect - Create a new Enterprise message source of type Oracle (AS JMS and OJMS)
    Initial Context Factory:      com.evermind.server.rmi.RMIInitialContextFactory
    JNDI Service Provider URL:      o     For Standalone oc4j: ormi://machine name/
    Where machine name is OC4J installed host
    o     For Production App Server: opmn:ormi://<machine name>:<opmn request port>:home
    Where machine name is App server installed host, opmn request port could be found from looking at opmn.xml in <App server install location>/opmn/conf
    TopicConnectionFactory Name:      java:comp/resource/BAMTTT/TopicConnectionFactories/bam_ttq_tab
    Topic Name:      java:comp/resource/BAMTTT/Topics/bam_ttq
    JMS Message Type:      TextMessage
    Durable Subscriber Name (Optional):      Istante
    Message Selector (Optional):      
    Client ID (Optional):      ClientID
    Name     Flow name     Type     Max size     Formatting
    row.     row.     String     4000     (none).
    •     Enterprise Link Design Studio – create a basic plan with
    o     Oracle BAM Enterprise Message Receiver, selecting the message source you created in above step.
    o     Display sink Grid
    •     Create file jndi.properties in C:\Program Files\Oracle BAM\j2re1.4.1_01\lib with entries
    java.naming.security.principal=admin
    java.naming.security.credentials=welcome1 (App server/Oc4j password)
    Running
    •     Start OC4J
    •     To enqueue messages update or insert records in EMP table connected to database as scott user
    Insert into emp values (&empno,'FORD','ANALYST',7566,sysdate,60000,3000,20);
    •     Run update on the enterprise plan
    In above sample no parsing of the data is done, its got as one single string.
    OJMS setup
    Configuring JMS
    http://www.oracle.com/technology/books/pdfs/2352_Ch06_FINAL.pdf
    Oracle® Application Server Containers for J2EE Services Guide 10g Release 2 (10.1.2) for Windows or UNIX
    http://iasdocs/iasdl/101200doc/web.1012/b14012/toc.htm

  • Custom login module error: Login permission not granted for myapp (myuser)

    I have developed a custom login module for my application. I have followed the steps outlined in security guide and other postings. I could not log into the application when I access EJBs from an RMI client. I get the following error.
    Login permission not granted for myapp (myuser)
    I did grant the login permission to myuser.
    I am using OC4J 10.1.3.1.0
    Here are the steps I followed and the configuration files. Can anybody help me out?
    1. Created a custom login module and packaged it in EAR along with other classes. In the commit method, I added my user into principals of subject. Here is the code,
    ==================================================================
    public boolean commit() throws LoginException {
    try {
    if (!loginOk) {
    return false;
    Set<Principal> principals = subject.getPrincipals();
    principals.add(user);
    loginOk = true;
    } finally {
    // Some audit logs are written here.
    return loginOk;
    ===============================================================
    2. Added custom login module in orion-application.xml. Here are the relevant portions of orion-application.xml
    ===============================================================
    <jazn provider="XML">
    <property name="role.mapping.dynamic" value="true" />
    <property name="custom.loginmodule.provider" value="true" />
    <property name="role.compare.ignorecase" value="true" />
    </jazn>
    <jazn-loginconfig>
    <application>
    <name>myApp</name>
    <login-modules>
    <login-module>
    <class>com.test.myServerLoginModule</class>
    <control-flag>required</control-flag>
    <options>
    <option>
    <name>maxRetries</name>
    <value>3</value>
    </option>
    <option>
    <name>debug</name>
    <value>true</value>
    </option>
    </options>
    </login-module>
    </login-modules>
    </application>
    </jazn-loginconfig>
    <namespace-access>
    <read-access>
    <namespace-resource root="">
    <security-role-mapping name="myUser">
    <group name="users"/>
    <group name="oc4j-app-administrators"/>
    </security-role-mapping>
    <security-role-mapping name="esp_operator">
    <group name="users"/>
    <group name="oc4j-app-administrators"/>
    </security-role-mapping>
    </namespace-resource>
    </read-access>
    </namespace-access>
    ===============================================================
    3. After the application is deployed on the EAR, I can see the custom login module in system-jazn-data.xml. The command line jazn admin tool lists my custom login module for my application.
    4. I have an RMI client, the client JNDI properties are
    ==============================================================
    java.naming.factory.initial=oracle.j2ee.naming.ApplicationClientInitialContextFactory
    java.naming.factory.url.pkgs=oracle.j2ee.naming
    ==============================================================
    The value for java.naming.provider.url is constructed dynamically and it is ormi://myserver:23791/myapp
    java.naming.security.principal is set to the user who is trying to login, myuser, in this case.
    java.naming.security.credentials is set to the password entered by myuser, password in this case.
    5. I used jazn admin tool to grant login permission to my user.
    ===============================================================
    a. Added user
    java -jar jazn.jar -user oc4jadmin -password welcome -adduser jazn.com myuser password
    b. Grant roles
    java -jar jazn.jar -user oc4jadmin -password welcome -grantrole users ja
    zn.com myuser
    java -jar jazn.jar -user oc4jadmin -password welcome -grantrole oc4j-app
    -administrators jazn.com myuser
    c. Grant RMI permission
    java -jar jazn.jar -user oc4jadmin -password welcome -grantperm jazn.com
    -user myuser com.evermind.server.rmi.RMIPermission login
    ===============================================================
    After the permission is granted, the folowing piece of XML is added to system-jazn-data.xml.
    ===============================================================
         <grant>
              <grantee>
                   <principals>
                        <principal>
                             <realm-name>jazn.com</realm-name>
                             <type>user</type>
                             <class>oracle.security.jazn.spi.xml.XMLRealmUser</class>
                             <name>jazn.com/esp_administrator</name>
                        </principal>
                   </principals>
              </grantee>
              <permissions>
                   <permission>
                        <class>com.evermind.server.rmi.RMIPermission</class>
                        <name>login</name>
                   </permission>
              </permissions>
         </grant>
    ==============================================================
    My principal class is not of type, oracle.security.jazn.spi.xml.XMLRealmUser. Hence, I changed system-jazn-data.xml to include com.test.MyUser instead of oracle.security.jazn.spi.xml.XMLRealmUser. Either way, I get Not Authorized and Login permission not granted for myapp (myuser).
    Can anybody help me out, please?
    Thank you,
    Sri
    Message was edited by:
    user532586

    I finally got it to work. But I have a problem granting RMI Permission "login", if the depth of my Principal class within the inheritance hierarachy is more than one. My hierarachy of my principal class is
    Object --> ObjectA --> ObjectB --> ObjectC --> ObjectD
    ObjectD is my principal class. ObjectB implements java.security.Principal. ObjectA has implementations for methods equals, hashcode and toString. ObjectB has implementations for getName.
    When I try to grant RMI permission for ObjectD, I get an error that says null.
    If I override the methods, equals, hashcode, toString, and getName in ObjectD and provide implementations, I still could not grant permission using jazn tool. I get error that says null. If I update the system-jazn-data.xml with the following grant tag, I could get into the application without any errors.
         <grant>
              <grantee>
                   <principals>
                        <principal>
                             <class>com.test.ObjectD</class>
                             <name>developers</name>
                        </principal>
                   </principals>
              </grantee>
              <permissions>
                   <permission>
                        <class>com.evermind.server.rmi.RMIPermission</class>
                        <name>login</name>
                   </permission>
              </permissions>
         </grant>
    If I create a new class, myPrincipal that implements java.security.Principal, I donot have any problems. I can grant permission and access application.
    Any ideas why I could not use ObjectD as my principal class for granting RMI permission?
    Message was edited by:
    user532586

  • DBAdaptor for SQLServer2005

    Hi all
         Can any one help me in connecting to SQLServer 2005 database.
    I installed jdbc driver and set class path in JDeveloper.I am able to get the my table in JDeveloper. But when i deploy and test in application server, I am getting following errr.
    file:/D:/product/10.1.3.1/OraBPEL/bpel/domains/krishna/tmp/.bpel_SPMigrateMetadata_1.0_9cca62fe8dc7592cd18d6c0eacb88003.tmp/AVMDBAdaptor.wsdl [ AVMDBAdaptor_ptt::AVMDBAdaptorSelect(AVMDBAdaptorSelect_inparameters,AvmetadataCollection) ] - WSIF JCA Execute of operation 'AVMDBAdaptorSelect' failed due to: Could not create/access the TopLink Session.
    This session is used to connect to the datastore.
    ; nested exception is:
         ORABPEL-11622
    Could not create/access the TopLink Session.
    This session is used to connect to the datastore.
    See root exception for the specific exception. You may need to configure the connection settings in the deployment descriptor (i.e. $J2EE_HOME/application-deployments/default/DbAdapter/oc4j-ra.xml) and restart the server. Caused by ORABPEL-11623
    Missing Property Exception.
    The property [DBManagedConnectionFactory.driverClassName] is missing.
    A sample value is [oracle.jdbc.driver.OracleDriver].
    I configured oc4j-ra.xml with the following details.
              <connector-factory location="eis/DB/AVMetaData" connector-name="Database Adapter">
                             <config-property name="dataSourceName" value=""/>
                             <config-property name="platformClassName" value="oracle.toplink.platform.database.SQLServerPlatform"/>
                             <config-property name="connectionString" value="jdbc:sqlserver://192.168.0.2;databaseName=SPCatalogQA;username=secpath;password=XXXXX;"/>
                             <config-property name="UserName" value="secpath"/>
                             <config-property name="Password" value="XXXXXX"/>
              </connector-factory>
    Following is the error when i restart the server.
         07/10/23 16:41:29 Warning: config-property named connectionString specified in o
         c4j-ra.xml does not exist in ra.xml
         07/10/23 16:41:29 Warning: config-property named UserName specified in oc4j-ra.x
         ml does not exist in ra.xml
         07/10/23 16:41:29 Warning: config-property named Password specified in oc4j-ra.x
         ml does not exist in ra.xml
         07/10/23 16:41:29 Warning: config-property named connectionString specified in o
         c4j-ra.xml does not exist in ra.xml
         07/10/23 16:41:29 Warning: config-property named UserName specified in oc4j-ra.x
         ml does not exist in ra.xml
         07/10/23 16:41:29 Warning: config-property named Password specified in oc4j-ra.x
         ml does not exist in ra.xml
    Don't know how to configure ra.xml.In one of the posts I read it required to include jdbc driver jar files to appropriate folder. In which folder i have to place the jdbc driver jar file.
    any help regarding this.
    Thanks You
    KRish

    Hi Krish.
    The folder to out jdbc driver file is ORACLE_HOME\j2ee\home\applib.
    You must configure your adpater using the Application Server Control.
    Fisrt, access the Administration link of your instance.
    Access the JDBC Resources and create a connection pool, after that, create a Data source, this datas source must points to connection pool that you have created.
    Test your connection.
    Afonso

  • Jsp class files

    i am using 9iAS 1.0.2.2.2a on windows server family 2000.
    I deployed my application successfully on server. It is business component containing application developed in JDeveloper 3.2.
    My application is running successfully. But the problem is
    My jsp page is "index.jsp", when i restart oc4j some times it generates "_index.java/class" and some times generates "_Index.class/java". If generated by "_Index" and i access index.jsp it gives error of wrong name.
    Similarly my page is "SDevelperLogin.jsp" and it generates "SDeveloperLogin" or "SdeveloperLogin".
    How this problem can be controlled ???
    Tahir Pervaiz.

    Tahir,
    I would strongly recommend tha tyou upgrade to Oracle9iAS v9.0.2
    There have been lot of improvents and fixes in v902.
    You cannot plug in the OC4J v902 standalone into Oracle9iAS env.
    Also, I suggest that you please install the OC4J standalone in a separate directory. ( it just a zip file, you unzip
    it in a separate directory) To test out your app on OC4J standalone it would just take a few minutes..
    Once you unzip, follow the following steps:
    cd to the j2ee/home directory
    java -jar oc4j.jar -install
    //It will ask you to enter and reconfirm the admin password
    java -jar oc4j.jar
    //the above command will start the
    you can use the admin.jar to deploy your ear file to OC4J standalone.
    check out chapter 2 of standalone user's guide.
    http://otn.oracle.com/tech/java/oc4j/pdf/oc4j_so_usersguide_r2.pdf

Maybe you are looking for

  • How can I sort audio by tracks within each album?

    I am trying to use an ipod to listen to a series of lectures. The lectures are organized in a specific sequence of tracks. This is similar to songs in an album except that I need to listen to them in a specified order. Listening to the lectures in a

  • Can I write dates or words on photos? In iPhoto.

    Can I write dates or words on photos? In iphoto.

  • Table on TabbedPane ??

    http://jfx.wikia.com/wiki/SwingComponents <- here are table and tabbed pane i need your help. im trying to attach JTable to JTabbedPane in JavaFX how can i meke it?

  • How to determine calling transaction?

    Hi Is there a way to determine the calling transaction? Simple example Transaction A calls Transaction B. From within transaction B, I'd like to know which Transaction called it. Thanks, Adrian

  • 10.4.7 installation disaster

    please help me... got an error during 10.4.7 installation don't really know why... now i don't manage to use .dmg files it says (device not configured) if i open automatic software update it suddenly quits if i connect usb pen they are not recognized