Authentication - Java to VB

I have a VB application communicating with a Java Bean using jCOM. (The Java
Bean communicates with the WebLogic server.) The Java Bean sends events to
the VB aplication. This is working fine!
The problem is if I logg in using different Windows NT user ids on the
server machine running the Java Bean and the machine running the VB
application. In this case I do not receive any events.
Does anyone know how to configure jCOM in order to get it to work?
regards
tore

Hi Tore,
Nothing jumps out at me in the jcom.log file.
Please run CheckConfig on each of the machines you are using. Send me the 2
config.log files and tell me which user you are logged in as when the events
don't work.
Run DCOMCNFG on the VB client machine and make sure that the user you are logged
in as on the server machine has default access/launch permissions.
jCOM Support
Tore wrote:
>
Hi
Here is a log file with the error in it!
regards
tore
<[email protected]> wrote in message news:[email protected]..
Hi Tore,
I recreated this scenario and got it to work successfully. I first gotthings
working where I was logged in as the same user on both the client andserver
machines. Then, I logged into the server machine as a different user andset up
everything the same way. It still worked.
Could you post your jcom.log file, as well as run CheckConfig.exe on each
machine you are using. Maybe there will be a clue in these filessomewhere?
Regards,
jCOM Support
Tore wrote:
I have a VB application communicating with a Java Bean using jCOM. (The
Java
Bean communicates with the WebLogic server.) The Java Bean sends eventsto
the VB aplication. This is working fine!
The problem is if I logg in using different Windows NT user ids on the
server machine running the Java Bean and the machine running the VB
application. In this case I do not receive any events.
Does anyone know how to configure jCOM in order to get it to work?
regards
toreName: noevent_jintegra.log
noevent_jintegra.log Type: Text Document (application/x-unknown-content-type-txtfile)
Encoding: x-uuencode

