Error while connecting to OIM via Jdeveloper

Hi,
I am getting the below error while executing simple search code. I am executing this code from Jdeveloper 11.1.2.2 and trying to connect to OIM 11gR1 BP04. SOPs shows, I am able to connecto to OIM, however while trying to search users below errors are thrown. I am not sure if it is code issue or firwall/proxy server issue. Any pointers would help.
Error
Creating client....
Logging in
log4j:WARN No appenders could be found for logger (org.springframework.jndi.JndiTemplate).
log4j:WARN Please initialize the log4j system properly.
java.lang.reflect.InvocationTargetException
     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:597)
     at oracle.iam.platform.OIMClient.loginSessionCreated(OIMClient.java:209)
     at oracle.iam.platform.OIMClient.login(OIMClient.java:136)
     at oracle.iam.platform.OIMClient.login(OIMClient.java:129)
     at com.oracle.idm.utilities.OIMUserSearch.init(OIMUserSearch.java:43)
     at com.oracle.idm.utilities.OIMUserSearch.main(OIMUserSearch.java:53)
Caused by: java.lang.NoSuchMethodError: oracle.iam.platform.auth.util.ClientContextSetter.setClientIPAddress(Ljava/lang/String;)V
     at oracle.iam.platformservice.api.ClientLoginSessionServiceDelegate.loginSessionCreated(Unknown Source)
     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:597)
     at Thor.API.Base.SecurityInvocationHandler$1.run(SecurityInvocationHandler.java:68)
     at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
     at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)
     at weblogic.security.Security.runAs(Security.java:41)
     at Thor.API.Security.LoginHandler.weblogicLoginSession.runAs(weblogicLoginSession.java:52)
     at Thor.API.Base.SecurityInvocationHandler.invoke(SecurityInvocationHandler.java:79)
     at $Proxy1.loginSessionCreated(Unknown Source)
     ... 9 more
Log in successful
Getting user list...
Service Obtained.
Perfoming search*
Exception in thread "main" java.lang.NoSuchMethodError: oracle.iam.platform.auth.util.ClientContextSetter.setClientIPAddress(Ljava/lang/String;)V
     at oracle.iam.identity.usermgmt.api.UserManagerDelegate.search(Unknown Source)
     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:597)
     at Thor.API.Base.SecurityInvocationHandler$1.run(SecurityInvocationHandler.java:68)
     at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
     at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)
     at weblogic.security.Security.runAs(Security.java:41)
     at Thor.API.Security.LoginHandler.weblogicLoginSession.runAs(weblogicLoginSession.java:52)
     at Thor.API.Base.SecurityInvocationHandler.invoke(SecurityInvocationHandler.java:79)
     at $Proxy3.search(Unknown Source)
     at com.oracle.idm.utilities.OIMUserSearch.getUserLogin(OIMUserSearch.java:99)
     at com.oracle.idm.utilities.OIMUserSearch.main(OIMUserSearch.java:56)
Process exited with exit code 1.
code
System.out.println("Creating client....");
String ctxFactory = "weblogic.jndi.WLInitialContextFactory";
String serverURL = "t3://10.87.148.171:14000";
String username = "xelsysadm";
String password = "*****";
Hashtable env = new Hashtable();
env.put(OIMClient.JAVA_NAMING_FACTORY_INITIAL,ctxFactory);
env.put(OIMClient.JAVA_NAMING_PROVIDER_URL, serverURL);
oimClient = new OIMClient(env);
System.out.println("Logging in");
oimClient.login(username, password.toCharArray());
System.out.println("Log in successful");
System.out.println("Getting user list...");
List<String> userLogins = new ArrayList<String>();
UserManager usrService = oimClient.getService(UserManager.class);
System.out.println("Service Obtained.");
Set<String> retAttrs = new HashSet<String>();
retAttrs.add(UserManagerConstants.AttributeName.USER_LOGIN.getId());
SearchCriteria criteria = new SearchCriteria("First Name", FIRST_NAME2SEARCH, SearchCriteria.Operator.EQUAL);
List<User> users = null;
try {
System.out.println("Perfoming search");
users = usrService.search(criteria, retAttrs, null); // Getting error at this point.
System.out.println("Search completed.");
} catch (UserSearchException e)

Hi Nishith,
All the mentioned jars were already present in classpath.
Also, changed the code (pasting below). Interestingly, Login seems to happen but, at the time of user search, it is throwing error. Is the error suggesting something wrong with proxy setting?
New code:
List logins = null;
System.out.println("Creating client....");
String ctxFactory = "weblogic.jndi.WLInitialContextFactory";
String serverURL = "t3://10.87.148.171:14000";
String username = "xelsysadm";
String password = "*******";
Hashtable env = new Hashtable();
env.put(OIMClient.JAVA_NAMING_FACTORY_INITIAL,ctxFactory);
env.put(OIMClient.JAVA_NAMING_PROVIDER_URL, serverURL);
System.setProperty("java.security.auth.login.config", "D:\\Oracle\\Middleware\\OIM_DC\\designconsole\\config\\authwl.conf");
System.setProperty("OIM.AppServerType","wls");
System.setProperty("APPSERVER_TYPE", "wls");
oimClient = new OIMClient(env);
System.out.println("Logging in");
oimClient.login(username, password.toCharArray());
System.out.println("Log in successful");
System.out.println("Getting user list...");
List<String> userLogins = new ArrayList<String>();
UserManager usrService = oimClient.getService(UserManager.class);
System.out.println("Service Obtained.");
Set<String> retAttrs = new HashSet<String>();
retAttrs.add(UserManagerConstants.AttributeName.USER_LOGIN.getId());
SearchCriteria criteria = new SearchCriteria("First Name", FIRST_NAME2SEARCH, SearchCriteria.Operator.EQUAL);
List<User> users = null;
System.out.println("Perfoming search");
users = usrService.search(criteria, retAttrs, null);
System.out.println("Search completed.");
for (int i = 0; i < users.size(); i++) {
userLogins.add(users.get(i).getLogin());
System.out.println(users.get(i).getLogin());
System.out.println("Completed...");
Error
Creating client....
Logging in
log4j:WARN No appenders could be found for logger (org.springframework.jndi.JndiTemplate).
log4j:WARN Please initialize the log4j system properly.
java.lang.reflect.InvocationTargetException
     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:597)
     at oracle.iam.platform.OIMClient.loginSessionCreated(OIMClient.java:209)
     at oracle.iam.platform.OIMClient.login(OIMClient.java:136)
     at oracle.iam.platform.OIMClient.login(OIMClient.java:129)
     at com.oracle.idm.utilities.OIMUserSearch.main(OIMUserSearch.java:59)
