Adding a Weblogic Portal from source control

I am using Weblogic Portal 10.3.2 and Eclipse 3.5.0. I can successfully create the EAR and portal projects, deploy them, etc. No problem. If I try to copy the projects to another computer or check them into a source control system and check them out on another computer I get the
"Portal Application Services web application should be associated with a Portal Application Services EAR for proper deployment"
and
"A WebLogic Portal web application project should be added as a J2EE module to a WebLogic Portal EAR project for proper deployment" error messages.
I did a directory comparison between a portal project that does work and one that doesn't; they are identical. The only thing I can think of is the ".metadata" directory is different, but this is huge, 1000s of files, over 100 MB.
Has anyone seen this? Any idea of what the problem may be?

Hi
The reason for this error is most probably the portalEAR project is not associated wtih the portalWeb project. For any portal application, we must have a portalEAR and a portalWeb project and portalWeb project should be associated with that portalEAR project.
For your existing and original working portal application, check the .project file in textpad located at: ...\user_projects\workspaces\Your_Workspace\yourPortalEAR\.project. The top contents will be like this:
<name>myPortalEAR</name>
<comment></comment>
<projects>
     <project>myPortalWeb</project>
</projects>Once you checked out and added them to the new machine and new workspace, check the same file. If not, after importing from CVS or source control, open both portalEAR and portalWAR in Workshop IDE. Select your portalEAR, right click mouse -> Select Properties -> From properties window on left side, select J2EE Module Dependencies and on right side check the check box corresponding to the portalWeb module. NOW you may need to do this everytime.
Usually this is what I do, if I want other team members to get my portalApplication (EAR, WAR and DataSync project) or to check into source control. I DO NOT check-in or Export individual modules. Instead I Export them as single Archive File.
From Workshop IDE, on left side right click -> Export -> From Export Window, Expand General -> Archive File -> Click on Next. In this window, select all the 3 projects on top left window ie. EAR, WAR and DataSync (if you have one). Then give a valid filename for this ZIP file something like myPortalEARZip.zip etc. Then click on Finish. This will create a big single ZIP file. NOW you can checkin this ZIP file or give to other team members.
Now other team members will open Workshop IDE. Left side rigjht click mouse, select Import -> From Import Window, Expand General -> Existing Projects Into Workspace -> Click Next -> Select the radio button named Select Archive File and hit Browse and choose the above .zip file. It should list out the exising projects from this zip file. NOW mostly you may have to delete the exising same projects from this Workspace before you Import. Then follow the steps and you should get all the projects into your workspace. Do clean build etc.
There may be some other simpler approach, but usually I follow the above proceedure. If you want to continue your existing procedure, then manually link portalEAR with portalWeb project.
Thanks
Ravi Jegga

