Help me! Change Context root in weblogic portal 10.3.2

I has a desktop in weblogic portal with path is: http://localhost:7001/ABC/appmanager/t1/home , I want to change the string ABC => Portal with new is the path: http://localhost:7001/Portal/appmanager/ v1/home How to configuration? I need config file? .The users help to resolve the problem this
Thanks you very much! Hoping to replay soon!!!

Thanks Sanjeev Kumar has replay topic!
I have followed your instructions by: replace <display-name>Portal</display-name> in web.xml and <wls:context-root>Portal</wls:context-root> in weblogic.xml , then I redeploy up server portal weblogic then runing path new is http://localhost:7001/Portal/appmanager/t1/home , throw error:
Resource /t1/home could not be resolved for locale null. I think problem related to database when I create desktop. I view database see context root ABC resource in PF_Desktop_instance and PF_Desktop_Defination.How to update name colum WebApp in two table?
Thanks you very much! Hoping to replay soon!!!
Edited by: 890028 on Feb 15, 2012 11:12 PM

Similar Messages

  • Changing context root

    I know how to change context root inside Jdeveloper but I couldnt find any way to modify it outside Jdeveloper. like I changed application.xml and weblogic.xml but not successful.
    I am using Jdev 11.1.2.2 and Ojdeploy for creating ear file

    Hi,
    Try changing in uiProjectName.jpr
    you will find tag like <value n="contextRoot" v="SampleApp"/>
    Edited by: Naresh on Mar 21, 2013 8:00 AM

  • Deploy given EAR file having application.xml and change context-root

    hi
    Please consider deploying a given EAR file on WebLogic Server 10.3.5 (part of JDeveloper 11.1.1.6.0) and changing the context-root for its web-module.
    For example an EAR file with only a web-module (ReviewContextRootFirstApp.ear [1]) or an EAR file with a web-module and an ejb-module (ReviewContextRootSecondApp.ear [2]).
    Given documentation appendix B section "context-root" [3] saying
    "... A context-root setting in application.xml takes precedence over context-root setting in weblogic.xml. ..."
    and documentation section "Typical Deployment Configuration Workflows" [4] saying
    "Oracle does not support using a deployment plan to change the context-root in an application.xml file. However, if an application is deployed as a library, you can either change the context-root through an weblogic-application.xml file or use the deployment plan to change the context-root in an weblogic-application.xml file. "
    Some observed behaviour:
    - scenario (sc1) : deploy ReviewContextRootFirstApp.ear without deployment plan, results in context-root "/rcrfaweb" (as in application.xml)
    - scenario (sc2) : deploy ReviewContextRootFirstApp.ear with deployment plan fa-plan.xml (tries to configure "/rcrfaweb11"), results in context-root "/rcrfaweb" (as in application.xml)
    - scenario (sc3) : deploy ReviewContextRootSecondApp.ear without deployment plan, results in context-root "/rcrsaweb" (as in application.xml)
    - scenario (sc4) : deploy ReviewContextRootSecondApp.ear with deployment plan sa-plan.xml (tries to configure "/rcrsaweb21"), results in context-root "/rcrsaweb" (as in application.xml)
    The blog post "Defining the context root of a web application in Oracle WebLogic server" [5] by Silviu Leahu in its section "Defining the context root in deployment plan" suggests to
    "Remove the META-INF/application.xml DD from the EAR"
    - scenario (sc5) : remove application.xml from ReviewContextRootFirstApp.ear (e.g. using Ant target "remove.application.xml.from.ear") and deploy with deployment plan fa-plan.xml, results in context-root "/rcrfaweb11" (as in fa-plan.xml)
    - scenario (sc6) : remove application.xml from ReviewContextRootSecondApp.ear (e.g. using Ant target "remove.application.xml.from.ear") and deploy with deployment plan sa-plan.xml, results in context-root "/rcrsaweb21" (as in sa-plan.xml)
    One could expect that using a deployment plan (like in scenario's (sc2) and (sc4)) would allow to configure/change the context-root, whithout having to make changes to the EAR file to make this possible. (Somewhat like "Figure 4-2 Single Deployment Plan Workflow")
    Only in scenario's (sc5) and (sc6) I see something close to what I would like to achieve, but there the application.xml file has been removed from the EAR file.
    So ...
    - (q1) Is it impossible to change the context-root at deploy-time for a web-module in a given EAR file that includes an application.xml file, without changing the EAR file?
    - (q2) Is working with EAR files that don't have an application.xml file a supported approach (to change the context-root at deploy-time)?
    Seems like a simple goal, but I must be missing something that is required to achieve it.
    - [1] ReviewContextRootFirstApp/deploy/ReviewContextRootFirstApp.ear in the ZIP file
    at http://www.consideringred.com/files/oracle/2012/ReviewContextRootApps-v0.01.zip
    - [2] ReviewContextRootSecondApp/deploy/ReviewContextRootSecondApp.ear in the (same) ZIP file
    at http://www.consideringred.com/files/oracle/2012/ReviewContextRootApps-v0.01.zip
    - [3] http://docs.oracle.com/cd/E21764_01/web.1111/e13712/weblogic_xml.htm#WBAPP623
    - [4] http://docs.oracle.com/cd/E21764_01/web.1111/e13702/config.htm#DEPGD172
    - [5] http://blog.leahu.net/it/2011/01/04/defining-the-context-root-of-a-web-application-in-oracle-weblogic-server/
    many thanks
    Jan Vervecken

    Thanks for your reply René van Wijk.
    René van Wijk wrote:
    You can use deployment plans in order to change the context-root ...That is what I tried and describe in scenario's (sc2), (sc4), (sc5) and (sc6) in this forum thread.
    Because the application.xml file (in the "given EAR file"), added by JDeveloper 11.1.1.6.0 when deploying to an EAR file, doesn't have id attributes on its application/module elements, I first tried a different XPath expression:
    "/application/module/web[web-uri/text()="WebProject.war"]/context-root"
    But, that didn't work.
    Although the "given EAR file" does not have the suggested id attributes, I tried adding a deployment descriptor application.xml file that does have such id attributes [2], allowing an XPath expression like the one suggested:
    "/application/module[id="WebProject"]/web/context-root"
    - scenario (sc7) : deploy ReviewContextRootFirstApp.ear (in ReviewContextRootApps-v0.02.zip) with deployment plan fa-plan-application-xml-with-id.xml (tries to configure "/rcrfaweb14"), results in context-root "/rcrfaweb" (as in application.xml)
    - scenario (sc8) : deploy ReviewContextRootSecondApp.ear (in ReviewContextRootApps-v0.02.zip) with deployment plan sa-plan-application-xml-with-id.xml (tries to configure "/rcrsaweb24"), results in context-root "/rcrsaweb" (as in application.xml)
    So, it does not seem to work.
    ... you have to use a variable assignment in the right part of the deployment plan (in this case the application.xml) ...My observations I describe above (that it does not seem to work) seem to confirm the Oracle documentation [1] I referred to in this forum thread before:
    "Oracle does not support using a deployment plan to change the context-root in an application.xml file. ... "
    ... By using an xpath expression, you can define which part of the xml has to be changed. ...The values for the deployment-plan xpath elements seem to be "peculiar".
    Although it should not be a problem in an XPath expression, using single quotes (like module[id='WebProject'] ) instead of double quotes (like module[id="WebProject"] ) results in:
    "java.lang.AssertionError: Attributes must be defined as name value pairs, eg, name="value" -- [id='WebProject']"
    Because an XPath predicate expression would use an "@" to refer to an attribute, I also tried to replace what you suggested module[id="Web"] with something like module[@id="Web"] but that also did not make a difference.
    - [1] http://docs.oracle.com/cd/E21764_01/web.1111/e13702/config.htm#DEPGD172
    - [2] http://www.consideringred.com/files/oracle/2012/ReviewContextRootApps-v0.02.zip
    regards
    Jan Vervecken

  • Is it possible to change portal context root?

    Hi,
    how I can change portal context root from /portal to / ?
    Thanks.

    Do you use the webserver or the appserver?
    For the webserver: (assuming default paths)
    You probably can do this by editing:
    /opt/SUNWwbsvr/https-YOURSERVER/config/server.xml
    Try to add something along the following:
    <WEBAPP uri="/" path="/var/opt/SUNWps/https-YOURSERVER/portal/web-apps" enabled="true"/>
    For the appserver it is probably something similiar, please let me know if it works!

  • How do I change the context-root of a web app with a deployment plan?

    I've been trying to figure this out for several hours.
    I'm deploying a .ear file which sets the context root for the single web application it deploys in its application.xml deployment descriptor:
    <application>
    <display-name>MyApp</display-name>
    <module>
    <web>
    <web-uri>MyAppViewControler.war</web-uri>
    <context-root>MyApp</context-root>
    </web>
    </module>
    </application>
    I want to change the context-root from /MyApp to something else when deploying the ear file. It seemed to me that using a deployment plan was the way to do this. But when I use this plan:
    <deployment-plan>
    <application-name>MyApp<application-name>
    <variable-definition>
    <variable>
    <name>NEWCONTEXTROOT</name>
    <value>foobar</value>
    </variable>
    </variable-definition>
    <module-override>
    <module-name>MyApp</module-name>
    <module-type>ear</module-type>
    <module-descriptor external="false">
    <root-element>application</root-element>
    <uri>META-INF/application.xml</uri>
    <variable-assignment>
    <name>NEWCONTEXTROOT</name>
    <xpath>/application/module/web/context-root</xpath>
    </variable-assignment>
    </module-descriptor>
    </module-override>
    </deployment-plan>
    I get an error:
    weblogic.descriptor.DescriptorException: VALIDATION PROBLEMS WERE FOUND
    /bea/user_projects/domains/devod1/nullplan.xml:0: problem: cvc-complex-type.2.4a: Expected element 'web-uri@http://java.sun.com/xml/ns/javaee' instead of 'context-root@http://java.sun.com/xml/ns/javaee' here in element web@http://java.sun.com/xml/ns/javaee:<nullplan.xml>
    I looked at http://e-docs.bea.com/wls/docs103/pdf/deployment.pdf which says:
    "You cannot use a deployment plan to change the context-root in an application.xml
    file. However, if an application is deployed as a library, you can either change the
    context-root through an weblogic-application.xml file or use the deployment plan
    to change the context-root in an weblogic-application.xml file."
    I don't understand what this means. I'm not deploying my application as a library.
    Does anyone know how to change the context-root for an application?
    Any help would be greatly appreciated!

    Hi James,
    I am quite new to Welogic if i am wrong please correct me.I have re-deployed my application (.war) with this Plan.xml
    &lt;?xml version='1.0' encoding='UTF-8'?&gt;
    &lt;deployment-plan xmlns="http://www.bea.com/ns/weblogic/deployment-plan" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.bea.com/ns/weblogic/deployment-plan http://www.bea.com/ns/weblogic/deployment-plan/1.0/deployment-plan.xsd" global-variables="false"&gt;
    &lt;application-name&gt;BrowserR08.003&lt;/application-name&gt;
    *&lt;variable-definition&gt;*
    * &lt;variable&gt;*
    * &lt;name&gt;CONTEXTROOT&lt;/name&gt;*
    * &lt;value&gt;BrowserWeb/servlet/BrowserServlet&lt;/value&gt;*
    * &lt;/variable&gt;*
    * &lt;/variable-definition&gt;*
    &lt;module-override&gt;
    &lt;module-name&gt;BrowserWeb.war&lt;/module-name&gt;
    &lt;module-type&gt;war&lt;/module-type&gt;
    &lt;module-descriptor external="true"&gt;
    &lt;root-element&gt;weblogic-web-app&lt;/root-element&gt;
    &lt;uri&gt;WEB-INF/weblogic.xml&lt;/uri&gt;
    &lt;hash-code&gt;1231953167814&lt;/hash-code&gt;
    *&lt;variable-assignment&gt;*
    * &lt;name&gt;CONTEXTROOT&lt;/name&gt;*
    * &lt;xpath&gt;/weblogic-web-app/context-root&lt;/xpath&gt;*
    * &lt;operation&gt;add&lt;/operation&gt;*
    * &lt;/variable-assignment&gt;*
    &lt;/module-descriptor&gt;
    &lt;module-descriptor external="false"&gt;
    &lt;root-element&gt;web-app&lt;/root-element&gt;
    &lt;uri&gt;WEB-INF/web.xml&lt;/uri&gt;
    &lt;/module-descriptor&gt;
    &lt;module-descriptor external="true"&gt;
    &lt;root-element&gt;wldf-resource&lt;/root-element&gt;
    &lt;uri&gt;META-INF/weblogic-diagnostics.xml&lt;/uri&gt;
    &lt;/module-descriptor&gt;
    &lt;/module-override&gt;
    &lt;config-root&gt;/export/home1/tecapp/BrowserR08.003/plan&lt;/config-root&gt;
    &lt;/deployment-plan&gt;
    I do not know wether i will require the other module descriptor definition in this Plzn.xml. Now when I go to following link.
    Deployments --&gt; MyApp --&gt; Testing
    It gives me following url as a test page:
    http://localhost:7001/BrowserWeb/servlet/BrowserServlet
    as soon as i click on to the above link it redirects me to following.
    http://localhost:7001/BrowserWeb/servlet/BrowserServlet/servlet/BrowserServlet
    Same if i remove these context-root part my normal Testing menu shows me following link as my webapp access path
    http://localhost:7001/BrowserWeb &lt;-- My war file name is BrowserWeb.war so it is default name of my deployed application if i am not wrong
    and as soon as i click on above link it redirects me to the following one.
    http://localhost:7001/BrowserWeb/servlet/BrowserServlet
    It means application server know that my full web access page is with '*servlet/BrowserServlet*' because its adding it in both the cases.
    What I want is a constant URL whcih does not change?
    Hope this helps :)

  • Change property of a page in Weblogic Portal

    Hi all,
    I'm new to Weblogic Portal and I'm trying to change the "Presentation class" property of a .page file, to add a css class to a div. After changing the file and starting the server, nothing seems to have changed. I'm accessing the portal through appmanager, but when I access it the normal way it doesn't work too.
    This is the correct way of doing this?
    Thanks in advance,
    Joao Paulo

    HI Baskaran,
    In the existing functionality the class if_wd_component is being used to change the ui element property but now two elements have been binded to one context which is causing both the elements property to change when if_wd_component~set_enabled method is being used. Is there any other method that can be used to set the property of particular ui element of the context?
    Praveen, thanks for the info, my current changes are in post exit only. I am looking for the right method to use to set the ui element property for bound context
    My issue is similar to this thread: Issue for Hide fields and buttons in applications  WD ABAP

  • 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

  • Need help in upgrading weblogic portal 8.1.4 to 8.1.6

    Hi,
    I have recently upgraded weblogic portal domain for an application. I have used bsu.sh present at app/wlp814/utils/bsu.
    I have one concern, if i run bsu.sh, its going to just update my weblogic portal 8.1.4 binaries and its not going to do any changes to my weblogic domain right. Because, i recently upgraded my weblogic portal domain from 814 to 816 and want to move it to production.
    Location to binaries: /app/wlp814
    Domain location: /app/user_projects/<domain>
    I have successfully upgraded my staging server, but I want to move it to production, so its just ok to copy the binaries i.e wlp814 (which is upgraded to 8.1.6) from stage to my production server and i don't have to make any changes in production domains right.
    Thanks in advance.

    Can some one help me regarding this............................

  • Help needed on upgrading portal application from sp3 to weblogic portal 10

    Hi Guys
    I have an application which is currently running on BEA Weblogic Portal 8.1 sp3. We need to upgrade our application from 8.1 sp3 to BEA Weblogic 10 version.
    (1) Is there any way for upgradation from 8.1 sp3 to portal 10 directly or do I need to upgrade it from sp3 to sp4 and then from sp4 to portal 10? Pls clarify?
    (2) How reliable are the BEAs automated scripts for retaining the personalization/customization of my application on sp3 to upgraded version i.e portal 10?
    (3) I believe, we do not need to do any coding/design changes/architectural changes into my application for this upgrade.
    Any help on this will be highly appreciated
    Thanks
    Jameel

    1) I believe only sp4 and later to weblogic 10 is supported (http://www.bea.com/content/news_events/white_papers/BEA_WL_Portal10_ds.pdf)
    so yes i think you need to upgrade from sp3 to a later version of the service pack
    2) You tell us :)
    3) Depends on your application and the features you have used. E.g. I believe Content management has changed between sp3 and what 10 supports.
    regards
    deepak

  • Help needed on weblogic portal source control under CVS

    Hi,
    Is that good or bad to put all the portaldomain under CVS control? eg.
    my portal domain directory structure under development environment is
    like the following:
    c:\myportaldomain --|
    |--beaApps
    |---portalApp
    | |---------myportalApplication
    |
    |---portalApp-project
    I think the stuff I need to put under CVS are "myportalApplication"
    and "portalApp-project" directories.
    However, I want to organize the CVS directory structure like the
    following:
    c:\myportalmodule --|
    |--src
    |--docs
    |--"myportalApplication"
    |--"portalApp-project"
    So this means: after I checkout from CVS, I need to copy the two
    directories "myportalApplication" and "portalApp-project" from
    c:\myportalmodule into corresponding sub-directories under
    c:\myportaldomain, before I can do any development and testing. also,
    if I make some changes on c:\myportaldomain, and I want to checkin, I
    need to copy those files back to c:\myportalmodule. I tried to use
    directory softlink, but it windows NT just offer shortcut, which
    doesn't work.
    Can somebody give some education how to integerate the weblogic portal
    with CVS source control systems?
    Thanks very much

    Hi Rene,
    Thanks for the very helpful info.
    I think maybe I have a idea how to set up the dev environment now,
    basically I will organize the CVS repository and weblogic directories
    in the same way.
    c:\myportalmodule--|
    |---myportaldomain
    | |---beaApps
    | |---portalApp
    | | |---------myportalApplication
    | |
    | |---portalApp-project
    |--src
    |--docs
    |--build.xml
    So before everybody can checkout any code from CVS, he need to
    configure a new domain named "myportaldomain" in c:\myportalmodule
    directory. Since the CVS and his domain have the same directory
    structure, so when he do the fully checkout, the files will actually
    be put into the right place, and he can checkin his files easily.
    one annoying thing is that, since there are other files (such as
    startPortal.bat,etc )generated by domain configuration wizard in
    c:\myportalmodule\myportaldomain, which are not in CVS repository. so
    everytime, we do a checkout, CVS will issue the warnings saying those
    files are in CVS repository. Please advise is there any potential
    problems or issues with this setup? Thanks for your help!!!!!
    "René Zanner" <[email protected]> wrote in message news:<[email protected]>...
    Hi,
    we did a similar thing, but we put the whole beaApps directory in the CVS, because
    we had more applications and also modified some things inside the tools application
    of BEA...
    With CVS you can do a 'partial' checkout of your module, that means you do not
    need to copy the folders back and forth, but you can check in and update directly
    in you domain directory.
    The command for a partial checkout is:
    cvs co -d <name of destination folder> <module name>/<path to your folder>
    Once checked out here, you can work with the files like in the complete checkout.
    HTH,
    René
    [email protected] (mouse) wrote:
    Hi,
    Is that good or bad to put all the portaldomain under CVS control? eg.
    my portal domain directory structure under development environment is
    like the following:
    c:\myportaldomain --|
    |--beaApps
    |---portalApp
    | |---------myportalApplication
    |
    |---portalApp-project
    I think the stuff I need to put under CVS are "myportalApplication"
    and "portalApp-project" directories.
    However, I want to organize the CVS directory structure like the
    following:
    c:\myportalmodule --|
    |--src
    |--docs
    |--"myportalApplication"
    |--"portalApp-project"
    So this means: after I checkout from CVS, I need to copy the two
    directories "myportalApplication" and "portalApp-project" from
    c:\myportalmodule into corresponding sub-directories under
    c:\myportaldomain, before I can do any development and testing. also,
    if I make some changes on c:\myportaldomain, and I want to checkin, I
    need to copy those files back to c:\myportalmodule. I tried to use
    directory softlink, but it windows NT just offer shortcut, which
    doesn't work.
    Can somebody give some education how to integerate the weblogic portal
    with CVS source control systems?
    Thanks very much

  • How to change data source name and context root during deployment

    Hi,
    Env:
    WLS 10.1.3
    JDev 11.1.1.6
    Hudson
    I need to deploy two instances of my ADF application on the same development enviroment. We are using Hudson to deploy. My question is how to change data source name and application context root before second deployment.
    Kuba

    I don't believe there is an inbuilt facility to do this.
    Previously how I've done this is when checking files out using Hudson jovs, before the build I then use an Ant extension called XmlTask (http://www.oopsconsultancy.com/software/xmltask/) to modify the required XML files.
    Can I ask why you're doing this in the first place please? Multi-tenancy? 2 versions of the same app?
    CM.

  • Help me to add some libraries for WebLogic Portal project

    My Web portal project (10.3.2) that was created with Oracle Enterprise pack for Eclipse with some custom configurations:
    - Beehive controls
    - Beehive netUI
    - Struts 1.2
    - WebLogic Control Extension 10.2
    - full feature for "WebLogic portal"
    - "Portal application controld 10.3.2" and "Portal framework beehive adapter" support in WebLogic Portal (optional)
    I need these packages to process some user and group informations:
    - com.bea.p13n.controls.ejb.usermgmt
    - com.bea.p13n.controls.userInfoQuery
    - com.bea.portal.tools.security.group
    - com.bea.portal.tools.security.user
    My problem is impossible to import these package (except: com.bea.p13n.controls.ejb.usermgmt). I've read carefully API Javadoc for these package informations but it cannot help anymore.
    Anybody can tell me what libraries should be added to project to solve my problem ?
    Thank in advance.
    Ps:
    This is my screenshot for project configuration:
    http://i284.photobucket.com/albums/ll10/docphongm41/screenshot/screenshot.png

    Thank Kevin.
    I've fix my problem by adding some jar files, such as war-classes.jar which can be found in workspace/.metadata/.plugin/oracle.eclipse.tools.weblogic/libraries/wlp-tools-ugm-web-lib_10.3.2_10.3.2/1/WEB-INF/lib
    So, I can use UserID class in my source code without any error notification on Eclipse. Everything sound to be okay, but it isnt. When I initialize an UserID object in my pageflow controller class like this:
    UserID uid = new UserID("::security:user");
            String uname = uid.getUserName();I'll get an exception:
    com.bea.netuix.nf.UIControlException: com.bea.portlet.adapter.scopedcontent.ActionLookupFailedException: java.lang.NoClassDefFoundError: com/bea/portal/tools/security/user/UserIDI don't know why JVM cannot found my imported class though I've already added library and imported this class to the source.

  • Need Help with Weblogic Portal WSRP setup on IE10 & above

    Hello,
    My client hosts weblogic Portal server and consumes portlets built in .Net. These work fine in all browsers except for IE10 and above.
    In IE10 and above, none of the click events seem to work. This does not generate any error in the browser or in the application on my end.
    I have setup Oracle Weblogic Portal 10gR3 locally on my Windows 7 box and I have added my application running on local machine as producer, so I am able to add break points and step through the code.
    I confirmed that every click event triggers a response but the view in the portal does not change.
    When I try to load the portlet directly in browser, every thing works fine.
    Only different thing I did different to handle multiple instances of same portlets is to add namespaces to all function names
    Original:
    var theForm = document.forms['form1'];
    if (!theForm) {
      theForm = document.form1;
    function __doPostBack(eventTarget, eventArgument) {
      if (!theForm.onsubmit || (theForm.onsubmit() != false)) {
      theForm.__EVENTTARGET.value = eventTarget;
      theForm.__EVENTARGUMENT.value = eventArgument;
      theForm.submit();
    Modified:
    var nsT6001266201402001799481theForm = document.forms['nsT6001266201402001799481form1'];
    if (!nsT6001266201402001799481theForm) {
        nsT6001266201402001799481theForm = document.nsT6001266201402001799481form1;
    function nsT6001266201402001799481__doPostBack(eventTarget, eventArgument) {
        if (!nsT6001266201402001799481theForm.onsubmit || (nsT6001266201402001799481theForm.onsubmit() != false)) {
            nsT6001266201402001799481theForm.__EVENTTARGET.value = eventTarget;
            nsT6001266201402001799481theForm.__EVENTARGUMENT.value = eventArgument;
            nsT6001266201402001799481theForm.submit();

    Oracle Weblogic Portal 10gR3

  • Need help regarding certification alternative to weblogic portal developnme

    Hi All,
    I was planning to give weblogic portal certification (1z0-110).
    But I found that the 1z0-110 certification is retired.
    Can anybody guide me to some other alternative.
    I am a JAVA developer who is interested in doing some server certification. I am not going for admin certification because I think that will not help me as a JAVA developer.
    Thanks in advance

    Question moved to:
    Forum Home » Technology Network Community » Certification

  • Help needed with weblogic portal and documentum.

    hi guys,
    i have a project in which i have to use documentum with site caching services with weblogic portal 8.1. the html and xml pages will be stored in documentum and the metadata in oracle 8i and xslt will be used for transformation.
    Does anybody have any clue what api or things to use for this thing.
    any help , tutorial, links pointing to the solution will be helpful
    thanks in advance
    rajat

    Ok, so it looks like I only need to call a startapplicaiton after the distribute to make this work.

Maybe you are looking for