Similar Messages

  • WebDAV authentication java

    Hi all:
        I made a tool to uplaod file to KTP used webdynpro java. This tool is integrate to BYD portal.When I
    use webDAV to uplaod file, It need be authentication. But I only know the webDAV API to implement
    credentials used username and password.
    Please see my code.
       My question is:
         1  How can I get the psaaword from portal?
         2  whether has other ways to pass the authorization check without password? what is the API?
      Thanks all.
       HttpClient client = new HttpClient();
                HostConfiguration host = new HostConfiguration(hostname, httpport);
                client.setHostConfiguration(host);
                AuthScope ourScope = new AuthScope(hostname, httpport,
                            AuthScope.ANY_REALM);
                UserPassCredentials namePass = new UserPassCredentials("username", "password");
                client.getState().setCredentials(ourScope, namePass);
                client.getParams().setAuthenticationPreemptive(true);
                return client;

    Hi all:
        I made a tool to uplaod file to KTP used webdynpro java. This tool is integrate to BYD portal.When I
    use webDAV to uplaod file, It need be authentication. But I only know the webDAV API to implement
    credentials used username and password.
    Please see my code.
       My question is:
         1  How can I get the psaaword from portal?
         2  whether has other ways to pass the authorization check without password? what is the API?
      Thanks all.
       HttpClient client = new HttpClient();
                HostConfiguration host = new HostConfiguration(hostname, httpport);
                client.setHostConfiguration(host);
                AuthScope ourScope = new AuthScope(hostname, httpport,
                            AuthScope.ANY_REALM);
                UserPassCredentials namePass = new UserPassCredentials("username", "password");
                client.getState().setCredentials(ourScope, namePass);
                client.getParams().setAuthenticationPreemptive(true);
                return client;

  • Discoverer 9iASv2: does not run, produces java errors

    Hi,
    I am evaluating Discoverer9ias v2 for my company. We have set up 9iAs infrastructure on a Win2K box, with the main 9ias BI and Forms on another Win2K box.
    After installing everything, the disco plus demo ran fine for a few hours. After that the 9ias admin website and the demo stopped responding. A reboot of main 9ias box was required to fix this. And on the main 9ias servers admin website, the discoverer status always appears as unknown.
    We added a few public connections. The last public connection I tried to define had only the databse service name in it. I was trying to find out if Disco Plus will prompt the user for a userid/password. On clicking 'Apply' I got a Java error. I don't know if the connection got created or not. Since then, Discoverer is NOT WORKING AT ALL!
    The demo url produces this error:
    java.lang.NullPointerException
         at oracle.discoiv.session.model.Authentication.(Authentication.java:87)
         at oracle.discoiv.session.model.ConnectionManager.findConnection(ConnectionManager.java:306)
         at oracle.discoiv.session.model.ConnectionManager.findConnection(ConnectionManager.java:277)
         at oracle.discoiv.session.model.ConnectionManager.getConnection(ConnectionManager.java:74)
         at oracle.discoiv.session.model.ModelSession.openConnection(ModelSession.java:272)
         at oracle.discoiv.session.model.ModelSession.openAccount(ModelSession.java:331)
         at oracle.discoiv.state.LoginTransition.doTransition(LoginTransition.java:62)
         at oracle.discoiv.state.StateTransition.execute(StateTransition.java:37)
         at oracle.discoiv.state.StateTransition.execute(StateTransition.java:46)
         at oracle.discoiv.state.DiscoState.getState(DiscoState.java:155)
         at oracle.discoiv.state.DiscoState.getState(DiscoState.java:52)
         at oracle.discoiv.state.StateMachine.setState(StateMachine.java:75)
         at oracle.discoiv.controller.DiscovererController.setState(DiscovererController.java:236)
         at oracle.discoiv.servlet.DiscovererHttpHandler.processRequest(DiscovererHttpHandler.java:101)
         at oracle.discoiv.servlet.DiscoServlet.doRequest(DiscoServlet.java:314)
         at oracle.discoiv.servlet.DiscoServlet.doGet(DiscoServlet.java:148)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:244)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:336)
         at com.evermind.server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:59)
         at oracle.security.jazn.oc4j.JAZNFilter.doFilter(JAZNFilter.java:283)
         at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:523)
         at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:269)
         at com.evermind.server.http.ServletRequestDispatcher.forward(ServletRequestDispatcher.java:219)
         at oracle.plus.servlet.Disco4iProxyServlet.doRequest(Disco4iProxyServlet.java:141)
         at oracle.plus.servlet.Disco4iProxyServlet.doGet(Disco4iProxyServlet.java:68)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:244)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:336)
         at com.evermind.server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:59)
         at oracle.security.jazn.oc4j.JAZNFilter.doFilter(JAZNFilter.java:283)
         at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:523)
         at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:269)
         at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:735)
         at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:151)
         at com.evermind.util.ThreadPoolThread.run(ThreadPoolThread.java:64)
    9ias Restarts and reboots have not helped. The Discoverer Services Configuration page on the 9ias admin website has a 'General Discoverer' option for creating and changing connections. But, clicking on this link also produces an error, even though 'Discoverer Viewer' and 'Discoverer Portlet Provider' links seem to work fine. This is the error:
    500 Internal Server Error
    java.lang.NullPointerException
         at oracle.disco.oem.configuration.ConnectionConfiguration.getConnection(ConnectionConfiguration.java:161)
         at oracle.disco.oem.configuration.ConnectionConfiguration.GetConnections(ConnectionConfiguration.java:64)
         at oracle.disco.oem.beans.GeneralBean.<init>(GeneralBean.java:98)
         at oracle.disco.oem.beans.BeansFactory.getGeneralBean(BeansFactory.java:47)
         at oracle.disco.oem.cabo.DiscovererPageHandler.loadGeneralPage(DiscovererPageHandler.java:610)
         at oracle.disco.oem.cabo.DiscovererPageHandler.prepareData(DiscovererPageHandler.java:252)
         at oracle.sysman.emSDK.eml.svlt.PageHandler.handleRequest(PageHandler.java:305)
         at oracle.sysman.emSDK.eml.svlt.EMServlet.myDoGet(EMServlet.java:649)
         at oracle.sysman.emSDK.eml.svlt.EMServlet.doGet(EMServlet.java:224)
         at oracle.sysman.eml.app.ConsoleSN.doGet(ConsoleSN.java:71)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:244)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:336)
         at com.evermind[Oracle9iAS (9.0.2.0.0) Containers for J2EE].server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:59)
         at oracle.security.jazn.oc4j.JAZNFilter.doFilter(JAZNFilter.java:283)
         at com.evermind[Oracle9iAS (9.0.2.0.0) Containers for J2EE].server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:523)
         at com.evermind[Oracle9iAS (9.0.2.0.0) Containers for J2EE].server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:269)
         at com.evermind[Oracle9iAS (9.0.2.0.0) Containers for J2EE].server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:735)
         at com.evermind[Oracle9iAS (9.0.2.0.0) Containers for J2EE].server.http.HttpRequestHandler.run(HttpRequestHandler.java:243)
         at com.evermind[Oracle9iAS (9.0.2.0.0) Containers for J2EE].util.ThreadPoolThread.run(ThreadPoolThread.java:64)

    A few tips creating a public connection:
    1) Always use capital letters when typing a EUL name
    2) Never leave blank userid or password when defining public connections.
    Althought these are fixed in the up coming patch, you just need to follow the tips for the 9.0.2.39

  • OAF 12.2.4 - 500 Internal Server Error java.io.IOException when running a page from Jdeveloper

    Hi All,
    I face the following error message in the web browser when I try to run a simple page from JDeveloper:
    500 Internal Server Error java.io.IOException
    The message is the same when I run the Hello World test from the Tutorials project.
    Here is the error stack:
    500 Internal Server Error
    java.io.IOException
            at oracle.apps.fnd.common.WebRequestUtil.validateContextPrivate(WebRequestUtil.java:559)
            at oracle.apps.fnd.common.WebRequestUtil.validateContext(WebRequestUtil.java:334)
            at oracle.apps.fnd.common.WebRequestUtil.validateContext(WebRequestUtil.java:237)
            at _OAErrorPage._jspService(_OAErrorPage.java:337)
            [/OAErrorPage.jsp]
            at com.orionserver[Oracle Containers for J2EE 10g (10.1.3.5.0) ].http.OrionHttpJspPage.service(OrionHttpJspPage.java:59)
            at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:473)
            at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:594)
            at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:518)
            at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
            at com.evermind[Oracle Containers for J2EE 10g (10.1.3.5.0) ].server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:734)
            at com.evermind[Oracle Containers for J2EE 10g (10.1.3.5.0) ].server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:391)
            at com.evermind[Oracle Containers for J2EE 10g (10.1.3.5.0) ].server.http.ServletRequestDispatcher.unprivileged_forward(ServletRequestDispatcher.java:280)
            at com.evermind[Oracle Containers for J2EE 10g (10.1.3.5.0) ].server.http.ServletRequestDispatcher.access$100(ServletRequestDispatcher.java:68)
            at com.evermind[Oracle Containers for J2EE 10g (10.1.3.5.0) ].server.http.ServletRequestDispatcher$2.oc4jRun(ServletRequestDispatcher.java:214)
            at oracle.oc4j.security.OC4JSecurity.doPrivileged(OC4JSecurity.java:284)
            at com.evermind[Oracle Containers for J2EE 10g (10.1.3.5.0) ].server.http.ServletRequestDispatcher.forward(ServletRequestDispatcher.java:219)
            at com.evermind[Oracle Containers for J2EE 10g (10.1.3.5.0) ].server.http.EvermindPageContext.handlePageThrowable(EvermindPageContext.java:871)
            at com.evermind[Oracle Containers for J2EE 10g (10.1.3.5.0) ].server.http.EvermindPageContext.handlePageException(EvermindPageContext.java:816)
            at _OA._jspService(_OA.java:130)
            [/OA.jsp]
            at com.orionserver[Oracle Containers for J2EE 10g (10.1.3.5.0) ].http.OrionHttpJspPage.service(OrionHttpJspPage.java:59)
            at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:473)
            at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:594)
            at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:518)
            at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
            at com.evermind[Oracle Containers for J2EE 10g (10.1.3.5.0) ].server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:734)
            at com.evermind[Oracle Containers for J2EE 10g (10.1.3.5.0) ].server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:391)
            at com.evermind[Oracle Containers for J2EE 10g (10.1.3.5.0) ].server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:908)
            at com.evermind[Oracle Containers for J2EE 10g (10.1.3.5.0) ].server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:458)
            at com.evermind[Oracle Containers for J2EE 10g (10.1.3.5.0) ].server.http.HttpRequestHandler.serveOneRequest(HttpRequestHandler.java:226)
            at com.evermind[Oracle Containers for J2EE 10g (10.1.3.5.0) ].server.http.HttpRequestHandler.run(HttpRequestHandler.java:127)
            at com.evermind[Oracle Containers for J2EE 10g (10.1.3.5.0) ].server.http.HttpRequestHandler.run(HttpRequestHandler.java:116)
            at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)
            at com.evermind[Oracle Containers for J2EE 10g (10.1.3.5.0) ].util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
            at java.lang.Thread.run(Thread.java:662)
    This is JDeveloper 10.1.3.5.0 from patch p19170592_R12_GENERIC.zip
    The OAF release is 12.2.4
    JDEV_USER_HOME is set to C:\Olivier\R12\jdev1224\jdevhome\jdev
    The .dbc file looks fine.
    I connect successfully to database.
    I tried to reinstall JDeveloper.
    I performed many searches on MOS, OTN, Google, etc...
    I tried to change the Startup Settings (Host Name, IP Address settings) of the Embedded OC4J Server Preferences.
    I am stuck.
    Any ideas?
    Thanks,
    Olivier

    Hi Peddi,
    Thanks for your reply.
    I checked again the .dbc file.
    I downloaded again the file from $INST_TOP/appl/fnd/12.0.0/secure to <JDEV_USER_HOME>\dbc_files\secure
    This file worked fine for JDeveloper for 12.2.3.
    I went again through "Oracle Application Framework Developer's Guide Release 12.2.4 July 2014" but could not find any part related to .dbc file having changed from previous release.
    I tried to comment out the parameter APPS_JDBC_URL in .dbc as per MOS note "Troubleshooting JDeveloper setup for Oracle Applications (Doc ID 357218.1)"
    But I still face the issue.
    According to the note "Configuring JDeveloper For Use With Oracle Applications 11i and R12 (Doc ID 330236.1)", I have added the following debug parameters in the project properties:
    -Djbo.debugoutput=console -Djbo.logging.trace.threshold=9 -Djbo.jdbc.driver.verbose=true -Djbo.jdbc.trace=true
    It generated the following OC4J server detailed log showing more error messages (in red below):
    [extract]
    15/02/04 17:13:56 [553] Successfully logged in
    15/02/04 17:13:56 [554] JDBCDriverVersion: 11.2.0.2.0
    15/02/04 17:13:56 [555] DatabaseProductName: Oracle
    15/02/04 17:13:56 [556] DatabaseProductVersion: Oracle Database 11g Enterprise Edition Release 11.2.0.3.0 - 64bit Production With the Partitioning, OLAP, Data Mining and Real Application Testing options
    15/02/04 17:13:56 [557] Root application module, oracle.apps.fnd.framework.toolbox.tutorial.server.HelloWorldAM, was created at 2015-02-04 17:13:56.283
    15/02/04 17:13:56 [558] setConnectionReleaseLevel - Set connection release level to 0
    15/02/04 17:13:56 [559]
    <ICX_SessionValues_Diagnostics - ICX Cookie = 4tzlN3OR7BSoTLXf4grnQylQ4l>: WebRequestUtil.validateContext is called.
    15/02/04 17:13:56 [560] SQLState(42000) vendor code(2248)
    15/02/04 17:13:56 [561] java.sql.SQLSyntaxErrorException: ORA-02248: invalid option for ALTER SESSION
    ORA-06512: at "SYS.DBMS_SESSION", line 164
    ORA-06512: at line 6
    15/02/04 17:13:56 [562] at oracle.jdbc.driver.SQLStateMapping.newSQLException(SQLStateMapping.java:94)
    15/02/04 17:13:56 [563] at oracle.jdbc.driver.DatabaseError.newSQLException(DatabaseError.java:147)
    15/02/04 17:13:56 [564] at oracle.jdbc.driver.DatabaseError.createSqlException(DatabaseError.java:206)
    15/02/04 17:13:56 [565] at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:456)
    15/02/04 17:13:56 [566] at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:405)
    15/02/04 17:13:56 [567] at oracle.jdbc.driver.T4C8Oall.processError(T4C8Oall.java:889)
    15/02/04 17:13:56 [568] at oracle.jdbc.driver.T4CTTIfun.receive(T4CTTIfun.java:476)
    15/02/04 17:13:56 [569] at oracle.jdbc.driver.T4CTTIfun.doRPC(T4CTTIfun.java:204)
    15/02/04 17:13:56 [570] at oracle.jdbc.driver.T4C8Oall.doOALL(T4C8Oall.java:540)
    15/02/04 17:13:56 [571] at oracle.jdbc.driver.T4CCallableStatement.doOall8(T4CCallableStatement.java:213)
    15/02/04 17:13:56 [572] at oracle.jdbc.driver.T4CCallableStatement.executeForRows(T4CCallableStatement.java:1075)
    15/02/04 17:13:56 [573] at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:1466)
    15/02/04 17:13:56 [574] at oracle.jdbc.driver.OraclePreparedStatement.executeInternal(OraclePreparedStatement.java:3752)
    15/02/04 17:13:56 [575] at oracle.jdbc.driver.OraclePreparedStatement.execute(OraclePreparedStatement.java:3937)
    15/02/04 17:13:56 [576] at oracle.jdbc.driver.OracleCallableStatement.execute(OracleCallableStatement.java:9259)
    15/02/04 17:13:56 [577] at oracle.jdbc.driver.OraclePreparedStatementWrapper.execute(OraclePreparedStatementWrapper.java:1535)
    15/02/04 17:13:56 [578] at oracle.apps.fnd.sso.SessionMgr.loadInstalledLanguages(SessionMgr.java:4119)
    15/02/04 17:13:56 [579] at oracle.apps.fnd.sso.SessionMgr.getInstalledLanguages(SessionMgr.java:3872)
    15/02/04 17:13:56 [580] at oracle.apps.fnd.sso.Utils.getBaseInstalledLangCode(Utils.java:1491)
    15/02/04 17:13:56 [581] at oracle.apps.fnd.sso.Authenticator.<clinit>(Authenticator.java:45)
    15/02/04 17:13:56 [582] at oracle.apps.fnd.sso.Utils.<clinit>(Utils.java:675)
    15/02/04 17:13:56 [583] at oracle.apps.fnd.sso.SSOManager.canUpgradeToUserSession(SSOManager.java:3000)
    15/02/04 17:13:56 [584] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    15/02/04 17:13:56 [585] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    15/02/04 17:13:56 [586] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    15/02/04 17:13:56 [587] at java.lang.reflect.Method.invoke(Method.java:597)
    15/02/04 17:13:56 [588] at oracle.apps.fnd.common.WebRequestUtil.validateContextPrivate(WebRequestUtil.java:557)
    15/02/04 17:13:56 [589] at oracle.apps.fnd.common.WebRequestUtil.validateContext(WebRequestUtil.java:369)
    15/02/04 17:13:56 [590] at oracle.apps.fnd.framework.webui.OAHttpSessionCookieImpl.validateIcxCookie(Unknown Source)
    15/02/04 17:13:56 [591] at oracle.apps.fnd.framework.OASessionCookieHelper.validateIcxSession(Unknown Source)
    15/02/04 17:13:56 [592] at oracle.apps.fnd.framework.OASessionCookieHelper.initializeApplicationModule(Unknown Source)
    15/02/04 17:13:56 [593] at oracle.apps.fnd.framework.webui.OAHttpSessionCookieImpl.initializeApplicationModule(Unknown Source)
    15/02/04 17:13:56 [594] at oracle.apps.fnd.framework.webui.OAHttpSessionCookieImpl.useApplicationModule(Unknown Source)
    15/02/04 17:13:56 [595] at oracle.jbo.common.ampool.SessionCookieImpl.useApplicationModule(SessionCookieImpl.java:424)
    15/02/04 17:13:56 [596] at oracle.apps.fnd.framework.webui.OAJSPApplicationRegistry.registerApplicationModule(Unknown Source)
    15/02/04 17:13:56 [597] at oracle.apps.fnd.framework.webui.OAJSPApplicationRegistry.registerApplicationModule(Unknown Source)
    15/02/04 17:13:56 [598] at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(Unknown Source)
    15/02/04 17:13:56 [599] at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(Unknown Source)
    15/02/04 17:13:56 [600] at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(Unknown Source)
    15/02/04 17:13:56 [601] at _OA._jspService(_OA.java:72)
    15/02/04 17:13:56 [602] at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:59)
    15/02/04 17:13:56 [603] at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:473)
    15/02/04 17:13:56 [604] at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:594)
    15/02/04 17:13:56 [605] at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:518)
    15/02/04 17:13:56 [606] at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
    15/02/04 17:13:56 [607] at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:734)
    15/02/04 17:13:56 [608] at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:391)
    15/02/04 17:13:56 [609] at com.evermind.server.http.ServletRequestDispatcher.unprivileged_forward(ServletRequestDispatcher.java:280)
    15/02/04 17:13:56 [610] at com.evermind.server.http.ServletRequestDispatcher.access$100(ServletRequestDispatcher.java:68)
    15/02/04 17:13:56 [611] at com.evermind.server.http.ServletRequestDispatcher$2.oc4jRun(ServletRequestDispatcher.java:214)
    15/02/04 17:13:56 [612] at oracle.oc4j.security.OC4JSecurity.doPrivileged(OC4JSecurity.java:284)
    15/02/04 17:13:56 [613] at com.evermind.server.http.ServletRequestDispatcher.forward(ServletRequestDispatcher.java:219)
    15/02/04 17:13:56 [614] at com.evermind.server.http.EvermindPageContext.forward(EvermindPageContext.java:395)
    15/02/04 17:13:56 [615] at _OA._jspService(_OA.java:81)
    15/02/04 17:13:56 [616] at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:59)
    15/02/04 17:13:56 [617] at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:473)
    15/02/04 17:13:56 [618] at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:594)
    15/02/04 17:13:56 [619] at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:518)
    15/02/04 17:13:56 [620] at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
    15/02/04 17:13:56 [621] at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:734)
    15/02/04 17:13:56 [622] at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:391)
    15/02/04 17:13:56 [623] at com.evermind.server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:908)
    15/02/04 17:13:56 [624] at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:458)
    15/02/04 17:13:56 [625] at com.evermind.server.http.HttpRequestHandler.serveOneRequest(HttpRequestHandler.java:226)
    15/02/04 17:13:56 [626] at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:127)
    15/02/04 17:13:56 [627] at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:116)
    15/02/04 17:13:56 [628] at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)
    15/02/04 17:13:56 [629] at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
    15/02/04 17:13:56 [630] at java.lang.Thread.run(Thread.java:662)
    15/02/04 17:13:56 [631] Could not load application module 'oracle.apps.fnd.framework.toolbox.tutorial.server.HelloWorldAM'.
    15/02/04 17:13:56 [632] oracle.apps.fnd.framework.OAException: Application: FND, Message Name: FND_GENERIC_MESSAGE. Tokens: MESSAGE = java.io.IOException;
      at oracle.apps.fnd.framework.OAException.wrapperException(Unknown Source)
      at oracle.apps.fnd.framework.webui.OAHttpSessionCookieImpl.validateIcxCookie(Unknown Source)
      at oracle.apps.fnd.framework.OASessionCookieHelper.validateIcxSession(Unknown Source)
      at oracle.apps.fnd.framework.OASessionCookieHelper.initializeApplicationModule(Unknown Source)
      at oracle.apps.fnd.framework.webui.OAHttpSessionCookieImpl.initializeApplicationModule(Unknown Source)
      at oracle.apps.fnd.framework.webui.OAHttpSessionCookieImpl.useApplicationModule(Unknown Source)
      at oracle.jbo.common.ampool.SessionCookieImpl.useApplicationModule(SessionCookieImpl.java:424)
      at oracle.apps.fnd.framework.webui.OAJSPApplicationRegistry.registerApplicationModule(Unknown Source)
      at oracle.apps.fnd.framework.webui.OAJSPApplicationRegistry.registerApplicationModule(Unknown Source)
      at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(Unknown Source)
      at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(Unknown Source)
      at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(Unknown Source)
      at _OA._jspService(_OA.java:72)
      at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:59)
      at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:473)
      at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:594)
      at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:518)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
      at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:734)
      at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:391)
      at com.evermind.server.http.ServletRequestDispatcher.unprivileged_forward(ServletRequestDispatcher.java:280)
      at com.evermind.server.http.ServletRequestDispatcher.access$100(ServletRequestDispatcher.java:68)
      at com.evermind.server.http.ServletRequestDispatcher$2.oc4jRun(ServletRequestDispatcher.java:214)
      at oracle.oc4j.security.OC4JSecurity.doPrivileged(OC4JSecurity.java:284)
      at com.evermind.server.http.ServletRequestDispatcher.forward(ServletRequestDispatcher.java:219)
      at com.evermind.server.http.EvermindPageContext.forward(EvermindPageContext.java:395)
      at _OA._jspService(_OA.java:81)
      at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:59)
      at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:473)
      at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:594)
      at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:518)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
      at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:734)
      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.HttpRequestHandler.serveOneRequest(HttpRequestHandler.java:226)
      at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:127)
      at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:116)
      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:662)
    ## Detail 0 ##
    java.io.IOException
      at oracle.apps.fnd.common.WebRequestUtil.validateContextPrivate(WebRequestUtil.java:559)
      at oracle.apps.fnd.common.WebRequestUtil.validateContext(WebRequestUtil.java:369)
      at oracle.apps.fnd.framework.webui.OAHttpSessionCookieImpl.validateIcxCookie(Unknown Source)
      at oracle.apps.fnd.framework.OASessionCookieHelper.validateIcxSession(Unknown Source)
      at oracle.apps.fnd.framework.OASessionCookieHelper.initializeApplicationModule(Unknown Source)
      at oracle.apps.fnd.framework.webui.OAHttpSessionCookieImpl.initializeApplicationModule(Unknown Source)
      at oracle.apps.fnd.framework.webui.OAHttpSessionCookieImpl.useApplicationModule(Unknown Source)
      at oracle.jbo.common.ampool.SessionCookieImpl.useApplicationModule(SessionCookieImpl.java:424)
      at oracle.apps.fnd.framework.webui.OAJSPApplicationRegistry.registerApplicationModule(Unknown Source)
      at oracle.apps.fnd.framework.webui.OAJSPApplicationRegistry.registerApplicationModule(Unknown Source)
      at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(Unknown Source)
      at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(Unknown Source)
      at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(Unknown Source)
      at _OA._jspService(_OA.java:72)
      at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:59)
      at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:473)
      at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:594)
      at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:518)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
      at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:734)
      at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:391)
      at com.evermind.server.http.ServletRequestDispatcher.unprivileged_forward(ServletRequestDispatcher.java:280)
      at com.evermind.server.http.ServletRequestDispatcher.access$100(ServletRequestDispatcher.java:68)
      at com.evermind.server.http.ServletRequestDispatcher$2.oc4jRun(ServletRequestDispatcher.java:214)
      at oracle.oc4j.security.OC4JSecurity.doPrivileged(OC4JSecurity.java:284)
      at com.evermind.server.http.ServletRequestDispatcher.forward(ServletRequestDispatcher.java:219)
      at com.evermind.server.http.EvermindPageContext.forward(EvermindPageContext.java:395)
      at _OA._jspService(_OA.java:81)
      at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:59)
      at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:473)
      at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:594)
      at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:518)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
      at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:734)
      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.HttpRequestHandler.serveOneRequest(HttpRequestHandler.java:226)
      at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:127)
      at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:116)
      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:662)
    15/02/04 17:13:56 [633] In OADBTransactionImpl.rollback()
    15/02/04 17:13:56 [634]      conn.rollback();  // JBO-JDBC-INTERACT
    15/02/04 17:13:56 [635] Resetting AM=HelloWorldAM
    15/02/04 17:13:56 [636] OAApplicationPoolImpl.setConnectionReleaseLevel was called with isReleased = true, isReserved = false
    15/02/04 17:13:56 [637] setConnectionReleaseLevel - Set connection release level to 2
    Regards,
    Olivier

  • Help getting authentication=

    Greetings,
    I could use some help with getting tomcat 5.5.12 to use Kerberos against Microsoft Active Directory.
    I have been using Ethereal to sniff the packets going back and forth from tomcat and I verified that with a normal server.xml entry (remove the authentication attribute keyword below), it uses 'simple'
    authentication (clear text passwords).
    My original server.xml works just fine but now I'm trying to take it to next level and I found documentation (jdk-1_5_0-doc.zip\docs\guide\jndi\jndi-ldap.html)
    specifies that there are the following values:
    - EXTERNAL (RFC 2222). This mechanism obtains authentication information from an external source (such as SSL/TLS or IPsec).
    - DIGEST-MD5 (RFC 2831) is for Digest Authentication.
    - GSSAPI (RFC 2222) is for Kerberos V5 authentication.
    I wish to use GSSAPI to talk with Active Directory so I setup my server.xml with the following :
    <Realm className="org.apache.catalina.realm.JNDIRealm"
         debug="4"
         authentication="GSSAPI"
         connectionName="CN=Klotz\, Dennis,OU=myou,DC=company,DC=com"
         connectionPassword="myPassword"
         connectionURL="ldap://10.16.0.xx:389"
         alternateURL="ldap://10.16.0.xx:389"
         userBase="OU= myou,DC=company,DC=com"
         userSearch="(sAMAccountName={0})"
         userSubtree="true"
         userRoleName="memberOf"
    />And now I get a different type of error from Catalina.out:
    Oct 28, 2005 2:28:47 PM org.apache.catalina.core.StandardHost start
    INFO: XML validation disabled
    GSSException: No valid credentials provided (Mechanism level: Failed to find any Kerberos Ticket)
            at
    sun.security.jgss.krb5.Krb5InitCredential.getInstance(Krb5InitCredential
    .java:133)
    .....At least the GSSAPI is being recognized! My next step was talking with IT; they suggested a c:\winnt\krb5.ini with the following contents:
    [libdefaults]
    default_realm = COMPANY.COM
    default_tgs_enctypes = des-cbc-crc
    default_tkt_enctypes = des-cbc-crc
    [realms]
    COMPANY.COM = {
    kdc = addy.mycompany.com:88
    admin_server = addy. mycompany.com:88
    kpasswd_server = addy. mycompany.com:464 default_domain = COMPANY.COM }And that I then execute:
    $ kinit DKlotz
    Password for [email protected]:mypassword New ticket is stored in cache file C:\Documents and Settings\DKlotz\krb5cc_dklotzBut as you can see from the previous tomcat error log that something is still missing. Do I need to move the cache file or do other commands so that the code within ldap.jar can use it?
    At this time tomcat never tries connecting to the LDAP server as it can't get out of the starting gate. I've got something wrong / missing from the Kerberos setup.
    Any help is greatly appreciated!!
    -Dennis Klotz

    Ok I've made progress, whether it is backwards or not, I don't know yet.
    I've added :
    -Djavax.security.auth.useSubjectCredsOnly=false
    To my Catalina options environment variable in Catalina.bat.
    Now I get the error:
    WARNING: Exception performing authentication
    java.lang.SecurityException: Unable to locate a login configuration
         at com.sun.security.auth.login.ConfigFile.<init>(ConfigFile.java:97)
         at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
         at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
         at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
         at java.lang.reflect.Constructor.newInstance(Constructor.java:494)
         at java.lang.Class.newInstance0(Class.java:350)
         at java.lang.Class.newInstance(Class.java:303)
         at javax.security.auth.login.Configuration$3.run(Configuration.java:216)
         at java.security.AccessController.doPrivileged(Native Method)
         at javax.security.auth.login.Configuration.getConfiguration(Configuration.java:210)
         at javax.security.auth.login.LoginContext$1.run(LoginContext.java:237)
         at java.security.AccessController.doPrivileged(Native Method)
         at javax.security.auth.login.LoginContext.init(LoginContext.java:234)
         at javax.security.auth.login.LoginContext.<init>(LoginContext.java:403)
         at sun.security.jgss.LoginUtility.login(LoginUtility.java:72)
         at sun.security.jgss.krb5.Krb5Util.getTicketFromSubject(Krb5Util.java:137)
         at sun.security.jgss.krb5.Krb5InitCredential$1.run(Krb5InitCredential.java:331)
         at java.security.AccessController.doPrivileged(Native Method)
         at sun.security.jgss.krb5.Krb5InitCredential.getTgtFromSubject(Krb5InitCredential.java:328)
         at sun.security.jgss.krb5.Krb5InitCredential.getInstance(Krb5InitCredential.java:131)
         at sun.security.jgss.krb5.Krb5MechFactory.getCredentialElement(Krb5MechFactory.java:72)
         at sun.security.jgss.GSSManagerImpl.getCredentialElement(GSSManagerImpl.java:149)
         at sun.security.jgss.GSSCredentialImpl.add(GSSCredentialImpl.java:389)
         at sun.security.jgss.GSSCredentialImpl.<init>(GSSCredentialImpl.java:60)
         at sun.security.jgss.GSSCredentialImpl.<init>(GSSCredentialImpl.java:37)
         at sun.security.jgss.GSSManagerImpl.createCredential(GSSManagerImpl.java:96)
         at sun.security.jgss.GSSContextImpl.initSecContext(GSSContextImpl.java:178)
         at sun.security.jgss.GSSContextImpl.initSecContext(GSSContextImpl.java:158)
         at com.sun.security.sasl.gsskerb.GssKrb5Client.evaluateChallenge(GssKrb5Client.java:155)
         at com.sun.jndi.ldap.sasl.LdapSasl.saslBind(LdapSasl.java:105)
         at com.sun.jndi.ldap.LdapClient.authenticate(LdapClient.java:214)
         at com.sun.jndi.ldap.LdapCtx.connect(LdapCtx.java:2637)
         at com.sun.jndi.ldap.LdapCtx.<init>(LdapCtx.java:283)
         at com.sun.jndi.ldap.LdapCtxFactory.getUsingURL(LdapCtxFactory.java:175)
         at com.sun.jndi.ldap.LdapCtxFactory.getUsingURLs(LdapCtxFactory.java:193)
         at com.sun.jndi.ldap.LdapCtxFactory.getLdapCtxInstance(LdapCtxFactory.java:136)
         at com.sun.jndi.ldap.LdapCtxFactory.getInitialContext(LdapCtxFactory.java:66)
         at javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:667)
         at javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:247)
         at javax.naming.InitialContext.init(InitialContext.java:223)
         at javax.naming.InitialContext.<init>(InitialContext.java:197)
         at javax.naming.directory.InitialDirContext.<init>(InitialDirContext.java:82)
         at org.apache.catalina.realm.JNDIRealm.open(JNDIRealm.java:1515)
         at org.apache.catalina.realm.JNDIRealm.start(JNDIRealm.java:1601)
         at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1004)
         at org.apache.catalina.core.StandardHost.start(StandardHost.java:718)
         at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1012)
         at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:442)
         at org.apache.catalina.core.StandardService.start(StandardService.java:450)
         at org.apache.catalina.core.StandardServer.start(StandardServer.java:683)
         at org.apache.catalina.startup.Catalina.start(Catalina.java:537)
         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 org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:271)
         at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:409)
    Caused by: java.io.IOException: Unable to locate a login configuration
         at com.sun.security.auth.login.ConfigFile.init(ConfigFile.java:206)
         at com.sun.security.auth.login.ConfigFile.<init>(ConfigFile.java:95)
         ... 56 moreAm I moving in the right direction?
    -Dennis

  • Java.lang.ExceptionInInitializerError,Exception creating new Poolableobject

    Hi,
    i am getting the below errors while running a page from JDEV, which is a simple page with few fields.
    Please help me in resolving this error.
    500 Internal Server Error
    java.lang.ExceptionInInitializerError
         at oracle.apps.fnd.sso.Utils.<clinit>(Utils.java:664)
         at oracle.apps.fnd.common.WebRequestUtil.validateContextPrivate(WebRequestUtil.java:431)
         at oracle.apps.fnd.common.WebRequestUtil.validateContext(WebRequestUtil.java:324)
         at oracle.apps.fnd.common.WebRequestUtil.validateContext(WebRequestUtil.java:227)
         at OAErrorPage.jspService(_OAErrorPage.java:62)
         [OAErrorPage.jsp]
         at com.orionserver[Oracle Containers for J2EE 10g (10.1.3.3.0) ].http.OrionHttpJspPage.service(OrionHttpJspPage.java:59)
         at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:462)
         at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:594)
         at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:518)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
         at com.evermind[Oracle Containers for J2EE 10g (10.1.3.3.0) ].server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:713)
         at com.evermind[Oracle Containers for J2EE 10g (10.1.3.3.0) ].server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:370)
         at com.evermind[Oracle Containers for J2EE 10g (10.1.3.3.0) ].server.http.ServletRequestDispatcher.unprivileged_forward(ServletRequestDispatcher.java:259)
         at com.evermind[Oracle Containers for J2EE 10g (10.1.3.3.0) ].server.http.ServletRequestDispatcher.access$100(ServletRequestDispatcher.java:51)
         at com.evermind[Oracle Containers for J2EE 10g (10.1.3.3.0) ].server.http.ServletRequestDispatcher$2.oc4jRun(ServletRequestDispatcher.java:193)
         at oracle.oc4j.security.OC4JSecurity.doPrivileged(OC4JSecurity.java:283)
         at com.evermind[Oracle Containers for J2EE 10g (10.1.3.3.0) ].server.http.ServletRequestDispatcher.forward(ServletRequestDispatcher.java:198)
         at com.evermind[Oracle Containers for J2EE 10g (10.1.3.3.0) ].server.http.EvermindPageContext.handlePageThrowable(EvermindPageContext.java:847)
         at com.evermind[Oracle Containers for J2EE 10g (10.1.3.3.0) ].server.http.EvermindPageContext.handlePageException(EvermindPageContext.java:813)
         at OA.jspService(_OA.java:115)
         [OA.jsp]
         at com.orionserver[Oracle Containers for J2EE 10g (10.1.3.3.0) ].http.OrionHttpJspPage.service(OrionHttpJspPage.java:59)
         at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:462)
         at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:594)
         at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:518)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
         at com.evermind[Oracle Containers for J2EE 10g (10.1.3.3.0) ].server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:713)
         at com.evermind[Oracle Containers for J2EE 10g (10.1.3.3.0) ].server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:370)
         at com.evermind[Oracle Containers for J2EE 10g (10.1.3.3.0) ].server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:871)
         at com.evermind[Oracle Containers for J2EE 10g (10.1.3.3.0) ].server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:453)
         at com.evermind[Oracle Containers for J2EE 10g (10.1.3.3.0) ].server.http.HttpRequestHandler.serveOneRequest(HttpRequestHandler.java:221)
         at com.evermind[Oracle Containers for J2EE 10g (10.1.3.3.0) ].server.http.HttpRequestHandler.run(HttpRequestHandler.java:122)
         at com.evermind[Oracle Containers for J2EE 10g (10.1.3.3.0) ].server.http.HttpRequestHandler.run(HttpRequestHandler.java:111)
         at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)
         at oracle.oc4j.network.ServerSocketAcceptHandler.procClientSocket(ServerSocketAcceptHandler.java:239)
         at oracle.oc4j.network.ServerSocketAcceptHandler.access$700(ServerSocketAcceptHandler.java:34)
         at oracle.oc4j.network.ServerSocketAcceptHandler$AcceptHandlerHorse.run(ServerSocketAcceptHandler.java:880)
         at com.evermind[Oracle Containers for J2EE 10g (10.1.3.3.0) ].util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:298)
         at java.lang.Thread.run(Thread.java:595)
    Caused by: oracle.apps.fnd.common.AppsException: oracle.apps.fnd.common.PoolException: Exception creating new Poolable object.
         at oracle.apps.fnd.profiles.Profiles.getProfileOption(Profiles.java:1509)
         at oracle.apps.fnd.profiles.Profiles.getProfile(Profiles.java:362)
         at oracle.apps.fnd.profiles.ExtendedProfileStore.getSpecificProfileFromDB(ExtendedProfileStore.java:211)
         at oracle.apps.fnd.profiles.ExtendedProfileStore.getSpecificProfile(ExtendedProfileStore.java:171)
         at oracle.apps.fnd.profiles.ExtendedProfileStore.getProfile(ExtendedProfileStore.java:148)
         at oracle.apps.fnd.common.logging.DebugEventManager.configureUsingDatabaseValues(DebugEventManager.java:1294)
         at oracle.apps.fnd.common.logging.DebugEventManager.configureLogging(DebugEventManager.java:1149)
         at oracle.apps.fnd.common.logging.DebugEventManager.internalReinit(DebugEventManager.java:1118)
         at oracle.apps.fnd.common.logging.DebugEventManager.reInitialize(DebugEventManager.java:1085)
         at oracle.apps.fnd.common.logging.DebugEventManager.reInitialize(DebugEventManager.java:1072)
         at oracle.apps.fnd.common.AppsLog.reInitialize(AppsLog.java:595)
         at oracle.apps.fnd.common.AppsContext.initLog(AppsContext.java:593)
         at oracle.apps.fnd.common.AppsContext.initializeContext(AppsContext.java:570)
         at oracle.apps.fnd.common.AppsContext.initializeContext(AppsContext.java:524)
         at oracle.apps.fnd.common.AppsContext.<init>(AppsContext.java:292)
         at oracle.apps.fnd.common.WebAppsContext.<init>(WebAppsContext.java:1095)
         at oracle.apps.fnd.sso.Utils.getAppsContext(Utils.java:539)
         at oracle.apps.fnd.sso.SessionMgr.loadInstalledLanguages(SessionMgr.java:3875)
         at oracle.apps.fnd.sso.SessionMgr.getInstalledLanguages(SessionMgr.java:3693)
         at oracle.apps.fnd.sso.Utils.getBaseInstalledLangCode(Utils.java:1476)
         at oracle.apps.fnd.sso.Authenticator.<clinit>(Authenticator.java:45)
         ... 38 more
    Caused by: oracle.apps.fnd.common.PoolException: Exception creating new Poolable object.
         at oracle.apps.fnd.common.Pool.createObject(Pool.java:1286)
         at oracle.apps.fnd.common.Pool.borrowObject(Pool.java:1027)
         at oracle.apps.fnd.security.DBConnObjPool.borrowObject(DBConnObjPool.java:583)
         at oracle.apps.fnd.security.AppsConnectionManager.borrowConnection(AppsConnectionManager.java:300)
         at oracle.apps.fnd.common.Context.borrowConnection(Context.java:1719)
         at oracle.apps.fnd.common.AppsContext.getPrivateConnectionFinal(AppsContext.java:2266)
         at oracle.apps.fnd.common.AppsContext.getPrivateConnection(AppsContext.java:2203)
         at oracle.apps.fnd.common.AppsContext.getJDBCConnection(AppsContext.java:2061)
         at oracle.apps.fnd.common.AppsContext.getJDBCConnection(AppsContext.java:1871)
         at oracle.apps.fnd.common.AppsContext.getJDBCConnection(AppsContext.java:1715)
         at oracle.apps.fnd.common.AppsContext.getJDBCConnection(AppsContext.java:1728)
         at oracle.apps.fnd.common.Context.getJDBCConnection(Context.java:1453)
         at oracle.apps.fnd.cache.GenericCacheLoader.load(GenericCacheLoader.java:170)
         at oracle.apps.fnd.profiles.Profiles.getProfileOption(Profiles.java:1500)
         ... 58 more
    Caused by: oracle.apps.fnd.common.AppsException: oracle.apps.fnd.common.AppsException: java.sql.SQLException: Io exception: Got minus one from a read call
         at oracle.apps.fnd.security.AppsConnectionManager.makeGwyuidConn(AppsConnectionManager.java:907)
         at oracle.apps.fnd.security.AppsConnectionManager.getGwyuidConn(AppsConnectionManager.java:966)
         at oracle.apps.fnd.security.AppsConnectionManager.makeGuestConnection(AppsConnectionManager.java:784)
         at oracle.apps.fnd.security.DBConnObj.<init>(DBConnObj.java:228)
         at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
         at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
         at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
         at java.lang.reflect.Constructor.newInstance(Constructor.java:494)
         at oracle.apps.fnd.common.Pool.createObject(Pool.java:1273)
         ... 71 more
    Caused by: oracle.apps.fnd.common.AppsException: java.sql.SQLException: Io exception: Got minus one from a read call
         at oracle.apps.fnd.security.ConnectionManager.dbConnect(ConnectionManager.java:1423)
         at oracle.apps.fnd.security.ConnectionManager.dbConnect(ConnectionManager.java:1326)
         at oracle.apps.fnd.security.AppsConnectionManager.makeGwyuidConn(AppsConnectionManager.java:888)
         ... 79 more
    Caused by: java.sql.SQLException: Io exception: Got minus one from a read 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:287)
         at oracle.jdbc.driver.T4CConnection.logon(T4CConnection.java:328)
         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 java.sql.DriverManager.getConnection(DriverManager.java:525)
         at java.sql.DriverManager.getConnection(DriverManager.java:140)
         at oracle.apps.fnd.security.ConnectionManager.dbConnect(ConnectionManager.java:1410)
         ... 81 more

    Issue solved, its due to my mistake i never defined the variable to capture the error message in procedure and also in the security rules i have changed the function to Desktop Integration - Create Document instead of Desktop Integration - Setup Options.

  • Http proxy authentication for JDev 10.1.3

    Hi,
    I found the http proxy settings in the "tools->preferences->Web Browser and Proxy" but there are no settings for the username and password. Is there some other way that I can add these.
    The problem is that whenver JDeveloper wants to do some http stuff it (or something else is doing it) asks me for the proxy user name & password - this happens over and over again. If JDev is doing this then surely it should remember the username & password.
    I sometimes get a JDeveloper dialog "waiting for the connection" come up over the proxy auth dialog and I have to cancel the function so I can authenticate, then re-request the function.
    I wish I didn't have the proxy authentication but I have no choice in this dev environment. I do get to choose JDeveloper at least.
    Regards,
    Simon.

    Hi,
    I get it when I 'check for updates' and I get it again when I 'go to JavaDoc' - and this is the one where the "waiting for connection dialog" pops on top of the proxy log in and I have to cancel it to log in. Then all subsequent 'go to JavaDoc' requests go straight through.
    I would prefer it if I could just configure (in proxy preferences) the username and password so it never asks me. I dont care if it less secure storing the password since I think authenticating proxies are a dumb idea anyway. If the password is not supplied then JDev can ask for it like it does now to keep the security-paranoid people happy.
    Also, this morning I got this Exception which appeared at the same time I got a proxy auth window. When JDev finally started all my previously open windows were lost. No real problem but unexpected. Here is the stack dump:
    java.lang.NullPointerException
         at oracle.jdevimpl.webdav.api.DAVAuthenticator.getPasswordAuthentication(DAVAuthenticator.java:79)
         at java.net.Authenticator.requestPasswordAuthentication(Authenticator.java:300)
         at sun.net.www.protocol.http.HttpURLConnection$1.run(HttpURLConnection.java:267)
         at java.security.AccessController.doPrivileged(Native Method)
         at sun.net.www.protocol.http.HttpURLConnection.privilegedRequestPasswordAuthentication(HttpURLConnection.java:263)
         at sun.net.www.protocol.http.HttpURLConnection.getHttpProxyAuthentication(HttpURLConnection.java:1427)
         at sun.net.www.protocol.http.HttpURLConnection.resetProxyAuthentication(HttpURLConnection.java:1246)
         at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:950)
         at oracle.ide.net.HttpURLFileSystemHelper.exists(HttpURLFileSystemHelper.java:191)
         at oracle.jdevimpl.webdav.net.WebDAVURLFileSystemHelper.exists(WebDAVURLFileSystemHelper.java:423)
         at oracle.ide.net.URLFileSystem.exists(URLFileSystem.java:498)
         at oracle.ideimpl.editor.EditorUtil.getNode(EditorUtil.java:126)
         at oracle.ideimpl.editor.EditorUtil.loadContext(EditorUtil.java:91)
         at oracle.ideimpl.editor.TabGroupState.loadStateInfo(TabGroupState.java:950)
         at oracle.ideimpl.editor.TabGroup.loadLayout(TabGroup.java:1758)
         at oracle.ideimpl.editor.TabGroupXMLLayoutPersistence.loadComponent(TabGroupXMLLayoutPersistence.java:31)
         at oracle.ideimpl.controls.dockLayout.DockLayoutInfoLeaf.loadLayout(DockLayoutInfoLeaf.java:123)
         at oracle.ideimpl.controls.dockLayout.AbstractDockLayoutInfoNode.loadLayout(AbstractDockLayoutInfoNode.java:631)
         at oracle.ideimpl.controls.dockLayout.AbstractDockLayoutInfoNode.loadLayout(AbstractDockLayoutInfoNode.java:628)
         at oracle.ideimpl.controls.dockLayout.AbstractDockLayoutInfoNode.loadLayout(AbstractDockLayoutInfoNode.java:614)
         at oracle.ideimpl.controls.dockLayout.DockLayout.loadLayout(DockLayout.java:302)
         at oracle.ideimpl.controls.dockLayout.DockLayoutPanel.loadLayout(DockLayoutPanel.java:128)
         at oracle.ideimpl.editor.Desktop.loadLayout(Desktop.java:353)
         at oracle.ideimpl.editor.EditorManagerImpl.init(EditorManagerImpl.java:1824)
         at oracle.ide.layout.Layouts.activate(Layouts.java:758)
         at oracle.ide.layout.Layouts.activateLayout(Layouts.java:179)
         at oracle.ideimpl.MainWindowImpl$2.runImpl(MainWindowImpl.java:734)
         at oracle.javatools.util.SwingClosure$1Closure.run(SwingClosure.java:50)
         at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:199)
         at java.awt.EventQueue.dispatchEvent(EventQueue.java:461)
         at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:242)
         at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:163)
         at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:157)
         at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:149)
         at java.awt.EventDispatchThread.run(EventDispatchThread.java:110)

  • Simple Java Mail program

    Hi, i have written a simple code to send mail thru java... but it doesnt work... control never comes back after stepping in to the send function.. no exceptions.. no mails sent.. nothin.. cud someone hel me out??
    sometimes i get this exception after a long time:
    javax.mail.MessagingException: Exception reading response;
    nested exception is:
         java.net.SocketException: Connection reset
         at com.sun.mail.smtp.SMTPTransport.readServerResponse(Unknown Source)
         at com.sun.mail.smtp.SMTPTransport.openServer(Unknown Source)
         at com.sun.mail.smtp.SMTPTransport.protocolConnect(Unknown Source)
         at javax.mail.Service.connect(Unknown Source)
    here is the code snippet:
    public void mySend() throws Throwable
    Properties p = System.getProperties();
    p.put("mail.transport.protocol", "smtp");
    p.put("mail.smtp.host", "smtp.gmail.com");
    p.put("mail.smtp.port", "465");
    p.put("mail.smtp.starttls.enable", "true");
    p.put("mail.smtp.auth", "true");
    Authenticator authenticator = new Authenticator()
    protected PasswordAuthentication getPasswordAuthentication()
    return new PasswordAuthentication("vicky.bhandari", "password");
    Session session = Session.getInstance(p, authenticator);
    SMTPMessage message = new SMTPMessage(session);
    InternetAddress fromAddress = new InternetAddress("[email protected]");
    InternetAddress toAddress = new InternetAddress("[email protected]");
    message.setSubject("Test");
    message.addRecipient(Message.RecipientType.TO, toAddress);
    message.setFrom(fromAddress);
    SMTPTransport.send(message);
    Could someone please help me out??

    Hey,
    Im currently having problems with the code below:
    public class SendMail {
         private static final String SMTP_HOST_NAME = "smtp.gmail.com";
         private static final String SMTP_AUTH_USER = "[email protected]";
         private static final String SMTP_AUTH_PWD = "**************";
         public void sendMail(String recipients[ ], String subject, String message , String from) throws MessagingException{
         boolean debug = false;
              Properties props = System.getProperties();
              props.put("mail.transport.protocol", "smtp");
              props.put("mail.smtp.host", SMTP_HOST_NAME);
              props.put("mail.smtp.port", "465");
              props.put("mail.smtp.starttls.enable", "true");
              props.put("mail.smtp.auth", "true");
              Authenticator auth = new SMTPAuthenticator();               
              Session session = Session.getDefaultInstance(props, auth);
              session.setDebug(debug);
              Message msg = new MimeMessage(session);
              InternetAddress addressFrom = new InternetAddress(from);
              msg.setFrom(addressFrom);
              InternetAddress[] addressTo = new InternetAddress[recipients.length];
         for (int i = 0; i < recipients.length; i++)
         addressTo[i] = new InternetAddress(recipients);
         msg.setRecipients(Message.RecipientType.TO, addressTo);
         msg.setSubject(subject);
         msg.setContent(message, "text/plain");
         Transport tr = session.getTransport("smtp");
         tr.connect(SMTP_HOST_NAME, SMTP_AUTH_USER, SMTP_AUTH_PWD);
         msg.saveChanges(); // don't forget this
         //tr.sendMessage(msg, msg.getAllRecipients());
         tr.close();
         tr.send(msg);
         public class SMTPAuthenticator extends Authenticator
         public PasswordAuthentication getPasswordAuthentication()
         String username = SMTP_AUTH_USER;
         String password = SMTP_AUTH_PWD;
         return new PasswordAuthentication(username, password);
    the error i am receiving is:
    java.lang.NoClassDefFoundError: javax/mail/Authenticator
         java.lang.Class.getDeclaredConstructors0(Native Method)
         java.lang.Class.privateGetDeclaredConstructors(Unknown Source)
         java.lang.Class.getConstructor0(Unknown Source)
         java.lang.Class.newInstance0(Unknown Source)
         java.lang.Class.newInstance(Unknown Source)
         org.apache.struts.util.RequestUtils.applicationInstance(RequestUtils.java:143)
         org.apache.struts.action.RequestProcessor.processActionCreate(RequestProcessor.java:292)
         org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:230)
         org.apache.struts.action.ActionServlet.process(ActionServlet.java:1196)
         org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:432)
         javax.servlet.http.HttpServlet.service(HttpServlet.java:710)
         javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
    If anyone has any ideas it will be much appreciated
    Thanks in Advance
    Andy

  • Weblogic fails to start after Configuring Agent Authenticator Provider

    Hi
    I have installed the Sun One Policy Agent for Weblogic.After making changes to the Security Realm, the weblogic server does not start.Following is the stack trace seen on the console.
    The WebLogic Server did not start up properly.
    java.lang.ExceptionInInitializerError
    at com.sun.identity.agents.weblogic.AmAuthProvider.getRealmInstance(Unknown Source)
    at com.sun.identity.agents.weblogic.AmAuthProvider.initialize(Unknown Source)
    at weblogic.security.service.SecurityServiceManagerDelegateImpl.createSecurityProvider(SecurityServiceManagerDelegateImpl.java:242)
    at weblogic.security.service.SecurityServiceManager.createSecurityProvider(SecurityServiceManager.java:939)
    at weblogic.security.service.PrincipalAuthenticator.initialize(PrincipalAuthenticator.java:151)
    at weblogic.security.service.PrincipalAuthenticator.<init>(PrincipalAuthenticator.java:257)
    at weblogic.security.service.SecurityServiceManagerDelegateImpl.doATN(SecurityServiceManagerDelegateImpl.java:581)
    at weblogic.security.service.SecurityServiceManagerDelegateImpl.initializeRealm(SecurityServiceManagerDelegateImpl.java:420)
    at weblogic.security.service.SecurityServiceManagerDelegateImpl.loadRealm(SecurityServiceManagerDelegateImpl.java:698)
    at weblogic.security.service.SecurityServiceManagerDelegateImpl.initializeRealms(SecurityServiceManagerDelegateImpl.java:731)
    at weblogic.security.service.SecurityServiceManagerDelegateImpl.initialize(SecurityServiceManagerDelegateImpl.java:874)
    at weblogic.security.service.SecurityServiceManager.initialize(SecurityServiceManager.java:717)
    at weblogic.t3.srvr.T3Srvr.initializeHere(T3Srvr.java:822)
    at weblogic.t3.srvr.T3Srvr.initialize(T3Srvr.java:670)
    at weblogic.t3.srvr.T3Srvr.run(T3Srvr.java:344)
    at weblogic.Server.main(Server.java:32)
    Caused by: java.lang.RuntimeException: Exception caught in AmRealmManager initializer: AmRealm: Unable to create store connection
    at com.sun.identity.agents.realm.AmRealmManager.<clinit>(Unknown Source)
    Can anyone help regarding this.Its Urgent

    Hi all
    I am also getting the same error
    CLASSPATH=C:\bea\JDK141~1\lib\tools.jar;C:\bea\WEBLOG~1\server\lib\weblogic_sp.j
    ar;C:\bea\WEBLOG~1\server\lib\weblogic.jar;C:\bea\WEBLOG~1\server\lib\ojdbc14.ja
    r;C:\bea\WEBLOG~1\common\eval\pointbase\lib\pbserver44.jar;C:\bea\WEBLOG~1\commo
    n\eval\pointbase\lib\pbclient44.jar;C:\bea\JDK141~1\jre\lib\rt.jar;C:\bea\WEBLOG
    ~1\server\lib\webservices.jar;C:\Agent\IdentityServer\j2ee_agents\lib\agent_tool
    s_2_1.jar;C:\Agent\IdentityServer\j2ee_agents\config\C__bea_user_projects_domain
    s_NewFuelPricingDomain;C:\Agent\IdentityServer\j2ee_agents\locale;C:\Agent\Ident
    ityServer\j2ee_agents\lib\am_agent_sdk_2_1.jar;C:\Agent\IdentityServer\j2ee_agen
    ts\lib\am_agent_filter_2_1.jar;C:\Agent\IdentityServer\j2ee_agents\lib\am_sdk.ja
    r;C:\Agent\IdentityServer\j2ee_agents\lib\am_services.jar;C:\Agent\IdentityServe
    r\j2ee_agents\lib\am_sso_provider.jar;C:\Agent\IdentityServer\j2ee_agents\lib\am
    logging.jar;C:\Agent\IdentityServer\j2eeagents\lib\am_wl70_agent_2_1.jar;extli
    b\log4j-1.2.8.jar;C:\bea\appsettings;C:\projects\resources\terajdbc4.jar;C:\proj
    ects\resources\tdgssjava.jar;.\log4j.xml
    PATH=C:\bea\WEBLOG~1\server\bin;C:\bea\JDK141~1\jre\bin;C:\bea\JDK141~1\bin;C:\P
    rogram Files\NCR\Teradata Client\Bin;C:\Program Files\CA\Dcs\DMScripting\;C:\Pro
    gram Files\CA\DCS\CAWIN\;c:\reskit;c:\winnt;c:\winnt\system32;c:\winnt\system32\
    wbem;C:\Program Files\Common Files\OpSession\Shared;C:\Program Files\Common File
    s\OpSession\Viewer Shared;N:\;c:\orant\bin;C:\Program Files\CA\Unicenter Softwar
    e Delivery\BIN;C:\orant\bin;C:\Program Files\Hewlett-Packard\OpenView\service de
    sk 4.5\client\bin;C:\ant\bin;.;C:\j2sdk1.4.2_16\bin;C:\Documents and Settings\dp
    sdazk;C:\java\javasoft\java1.42\bin;C:\java\apache\jakarta-ant-1.5.1\bin;C:\Prog
    ram Files\NCR\TeraJDBC\bin;;C:\bea\WEBLOG~1\server\bin\oci920_8
    * To start WebLogic Server, use a username and *
    * password assigned to an admin-level user. For *
    * server administration, use the WebLogic Server *
    * console at http:\\[hostname]:[port]\console *
    Bad level value for property: com.iplanet.services.debug.level
    Bad level value for property: com.sun.identity.agents.logging.level
    Bad level value for property: com.sun.am.policy.amFilter.audit.level
    <Feb 13, 2008 1:34:09 PM EST> <Info> <WebLogicServer> <BEA-000377> <Starting Web
    Logic Server with Java HotSpot(TM) Client VM Version 1.4.1_05-b01 from Sun Micro
    systems Inc.>
    <Feb 13, 2008 1:34:09 PM EST> <Info> <Configuration Management> <BEA-150016> <Th
    is server is being started as the administration server.>
    <Feb 13, 2008 1:34:09 PM EST> <Info> <Management> <BEA-141107> <Version: WebLogi
    c Server 8.1 SP2 Fri Dec 5 15:01:51 PST 2003 316284
    WebLogic XMLX Module 8.1 SP2 Fri Dec 5 15:01:51 PST 2003 316284 >
    <Feb 13, 2008 1:34:09 PM EST> <Notice> <Management> <BEA-140005> <Loading domain
    configuration from configuration repository at C:\bea\user_projects\domains\New
    FuelPricingDomain\.\config.xml.>
    <Feb 13, 2008 1:34:12 PM EST> <Notice> <Log Management> <BEA-170019> <The server
    log file C:\bea\user_projects\domains\NewFuelPricingDomain\myserver\myserver.lo
    g is opened. All server side log events will be written to this file.>
    The WebLogic Server did not start up properly.
    java.lang.ExceptionInInitializerError
    at com.sun.identity.agents.weblogic.AmAuthProvider.getRealmInstance(Unkn
    own Source)
    at com.sun.identity.agents.weblogic.AmAuthProvider.initialize(Unknown So
    urce)
    at weblogic.security.service.SecurityServiceManagerDelegateImpl.createSe
    curityProvider(SecurityServiceManagerDelegateImpl.java:241)
    at weblogic.security.service.SecurityServiceManager.createSecurityProvid
    er(SecurityServiceManager.java:929)
    at weblogic.security.service.PrincipalAuthenticator.initialize(Principal
    Authenticator.java:151)
    at weblogic.security.service.PrincipalAuthenticator.<init>(PrincipalAuth
    enticator.java:257)
    at weblogic.security.service.SecurityServiceManagerDelegateImpl.doATN(Se
    curityServiceManagerDelegateImpl.java:580)
    at weblogic.security.service.SecurityServiceManagerDelegateImpl.initiali
    zeRealm(SecurityServiceManagerDelegateImpl.java:419)
    at weblogic.security.service.SecurityServiceManagerDelegateImpl.loadReal
    m(SecurityServiceManagerDelegateImpl.java:697)
    at weblogic.security.service.SecurityServiceManagerDelegateImpl.initiali
    zeRealms(SecurityServiceManagerDelegateImpl.java:730)
    at weblogic.security.service.SecurityServiceManagerDelegateImpl.initiali
    ze(SecurityServiceManagerDelegateImpl.java:873)
    at weblogic.security.service.SecurityServiceManager.initialize(SecurityS
    erviceManager.java:719)
    at weblogic.t3.srvr.T3Srvr.initializeHere(T3Srvr.java:820)
    at weblogic.t3.srvr.T3Srvr.initialize(T3Srvr.java:664)
    at weblogic.t3.srvr.T3Srvr.run(T3Srvr.java:342)
    at weblogic.Server.main(Server.java:32)
    Caused by: java.lang.RuntimeException: Exception caught in AmRealmManager initia
    lizer: AmRealm: Unable to create store connection
    at com.sun.identity.agents.realm.AmRealmManager.<clinit>(Unknown Source)
    ... 16 more
    Please help me to resolve this problem.
    Any help will be highly appreciated.

  • WebLogic 11g - Stuck Thread issue observed during MS-ADS authentication

    Hi
    We have weblogic server 10.3.5 installed on RHEL 5.6. For our application authentication, we are getting user credentials authenticated for application login page using Microsoft Active Directory Service (MS-ADS) configured under WebLogic Security Realm. We are getting the below error message now due to STUCK Thread observed at JVM level.
    Could you please help me to fix this issue and my thanks in advance.
    ]", which is more than the configured time (StuckThreadMaxTime) of "600" seconds. Stack trace:
    Thread-6424 "[STUCK] ExecuteThread: '11' for queue: 'weblogic.kernel.Default (self-tuning)'" <alive, suspended, waiting, priority=1, DAEMON> {
    -- Waiting for notification on: netscape.ldap.LDAPResponseListener@3a8ecc70[fat lock]
    java.lang.Object.wait(Object.java:???)
    java.lang.Object.wait(Object.java:485)
    netscape.ldap.LDAPMessageQueue.waitForMessage(LDAPMessageQueue.java:198)
    netscape.ldap.LDAPMessageQueue.waitFirstMessage(LDAPMessageQueue.java:100)
    netscape.ldap.LDAPConnection.sendRequest(LDAPConnection.java:1782)
    ^-- Holding lock: netscape.ldap.LDAPConnection@3a8ecc83[thin lock]
    netscape.ldap.LDAPConnection.simpleBind(LDAPConnection.java:1752)
    netscape.ldap.LDAPConnection.authenticate(LDAPConnection.java:1260)
    netscape.ldap.LDAPConnection.authenticate(LDAPConnection.java:1273)
    netscape.ldap.LDAPConnection.authenticate(LDAPConnection.java:1240)
    netscape.ldap.LDAPConnection.referralRebind(LDAPConnection.java:4955)
    netscape.ldap.LDAPConnection.performReferrals(LDAPConnection.java:5065)
    netscape.ldap.LDAPConnection.checkSearchMsg(LDAPConnection.java:2632)
    netscape.ldap.LDAPConnection.search(LDAPConnection.java:2500)
    weblogic.security.providers.authentication.LDAPAtnDelegate.getDNForUser(LDAPAtnDelegate.java:3667)
    weblogic.security.providers.authentication.LDAPAtnDelegate.authenticate(LDAPAtnDelegate.java:3513)
    weblogic.security.providers.authentication.LDAPAtnLoginModuleImpl.login(LDAPAtnLoginModuleImpl.java:145)
    com.bea.common.security.internal.service.LoginModuleWrapper$1.run(LoginModuleWrapper.java:110)
    com.bea.common.security.internal.service.LoginModuleWrapper.login(LoginModuleWrapper.java:101)
    sun.reflect.GeneratedMethodAccessor2808.invoke(Unknown Source)
    sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    java.lang.reflect.Method.invoke(Method.java:575)
    javax.security.auth.login.LoginContext.invoke(LoginContext.java:720)
    javax.security.auth.login.LoginContext.access$000(LoginContext.java:186)
    javax.security.auth.login.LoginContext$4.run(LoginContext.java:683)
    javax.security.auth.login.LoginContext.invokePriv(LoginContext.java:680)
    javax.security.auth.login.LoginContext.login(LoginContext.java:566)
    com.bea.common.security.internal.service.JAASLoginServiceImpl.login(JAASLoginServiceImpl.java:77)
    sun.reflect.GeneratedMethodAccessor366.invoke(Unknown Source)
    sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    java.lang.reflect.Method.invoke(Method.java:575)
    com.bea.common.security.internal.utils.Delegator$ProxyInvocationHandler.invoke(Delegator.java:57)
    $Proxy28.login(Unknown Source)
    weblogic.security.service.internal.WLSJAASLoginServiceImpl$ServiceImpl.login(WLSJAASLoginServiceImpl.java:81)
    com.bea.common.security.internal.service.JAASAuthenticationServiceImpl.authenticate(JAASAuthenticationServiceImpl.java:74)
    sun.reflect.GeneratedMethodAccessor364.invoke(Unknown Source)
    sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    java.lang.reflect.Method.invoke(Method.java:575)
    com.bea.common.security.internal.utils.Delegator$ProxyInvocationHandler.invoke(Delegator.java:57)
    $Proxy46.authenticate(Unknown Source)
    weblogic.security.service.WLSJAASAuthenticationServiceWrapper.authenticate(WLSJAASAuthenticationServiceWrapper.java:29)
    weblogic.security.service.PrincipalAuthenticator.authenticate(PrincipalAuthenticator.java:339)
    weblogic.security.services.Authentication.doLogin(Authentication.java:127)
    weblogic.security.services.Authentication.login(Authentication.java:69)
    weblogic.security.services.Authentication.login(Authentication.java:51)
    in.sis.ps.view.template.user.UserAdapter.doLogin(UserAdapter.java:681)
    sun.reflect.GeneratedMethodAccessor2824.invoke(Unknown Source)
    sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    java.lang.reflect.Method.invoke(Method.java:575)
    com.sun.el.parser.AstValue.invoke(Unknown Source)
    com.sun.el.MethodExpressionImpl.invoke(Unknown Source)
    org.apache.myfaces.trinidad.component.MethodExpressionMethodBinding.invoke(MethodExpressionMethodBinding.java:46)
    com.sun.faces.application.ActionListenerImpl.processAction(ActionListenerImpl.java:85)
    org.apache.myfaces.trinidad.component.UIXCommand.broadcast(UIXCommand.java:171)
    oracle.adf.view.rich.component.fragment.ContextSwitchingComponent$1.run(ContextSwitchingComponent.java:130)
    oracle.adf.view.rich.component.fragment.ContextSwitchingComponent._processPhase(ContextSwitchingComponent.java:447)
    oracle.adf.view.rich.component.fragment.ContextSwitchingComponent.broadcast(ContextSwitchingComponent.java:122)
    oracle.adf.view.rich.component.fragment.UIXInclude.broadcast(UIXInclude.java:106)
    oracle.adf.view.rich.component.fragment.ContextSwitchingComponent$1.run(ContextSwitchingComponent.java:130)
    oracle.adf.view.rich.component.fragment.ContextSwitchingComponent._processPhase(ContextSwitchingComponent.java:447)
    oracle.adf.view.rich.component.fragment.ContextSwitchingComponent.broadcast(ContextSwitchingComponent.java:122)
    oracle.adf.view.rich.component.fragment.UIXInclude.broadcast(UIXInclude.java:106)
    javax.faces.component.UIViewRoot.broadcastEvents(UIViewRoot.java:720)
    javax.faces.component.UIViewRoot.processApplication(UIViewRoot.java:1247)
    oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._invokeApplication(LifecycleImpl.java:964)
    oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._executePhase(LifecycleImpl.java:259)
    oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:181)
    javax.faces.webapp.FacesServlet.service(FacesServlet.java:284)
    weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:224)
    weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:108)
    weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:206)
    weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
    weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:55)
    oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:115)
    weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:55)
    oracle.adfinternal.view.faces.webapp.rich.RegistrationFilter.doFilter(RegistrationFilter.java:65)
    org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:459)
    oracle.adfinternal.view.faces.activedata.AdsFilter.doFilter(AdsFilter.java:44)
    org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:459)
    org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._doFilterImpl(TrinidadFilterImpl.java:253)
    org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl.doFilter(TrinidadFilterImpl.java:148)
    org.apache.myfaces.trinidad.webapp.TrinidadFilter.doFilter(TrinidadFilter.java:91)
    weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:55)
    oracle.security.jps.ee.http.JpsAbsFilter$1.run(JpsAbsFilter.java:111)
    oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:299)
    oracle.security.jps.ee.util.JpsPlatformUtil.runJaasMode(JpsPlatformUtil.java:405)
    oracle.security.jps.ee.http.JpsAbsFilter.runJaasMode(JpsAbsFilter.java:94)
    oracle.security.jps.ee.http.JpsAbsFilter.doFilter(JpsAbsFilter.java:98)
    oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:70)
    weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:55)
    oracle.dms.servlet.DMSServletFilter.doFilter(DMSServletFilter.java:86)
    weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:55)
    weblogic.servlet.internal.RequestEventsFilter.doFilter(RequestEventsFilter.java:25)
    weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:55)
    weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.wrapRun(WebAppServletContext.java:3687)
    weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3681)
    weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:308)
    weblogic.security.service.SecurityManager.runAs(SecurityManager.java:116)
    weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2213)
    weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2135)
    weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1420)
    weblogic.work.ExecuteThread.execute(ExecuteThread.java:203)
    weblogic.work.ExecuteThread.run(ExecuteThread.java:170)
    }

    Hi,
    make sure to keep your Authentication provider in provider specific select group member search as limited where as default would be unlimited.
    Once you made this changes then it will solve this issue.
    Regards,
    Kal

  • How to disable SOCKS Proxy Authentication

    Hello,
    Using j2sdk1.4.2_03 I want to connect to a SOCKS 4 proxy but I have some authentication problems.
    I am setting the following:
    Properties props = System.getProperties();
    props.put("socksProxyPort", port);
    props.put("socksProxyHost", host);
    System.setProperties(props);
    In the proxy logs I can see that I am trying to make a connection as I authenticated user. The JVM sends as default the current system user, which I don't want.
    I can change the default user, setting the default Authenticator:
    java.net.Authenticator.setDefault(new Authenticator() {
    protected PasswordAuthentication getPasswordAuthentication() {
    return new PasswordAuthentication("dummy", "dummy".toCharArray());
    If I set java.net.Authenticator.setDefault(null) then the default Authenticator is used and the current user is sent to the proxy. Is there a way to disable the default SOCKS authentication?
    It seems that the JVM connects me in a SOCKS 5 way, because of this authentication...
    Does any one can help?
    Thanks in advance,
    mac

    I've installed now Ethereal, a network package filter, and it's clear now that JVM uses as default SOCKS 5...
    Does anyone knows why and how can I switch to SOCKS 4?
    mac

  • Random Authentication Failures when using AdminConnectionFactory

    Has anyone experienced this problem when using the AdminConnectionFactory to create a JMXConnector. I have a Sun ticket open on this issue, but wanted to see if anyone else had any suggestions. Ticket # is 72502922
    Our application uses the Sun AdminConnectionFactory to obtain a JMXConnector object. The code is being executed in a loop at a regular frequency. There is no dynamic nature to the code. All the information required to open a connection using the AdminConnectionFactory comes from static property files. So there is no question of one call being any different than a second call.
    Every so often the call to create a connection fails with the exception message:
    Cannot create JMXConnector to JMS server [jmssys.putnaminv.com:7683] using username [JMXMetricsClient.User] and password [XXX]
    at com.putnam.jms.jmx.JMXUtil.<init>(JMXUtil.java:146)
    at com.putnam.jms.metrics.core.MetricsRetrievalJob.run(MetricsRetrievalJob.java:58)
    at com.putnam.jms.metrics.core.MetricsRetrievalJob.execute(MetricsRetrievalJob.java:37)
    at org.quartz.core.JobRunShell.run(JobRunShell.java:202)
    at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:529)
    Caused by: javax.management.JMException: Caught exception when creating JMXConnector
    at com.sun.messaging.AdminConnectionFactory.createConnection(AdminConnectionFactory.java:219)
    at com.putnam.jms.jmx.JMXUtil.<init>(JMXUtil.java:138)
    ... 4 more
    Caused by: java.lang.SecurityException: JMX connector server jmxrmi: Failure detected during authentication java.security.AccessControlException: [B4043]: Connection not authenticated
    at com.sun.messaging.jmq.jmsserver.management.agent.MQJMXAuthenticator.authenticate(MQJMXAuthenticator.java:125)
    at javax.management.remote.rmi.RMIServerImpl.doNewClient(RMIServerImpl.java:213)
    at javax.management.remote.rmi.RMIServerImpl.newClient(RMIServerImpl.java:180)
    at sun.reflect.GeneratedMethodAccessor60.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:305)
    at sun.rmi.transport.Transport$1.run(Transport.java:159)
    at java.security.AccessController.doPrivileged(Native Method)
    at sun.rmi.transport.Transport.serviceCall(Transport.java:155)
    at sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:535)
    at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run0(TCPTransport.java:790)
    at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:649)
    at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
    at java.lang.Thread.run(Thread.java:619)
    at sun.rmi.transport.StreamRemoteCall.exceptionReceivedFromServer(StreamRemoteCall.java:255)
    at sun.rmi.transport.StreamRemoteCall.executeCall(StreamRemoteCall.java:233)
    at sun.rmi.server.UnicastRef.invoke(UnicastRef.java:142)
    at javax.management.remote.rmi.RMIServerImpl_Stub.newClient(Unknown Source)
    at javax.management.remote.rmi.RMIConnector.getConnection(RMIConnector.java:2312)
    at javax.management.remote.rmi.RMIConnector.connect(RMIConnector.java:277)
    at javax.management.remote.JMXConnectorFactory.connect(JMXConnectorFactory.java:248)
    at com.sun.messaging.AdminConnectionFactory.createConnection(AdminConnectionFactory.java:217)
    ... 5 more
    The code to create a connection using the AdminConnectionFactory is straight forward:
         JMXConnector jmxc = null;
    try {
    AdminConnectionFactory acf = new AdminConnectionFactory();
    acf.setProperty(AdminConnectionConfiguration.imqAddress, hostname + ":" + port);
    jmxc = acf.createConnection(user, password);
    } catch (JMSException jmse) {
    message = logMsgPrefix + "Cannot create JMXConnector to JMS server [" + hostname + ":" + port + "] using username [" + user + "] and password [" + password + "]";
    log.error(message);
    throw new GenericJMXException(message, jmse);
    } catch (JMException jme) {
    message = logMsgPrefix + "Cannot create JMXConnector to JMS server [" + hostname + ":" + port + "] using username [" + user + "] and password [" + password + "]";
    log.error(message);
    throw new GenericJMXException(message, jme);
    What is causing this connection creation to fail. The same application will work just fine a few minutes later.
    Thanks
    Aspi Engineer
    Putnam Investments

    Thank you for the response.
    Bug 6906978 is a defect that shows itself under high concurrency situations. In our case, we have a single quart based timer that is being triggered every 2 minutes to open a JMX connector. So my guess is that bug 6906978 and the problem that we have been experiencing are two different things.
    But I am willing to try out 4.4U1P1. Any idea where I can download it from?
    - Aspi

  • Exception created : flex.messaging.security.SecurityException

    Hi ,
    The message below keep appearing in the systemout.log file. Any idea?
    00002ca4 webcontainer  E com.ibm.ws.webcontainer.WebContainer handleRequest SRVE0255E: A WebGroup/Virtual Host to handle / has not been defined.
    00002ca4 servlet       E com.ibm.ws.webcontainer.servlet.ServletWrapper service SRVE0068E: Uncaught exception created in one of the service methods of the servlet documents in application LiveCycleES2. Exception created : flex.messaging.security.SecurityException
        at com.adobe.workspace.users.Authentication.validateContext(Authentication.java:445)
        at com.adobe.workspace.tasks.DocumentServlet.doGet(DocumentServlet.java:166)
    00002ca4 webcontainer  E com.ibm.ws.webcontainer.WebContainer handleRequest SRVE0255E: A WebGroup/Virtual Host to handle / has not been defined.
    00002ca4 webapp        E com.ibm.ws.webcontainer.webapp.WebApp logServletError SRVE0293E: [Servlet Error]-[documents]: com.ibm.ws.webcontainer.webapp.WebAppErrorReport: Method PROPFIND is not defined in RFC 2068 and is not supported by the Servlet API
        at com.ibm.ws.webcontainer.webapp.WebAppDispatcherContext.sendError(WebAppDispatcherContext. java:637)
        at com.ibm.ws.webcontainer.srt.SRTServletResponse.sendError(SRTServletResponse.java:1187)
    -Dhiyane

    Hello Nitin,
    i didnt say that its working fine with ATG REST. i mentioned that its working fine with 10.0.2 version of ATG but not with ATG10.1.1 . Also i am using SOAP only in both the versions. i am getting the boolean exception in the line where will i pass username, password and ispasswordEncrpted. i am passing defalut username,
    password and false(ispasswordencrypted).
    so can you help me on this.
    i am pasting my clinet program here
    public class LoginClient {
      * @param args
      * @throws RemoteException
      * @throws ServletException
      * @throws SecurityException
      * @throws ServiceException
      public static void main(String[] args) throws SecurityException, ServletException, RemoteException, ServiceException {
      /*System.getProperties().put("socksProxyHost", "172.26.183.65");
      System.getProperties().put("socksProxyPort", "8180");*/
      LoginUserSEIService loginService = new LoginUserSEIServiceLocator();
      LoginUserSEI loginStub = loginService.getLoginUserSEIPort();
      org.apache.axis.client.Stub axisStub = (org.apache.axis.client.Stub) loginStub;
      CookieContainer cookieContainer = new CookieContainer();
      axisStub.setMaintainSession(true);
      // Don't allow XML elements to reference other XML elements
      axisStub._setProperty(AxisEngine.PROP_DOMULTIREFS, new Boolean(false));
      // Push cookies onto the Stub
      cookieContainer.pushCookies(axisStub);
      String userId = loginStub.loginUser("[email protected]", " password", false);
      // Get cookies out of the Stub, and pass them to subsequent calls as needed
      cookieContainer.extractCookies(axisStub);
      System.out.println("User ID : " + userId);

  • Error while logging to OIM11g

    Hello experts,
    after deploying in WLS a simple java class just to test the login functionality, I'm not anymore able to access to OIM logging through the user form, while I'm still able to login through SSO.
    When I try to login I get the following error into the log:
    +<Apr 26, 2012 9:54:55 AM CEST> <Notice> <LoggingService> <BEA-320401> <The log file has been rotated to /OIM/opt/oracle/middleware/user_projects/domains/oim_domain/servers/oim_server1/logs/oim_server1.log00861. Log messages will continue to be logged in /OIM/opt/oracle/middleware/user_projects/domains/oim_domain/servers/oim_server1/logs/oim_server1.log.>+
    +<Apr 26, 2012 9:55:04 AM CEST> <Error> <XELLERATE.ACCOUNTMANAGEMENT> <BEA-000000> <Class/Method: tcDefaultDBEncryptionImpl/initKeyStore encounter some problems: access denied (oracle.security.jps.service.credstore.CredentialAccessPermission context=SYSTEM,mapName=oim,keyName=.xldatabasekey read)+
    java.security.AccessControlException: access denied (oracle.security.jps.service.credstore.CredentialAccessPermission context=SYSTEM,mapName=oim,keyName=.xldatabasekey read)
    at java.security.AccessControlContext.checkPermission(AccessControlContext.java:374)
    at java.security.AccessController.checkPermission(AccessController.java:546)
    at oracle.security.jps.util.JpsAuth$AuthorizationMechanism$3.checkPermission(JpsAuth.java:436)
    at oracle.security.jps.util.JpsAuth.checkPermission(JpsAuth.java:496)
    at oracle.security.jps.util.JpsAuth.checkPermission(JpsAuth.java:519)
    at oracle.security.jps.internal.credstore.util.CsfUtil.checkPermission(CsfUtil.java:611)
    at oracle.security.jps.internal.credstore.ssp.SspCredentialStore.containsCredential(SspCredentialStore.java:299)
    at oracle.iam.platform.utils.config.OIMPrivilegedExceptionAction.run(CSFCredentialProvider.java:205)
    at java.security.AccessController.doPrivileged(Native Method)
    at oracle.iam.platform.utils.config.CSFCredentialProvider.getPassword(CSFCredentialProvider.java:75)
    at oracle.iam.platform.utils.config.standalone.StandAloneCryptoConfig.getPassword(StandAloneCryptoConfig.java:80)
    at com.thortech.xl.crypto.tcDefaultDBEncryptionImpl.initKeyStore(tcDefaultDBEncryptionImpl.java:67)
    at com.thortech.xl.crypto.tcDefaultDBEncryptionImpl.getCipher(tcDefaultDBEncryptionImpl.java:96)
    at com.thortech.xl.crypto.tcDefaultDBEncryptionImpl.encrypt(tcDefaultDBEncryptionImpl.java:193)
    at com.thortech.xl.crypto.tcCryptoUtil.encrypt(tcCryptoUtil.java:118)
    at com.thortech.xl.crypto.tcCryptoUtil.encrypt(tcCryptoUtil.java:275)
    at oracle.iam.platform.auth.impl.Authenticator.encrypt(Authenticator.java:185)
    at oracle.iam.platform.auth.impl.Authenticator.authenticateWithPassword(Authenticator.java:160)
    at oracle.iam.platform.auth.impl.Authenticator.authenticate(Authenticator.java:133)
    at oracle.iam.platform.auth.providers.wls.OIMAuthLoginModule.login(OIMAuthLoginModule.java:44)
    at com.bea.common.security.internal.service.LoginModuleWrapper$1.run(LoginModuleWrapper.java:110)
    at java.security.AccessController.doPrivileged(Native Method)
    at com.bea.common.security.internal.service.LoginModuleWrapper.login(LoginModuleWrapper.java:106)
    at sun.reflect.GeneratedMethodAccessor576.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at javax.security.auth.login.LoginContext.invoke(LoginContext.java:769)
    at javax.security.auth.login.LoginContext.access$000(LoginContext.java:186)
    at javax.security.auth.login.LoginContext$4.run(LoginContext.java:683)
    at java.security.AccessController.doPrivileged(Native Method)
    at javax.security.auth.login.LoginContext.invokePriv(LoginContext.java:680)
    at javax.security.auth.login.LoginContext.login(LoginContext.java:579)
    and..
    +<Apr 26, 2012 9:55:04 AM CEST> <Error> <OIM Authenticator> <BEA-000000> <Error encrypting password>+
    javax.security.auth.login.LoginException: Error encrypting password com.thortech.xl.crypto.tcCryptoException: access denied (oracle.security.jps.service.credstore.CredentialAccessPermission context=SYSTEM,mapName=oim,keyName=.xldatabasekey read)
    at oracle.iam.platform.auth.impl.Authenticator.encrypt(Authenticator.java:189)
    at oracle.iam.platform.auth.impl.Authenticator.authenticateWithPassword(Authenticator.java:160)
    at oracle.iam.platform.auth.impl.Authenticator.authenticate(Authenticator.java:133)
    at oracle.iam.platform.auth.providers.wls.OIMAuthLoginModule.login(OIMAuthLoginModule.java:44)
    at com.bea.common.security.internal.service.LoginModuleWrapper$1.run(LoginModuleWrapper.java:110)
    at java.security.AccessController.doPrivileged(Native Method)
    at com.bea.common.security.internal.service.LoginModuleWrapper.login(LoginModuleWrapper.java:106)
    at sun.reflect.GeneratedMethodAccessor576.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at javax.security.auth.login.LoginContext.invoke(LoginContext.java:769)
    at javax.security.auth.login.LoginContext.access$000(LoginContext.java:186)
    at javax.security.auth.login.LoginContext$4.run(LoginContext.java:683)
    at java.security.AccessController.doPrivileged(Native Method)
    at javax.security.auth.login.LoginContext.invokePriv(LoginContext.java:680)
    at javax.security.auth.login.LoginContext.login(LoginContext.java:579)
    at com.bea.common.security.internal.service.JAASLoginServiceImpl.login(JAASLoginServiceImpl.java:113)
    I did reference to the following topic:
    Unable to login to OIM 11g admin console
    OIM 11g - Unable to login into OIM Administrative and User console
    but none of them resulted useful, we both check into the file system the files that may be with the wrong access rights, we also applied the metalink node "1327577.1", but we got no good result.
    We undeployed the jar that we think gave us this problem, we also removed it from the WLS cache, we restarted the server, we restarted the machine, but the situation is still the same.
    Do you have any idea?
    Thanks for your help

    I didn't find any solution, at the end the faster solution have been the one of restore an old backup of the OIM_DOMAIN.
    We just cross the fingers and we hope that it wont happen again.
    Thanks

  • Login issue in OIM11g due to oim credsmap error

    We have OIM 11gR2PS1 installed on unix box. We have AD connector 11.1.1.5.0 installed on it .Also,peoplesoft recon connector PSFT_ER-11.1.1.5.0 is installed
    In our scenario,we have webservice code in which using recon event we are creating users in OIM environment
    This is hosted on same OIM server unix box.Inside webservice code we have refred oimclient.jar file to work with OIM APIs and Recon Service class.
    When i tested webservice for first time it was unable to load OIM API classes as it was unable to find oimclient.jar in classpath.
    So to resolve this issue i kept oimclient.jar in location- "WL_HOME/server/lib/"  and also added following entry in setDomainEnv.sh to load oimclient.jar explicitly in classpath
    CLASSPATH="WL_HOME/server/lib/oimclient.jar:${CLASSPATH}"
    export CLASSPATH
    and made entry in system-jazn-data.xml present in DOMAIN_HOME//config/fmwconfig/ as :
    <grant>
                <grantee>
                    <codesource>
                        <url>file:${domain.home}/servers/oim_server1/stage/*</url>
                    </codesource>
                </grantee>
                <permissions>
       <permission>
                   <class>oracle.security.jps.service.credstore.CredentialAccessPermission</class>
                         <name>context=SYSTEM,mapName=oim,keyName=*</name>
                         <actions>read,write</actions>
        </permission>
                </permissions>
            </grant>
    After this change, webservice was working as expected and OIM related things were working fine.
    But,when we tried to run schedule task "Active Directory Group Lookup Recon" for AD, we are getting error message as :
    java.lang.LinkageError: loader constraint violation: loader (instance of com/thortech/xl/dataobj/tcADPClassLoader) previously initiated loading for a different type with name "com/thortech/xl/dataaccess/tcDataProvider"
    So,to resolve this AD schedule task issue,we rolled back changes made for webservice in setDomainEnv.sh and system-jazn-data.xml file
    and removed explicit classpath entry line of oimclient.jar from  setDomainEnv.sh
    But after restrating all admin and managed servers,we are currently facing issue in logging into OIM idenity/syadmin or design console with xelsyadm credentials
    we have never made any changes of password for xelsyadm account or not made any change in any authenticatorproviders in weblogic console
    we tried everything form reverting all changes to original setup without webservice or peoplesoft listener implementation
    removed all explicit classpath entries or grant entry for oim credsmap from system-jazn-data.xml.
    But still same issue persists
    Any helpful suggestion is appreciated on this ASAP.
    issue logs are:
    TaskFlow Registration: TaskFlowDeployerThread.registerTaskFlowWithTask - Error while setting task display, this can happen with app loading issue, trying to load for 2
    <Nov 11, 2013 11:24:20 PM EST> <Warning> <oracle.soa.services.workflow.worklist> <BEA-000000> <<.> Error while setting task display, this can happen with app loading issue, trying to load for 2>
    <Nov 11, 2013 11:24:24 PM EST> <Error> <XELLERATE.ACCOUNTMANAGEMENT> <BEA-000000> <Class/Method: tcDefaultDBEncryptionImpl/initKeyStore encounter some problems: access denied ("oracle.security.jps.service.credstore.CredentialAccessPermission" "context=SYSTEM,mapName=oim,keyName=.xldatabasekey" "read")
    java.security.AccessControlException: access denied ("oracle.security.jps.service.credstore.CredentialAccessPermission" "context=SYSTEM,mapName=oim,keyName=.xldatabasekey" "read")
      at java.security.AccessControlContext.checkPermission(AccessControlContext.java:372)
      at java.security.AccessController.checkPermission(AccessController.java:559)
      at oracle.security.jps.util.JpsAuth$AuthorizationMechanism$3.checkPermission(JpsAuth.java:458)
      at oracle.security.jps.util.JpsAuth.checkPermission(JpsAuth.java:518)
      at oracle.security.jps.util.JpsAuth.checkPermission(JpsAuth.java:544)
      at oracle.security.jps.internal.credstore.util.CsfUtil.checkPermission(CsfUtil.java:643)
      at oracle.security.jps.internal.credstore.ldap.LdapCredentialStore.containsCredential(LdapCredentialStore.java:214)
      at oracle.iam.platform.utils.config.OIMPrivilegedExceptionAction.run(CSFCredentialProvider.java:236)
      at java.security.AccessController.doPrivileged(Native Method)
      at oracle.iam.platform.utils.config.CSFCredentialProvider.getPassword(CSFCredentialProvider.java:79)
      at oracle.iam.platform.utils.config.standalone.StandAloneCryptoConfig.getPassword(StandAloneCryptoConfig.java:76)
      at com.thortech.xl.crypto.tcDefaultDBEncryptionImpl.initKeyStore(tcDefaultDBEncryptionImpl.java:67)
      at com.thortech.xl.crypto.tcDefaultDBEncryptionImpl.getCipher(tcDefaultDBEncryptionImpl.java:96)
      at com.thortech.xl.crypto.tcDefaultDBEncryptionImpl.encrypt(tcDefaultDBEncryptionImpl.java:193)
      at com.thortech.xl.crypto.tcCryptoUtil.encrypt(tcCryptoUtil.java:118)
      at com.thortech.xl.crypto.tcCryptoUtil.encrypt(tcCryptoUtil.java:275)
      at oracle.iam.platform.auth.impl.Authenticator.encrypt(Authenticator.java:188)
      at oracle.iam.platform.auth.impl.Authenticator.authenticateWithPassword(Authenticator.java:161)
      at oracle.iam.platform.auth.impl.Authenticator.authenticate(Authenticator.java:134)
      at oracle.iam.platform.auth.providers.wls.OIMAuthLoginModule.login(OIMAuthLoginModule.java:46)
      at com.bea.common.security.internal.service.LoginModuleWrapper$1.run(LoginModuleWrapper.java:110)
      at java.security.AccessController.doPrivileged(Native Method)
      at com.bea.common.security.internal.service.LoginModuleWrapper.login(LoginModuleWrapper.java:106)
      at sun.reflect.GeneratedMethodAccessor951.invoke(Unknown Source)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      at java.lang.reflect.Method.invoke(Method.java:606)
      at javax.security.auth.login.LoginContext.invoke(LoginContext.java:784)
      at javax.security.auth.login.LoginContext.access$000(LoginContext.java:203)
      at javax.security.auth.login.LoginContext$4.run(LoginContext.java:698)
      at javax.security.auth.login.LoginContext$4.run(LoginContext.java:696)
      at java.security.AccessController.doPrivileged(Native Method)
      at javax.security.auth.login.LoginContext.invokePriv(LoginContext.java:695)
      at javax.security.auth.login.LoginContext.login(LoginContext.java:594)
      at com.bea.common.security.internal.service.JAASLoginServiceImpl.login(JAASLoginServiceImpl.java:113)
      at sun.reflect.GeneratedMethodAccessor961.invoke(Unknown Source)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      at java.lang.reflect.Method.invoke(Method.java:606)
      at com.bea.common.security.internal.utils.Delegator$ProxyInvocationHandler.invoke(Delegator.java:57)
      at com.sun.proxy.$Proxy16.login(Unknown Source)
      at weblogic.security.service.internal.WLSJAASLoginServiceImpl$ServiceImpl.login(WLSJAASLoginServiceImpl.java:89)
      at com.bea.common.security.internal.service.JAASAuthenticationServiceImpl.authenticate(JAASAuthenticationServiceImpl.java:82)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      at java.lang.reflect.Method.invoke(Method.java:606)
      at com.bea.common.security.internal.utils.Delegator$ProxyInvocationHandler.invoke(Delegator.java:57)
      at com.sun.proxy.$Proxy34.authenticate(Unknown Source)
      at weblogic.security.service.WLSJAASAuthenticationServiceWrapper.authenticate(WLSJAASAuthenticationServiceWrapper.java:40)
      at weblogic.security.service.PrincipalAuthenticator.authenticate(PrincipalAuthenticator.java:338)
      at weblogic.servlet.security.internal.SecurityModule.checkAuthenticate(SecurityModule.java:252)
      at weblogic.servlet.security.ServletAuthentication.login(ServletAuthentication.java:466)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      at java.lang.reflect.Method.invoke(Method.java:606)
      at oracle.idm.common.login.SignInBean.handleWeblogicAuthn(SignInBean.java:131)
      at oracle.idm.common.login.SignInBean.doLogin(SignInBean.java:97)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      at java.lang.reflect.Method.invoke(Method.java:606)
      at com.sun.el.parser.AstValue.invoke(AstValue.java:187)
      at com.sun.el.MethodExpressionImpl.invoke(MethodExpressionImpl.java:297)
      at org.apache.myfaces.trinidadinternal.taglib.util.MethodExpressionMethodBinding.invoke(MethodExpressionMethodBinding.java:53)
      at org.apache.myfaces.trinidad.component.UIXComponentBase.broadcastToMethodBinding(UIXComponentBase.java:1256)
      at org.apache.myfaces.trinidad.component.UIXCommand.broadcast(UIXCommand.java:183)
      at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
      at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)
      at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2273)
      at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2179)
      at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1490)
      at weblogic.work.ExecuteThread.execute(ExecuteThread.java:256)
      at weblogic.work.ExecuteThread.run(ExecuteThread.java:221)
    >
    <Nov 11, 2013 11:24:24 PM EST> <Error> <OIM Authenticator> <BEA-000000> <Error encrypting password>
    java.lang.reflect.InvocationTargetException
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      at java.lang.reflect.Method.invoke(Method.java:606)
      at oracle.idm.common.login.SignInBean.handleWeblogicAuthn(SignInBean.java:131)
      at oracle.idm.common.login.SignInBean.doLogin(SignInBean.java:97)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      at java.lang.reflect.Method.invoke(Method.java:606)
      at com.sun.el.parser.AstValue.invoke(AstValue.java:187)
      at com.sun.el.MethodExpressionImpl.invoke(MethodExpressionImpl.java:297)
      at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
      at oracle.dms.servlet.DMSServletFilter.doFilter(DMSServletFilter.java:139)
      at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
      at weblogic.servlet.internal.RequestEventsFilter.doFilter(RequestEventsFilter.java:27)
      at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
      at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.wrapRun(WebAppServletContext.java:3730)
      at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3696)
      at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
      at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)
      at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2273)
      at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2179)
      at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1490)
      at weblogic.work.ExecuteThread.execute(ExecuteThread.java:256)
      at weblogic.work.ExecuteThread.run(ExecuteThread.java:221)
    Caused by: javax.security.auth.login.FailedLoginException: [Security:090304]Authentication Failed: User xelsysadm javax.security.auth.login.FailedLoginException: [Security:090302]Authentication Failed: User xelsysadm denied
      at weblogic.security.providers.authentication.LDAPAtnLoginModuleImpl.login(LDAPAtnLoginModuleImpl.java:261)
      at com.bea.common.security.internal.service.LoginModuleWrapper$1.run(LoginModuleWrapper.java:110)
      at java.security.AccessController.doPrivileged(Native Method)
      at com.bea.common.security.internal.service.LoginModuleWrapper.login(LoginModuleWrapper.java:106)
      at sun.reflect.GeneratedMethodAccessor951.invoke(Unknown Source)
      at com.bea.common.security.internal.utils.Delegator$ProxyInvocationHandler.invoke(Delegator.java:57)
      at com.sun.proxy.$Proxy34.authenticate(Unknown Source)
      at weblogic.security.service.WLSJAASAuthenticationServiceWrapper.authenticate(WLSJAASAuthenticationServiceWrapper.java:40)
      at weblogic.security.service.PrincipalAuthenticator.authenticate(PrincipalAuthenticator.java:338)
      at weblogic.servlet.security.internal.SecurityModule.checkAuthenticate(SecurityModule.java:252)
      at weblogic.servlet.security.ServletAuthentication.login(ServletAuthentication.java:466)
      ... 72 more

    Hi All,
    I have tried out option of adding authwl.conf in java argument as mentioned. But,still same issue persists. I think it will be same whether we refer authwl.conf file from OIM_ORACLE_HOME/server/config or OIM_ORACLE_HOME/designconsole/config/ location.
    We havent made any changes in USR table for xelsysadm user
    Even system-jazn-data.xml is intact.
    Actually,when i removed following classpath entry from setDomainEnv.sh file
    CLASSPATH="WL_HOME/server/lib/oimclient.jar:${CLASSPATH}"
    export CLASSPATH
    Its working fine and i am not facing any login issue in OIM console.Also the Active Directory connector scheduled task are running fine without giving earlier error whic is becaus of explicit classpath addition in setDomainEnv.sh.This error was
    java.lang.LinkageError: loader constraint violation: loader (instance of com/thortech/xl/dataobj/tcADPClassLoader) previously initiated loading for a different type with name "com/thortech/xl/dataaccess/tcDataProvider" .
    This error was arising since i have explicitly mentioned oimclient.jar again in classpath and as OIM server also will load it at OIM server startup time. So it was finding two instance of tcDataProvider and was not able to decide to refer to which one of them.
    But, I have to refer oimclient.jar in my webservice code to work.If we dont add classpath entry explicitly for oimclient.jar then it will throw error..that it is unable to load OIMClient class.
    Webservice is deployed in OIM serveer . Is there any other way by which i can refer oimclient class in webservice code without causing this classpath conflict issue. ?
    Also.is it correctthat for first time when we load Classpath explicitly like i did in my scenario,then it will always try to refer same classpath for that jar always.
    For ex: in my env i made changes in setDomainEnv.sh and modifed classpath enrty as :
    CLASSPATH="${OIM_ORACLE_HOME}/server/client/oimclient.jar:${CLASSPATH}"
    export CLASSPATH
    but this time it will start throwin the exception as :
    <Nov 11, 2013 11:24:24 PM EST> <Error> <XELLERATE.ACCOUNTMANAGEMENT> <BEA-000000> <Class/Method: tcDefaultDBEncryptionImpl/initKeyStore encounter some problems: access denied ("oracle.security.jps.service.credstore.CredentialAccessPermission" "context=SYSTEM,mapName=oim,keyName=.xldatabasekey" "read")
    java.security.AccessControlException: access denied ("oracle.security.jps.service.credstore.CredentialAccessPermission" "context=SYSTEM,mapName=oim,keyName=.xldatabasekey" "read")
    Do i need to reinstall OIM setup to resolve this issue or is there any other way to refer oimclient.jar in my webservice code deployed in OIM env ?
    Please suggest.
    Thanks,
    RPB

Maybe you are looking for

  • Acrobat X Pro | Will not launch

    Moved to a new laptop. Deactivated Acrobat X Pro on old laptop Reinstalled Acrobat X Pro (with Sr # - not trial version) Installs OK. PDF Printer installed and works. But Acrobat will not launch, after the initial 'splash' screen. No error messages.

  • How to change the order of the top level navigation?

    hello, i don't find where i can change the order of the top level navigation. help would be great because there is no documentation for this issue. greets daniel

  • A viewer app for eps graphics

    Hope I am posting in the right place. We use iPhoto to catalague and track most of our graphic files, jpgs, a bunch of clip art. But it won't, of course, take eps files. Trouble is, most of your big clipart collections (Print Explosion, for one) all

  • New customer for follow up contract

    Hello In some cases it's necessary to change the customer id, for example one company buy another company thus the customer name changes. For this case we want create a new follow up contract for changing there the customer id and guarantee the compr

  • HP Pavillion h8-1360t - page constantly loads and won't connect to internet

    Sorry if I'm on the wrong board, but this doesn't seem to be a connectivity problem because my laptop is fine. I recently bought an HP Pavillion h8-1360t desktop. I'm running Windows 7. I disabled the log-in screen, installed Canon camera software, a