Change workflow status of content programmatically in weblogic portal

Hi,
I am developing application using weblogic portal. All my static contents are coming from WLP repository.
Is there any API available to change workflow status of a CMS content programmatically.
Regards,
Nitin

hi ravi
while excecuting this code its giving the error
User is not authorized to check in the node.
     at com.bea.content.virtual.internal.server.bean.InternalWorkspaceOpsBean.handleWorkflowActions(InternalWorkspaceOpsBean.java:480)
     at com.bea.content.virtual.internal.server.bean.InternalWorkspaceOpsBean.internalCheckIn(InternalWorkspaceOpsBean.java:420)
     at com.bea.content.virtual.internal.server.bean.InternalWorkspaceOpsBean.checkIn(InternalWorkspaceOpsBean.java:343)
     at com.bea.content.virtual.internal.server.bean.WorkspaceOps_xe5vix_ELOImpl.checkIn(WorkspaceOps_xe5vix_ELOImpl.java:166)
     at com.bea.content.virtual.internal.WorkspaceOpsImpl.checkIn(WorkspaceOpsImpl.java:90)
     at com.bea.content.federated.internal.VersionManagerImpl.checkIn(VersionManagerImpl.java:239)
     at com.nab.portal.portlets.cmscontent.EndDateCMSContent.updateNodeStatus(EndDateCMSContent.java:243)
     at jsp_servlet._portlets._cmscontent.__sampletest._jspService(__sampletest.java:140)
     at weblogic.servlet.jsp.JspBase.service(JspBase.java:34)
     at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
     at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
     at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:292)
     at weblogic.servlet.internal.ServletStubImpl.onAddToMapException(ServletStubImpl.java:408)
     at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:318)
     at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
     at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:42)
     at org.apache.beehive.netui.pageflow.PageFlowPageFilter.continueChainNoWrapper(PageFlowPageFilter.java:455)
     at org.apache.beehive.netui.pageflow.PageFlowPageFilter.runPage(PageFlowPageFilter.java:432)
     at org.apache.beehive.netui.pageflow.PageFlowPageFilter.doFilter(PageFlowPageFilter.java:284)
     at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:42)
     at com.bea.p13n.servlets.PortalServletFilter.doFilter(PortalServletFilter.java:336)
     at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:42)
     at com.bea.jsptools.servlet.PagedResultServiceFilter.doFilter(PagedResultServiceFilter.java:82)
     at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:42)
     at weblogic.servlet.internal.RequestDispatcherImpl.invokeServlet(RequestDispatcherImpl.java:503)
     at weblogic.servlet.internal.RequestDispatcherImpl.forward(RequestDispatcherImpl.java:251)
     at com.sun.faces.context.ExternalContextImpl.dispatch(ExternalContextImpl.java:322)
     at com.sun.faces.application.ViewHandlerImpl.renderView(ViewHandlerImpl.java:130)
     at org.apache.beehive.netui.pageflow.faces.internal.PageFlowViewHandler.renderView(PageFlowViewHandler.java:203)
     at com.bea.portlet.adapter.faces.application.ViewHandlerImpl.renderView(ViewHandlerImpl.java:77)
     at org.apache.beehive.netui.pageflow.faces.internal.PageFlowViewHandler.renderView(PageFlowViewHandler.java:203)
     at com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.java:87)
     at com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:200)
     at com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:117)
     at javax.faces.webapp.FacesServlet.service(FacesServlet.java:198)
     at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
     at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
     at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:292)
     at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
     at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:42)
     at org.apache.beehive.netui.pageflow.PageFlowPageFilter.continueChainNoWrapper(PageFlowPageFilter.java:455)
     at org.apache.beehive.netui.pageflow.PageFlowPageFilter.runPage(PageFlowPageFilter.java:432)
     at org.apache.beehive.netui.pageflow.PageFlowPageFilter.doFilter(PageFlowPageFilter.java:284)
     at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:42)
     at com.nab.portal.filter.UserSessionFilter.doFilter(UserSessionFilter.java:176)
     at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:42)
     at com.nab.portal.filter.CrossSiteScriptingFilter.doFilter(CrossSiteScriptingFilter.java:333)
     at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:42)
     at com.bea.portal.tools.servlet.http.HttpContextFilter.doFilter(HttpContextFilter.java:60)
     at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:42)
     at com.bea.p13n.servlets.PortalServletFilter.doFilter(PortalServletFilter.java:336)
     at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:42)
     at com.bea.jsptools.servlet.PagedResultServiceFilter.doFilter(PagedResultServiceFilter.java:82)
     at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:42)
     at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3502)
     at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
     at weblogic.security.service.SecurityManager.runAs(Unknown Source)
     at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2186)
     at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2092)
     at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1406)
     at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
     at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
