Weblogic Content Reporsitory

Hi,
I am using weblogic content repository to store and retrieve
content. I need to sort on the contents or any of the property
values,which i retrieve through <cm:contentSelector>. There is an option called
sortBy in contentselector but it takes metadata
names to sort by. Is this the only way i can do the sort?
If so, how do i add my own metadata?

Hi
i dont think theres any elegant solution for what your trying to achieve.
In your approach you could access the value via code (probably in a custom taglib) and replace the values(Assuming XHTML snippets, you have multiple ways to do this)
One of the things you could try was have all the <a> tags in cms point to the same place
e.g. and write the servlet to forward/redirect to the page by knowing how to form the url
The other option i can think of is publish these snippets to the fileSystem and then u can have a few options (like <%@include %> or something though i probably wouldnt try this!
regards
deepak

Similar Messages

  • Meta tag using weblogic content management console

    Hi..
    I want to add meta tag content to pages. How can I do this using weblogic content management console?
    please help......
    Edited by: 925203 on Apr 25, 2012 3:58 AM

    Hi!
    I do the following: In file framework/skeletons/bighorn/head.jsp or skeletons orther, include
    <skeleton:context type="headpc">
            <head>
                 <skeleton:contentTypeMeta/>
                 <jsp:include page="metadata.jsp" flush="true"></jsp:include>
                 <skeleton:children/>
            </head>
    </skeleton:context>Hopefully this will help you
    Thanks!

  • Interested in work with Weblogic Content Express

    Hello, I'm interested in work with Weblogic Content Express and I would like some information (stepts) about how obtain this product because we are working with Weblogic Server, Weblogic Commerce Server and Weblogic Personalization Server and I can't found this tool. Thank for your attention and your help. Carlos

    Try this utility: http://h20180.www2.hp.com/apps/Nav?h_pagetype=s-92​6&h_lang=en&h_client=s-h-e17-1&h_keyword=dg-NDU&ju​...
    Say thanks by clicking "Kudos" "thumbs up" in the post that helped you.
    I am employed by HP

  • Accessing content in WebLogic Content Management system via link in JSP

    We are running WebLogic 8.1 (sp4) and are learning about the BEA Content Management System and what we can do with it. We have a user request to pull out the content based on certain indexes and display the titles as links in a JSP. The links in the JSP would actually allow the user to pull down the document.
    <BR>
    Is this possible?
    Could someone send an example on how to do this?
    <BR>
    Thank you,
    <BR>
    Robert
    <BR>
    This is what we have so far (which builds a link, but we don't have the correct mapping to open/save/etc. the file):
    <br><br>
    <pz:contentSelector rule="ProgramPublicLinks" id="pubLinks"/>
    <utility:notNull item="<%=pubLinks%>">
    <utility:forEachInArray array="<%=pubLinks%>" id="plink" type="com.bea.content.Node">
    <BR><BR>
    [a href="<%=request.getContextPath() + plink.getPath() %>"]
    <BR>
    <cm:getProperty id="plink" default="No content node found." name="binary" resultId="link"
    conversionType="url" />
    <%= link %>
    <BR>
    [a]
    <BR><BR>
    </utility:forEachInArray>
    </utility:notNull>

    Hi Robert,
    Take a look at the DownloadBinaryServlet. You can use this to download a CM Node's binary property value.
    If you are displaying images, the ShowPropertyServlet is probably a better match. (build up an image href URL to the ShowProperty servlet)
    -Steve

  • Weblogic 10.3 content management requirement.

    Hi,
    I have a requirement to pull the pdf from the weblogic content management without weblogic portal configuration. Is it is possible to achive this.If possible please suggest me how to do.
    thanks in advance....
    Uday Sariki.

    In your JSP, use the <embed> and <object> html tags appropriate for Flash files, like this:
    http://www.w3schools.com/flash/flash_inhtml.asp
    For the src attribute (the url to your swf file in UCM), you can either use the ShowPropertyServlet class:
    http://download.oracle.com/docs/cd/E13155_01/wlp/docs103/javadoc/com/bea/content/manager/servlets/ShowPropertyServlet.html
    Or construct it with something ugly like:
    src="<%= request.contextPath%>/ShowPropertyServlet?nodePath=<%= node.path %>"
    You might need to URLEncode the path.
    Some comparable Java code looks like this:
    try
    StringBuffer imageSrc = new StringBuffer();
    imageSrc.append(request.getContextPath());
    imageSrc.append("/ShowPropertyServlet?nodePath=");
    String requestEncoding = request.getCharacterEncoding();
    if (requestEncoding == null)
    requestEncoding = "UTF-8";
    String encodedPath = URLEncoder.encode(node.getPath(), requestEncoding);
    imageSrc.append(encodedPath);
    imageSrc.append("//");
    imageSrc.append(propertyName);
    return imageSrc.toString();
    catch(UnsupportedEncodingException uee)
    return "";
    }

  • Getting error while updating property of image through weblogic CMS

    Hii
    I want to add alt text and alt title to an existing image through Weblogic Content Management System_ . For that I have used adAltText property of ad content type.
    For that I have refer the following link
    [ http://docs.oracle.com/cd/E13155_01/wlp/docs103/cm/contentTypesCm.html#wp1096390]
    I add values to adAltText. After that clicked on cheach in.
    But while doing cheach in in Weblogic Content Management System_ . I am getting following Exception
    A RepositoryException was thrown: null
    and following is stacktrace:
    com.bea.content.virtual.workflow.WorkflowException
         at com.bea.content.virtual.workflow.PublishAction.execute(PublishAction.java:179)
         at com.bea.content.virtual.internal.server.bean.InternalWorkspaceOpsBean.handleWorkflowActions(InternalWorkspaceOpsBean.java:524)
         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.bea.portal.tools.content.controls.ContentVersionControlImpl.checkIn(ContentVersionControlImpl.java:165)
         at com.bea.portal.tools.content.controls.ContentVersionControlBean.checkIn(ContentVersionControlBean.java:839)
         at content.BaseContent.doCheckinLatestVersion(BaseContent.java:1127)
         at content.BaseContent.handleLibraryOpForSelectedNode(BaseContent.java:1050)
         at content.node.nodeSelected.properties.NodePropertiesController.checkInLatestVersion(NodePropertiesController.java:530)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:597)
         at org.apache.beehive.netui.pageflow.FlowController.invokeActionMethod(FlowController.java:879)
         at org.apache.beehive.netui.pageflow.FlowController.getActionMethodForward(FlowController.java:809)
         at org.apache.beehive.netui.pageflow.FlowController.internalExecute(FlowController.java:478)
         at org.apache.beehive.netui.pageflow.PageFlowController.internalExecute(PageFlowController.java:306)
         at global.internal.AbstractBaseController.internalExecute(AbstractBaseController.java:360)
         at org.apache.beehive.netui.pageflow.FlowController.execute(FlowController.java:336)
         at org.apache.beehive.netui.pageflow.internal.FlowControllerAction.execute(FlowControllerAction.java:52)
         at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:431)
         at org.apache.beehive.netui.pageflow.PageFlowRequestProcessor.access$201(PageFlowRequestProcessor.java:97)
         at org.apache.beehive.netui.pageflow.PageFlowRequestProcessor$ActionRunner.execute(PageFlowRequestProcessor.java:2044)
         at org.apache.beehive.netui.pageflow.interceptor.action.internal.ActionInterceptors.wrapAction(ActionInterceptors.java:91)
         at org.apache.beehive.netui.pageflow.PageFlowRequestProcessor.processActionPerform(PageFlowRequestProcessor.java:2116)
         at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:236)
         at org.apache.beehive.netui.pageflow.PageFlowRequestProcessor.processInternal(PageFlowRequestProcessor.java:556)
         at org.apache.beehive.netui.pageflow.PageFlowRequestProcessor.process(PageFlowRequestProcessor.java:853)
         at org.apache.beehive.netui.pageflow.AutoRegisterActionServlet.process(AutoRegisterActionServlet.java:631)
         at org.apache.beehive.netui.pageflow.PageFlowActionServlet.process(PageFlowActionServlet.java:158)
         at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:414)
         at org.apache.beehive.netui.pageflow.PageFlowUtils.strutsLookup(PageFlowUtils.java:1199)
         at org.apache.beehive.netui.pageflow.PageFlowUtils.strutsLookup(PageFlowUtils.java:1129)
         at com.bea.portlet.adapter.scopedcontent.ScopedContentCommonSupport.executeAction(ScopedContentCommonSupport.java:687)
         at com.bea.portlet.adapter.scopedcontent.ScopedContentCommonSupport.processActionInternal(ScopedContentCommonSupport.java:142)
         at com.bea.portlet.adapter.scopedcontent.PageFlowStubImpl.processAction(PageFlowStubImpl.java:107)
         at com.bea.portlet.adapter.NetuiActionHandler.raiseScopedAction(NetuiActionHandler.java:111)
         at com.bea.netuix.servlets.controls.content.NetuiContent.raiseScopedAction(NetuiContent.java:181)
         at com.bea.netuix.servlets.controls.content.NetuiContent.raiseScopedAction(NetuiContent.java:167)
         at com.bea.netuix.servlets.controls.content.NetuiContent.handlePostbackData(NetuiContent.java:225)
         at com.bea.netuix.nf.ControlLifecycle$2.visit(ControlLifecycle.java:180)
         at com.bea.netuix.nf.ControlTreeWalker.walkRecursive(ControlTreeWalker.java:324)
         at com.bea.netuix.nf.ControlTreeWalker.walkRecursive(ControlTreeWalker.java:334)
         at com.bea.netuix.nf.ControlTreeWalker.walkRecursive(ControlTreeWalker.java:334)
         at com.bea.netuix.nf.ControlTreeWalker.walkRecursive(ControlTreeWalker.java:334)
         at com.bea.netuix.nf.ControlTreeWalker.walkRecursive(ControlTreeWalker.java:334)
         at com.bea.netuix.nf.ControlTreeWalker.walkRecursive(ControlTreeWalker.java:334)
         at com.bea.netuix.nf.ControlTreeWalker.walkRecursive(ControlTreeWalker.java:334)
         at com.bea.netuix.nf.ControlTreeWalker.walkRecursive(ControlTreeWalker.java:334)
         at com.bea.netuix.nf.ControlTreeWalker.walkRecursive(ControlTreeWalker.java:334)
         at com.bea.netuix.nf.ControlTreeWalker.walkRecursive(ControlTreeWalker.java:334)
         at com.bea.netuix.nf.ControlTreeWalker.walkRecursive(ControlTreeWalker.java:334)
         at com.bea.netuix.nf.ControlTreeWalker.walkRecursive(ControlTreeWalker.java:334)
         at com.bea.netuix.nf.ControlTreeWalker.walkRecursive(ControlTreeWalker.java:334)
         at com.bea.netuix.nf.ControlTreeWalker.walkRecursive(ControlTreeWalker.java:334)
         at com.bea.netuix.nf.ControlTreeWalker.walkRecursive(ControlTreeWalker.java:334)
         at com.bea.netuix.nf.ControlTreeWalker.walkRecursive(ControlTreeWalker.java:334)
         at com.bea.netuix.nf.ControlTreeWalker.walkRecursive(ControlTreeWalker.java:334)
         at com.bea.netuix.nf.ControlTreeWalker.walkRecursive(ControlTreeWalker.java:334)
         at com.bea.netuix.nf.ControlTreeWalker.walkRecursive(ControlTreeWalker.java:334)
         at com.bea.netuix.nf.ControlTreeWalker.walkRecursive(ControlTreeWalker.java:334)
         at com.bea.netuix.nf.ControlTreeWalker.walkRecursive(ControlTreeWalker.java:334)
         at com.bea.netuix.nf.ControlTreeWalker.walkRecursive(ControlTreeWalker.java:334)
         at com.bea.netuix.nf.ControlTreeWalker.walkRecursive(ControlTreeWalker.java:334)
         at com.bea.netuix.nf.ControlTreeWalker.walkRecursive(ControlTreeWalker.java:334)
         at com.bea.netuix.nf.ControlTreeWalker.walkRecursive(ControlTreeWalker.java:334)
         at com.bea.netuix.nf.ControlTreeWalker.walkRecursive(ControlTreeWalker.java:334)
         at com.bea.netuix.nf.ControlTreeWalker.walkRecursive(ControlTreeWalker.java:334)
         at com.bea.netuix.nf.ControlTreeWalker.walkRecursive(ControlTreeWalker.java:334)
         at com.bea.netuix.nf.ControlTreeWalker.walkRecursive(ControlTreeWalker.java:334)
         at com.bea.netuix.nf.ControlTreeWalker.walkRecursive(ControlTreeWalker.java:334)
         at com.bea.netuix.nf.ControlTreeWalker.walkRecursive(ControlTreeWalker.java:334)
         at com.bea.netuix.nf.ControlTreeWalker.walkRecursive(ControlTreeWalker.java:334)
         at com.bea.netuix.nf.ControlTreeWalker.walkRecursive(ControlTreeWalker.java:334)
         at com.bea.netuix.nf.ControlTreeWalker.walk(ControlTreeWalker.java:130)
         at com.bea.netuix.nf.Lifecycle.processLifecycles(Lifecycle.java:395)
         at com.bea.netuix.nf.Lifecycle.processLifecycles(Lifecycle.java:361)
         at com.bea.netuix.nf.Lifecycle.processLifecycles(Lifecycle.java:352)
         at com.bea.netuix.nf.Lifecycle.runInbound(Lifecycle.java:184)
         at com.bea.netuix.nf.Lifecycle.run(Lifecycle.java:159)
         at com.bea.netuix.servlets.manager.UIServlet.runLifecycle(UIServlet.java:388)
         at com.bea.netuix.servlets.manager.UIServlet.doPost(UIServlet.java:258)
         at com.bea.netuix.servlets.manager.UIServlet.service(UIServlet.java:199)
         at com.bea.netuix.servlets.manager.SingleFileServlet.service(SingleFileServlet.java:251)
         at com.bea.netuix.servlets.manager.PortalServlet.service(PortalServlet.java:686)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
         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 com.bea.jsptools.servlet.PagedResultServiceFilter.doFilter(PagedResultServiceFilter.java:82)
         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 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)
    Please reply if any one find solution on this.
    Edited by: 925203 on Apr 3, 2012 6:34 AM
    Edited by: 925203 on Apr 3, 2012 6:35 AM
    Edited by: 925203 on Apr 4, 2012 10:41 PM

    Yes, I am using custom work flow.
    I added new property for alternate text to existing content type Banner. When I try to update value for alternate text it throws error: A RepositoryException was thrown: null
    Even if i try to delete added property it throws error :
    A RepositoryException was thrown: The type Banner has existing node instances. Therefore the removal of property definition alt is not allowed.
    Is there alternate way to add property to existing content type through weblogic content management console?
    Edited by: 925203 on Apr 5, 2012 9:48 PM

  • Need Code for XML content into Xlet

    "How to read XML file and How to display on Xlet interface."
    If you know it. please post me
    thank you
    lak

    Hi Ryan,
    i had already tried the function that you have given me...
    WorkspaceOps.getPropertyBytes()..
    but no result the binary value is still NULL...:(
    Now let me tell you that my code is running very much fine for non-library services enabled repository ,i am able to get the content in that repository, but as you know you will not get any version history, which is very much important to me....
    now as it is working there i think that there should not be any problem with the code ,but problem may be there when i use library services enabled repository....
    i think there is some problem with the weblogic content repository...when it is enabled for library services...
    manoj

  • Bea content repository bug (?)

    Hi All,
    I've encountered a problem working with the Bea weblogic content repository.
    I've tried to create a new property for a content type wich has already some contents associated.
    The results is that if i try to set the new proprery value, for a content that has been loaded before the new property was created, the admin console displays an error (reported below)
    Does someone know if there's a bug on the content managemtent, and if it is, how can be avoided?
    Here is a summarization of the steps i followed:
    1. Loaded a new content of Image type (named image1)
    2. Created a new property (image width) for the type Image
    3. Tried to set the new property of the content image1 --> (ERROR)
    4. Loaded another content of the same type (named image2)
    5. Tried to set the new property of the content image2 --> (OK)
    Thank you in advance,
    Kind regards.
    -- Marco --
    --------------------- ERROR LOG ---------------------
    java.lang.NullPointerException
         at content.node.nodeSelected.properties.NodePropertiesController.saveProperty(NodePropertiesController.java:1032)
         at content.node.nodeSelected.properties.NodePropertiesController.saveProperties(NodePropertiesController.java:986)
         at content.node.nodeSelected.properties.NodePropertiesController.saveProperties(NodePropertiesController.java:779)
         at jrockit.reflect.VirtualNativeMethodInvoker.invoke(Ljava.lang.Object;[Ljava.lang.Object;)Ljava.lang.Object;(Unknown Source)
         at java.lang.reflect.Method.invoke(Ljava.lang.Object;[Ljava.lang.Object;I)Ljava.lang.Object;(Unknown Source)
         at org.apache.beehive.netui.pageflow.FlowController.invokeActionMethod(FlowController.java:869)
         at org.apache.beehive.netui.pageflow.FlowController.getActionMethodForward(FlowController.java:808)
         at org.apache.beehive.netui.pageflow.FlowController.internalExecute(FlowController.java:477)
         at org.apache.beehive.netui.pageflow.PageFlowController.internalExecute(PageFlowController.java:305)
         at org.apache.beehive.netui.pageflow.FlowController.execute(FlowController.java:335)
         at org.apache.beehive.netui.pageflow.internal.FlowControllerAction.execute(FlowControllerAction.java:51)
         at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:419)
         at org.apache.beehive.netui.pageflow.PageFlowRequestProcessor.access$201(PageFlowRequestProcessor.java:95)
         at org.apache.beehive.netui.pageflow.PageFlowRequestProcessor$ActionRunner.execute(PageFlowRequestProcessor.java:2042)
         at org.apache.beehive.netui.pageflow.interceptor.action.internal.ActionInterceptors.wrapAction(ActionInterceptors.java:90)
         at org.apache.beehive.netui.pageflow.PageFlowRequestProcessor.processActionPerform(PageFlowRequestProcessor.java:2114)
         at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:224)
         at org.apache.beehive.netui.pageflow.PageFlowRequestProcessor.processInternal(PageFlowRequestProcessor.java:554)
         at org.apache.beehive.netui.pageflow.PageFlowRequestProcessor.process(PageFlowRequestProcessor.java:851)
         at org.apache.beehive.netui.pageflow.AutoRegisterActionServlet.process(AutoRegisterActionServlet.java:630)
         at org.apache.beehive.netui.pageflow.PageFlowActionServlet.process(PageFlowActionServlet.java:157)
         at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:414)
         at org.apache.beehive.netui.pageflow.PageFlowUtils.strutsLookup(PageFlowUtils.java:1169)
         at com.bea.portlet.adapter.scopedcontent.ScopedContentCommonSupport.executeAction(ScopedContentCommonSupport.java:688)
         at com.bea.portlet.adapter.scopedcontent.ScopedContentCommonSupport.processActionInternal(ScopedContentCommonSupport.java:144)
         at com.bea.portlet.adapter.scopedcontent.PageFlowStubImpl.processAction(PageFlowStubImpl.java:107)
         at com.bea.portlet.adapter.NetuiActionHandler.raiseScopedAction(NetuiActionHandler.java:99)
         at com.bea.netuix.servlets.controls.content.NetuiContent.raiseScopedAction(NetuiContent.java:180)
         at com.bea.netuix.servlets.controls.content.NetuiContent.raiseScopedAction(NetuiContent.java:168)                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

    hi,
    I have not verified it with BEA, but I have analyzed the error as I encountered it my self. Seems like the bug arises from a missing row in the CM_PROPERTY table. This seems to trigger a bug of some sort in the content framework.
    You could try to make a sql ( should be easy ) to insert the missing rows.
    I have blogged about this in my [url http://blog.thej2eestruggle.com]J2EE blog.
    - Anders Mathisen

  • Problem with weblogic-ejb-jar.xml

    while trying to deploy a session bean to Weblogic Server 6.1 it gives a message "encoding not supported".The xml encoding set in weblogic-ejb-jar file by JDeveloper is "windows-1252" which is the cause for error...Can anybody help me on this...
    tia
    monmohan

    You need to use UTF-8 encoding for WebLogic.
    Check out the bea quickstart to learn how to change this.
    http://otn.oracle.com/products/jdev/htdocs/vcmigration/weblogic/content.html

  • JDeveloper 9.0.3 w/ WebLogic 6.1

    I like all the new features of 9.0.3, but I cannot get the deployment to work at all.
    I followed the instrution (http://otn.oracle.com/products/jdev/htdocs/vcmigration/weblogic/content.html) to deploy a Servlet to WebLogic 6.1, and this is what I got:
    Sending EAR file to remote WebLogic server...
    H:\bea\jdk131\jre\bin\javaw.exe -Ddeploy.debug=true -classpath H:\bea\wlserver6.1\lib\weblogic.jar weblogic.deploy -username system -host localhost -port 7001 -debug -component webapp1:myserver deploy **** jdev H:\JDeveloper\jdev\mywork\Workspace1\Project1\deploy\webapp1.ear
    Too many arguments.
    Usage: java weblogic.deploy [options] list password {name} {source}
    (I tried removing "webapp1:myserver"; this got rid of the "too many arguments" error while invoked from a cmd prompt; but the same error appeared in JDeveloper.)
    Invoking the cmd from cmd prompt or deploy it through WebLogic console gives the following error: The encoding "windows-1252" is not supported.
    I'm 100% sure I changed the encoding to "UTF-8" as instructed. It's very frustrating JDeveloper cannot even do a simply deployment right.

    This is a Bug 2600020 in JDeveloper 9.0.3 Preiew release. This is fixed for
    the production, which will available on the OTN later today or tomorrow

  • How To Search in Weblogic 8.1 Repository ?

    Hi Friends,
    This is Vijay Patel, IBM India ...
    my team developing a portal on Weblogic 8.1. we are using WebLogic Content Management
    System (Weblogic Repository) for dynamic content to display on JSP pages...
    Now I want to search one string e.g. "forms" in my repository, how can i search
    in weblogic repository ? Is there any API in Weblogic 8.1 to search in repository
    ? As i came accross some classes QueryManager and RequestQuery...but I don't
    know how to use this class..
    please help me to sort out this problem...as it is very urgent for me.....
    Thanks
    Vijay Patel
    [email protected]

    There is not a search feature available. You have to do an educated guess under what dimension your infoobject could be and select.

  • Unable to create a connection for Discussion Forums.

    Hi,
    I have my WC_Spaces and WC_Colloboration Servers running actively. When I try to create a new connection by right-clicking Connections in Applications Resources and choose Discussion Forums and too I entered the URL and admin fields, I find its unable to create a new connection. The error displayed is : "Failed to verify connection". Please help me with this.
    Regards,
    Dinesh Vishnu Kumar

    Hi,
    In your webcenter application you have created the discussion forum connection and you have connections.xml file in your application.Open the connections.xml in jdeveloper and check the discussion forum connection entry.
    For example here I have written down my entry on forum connection-
    <Reference name="Discussion Forum Connection" className="oracle.adf.mbean.share.connection.webcenter.forum.ForumConnection" xmlns="">
    <Factory className="oracle.adf.mbean.share.connection.webcenter.forum.ForumConnectionFactory"/>
    <RefAddresses>
    <StringRefAddr addrType="forum.url">
    <Contents>http://localhost:8890/owc_discussions</Contents>
    </StringRefAddr>
    <StringRefAddr addrType="admin.user">
    <Contents>weblogic</Contents>
    </StringRefAddr>
    <StringRefAddr addrType="connection.time.out">
    <Contents/>
    </StringRefAddr>
    <StringRefAddr addrType="policy.uri.for.auth.access">
    <Contents/>
    </StringRefAddr>
    <StringRefAddr addrType="policy.uri.for.public.access">
    <Contents/>
    </StringRefAddr>
    <StringRefAddr addrType="recipient.key.alias">
    <Contents/>
    </StringRefAddr>
    <StringRefAddr addrType="adapter.name">
    <Contents>Jive</Contents>
    </StringRefAddr>
    </RefAddresses>
    </Reference>
    Change the required entries with your values(for serveraddress,port and admin user).
    One more thing need to consider that is -
    in jdeveloper proxy ,add the server address in exception list and restart the jdeveloper.
    Sometimes it will show you up as "failed to verify the connection". But it will work atleast functionality-wise it will work.
    Apart from this,I have a query on "Have you used any VPN connection to connect collaboration server to create forum connection?"
    Hope it works for you.
    Regards,
    Hoque

  • MSISDN Based sticky problem

    Hi,
    We need persistency (or sticky load balancing) based on MSISDN and destination ip&port pairs.
    My content configuration shown below:
    owner WEBLOGIC
    content weblogic
    add service msisdn-9001-1
    add service msisdn-9001-2
    add service msisdn-9001-3
    add service msisdn-9002-1
    add service msisdn-9002-2
    add service msisdn-9002-3
    url "/*"
    advanced-balance wap-msisdn
    protocol tcp
    port 9003
    vip address 10.200.148.15
    active
    As a service ,there are 3 server (ofcourse 3 IP) But each server has 2 instance (Port 9001 and 9002)
    Here is the service configuration:
    service msisdn-9001-1
    ip address 10.200.148.20
    protocol tcp
    port 9001
    keepalive type tcp
    keepalive port 9001
    active
    service msisdn-9001-2
    ip address 10.200.148.21
    protocol tcp
    port 9001
    keepalive type tcp
    keepalive port 9001
    active
    service msisdn-9001-3
    ip address 10.200.148.60
    protocol tcp
    port 9001
    keepalive type tcp
    keepalive port 9001
    active
    service msisdn-9002-1
    ip address 10.200.148.20
    protocol tcp
    port 9002
    keepalive type tcp
    keepalive port 9002
    active
    service msisdn-9002-2
    ip address 10.200.148.21
    protocol tcp
    port 9002
    keepalive type tcp
    keepalive port 9002
    active
    service msisdn-9002-3
    protocol tcp
    port 9002
    keepalive type tcp
    keepalive port 9002
    ip address 10.200.148.60
    active
    But I didn't achieve that coming MSISDN go to always same service.

    Please confirm that you want to configure stickiness both based on the MSISDN header and the destination ip/port. What you can try to do in this case is set a separate content rules based on the destination port and use the 'advanced-balance wap-msisdn' in conjunction with the content rule based on the destination port.

  • UCM - WebCenter  + HTML 404 error

    Hi all,
    I have installed last WebCenter and UCM 11G (11.1.1.5) and OHS is configured, up and running, and http://apricot.xxx.ch/cs is accessible,
    BUT I still have the HTML 404 error, when I try to access profiles forms (for upload, or edit properties)
    My connection.xml :
    <Reference name="UCM11GApricot" className="oracle.vcr.jam.JamRepository" credentialStoreKey="UCM11GApricot" xmlns="">
    <Factory className="oracle.vcr.jam.JamRepositoryFactory"/>
    <RefAddresses>
    <StringRefAddr addrType="oracle.vcr.jam.factoryClassName">
    <Contents>oracle.jcr.OracleRepositoryFactory</Contents>
    </StringRefAddr>
    <StringRefAddr addrType="oracle.vcr.jam.repositoryClassName">
    <Contents>javax.jcr.Repository</Contents>
    </StringRefAddr>
    <StringRefAddr addrType="oracle.vcr.jam.repositoryTypeID">
    <Contents>oracle.stellent.jcr</Contents>
    </StringRefAddr>
    <StringRefAddr addrType="oracle.vcr.jam.authenticationMethod">
    <Contents>IDENTITY_PROPAGATION</Contents>
    </StringRefAddr>
    <StringRefAddr addrType="oracle.jcr.framework.version">
    <Contents>11.1.0.0.0</Contents>
    </StringRefAddr>
    <StringRefAddr addrType="oracle.jcr.configuration.className">
    <Contents>oracle.stellent.jcr.IdcRepositoryConfiguration</Contents>
    </StringRefAddr>
    <StringRefAddr addrType="oracle.jcr.configuration.factoryClassName">
    <Contents>oracle.stellent.jcr.IdcRepositoryConfigurationFactory</Contents>
    </StringRefAddr>
    <StringRefAddr addrType="jcr.repository.version">
    <Contents>10.1.3.2.0</Contents>
    </StringRefAddr>
    <StringRefAddr addrType="oracle.stellent.jcr.configuration.cis.config.socket.type">
    <Contents>socket</Contents>
    </StringRefAddr>
    <StringRefAddr addrType="oracle.stellent.jcr.configuration.server.host">
    <Contents>apricot.xxx.ch</Contents>
    </StringRefAddr>
    <StringRefAddr addrType="oracle.stellent.jcr.configuration.server.port">
    <Contents>4444</Contents>
    </StringRefAddr>
    <StringRefAddr addrType="oracle.stellent.jcr.configuration.server.web.contextRoot">
    <Contents>/cs</Contents>
    </StringRefAddr>
    <StringRefAddr addrType="oracle.stellent.jcr.configuration.server.admin.username">
    <Contents>weblogic</Contents>
    </StringRefAddr>
    <SecureRefAddr addrType="oracle.stellent.jcr.configuration.server.admin.password"/>
    </RefAddresses>
    </Reference>

    ah yes...
    Entering credentials are required unless you install and configure OAM... That's the only solution.
    The other issue with the session is a big one... According to initial information from Oracle, what you are doing is not fully supported and only works in webCenter spaces. However this can be resolved by adding a very simple thing in the weblogic.xml
    read this post: http://yonaweb.be/enable_site_studio_features_webcenter_portal_0
    it's the part at the ending about the cookie-path.
    it took me a few days to resolve that issue so the above post is very valuable...

  • Problems with RSS from SDN

    Hi,
    I'm trying to get all the SDN-Infos via RSS into a EP6.0 SPS11. At the beginning everything worked fine. I integrated the Weblog-Content with the XML-iView. But the RSS feed regarding to the SDN forum doesn't work. I always get the following error message: "Error while using XML iView, please contact your system administrator"
    What's different between the Weblog feeds and the forum feeds?
    Regards
    Steffen

    Hello,
    this problem appears with certain browser types and releases.
    Add https://www.sdn.sap.com/irj/sdn/developerareas/contentportfolio in your browser options to your list of trusted sites or try a different browser, e.g. Firefox.
    In addition, the attached document might be helpful: https://www2.iviewstudio.com/sdn/docs/ResolutionOfSSOClientIssues.pdf
    If the problem persists, please email [email protected]
    Regards, Anke

Maybe you are looking for

  • How to set background color of a visio object depending on it's text

    Hello everyone, I am an application developer and use visio to outline process flows. For one visio file that I have inherited, process objects are used to represent different process group on our system. Each type of process group contain common wor

  • How to deploy jar file for use within mapping user-defined fcn

    Hi all, I have a java class I'd like to called from a mapping user-defined function. Here's what I've done (but hasn't worked) 1. Added 'package com.<mycompany>.xi.util.base64 to the source class file and compiled it. 2. Created a sda with a plain pr

  • Service Type Templates

    Hi all, does anybody know if there will be more serivce type templetes available in the future? For example for SRM, BW or CRM scenarios? And if yes, how will they be accessible? Per Support Package or also as files to import? Thanks! Best regards, R

  • Dns in local network for local server

    once agin Im here... after two days of trying to make my local DNS work, I decide to ask here. All I want to do is get an website located in "/opt/lampp/htdocs" on server by typing its "name" eg. "www.mygreatsite.org" www site located on servers web

  • ITunes Library Organization

    I have recently added 2 albums to my iTunes one called "The Greatest Hits" One called "Greatest Hits" Now in iTunes when organizing my albums by Album name they are over lapping i.e. One song from "The Greatest Hits" then one from "Greatest Hits" the