Exception In UserManager

Hi,
I used custom 'filterfunction' with
"userManager.userCollection" to filter some of the users out of the
collection and registered customField in 'userDescriptor' and when
that field is updated so the collection is updated too in order to
reflect new changes in the collection then after that here is what
i get.
RangeError: Index '0' specified is out of bounds.
at mx.collections::ListCollectionView/removeItemAt()
at
com.adobe.rtc.sharedManagers::UserManager/removeUserFromCollection()[com\adobe\rtc\shared Managers\UserManager.as:1017]
at
com.adobe.rtc.sharedManagers::UserManager/onItemReceive()[com\adobe\rtc\sharedManagers\Us erManager.as:853]
at flash.events::EventDispatcher/dispatchEventFunction()
at flash.events::EventDispatcher/dispatchEvent()
at com.adobe.rtc.sharedModel::CollectionNode/
http://www.adobe.com/2006/connect/cocomo/messaging/internal::receiveItem()[com\adobe\rtc\s haredModel\CollectionNode.as:745
at com.adobe.rtc.messaging.manager::MessageManager/
http://www.adobe.com/2006/connect/cocomo/messaging/internal::receiveItem()[com\adobe\rtc\m essaging\manager\MessageManager.as:662
at
com.adobe.rtc.session.managers::SessionManagerBase/receiveItem()[com\adobe\rtc\session\ma nagers\SessionManagerBase.as:330]

