LDAP JNDI Error
Hi all,
I am trying to just print out fields from JNDI Module Groups which are inside Active Directory. The following is the code I use:-
for each ad in User
do
logMessage "Entered User Name IF loop"
logMessage " User Name =====: " + ad.givenName
logMessage" User Name =====: " + ad.uid
logMessage " User Name =====: " + ad.userPrincipalName
//requestedByLastName = ad.givenName
end
I get the following error:-
The method 'Person' from class 'Person_Details.Default_1_0.Instance' could not be successfully executed.
Caused by: [LDAP: error code 4 - Sizelimit Exceeded]
Could anyone please let me know what exactly is this error because I am doing nothing but printing out values from the AD to ALBPM logMessages..
Aaaarrgghhhh....
In your code you have
// Get all the attributes of named object
Attributes answer = ctx.getAttributes( "cn=*anna*");If you are just retrieving an object rather than performing a search, you need to use the full distinguished name which means it will be something like:
Attributes answer = ctx.getAttributes( "cn=Anna,ou=People,dc=osu,dc=edu");And if you ever get around to writing code that performs a search, DO NOT use a search filter of the form:
"cn=*Anna*"as your query ends up just being a stupid wild card query and will probably not be able to take advantage of any indexes that are present on the DIT.
You queries will time out and you network admins will become quite angry.
Similar Messages
-
JNDI Error when Oracle BPM Process invokes an EJB Service Adapter
Hi All,
I am trying to invoke an EJB Service from my Oralce BPM process/workflow. I have provided the JNDI name in EJB service adapter in Jdeverloper also. Even though I have configured the JNDI in weblogic server properly, i am getting some JNDI invocation error (FabricInvocationException) as below.
Can somebody help me on this.
Non Recoverable System Fault :
*<bpelFault><faultType>0</faultType><remoteFault xmlns="http://schemas.oracle.com/bpel/extension"><part name="summary"><summary>oracle.fabric.common.FabricInvocationException: Exception creating jndi context for ejb invocation:</summary></part><part name="detail"><detail>Unable to resolve 'XXXXXXInterfaceRemote'. Resolved ''</detail></part><part name="code"><code>null</code></part></remoteFault></bpelFault>*
Edited by: 920456 on Apr 2, 2013 2:09 AMHi All,
Still i am facing the above stated challenge, i am getting a JNDI error when i am trying to call it from Oracle BPM process.
can somebody tell me Does Oracle SOA Suite - EJB Adapter version 3.0 has any runtime bugs ? etc.
Bcoz in the below link it is given something like EJB Version 2 Are Not Supported During Runtime. So, i want to check whether any bugs.
[Oracle SOA EJB Adapter Version bugs|http://www.oracle.com/technetwork/middleware/docs/aiasoarelnotesps5-1455925.html#intadapt]
Regards,
Satya -
Hi all, hope someone can help. I just upgraded to WL60 with SP1 and now all my
EJB are getting JNDI errors cant resolve name. Path and Classpaths have not changed,
in fact nothing has changed expect for the upgrade. Can anyone tell me what has
changed. I looked at the docs but didn't see anything significant. Thanks in
advance. JASCan you show us the error messages and asscoiated stack traces and the code
that is producing them?
JAS wrote:
Forgot to mention, I was using WL6.0 before.
"JAS" <[email protected]> wrote:
Hi all, hope someone can help. I just upgraded to WL60 with SP1 and
now all my
EJB are getting JNDI errors cant resolve name. Path and Classpaths have
not changed,
in fact nothing has changed expect for the upgrade. Can anyone tell
me what has
changed. I looked at the docs but didn't see anything significant.
Thanks in
advance. JAS -
Jndi error in crystal report connecting to jsp
hi
getting error while connecting my report to jsp
Error is JNDI error means i m unable to connect to oracle server using my jsp
if any one have answer than provide me
thanks& regards
rameshRethink your design. Unless this is a trivial application, a JSP should not be initiating database connections (or really performing any JNDI lookups at all). JSP's are part of the view. In model-view-controller architectures, which normal web applications attempt to implement, it is the model's responsibility to connect to a database to fetch relevant data. In its simplest form, this means you at least write a helper class to perform the JNDI DataSource lookup and return the data via a public method. Ideally, you have enough of these classes that they are not simply helper classes, but rather a full-fledged model tier. See tutorials here and on the net about MVC architecture.
As to your specific issue, it could be any number of issues. Are your deployment descriptors (web.xml, serverl.xml, weblogic.xml, etc.) set-up correctly? Is there a typo between the names declared? What does your JNDI lookup URI contain? Is there an error there? What is the code you are using to perform the lookup? What does the actual exception stack trace contain? We will need some or all of the above information to actually diagnose the source of the error.
However, first, redesign your JSP. :^)
- Saish -
"redeploying of ejbs is causing jndi errors
"we r having problems with redeploying an ejb jar file(1 bean) on the 6.0SP1 server cluster.there are 2 servers running on separate sun boxes and the autodeployment is turned off. the method i followed for redeployment was1.Undeployed the bean 2.added the changed ejb jar file to the applications directory3.redeployed the beanResult:1. Bean got undeployed on both servers.2. Bean got redeployed on only one server3. There was a stack trace with jndi errors on the other server.When i restart the server on which the deployment failed, the bean gets deployed when the server starts up.!Is this a server bug?The stack trace is given belowjava.rmi.UnmarshalException: error unmarshalling arguments; nested exception is: java.lang.ClassNotFoundException: com.privacycouncil.tp.ejb.TPGeneratorBeanEOImpl_WLStub: This error could indicate that a component was deployed on a cluster member but not other members of that cluster. Make sure that any component deployed on a server that is part of a cluster is also deployed on all other members of that clusterjava.lang.ClassNotFoundException: com.privacycouncil.tp.ejb.TPGeneratorBeanEOImpl_WLStub: This error could indicate that a component was deployed on a cluster member but not other members of that cluster. Make sure that any component deployed on a server that is part of a cluster is also deployed on all other members of that clusterat weblogic.j2ee.ApplicationManager.loadClass(ApplicationManager.java:143)at weblogic.j2ee.ApplicationManager.loadClass(ApplicationManager.java:87)at weblogic.common.internal.WLObjectInputStream.resolveClass(WLObjectInputStream.java:49)at java.io.ObjectInputStream.inputClassDescriptor(ObjectInputStream.java:918)at java.io.ObjectInputStream.readObject(ObjectInputStream.java:366)at java.io.ObjectInputStream.readObject(ObjectInputStream.jav
"we r having problems with redeploying an ejb jar file(1 bean) on the 6.0SP1 server cluster.there are 2 servers running on separate sun boxes and the autodeployment is turned off. the method i followed for redeployment was1.Undeployed the bean 2.added the changed ejb jar file to the applications directory3.redeployed the beanResult:1. Bean got undeployed on both servers.2. Bean got redeployed on only one server3. There was a stack trace with jndi errors on the other server.When i restart the server on which the deployment failed, the bean gets deployed when the server starts up.!Is this a server bug?The stack trace is given belowjava.rmi.UnmarshalException: error unmarshalling arguments; nested exception is: java.lang.ClassNotFoundException: com.privacycouncil.tp.ejb.TPGeneratorBeanEOImpl_WLStub: This error could indicate that a component was deployed on a cluster member but not other members of that cluster. Make sure that any component deployed on a server that is part of a cluster is also deployed on all other members of that clusterjava.lang.ClassNotFoundException: com.privacycouncil.tp.ejb.TPGeneratorBeanEOImpl_WLStub: This error could indicate that a component was deployed on a cluster member but not other members of that cluster. Make sure that any component deployed on a server that is part of a cluster is also deployed on all other members of that clusterat weblogic.j2ee.ApplicationManager.loadClass(ApplicationManager.java:143)at weblogic.j2ee.ApplicationManager.loadClass(ApplicationManager.java:87)at weblogic.common.internal.WLObjectInputStream.resolveClass(WLObjectInputStream.java:49)at java.io.ObjectInputStream.inputClassDescriptor(ObjectInputStream.java:918)at java.io.ObjectInputStream.readObject(ObjectInputStream.java:366)at java.io.ObjectInputStream.readObject(ObjectInputStream.jav
-
LDAP JNDI bootstrap info at each cluster node
Any suggestions on the best way to distribute LDAP JNDI bootstrap
information (host:port/DN/pwd/searchbase) to each node in the cluster? I've
thought of deploying individual bootstrap files, but then I'd have to
encrypt them and I don't like the idea of these files authentication files
laying around on (potentially) distributed hosts. Clustered EJBs could use
an abstraction layer that hides this stuff from them, but the abstraction
layer needs the bootstrap info before accessing LDAP through JNDI.
I feel like there's some simple, elegant manner of doing this, but I'm
missing it because my head is full of LDAP searchbases and filter syntax....
Any suggestions on the best way to distribute LDAP JNDI bootstrap
information (host:port/DN/pwd/searchbase) to each node in the cluster? I've
thought of deploying individual bootstrap files, but then I'd have to
encrypt them and I don't like the idea of these files authentication files
laying around on (potentially) distributed hosts. Clustered EJBs could use
an abstraction layer that hides this stuff from them, but the abstraction
layer needs the bootstrap info before accessing LDAP through JNDI.
I feel like there's some simple, elegant manner of doing this, but I'm
missing it because my head is full of LDAP searchbases and filter syntax....
-
How to get LDAP sub-error code using JNDI (MD5 or any other SASL mechanism)
Hi All,
My objective is to find out if a user name exists in LDAP/Active Directory. I understand that there are specific sub error codes, like below:
· 525 - user not found
· 52e - invalid credentials
· 530 - not permitted to logon at this time
· 532 - password expired
· 533 - account disabled
· 701 - account expired
· 773 - user must reset password
· 775 - account locked.
When I tried with "simple" authentication, I am able to get exact reason code from which I can understand what went wrong.
Here's the code snippet:
Hashtable<String, Object> env = new Hashtable<String, Object>();
env.put(Context.INITIAL_CONTEXT_FACTORY, "com.sun.jndi.ldap.LdapCtxFactory");
* env.put(Context.SECURITY_AUTHENTICATION,"simple");*
env.put(Context.SECURITY_PRINCIPAL, "myUser");
env.put(Context.SECURITY_CREDENTIALS, "mySecret");
env.put(Context.PROVIDER_URL, "ldap://10.10.10.10:389/");
env.put("com.sun.jndi.ldap.trace.ber", System.err); //debug trace
DirContext ctx = null;
try {
ctx = new InitialLdapContext(env, null);
} catch (javax.naming.AuthenticationException ae) {
System.out.println("Message: "+ae.getMessage());
ae.printStackTrace();
Output:
[LDAP: error code 49 - 80090308: LdapErr: DSID-0C090334, comment: AcceptSecurityContext error, *data 525*, vece_
From above output it's clear that the sub error code is 525, that means User Not Found
If I want to achieve the same thing with Digest-MD5 algorithm, I am always getting sub error code as 0 from which I am not at all able to understand what went wrong.
Here's my code snippet:
Hashtable<String, Object> env = new Hashtable<String, Object>();
env.put(Context.INITIAL_CONTEXT_FACTORY, "com.sun.jndi.ldap.LdapCtxFactory");
* env.put(Context.SECURITY_AUTHENTICATION,"Digest-MD5");*
env.put(Context.SECURITY_PRINCIPAL, "myUser");
env.put(Context.SECURITY_CREDENTIALS, "mySecret");
env.put(Context.PROVIDER_URL, "ldap://10.10.10.10:389/");
env.put("com.sun.jndi.ldap.trace.ber", System.err); //debug trace
DirContext ctx = null;
try {
ctx = new InitialLdapContext(env, null);
} catch (javax.naming.AuthenticationException ae) {
System.out.println("Message: "+ae.getMessage());
ae.printStackTrace();
Output:
[LDAP: error code 49 - 8009030C: LdapErr: DSID-0C09043E, comment: AcceptSecurityContext error, *data 0*, vece_
From the above sub error code 0, it's very difficult to understand what went wrong with the credentails.
Can any one help me out to find out what I am missing? Any help in this regard is highly appreciated.
Please let me know if there's any other way to check if the user exists in LDAP/Active Directory.
Thanks a lot,
Siva.Thank you,
As i was trying to obtain the input to UI from an xml file by which the axis converts to java objects and inturn have to get the reply as xml file . The error was in the jar files ,when i loaded the jar files another time my code started working. -
LDAP weird error on updating attributes, no error on reading
I have to modify the email addresses of only some users in the LDAP database, hence I am doing a search for all objects with the specified email address and updating it using the modifyAttribute function......
When I just read the properties the code works fine, but when I try to modify the attribute it throws me the following error
javax.naming.NameNotFoundException: [LDAP: error code 32 - No Such Object]; remaining name 'strsdistrid=3+strsdistruserid=isdfv01,ou=autodistributionobjects'
javax.naming.NameNotFoundException: [LDAP: error code 32 - No Such Object]; remaining name 'strsdistrid=3+strsdistruserid=isdfv01,ou=autodistributionobjects'
at com.sun.jndi.ldap.LdapCtx.mapErrorCode(LdapCtx.java:3013)
at com.sun.jndi.ldap.LdapCtx.processReturnCode(LdapCtx.java:2934)
at com.sun.jndi.ldap.LdapCtx.processReturnCode(LdapCtx.java:2740)
at com.sun.jndi.ldap.LdapCtx.c_modifyAttributes(LdapCtx.java:1440)
at com.sun.jndi.toolkit.ctx.ComponentDirContext.p_modifyAttributes(ComponentDirContext.java:255)
at com.sun.jndi.toolkit.ctx.PartialCompositeDirContext.modifyAttributes(PartialCompositeDirContext.java:172)
at com.sun.jndi.toolkit.ctx.PartialCompositeDirContext.modifyAttributes(PartialCompositeDirContext.java:161)
at javax.naming.directory.InitialDirContext.modifyAttributes(InitialDirContext.java:146)
at fullname.main(fullname.java:77)
here is the code.....
while (answer.hasMore()) {
SearchResult sr = (SearchResult)answer.next();
sr.setRelative(false);
System.out.println(">>>" + sr.getName());
String dn = sr.getName();
Attributes attrs = sr.getAttributes();
String givenName = " ";
String surName = " ";
try {
givenName = attrs.get("mail").toString();
} catch (Exception err) {
givenName = " ";
System.out.println(">>> [Email addresses] " + givenName);
try {
surName = attrs.get("document").toString();
} catch (Exception e2) {
surName = " ";
System.out.println(">>> [Object name] " + surName);
ModificationItem mods[] = new ModificationItem[1];
// Put in mail
Attribute mod0 = new BasicAttribute( "strsdistremailaddress","[email protected]");
mods[0] = new ModificationItem(DirContext.REPLACE_ATTRIBUTE, mod0);
System.out.println("Modifications set");
ctx.modifyAttributes(sr.getName(),mods);
All help is appreciated.Hi Timbuk,
Iam also having a similar problem as yours.
I have added groups into Active Directory, when i try to add users to groups, Iam getting the same exception.
javax.naming.NameNotFoundException: [LDAP: error code 32 - 00000525: NameErr: DSID-031A0F80, problem 2001 (NO_OBJECT), data 0, best match of:
at com.sun.jndi.ldap.LdapCtx.mapErrorCode(LdapCtx.java:3057)
at com.sun.jndi.ldap.LdapCtx.processReturnCode(LdapCtx.java:2978)
at com.sun.jndi.ldap.LdapCtx.processReturnCode(LdapCtx.java:2785)
at com.sun.jndi.ldap.LdapCtx.c_modifyAttributes(LdapCtx.java:1468)
at com.sun.jndi.toolkit.ctx.ComponentDirContext.p_modifyAttributes(ComponentDirContext.java:273)
at com.sun.jndi.toolkit.ctx.PartialCompositeDirContext.modifyAttributes(PartialCompositeDirContext.java:190)
at com.sun.jndi.toolkit.ctx.PartialCompositeDirContext.modifyAttributes(PartialCompositeDirContext.java:179)
at javax.naming.directory.InitialDirContext.modifyAttributes(InitialDirContext.java:165)
at com.loadtesting.main(AddingUser.java:414)
Please let me know if you got solution for your problem. So that you can help me. Urgent
Thanks in advance.
Deebika -
JNDI error when modifying schema
While modifying some objectclasses on IPlanet LDAP using JNDI I get the following error:
[ERROR] [LDAP: error code 1 - The objectclass is malformed. Missing opening "(" around allowed attributes]
Note that this happens on certain object classes and not in others but I can not determine a pattern. I also get the same error when removing certain objectclasses (it works ok with others).
I'm using the code given as an example in the Java tutorial to modify the schema.
Any input would be apreciated.
Regards.
-- PaulPls pass either of following two properties to the environment parameter of InitialDirContext:
New property name: com.sun.jndi.ldap.netscape.schemaBugs=true
Old property name: com.sun.naming.netscape.schemaBugs=true
They are used by Sun's JNDI LDAP driver to work with Netscape LDAP server. -
Initial context factory: com.sun.jndi.ldap.LdapCtxFactory
Provider URL: ldap://wus.contatan.local:38486/cn=workflowusers,dc=contatan,dc=local
Username: admin
Password: admin
Search filter:
Search context:
Scope: null
Nested context:
Base DN: null
RequiredAttributes
Exception:null
Please help for this error,
Test tab on Action properties gives
[LDAP Error Code :34, Invalid DN]
Neither can we get the Base DN populated from "refresh" button...
On console , we get
Exception occurred during event dispatching:
java.lang.NullPointerException
at com.avoka.workflow.qpac.ldap.LdapPanel.getBaseDNs(LdapPanel.java:1385
at com.avoka.workflow.qpac.ldap.LdapPanel.populateComboBoxDns(LdapPanel.
java:1371)
at com.avoka.workflow.qpac.ldap.LdapPanel.access$700(LdapPanel.java:58)
at com.avoka.workflow.qpac.ldap.LdapPanel$9.actionPerformed(LdapPanel.ja
va:1356)
at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)
at javax.swing.AbstractButton$Handler.actionPerformed(Unknown Source)
at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)
at javax.swing.DefaultButtonModel.setPressed(Unknown Source)
at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(Unknown Sour
ce)
at java.awt.Component.processMouseEvent(Unknown Source)
at javax.swing.JComponent.processMouseEvent(Unknown Source)
at java.awt.Component.processEvent(Unknown Source)
at java.awt.Container.processEvent(Unknown Source)
at java.awt.Component.dispatchEventImpl(Unknown Source)
at java.awt.Container.dispatchEventImpl(Unknown Source)
at java.awt.Component.dispatchEvent(Unknown Source)
at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
at java.awt.Container.dispatchEventImpl(Unknown Source)
at java.awt.Window.dispatchEventImpl(Unknown Source)
at java.awt.Component.dispatchEvent(Unknown Source)
at java.awt.EventQueue.dispatchEvent(Unknown Source)
at java.awt.EventDispatchThread.pumpOneEventForHierarchy(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
at java.awt.Dialog$1.run(Unknown Source)
at java.awt.Dialog.show(Unknown Source)
at com.adobe.workflow.saf.SAFApplication.showDialog(SAFApplication.java:
350)
at com.adobe.workflow.tools.processdesigner.QPACContainer.showDialog(QPA
CContainer.java:104)
at com.adobe.workflow.pat.gui.PATBaseDialog.showComponent(PATBaseDialog.
java:207)
at com.adobe.workflow.pat.gui.PATBaseCustomPanel.showComponent(PATBaseCu
stomPanel.java:351)
at com.adobe.workflow.tools.processdesigner.template.ProcessTemplateView
.editAction(ProcessTemplateView.java:418)
at com.adobe.workflow.tools.processdesigner.template.ActionNode.doMouseD
blClick(ActionNode.java:235)
at com.nwoods.jgo.JGoView.doMouseDblClick(Unknown Source)
at com.nwoods.jgo.JGoView.onMouseReleased(Unknown Source)
at com.nwoods.jgo.JGoView$JGoViewCanvas.mouseReleased(Unknown Source)
at java.awt.AWTEventMulticaster.mouseReleased(Unknown Source)
at java.awt.AWTEventMulticaster.mouseReleased(Unknown Source)
at java.awt.Component.processMouseEvent(Unknown Source)
at javax.swing.JComponent.processMouseEvent(Unknown Source)
at java.awt.Component.processEvent(Unknown Source)
at java.awt.Container.processEvent(Unknown Source)
at java.awt.Component.dispatchEventImpl(Unknown Source)
at java.awt.Container.dispatchEventImpl(Unknown Source)
at java.awt.Component.dispatchEvent(UnI think the problem is the username you are using. You likely need to specify the DN of the user that you want to bind as (assuming you don't want to anonymously bind, in which case leave it blank), instead of a common username like Admin.
Also, change your provider URL to just: ldap://wus.contatan.local:38486
Chris
Adobe Enterprise Developer Support -
Hi.
I'm trying to connect to MS AD Server (2000/2003) through LDAP. I receive error code 49 with data 531. This means that this is not valid workstation but credentials are valid. My question is how to authenticate using specified host from which I may log in? Is it possible with JNDI? The problem is with AD restrictions but i would not to switch them off.This is another one of those posts that are so hilariously funny, it beggars belief.
You are trying to execute an LDAP query, from a workstation for which the specified credentials you are using in your Java application, is not permitted to login from.
And you want to find out if you can subvert the security policy for your domain ? -
CUP 5.2 - LDAP Authentication error - "User credentials not valid."
Hi Experts ,
I have set up LDAP "SUN ONE" as a authentication source for our CUP 5.2 SP11 Patch1 (Build-62316). But when I try to logon with my network id,I receive error "User credentials not valid."
Please find the log below.
Thank you for your help,
Regards,
Abderrahim
2011-03-01 12:07:57,232 [SAPEngine_Application_Thread[impl:3]_27] ERROR Failed to log in a867168
com.virsa.ae.service.umi.AuthenticationFailureException: No user details found
at com.virsa.ae.service.umi.ldap.LDAPAuthenticator.validate(LDAPAuthenticator.java:140)
at com.virsa.ae.actions.LoginAction.requestorLoginHandler(LoginAction.java:847)
at com.virsa.ae.actions.LoginAction.execute(LoginAction.java:82)
at com.virsa.ae.commons.utils.framework.NavigationEngine.execute(NavigationEngine.java:256)
at com.virsa.ae.commons.utils.framework.servlet.AEFrameworkServlet.service(AEFrameworkServlet.java:423)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:401)
at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:266)
at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:386)
at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:364)
at com.sap.engine.services.httpserver.server.RequestAnalizer.invokeWebContainer(RequestAnalizer.java:1039)
at com.sap.engine.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:265)
at com.sap.engine.services.httpserver.server.Client.handle(Client.java:95)
at com.sap.engine.services.httpserver.server.Processor.request(Processor.java:175)
at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:33)
at com.sap.engine.core.cluster.impl6.session.MessageRunner.run(MessageRunner.java:41)
at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)
at java.security.AccessController.doPrivileged(AccessController.java:207)
at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:102)
at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:172)
Caused by:
com.virsa.ae.service.umi.UMIException: SUNONE error reading search results
at com.virsa.ae.service.umi.ldap.LDAPSearchUser.getUsers(LDAPSearchUser.java:698)
at com.virsa.ae.service.umi.ldap.LDAPSearchUser.getUserById(LDAPSearchUser.java:760)
at com.virsa.ae.service.umi.ldap.LDAPAuthenticator.validate(LDAPAuthenticator.java:131)
at com.virsa.ae.actions.LoginAction.requestorLoginHandler(LoginAction.java:847)
at com.virsa.ae.actions.LoginAction.execute(LoginAction.java:82)
at com.virsa.ae.commons.utils.framework.NavigationEngine.execute(NavigationEngine.java:256)
at com.virsa.ae.commons.utils.framework.servlet.AEFrameworkServlet.service(AEFrameworkServlet.java:423)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:401)
at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:266)
at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:386)
at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:364)
at com.sap.engine.services.httpserver.server.RequestAnalizer.invokeWebContainer(RequestAnalizer.java:1039)
at com.sap.engine.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:265)
at com.sap.engine.services.httpserver.server.Client.handle(Client.java:95)
at com.sap.engine.services.httpserver.server.Processor.request(Processor.java:175)
at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:33)
at com.sap.engine.core.cluster.impl6.session.MessageRunner.run(MessageRunner.java:41)
at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)
at java.security.AccessController.doPrivileged(AccessController.java:207)
at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:102)
at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:172)
Caused by:
javax.naming.NameNotFoundException: [LDAP: error code 32 - No Such Object]; remaining name ''
at com.sun.jndi.ldap.LdapCtx.mapErrorCode(LdapCtx.java:3030)
at com.sun.jndi.ldap.LdapCtx.processReturnCode(LdapCtx.java:2951)
at com.sun.jndi.ldap.LdapCtx.processReturnCode(LdapCtx.java:2757)
at com.sun.jndi.ldap.LdapCtx.searchAux(LdapCtx.java:1828)
at com.sun.jndi.ldap.LdapCtx.c_search(LdapCtx.java:1751)
at com.sun.jndi.toolkit.ctx.ComponentDirContext.p_search(ComponentDirContext.java:386)
at com.sun.jndi.toolkit.ctx.PartialCompositeDirContext.search(PartialCompositeDirContext.java:347)
at com.sun.jndi.toolkit.ctx.PartialCompositeDirContext.search(PartialCompositeDirContext.java:332)
at javax.naming.directory.InitialDirContext.search(InitialDirContext.java:252)
at javax.naming.directory.InitialDirContext.search(InitialDirContext.java:252)
at com.virsa.ae.service.umi.ldap.LDAPSearchUser.getUsers(LDAPSearchUser.java:518)
at com.virsa.ae.service.umi.ldap.LDAPSearchUser.getUserById(LDAPSearchUser.java:760)
at com.virsa.ae.service.umi.ldap.LDAPAuthenticator.validate(LDAPAuthenticator.java:131)
at com.virsa.ae.actions.LoginAction.requestorLoginHandler(LoginAction.java:847)
at com.virsa.ae.actions.LoginAction.execute(LoginAction.java:82)
at com.virsa.ae.commons.utils.framework.NavigationEngine.execute(NavigationEngine.java:256)
at com.virsa.ae.commons.utils.framework.servlet.AEFrameworkServlet.service(AEFrameworkServlet.java:423)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:401)
at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:266)
at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:386)
at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:364)
at com.sap.engine.services.httpserver.server.RequestAnalizer.invokeWebContainer(RequestAnalizer.java:1039)
at com.sap.engine.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:265)
at com.sap.engine.services.httpserver.server.Client.handle(Client.java:95)
at com.sap.engine.services.httpserver.server.Processor.request(Processor.java:175)
at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:33)
at com.sap.engine.core.cluster.impl6.session.MessageRunner.run(MessageRunner.java:41)
at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)
at java.security.AccessController.doPrivileged(AccessController.java:207)
at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:102)
at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:172)My issue is stil not received, i hav send a document to the system team to follow for the integration. The AD configuration for QM shud be very expicit or else integration will not work. I am attachin the doc here. Let me knw if that helps.
-
LDAP configuration error for SampleLiteApp in OBIEE 11g
Hi Experts,
I am trying to configure the LDAP for "SampleAppLite" application which comes with OBIEE 11g default installation in OBIEE11g. I followed the following steps in the oracle document,
http://download.oracle.com/docs/cd/E14571_01/bi.1111/e10543/privileges.htm#BABCDCFE
Unfortunately i am getting the following exception when i start my OBIEE server, not only that after this also i am getting same error when i try to login using the any of the user (User is LDAP).
(initially MyBISystemUser as <user_id> )
++java.security.PrivilegedActionException: oracle.bi.security.service.SecurityServiceException: SecurityService::authenticateUserWithLanguage - '<user_id>' was authenticated but could not located within the Identity Store.++
++at oracle.bi.security.service.SecurityWebService.authenticateWithLanguage(SecurityWebService.java:185)++
++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 weblogic.wsee.jaxws.WLSInstanceResolver$WLSInvoker.invoke(WLSInstanceResolver.java:92)++
++at weblogic.wsee.jaxws.WLSInstanceResolver$WLSInvoker.invoke(WLSInstanceResolver.java:74)++
++at com.sun.xml.ws.server.InvokerTube$2.invoke(InvokerTube.java:151)++
++at com.sun.xml.ws.server.sei.EndpointMethodHandlerImpl.invoke(EndpointMethodHandlerImpl.java:265)++
++at com.sun.xml.ws.server.sei.SEIInvokerTube.processRequest(SEIInvokerTube.java:100)++
++at weblogic.wsee.jaxws.tubeline.FlowControlTube$FlowControlAwareTube.processRequest(FlowControlTube.java:155)++
++at weblogic.wsee.jaxws.tubeline.FlowControlTube$1.run(FlowControlTube.java:94)++
++at weblogic.wsee.jaxws.tubeline.FlowControlTube$1.run(FlowControlTube.java:92)++
++at javax.security.auth.Subject.doAs(Subject.java:337)++
++at weblogic.wsee.jaxws.tubeline.FlowControlTube.processRequest(FlowControlTube.java:91)++
++at com.sun.xml.ws.api.pipe.Fiber.__doRun(Fiber.java:604)++
++at com.sun.xml.ws.api.pipe.Fiber._doRun(Fiber.java:563)++
++at com.sun.xml.ws.api.pipe.Fiber.doRun(Fiber.java:548)++
++at com.sun.xml.ws.api.pipe.Fiber.runSync(Fiber.java:445)++
++at com.sun.xml.ws.server.WSEndpointImpl$2.process(WSEndpointImpl.java:373)++
++at com.sun.xml.ws.transport.http.HttpAdapter$HttpToolkit.handle(HttpAdapter.java:524)++
++at com.sun.xml.ws.transport.http.HttpAdapter.handle(HttpAdapter.java:255)++
++at com.sun.xml.ws.transport.http.servlet.ServletAdapter.handle(ServletAdapter.java:141)++
++at weblogic.wsee.jaxws.WLSServletAdapter.handle(WLSServletAdapter.java:210)++
++at weblogic.wsee.jaxws.HttpServletAdapter$AuthorizedInvoke.run(HttpServletAdapter.java:311)++
am i missing any configuration? Or is it a bug in oracle OBIEE 11g? Can anyone guide me to resolve this issue.
Much appreciate your answerThough this is little late for you but may help others.
Check default authenticator and ensure that control flag is NOT set to REQUIRED
Check here http://onlineappsdba.com/index.php/2011/06/21/unable-to-login-to-obiee-anylytics-after-oid-integration-user-was-authenticated-but-could-not-be-located-within-the-identity-store/ -
JNDI error while generating pdf from crystal reports in java
Hi, i want to generate PDF from crystal reports in java. I have the .PDF file with database configured into the report. Following details are available in report.
1. Server Name = testdb
2. Database Name = testdb
3. User
4. Password
I am using CR XI.
In CRConfig.xml i had given following details.
<JDBC>
<CacheRowSetSize>100</CacheRowSetSize>
<JDBCURL>jdbc:oracle:thin:@192.218.216.102:1521://TESTDB</JDBCURL>
<JDBCClassName>oracle.jdbc.driver.OracleDriver</JDBCClassName>
<JDBCUserName>user</JDBCUserName>
<JNDIURL>password</JNDIURL>
<JNDIConnectionFactory></JNDIConnectionFactory>
<JNDIInitContext>/</JNDIInitContext>
<JNDIUserName>testdb</JNDIUserName>
<GenericJDBCDriver>
<Default>
<ServerType>UNKNOWN</ServerType>
<QuoteIdentifierOnOff>ON</QuoteIdentifierOnOff>
<StoredProcType>Standard</StoredProcType>
<LogonStyle>Standard</LogonStyle>
</Default>
</GenericJDBCDriver>
</JDBC>
When i am calling from java as standalone, i am getting following error.
JRCAgent1 detected an exception: Error finding JNDI name (testdb)
at com.crystaldecisions.sdk.occa.report.lib.ReportSDKException.throwReportSDKException(Unknown Source) at com.businessobjects.reports.sdk.b.i.if(Unknown Source)
Can anyone let me know where is the problem?Actually, the question boils down to; does the framework support the fonts?
I believe that my question re. this working in the designer was valid. The designer does not use the framework, so if it works there, it is either a framework issue or a runtime print engine issue.
I believe if you use the code below, it will list fonts available to the framework:
foreach(FontFamily ff in FontFamily.Families)
System.Diagnostics.Debug.WriteLine(ff.Name);
For more information see kbase [1198306 - Crystal Report displaying incorrect font in Microsoft Visual Studio .NET|http://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/oss_notes_boj/sdn_oss_boj_dev/sap(bD1lbiZjPTAwMQ==)/bc/bsp/spn/scn_bosap/notes%7B6163636573733d36393736354636443646363436353344333933393338323636393736354637333631373036453646373436353733354636453735364436323635373233443330333033303331333133393338333333303336%7D.do]
Ludek -
Reg. JNDI error when starting monitor server
Hi all,
I am installing CCMS for our CRM4.0 Server. At one point of the installation, it asks to start the monitor server. When I start the monitor.bat it throws a error saying "<b>Cannot Connect to Cluster , beacuse of null. ID003814 : JNDI exception in getinitialContext of InitialContextFactoryImpl</b>".
Can anyone please throw some light on this?
Thanks in advance,
Krishna Karthik PStop the existing IS & AS as root or kill the (ois_server,aaa_server) process manually since the pid, pid_watchdog process are catch hold by root user. Logon as normal oracle user and issue the command start_ois_sever_nptl.
Maybe you are looking for
-
APEX SSO - execution of regapp.sql failing
Hi All, I have Database 11.1.0.6.0. APEX version is 3.0.1 I am trying to Configure SSO(single sign-on) with Apex. I am logged in as FLOWS_030100 into the database I am facing following issues when trying to execute the regapp.sql, which is extracted
-
Downloads folder disappeared from the desktop?
Hello! Mavericks user here. Today I was trying to find the downloads folder, you know the folder where all newly downloaded files end up on the right lower border of the screen, and are beautifully filed with the newest download at the bottom. So for
-
Interaction Center scenario: total time when agent is "not ready"
Hi, I have a requirement to show the total time when an agent is "not ready" in IC. I know an agent is either "ready" (to pick up calls) or "not ready". Any idea which business content handles this? Thanks!
-
Hi Every One, I Updated my Mozilla-Firefox to ver. 3.6, and after that I see a black bar above the tabs , and below the other toolbars. Please help me how can I remove it, and what is it! Thanks...
-
Hi All I have a report requirement in OBIEE 11g to have guage for sales amount with three thresholds for red,green and yellow. The requirement is to have scale selector on the report which can change the % values for red,green and yellow areas. For e