Though user is mapped to global role Annoymous which has acees to everyone
plz do reply asap
Thanks in advance

Similar Messages

  • While changing the status of content in Weblogic 10.3 programitically

    while changing the status of content in Weblogic 10.3 programitically is giving the error
    User is not authorized to check in the node.
         at com.bea.content.virtual.internal.server.bean.InternalWorkspaceOpsBean.handleWorkflowActions(InternalWorkspaceOpsBean.java:480)
         at com.bea.content.virtual.internal.server.bean.InternalWorkspaceOpsBean.internalCheckIn(InternalWorkspaceOpsBean.java:420)
         at com.bea.content.virtual.internal.server.bean.InternalWorkspaceOpsBean.checkIn(InternalWorkspaceOpsBean.java:343)
         at com.bea.content.virtual.internal.server.bean.WorkspaceOps_xe5vix_ELOImpl.checkIn(WorkspaceOps_xe5vix_ELOImpl.java:166)
         at com.bea.content.virtual.internal.WorkspaceOpsImpl.checkIn(WorkspaceOpsImpl.java:90)
         at com.bea.content.federated.internal.VersionManagerImpl.checkIn(VersionManagerImpl.java:239)
         at com.nab.portal.portlets.cmscontent.EndDateCMSContent.updateNodeStatus(EndDateCMSContent.java:243)
         at jsp_servlet._portlets._cmscontent.__sampletest._jspService(__sampletest.java:140)
         at weblogic.servlet.jsp.JspBase.service(JspBase.java:34)
         at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
         at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
         at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:292)
         at weblogic.servlet.internal.ServletStubImpl.onAddToMapException(ServletStubImpl.java:408)
         at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:318)
         at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:42)
         at org.apache.beehive.netui.pageflow.PageFlowPageFilter.continueChainNoWrapper(PageFlowPageFilter.java:455)
         at org.apache.beehive.netui.pageflow.PageFlowPageFilter.runPage(PageFlowPageFilter.java:432)
         at org.apache.beehive.netui.pageflow.PageFlowPageFilter.doFilter(PageFlowPageFilter.java:284)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:42)
         at com.bea.p13n.servlets.PortalServletFilter.doFilter(PortalServletFilter.java:336)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:42)
         at com.bea.jsptools.servlet.PagedResultServiceFilter.doFilter(PagedResultServiceFilter.java:82)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:42)
         at weblogic.servlet.internal.RequestDispatcherImpl.invokeServlet(RequestDispatcherImpl.java:503)
         at weblogic.servlet.internal.RequestDispatcherImpl.forward(RequestDispatcherImpl.java:251)
         at com.sun.faces.context.ExternalContextImpl.dispatch(ExternalContextImpl.java:322)
         at com.sun.faces.application.ViewHandlerImpl.renderView(ViewHandlerImpl.java:130)
         at org.apache.beehive.netui.pageflow.faces.internal.PageFlowViewHandler.renderView(PageFlowViewHandler.java:203)
         at com.bea.portlet.adapter.faces.application.ViewHandlerImpl.renderView(ViewHandlerImpl.java:77)
         at org.apache.beehive.netui.pageflow.faces.internal.PageFlowViewHandler.renderView(PageFlowViewHandler.java:203)
         at com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.java:87)
         at com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:200)
         at com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:117)
         at javax.faces.webapp.FacesServlet.service(FacesServlet.java:198)
         at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
         at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
         at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:292)
         at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:42)
         at org.apache.beehive.netui.pageflow.PageFlowPageFilter.continueChainNoWrapper(PageFlowPageFilter.java:455)
         at org.apache.beehive.netui.pageflow.PageFlowPageFilter.runPage(PageFlowPageFilter.java:432)
         at org.apache.beehive.netui.pageflow.PageFlowPageFilter.doFilter(PageFlowPageFilter.java:284)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:42)
         at com.nab.portal.filter.UserSessionFilter.doFilter(UserSessionFilter.java:176)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:42)
         at com.nab.portal.filter.CrossSiteScriptingFilter.doFilter(CrossSiteScriptingFilter.java:333)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:42)
         at com.bea.portal.tools.servlet.http.HttpContextFilter.doFilter(HttpContextFilter.java:60)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:42)
         at com.bea.p13n.servlets.PortalServletFilter.doFilter(PortalServletFilter.java:336)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:42)
         at com.bea.jsptools.servlet.PagedResultServiceFilter.doFilter(PagedResultServiceFilter.java:82)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:42)
         at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3502)
         at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
         at weblogic.security.service.SecurityManager.runAs(Unknown Source)
         at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2186)
         at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2092)
         at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1406)
         at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
         at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
    the node is checke odut by annoymous user biut its not checked in the status from 1 to 2 is updated but it not updated to published or retired
    are there any Entreprise scoped roles which sholud be created to set the visitor entitlements on the content
    Please do reply asap
    Thanks
    Regards
    Rani
    Rani Bhatia

    hi
    while changing the sttaus of content in weblogic 10.3 programitcally
    i have written this code List nodeIds=null;
         INodeManager iNodeManager= ContentManagerFactory.getNodeManager();
              try {
              ID nodeId = new ID();
              nodeIds = new ArrayList();
                   linkNode =iNodeManager.getNode(ctx,fileName);
                   log.info("Linknode"+linkNode);
                   String Encodedpath= linkNode.getURLEncodedPath();
                   log.info("Encodedpath"+Encodedpath);
                   com.bea.content.ID nodeid= linkNode.getId();
                   nodeIds.add(nodeid);
              log.info(nodeid);;
                   String repoName = nodeid.getRepositoryName();
                   log.info("repoName"+repoName);
                        IVirtualRepositoryManager repoMgr = ContentManagerFactory.getVirtualRepositoryManager();
                        com.bea.content.federated. IVersionManager iversionManager= ContentManagerFactory.getVersionManager();
                        com.bea.content.federated.IWorkflowManager iWorkflowManager= ContentManagerFactory.getWorkflowManager();
                   if(linkNode!=null)
                        int i= linkNode.getWorkflowStatus();
                                  log.info("Workflow Status"+i);
                                  int j=linkNode.getLifeCycleStatus();
                                  log.info("Workflow Status"+j);
                                  linkNode.setLifeCycleStataus(5);
                                  linkNode.setWorkflowStatus(5);
                                  //iNodeManager.save(ctx, linkNode);
    iversionManager.checkOut(ctx, nodeid, version.getVersionId());                         com.bea.content.virtual.version.VersionableContent versionableContent1 = iversionManager.getVersion(ctx, nodeid, "1");
                             versionableContent1.setStatus(5);
                             iversionmanager.checkIn(ctx, nodeid, versionableContent1);
                             log.info("checkin");
                             b=true;
                        else
                             b=false;
                             log.info("Node already retired ");
              catch (AuthenticationException auex) {
                   log.error("WEB1013IF-3 getLinkNode" + auex.toString());               
              } catch (AuthorizationException authex) {
                   log.error("WEB1013IF-4 getLinkNode" + authex.toString());     
              }catch (RepositoryException repoEx) {
                   log.error("WEB1013IF-5 getLinkNode" + repoEx.toString());
              return b;
    by default annoymous user check out the node
    if for any logged in user which api has to be used eg if i have created the weblogic user how to set this user through api , which apis are used to set this user programmitically so that this user can check out the node and check in the node so that its status can be updated
    Thanks
    Regards
    Rani Bhatia
    Edited by: user10309975 on Jul 5, 2010 10:29 PM

  • After Approving Content from workflow, status of content is still 'Review'

    Hi,
    I am new to oracle UCM, so I have created a simple workflow for beginning. It has only one activity which triggers when some content of particular content type is checked. There is no script associated with any of the workflow events. Workflow is working fine except one issue.
    When reviewer approves the content, workflow does not release the content and worflow is still shown in 'Active Workflows' list. I cant see the content even in search as status of content remains 'Review'.
    Am i missing something ??
    Please guide!!!
    Thanks in advance
    Amarpal

    Hi,
    please provide more information on workflow configuration:
    1. Is it criteria workflow?
    2. How many users are involved in review step?
    3. What shows workflow info page of this document?

  • Error While fetching content nodes from Weblogic Portal

    Hi,
    I am trying to deploy an application on Weblogic server which will connect to Weblogic portal repository and fetch content nodes from the specified repository. While accessing the repositroy nodes from my jsp code I get following error:
    I am not very clear what is going wrong
    Error 500--Internal Server Error
    com.bea.content.RepositoryRuntimeException: Repository configuration error.
         at com.bea.content.manager.internal.RepositoryManagerImpl.getRepositoryOps(RepositoryManagerImpl.java:194)
         at com.bea.content.manager.internal.RepositoryManagerImpl.connect(RepositoryManagerImpl.java:141)
         at com.bea.content.manager.RepositoryManagerFactory.connect(RepositoryManagerFactory.java:46)
         at com.bea.content.federated.internal.VirtualRepositoryManagerImpl.getRepositoryManager(VirtualRepositoryManagerImpl.java:306)
         at com.bea.content.federated.internal.VirtualRepositoryManagerImpl.getSearchOps(VirtualRepositoryManagerImpl.java:332)
         at com.bea.content.federated.internal.itemloader.NodeSearchItemLoader.fetchItemIdentifiers(NodeSearchItemLoader.java:68)
         at com.bea.content.federated.internal.itemloader.DirectAccessItemLoaderBase.minimalResolve(DirectAccessItemLoaderBase.java:17)
         at com.bea.content.paging.internal.PagedListImpl.(PagedListImpl.java:89)
         at com.bea.content.federated.internal.SearchManagerImpl.search(SearchManagerImpl.java:55)
         at jsp_servlet.__test._jspService(__test.java:133)
         at weblogic.servlet.jsp.JspBase.service(JspBase.java:34)
         at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:226)
         at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:124)
         at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:283)
         at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:175)
         at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3370)
         at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
         at weblogic.security.service.SecurityManager.runAs(Lweblogic.security.acl.internal.AuthenticatedSubject;Lweblogic.security.acl.internal.AuthenticatedSubject;Ljava.security.PrivilegedAction;)Ljava.lang.Object;(Unknown Source)
         at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2117)
         at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2023)
    Caused by: javax.naming.NameNotFoundException: While trying to lookup 'examplesWebApp.BEA_content.RepositoryOpsHome' didn't find subcontext 'examplesWebApp'. Resolved ''; remaining name 'examplesWebApp/BEA_content/RepositoryOpsHome'
         at weblogic.jndi.internal.BasicNamingNode.newNameNotFoundException(BasicNamingNode.java:1138)
         at weblogic.jndi.internal.BasicNamingNode.lookupHere(BasicNamingNode.java:246)
         at weblogic.jndi.internal.ServerNamingNode.lookupHere(ServerNamingNode.java:171)
         at weblogic.jndi.internal.BasicNamingNode.lookup(BasicNamingNode.java:205)
         at weblogic.jndi.internal.WLEventContextImpl.lookup(WLEventContextImpl.java:254)
         at weblogic.jndi.internal.WLContextImpl.lookup(WLContextImpl.java:367)
         at javax.naming.InitialContext.lookup(InitialContext.java:351)
         at com.bea.content.ContentEJBHomeCache.lookup(ContentEJBHomeCache.java:56)
         at com.bea.content.manager.internal.RepositoryManagerImpl.getRepositoryOps(RepositoryManagerImpl.java:187)
         at com.bea.content.manager.internal.RepositoryManagerImpl.connect(RepositoryManagerImpl.java:141)
         at com.bea.content.manager.RepositoryManagerFactory.connect(RepositoryManagerFactory.java:46)
         at com.bea.content.federated.internal.VirtualRepositoryManagerImpl.getRepositoryManager(VirtualRepositoryManagerImpl.java:306)
         at com.bea.content.federated.internal.VirtualRepositoryManagerImpl.getSearchOps(VirtualRepositoryManagerImpl.java:332)
         at com.bea.content.federated.internal.itemloader.NodeSearchItemLoader.fetchItemIdentifiers(NodeSearchItemLoader.java:68)
         at com.bea.content.federated.internal.itemloader.DirectAccessItemLoaderBase.minimalResolve(DirectAccessItemLoaderBase.java:17)
         at com.bea.content.paging.internal.PagedListImpl.(PagedListImpl.java:89)
         at com.bea.content.federated.internal.SearchManagerImpl.search(SearchManagerImpl.java:55)
         at jsp_servlet.__test._jspService(__test.java:133)
         at weblogic.servlet.jsp.JspBase.service(JspBase.java:34)
         at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:226)
         at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:124)
         at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:283)
         at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:175)
         at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3370)
         at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
         at weblogic.security.service.SecurityManager.runAs(Lweblogic.security.acl.internal.AuthenticatedSubject;Lweblogic.security.acl.internal.AuthenticatedSubject;Ljava.security.PrivilegedAction;)Ljava.lang.Object;(Unknown Source)

    Repositories are essentially external to applications.
    Applications are associated with repositories via repository configs. Repository configs allow applications to access repositories.
    1. There is no special 'centralized repository'.
    2. This can be done, but has caveats, especially around caching. If multiple applications have repo configs which refer to the same repository, there can be caching issues. For example, suppose apps A and B both have repo configs for accessing repo R. If you use app A to change some data in repo R, then try to read the change via app B, you can end up with cached data instead of the most recent data in repo R. This is something to be aware of with this type of configuration.
    3. There is typically one WLP admin url per application. For example, if you have an application named 'FooApp', then the admin url can typically be found at 'http://localhost:7001/FooAppAdmin'. Application 'BarApp' may have an admin url at http://localhost:7001/BarAppAdmin.
    You can use the weblogic server console at http://localhost:7001/console to see these -- click on Deployments, then click Monitoriing. In the Context Root column, you can see the various top-level context roots registered for this application.
    4. Repositories are top-level possibly-shared entities, similar to databases.
    Applications 'use' Repositories via Repository Configs.
    Applications 'own' RepositoryConfigs, which allow them to 'use' a specific Repository.
    It's possible to have multiple applications 'use' the same repository (each application would have to have its own RepoConfig referring to the same repository), but there can be caching issues with this configuration -- see (2).
    Each application 'owns' its own set of repo configs, and therefore its own VCR namespace. The VCR namespace is compsed of the RepoConfigs that application 'owns'. For example, if an application has repository configs with names 'Repo1' and 'Repo2', then the VCR namespace includes /Repo1/... and /Repo2/...
    Note that each RepoConfig entry has a name, which becomes its VCR namespace path. The path to a node in a repository begins with / followed by the name of the RepoConfig followed by /. Application A and application B may each be accessing Repo R, but via different names. For example, if A has the path to Repo R registered via name 'RepoR', then its VCR path to Repo R is /RepoR/... If B has the path to Repo R registered via the name 'R', then its VCR path to Repo R is /R/...

  • Migration of oracle portal contents/applications to Weblogic portal

    I have a website running on oracle portal. I want to migrate all those contents (applications/portlets) to weblogic portal. I dont know where to start from. Can somebody please guide me and give me some tutorials for this.
    Thanks
    Joseph

    Hi Ajay,
    If  the configtool is showing the old information of instances , it has got two things
    1.  JMT phase of your migration has not been performed correctly.
    2. If you are using the same hostname , SID , instance name , then it will calculate the same instance number.
    In JMT  phase it  should delete all the information of dialog instance  and calculated the new instance id
    on the basis of box number calculated from the file cluster_id_switch.properties while migrating the CI.
    checked the JMT folder inside sapinst_dir.
    Checked the below parameter in cluster_id_switch.properties
    src.ci.sid=
    src.ci.instance.number=
    src.ci.instance.name=
    src.ci.host=
    Checked the logs for java migration tool phase and java configuration parameter phase.Also do check the box number of the system.If the box number is not correct as per your input then you will not able to patch your system further.
    Now in second case, If you are keeping the same hostname , instance name and SID , then it will calculate the same instance id so you don't need to worry in this case.
    1644265 - "How to determine the correct box number of the instance"
    With Regards
    Ashutosh Chaturvedi

  • Need maximum information about Content Management in Weblogic Portal 10.3

    Hi,
    I have worked with Weblogic Portal before, but it's been some time, I do not remember much and I quickly need to find some info.
    We are making a proposal to a customer and have suggested Weblogic Portal.
    I would like to give as much information about the technicalities of the CMS in Weblogic Portal as possible.
    Could you please answer these questions ?
    I am looking for information on the CMS that is integrated in Weblogic Portal 10.3
    I have already checked the available information on the site :
    http://download.oracle.com/docs/cd/E13155_01/wlp/docs103/cm/introCM.html#wp1067976
    http://download.oracle.com/docs/cd/E13155_01/wlp/docs103/portlets/development.html
    I would like to find more information, especially regarding these questions :
    What are the portlets that are available by default in Weblogic Portal 10.3 ? I read about the Content Presenter portlets, which display real-time data.
    Are there other portlets like these ?
    How can i manage the documentation in the CMS ? I have several source of data (databases, Lotus repositories ...) : can i load them into the WLP Virtual Content Repository ?
    What about images ? Do i need to work on a special format to handle them in my portlets ?
    Is it possible to load data coming from XML files into the repository so i can display them on the portal ?
    Thanks a lot for helping.

    BulkLoader is described in the docs here:
    http://e-docs.bea.com/wlp/docs102/cm/bulkloader.html
    As far as portlets go, WLP provides lots of facilities for creating your own portlets, to do exactly what you want them to do. It really depends upon what you want to do.
    If you're looking to display images, also take a look at the personalization features like Content Selectors and Placeholders, which can retrieve an image from the CM system.
    If you're looking to iterate over a set of content, take a look at display templates as a means to control the presentation.
    You may be able to use re-portlets from the WLP Admin tools, though I'm not familiar with the details.

  • Propagation of Content Management in Weblogic Portal

    Hi,
    Can anyone please provide me with the step-by-step procedure of propagating BEA Repository Content management data from one environment to another(Local to Dev or Dev to UAT) using Weblogic Workshop or using Ant.
    In the following URL http://edocs.bea.com/wlp/docs92/prodOps/propTool.html, some details has been provided. But I am not able to understand, what is Inventory File? How to create it if we have more than one project?
    I tried to findout the exact process in all the forums and also in BEA docs, but I didn't find any.
    Please suggest me on this.
    Thanks in advance.
    cheers

    hi,
    scoping comes into picture just before the merge of source and destination inventories.
    But in my case, when I try to download an inventory, the error i mentioned is being thrown. I went through the logs, it says "java.net.SocketException: socket write error: Connection aborted by peer".
    as far as I know following is the procedure that needs to be followed to propagate content from source to destination.
    1) Create inventory for both source and destination.
    2) set the scope
    3) merge the inventory files
    4) upload the merged inventory to server
    as per first step, we need to download the inventories for for their creation. I am getting error in this phase itself and not able to proceed further.
    I don't know whether I am following the right procedure or not.
    That's why I wanted to know the step-by-step process of content propagation from source to destination.
    Please advice me.
    thanks

  • Uploading a file from jsp page on weblogic portal 9.2 into VCR content node

    I am working on Content Management in Weblogic Portal 9.2 using the com.bea.content API. I have succedded to the extent that I have created "Node" both Hierarchy and Content Node in the Virtual Content Repository using the CM API from a JSP.
    Now I have to upload a file from this JSP into VCR Content Node. I am facing some problems. I am not able to figure out which class to use for this purpose from CM API. Please help in this regard.

    Hi,
    You need to ensure you're using an ObjectClass with a PropertyDefiition of type Property.BINARY. Then, construct a BinaryValue with your InputStream. Use that to construct the Value and Property for the Node you're creating or updating.
    -Ryan

  • Error while navigating across the pages in Weblogic portal 10.3

    I'm using the content managemnt in Weblogic Portal 10.3 to display the tabs in the portal application. I have multiple pages in a book and am trying to display these pages as tabs in the application instead as a different level of menu.
    I have achieved in displaying the tabs using the content management. I'm using a separate portlet for displaying the tabs alone. But while navigating across the tabs, I'm getting the following error in the console.
    Can someone please help me in eliminating this.
    <Error> <netuix> <BEA-423329> <More than 1,000 events were processed in the request -- not handling any more events for this request.>

    See the release note for issue 13371575 at
    http://docs.oracle.com/cd/E26806_01/wlp.1034/e14247/relnotes.htm#i1131976
    Brad

  • Weblogic Portal + Oracle UCM

    Hi,
    Is there any way to connect Oracle UCM content repository to Weblogic Portal 9.2 or 10.2? Is it through Virtual Content Repository? If so, how to add a new repository to the virtual content repository. It is asking for the SPI class, username and password. It will be great if anyone elaborate on this.
    Let me tell you the scenario I am working on. I am implementing federated search (first source is HTTPFetch, second source is FileSystemFetch and the last source is Oracle content server). I have tried and tested the first 2 sources. They are working perfect. I am stuck with the third source. I do not know how to use Oracle content server as a connector to IDOL server. Is there any way for this? Also, I would like to know the purpose of BEACMRepoFetch.

    Hi,
    there seems to be a JCR repository adapter available for UCM: [http://download-east.oracle.com/docs/cd/E10316_01/ouc.htm|http://download-east.oracle.com/docs/cd/E10316_01/ouc.htm]
    I have no hands-on experience with it, though so maybe someone can share some practical experiences.
    There are quite a few ways to hook UCM and WLP together. JSR-170 is the standard way, I believe the above adapter is based on that. Additionally, you could have a [Service Provider Interface implementation|http://download.oracle.com/docs/cd/E13155_01/wlp/docs103/cmspi/index.html] that plugs UCM to WLP's Virtual Content Repository interface through UCM api.
    Yet another option is to use UCM API directly from portal app. This way you're obviously losing all the nice content related features in WLP such as content selectors, campaigns, content queries, tags, etc.
    Cheers,
    Petri

  • Sharepoint Designer - Two step List Workflow task item is not changing the status from not started to Complete

    Hi 
    Using SPD i am creating list workflow.
    Scenario: Employee submits a request . Task assign to manager. Manager can either approve/ reject. If approve then change the state column to "done". If rejected the state column to "Rejected".
    Problem is "Assign a to do item" is assigning the task to manager. But after manager approves the status in the task list not changed to "Completed". Still it is showing "Not started". I dont want to manually complete the task.
    Please help me for automatic process. 
    What i should do to change the status to "Complete" automatically after manager approval
    Regards
    Jhanani
    Janani.R

    Hi Janani,
    From your description, you would like to create an approval workflow for a list. When an employee submit a request to the list, an approval task should be assigned to manager, then manager could approve or reject the request. From the request list,
    we should be able to see the Approval task’s status.
    Not understand the reason of designing the workflow to two steps, an approval action should be enough from my understanding. For producing, I create a list named Request list, then customize it in InfoPath form to add a Request field for stating request
    content. Then add a workflow to list named Approval task, add the action of Start an approval process with administrator and make the workflow automatically start when item is added.
    The image below shows the status of Adding items, Approving and Rejecting. Please check if it could meet your requirement.
    Regards,
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact
    [email protected] .
    Rebecca Tu
    TechNet Community Support

  • Workflow changing the status based some columns value

    OOB workflow SP  designer 2013
    The workflow purpose is change the status columns from
    COMPLETE to IN PROGRESS or from
    IN PROGRESS to COMPLETE according some columns value.. And if the change is from
    IN PROGRESS to COMPLETE
    there will be change in some columns like
    If alertSOP Date <= today then change the status (Columns value) from Complete to In Progress and send email to the manager (the manager email address is a column (Manager Email)
    Else pause until the alert date=Today()
    If the status (columns) = in progress send Remainder email every 10 days
    If the status change from in progress to
    Complete (BY MANAGER MANUALLY) then
     last renewed Date =TODAY()
    Valid to Review=TODAY() + 4 MONTH
     Alert  Date=today() + 5 month
    and  Due Date=today() + 6 months
    AND START THE WORKFLOW AFTER UPDATING THIS COLUMNS FOR NEXT cycle
    SharePoint List(http://server/site/..) LIST ITEMS
    Department
    Contractor
    Division
    Manager Email
    Contractor last renewed Date
    Contractor Valid to Review
    Alert SOPReview
    DueDate Review
    Status
    Workflow Status
    ABC
    JONAH
    10
    [email protected]
    01/01/2014
    05/06/2014
    5/07/2014
    5/08/2014
    COMPLETE
    paused 
    DEF
    SMITH
    20
    [email protected]
    01/01/2014
    02/03/2014
    2/28/2014
    3/20/2014
    INPROGRESS
    INPROGRESS
    Note:
    The status is changed manually by manager from IN PROGRESS TO COMPLETE
    The status from COMPLETE to IN PROGRESS is changed by event or Triggers  (based the alert date) 

    The First Part are coded as follow
    (The workflow purpose is change the status columns from COMPLETE to IN
    PROGRESS or fromIN PROGRESS to COMPLETE according
    some columns value.. And if the change is from IN
    PROGRESSto COMPLETE there
    will be change in some columns like
    If alertSOP Date <= today then change the status (Columns value) from Complete to In Progress and send email to the manager (the manager email address is a column (Manager Email)
    Else pause until the alert date=Today()
    If the status (columns) = in progress send
    Reminder email every 10 days)
    Note:
    The first if Block work as expected
    the second if block generate error.. Internal States Canceled
    RequestorId: 3b262286-66e8-5f9f-09f8-3b09c5be0ebc. Details: System.ApplicationException: HTTP 400 {"Transfer-Encoding":["chunked"],"X-SharePointHealthScore":["1"],"SPClientServiceRequestDuration":["1997"],"SPRequestGuid":["3b262286-66e8-5f9f-09f8-3b09c5be0ebc"],"request-id":["3b262286-66e8-5f9f-09f8-3b09c5be0ebc"],"X-FRAME-OPTIONS":["SAMEORIGIN"],"X-Content-Type-Options":["nosniff"],"X-MS-InvokeApp":["1;
    RequireReadOnly"],"MicrosoftSharePointTeamServices":["15.0.0.4420"],"Cache-Control":["max-age=0, private"],"Date":["Tue, 25 Mar 2014 21:25:35 GMT"],"X-AspNet-Version":["4.0.30319"],"X-Powered-By":["ASP.NET"]} at Microsoft.Activities.Hosting.Runtime.Subroutine.SubroutineChild.Execute(CodeActivityContext
    context) at System.Activities.CodeActivity.InternalExecute(ActivityInstance instance, ActivityExecutor executor, BookmarkManager bookmarkManager) at System.Activities.Runtime.ActivityExecutor.ExecuteActivityWorkItem.ExecuteBody(ActivityExecutor executor, BookmarkManager
    bookmarkManager, Location resultLocation)

  • Standard Tool / Program to Change the Workflow Status

    Hello,
               I would like to know if there is any standard program to Change Status of the Workflow from IN PROCESS to ERROR. I know that there are Standard SAP tools using which we can restart the Workflows that are in ERROR Status. But for changing the Status of the Workflow from IN PROCESS to ERROR, I've not come across any tools / programs. I would really appreciate your help. Thanks in advance.
    Regards,
    Venkata Phani Prasad K

    sorry correction ..FM SWW_WI_CALLBACK_CHANGE_S can be used to correct the status without any check.
    I came across this issue where a dialogue workitem was logically deleted in order to remove it from the user inbox. Later an incident was created that the work-item is still needed to perform the rest of the workflow action. The solution should have been to complete the work-item by executing the terminating event of work-item or complete the work-item manually(SWIA). But instead some one performed  logical deletion.
    so in order to revive the workflow i needed to change the status form logically deleted to ready status. for this i found this FM which successfully changed the status form logically deleted to ready status. It though lost the agent assignment but i forwarded it manually to respective user.
    Regards
    Dharmendra
    TCS India.

  • Workflow Status column for new content type

    Hi,
    Initially I had a document library and several workflows associated with it. After that I created a new content type inheriting Folder content type. My existing workflows could be started and work fine with any item of this new content type except anything
    related to the workflow status column, such as "Automatically update workflow status to the current stage name", or workflow action "Set workflow status". If I use the OOTB Folder content type, everything's fine. But I need custom fields
    for folder as well.
    The workflows can be started then it seems unreasonable that they are not associated with the items of the new content type, considering I set my new content type to be the child of the existing Folder content type. So why any item under this new content
    type does not have the workflow status column? I've tried removing the workflow from the list and publishing back using SPD without success.
    I also notice that when you associate a new content type to a document library/list which has some custom columns, you cannot edit those columns to be used in the new content type. You need to delete those columns and recreate them, then the option "Add
    to all content types" is there. Is this expected design?
    Thanks

    Hi,
    According to your post, an error occurred when you created a custom Edit form for new content type.
    We can do as follows:
    1.Add the MyNameSpace.MyNewEditPage dll file into GAC(C:\Windows\assembly).
    2. Execute the iisreset command.
    We can create a new content type using visual studio 2012/2013.
    http://www.sharepoint-journey.com/sharepoint-list-content-types-and-site-columns.html
    Best Regards
    Dennis Guo
    TechNet Community Support

  • Workflow status column in AllUserData Table with wrong coded in Content Database?

    I would like to write a stored procedure to find out all workflow instances with errors, directly from content database.
    I go to dbo.alllists to find out the workflow status column, and query AllUserData and find out not readable text
    like:
    쳀曩쌙䂻֞鼥
    㖦巀䐝义颹暲ﻇൿ
    ﱰ臨臸䋖ហ嬀ᨵ瘉
    鄌幀鴏䔖튅㐻⩷揬
    묨ή姖䩡ꊎ鉛۬浶
    ⟯봨飮䙕잳摕盜⣢
    屑䳬鑥䶵岿珽磯Â
    ꬁᆈ䀥䓝䶲紀篰䟫
    蓏ꋦ䥌肃瘓⯈᭄
    뵎㎙䈸䪿蔀ࢴ
    ෬꧋辂䘀馻ࡲ琓
    ꞎ鵫䬺ࢬ䀒✫ꡱ
    any ideas?

    Hi,
    Thanks to share your post.
    For the issue, I think it may due to the wrong handling of the encoding type “UTF-8”, please refer to the followed article, they may give you a hand:
    http://blogs.sun.com/shankar/entry/how_to_handle_utf_8.
    http://devlog.info/2008/08/24/php-and-unicode-utf-8/.
    Hope this could help you!
    Leo

Maybe you are looking for

  • Bug? N85-contacts with multiple numbers not indexe...

    on my n85, if i have a contact A w/ multiple numbers: mobile:123, work: 456, etc, only one of those numbers will show up when i search for contact A. also, that number is the only one searchable as well, so if '123' showed up when i searched for 'A',

  • Move Selection Shape, Not Contents, To Another Layer

    I understand that after creating any selection, CTRL-J copies the selection to a new layer, but that's not what I want to do. I want to copy just the selection shape (i.e. its outline), not its contents, so that I can then apply that selection shape

  • USING CALL METHOD

    Dear Experts,   I am using below piece of code in my program to control color of excel sheet while downloading same way I need to select the rows of R and need to format the cells with currency with 2 decimal places. Can any one please give me code f

  • Determine component height for different platform

    Hi, all It just came to me, how can I determine optimal component height for JLabel,JTextField while calling setPreferredSize on different platform? Different screen dpi,fonts,etc. Is there a guide line, so each component will be not too small? Thank

  • Keep getting no service message

    Have tried all the hints on here, cannot seem to get consistent connectin to make calls, keeps coming up with "no service"