Caused by: java.lang.NoSuchMethodError: oracle.iam.platform.auth.util.ClientContextSetter.setClientIPAddress(Ljava/lang/String;)V
     at oracle.iam.platformservice.api.ClientLoginSessionServiceDelegate.loginSessionCreated(Unknown Source)
     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:597)
     at Thor.API.Base.SecurityInvocationHandler$1.run(SecurityInvocationHandler.java:68)
     at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
     at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)
     at weblogic.security.Security.runAs(Security.java:41)
     at Thor.API.Security.LoginHandler.weblogicLoginSession.runAs(weblogicLoginSession.java:52)
Log in successful
Getting user list...
     at Thor.API.Base.SecurityInvocationHandler.invoke(SecurityInvocationHandler.java:79)
     at $Proxy1.loginSessionCreated(Unknown Source)
     ... 8 more
Service Obtained.
Perfoming search
java.lang.reflect.InvocationTargetException
     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:597)
     at oracle.iam.platform.OIMClient.loginSessionDestroyed(OIMClient.java:225)
     at oracle.iam.platform.OIMClient.logout(OIMClient.java:154)
     at com.oracle.idm.utilities.OIMUserSearch.main(OIMUserSearch.java:84)
Caused by: java.lang.NoSuchMethodError: oracle.iam.platform.auth.util.ClientContextSetter.setClientIPAddress(Ljava/lang/String;)V
     at oracle.iam.platformservice.api.ClientLoginSessionServiceDelegate.loginSessionDestroyed(Unknown Source)
     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:597)
     at Thor.API.Base.SecurityInvocationHandler$1.run(SecurityInvocationHandler.java:68)
     at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
     at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)
     at weblogic.security.Security.runAs(Security.java:41)
     at Thor.API.Security.LoginHandler.weblogicLoginSession.runAs(weblogicLoginSession.java:52)
     at Thor.API.Base.SecurityInvocationHandler.invoke(SecurityInvocationHandler.java:79)
     at $Proxy1.loginSessionDestroyed(Unknown Source)
     ... 7 more
Exception in thread "main" java.lang.NoSuchMethodError: oracle.iam.platform.auth.util.ClientContextSetter.setClientIPAddress(Ljava/lang/String;)V
     at oracle.iam.identity.usermgmt.api.UserManagerDelegate.search(Unknown Source)
     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:597)
     at Thor.API.Base.SecurityInvocationHandler$1.run(SecurityInvocationHandler.java:68)
     at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
     at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)
     at weblogic.security.Security.runAs(Security.java:41)
     at Thor.API.Security.LoginHandler.weblogicLoginSession.runAs(weblogicLoginSession.java:52)
     at Thor.API.Base.SecurityInvocationHandler.invoke(SecurityInvocationHandler.java:79)
     at $Proxy3.search(Unknown Source)
     at com.oracle.idm.utilities.OIMUserSearch.main(OIMUserSearch.java:71)
Released resources
Process exited with exit code 1.
If you look at the system.out.println statements, it looks like, code is able to get OIM handle, but failing while search API is called.
Any pointers you would like to highlight? Note that, am using OIM 11g R1 BP4 and running the code from Jdeveloper 11.1.2
Thanks.
Edited by: Raghu Honawad on Nov 20, 2012 3:18 AM