Similar Messages

  • Robo HTML 9 will not open our project from Source Control after initial start.

    We have a project in version control that we have been using forever, since 2003 or so and many versions of RH.  Now that we have upgraded to 9, this project will open the first time in version control and work normally.  Once you close the project and attempt to reopen from the starter screen, it opens just great, just not in version control.  The files are still set to read only.  I have done this several times and the only way i can work on my project in version control is to act like i am opening a project from scratch, then it needs to overwrite all of my local files with the server files.  It would not be so bad but I am 3000 miles away from the server and 13 hops plus a slow firewall on the other end.  While this has never been a problem in the past it is a big problem because it takes hours for all the files to download and overwrite my local files.
    This only happens with RH9 and Version Control 3.1.  RH8 works no problem.  So, I don't know if this is a RH9 starter problem or a Source Control Problem.  Maybe I will make a similar thread in the RH area.  I'll wait to see if I get any useful hits from this one first.
    It is very strange, I had RH9 open for several days because I was afraid to close the project for this reason and yesterday I published for the month so the heat is less right now but today, it opened with no source control.  If I go to Source Control the only thing i can select is put project in source control.  That is how it got into source control after converting to RH9.
    We have another project that seems to open from version control normally but we can only save topics in HTML view.  No useful answers to that topic after a week.
    Got any ideas???
    I have tried different folder names, different paths, etc.
    Thanks,
    dv

    Ok, here is a wierd one, I used the add to version control icon in the menu bar, It already knew the path so I figured I'm the only one who has been editing these files for the past few days so I clicked add to version control.  It added it. I closed and reopeded and still had the same files checked out.  Closed, checked in all, then reopened and it is working in SourceControl.  Strange that after opening from source control and closing that you need to reopen and tell it to put the project into source control.  Obviously some flag is not getting set somewhere.  This might help others having problems reopening source control files.
    dv

  • Upgrading the weblogic portal from 9.2 to 10.3

    Can you please help me on the list of activities to be carried out in upgrading the weblogic portal from 9.2 to 10.3

    If you are currently running Mac OS 9.2.x from your hard drive, you are already doing it. You should be able to download and run the appropriate firmware updater.
    http://docs.info.apple.com/article.html?artnum=86117

  • Cannot get project to open from Source Control

    When trying to open project from Source Control, it times out (at Loading Index). After numerous tries, I'll get cpd file corrupt and I follow the steps (delete file and try again); sometimes I get very strange error messages.
    Does anyone know how to fix this problem so I can open a good copy of the Source Control project on my desktop?

    Hi,
    What version/flavour of RoboHelp are you using?
    What source control client are you using? Are you using the RoboSource control on a 64 bit system? If so, you need to update RoboSource control: http://kb2.adobe.com/cps/917/cpsid_91739.html. Note that this fix is for RoboHelp 9.
    Greet,
    Willam

  • How can I add a Website Project in a solution that should be excluded from source control?

    Using VS 2013 update 4
    I currently have a solution with a couple of Class Library Projects and Web Application Projects and all of these are bound to a source control (VS Online). Now I added an Existing Website Project in the same solution by choosing a Local IIS instance. However,
    I don't want this Website Project to be in source control.
    I have tried File > Source Control > Advanced > Change Source Control ... and then clicked on the website project and then clicked Unbind. By doing this, it seems that the project was unbound. However, as soon as I close the solution it asks me
    to save the .sln file and seems that it restored the Scc*** info in the file.
    I also tried editing the .sln file and set the SccProjectEnlistmentChoice* = 0 (of the website project, under GlobalSection) and then set the ProjectSection of the WebsiteProject to 
    SccProjectName = ""
    SccAuxPath = ""
    SccLocalPath = ""
    SccProvider = ""
    instead of "SAK". This actually worked for me but everytime I open the solution, Visual Studio alerts an error saying "Unspecified error". This is the closest I got into solving this.
    Is there a proper way of doing this? I think the proper way should be the "Unbind" method but it seems that it's not working as expected.
    Let me know of other solutions.
    Cheers!

    Hi Karlo Medallo,
    Since this issue is related to the VS Online, I am moving your thread into the
    Visual Studio Online
    Forum for dedicated support. Thanks for your understanding.
    Best Regards,
    Jack
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • Running Xcode without install(from source control)

    I am managing a build lab and have several products/branches to provide service to and I would like my build machines not to be specialized to any one product/branch.
    The scenario I would like to have is that souce and all tools needed to build it are checked into source control and just sync and build with some prep/env setup before hand via script.
    This is very doable with Visual Studio and many other tools. Is it possible with Xcode? Has anyone gotten a scenario like this to work?
    Thanks in advance for any help/answers.

    Does this snippet from the readme shed light...
    Installation
    The Xcode and iOS SDK installer provides several options for configuring the installation from the “Customize...” button:
    •          Essentials: contains all required components of Xcode, installed by default in / Developer or another directory of your choice, including external volumes.
    Xcode Toolset: installs the core Xcode IDE, the Mac OS X SDKs, and many other developer tools. This is a required package and cannot be un-selected.
    iOS SDK: contains the iOS frameworks, tools, and iOS Simulator. If you do not agree to the iOS license agreement, this package will be unavailable. If un- selected, Xcode will install with only the Mac OS X SDKs.
    •          System Tools: installs system-level tools for performance analysis, and for system monitoring from within the Instruments application.
    •          UNIX Development: command-line tools such as compilers, linkers, and build tools. The components are always placed in /usr with only one version installed at a time.
    •          Documentation: checked by default, Xcode will download developer documentation in the background for offline reading, and automatically download documentation updates as well. If unchecked, the documentation will be read from the web instead of the local disk. The download setting can be changed after install via Preferences.
    Throughout this document <Xcode> refers to the path in which the Developer Tools Essentials components are installed, which defaults to /Developer. You can have multiple
    versions of the Xcode toolset installed. You can move or rename the <Xcode> directory, but must not alter its internal structure.
    NOTE: Only one version of the System Tools and the UNIX Development components can be installed on a computer at a time. The last installed set of these components replaces any previously installed set.

  • How do I fix project after "Remove From Version Control" corrupted it?

    I am using RoboHelp 9.0.1 and installed both Tortoise SVN 1.6.9 and latest PushOK SVNSCC then added my large RoboHelp project to SVN. I was able to check in and out files from SVN but had several issues with it:
    1) Super super slow. Working with folders or any renames would take 10 seconds per file and up to 1 hour if needed to refresh the root folder.
    2) I could not perform some actions at all, such as delete, rename, or move folders. I kept getting COM errors.
    I therefore decided that working with SVN and RoboHelp is not practical, at least not on my VPN so I decided to disconnect the project from source control and just work locally. The only option that I saw that sounded like it would do that was the "Remove from Version Control". This started a process that lasted for several hours. At the end of it, I now have several significant issues:
    1) The order of the files and folders in my Project Manager is completely wrong now. I have almost 1000 topics and reordering all of them is not possible.
    2) The Table of Contents, Glossary, and Index files appear empty. They had content before.
    2) A couple of the Single Source Layouts I had created are completely missing.
    3) Many, but not all, of the folders have tons of files with the extension ending in "_temp_removed_by_svn"
    4) Many, but not all, of the files are actually gone from SVN so I can't recover a clean image. There was no warning that this command would actually delete the files from SVN (I thought it would just remove the version control connection).
    5) Who know what other issue exist that I haven't seen.
    Any idea how I can fix this?
    Thanks in advance,
    Dan

    Are the "_temp_removed_by_svn" files in your local folder or SVN? Let us know how you get on with the new project. It sounds like something is wrong with SVN. Can you use the SVN Log command to see whether there is a different version you can restore. This might also give you an indication of what might have caused the problem. You could try deleting your CPD file. It gets rebuilt it is isn't there anyway. This file can become bloated and it is good practice to delete it when it gets close to 2mb in size. Your project is fairly large and has a lot of folders and may affect performance. Have you considered splitting them and merging the output? I know you probably don't want to consider this right now, but I think it may be a better long term solution.
      The RoboColum(n)
      @robocolumn
      Colum McAndrew

  • Error when trying to add a project to Subversion source control

    When trying to add a project to source control from within the OPM 10 studio (File - Source Control - Add Project to Source Control), the following error occurs:
    "There was a problem accessing the source control system, probably due to network or contention issues. A retry is recommended."
    This has been tried with Subversion versions 1.6.2, 1.6.5 and 1.6.6, with local repositories and repositories on a Apache webserver.
    Once the project has been added to a repository, by using TortoiseSVN for example, working with source control is no problem.
    Does anyone have a clue what the problem (and a solution) might be?
    Thanks,
    Theo.

    Hi,
    Davin mentioned:
    This appears to be an issue with the source control integration. We are looking into it.I am using OPM 10.0.1.14
    The OPM help on collaborating mentions:
    Open a rulebase project from source control
    To open an existing Oracle Policy Modeling project from a source control repository:
    In Oracle Policy Modeling, select File | Source Control | Open Existing Project from Source Control. When I open the File menu I do not see the "Source Control" at all.
    Is this caused by an installation error or part of the "issue with the source control integration" ?
    Please let me know if I'm the only one experiencing this problem ....
    Thankx,
    Paul

  • Source control issues with Azure Pack Web Sites

    Struggling to get my Azure Pack Web Sites POC off the ground.  Infrastructure is built and I'm ready to deploy a .NET app.  I can successfully deploy an app from the gallery and tested and it works so we're good there.
    However I'm having an issue with source control and getting an app deployed.  We have a local instance of Github enterprise here we use for all code repositories.  Can I use this?  In my tenant site I have created a new web site and added
    an external repository for source control.  I put in the HTTP link to my local github enterprise repo and it tries for a minute and returns the following error:
    Command 'git.exe fetch external ...' aborted due to no output and CPU activity for 60 seconds. You may increase SCM_COMMAND_IDLE_TIMEOUT setting to solve the issue.
    git.exe fetch external --progress
    There's nowhere I can specify credentials or SSH keys so azure pack can communicate with my repo (i'm assume this is the issue).  I can't put company custom code out on codeplex or public github so that's out.  Am I trying to do something that
    isn't possible in Azure Pack? 

    I guess I'm confused.  When I go into my web site and click the Setup deployment from source control, under the External repository option it says both Git and Mercurial repositories are supported.  This is a different button than the GitHub option
    for source code.  So what's the point of that option is you can't actually use a git repo?  

  • Multi-authoring with source control with RH10 and RH11

    Situation:
    Writer A is running RH10. Writer A opens Project A, from Visual Studio Source Control, which is connected to a Team Foundation Server.
    A new employee, Writer B, has been given RH11.
    Writer A can't install RH11 until after mid-June because of tight schedules (can't afford any upgrade problems).
    Writer B is supposed to work on the same Help project. (We know that RoboHelp does not support checking out the same file at the same time.)
    If Writer B configures her version of RH11 to work with TFS and Source Control, can she open Project A and work on it (from Source Control) without causing problems for Writer A?
    Thanks.
    Carol Levine

    If Writer B is not using Source Control or it is competely separate from Writer A, possibly but I still would not be comfortable.
    I think I would rather upgrade Writer A and I note your reservations. It's your call but it's like being between the devil and the deep blue sea. Neither is ideal.
    So far it looks like Rh11 upgrades have been OK.
    See www.grainge.org for RoboHelp and Authoring tips
    @petergrainge

  • What files should not be checked into Source Control?

    Good afternoon.
    Running RoboHelp 11, integrated with Team Foundation Server and Visual Studio 2010.
    When my two colleagues recently "got" the latest project files from Source Control, they also got items that had been removed or deleted. For example, I had removed all conditional build tags from my project, but their version still included the build tags. Eventually, thanks in part to an old post from Peter Grainge, we realized that the PSS in Source Control contained a lot of that old information. We deleted the PSS and stopped checking it into Source Control. Problem solved. No more conditional build tags or unwanted Single Source Layouts, etc. (I think the PSS got checked in by our Release Engineer when he was trying to solve some other problem. Two years ago it was not being checked in.)
    I vaguely remember reading something somewhere once upon a time about not checking certain RoboHelp  project management files into Source Control. So far I've not found any such information in the RoboHelp Help or online.
    Does anyone know where I can find a list of RoboHelp HTML project management files, such as the PSS file, that should never be checked into Source Control?
    Many thanks.
    Carol Levine

    Look in Snippets on my site.
    See www.grainge.org for RoboHelp and Authoring tips
    @petergrainge

  • How to move a project in source control

    I messed up & need your advice. I put my first RH project, "core", at the root level of my VSS project:
    $
    rh_projects
       core
    Unfortunately, my "core" RH project is now a child project in a merged help system.  I also put the "parent" project at the root level, so now it looks like this in VSS:
    $
      rh_projects
         core
         parent
    ... but my VSS folder structure really should reflect my real folder structure, so that other writers can use the same structure when they open the project.
    So I want to change my VSS folder structure to this:
    $
      rh_projects
        parent
        projects
           core
    So here's my question (finally!):  what's the best way to move the core project in VSS?
    * In RH, remove the core project from source control, then put it back under source control at the new folder level, OR
    * In VSS, add the new "projects" folder structure and move the "core" folder underneath it, then open it in RH as a "new" project?
    thanks,
    Jenny

    Either way should work.
    Method 1 will ensure the source control path in the RH files points to the correct VSS location
    Method 2 will keep your change history if this is important to you. However, it is trickier to do.  Zip up a copy of your project just in case.
    Method 2 details
    If you use this method, you need to manually change the VSS path listed in the .xpj file.
    Look for something similar to the following. It may be different depending on your versions of RH and VSS. The below is from RH6 and VSS2005. '[' represents and angle bracket.
    [matchedpair]
               [name]vc::cookie[/name]
               [value]"$/Dev/Source/Documentation/MyProject", ZTZQBAAA[/value]
    [/matchedpair]
    You will need to change the [value] line: change the path beginning with $ to your project location.
    I don't think you need to change the 8 character code after the comma, but I was never quite sure what it meant. If want to be safe or things don't work, create a temporary new project and add it to VSS at the same level as your project. Copy the bit in green from the temp project and paste it into your real one. Delete the temp project.
    Also make sure you delete the .cpd file before opening the project as this sometimes remembers the old location.
    HTH,
    Amebr
    Message was edited by: Amebr
    Couldn't get colours to work so changed to words. Hopefully it's clear enough.

  • RoboHelp 6 Source Control Bindings

    Without going into best practices about source control
    methodology (we don't branch), I have a question about RoboHelp 6
    and source control bindings with Visual SourceSafe.
    We have a help project that is bound to a project in VSS. We
    need to create a copy of the VSS project and work on that
    separately. After creating the project in VSS with a copy of the
    RoboHelp files, there seems to be no way to update the RoboHelp
    project to point to the new location in VSS. We searched all the
    property and settings boxes we could find to no avail.
    In searching, the xpj file seemed to contain the only source
    control binding information. We went so far as to change this file
    in a text editor to update the new project and even point at the
    correct file it references in VSS for the new VSS project. This is
    in the vc::cookie setting under misc properties in the file. When
    opening this file RoboHelp updates it back to the original somehow
    even when the correct one is in SourceSafe.
    So, please tell us how to update the bindings for source
    control.
    An aside. Recently our help files were moved to a new VSS
    database. The old one was taken offline. In this case when Robohelp
    saw that the old database was no longer there, it prompted us with
    a dialog to correct the binding. Now that we need to point Robohelp
    at a new VSS project in the same VSS database, while the original
    still exists, we can find no way to change the settings.
    Thanks...

    There are several things to do to remove a copy of a project
    from VSS:
    1. Make a backup, as always.
    2. Copy the RH project to your new location.
    3. Set all the files as writable.
    4. As you've discovered, you need to remove the contents of
    the miscproperties tag.
    5. Delete the cpd and sss files, and maybe the pss file (I'm
    not sure of this one, but I'm fairly sure it gets recreated when
    you re-open the project).
    6. Open the project in RH and add to VSS from within RH. (I
    recommend using RH to add into VSS, as this will re-populate the
    miscproperties section of the xpj file. If you don't, you have to
    manually "open from source control" each time you open the
    project.)
    You should now have a new project in VSS. And you have
    backups, right? (not that I'm paranoid or anything...)
    HTH
    Amber

  • Accessing content in weblogic portal 8.1 sp2

    Hi,
    While accessing content in weblogic portal from the content repository, can
    i filter based on the content TYPE ? None of the standard tag libs (such as
    <cm:search>, <pz:contentSelector> ) allow me to do that.
    Please let me know if there is a way to do that.
    Regards,
    Arun.

    Thanks again Gregory !
    Regards,
    Arun.
    "Gregory Smith" <[email protected]> wrote in message
    news:40c083e6$1@mktnews1...
    Well, some of the important documentation is, unfortunately buried in
    the javadoc (http://e-docs.bea.com/wlp/docs81/javadoc/index.html). Look
    at com.bea.content.expression.ExpressionHelper for info on the query
    syntax, and com.bea.content.expression.Search of the standard property
    names that correspond to methods on Node.
    For getting the children of a Node, you can use the NodeOps API:
    RepositoryManager mgr = RepositoryManagerFactory.connect(session);
    NodeOps ops = mgr.getNodeOps();
    ops.getNodeChildren(parentNode.getId());
    In a search/contentselector you can use the cm_path property to limit a
    search to a particular branch, e.g.:
    cm_path like '/BEA Repository/mypath/*'
    But, you can't limit to just direct children of that path via search.
    Greg
    Arun A.G. wrote:
    thank you very much, Gregory !
    This solves some of the issues I was facing. However, I was not able to
    find
    this in any of the documentation. Please point me to it if itsmentioned.
    >>
    Also, Is there an API to fetch all the content under a specified node ?
    (<cm:getNode> expects the explicit path, but returns only that node.)
    Regards,
    Arun.
    "Gregory Smith" <[email protected]> wrote in message
    news:40bf4044$1@mktnews1...
    Use the cm_objectClass property name in the query, e.g.:
    color = 'red' && cm_objectClass = 'Car'
    For content selectors, content placeholders, and campaigns,
    cm_objectClass is available under the 'Standard' content Property Set.
    Greg
    Arun A.G. wrote:
    Hi,
    While accessing content in weblogic portal from the content repository,
    can
    i filter based on the content TYPE ? None of the standard tag libs(such as
    <cm:search>, <pz:contentSelector> ) allow me to do that.
    Please let me know if there is a way to do that.
    Regards,
    Arun.

  • Saving Flex .launch file in source control

    For my Flex project, I am not using default path to launch in the run/debug settings. This creates problem b/c everytime someone gets the project from source control, import it to Flash Builder, he/she always need to manually change the path.
    I am trying to put the .launch file in the source control so we can eliminate this manual process. The problem is I can't seem to define relative URL in the path to launch. I tried the standard ..\..\xx\xx\index.html approach, and I've also tried using the eclipse enviroment variable such as {DOCUMENTS}\xx\xx\index.html
    Has anyone encounter this problem ? Is this even possible ?
    Please help... Thanks

    I have seen that sometimes LV doesn't update the status of SCC icons. After a fail I *always* hit the Refresht status option (tools->Source Control)
    Ton
    Free Code Capture Tool! Version 2.1.3 with comments, web-upload, back-save and snippets!
    Nederlandse LabVIEW user groep www.lvug.nl
    My LabVIEW Ideas
    LabVIEW, programming like it should be!

Maybe you are looking for