Hi,
Have you also added the similar filter function to
hostCollection, participantCollection and audienceCollection. My
take is, since inside the functions removeUserFromCollection and
addUserToCollection in UserManager, we are adding/removing from in
the corresponding role Collections, so if you just add the
filterFunction for the userCollection and not others, it will try
to execute the code for other role Collections while that
userDescriptor is already filtered out.
Try that and see what happens. Also, one more thing you can
try is if you are linking to the afcs source ,
inside onItemReceive function in UserManager.as
inside the else if (isCustomFieldDefined(p_evt.nodeName) use
userD = getUserDescriptor(p_evt.item.itemID); instead of
userD = getUserDescriptor(p_evt.item.associatedUserID);
You can do this by subclassing and overridding the
onItemReceive function
Let me know if these solves your problem. Otherwise I will
run on myside and let you know.
Thanks
Regards
Hironmay Basu

Similar Messages

  • Exception by getAuthenticationProviderMBean()

    Hi,
    Below is my code that i am trying to use to create an user programmatically in weblogic portal. But it giving starnge exceptions. If anybody have encountered such exception then please suggest how to fix it.
    Rajeeb ( [email protected] )
    Code:
    import javax.naming.Context;
    import weblogic.management.MBeanHome;
    import weblogic.management.configuration.DomainMBean;
    import weblogic.management.configuration.SecurityConfigurationMBean;
    import weblogic.management.security.RealmMBean;
    import weblogic.management.security.authentication.AuthenticationProviderMBean;
    //import weblogic.management.security.authentication.UserEditorMBean;
    import weblogic.jndi.Environment;
    import weblogic.security.providers.authentication.DefaultAuthenticatorMBean;
    public class UserManagement {
         //private static UserEditorMBean editor = null;
         //public UserManagement(String user,String password,String serverName,String serverURL)
         //@common:security run-as-principal="weblogic" run-as="Administrators"
         public UserManagement() {
              String user = "weblogic";
              String password = "weblogic";
              String serverURL = "t3://localhost:7001";
              String serverName = "myserver";
              MBeanHome adminHome = null;
              SecurityConfigurationMBean conBean = null;
              RealmMBean realmBean = null;
              AuthenticationProviderMBean[] authBeans = null;
              DefaultAuthenticatorMBean defBean = null;
              DomainMBean dBean = null;
              System.out.println("Entered UserManagement Constructor");
              try {
                   Environment env = new Environment();
                   env.setSecurityPrincipal(user);
                   env.setSecurityCredentials(password);
                   env.setProviderUrl(serverURL);
                   Context ctx = env.getInitialContext();
                   System.out.println("Context Name: " + ctx);
                   adminHome = (MBeanHome) ctx.lookup(MBeanHome.ADMIN_JNDI_NAME);
                   System.out.println("Got the MBeanHome: " + adminHome);
                   System.out.println("\n");
                   //adminHome = Helper.getMBeanHome(user,password,serverURL,serverName);
                   //System.out.println("Got Local MBeanHome by Helper Class");
                   //System.out.println("Local Admin Home Name: " + adminHome);
                   dBean = adminHome.getActiveDomain();
                   System.out.println("Domain MBean: "+ dBean);
                   System.out.println("\n");
                   conBean = dBean.getSecurityConfiguration();
                   System.out.println("Security configuration MBean: "+ conBean);
                   System.out.println("\n");
                   realmBean = conBean.findDefaultRealm();
                   System.out.println("Got the default realm: " + realmBean);
                   System.out.println("\n");
                   authBeans = realmBean.getAuthenticationProviders(); //is it the defaultAuthenticationProviderMBean???
                   defBean = (DefaultAuthenticatorMBean)authBeans[0];
                   System.out.println("Got the default Authenticator MBean: " + defBean);
                   //defBean.createUser("test","testtocreate","just a test of wls81 security");
                   //System.out.println("\n Created successfully!");
                   //System.out.println("\n\n");
                   //then find all the authentication providers
                   //AuthenticationProviderMBean[] providers = rbean.getAuthenticationProviders();
                   //editor = (UserEditorMBean) providers[0];
                   //providers[0] is the default authenticator
                   }catch (Exception e) {
                        e.printStackTrace();
         } // End of constructor
    Output and Exceptions:
    Entered UserManagement Constructor
    Context Name: WLContext ()
    Got the MBeanHome: weblogic.rmi.internal.BasicRemoteRef@102 - hostID: '-7508997471895112706S:10.116.70.99:[7001,7001,-1,-1,7001,-1,-1,0,0]:thortech:myserver', oid: '258'
    Domain MBean: [Caching Stub]Proxy for thortech:Name=thortech,Type=Domain
    Security configuration MBean: [Caching Stub]Proxy for thortech:Name=thortech,Type=SecurityConfiguration
    Got the default realm: Security:Name=myrealm
    java.lang.NullPointerException
         at weblogic.management.commo.CommoProxy.createFreshProxy(CommoProxy.java:576)
         at weblogic.management.commo.CommoProxy.getProxyInstance(CommoProxy.java:485)
         at weblogic.management.commo.CommoProxy.getCommoProxy(CommoProxy.java:178)
         at weblogic.management.commo.CommoProxy.wrap(CommoProxy.java:599)
         at weblogic.management.commo.CommoProxy.wrap(CommoProxy.java:609)
         at weblogic.management.commo.CommoProxy.invoke(CommoProxy.java:258)
         at $Proxy0.getAuthenticationProviders(Unknown Source)
         at com.webportal.UserManagement.<init>(UserManagement.java:75)
         at com.webportal.UserManagement.main(UserManagement.java:121)

    Hi satya,
    I have added three jars. weblogic.jar,wlsecurityProviders.jar and wlManagement.jar
    and still i am getting the same exceptions.
    Do i need to define some security role for the "weblogic"
    username or it is defined somewhere..
    do clarify
    Thanks
    Rajeeb

  • Azure Mobile Services and ASP Identity - Exception when using UserManager

    I've reviewed
    this post in the AMS forum and it doesn't really answer the question. I already know how to integrate authentication, but Identity implements a lot of boilerplate user management code that I don't want to have to reproduce.  My question is: Is it possible
    to use Asp Identity framework with Azure Mobile Services? Since AMS Back End has Microsoft ASP.NET Identity Core/Owin as dependencies, I would think that the answer is yes, that they are compatible?
    I have been progressing as if it were possible, but yet, now when I go to try to use the Identity UserManager, I am getting the exception stated in
    this asp.net identity bug. Are there references in Azure Mobile Services Back End to previous versions of Microsoft.AspNet.Identity that would result in mismatched assembly versions?
    I have tried uninstalling and reinstalling Asp.Net Identity, even to the pre-release of 2.2.0, but I am still getting the exception that it couldn't load the CultureAwaiter. I have asked in that post if the bug has been fixed, but from the scant evidence of
    the posts and lack of responses, I would think that the bug has been fixed.
    ibGib

    The bug referenced in the original post shows that the required version is 2.1. I found that when I published to Azure, even though I had the correct (2.1) versions of the NuGet packages installed, the loaded dlls were not the correct versions. I do not
    know if this is an Azure problem or an Azure Mobile Services problem.
    I came to this conclusion by looking at the loaded Identity dlls in a new, up-to-date mvc app, and then looking at the same loaded dlls while debugging in Azure. The Azure dlls are older versions than the up-to-date MVC app versions. I figure that somewhere
    along the lines, Azure Mobile Services is loading the incorrect version of the Identity dlls, even though I have the correct versions installed via NuGet. Maybe there is another explanation.
    But regardless, I should be able to use the up-to-date versions of Identity in order to address bugs in the Identity framework. It would be nice if an AMS person would clarify about the dll versioning. I did come across
    this SO comment by someone who seems to be an AMS guru, but it doesn't seem to make sense. It does, however, seem to corroborate my and BinLaw's observed behavior of the backend dlls.
    ibGib

  • SSO issue in the production server,com.sap.mw.jco.JCO$Exception: (103)

    com.sap.mw.jco.JCO$Exception: (103) RFC_ERROR_LOGON_FAILURE: This system rejects all logons using SSO tickets
    in the production server.....
    while testing the jco maintained for Ess applications.
    if i go for uidpw method for modeldata destination i am getting the error. in the Ess pages that administrtor not in this peroid(administrator with which id i maintained jco destination)
    if i assign one employee to the admin in pa30......for every employee getting the same details of admin)
    I guess this problem with modeldata ......i should maintain the usermanagement method for modeldata jco destination is logon ticket.
    while maintainig that ping is successfull but getting the above error.
    it is the problem with production server.......of E.P
    in dev and quality everything is working fine.
    plz help me out.
    thankyou
    swapna

    Hi Swapna,
    Please check the logon group properties for SAP system in t-code SMLG. If there is any issue with logon group then it might cause for this issue.
    Refer to [Click here|https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/user-interface-technology/wd%20java/7.0/portal%20integration/how%20to%20configure%20the%20jco%20destination%20settings.pdf] and [System Landscape Directory Process and JCo Configuration|http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/c0c1d495-048e-2b10-babd-924a136f56b5?QuickLink=index&overridelayout=true]
    Hope it will helps
    Regards, Arun Jaiswal

  • EP 6.0 SP2: User self-registration in Company exception

    Hi!
    It's seems this question to SAP' team.
    I have installed EP 6.0 SP2 patch 4 hf 7 and CM patch 4 hf 4. I want to implement Delegated Administration. I set following options and restart J2EE engine:
    ume.logon.selfreg=true
    ume.admin.selfreg_company=true
    ume.tpd.companies=company1;company2;company3;
    ume.tpd.imp.class=com.sap.security.core.tpd.SimpleTPD
    On screen "Welcome to User Registration" I filled in all necessary data and choose Company. Exception appears in console log file when on the next screen ("Apply for Company company1...") I press "submit":
    Aug 30, 2004 9:40:42 AM # Client_Thread_0      Fatal           >>> JSPCompiler >>> ERROR in Compiling :JSPFileInfo :4365243
    JSP File : F:\usr\sap\REAP\j2ee\j2ee_00\cluster\server\services\servlet_jsp\work\jspTemp\irj\root\WEB-INF\portal\portalapps\c
    om.sap.portal.usermanagement.admin\selfreg_exception.jsp
    Class Name: sapportalsjspselfreg_exception
    Java File : F:\usr\sap\REAP\j2ee\j2ee_00\cluster\server\services\servlet_jsp\work\jspTemp\irj\root\WEB-INF\portal\portalapps\
    com.sap.portal.usermanagement.admin\work\_sapportalsjsp_selfreg_exception.java
    Package Name :
    Class File : F:\usr\sap\REAP\j2ee\j2ee_00\cluster\server\services\servlet_jsp\work\jspTemp\irj\root\WEB-INF\portal\portalapps
    \com.sap.portal.usermanagement.admin\work
    _sapportalsjsp_selfreg_exception.class
    Is out dated : false
    com.sapportals.portal.prt.servlets_jsp.server.compiler.CompilingException: Error in executing a process for compilation, F:/u
    sr/sap/REAP/j2ee/j2ee_00/cluster/server/services/servlet_jsp/work/jspTemp/irj/root/WEB-INF/portal/portalapps/com.sap.portal.u
    sermanagement.admin/work/_sapportalsjsp_selfreg_exception.java:93: cannot resolve symbol
    symbol  : class ComponentAccessToLogic
    location: class sapportalsjspselfreg_exception
                              com.sap.security.core.admin.IAccessToLogic proxy = new ComponentAccessToLogic (componentRequest, aR
    esponse);
                                                                                    ^
    1 error
            at com.sapportals.portal.prt.servlets_jsp.server.compiler.J2eeCompiler_6_20.launchCompilerProcess(J2eeCompiler_6_20.j
    ava:577)
            at com.sapportals.portal.prt.servlets_jsp.server.compiler.J2eeCompiler_6_20.compileExternal(J2eeCompiler_6_20.java:37
    3)
            at com.sapportals.portal.prt.servlets_jsp.server.compiler.J2eeCompiler_6_20.compile(J2eeCompiler_6_20.java:689)
            at com.sapportals.portal.prt.servlets_jsp.server.jsp.JSPParser.parse(JSPParser.java:2143)
            at com.sapportals.portal.prt.servlets_jsp.server.jsp.JSPCompiler.compile(JSPCompiler.java:76)
            at com.sapportals.portal.prt.servlets_jsp.server.jsp.JSPCompiler.run(JSPCompiler.java:120)
            at com.sapportals.portal.prt.core.broker.JSPComponentItem.compileJSP(JSPComponentItem.java:263)
            at com.sapportals.portal.prt.core.broker.JSPComponentItem.getComponentInstance(JSPComponentItem.java:122)
            at com.sapportals.portal.prt.core.broker.PortalComponentItemFacade.service(PortalComponentItemFacade.java:338)
            at com.sapportals.portal.prt.core.broker.PortalComponentItem.service(PortalComponentItem.java:817)
            at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:385)
            at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:462)
            at com.sapportals.portal.prt.component.AbstractComponentResponse.include(AbstractComponentResponse.java:88)
            at com.sapportals.portal.prt.component.PortalComponentResponse.include(PortalComponentResponse.java:226)
            at com.sap.security.core.admin.ComponentAccessToLogic.gotoPage(ComponentAccessToLogic.java:129)
            at com.sap.security.core.admin.SelfRegLogic.executeRequest(SelfRegLogic.java:192)
            at com.sapportals.portal.prt.component.usermanagement.admin.SelfRegComponent.doContent(SelfRegComponent.java:75)
    If it necessary I can provide full stack trace...
    Is it some configuration problem or portal's error?
    WBR, Lnk.

    I have a similar problem.
    Sep 29, 2004 12:16:01 PM # Client_Thread_4      Warning         Authentication error.
    com.sap.security.api.NoSuchUserAccountException: USER_AUTH_FAILED
         at com.sap.security.core.imp.AbstractUserAccount.<init>(AbstractUserAccount.java:290)
         at com.sap.security.core.imp.AbstractUserAccount.<init>(AbstractUserAccount.java:242)
         at com.sap.security.core.imp.DBTextFileUserAccount.<init>(DBTextFileUserAccount.java:37)
         at com.sap.security.core.imp.UserAccountFactory.getUserAccountByLogonId(UserAccountFactory.java:335)
         at com.sap.security.core.imp.UserAccountFactory.getAuthenticatedUserAccount(UserAccountFactory.java:685)
         at com.sap.security.core.logon.imp.DefaultLoginModule.login(DefaultLoginModule.java:253)
         at com.sap.security.core.logon.imp.LoginContext.personalizeRequest(LoginContext.java:96)
         at com.sap.security.core.logon.imp.JUMAuthenticator.logon(JUMAuthenticator.java:766)
         at com.sapportals.portal.prt.component.usermanagement.admin.SelfRegComponent.doAfterContent(SelfRegComponent.java:123)
         at com.sapportals.portal.prt.component.AbstractPortalComponent.handleEvent(AbstractPortalComponent.java:404)
         at com.sapportals.portal.prt.pom.ComponentNode.handleEvent(ComponentNode.java:250)
         at com.sapportals.portal.prt.pom.PortalNode.fireEventOnNode(PortalNode.java:333)
         at com.sapportals.portal.prt.core.PortalRequestManager.traverseAndFire(PortalRequestManager.java:797)
         at com.sapportals.portal.prt.core.PortalRequestManager.traverseAndFire(PortalRequestManager.java:803)
         at com.sapportals.portal.prt.core.PortalRequestManager.runRequestCycle(PortalRequestManager.java:684)
         at com.sapportals.portal.prt.connection.ServletConnection.handleRequest(ServletConnection.java:208)
         at com.sapportals.portal.prt.dispatcher.Dispatcher$doService.run(Dispatcher.java:532)
         at java.security.AccessController.doPrivileged(Native Method)
         at com.sapportals.portal.prt.dispatcher.Dispatcher.service(Dispatcher.java:415)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at com.inqmy.services.servlets_jsp.server.InvokerServlet.service(InvokerServlet.java:126)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at com.inqmy.services.servlets_jsp.server.RunServlet.runSerlvet(RunServlet.java:149)
         at com.inqmy.services.servlets_jsp.server.ServletsAndJspImpl.startServlet(ServletsAndJspImpl.java:832)
         at com.inqmy.services.httpserver.server.RequestAnalizer.checkFilename(RequestAnalizer.java:665)
         at com.inqmy.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:312)
         at com.inqmy.services.httpserver.server.Response.handle(Response.java:173)
         at com.inqmy.services.httpserver.server.HttpServerFrame.request(HttpServerFrame.java:1245)
         at com.inqmy.core.service.context.container.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:36)
         at com.inqmy.core.cluster.impl5.ParserRunner.run(ParserRunner.java:55)
         at com.inqmy.core.thread.impl0.ActionObject.run(ActionObject.java:46)
         at java.security.AccessController.doPrivileged(Native Method)
         at com.inqmy.core.thread.impl0.SingleThread.run(SingleThread.java:148)
    Nested Exception:
    com.sap.security.core.persistence.datasource.PersistenceException: User account for logonid "ricardom" not found!
         at com.sap.security.core.imp.AbstractUserAccount.<init>(AbstractUserAccount.java:290)
         at com.sap.security.core.imp.AbstractUserAccount.<init>(AbstractUserAccount.java:242)
         at com.sap.security.core.imp.DBTextFileUserAccount.<init>(DBTextFileUserAccount.java:37)
         at com.sap.security.core.imp.UserAccountFactory.getUserAccountByLogonId(UserAccountFactory.java:335)
         at com.sap.security.core.imp.UserAccountFactory.getAuthenticatedUserAccount(UserAccountFactory.java:685)
         at com.sap.security.core.logon.imp.DefaultLoginModule.login(DefaultLoginModule.java:253)
         at com.sap.security.core.logon.imp.LoginContext.personalizeRequest(LoginContext.java:96)
         at com.sap.security.core.logon.imp.JUMAuthenticator.logon(JUMAuthenticator.java:766)
         at com.sapportals.portal.prt.component.usermanagement.admin.SelfRegComponent.doAfterContent(SelfRegComponent.java:123)
         at com.sapportals.portal.prt.component.AbstractPortalComponent.handleEvent(AbstractPortalComponent.java:404)
         at com.sapportals.portal.prt.pom.ComponentNode.handleEvent(ComponentNode.java:250)
         at com.sapportals.portal.prt.pom.PortalNode.fireEventOnNode(PortalNode.java:333)
         at com.sapportals.portal.prt.core.PortalRequestManager.traverseAndFire(PortalRequestManager.java:797)
         at com.sapportals.portal.prt.core.PortalRequestManager.traverseAndFire(PortalRequestManager.java:803)
         at com.sapportals.portal.prt.core.PortalRequestManager.runRequestCycle(PortalRequestManager.java:684)
         at com.sapportals.portal.prt.connection.ServletConnection.handleRequest(ServletConnection.java:208)
         at com.sapportals.portal.prt.dispatcher.Dispatcher$doService.run(Dispatcher.java:532)
         at java.security.AccessController.doPrivileged(Native Method)
         at com.sapportals.portal.prt.dispatcher.Dispatcher.service(Dispatcher.java:415)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at com.inqmy.services.servlets_jsp.server.InvokerServlet.service(InvokerServlet.java:126)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at com.inqmy.services.servlets_jsp.server.RunServlet.runSerlvet(RunServlet.java:149)
         at com.inqmy.services.servlets_jsp.server.ServletsAndJspImpl.startServlet(ServletsAndJspImpl.java:832)
         at com.inqmy.services.httpserver.server.RequestAnalizer.checkFilename(RequestAnalizer.java:665)
         at com.inqmy.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:312)
         at com.inqmy.services.httpserver.server.Response.handle(Response.java:173)
         at com.inqmy.services.httpserver.server.HttpServerFrame.request(HttpServerFrame.java:1245)
         at com.inqmy.core.service.context.container.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:36)
         at com.inqmy.core.cluster.impl5.ParserRunner.run(ParserRunner.java:55)
         at com.inqmy.core.thread.impl0.ActionObject.run(ActionObject.java:46)
         at java.security.AccessController.doPrivileged(Native Method)
         at com.inqmy.core.thread.impl0.SingleThread.run(SingleThread.java:148)
    Sep 29, 2004 12:16:01 PM # Client_Thread_4      Warning         [class=com.sap.security.core.admin.SelfRegComponent][method=Logging in failed][cl=2320]
    javax.security.auth.login.LoginException: USER_AUTH_FAILED
         at com.sap.security.core.logon.imp.LoginContext.personalizeRequest(LoginContext.java:133)
         at com.sap.security.core.logon.imp.JUMAuthenticator.logon(JUMAuthenticator.java:766)
         at com.sapportals.portal.prt.component.usermanagement.admin.SelfRegComponent.doAfterContent(SelfRegComponent.java:123)
         at com.sapportals.portal.prt.component.AbstractPortalComponent.handleEvent(AbstractPortalComponent.java:404)
         at com.sapportals.portal.prt.pom.ComponentNode.handleEvent(ComponentNode.java:250)
         at com.sapportals.portal.prt.pom.PortalNode.fireEventOnNode(PortalNode.java:333)
         at com.sapportals.portal.prt.core.PortalRequestManager.traverseAndFire(PortalRequestManager.java:797)
         at com.sapportals.portal.prt.core.PortalRequestManager.traverseAndFire(PortalRequestManager.java:803)
         at com.sapportals.portal.prt.core.PortalRequestManager.runRequestCycle(PortalRequestManager.java:684)
         at com.sapportals.portal.prt.connection.ServletConnection.handleRequest(ServletConnection.java:208)
         at com.sapportals.portal.prt.dispatcher.Dispatcher$doService.run(Dispatcher.java:532)
         at java.security.AccessController.doPrivileged(Native Method)
         at com.sapportals.portal.prt.dispatcher.Dispatcher.service(Dispatcher.java:415)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at com.inqmy.services.servlets_jsp.server.InvokerServlet.service(InvokerServlet.java:126)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at com.inqmy.services.servlets_jsp.server.RunServlet.runSerlvet(RunServlet.java:149)
         at com.inqmy.services.servlets_jsp.server.ServletsAndJspImpl.startServlet(ServletsAndJspImpl.java:832)
         at com.inqmy.services.httpserver.server.RequestAnalizer.checkFilename(RequestAnalizer.java:665)
         at com.inqmy.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:312)
         at com.inqmy.services.httpserver.server.Response.handle(Response.java:173)
         at com.inqmy.services.httpserver.server.HttpServerFrame.request(HttpServerFrame.java:1245)
         at com.inqmy.core.service.context.container.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:36)
         at com.inqmy.core.cluster.impl5.ParserRunner.run(ParserRunner.java:55)
         at com.inqmy.core.thread.impl0.ActionObject.run(ActionObject.java:46)
         at java.security.AccessController.doPrivileged(Native Method)
         at com.inqmy.core.thread.impl0.SingleThread.run(SingleThread.java:148)
    Thanks.
    Bejar.

  • ADF Exception--Need some urgent help

    Hi Guys,
    I am a new biee in ADF and am trying to override an apply button on a JSPX page. I have created a Custom Bean, which popultes a drop down list and now now i want to select one item from drop down and when i click the apply button, the selected item from drop down needs to be saved in DB.
    Below is the code that i have written, however when i am trying to execute it i am getting exceptions. Please Help
    Caused By: javax.faces.FacesException: javax.el.PropertyNotFoundException: Missing Resource in EL implementation: ???propertyNotReadable???
    at com.sun.faces.application.ApplicationImpl.createComponent(ApplicationImpl.java:261)
    at javax.faces.webapp.UIComponentELTag.createComponent(UIComponentELTag.java:222)
    at javax.faces.webapp.UIComponentClassicTagBase.createChild(UIComponentClassicTagBase.java:513)
    at javax.faces.webapp.UIComponentClassicTagBase.findComponent(UIComponentClassicTagBase.java:782)
    at javax.faces.webapp.UIComponentClassicTagBase.doStartTag(UIComponentClassicTagBase.java:1354)
    at org.apache.myfaces.trinidad.webapp.UIXComponentELTag.doStartTag(UIXComponentELTag.java:71)
    at oracle.adfinternal.view.faces.unified.taglib.input.UnifiedSelectOneChoiceTag.doStartTag(UnifiedSelectOneChoiceTag.java:51)
    at oracle.jsp.runtime.tree.OracleJspBodyTagNode.executeHandler(OracleJspBodyTagNode.java:50)
    at oracle.jsp.runtime.tree.OracleJspCustomTagNode.execute(OracleJspCustomTagNode.java:262)
    at oracle.jsp.runtime.tree.OracleJspClassicTagNode.evalBody(OracleJspClassicTagNode.java:87)
    at oracle.jsp.runtime.tree.OracleJspBodyTagNode.executeHandler(OracleJspBodyTagNode.java:58)
    at oracle.jsp.runtime.tree.OracleJspCustomTagNode.execute(OracleJspCustomTagNode.java:262)
    at oracle.jsp.runtime.tree.OracleJspClassicTagNode.evalBody(OracleJspClassicTagNode.java:87)
    at oracle.jsp.runtime.tree.OracleJspBodyTagNode.executeHandler(OracleJspBodyTagNode.java:58)
    at oracle.jsp.runtime.tree.OracleJspCustomTagNode.execute(OracleJspCustomTagNode.java:262)
    at oracle.jsp.runtime.tree.OracleJspClassicTagNode.evalBody(OracleJspClassicTagNode.java:87)
    at oracle.jsp.runtime.tree.OracleJspBodyTagNode.executeHandler(OracleJspBodyTagNode.java:58)
    at oracle.jsp.runtime.tree.OracleJspCustomTagNode.execute(OracleJspCustomTagNode.java:262)
    at oracle.jsp.runtime.tree.OracleJspClassicTagNode.evalBody(OracleJspClassicTagNode.java:87)
    at oracle.jsp.runtime.tree.OracleJspBodyTagNode.executeHandler(OracleJspBodyTagNode.java:58)
    at oracle.jsp.runtime.tree.OracleJspCustomTagNode.execute(OracleJspCustomTagNode.java:262)
    at oracle.jsp.runtime.tree.OracleJspClassicTagNode.evalBody(OracleJspClassicTagNode.java:87)
    at oracle.jsp.runtime.tree.OracleJspBodyTagNode.executeHandler(OracleJspBodyTagNode.java:58)
    at oracle.jsp.runtime.tree.OracleJspCustomTagNode.execute(OracleJspCustomTagNode.java:262)
    at oracle.jsp.runtime.tree.OracleJspClassicTagNode.evalBody(OracleJspClassicTagNode.java:87)
    at oracle.jsp.runtime.tree.OracleJspIterationTagNode.executeHandler(OracleJspIterationTagNode.java:45)
    at oracle.jsp.runtime.tree.OracleJspCustomTagNode.execute(OracleJspCustomTagNode.java:262)
    at oracle.jsp.runtime.tree.OracleJspClassicTagNode.evalBody(OracleJspClassicTagNode.java:87)
    at oracle.jsp.runtime.tree.OracleJspBodyTagNode.executeHandler(OracleJspBodyTagNode.java:58)
    at oracle.jsp.runtime.tree.OracleJspCustomTagNode.execute(OracleJspCustomTagNode.java:262)
    at oracle.jsp.runtime.tree.OracleJspNode.execute(OracleJspNode.java:89)
    at oracle.jsp.runtimev2.ShortCutServlet._jspService(ShortCutServlet.java:89)
    at oracle.jsp.runtime.OracleJspBase.service(OracleJspBase.java:29)
    Below is the extract from the jsff.xml
    <mds:insert parent="pfl1" position="first">
    <af:selectOneChoice xmlns:af="http://xmlns.oracle.com/adf/faces/rich" id="e4680291729" label="Custom Dropdown"
    valueChangeListener="#{backingBeanScope.userformbean.submitActionValidator}" binding="#{backingBeanScope.userformbean.emailSelected}">
                   <f:selectItems xmlns:f="http://java.sun.com/jsf/core" value="#{backingBeanScope.userformbean.emaillistdropdown}" id="emlis12" />
              </af:selectOneChoice>
    </mds:insert>
    package oracle.iam.ui.sample.userform.view;
    import java.util.ArrayList;
    import java.util.HashSet;
    import java.util.List;
    import java.util.Set;
    import javax.faces.component.UIComponent;
    import java.util.StringTokenizer;
    import javax.el.MethodExpression;
    import javax.faces.context.FacesContext;
    import javax.faces.event.ActionEvent;
    import javax.faces.model.SelectItem;
    import oracle.adf.model.BindingContext;
    import oracle.adf.view.rich.component.rich.input.RichSelectItem;
    import oracle.adf.view.rich.component.rich.input.RichSelectOneChoice;
    import oracle.binding.BindingContainer;
    import oracle.iam.identity.exception.NoSuchUserException;
    import oracle.iam.identity.exception.UserSearchException;
    import oracle.iam.identity.usermgmt.api.UserManager;
    import oracle.iam.identity.usermgmt.api.UserManagerConstants;
    import oracle.iam.identity.usermgmt.vo.User;
    import oracle.iam.platform.Platform;
    import oracle.iam.platform.entitymgr.vo.SearchCriteria;
    import oracle.iam.selfservice.exception.UserLookupException;
    import oracle.jbo.uicli.binding.JUCtrlListBinding;
    import org.apache.tools.ant.taskdefs.Get;
    //import oracle.iam.ui.sample.common.model.OIMClientFactory;
    public class UserFormRequestBean {
    private static final String USER_LOGIN_ATTRIBUTE = "usr_login__c";
    private static final String EMAIL_ATTRIBUTE = "usr_email__c";
    private static final String EMAIL_LIST_ATTRIBUTE = "EMAIL_LIST__c";
    private static final String LAST_NAME_ATTRIBUTE = "usr_last_name__c";
    private static List<SelectItem> emaillistdropdown;
    private static RichSelectOneChoice emailSelected;
    private String preffemail;
    private static String filterboxvalue;
    private List<User> userlist;
    private static final String USR_LOGIN="oimcontext.currentUser.usr_key";
    private UIComponent emaillist;
    public UserFormRequestBean() {
    setFilterboxvalue("test custom bean");
    setEmaillistdropdown(getEmailList());
    public static List getEmailList() {
    // String userlastname =
    // FacesUtils.getAttributeBindingValue(LAST_NAME_ATTRIBUTE, String.class);
    emaillistdropdown = new ArrayList<SelectItem>();
    try {
    UserManager usrService = OIMClientFactory.getUserManager();
    Set retAttrs = new HashSet();
    String emailAttribute=null;
    SearchCriteria criteria = new SearchCriteria(UserManagerConstants.AttributeName.USER_LOGIN.getId(),"XELSYSADM", SearchCriteria.Operator.EQUAL);
    // SearchCriteria(UserManagerConstants.AttributeName.USER_LOGIN.getId(),userlogin, SearchCriteria.Operator.EQUAL);
    retAttrs.add("EMAIL_LIST");
    List<User> users = usrService.search(criteria, retAttrs, null);
    for (int i = 0; i < users.size(); i++) {
    emailAttribute =(String)users.get(i).getAttribute("EMAIL_LIST");
    System.out.println("Value for email :: " + emailAttribute);
    StringTokenizer st = new StringTokenizer(emailAttribute, ",");
    while (st.hasMoreElements()) {
    SelectItem emaItem = new SelectItem();
    String token = st.nextToken();
    emaItem.setLabel(token);
    emaItem.setValue(token);
    emaillistdropdown.add(emaItem);
    } catch (UserSearchException e) {
    e.printStackTrace();
    return emaillistdropdown;
    * Generic value change listener. Handles value change events of all customized components.
    * Source component is identified by component reference.
    public void submitActionValidator(ActionEvent actionEvent) {
    BindingContainer bindings = BindingContext.getCurrent().getCurrentBindingsEntry();
    // Get the sepecific list binding
    JUCtrlListBinding listBinding = (JUCtrlListBinding)bindings.get("Custom Dropdown");
    // Get the value which is currently selected
    Object emailSelected = listBinding.getSelectedValue();
    System.out.println("Inside SubmitAction Avlidator***********************************");
    // emailSelected =
    // (RichSelectOneChoice)actionEvent.getSource();
    System.out.println("emailSelected***********************************:"+emailSelected);
    if (emailSelected != null) {
    preffemail = emailSelected.toString();
    System.out.println("preffemail***********************************"+preffemail);
    FacesContext facesContext = FacesContext.getCurrentInstance();
    FacesUtils.setAttributeBindingValue(EMAIL_ATTRIBUTE,
    preffemail);
    // execute original submit button action listener
    MethodExpression originalActionListener =
    FacesUtils.getMethodExpressionFromEL("#{backingBeanScope.MyInformationUIBean.applyButton}",
    null,
    new Class[] { ActionEvent.class });
    originalActionListener.invoke(FacesUtils.getELContext(),new Object[] {actionEvent});
    public void setemaillist(UIComponent emaillist) {
    this.emaillist = emaillist;
    public UIComponent getemaillist() {
    return emaillist;
    public static void setFilterboxvalue(String filterboxvalue) {
    filterboxvalue = filterboxvalue;
    public String getFilterboxvalue() {
    return filterboxvalue;
    public void setEmaillistdropdown(List<SelectItem> emaillistdropdown) {
    this.emaillistdropdown = emaillistdropdown;
    public List<SelectItem> getEmaillistdropdown() {
    return emaillistdropdown;
    public void setEmailSelected(RichSelectOneChoice emailSelected) {
    this.emailSelected = emailSelected;
    public static RichSelectOneChoice getEmailSelected() {
    return emailSelected;
    public void setPreffemail(String preffemail) {
    this.preffemail = preffemail;
    public String getPreffemail() {
    return preffemail;
    }

    There isn't sufficient detail in your post. To confirm,
    1) Are you customizing an out-of-the-box WebCenter taskflow?
    2) How are you deploying the new managed bean class? Is it deployed as an ADF Library jar within a shared library?
    3) If ADF Library JAR, do you have the managed bean defined in the config files (adfc-config or faces-config) within the ADF Library JAR

  • Custom Schedule Task ( Null Pointer Exception)

    Hi All,
    I had written Custom Schedule task: Below is the code
    When i run the Schedule task it is failing throwing Null Pointer Exception. the code is not able to fetch userId ,passwordex and passwordwar values in execute method. please help me
    package oracle.iam.sample.notification;
    import java.sql.Date;
    import java.util.ArrayList;
    import java.util.HashMap;
    import java.util.HashSet;
    import java.util.List;
    import java.util.Set;
    import oracle.iam.identity.exception.NoSuchUserException;
    import oracle.iam.identity.exception.UserLookupException;
    import oracle.iam.identity.usermgmt.api.UserManager;
    import oracle.iam.identity.usermgmt.vo.User;
    import oracle.iam.notification.api.NotificationService;
    import oracle.iam.notification.exception.EventException;
    import oracle.iam.notification.exception.MultipleTemplateException;
    import oracle.iam.notification.exception.NotificationException;
    import oracle.iam.notification.exception.NotificationResolverNotFoundException;
    import oracle.iam.notification.exception.TemplateNotFoundException;
    import oracle.iam.notification.exception.UnresolvedNotificationDataException;
    import oracle.iam.notification.exception.UserDetailsNotFoundException;
    import oracle.iam.notification.vo.NotificationEvent;
    import oracle.iam.platform.Platform;
    import oracle.iam.platform.authz.exception.AccessDeniedException;
    import oracle.iam.scheduler.vo.TaskSupport;
    import static oracle.iam.identity.usermgmt.api.UserManagerConstants.AttributeName.MANAGER_KEY;
    import static oracle.iam.identity.usermgmt.api.UserManagerConstants.AttributeName.USER_LOGIN;
    import oracle.iam.platform.kernel.vo.Orchestration;
    public class PasswordExpiry extends TaskSupport {
    public PasswordExpiry() {
    super();
    public void execute(HashMap taskParameters) {
    System.out.println("inside the Execute methode");
    System.out.println("Schedule task Arguments "+taskParameters);
    String userId = (String)taskParameters.get("User Login");
    System.out.println("===========input=============== "+userId);
    String passwordex=taskParameters.get("usr_pwd_expire_date").toString();
    System.out.println("===========input=============== "+passwordex);
    String passwordwar=taskParameters.get("usr_pwd_warn_date").toString();
    System.out.println("===========input=============== "+passwordwar);
    try {
    System.out.println("inside the Try block");
    NotificationService notService = Platform.getService(NotificationService.class);
    NotificationEvent eventToSend = this.createNotificationEvent(userId, passwordex,passwordwar);
    notService.notify(eventToSend);
    } catch (Exception e) {
    e.printStackTrace();
    private NotificationEvent createNotificationEvent(String userKey, String passwordex,
    String passwordwar) throws NoSuchUserException, UserLookupException,
    AccessDeniedException {
    NotificationEvent event = new NotificationEvent();
    //get user IDs to whom notification is to be sent and set it in the
    //event object being created
    String[] receiverUserIds= getRecipientUserIds(userKey);
    event.setUserIds(receiverUserIds);
    //Set template name to be used to send notification for this event
    event.setTemplateName("PasswordWarningNotificationTemplate");
    //Setting senderId as null here and hence default sender ID would
    //get picked up
    event.setSender(null);
    //Create a map with key value pair for the parameters declared at time
    //of configuring notification event
    HashMap<String, Object> map = new HashMap<String, Object>();
    map.put("usr_key", userKey);
    map.put("usr_pwd_warn_date", passwordex);
    map.put("usr_pwd_expire_date",passwordwar);
    event.setParams(map);
    return event;
    private String[] getRecipientUserIds(String userKey) throws NoSuchUserException,
    UserLookupException, AccessDeniedException {
    UserManager usrMgr = Platform.getService(UserManager.class);
    User user = null;
    String userId = null;
    Set<String> userRetAttrs = new HashSet<String>();
    //Sending notification to both the user and his/her manager
    userRetAttrs.add(MANAGER_KEY.getId());
    userRetAttrs.add(USER_LOGIN.getId());
    User manager = null;
    String managerId = null;
    String managerKey = null;
    Set<String> managerRetAttrs = new HashSet<String>();
    managerRetAttrs.add(USER_LOGIN.getId());
    //Retrieving User ID
    user = usrMgr.getDetails(userKey, userRetAttrs, false);
    userId = user.getAttribute(USER_LOGIN.getId()).toString();
    List<String> userIds = new ArrayList<String>();
    userIds.add(userId);
    if (user.getAttribute(MANAGER_KEY.getId()) != null) {
    managerKey = user.getAttribute(MANAGER_KEY.getId()).toString();
    manager = usrMgr.getDetails(managerKey, managerRetAttrs, false);
    //Retrieving User's Manager ID
    managerId = manager.getAttribute(USER_LOGIN.getId()).toString();
    userIds.add(managerId);
    //To return String[] than an Object array
    String[] recipientIDs = userIds.toArray(new String[0]);
    return recipientIDs;
    * Call notification Engine passing an event object to it
    * @param event
    * @throws NotificationException
    private void sendNotification(NotificationEvent event) throws NotificationException {
    try {
    //Call notify method of NotificationService to pass on the event
    //to notification engine
    NotificationService notificationService = Platform.getService(
    NotificationService.class);
    notificationService.notify(event);
    } catch (EventException e) {
    throw new NotificationException(e.getMessage(), e.getCause());
    } catch (UnresolvedNotificationDataException e) {
    throw new NotificationException(e.getMessage(), e.getCause());
    } catch (TemplateNotFoundException e) {
    throw new NotificationException(e.getMessage(), e.getCause());
    } catch (MultipleTemplateException e) {
    throw new NotificationException(e.getMessage(), e.getCause());
    } catch (NotificationResolverNotFoundException e) {
    throw new NotificationException(e.getMessage(), e.getCause());
    } catch (UserDetailsNotFoundException e) {
    throw new NotificationException(e.getMessage(), e.getCause());
    } catch (NotificationException e){
    throw e;
    public HashMap getAttributes() {
    return null;
    public void setAttributes() {}
    Thank you

    The task parameters passed into a scheduled job are the parameters defined for the scheduled task definition in the metadata xml and configured in the scheduled job. They are not the data of an individual user as you seem to be trying to get. In a scheduled task I would expect some sort of search for users to operate on.

  • Exception while adding External Jar files in NWDS

    Dear Friends,
                            Actually i am adding an external Jar file in my EJB Module in NWDS.I am using this jar file for converting XML to flat file and i am calling this module from Receiver ommunication channel.For this process, i am importing dom4j.jar file in the EJB Module.
                          Now i have created an external Library project for the cause that i have used the external jar file, and i have made following code in the provider.xml file
    <?xml version="1.0" encoding="UTF-8"?>
    <!DOCTYPE provider-descriptor SYSTEM "library.provider.dtd">
    <provider-descriptor>
         <display-name>
          XML2EDI_Library
        </display-name>
         <component-name>
          XML2EDI_Library
        </component-name>
         <major-version>6</major-version>
         <minor-version>40</minor-version>
         <micro-version>0</micro-version>
         <provider-name>
          dom4j.org
        </provider-name>
         <references>
              <reference
                   provider-name="dom4j.org"
                   strength="weak"
                   type="library">org.dom4j.Document</reference>
              <reference
                   provider-name="dom4j.org"
                   strength="weak"
                   type="library">org.dom4j.DocumentException</reference>
              <reference
                   provider-name="dom4j.org"
                   strength="weak"
                   type="library">org.dom4j.Element</reference>
              <reference
                   provider-name="dom4j.org"
                   strength="weak"
                   type="library">org.dom4j.io.SAXReader</reference>
         </references>
         <jars>
              <jar-name>EDI_Module.jar</jar-name>
         </jars>
    </provider-descriptor>
    I have included 4 references because i have imported following in my ejb module.
    import org.dom4j.Document;
    import org.dom4j.DocumentException;
    import org.dom4j.Element;
    import org.dom4j.io.SAXReader;
    I am not sure of wht to include in reference target and provider name, I am getting the following exceptions in Message monitoring:
    1. AO: Document Exception: org.dom4j.DocumentException: E:\usr\sap\BWS\DVEBMGS00\j2ee\cluster\server0\
    2. Nested exception: E:\usr\sap\BWS\DVEBMGS00\j2ee\cluster\server0\
    Help me in this issue..
    Thanks in advance
    N.Jayanth Kumar

    thanks for you help sidharth.
    i have now jar files in the server and the application  referring to the jar files. everything is deployed fine. however, when i start the application..i get the error -"package jcifs.smb does not exist". the jar i am using is jcifs-1.2.7.jar. in my web module when i expand the jar i see the package and the .class files inside. what am i missing?
    Also, i din't define a SharingReference to usermanagement in portalapp.xml as i am working towards a pure j2ee enterprise application. the web module (DC) referes to the jar files. is there any step similar to defining the sharing reference for the web module DC?
    please help. thanks - sowmiyar

  • Rmi client throws Connection Refused exception

    My Rmi client throws a Connection Refused exception when i try to run it on remote machine (in this case i run it on my virtualbox macine).
    The virtualbox machine network is in NAT mode (host machine ip should be 10.0.2.2).
    When rmi client starts get registry instance and print in standar output:
    RegistryImpl_Stub[UnicastRef2 [liveRef: [endpoint:[//10.0.2.2/:1099,util,RmiInstances$1@1275d39](remote),objId:[0:0:0, 0]]]]But when rmi client trys to use any of remote methods it throws Connection Refused, but it's to strange because the Connection Refused has 127.0.1.1 as ip.
    java.rmi.ConnectException: Connection refused to host: 127.0.1.1; ....In client RmiInstances code (this class contains all remote implementations) is:
    public class RmiInstances {
        private static RmiInstances instance;
        private IUserManage userManage;
        private IAnalysis analysis;
        private IPacientManage pacientManage;
        private IInsuranceManage insuranceManage;
        private Config config;
        private RmiInstances()
                throws RemoteException, NotBoundException, IOException {
            this.config = Config.getInstance();
            Registry registry = LocateRegistry.getRegistry(config.getServerUrl()+"/",
                    1099, new RMIClientSocketFactory() {
                @Override
                public Socket createSocket(String host, int port) throws IOException {
                    try {
                        URI uri = new URI(config.getServerUrl()+
                                ":"+config.getServerPort());
                        return new Socket(uri.getHost(), uri.getPort());
                    } catch (URISyntaxException ex) {
                        ex.printStackTrace();
                        return null;
            System.out.println(registry);
            userManage = (IUserManage)registry.lookup("RUserManage");
            analysis = (IAnalysis)registry.lookup("RAnalysis");
            pacientManage = (IPacientManage)registry.lookup("RPacientManage");
            insuranceManage = (IInsuranceManage)registry.lookup("RInsuranceManage");
    ...And server code is the next:
    public static void main(String[] args) {
         System.out.println("GNULab Server " + VERSION + " starting...");
         System.setProperty("java.rmi.server.codebase",
              "file:/home/zarovich/workspace/labserver/bin");
         try {
             // Loading config
             System.out.println("Loading config...");
             Config config = Config.getInstance();
             // inicializando rmi registry
             Registry registry;
             if (config.isSsl()) {
              registry = LocateRegistry.createRegistry(
                   config.getServerPort(), new RmiSSLClient(),
                   new RmiSSLServer());
             } else
              registry = LocateRegistry
                   .createRegistry(config.getServerPort());
             // instanciando implementaciones
             RAnalysis rAnalysis = new RAnalysis();
             RInsuranceManage rInsuranceManage = new RInsuranceManage();
             RPacientManage rPacientManage = new RPacientManage();
             RUserManage rUserManage = new RUserManage();
             // registrando interfaz rmi
             registry.rebind("RAnalysis", (IAnalysis) UnicastRemoteObject.exportObject(rAnalysis, 0));
             registry.rebind("RInsuranceManage", (IInsuranceManage) UnicastRemoteObject.exportObject(rInsuranceManage, 0));
             registry.rebind("RPacientManage", (IPacientManage) UnicastRemoteObject.exportObject(rPacientManage, 0));
             registry.rebind("RUserManage", (IUserManage) UnicastRemoteObject.exportObject(rUserManage, 0));
             System.out.println("GNULab Server " + VERSION + " listening ...");
             System.out.println("Registry instance: " + registry.toString());
         } catch (RemoteException e) {
             e.printStackTrace();
            * catch (MalformedURLException e) { e.printStackTrace(); }
            */catch (IOException e) {
             // TODO Auto-generated catch block
             e.printStackTrace();
         } catch (JDOMException e) {
             // TODO Auto-generated catch block
             e.printStackTrace();
    ...

    I'm solved my problem.
    I just need run my server with -Djava.rmi.serverhost=10.0.2.2 and my client running on my virtualbox machine works!

  • 9.0.4 custom UserManager (it worked in 9.0.3)

    I have a UserManager that works with our app in 9.0.3. Am trying to migrate to 9.0.4 and the UserManager doesn't work.
    Our UserManager extends com.evermind.security.AbstractUserManager and our User class extends com.evermind.security.User. When run, there are no errors or exceptions. Our UserManager returns our custom User object, the authenticate method is called on it by the container (we rewrote the authenticate method to simply return true), and then the request is forward to the form-error-page defined in web.xml.
    Any ideas? We're desperate, the need to upgrade is being pushed from above...

    There was a bug in 9.0.4 that has been fixed in 9.0.4.1. Please apply the 9.0.4.1 patchset and see whether this is resolved
    -Debu

  • SRM 5.0  Exception E:BBP_BUPA:034 -Organizational unit in SUS

    Hello,
    We are in process of upgrade srm 4.0 to srm 5.0 , as configured Plan driven procuremnet with supplier enablement scenario . Connected R/3 (46 c) to SUS  using PI 7.0 . But stuck in problem as no   new vendor replicated in sus from R/3. XML  message processing shows error at SUS system ie ..
    "An error occured within an XI interface: Exception occurredE:BBP_BUPA:034 -Organizational unit 50000001 does not exist; check entries Programm:"
    while successfully updated existing( working with srm 4.0 since last two years) vendors from same system ,
    pls advise.
    Regards,
    Santosh
    I am came across the organization plan change for srm 5.0. Want to be clarify that is it also applicable for SUS organization for vendors.
    report BBP_XPRA_ORGEH_TO_VENDOR_GROUP
    can any one light on it.
    Message was edited by:
            Santosh Patil

    Hi
    <u>Please read this carefully -></u>
    See the following SAP OSS Notes as well ->
    Note 957851 SRMSUS: Modification in usermanagement for CUA replication
    Note 792364 SRM50/SUS/BP: Conversion of SUS business partner
    Note 628547 SRM-SUS: Corrections for SUS 2.0 SP01: business partner,user
    <b>Report BBP_XPRA_ORGEH_TO_VENDOR_GROUP</b>
    <u>[Convert Org. Units to Vendor Groups ]</u>
    <b>Mode details</b>
    Mode                 Short text                                                                               
    0    Do not carry out structure checks                           
    1    Business partner exists for root org.                       
    2    Partner for root org. (only) has org. unit role             
    3    All level 2 nodes are org. units                            
    4    All level 2 nodes have business partners                    
    5    All level 2 nodes have (only) org. unit role                
    6    All level 3 nodes are org. units                            
    7    All level 3 nodes have business partners                    
    8    All partners (level 3) has (at least) org.unit + bidder role
    9    All level 4 nodes are positions
    <b>Purpose of this report</b>
    This report converts the HR organizational model for external business partners (bidders, vendors, and their employees).
    You have to run this report after an upgrade from BBP 2.0C, EBP 3.0, EBP 3.5, EBP 4.0 and SRM Server 5.0 for every root organizational unit of these external business partners (if you have several such root unit, you have to run the report several times).
    This report does not run across clients, so you have to start it separately in every client that you have.
    The conversion is required because, in the new HR organizational model, external objects can no longer be stored as object 'O' (=organizational unit); consequently, it is no longer possible to create positions for external objects.
    This has the following effects for external business partners who are stored in the organizational model:
    The old root object, the 'Central Organizational Unit for Vendors' will in future not be an organizational unit, but rather an organizational object of the type 'VG' (=vendor group)
    The interim nodes that were created for reasons of system performance (each containing 100 vendors/bidders) will in future not be an organizational unit, but rather an organizational object of the type 'VG' (=vendor group)
    The external business partners of the type Organization (bidders, vendors) are no longer represented by a separate organizational object (in other words, there is no longer an organizational object that has the identity relationship to the partner)
    Since the org. object that previously represented the partners is missing, the business partners are now linked directly with the interim nodes (previously, the organizational unit for the partner, and not the partner itself, was linked)
    If a business partner has a set of attributes that is different to the attribute values specified for the interim node, the partner in question is not linked directly to the interim node, but rather to another 'VG' object (which has the attributes of the partner), which in turn is linked to the interim node.
    Previously, if an external business partner had an employee and this employee has a user in the system, the employee staffed the position in the organizational unit that represented the partner. However, since this organizational unit no longer exists, the position and the staffing relationship no longer exist either. This means, among other things, that there is no reporting option in HR that enables you to navigate from a user to the business partner of the user's company.
    Since there is currently no way of directly assigning a user to a business partner (of the type Person), the organizational object 'CP' (=Central Person) is still used to establish this link.
    Once the conversion report has run successfully, you will no longer be able to see the organizational structure of the external business partners by calling transaction PPOSA_BBP (or PPOMA_BBP).
    However, a new transaction called PPOMV_BBP is available instead. You can use this transaction to display the converted (and newly generated) structure for bidders/vendors.
    Prerequisites
    Before you actually convert your organizational structure, you should let the report check the structure, and correct any errors that the report detects.
    Features
    The report has the following features:
    A 'Check Only' mode is available, which you can use to check the consistency of the organizational structure of the external business partners at different levels
    The report can be restarted. This means if the conversion is canceled due to errors or system problems, and you restart the report, it will recognize any new objects that have already been generated, thus ensuring that structure elements that have already been processed are not converted a second time (this is achieved by evaluating at runtime the log tables BBP_O_TO_VG_OBJ (for generated objects) and BBP_O_TO_VG_REL (for generated relationships)).
    If you use table BBP_MARKETP_INFO to store the root organizational units, the report changes the old entries accordingly.
    The report writes an application log (log object BBP_XPRA_O_TO_VG) in which messages are logged at two different levels; alternatively, you can request that the message be output directly ('WRITE', for background spool lists).
    Although we do not recommend that you do this (because it can result in very long response times), you can run the report in parallel and thus convert several root organizational units at the same time.
    Activities
    Start the report for every 'Central Organizational Unit for Vendors' (root organizational units for external business partners) in every client that you use.
    Annotations
    We recommend that you do not use the 'Direct Message Output' option (that is, the option where an application log is not written) in conjunction with the 'Detailed Message Output' option for larger organizational structures, because every object and relationship that is generated will be output, and you will not feasibly be able to process this list.
    Even if you use it in conjunction with the writing of an application log, the 'Detailed Message Output' option rarely makes sense if you have tens or hundreds of thousands of vendors/bidders.
    Estimated work/expenditure necessary
    The runtime for this report depends on the hardware, system load, and structure involved (for example, the number of vendors/bidders who have employees and users and, therefore, also positions, the number of vendors who have attributes different than those of the interim node, and so on).
    As a rule of thumb, though, structures with vendors where 10% of users have their own individual attributes are processed at the rate of approximately 25,000 per hour.
    Remember, however, that the time required depends to a large degree on the number of nodes where local attributes have been defined, and on the number of business partners who have users.
    This can lead to situations where an organizational structure with 100,000 nodes but no local attributes or users can be converted more quickly that a structure with only 5,000 nodes but with local attributes and assigned users.
    Hope this will help.
    Regards
    - Atul

  • Naming Exception when deploying app

    Hi, I hope someone can point me in the right direction.
    Ths app was deploying and working fine until I added the user-manager to the orion-application.xml. The I use the data source in the main app so I know that is defined okay but I get the following error.
    Deployment failed: Nested exception
    Root Cause: deploy failed!: ; nested exception is:
    oracle.oc4j.admin.internal.DeployerException: Error initializing userManager 'com.evermind.sql.DataSourceUserManager': NamingException: jdbc/FooDB not found
    Resolution: . deploy failed!: ; nested exception is:
    oracle.oc4j.admin.internal.DeployerException: Error initializing userManager 'com.evermind.sql.DataSourceUserManager': NamingException: jdbc/FooDB not found
    Here is the user-manager tags
    <user-manager class="com.evermind.sql.DataSourceUserManager">
    <property name="dataSource" value="jdbc/FooDB" />
    <property name="table" value="users" />
    <property name="usernameField" value="user_name" />
    <property name="passwordField" value="user_pass" />
    <property name="defaultGroups" value="oracle_groups" />
    <property name="staleness" value="0" />
    </user-manager>
    Thanks in advance

    Now I'm getting the following error, but I've tried to 100 different ways of setting up the xml config files to get rid of the error and I can't
    05/01/19 17:00:47 Error instantiating application at file:/C:/OraHome1/j2ee/Development/applications/Foo.ear: Error initializing
    userManager 'com.evermind.sql.DataSourceUserManager': NamingException: Need to specify class name in environment or system property, or
    as an applet parameter, or in an application resource file: java.naming.factory.initial
    I've added the datasource (that works from within the application) to the "Development" instance using the Enterprise Manager 10g (9.0.4)
    <data-source location="jdbc/FooBarDB" class="com.mysql.jdbc.jdbc2.optional.MysqlConnectionPoolDataSource" password="FooBar" max-connect-attempts="20" xa-location="jdbc/FooBarXADB" ejb-location="jdbc/FooBarEJBDB" wait-timeout="10" schema="database-schemas/mysql.xml" connection-driver="com.mysql.jdbc.Driver" username="FooBar" min-connections="5" max-connections="100" url="jdbc:mysql://172.16.120.6/FooBar" inactivity-timeout="200" name="jdbc/FooBarDB"><description>defined in app for security</description></data-source>
    I've just run out of ideas, or got confused or both, any help great before I lose all my hair

  • Exception while removing policy from protected .docx file.

    I am getting exception as below for java client code snippet while inspecting document which is secured using MS Word 2007.
    Properties connectionProps = new Properties();
    connectionProps.setProperty(ServiceClientFactoryProperties.DSC_DEFAULT _EJB_ENDPOINT, "jnp://vvcon-qa-1.ptcnet.ptc.com:1099");
    connectionProps.setProperty(ServiceClientFactoryProperties.DSC_TRANSPO RT_PROTOCOL,ServiceClientFactoryProperties.DSC_EJB_PROTOCOL);        
    connectionProps.setProperty(ServiceClientFactoryProperties.DSC_SERVER_ TYPE, "JBoss");
    connectionProps.setProperty(ServiceClientFactoryProperties.DSC_CREDENT IAL_USERNAME, "administrator");
    connectionProps.setProperty(ServiceClientFactoryProperties.DSC_CREDENT IAL_PASSWORD, "administrator");
    ServiceClientFactory factory = ServiceClientFactory.createInstance(connectionProps);
    RightsManagementClient rightsClient = new RightsManagementClient(factory);
    //Reference a policy-protected Word document from which to remove a policy
    FileInputStream is = new FileInputStream(args[0]);
    Document inPDF = new Document(is);
    //Create a Document Manager object
    DocumentManager  documentManager = rightsClient.getDocumentManager();
    RMInspectResult lic = documentManager.inspectDocument(inPDF);
    Exception I am getting
    com.adobe.edc.sdk.SDKException: Error while looking up RM Header in the document -- Invalid argument(error code bin: 1281, hex: 0x501)
        at com.adobe.livecycle.rightsmanagement.RightsManagementService.throwSDK Exception(RightsManagementService.java:958)
        at com.adobe.livecycle.rightsmanagement.RightsManagementService.getLicen seID(RightsManagementService.java:794)
        at com.adobe.livecycle.rightsmanagement.RightsManagementService.inspectD ocument(RightsManagementService.java:2260)
    Event if I try with user who can access document after connecting to LiveCycle ES2 from Microsoft Word 2007 I am getting same exception.
    I can acess document from MS Word after I have secured it using all users who have right permission for document but from java client I am not able to do that. Looks like RMS information is not embedded properly in my document.
    jars included in my classpath are
    adobe-rightsmanagement-client.jar,namespace.jar,jaxb-api.jar,jaxb-impl .jar,jaxb-libs.jar,jaxb-xjc.jar,relaxngDatatype.jar,adobe-livecycle-cl ient.jar,adobe-usermanager-client.jar,jbossall-client.jar
    My client is running on Windows XP 32 bit with Office 2007.
    Server is installed on Windows server 2008 R2 64 bit and deplyoed using JBoss.
    One more intresting fact here is my java client can protect document and unprotect same document.
    However document which is protected by Microsoft Rights Management extension plugin cannot
    be unprotected by my java client.
    Regards,
    Sharang

    It seems to work properly, in that, the appropriate words are removed from the story. However, I'd like to keep the story in order, as it was before any manipulation took place (just with the words removed). Currently, I am presented with a column of words with the order of words seemingly random.
    Thanks.

  • ADS: com.adobe.ProcessingException: XMLFM Exception - P(200101)

    Hi,
    Exception       SYSTEM_ERROR
    Message ID:          FPRUNX                     Message number:           001
    Message:
    ADS: com.adobe.ProcessingException: XMLFM Exception - P(200101)
    I am getting the above error while executing adobe forms function module.
    Any ideas.
    Regards,
    Thiyagu

    the J2EE User Management Engine has a configuration for setting an expiry date for passwords. Because of this setting, you can get an error after the password expires. (see documentation at http://help.sap.com/saphelp_nw2004s/helpdata/en/b5/16c43bdd3da244a1d3372a77b5f83f/frameset.htm) This could be a reason here.
    Try this:
    Check the user ADSUser in the Visual Admin: -> Server -> Service -> Security provider -> UserManagement tab
    -> ADSUser
    Enter a password again and check 'No password change is required'.

  • Interactive form Exception

    Hello,
      I am creating a WebDynpro application with Interactive form. I have created single context element(pdfSource of binay and attached it to pdf source of Interactive form elemnt). I build and deploy the application.
    When i run the application, i get the below mentioned exception:
    com.sap.tc.webdynpro.clientserver.adobe.pdfdocument.base.core.PDFDocumentRuntimeException: ADS Render Exception occured. Append "sap-wd-errorPdf=true" to the URL and access the application once again. This time you will get an error PDF. Save the error PDF on the file system. This is a helpful attachment in case of an OSS message.
    com.adobe.ads.exception.FailedCreationException:
    Specific error information:
    $$$/Err/PDF/OpenPDFFile/NoEmbeddedPDF=the PDF must have an embedded content.
    General error information:
    IDL:com/adobe/document/pdf/PDFOperationFailure:1.0
    Exception Stack Trace:
    com.adobe.ads.exception.FailedCreationException:
    Specific error information:
    $$$/Err/PDF/OpenPDFFile/NoEmbeddedPDF=the PDF must have an embedded content.
    General error information:
    IDL:com/adobe/document/pdf/PDFOperationFailure:1.0
         at com.adobe.EJB_PDFAgent.getRemotePdfDocument(EJB_PDFAgent.java:815)
         at com.adobe.EJB_PDFAgent.importDataObjectWithDescription(EJB_PDFAgent.java:440)
         at com.adobe.ads.request.Embed.embedFile(Embed.java:162)
         at com.adobe.AdobeDocumentServicesWorker.processRenderLog(AdobeDocumentServicesWorker.java:1245)
         at com.adobe.AdobeDocumentServicesWorker.processRender(AdobeDocumentServicesWorker.java:1168)
         at com.adobe.AdobeDocumentServicesWorker.execute(AdobeDocumentServicesWorker.java:598)
         at com.adobe.AdobeDocumentServicesEJB.processRequest(AdobeDocumentServicesEJB.java:130)
         at com.adobe.AdobeDocumentServicesEJB.rpData(AdobeDocumentServicesEJB.java:108)
         at com.adobe.AdobeDocumentServicesLocalLocalObjectImpl0.rpData(AdobeDocumentServicesLocalLocalObjectImpl0.java:120)
         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:324)
         at com.sap.engine.services.webservices.runtime.EJBImplementationContainer.invokeMethod(EJBImplementationContainer.java:126)
         at com.sap.engine.services.webservices.runtime.RuntimeProcessor.process(RuntimeProcessor.java:157)
         at com.sap.engine.services.webservices.runtime.RuntimeProcessor.process(RuntimeProcessor.java:79)
         at com.sap.engine.services.webservices.runtime.servlet.ServletDispatcherImpl.doPost(ServletDispatcherImpl.java:92)
         at SoapServlet.doPost(SoapServlet.java:51)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:390)
         at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:264)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:347)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:325)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.invokeWebContainer(RequestAnalizer.java:887)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:241)
         at com.sap.engine.services.httpserver.server.Client.handle(Client.java:92)
         at com.sap.engine.services.httpserver.server.Processor.request(Processor.java:148)
         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(Native Method)
         at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:100)
         at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:170)
    Caused by: com.adobe.document.pdf.PDFOperationFailure: IDL:com/adobe/document/pdf/PDFOperationFailure:1.0
         at com.adobe.document.pdf.PDFOperationFailureHelper.read(PDFOperationFailureHelper.java:67)
         at com.adobe.document.pdf._PDFFactoryStub.openPDF(_PDFFactoryStub.java:29)
         at com.adobe.EJB_PDFAgent.getRemotePdfDocument(EJB_PDFAgent.java:803)
         ... 33 more
         at com.sap.tc.webdynpro.clientserver.uielib.adobe.impl.InteractiveForm.afterHandleActionEvent(InteractiveForm.java:371)
         at com.sap.tc.webdynpro.clientserver.cal.ClientApplication.afterApplicationModification(ClientApplication.java:1117)
         at com.sap.tc.webdynpro.clientserver.cal.ClientComponent.afterApplicationModification(ClientComponent.java:887)
         at com.sap.tc.webdynpro.clientserver.window.WindowPhaseModel.doRespond(WindowPhaseModel.java:573)
         at com.sap.tc.webdynpro.clientserver.window.WindowPhaseModel.processRequest(WindowPhaseModel.java:152)
         at com.sap.tc.webdynpro.clientserver.window.WebDynproWindow.processRequest(WebDynproWindow.java:330)
         at com.sap.tc.webdynpro.clientserver.cal.AbstractClient.executeTasks(AbstractClient.java:143)
         at com.sap.tc.webdynpro.clientserver.session.ApplicationSession.doProcessing(ApplicationSession.java:297)
         at com.sap.tc.webdynpro.clientserver.session.ClientSession.doApplicationProcessingStandalone(ClientSession.java:706)
         at com.sap.tc.webdynpro.clientserver.session.ClientSession.doApplicationProcessing(ClientSession.java:660)
         at com.sap.tc.webdynpro.clientserver.session.ClientSession.doProcessing(ClientSession.java:228)
         at com.sap.tc.webdynpro.clientserver.session.RequestManager.doProcessing(RequestManager.java:152)
         at com.sap.tc.webdynpro.serverimpl.defaultimpl.DispatcherServlet.doContent(DispatcherServlet.java:56)
         at com.sap.tc.webdynpro.serverimpl.defaultimpl.DispatcherServlet.doGet(DispatcherServlet.java:40)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:390)
         at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:264)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:347)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:325)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.invokeWebContainer(RequestAnalizer.java:887)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:241)
         at com.sap.engine.services.httpserver.server.Client.handle(Client.java:92)
         at com.sap.engine.services.httpserver.server.Processor.request(Processor.java:148)
         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(Native Method)
         at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:100)
         at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:170)
    The above exception appears when the mode for the InteractiveForm UI element is set as either ' generatePdf' or 'UpdatePdf'.
    When i give mode as 'usePdf', the screen appears but the adobe document does not appear(there is a cross in tht plc).
    I looked into the Visual Admin and implemented suggestion in 1 of the thread
    ( PDFDocumentRuntimeException ) like , changing the password in UserManagement and updating for the ADSUSER but to no avail.
    Kindly help me in resolving this issue.
    Thanks & regards,
    Sharath

    Hi
    Have you assigned the Context Node to the dataSorce property of the InteractiveFormUI element?
    I think that is the problem.This is required because only this node will be seen in the Dat view in designer and you will be able to bind your adobe UI elements to the attributes of this node.
    Regards,
    Ajay

Maybe you are looking for