Similar Messages

  • Facing error while connecting to server via XWinlogon

    Hi experts,
    I am facing issue
    "Fatal server error:
    could not open default font 'fixed'"
    While connecting to server via XWinlogon, i am installing EBS 12.1.1 on server.
    Please suggest appropriate values of xwinlogon, i am new for xwinlogon.
    its urgent , waiting for reply.
    Thanks,

    Hi;
    Did you go wiht VNC? If no please go wiht it. If you have to use xwin than please see <a href=http://www.google.com.tr/#hl=tr&sclient=psy-ab&q=could+not+open+default+font+%27fixed%27%2Bxwinlogon&oq=could+not+open+default+font+%27fixed%27%2Bxwinlogon&aq=f&aqi=&aql=&gs_sm=3&gs_upl=6125l6937l1l7187l3l3l0l0l0l0l187l484l0.3l3l0&gs_l=hp.3...6125l6937l1l7187l3l3l0l0l0l0l187l484l0j3l3l0.frgbld.&pbx=1&bav=on.2,or.r_gc.r_pw.r_qf.,cf.osb&fp=6202e7794537e514&biw=1196&bih=561
    this serch</a>Regard
    Helios

  • Error while connecting to workflow builder after installation...first time!

    Hi,
    I have installed Oracle Workflow Builder 2.6.3 recently on my system and after installation, when I am trying to connect the workflow builder (using database username/password of that particular instance), it is throwing me the following error:
    220: Unable to set NLS_LANGUAGE.
    210: Oracle Error: ORA-01403: no data found
    . SQL text: SELECT NLS_LANGUAGE FROM WF_LANGUAGES WHERE :l IN (NLS_LANGUAGE, CODE)
    In the previous threads when I searched for the same issue, I found that if
    select value from v$nls_parameters
    where parameter='NLS_CHARACTERSET';
    returns the value other then WE8ISO8859P1 then that is what I should change my NLS_LANG entry for the builder - i.e. AMERICAN_AMERICA.<character set>.
    But I am not getting where should I change NLS_LANG, it is located where...some file? I am new to Workflow.
    Please help me. I tried a lot. Any type of help will be highly appreciated.
    Thanks,
    Sumir

    This issue (and solution) is described in ML Doc 577905.1 (Error While Connecting To Database Via Workflow Builder)
    HTH
    Srini

  • Error while connecting to DB, when checking installation type of NW04S-Inst

    Hi,
    i installed a new netweaver 04s - system on sles10sp2 as distributed system.
    SCS is ok, Database DB6 installation is also successfull.
    Now i install the central instance, but when sapinst checks the installation type (i select nothing), the installation failed with:
    Execution of the command "/usr/lib64/jvm/java/bin/java -classpath /tmp/sapinst_instdir/NW04S/SYSTEM/DB6/DISTRIBUTED/AS/CI/install/sharedlib/launcher.jar -showversion com.sap.engine.offline.OfflineToolStart com.sap.inst.jsourcecheck.JSourceCheck /tmp/sapinst_instdir/NW04S/SYSTEM/DB6/DISTRIBUTED/AS/CI/install/lib/iaik_jce.jar:/mnt/sapcd/NW04S_SR2n/BS_2005_SR2_SAP_Installation_Master/IM_LINUX_X86_64/COMMON/INSTALL/jsourcecheck.jar:/tmp/sapinst_instdir/NW04S/SYSTEM/DB6/DISTRIBUTED/AS/CI/install/lib:/tmp/sapinst_instdir/NW04S/SYSTEM/DB6/DISTRIBUTED/AS/CI/install/sharedlib:/home_sap/db2i33/sqllib/java/db2jcc.jar:/home_sap/db2i33/sqllib/java/db2jcc_license_cu.jar -systemName I33 -ssPropFile /usr/sap/I33/SYS/global/security/data/SecStore.properties -ssKeyFile /usr/sap/I33/SYS/global/security/data/SecStore.key -trace all" finished with return code 101. Output:
    java version "1.4.2"
    Java(TM) 2 Runtime Environment, Standard Edition (build 2.2)
    IBM J9SE VM (build 2.2, J2RE 1.4.2 IBM J9 2.2 Linux amd64-64 j9xa64142-20080130 (JIT enabled)
    J9VM - 20071205_1933_LHdSMr
    JIT  - r7_level20071016_1845)
    PerfTimes : loadNativeLayer: loading jperflib failed. jperflib (Not found in java.library.path)
    com.sap.engine.frame.core.configuration.ConfigurationException: Error while connecting to DB.
            at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:85)
            at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:58)
            at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:60)
            at java.lang.reflect.Method.invoke(Method.java:391)
            at com.sap.engine.offline.OfflineToolStart.main(OfflineToolStart.java:81)
    Caused by: com.ibm.db2.jcc.b.SqlException: [ibm][db2][jcc][t4][2013][11249] Connection authorization failure occurred.  Reason: User ID or Password invalid.
            at com.ibm.db2.jcc.c.b.i(b.java:2002)
            at com.ibm.db2.jcc.c.b.c(b.java:1657)
            at com.ibm.db2.jcc.c.bb.r(bb.java:792)
    I see the reason, but i don't know which user is mean ?
    Can anyone help me ?
    Best Regards,
    Tom

    This issue (and solution) is described in ML Doc 577905.1 (Error While Connecting To Database Via Workflow Builder)
    HTH
    Srini

  • Error While Running a page on JDeveloper

    Hi All ,
    I am getting the following error while running a page in Jdeveloper . Can any body help me?
    (AppsContext.java:686) at oracle.apps.fnd.common.WebAppsContext.(WebAppsContext.java:846) at oracle.apps.fnd.framework.server.OAUtility.getWebAppsContext(OAUtility.java:351) at oracle.apps.fnd.framework.CreateIcxSession.getEncryptedSessId(CreateIcxSession.java:144) at oracle.apps.fnd.framework.CreateIcxSession.createSession(CreateIcxSession.java:80) at runregion.jspService(runregion.jsp:96) at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:56) at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:317) at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:465) at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:379) at javax.servlet.http.HttpServlet.service(HttpServlet.java:853) at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:727) at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:306) at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:767) at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:259) at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:106) at EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(PooledExecutor.java:797) at java.lang.Thread.run(Thread.java:534) oracle.apps.fnd.framework.OAException: Application: FND, Message Name: FND_GENERIC_MESSAGE. Tokens: MESSAGE = java.sql.SQLException: ORA-00904: "SERVERRESP_ENABLED_FLAG": invalid identifier ; (Could not lookup message because there is no database connection) at oracle.apps.fnd.framework.OAException.wrapperException(OAException.java:888) at oracle.apps.fnd.framework.OAException.wrapperException(OAException.java:862) at oracle.apps.fnd.framework.server.OAExceptionUtils.processAOLJErrorStack(OAExceptionUtils.java:980) at oracle.apps.fnd.framework.server.OAUtility.getWebAppsContext(OAUtility.java:352) at oracle.apps.fnd.framework.CreateIcxSession.getEncryptedSessId(CreateIcxSession.java:144) at oracle.apps.fnd.framework.CreateIcxSession.createSession(CreateIcxSession.java:80) at runregion.jspService(runregion.jsp:96) at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:56) at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:317) at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:465) at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:379) at javax.servlet.http.HttpServlet.service(HttpServlet.java:853) at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:727) at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:306) at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:767) at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:259) at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:106) at EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(PooledExecutor.java:797) at java.lang.Thread.run(Thread.java:534) ## Detail 0 ## java.sql.SQLException: ORA-00904: "SERVERRESP_ENABLED_FLAG": invalid identifier at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:134) at oracle.jdbc.ttc7.TTIoer.processError(TTIoer.java:289) at oracle.jdbc.ttc7.Oall7.receive(Oall7.java:583) at oracle.jdbc.ttc7.TTC7Protocol.doOall7(TTC7Protocol.java:1983) at oracle.jdbc.ttc7.TTC7Protocol.parseExecuteFetch(TTC7Protocol.java:1141) at oracle.jdbc.driver.OracleStatement.doExecuteQuery(OracleStatement.java:2487) at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:2854) at oracle.jdbc.driver.OraclePreparedStatement.executeUpdate(OraclePreparedStatement.java:622) at oracle.jdbc.driver.OraclePreparedStatement.executeQuery(OraclePreparedStatement.java:550) at oracle.apps.fnd.profiles.Profiles.getProfileOption(Profiles.java:1328) at oracle.apps.fnd.profiles.Profiles.getProfile(Profiles.java:384) at oracle.apps.fnd.profiles.ExtendedProfileStore.getSpecificProfileFromDB(ExtendedProfileStore.java:210) at oracle.apps.fnd.profiles.ExtendedProfileStore.getSpecificProfile(ExtendedProfileStore.java:169) at oracle.apps.fnd.profiles.ExtendedProfileStore.getMultiSpecificProfileFromDB(ExtendedProfileStore.java:368) at oracle.apps.fnd.common.WebAppsContext.setProfileValues(WebAppsContext.java:4177) at oracle.apps.fnd.common.AppsContext.setDBEnv(AppsContext.java:3407) at oracle.apps.fnd.common.AppsContext.getPrivateConnectionFinal(AppsContext.java:2508) at oracle.apps.fnd.common.AppsContext.getPrivateConnection(AppsContext.java:2398) at oracle.apps.fnd.common.AppsContext.getJDBCConnection(AppsContext.java:2257) at oracle.apps.fnd.common.AppsContext.getJDBCConnection(AppsContext.java:2072) at oracle.apps.fnd.common.AppsContext.getJDBCConnection(AppsContext.java:1976) at oracle.apps.fnd.profiles.Profiles.getConnection(Profiles.java:2494) at oracle.apps.fnd.profiles.Profiles.getProfileOption(Profiles.java:1304) at oracle.apps.fnd.profiles.Profiles.getProfile(Profiles.java:384) at oracle.apps.fnd.profiles.ExtendedProfileStore.getSpecificProfileFromDB(ExtendedProfileStore.java:210) at oracle.apps.fnd.profiles.ExtendedProfileStore.getSpecificProfile(ExtendedProfileStore.java:169) at oracle.apps.fnd.profiles.ExtendedProfileStore.getProfile(ExtendedProfileStore.java:148) at oracle.apps.fnd.common.logging.DebugEventManager.configureUsingDatabaseValues(DebugEventManager.java:1147) at oracle.apps.fnd.common.logging.DebugEventManager.configureLogging(DebugEventManager.java:1008) at oracle.apps.fnd.common.logging.DebugEventManager.internalReinit(DebugEventManager.java:977) at oracle.apps.fnd.common.logging.DebugEventManager.reInitialize(DebugEventManager.java:944) at oracle.apps.fnd.common.logging.DebugEventManager.reInitialize(DebugEventManager.java:931) at oracle.apps.fnd.common.AppsLog.reInitialize(AppsLog.java:570) at oracle.apps.fnd.common.AppsContext.initLog(AppsContext.java:873) at oracle.apps.fnd.common.AppsContext.initializeContext(AppsContext.java:858) at oracle.apps.fnd.common.AppsContext.initializeContext(AppsContext.java:827) at oracle.apps.fnd.common.AppsContext.(AppsContext.java:686) at oracle.apps.fnd.common.WebAppsContext.(WebAppsContext.java:846) at oracle.apps.fnd.framework.server.OAUtility.getWebAppsContext(OAUtility.java:351) at oracle.apps.fnd.framework.CreateIcxSession.getEncryptedSessId(CreateIcxSession.java:144) at oracle.apps.fnd.framework.CreateIcxSession.createSession(CreateIcxSession.java:80) at runregion.jspService(runregion.jsp:96) at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:56) at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:317) at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:465) at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:379) at javax.servlet.http.HttpServlet.service(HttpServlet.java:853) at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:727) at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:306) at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:767) at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:259) at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:106) at EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(PooledExecutor.java:797) at java.lang.Thread.run(Thread.java:534) ">

    check your DBC file, we have discussed this issue in the forum, search for SERVERRESP_ENABLED_FLAG

  • Error while running Helloworld page from Jdeveloper

    Hi
    I am getting the following error while running HelloworldPG.xml from Jdeveloper.
    Any help in this will be greatly appreciated ..
    Error Page
    Exception Details.
    oracle.apps.fnd.framework.OAException: Application: FND, Message Name: FND_GENERIC_MESSAGE. Tokens: MESSAGE = java.sql.SQLException: ORA-20001: Oracle error -20001: ORA-20001: Error occurred during product initialization for MO when executing 'begin MO_GLOBAL.INIT; end;'.
    SQLCODE = -20001
    SQLERROR = ORA-20001: SQL_PLSQL_ERROR: N, ROUTINE, MO_GLOBAL.INIT, N, ERRNO, -20001, N, REASON, ORA-20001: SQL_PLSQL_ERROR: N, ROUTINE, MO_GLOBAL.SET_ORG_ACCESS, N, ERRNO, -20001, N, REASON, ORA-20001: You do not have access privilege to any operating unit. Please check if your profile option MO: Security Profile includes any operating unit or the profile option
    ORA-06512: at "APPS.APP_EXCEPTION", line 52
    ORA-06512: at "APPS.FND_GLOBAL", line 63
    ORA-06512: at "APPS.FND_GLOBAL", line 967
    ORA-06512: at "APPS.FND_GLOBAL", line 547
    ORA-06512: at line 1
    ; (Could not lookup message because there is no database connection)
         at oracle.apps.fnd.framework.OAException.wrapperException(OAException.java:888)
         at oracle.apps.fnd.framework.OAException.wrapperException(OAException.java:862)
         at oracle.apps.fnd.framework.OACommonUtils.processAOLJErrorStack(OACommonUtils.java:876)
         at oracle.apps.fnd.framework.CreateIcxSession.createTransaction(CreateIcxSession.java:523)
         at runregion.jspService(runregion.jsp:103)
         at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:56)
         at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:317)
         at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:465)
         at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:379)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:727)
         at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:306)
         at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:767)
         at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:259)
         at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:106)
         at EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(PooledExecutor.java:803)
         at java.lang.Thread.run(Thread.java:534)
    ## Detail 0 ##
    java.sql.SQLException: ORA-20001: Oracle error -20001: ORA-20001: Error occurred during product initialization for MO when executing 'begin MO_GLOBAL.INIT; end;'.
    SQLCODE = -20001
    SQLERROR = ORA-20001: SQL_PLSQL_ERROR: N, ROUTINE, MO_GLOBAL.INIT, N, ERRNO, -20001, N, REASON, ORA-20001: SQL_PLSQL_ERROR: N, ROUTINE, MO_GLOBAL.SET_ORG_ACCESS, N, ERRNO, -20001, N, REASON, ORA-20001: You do not have access privilege to any operating unit. Please check if your profile option MO: Security Profile includes any operating unit or the profile option
    ORA-06512: at "APPS.APP_EXCEPTION", line 52
    ORA-06512: at "APPS.FND_GLOBAL", line 63
    ORA-06512: at "APPS.FND_GLOBAL", line 967
    ORA-06512: at "APPS.FND_GLOBAL", line 547
    ORA-06512: at line 1
         at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:134)
         at oracle.jdbc.ttc7.TTIoer.processError(TTIoer.java:289)
         at oracle.jdbc.ttc7.Oall7.receive(Oall7.java:583)
         at oracle.jdbc.ttc7.TTC7Protocol.doOall7(TTC7Protocol.java:1986)
         at oracle.jdbc.ttc7.TTC7Protocol.parseExecuteFetch(TTC7Protocol.java:1144)
         at oracle.jdbc.driver.OracleStatement.executeNonQuery(OracleStatement.java:2176)
         at oracle.jdbc.driver.OracleStatement.doExecuteOther(OracleStatement.java:2050)
         at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:2959)
         at oracle.jdbc.driver.OraclePreparedStatement.executeUpdate(OraclePreparedStatement.java:650)
         at oracle.jdbc.driver.OraclePreparedStatement.execute(OraclePreparedStatement.java:726)
         at oracle.apps.fnd.security.AppsConnectionManager.appsInitialize(AppsConnectionManager.java:454)
         at oracle.apps.fnd.common.AppsContext.setSecurityContext(AppsContext.java:1467)
         at oracle.apps.fnd.common.WebAppsContext.setSecurityContext(WebAppsContext.java:2671)
         at oracle.apps.fnd.common.WebAppsContext.updateSessionContext(WebAppsContext.java:2484)
         at oracle.apps.fnd.framework.server.OAUtility.updateSessionContext(OAUtility.java:362)
         at oracle.apps.fnd.framework.CreateIcxSession.createTransaction(CreateIcxSession.java:508)
         at runregion.jspService(runregion.jsp:103)
         at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:56)
         at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:317)
         at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:465)
         at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:379)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:727)
         at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:306)
         at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:767)
         at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:259)
         at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:106)
         at EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(PooledExecutor.java:803)
         at java.lang.Thread.run(Thread.java:534)
    java.sql.SQLException: ORA-20001: Oracle error -20001: ORA-20001: Error occurred during product initialization for MO when executing 'begin MO_GLOBAL.INIT; end;'.
    SQLCODE = -20001
    SQLERROR = ORA-20001: SQL_PLSQL_ERROR: N, ROUTINE, MO_GLOBAL.INIT, N, ERRNO, -20001, N, REASON, ORA-20001: SQL_PLSQL_ERROR: N, ROUTINE, MO_GLOBAL.SET_ORG_ACCESS, N, ERRNO, -20001, N, REASON, ORA-20001: You do not have access privilege to any operating unit. Please check if your profile option MO: Security Profile includes any operating unit or the profile option
    ORA-06512: at "APPS.APP_EXCEPTION", line 52
    ORA-06512: at "APPS.FND_GLOBAL", line 63
    ORA-06512: at "APPS.FND_GLOBAL", line 967
    ORA-06512: at "APPS.FND_GLOBAL", line 547
    ORA-06512: at line 1
         at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:134)
         at oracle.jdbc.ttc7.TTIoer.processError(TTIoer.java:289)
         at oracle.jdbc.ttc7.Oall7.receive(Oall7.java:583)
         at oracle.jdbc.ttc7.TTC7Protocol.doOall7(TTC7Protocol.java:1986)
         at oracle.jdbc.ttc7.TTC7Protocol.parseExecuteFetch(TTC7Protocol.java:1144)
         at oracle.jdbc.driver.OracleStatement.executeNonQuery(OracleStatement.java:2176)
         at oracle.jdbc.driver.OracleStatement.doExecuteOther(OracleStatement.java:2050)
         at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:2959)
         at oracle.jdbc.driver.OraclePreparedStatement.executeUpdate(OraclePreparedStatement.java:650)
         at oracle.jdbc.driver.OraclePreparedStatement.execute(OraclePreparedStatement.java:726)
         at oracle.apps.fnd.security.AppsConnectionManager.appsInitialize(AppsConnectionManager.java:454)
         at oracle.apps.fnd.common.AppsContext.setSecurityContext(AppsContext.java:1467)
         at oracle.apps.fnd.common.WebAppsContext.setSecurityContext(WebAppsContext.java:2671)
         at oracle.apps.fnd.common.WebAppsContext.updateSessionContext(WebAppsContext.java:2484)
         at oracle.apps.fnd.framework.server.OAUtility.updateSessionContext(OAUtility.java:362)
         at oracle.apps.fnd.framework.CreateIcxSession.createTransaction(CreateIcxSession.java:508)
         at runregion.jspService(runregion.jsp:103)
         at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:56)
         at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:317)
         at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:465)
         at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:379)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:727)
         at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:306)
         at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:767)
         at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:259)
         at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:106)
         at EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(PooledExecutor.java:803)
         at java.lang.Thread.run(Thread.java:534)

    Adding another Error
    Exception Details.
    oracle.apps.fnd.framework.OAException: Application: FND, Message Name: FND_NO_REGION_DATA. Tokens: REGIONCODE = /oracle/apps/fnd/framework/toolbox/tutorial/webui/HomePG; (Could not lookup message because there is no database connection)
         at oracle.apps.fnd.framework.webui.JRAD2AKMapper.getRootMElement(JRAD2AKMapper.java:454)
         at oracle.apps.fnd.framework.webui.OAWebBeanFactoryImpl.getWebBeanTypeDataFromJRAD(OAWebBeanFactoryImpl.java:2644)
         at oracle.apps.fnd.framework.webui.OAWebBeanFactoryImpl.getRootApplicationModuleClass(OAWebBeanFactoryImpl.java:2423)
         at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:826)
         at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:463)
         at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:384)
         at OA.jspService(OA.jsp:40)
         at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:56)
         at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:317)
         at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:465)
         at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:379)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:727)
         at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:306)
         at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:767)
         at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:259)
         at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:106)
         at EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(PooledExecutor.java:803)
         at java.lang.Thread.run(Thread.java:534)
    ## Detail 0 ##
    oracle.adf.mds.exception.MDSRuntimeException: Unable to find component with absolute reference = /oracle/apps/fnd/framework/toolbox/tutorial/webui/HomePG, XML Path = {1}. Please verify that the reference is valid and the definition of the component exists either on the File System or in the MDS Repository.
    The MDS repository is incompatible with the middle tier. Repository version "9.0.3.6.0_323" is older than minimum repository version "9.0.5.0.0_242" required. Please upgrade the MDS repository to at least the minimum version specified.
         at oracle.adf.mds.internal.MetadataManagerBase.findElement(MetadataManagerBase.java:1267)
         at oracle.adf.mds.MElement.findElement(MElement.java:97)
         at oracle.apps.fnd.framework.webui.JRAD2AKMapper.getRootMElement(JRAD2AKMapper.java:422)
         at oracle.apps.fnd.framework.webui.OAWebBeanFactoryImpl.getWebBeanTypeDataFromJRAD(OAWebBeanFactoryImpl.java:2644)
         at oracle.apps.fnd.framework.webui.OAWebBeanFactoryImpl.getRootApplicationModuleClass(OAWebBeanFactoryImpl.java:2423)
         at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:826)
         at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:463)
         at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:384)
         at OA.jspService(OA.jsp:40)
         at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:56)
         at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:317)
         at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:465)
         at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:379)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:727)
         at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:306)
         at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:767)
         at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:259)
         at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:106)
         at EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(PooledExecutor.java:803)
         at java.lang.Thread.run(Thread.java:534)
    oracle.adf.mds.exception.MDSRuntimeException: Unable to find component with absolute reference = /oracle/apps/fnd/framework/toolbox/tutorial/webui/HomePG, XML Path = {1}. Please verify that the reference is valid and the definition of the component exists either on the File System or in the MDS Repository.
    The MDS repository is incompatible with the middle tier. Repository version "9.0.3.6.0_323" is older than minimum repository version "9.0.5.0.0_242" required. Please upgrade the MDS repository to at least the minimum version specified.
         at oracle.adf.mds.internal.MetadataManagerBase.findElement(MetadataManagerBase.java:1267)
         at oracle.adf.mds.MElement.findElement(MElement.java:97)
         at oracle.apps.fnd.framework.webui.JRAD2AKMapper.getRootMElement(JRAD2AKMapper.java:422)
         at oracle.apps.fnd.framework.webui.OAWebBeanFactoryImpl.getWebBeanTypeDataFromJRAD(OAWebBeanFactoryImpl.java:2644)
         at oracle.apps.fnd.framework.webui.OAWebBeanFactoryImpl.getRootApplicationModuleClass(OAWebBeanFactoryImpl.java:2423)
         at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:826)
         at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:463)
         at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:384)
         at OA.jspService(OA.jsp:40)
         at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:56)
         at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:317)
         at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:465)
         at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:379)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:727)
         at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:306)
         at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:767)
         at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:259)
         at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:106)
         at EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(PooledExecutor.java:803)
         at java.lang.Thread.run(Thread.java:534)

  • Getting error while starting weblogic server in jdeveloper

    getting an error while starting weblogic server in jdeveloper
    IN LOG(its shows following):
    <Jul 25, 2013 7:19:15 PM IST> <Notice> <WebLogicServer> <BEA-000331> <Started WebLogic Admin Server "DefaultServer" for domain "DefaultDomain" running in Development Mode>
    <Jul 25, 2013 7:19:15 PM IST> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to RUNNING>
    <Jul 25, 2013 7:19:15 PM IST> <Notice> <WebLogicServer> <BEA-000360> <Server started in RUNNING mode>
    User 'principals=[weblogic, Administrators]' has administration role. All tasks by adminstrators must go through an Administration Port.
    **** Authentication error while connecting to application server IntegratedWebLogicServer. Please check settings.
    **** Failed to complete start-up of application server IntegratedWebLogicServer.
    [Server Instance IntegratedWebLogicServer is shutting down.  All applications currently running will be terminated and undeployed.]
    [Forcing termination of IntegratedWebLogicServer]
    taskkill /F /PID 1620
    Process exited.
    PLs help me

    User, please tell us your jdev version!
    Somehow your credentials are corrupted. Two possible solution:
    1) open your system11.1.1.xxxx folder open the DefaultDomain\servers\DefaultServer\security folder and edit the boot.properties file. Remove the '(AES)...' part after username and password and write the new ones e.g. username=weblogic', password='Welcome1'. Save the file and try to start the integrated server again. Once the server starts the entries are encoded again.
    2) if 1) does not work, remove the whole DefaultDomain folder and create a new WLS instance inside jdev.
    Timo

  • Authentication error while connecting to application server IntegratedWebL

    When I start the IntegrationWeblogicServer in JDeveloper11.1.1.3.0, the server can be started, the IntegratedWeblogicServer cann't be connected because of the authentication error.
    The integrated weblogic server can be started successfully outside the Jdevelper, and I never changed the password of user weblogic.
    <2010-8-24 下午02时55分17秒 CST> <Warning> <Server> <BEA-002611> <Hostname "ppan-cn.cn.oracle.com", maps to multiple IP addresses: 10.182.254.102, 192.168.174.1, 192.168.65.1>
    <2010-8-24 下午02时55分17秒 CST> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to RUNNING>
    <2010-8-24 下午02时55分17秒 CST> <Notice> <WebLogicServer> <BEA-000360> <Server started in RUNNING mode>
    User: weblogic, failed to be authenticated.
    **** Authentication error while connecting to application server IntegratedWebLogicServer. Please check settings.
    **** Failed to complete start-up of application server IntegratedWebLogicServer.
    [Server Instance IntegratedWebLogicServer is shutting down.  All applications currently running will be terminated and undeployed.]
    [Forcing termination of IntegratedWebLogicServer]
    taskkill /F /PID 748
    Process exited.
    What's wrong with the JDeveloper11.1.1.3.0? And How to fix it? Any help is appreciated in advance.
    _Paula                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

    Hi Paula:
    You may want to check if one of your applications has its own users and groups settings. If you define your own Application's users ang groups settings, you may need to uncheck the setting in JDeveloper ADF Security wizard to avoid overwriting the embedded WLS security settings. Otherwise, even you reset your embedded WLS or recreate it, its settings will be overwritten again once you run your application on it.
    The way to reset or recreate your embedded WLS is to follow Frank's tips.
    Good luck,
    Alex

  • Error while connecting database from SQL developer

    Hello experts,
    i have installed oracle 11g R2 database on WIN32 platform, and my database is working in sql plus but while connecting the same via sql developer am getting the following error:
    NO more data to read from socket
    Vendor code 17410
    Kindly suggest.
    Regards,
    KK

    I have restarted the listener service but still getting the same in sql dev
    LSNRCTL> status
    Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=EXTPROC1521)))
    STATUS of the LISTENER
    Alias LISTENER
    Version TNSLSNR for 32-bit Windows: Version 11.2.0.1.0 - Produ
    ction
    Start Date 05-JAN-2013 21:56:29
    Uptime 0 days 0 hr. 2 min. 44 sec
    Trace Level off
    Security ON: Local OS Authentication
    SNMP OFF
    Listener Parameter File d:\app\Karan\product\11.2.0\dbhome_1\network\admin\lis
    tener.ora
    Listener Log File d:\app\karan\diag\tnslsnr\Karan-PC\listener\alert\log.
    xml
    Listening Endpoints Summary...
    (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(PIPENAME=\\.\pipe\EXTPROC1521ipc)))
    (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=127.0.0.1)(PORT=1521)))
    Services Summary...
    Service "OIMDB" has 1 instance(s).
    Instance "OIMDB", status UNKNOWN, has 1 handler(s) for this service...
    The command completed successfully
    LSNRCTL> stop
    Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=EXTPROC1521)))
    The command completed successfully
    LSNRCTL> start
    Starting tnslsnr: please wait...
    TNSLSNR for 32-bit Windows: Version 11.2.0.1.0 - Production
    System parameter file is d:\app\Karan\product\11.2.0\dbhome_1\network\admin\list
    ener.ora
    Log messages written to d:\app\karan\diag\tnslsnr\Karan-PC\listener\alert\log.xm
    l
    Listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(PIPENAME=\\.\pipe\EXTPROC1521
    ipc)))
    Listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=127.0.0.1)(PORT=1521)))
    Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=EXTPROC1521)))
    STATUS of the LISTENER
    Alias LISTENER
    Version TNSLSNR for 32-bit Windows: Version 11.2.0.1.0 - Produ
    ction
    Start Date 05-JAN-2013 21:59:45
    Uptime 0 days 0 hr. 0 min. 6 sec
    Trace Level off
    Security ON: Local OS Authentication
    SNMP OFF
    Listener Parameter File d:\app\Karan\product\11.2.0\dbhome_1\network\admin\lis
    tener.ora
    Listener Log File d:\app\karan\diag\tnslsnr\Karan-PC\listener\alert\log.
    xml
    Listening Endpoints Summary...
    (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(PIPENAME=\\.\pipe\EXTPROC1521ipc)))
    (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=127.0.0.1)(PORT=1521)))
    Services Summary...
    Service "OIMDB" has 1 instance(s).
    Instance "OIMDB", status UNKNOWN, has 1 handler(s) for this service...
    The command completed successfully
    LSNRCTL>
    Edited by: 958122 on Jan 5, 2013 9:59 PM

  • Error while executing BEX query via FM

    Hi Friends,
    I am getting following error while executing a query via FM RRW3_GET_QUERY_VIEW_DATA.
    Please see the error screenshot as follows.
    the I_T_PARAMETERS entered are as follows.
    Please let me know what is missing.
    Thanks.
    Regards,
    Hrishikesh

    the key date variable 0DAT is normally filled by a SAP exit variable, but this may not be the case.  it could have been changed in the query designer,  check the query in query designer and see.
    Try passing 0DAT in the variable list with todays date

  • Installing Java Dialog Instance - Error while connecting to DB

    We would like to add a dialog instance to our production Portal server.  We installed Portal as stand-alone on the central instance.  We have another server we would like to setup to serve as a Portal dialog instance.
    So far I have installed Windows 2003 Server Standard.  Installed MSSQL server client tools (database is mssql server).  Installed jdk 1.4.62.  Set java home and path environmental variables.  I'm now installing the Java dialog instance (I can't find any documentation on this).  From Netweaver installation CD> SAP NetWeaver '04 Support Release 1> Java System> MS SQL Server> Dialog Instance Installation>
    SAP System ID: (sid) ES2
    Central Host: SAPEPS02
    Path to JAVA DVD supplied> JDK Directory confirmed> Domain paramaters confirmed> domain<sid> account passwords supplied> domain<service><sid> account password supplied> Instance number confirmed>
    Installation started> It gets to step 8 and fails stating "Error while connecting to DB".  I looked through all the log files and couldn't come up with anything (i'm very thorough).
    I tried adding the users to the database as dbowners (no luck).  I installed SQL server 2000 with SP4.  No where during this installation did I get prompted for database parameters?
    Is there something basic i'm missing?  Does this scenario not work?  Any help would be greatly appreciated.  Pointing me in the right direction of the correct documentation would also be appreciated.  Thank you in advance.
    Sincerely,
    Brad Dridi

    Hi Brad,
    I am facing the same problem. I hope by now you must have got the solution for this.
    Can you please let me know how did you overcome this situation?
    Thank you!!
    Regards,
    Abhijeet Bhagat

  • JCONTROL - dies with Error while connecting to DB

    Hi....Experts
    DB : Oracle 10.2.0.4.0
    OS ; AIX 5.3
    NW : 7.0 SP22
    UT  : EP
    Yesterday the above server got rebooted by a power failure. after that
    The server's DB is coming up as ora<sid> user, listener is also up
    But as <sid>adm user - when i am starting . The jcotnrol dies and in thee work directory
    ....log_bootstrap_ID1168012.0.log fiel shows the below messages in the tail end,
    ================================================================
    ERROR-1 : OBSERVED
    ================================================================
    ==[ Caused by: ]==----
    com.sap.engine.frame.core.configuration.ConfigurationException: Error while connecting to DB.
         at com.sap.engine.core.configuration.impl.persistence.rdbms.DBConnectionPool.createConnection(DBConnectionPool.java:365)
         at com.sap.engine.core.configuration.impl.persistence.rdbms.DBConnectionPool.<init>(DBConnectionPool.java:130)
         at com.sap.engine.core.configuration.impl.persistence.rdbms.PersistenceHandler.<init>(PersistenceHandler.java:38)
         at com.sap.engine.core.configuration.impl.cache.ConfigurationCache.<init>(ConfigurationCache.java:149)
         at com.sap.engine.core.configuration.bootstrap.ConfigurationManagerBootstrapImpl.init(ConfigurationManagerBootstrapImpl.java:236)
         at com.sap.engine.core.configuration.bootstrap.ConfigurationManagerBootstrapImpl.<init>(ConfigurationManagerBootstrapImpl.java:49)
         at com.sap.engine.bootstrap.Synchronizer.<init>(Synchronizer.java:74)
         at com.sap.engine.bootstrap.Bootstrap.initDatabaseConnection(Bootstrap.java:473)
         at com.sap.engine.bootstrap.Bootstrap.<init>(Bootstrap.java:146)
         at com.sap.engine.bootstrap.Bootstrap.main(Bootstrap.java:971)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:88)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:61)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:60)
         at java.lang.reflect.Method.invoke(Method.java:391)
         at com.sap.engine.offline.OfflineToolStart.main(OfflineToolStart.java:81)
    Caused by: java.sql.SQLException: Io exception: There is no process to read data written to a pipe.
         at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:112)
         at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:146)
         at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:255)
         at oracle.jdbc.driver.T4CConnection.logon(T4CConnection.java:387)
         at oracle.jdbc.driver.PhysicalConnection.<init>(PhysicalConnection.java:420)
         at oracle.jdbc.driver.T4CConnection.<init>(T4CConnection.java:165)
         at oracle.jdbc.driver.T4CDriverExtension.getConnection(T4CDriverExtension.java:35)
         at oracle.jdbc.driver.OracleDriver.connect(OracleDriver.java:801)
         at com.sap.sql.jdbc.NativeConnectionFactory.createNativeConnection(NativeConnectionFactory.java:215)
         at com.sap.sql.connect.OpenSQLDataSourceImpl.createPooledConnection(OpenSQLDataSourceImpl.java:608)
         at com.sap.sql.connect.OpenSQLDataSourceImpl.getPooledConnection(OpenSQLDataSourceImpl.java:285)
         at com.sap.engine.core.configuration.impl.persistence.rdbms.DBConnectionPool.createConnection(DBConnectionPool.java:307)
         ... 15 more
    [Feb 10, 2012 4:46:28 PM ] [Bootstrap module]> Problem occurred while performing synchronization.
    ================================================================
    ERROR-2 : OBSERVED
    ================================================================
    also i see error in work directory ...sapcpe.log as below
    Host:d45adm> more sapcpe.log
    2012/02/10 19:01:45
    sapcpe version UC: @(#) $Id: //bas/700_REL/src/ccm/sapstart/sapxxcpe.c#20 $ SAP
    Command line:
      0: /usr/sap/D45/SYS/exe/run/sapcpe
      1: name=D45
    Trace level (profile): 1
    INFO:    Try to find file table sapcpeft (default:sapcpeft)
    INFO:    Try to find file table in the central directory /usr/sap/D45/SYS/exe/ctrun/sapcpeft
    INFO:    not found any file table.
    source: /usr/sap/D45/SYS/exe/ctrun
    target: /usr/sap/D45/SYS/exe/run
    ERROR: sapcpe: find <src> /usr/sap/D45/SYS/exe/ctrun failed, 2, No such file or directory, [sapxxcpe.c:1464]
    sapcpe.log: END
    ================================================================
    any thoughts & advises, clues ???
    Rgds
    PR

    ISSUE  - RESOLVED
    ####Summary######################################
    Key Word of this Issue :
    Exception in thread "main" java.sql.SQLException: Io exception: There is no process to read data written to a pipe.
    Reason
    Name resolution by conflict / failure by netsvc.conf even we have hostfile & ping works with host name for Every user.
    Solution
    Adjusted netsvc.conf file to use the hostfile.
    DETAILS OF RESOLUTION
    OSS Experts asked me to copy the results
    SAP Note No. 867176: FAQ: Oracle JDBC (JdbcCheckup) - Point 10
    01. I copied JdbcCheckup.sar to location /home/sidadm/867176-jdbchkup/
    02. Extracted the same in same foler with command : SAPCAR -xvf JdbcCheckup.sar
    03. Now folder contained 2 files ""JdbcCheckup.java""  and "" JdbcCheckup.sar""
    04. my JDBC driver file ojdbc14.jar is in location /oracle/client/10x_64/instantclient/
    05. To determine the JDBC driver version issued the below command as per note
    $$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$
    $Command : java -classpath /oracle/client/10x_64/instantclient/ojdbc14.jar:. JdbcCheckup
    $$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$
    Please enter information to test connection to the database
    user: SAPSR3DB
    password: PASSWORD
    database(a TNSNAME entry): SID
    Hostname: portalserver
    Port (1521): 1527
    Connecting to the database...Connecting...
    jdbc:oracle:thin:@portalserver:1527:SID, SAPSR3DB, PASSWORD
    Exception in thread "main" java.sql.SQLException: Io exception: There is no process to read data written to a pipe.
            at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:112)
            at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:146)
            at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:255)
            at oracle.jdbc.driver.T4CConnection.logon(T4CConnection.java:387)
            at oracle.jdbc.driver.PhysicalConnection.<init>(PhysicalConnection.java:441)
            at oracle.jdbc.driver.T4CConnection.<init>(T4CConnection.java:165)
            at oracle.jdbc.driver.T4CDriverExtension.getConnection(T4CDriverExtension.java:35)
            at oracle.jdbc.driver.OracleDriver.connect(OracleDriver.java:801)
            at java.sql.DriverManager.getConnection(DriverManager.java:559)
            at java.sql.DriverManager.getConnection(DriverManager.java:189)
            at JdbcCheckup.main(JdbcCheckup.java:128)
    portalserver:sidadm>
    $$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$
    06. Immediately id did google with above Syntax of error.
    """java.sql.SQLException: Io exception: There is no process to read data
    written to a pipe"""
    https://forums.oracle.com/forums/thread.jspa?threadID=1320173
    which was referring about netsvc.conf
    With UNIX Team discussions, adjusted the host file as first name
    resolution source and DNS servers list followed in same(netsvc.conf)  file. which
    fixed the issue and "JdbcCheckup" passed.
    07. JdbcCheckup Command - Passed output.
    $$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$
    $Command :  java -classpath /oracle/client/10x_64/instantclient/ojdbc14.jar:. JdbcCheckup
    $$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$
    Command :  java -classpath /oracle/client/10x_64/instantclient/ojdbc14.jar:. JdbcCheckup
    Please enter information to test connection to the database
    user: SAPSR3DB
    password: PASSWORD
    database(a TNSNAME entry): SID
    Hostname: portalserver
    Port (1521): 1527
    Connecting to the database...Connecting...
    jdbc:oracle:thin:@portalserver:1527:SID, SAPSR3DB, PASSWORD
    connected.
    =============
    Database Product Name is ... Oracle
    Database Product Version is  Oracle Database 10g Enterprise Edition Release 10.2.0.4.0 - 64bit Production
    With the Partitioning, Data Mining and Real Application Testing options
    =============
    JDBC Driver Name is ........ Oracle JDBC driver
    JDBC Driver Version is ..... 10.2.0.4.0
    =============
    Hello World
    Your JDBC installation is correct.
    portalserver:sidadm>
    $$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$
    BIG THANK TO EVERYONE !!!!!!!!!!!!!!!!
    REGARDS
    PR

  • Error while connecting to db

    Hi,
    We are getting the error while connecting the database.
    ERROR:
    ORA-01034: ORACLE not available
    ORA-27101: shared memory realm does not exist
    IBM AIX RISC System/6000 Error: 2: No such file or directory
    Error persists only for second or two & again connection comes back.
    NOTE-- When this happens only new connection recives the error while existing connection work properly.
    On metalink the error description is.
    Cause:     Unable to locate shared memory realm
    Action:     Verify that the realm is accessible
    also I have checked
    SQL> select resource_name,current_utilization,max_utilization,limit_value from v$resource_limit;
    RESOURCE_NAME CURRENT_UTILIZATION MAX_UTILIZATION LIMIT_VALU
    processes 1044 1091 1100
    sessions 1052 1097 1400
    enqueue_locks 208 437 17404
    enqueue_resources 248 335 UNLIMITED
    ges_procs 0 0 0
    Kindly advice urgent.

    IBM AIX 5L
    10.2.0.3
    Client OS is Windows XP & oracle client using is oracle 8 & 9i client.
    TNS Entery of client
    AIX.WORLD =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (COMMUNITY = tcp.world)(PROTOCOL = TCP)(Host = 192.168.16.50)(Port = 1521))
    (ADDRESS = (COMMUNITY = tcp.world)(PROTOCOL = TCP)(Host = 192.168.16.50)(Port = 1526))
    (CONNECT_DATA =
    (SID = ORCL)
    There is only one oracle home on the client mechine
    entries in sql* net are
    names.directory_path = (TNSNAMES)
    names.default_domain = world
    name.default_zone = world
    names.default_domain=world
    erro in the listener log is
    18-MAY-2009 16:42:25 * (CONNECT_DATA=(SID=ORCL)(CID=(PROGRAM=UdyogGrid.Exe)(HOST=Windows NT PC)(USER=vmittal))) * (ADDRESS=(PROTOCOL=tcp)(HOST=221.135.27.180)(PORT=2021)) * establish * ORCL * 0
    18-MAY-2009 16:42:33 * ping * 0
    WARNING: Subscription for node down event still pending.
    NOTE-- Problem started from the day we have set the password for the listener.
    Kindly advice.
    Edited by: Sachin A on May 18, 2009 10:08 PM

  • Deserialization Error while connecting to web service

    I am getting a deserialization error while connecting to a web service.
    Deserializing parameter 'ScheduleReceiveService': could not find deserializer for type {http://www.w3.org/2001/XMLSchema}anyType...
    There are two methods ex
    UserDefinedClass1 methodA(java.lang.Object ) and
    UserDefinedClass2 methodB(UserDefinedClass3)
    And when i generate java files using WSDL2Java using apache axis the UserDefinedClass is generated as follows.
    public class UserDefinedClassA implements java.io.Serializable {
    private java.lang.Object _return;
    // There are other methods for setting the attributes,hashCode,equals etc
    Now when i try to invoke the method from the client i get this as an error ?
    Deserializing parameter 'UserDefinedClass': could not find deserializer for type {http://www.w3.org/2001/XMLSchema}anyType
    Appreciate any suggestion.

    Hi Manohara,
    To download the file from SharePoint, I recommend to use the credential for a user who can access the file in SharePoint in the client object model.
    NetworkCredential credentials = new NetworkCredential(“username”, “pwd”, “domain”);
    ClientContext context = new ClientContext(“http://thesitecollection”);
    context.Credentials = credentials;
    Best regards.
    Thanks
    Victoria Xia
    TechNet Community Support

  • Error while connecting for Java to SAP

    Hi All,
    I am encountering the following error while connecting from Java to SAP through JCO:
    RFC_ERROR_LOGON_FAILURE: You are not authorized to logon to the target system
    I have checked the connection string and everything appears to be fine.
    Please let me know what the problem is.
    Regards,
    Rupesh.

    Hi rupesh,
    See this thread:
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/f3f93ee7-0c01-0010-2593-d7c28b5377c2
    Regards, Suresh KB

Maybe you are looking for