File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Websphere and the fly likes Call Websphere EJB From Standalone Java Client Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Soft Skills this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Products » Websphere
Bookmark "Call Websphere EJB From Standalone Java Client" Watch "Call Websphere EJB From Standalone Java Client" New topic
Author

Call Websphere EJB From Standalone Java Client

Ramesh Sahu
Ranch Hand

Joined: Jul 14, 2008
Posts: 32
Hi All,

I am trying to a add a ldap attribute to one of the ldap repository under federated repository. The repository is microsoft Active Directory. I am providing the following data as the new supported ldap attribute creation -
Name - employeeID
Property Name - employeeID
syntax -
Entity Type - PersonAccount
.....

Trying to save the above , results in below error -

CWWIM4516E The 'employeeID' property is not defined for the 'PersonAccount' entity type.

Logs are below -

[8/15/12 12:37:12:419 EDT] 00000033 exception E com.ibm.ws.wim.config.LDAPRepositoryConfigHelper validateEntityTypeAndPropertyNames CWWIM4516E The 'employeeID' property is not defined for the 'PersonAccount' entity type.
[8/15/12 12:37:12:419 EDT] 00000033 exception E com.ibm.ws.wim.config.LDAPRepositoryConfigHelper validateEntityTypeAndPropertyNames
com.ibm.websphere.wim.exception.WIMConfigurationException: CWWIM4516E The 'employeeID' property is not defined for the 'PersonAccount' entity type.
at com.ibm.ws.wim.config.LDAPRepositoryConfigHelper.validateEntityTypesAndPropertyName(LDAPRepositoryConfigHelper.java:3007)
at com.ibm.ws.wim.config.LDAPRepositoryConfigHelper.addIdMgrLDAPAttr(LDAPRepositoryConfigHelper.java:2121)
at com.ibm.ws.wim.config.commands.LDAPRepositoryConfig.addIdMgrLDAPAttr(LDAPRepositoryConfig.java:414)
at com.ibm.ws.wim.config.commands.IdMgrRepositoryConfigCommandsProvider.addIdMgrLDAPAttr(IdMgrRepositoryConfigCommandsProvider.java:716)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:60)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:37)
at java.lang.reflect.Method.invoke(Method.java:611)
at com.ibm.websphere.management.cmdframework.provider.SimpleCommandProvider.executeReal(SimpleCommandProvider.java:156)
at com.ibm.websphere.management.cmdframework.provider.SimpleCommandProvider.execute(SimpleCommandProvider.java:142)
at com.ibm.websphere.management.cmdframework.provider.SimpleAdminCommand.execute(SimpleAdminCommand.java:57)
at com.ibm.ws.console.security.AdminCommandsIdMgrConfig.createOrUpdateLDAPAttr(AdminCommandsIdMgrConfig.java:926)
at com.ibm.ws.console.security.IdMgrRepositoryLDAP.LDAPAttrDetailActionGen.updateLDAPAttr(LDAPAttrDetailActionGen.java:135)
at com.ibm.ws.console.security.IdMgrRepositoryLDAP.LDAPAttrDetailAction.execute(LDAPAttrDetailAction.java:97)
at org.apache.struts.action.RequestProcessor.processActionPerform(Unknown Source)
at org.apache.struts.action.RequestProcessor.process(Unknown Source)
at org.apache.struts.action.ActionServlet.process(Unknown Source)
at org.apache.struts.action.ActionServlet.doPost(Unknown Source)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:595)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:668)
at com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:1214)
at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:774)
at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:456)
at com.ibm.ws.webcontainer.servlet.ServletWrapperImpl.handleRequest(ServletWrapperImpl.java:178)
at com.ibm.ws.webcontainer.filter.WebAppFilterChain.invokeTarget(WebAppFilterChain.java:125)
at com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:92)
at com.ibm.ws.console.core.servlet.WSCUrlFilter.setUpCommandAssistance(WSCUrlFilter.java:950)
at com.ibm.ws.console.core.servlet.WSCUrlFilter.continueStoringTaskState(WSCUrlFilter.java:499)
at com.ibm.ws.console.core.servlet.WSCUrlFilter.doFilter(WSCUrlFilter.java:320)
at com.ibm.ws.webcontainer.filter.FilterInstanceWrapper.doFilter(FilterInstanceWrapper.java:192)
at com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:89)
at com.ibm.ws.webcontainer.filter.WebAppFilterManager.doFilter(WebAppFilterManager.java:926)
at com.ibm.ws.webcontainer.filter.WebAppFilterManager.invokeFilters(WebAppFilterManager.java:1023)
at com.ibm.ws.webcontainer.webapp.WebApp.handleRequest(WebApp.java:3703)
at com.ibm.ws.webcontainer.webapp.WebGroup.handleRequest(WebGroup.java:304)
at com.ibm.ws.webcontainer.WebContainer.handleRequest(WebContainer.java:962)
at com.ibm.ws.webcontainer.WSWebContainer.handleRequest(WSWebContainer.java:1662)
at com.ibm.ws.webcontainer.channel.WCChannelLink.ready(WCChannelLink.java:195)
at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleDiscrimination(HttpInboundLink.java:452)
at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleNewRequest(HttpInboundLink.java:511)
at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.processRequest(HttpInboundLink.java:305)
at com.ibm.ws.http.channel.inbound.impl.HttpICLReadCallback.complete(HttpICLReadCallback.java:83)
at com.ibm.ws.ssl.channel.impl.SSLReadServiceContext$SSLReadCompletedCallback.complete(SSLReadServiceContext.java:1784)
at com.ibm.ws.tcp.channel.impl.AioReadCompletionListener.futureCompleted(AioReadCompletionListener.java:165)
at com.ibm.io.async.AbstractAsyncFuture.invokeCallback(AbstractAsyncFuture.java:217)
at com.ibm.io.async.AsyncChannelFuture.fireCompletionActions(AsyncChannelFuture.java:161)
at com.ibm.io.async.AsyncFuture.completed(AsyncFuture.java:138)
at com.ibm.io.async.ResultHandler.complete(ResultHandler.java:204)
at com.ibm.io.async.ResultHandler.runEventProcessingLoop(ResultHandler.java:775)
at com.ibm.io.async.ResultHandler$2.run(ResultHandler.java:905)
at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1659)


Any idea on what the the problem might be or a way to map a ldap attribute to a particular entity type.

Thanks,
Ramesh
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Call Websphere EJB From Standalone Java Client