Need to run multiple copies of portal on one machine

This is a little involved to explain so I'll try to be clear.
Right now we have multiple developers working on our single copy of our portal
running on one machine at another location. No good can come of this and much
bad has already happened.
What we need is to be able to run different copies of our portal on different
ports on that same machine. Making a copy of the domain, changing the port and
java.io.tmpdir just confuses the first server started when the second one goes
RUNNING. Changing the Web Application name doesn't help either.
It looks like it's only our stuff that gets cornfused when I set up multiple servers
(user_projects/someDomain, user_projects/someDomain2) or multiple Web Apps (someDomain/beaApps/portalApp/webApp1,
someDomain/beaApps/portalApp/webApp2) since I can log into the console just fine.
The Big Idea is that we need each developer to have their own sandbox to play
in along with a demo/test copy of our software.
I've dug through the BEA docs and these news groups and have not found anything
that directly pertains to our situation. The BEA docs are particularly thin on
information pertaining to dealing with more than one developer or deploying to
remote machines.
Here are some of the particulars and constraints of our setup.
We are running WebLogic Platform 7.0.0.0 on a Solaris box at another physical
location. All access is via network. We have no root access for a variety of
reasons.
Oracle is used for our JDBC. No Pointbase.
Our WebApp has a servlet as the starting point.
We deploy an exploded version of our servlet and JSPs for convenience.
We edit and compile our java source on Windows boxes and FTP the .class and .jsp
files up to their proper places on the server.
Naturally, the ideal solution would be to have more than one machine for a server.
Right now we don't have that option.
Thanks for any help that you can give,
Jon Davis

Travis,
We tried something very similar to that. We're using WebLogic Platform 7.0.
We only have one login on this Solaris box.
I copied our domain (${HOME}/bea/user_projects/somePortal) to another directory
(${HOME}/bea/user_projects/somePortal-devel) and changed the relevant XML files
with regards to ports and installation directories.
Maybe the UID that each server runs as is the difference........
Maybe an earlier version of the products are more tolerant of this and what we're
experiencing is a "feature".
At least I know that my initial approach wasn't such a bad idea :)
Thanks,
Jon
"travis wissink" <[email protected]> wrote:
>
Jon,
We do this with very little issues. I’ll take a stab at putting this
into words.
I suggest that you have the developers run their own instance from their
own Solaris
user home directory. So in /home/travis make a directory bea/app (/home/travis/bea/app)
in the bea/app directory copy the applications, bin, StartPortal.sh,
StopPortal.sh,
and config directory from your current application, probably /opt/bea/wlportal4.0/.
Then make sure that your scripts (in the developers home directory)
all reference
jar files in the /opt/bea/{wlportal4.0 and wlserver6.1} directory's.
Next go
through the /home/travis/bea/app/config/portalDomain/{config.xml & *.sh},
/home/travis/bea/app/bin/unix/*.sh,
and /home/travis/bea/app/application/portalDomain/{applicationDir}/WEB-INF/web.xml
and start and stop scripts to change all “application” directory references
to
relative pathing from the /home/travis/app/bea directory also change
all references
of the 7501 and 7502 ports to another port for each developer.
Hope this is readable and helps
-travis
"Jon Davis" <[email protected]> wrote:
This is a little involved to explain so I'll try to be clear.
Right now we have multiple developers working on our single copy ofour
portal
running on one machine at another location. No good can come of this
and much
bad has already happened.
What we need is to be able to run different copies of our portal ondifferent
ports on that same machine. Making a copy of the domain, changing the
port and
java.io.tmpdir just confuses the first server started when the second
one goes
RUNNING. Changing the Web Application name doesn't help either.
It looks like it's only our stuff that gets cornfused when I set upmultiple
servers
(user_projects/someDomain, user_projects/someDomain2) or multiple Web
Apps (someDomain/beaApps/portalApp/webApp1,
someDomain/beaApps/portalApp/webApp2) since I can log into the console
just fine.
The Big Idea is that we need each developer to have their own sandbox
to play
in along with a demo/test copy of our software.
I've dug through the BEA docs and these news groups and have not found
anything
that directly pertains to our situation. The BEA docs are particularly
thin on
information pertaining to dealing with more than one developer or deploying
to
remote machines.
Here are some of the particulars and constraints of our setup.
We are running WebLogic Platform 7.0.0.0 on a Solaris box at another
physical
location. All access is via network. We have no root access for avariety
of
reasons.
Oracle is used for our JDBC. No Pointbase.
Our WebApp has a servlet as the starting point.
We deploy an exploded version of our servlet and JSPs for convenience.
We edit and compile our java source on Windows boxes and FTP the .class
and .jsp
files up to their proper places on the server.
Naturally, the ideal solution would be to have more than one machine
for a server.
Right now we don't have that option.
Thanks for any help that you can give,
Jon Davis

Similar Messages

  • I have a program that runs in Java Console. I need to run multiple copies of the program. I can't do this with tabs. Can I do it with separate windows/processes

    The program in question was implemented as a Java applet that runs in a browser. The developer says it must run under the Java Console and that I cannot run more than one copy of it in a given browser technology (e.g., Firefox); but I can run multiple copies if I use, eg, Firefox for one, IE 32 bit for another, Chrome for a 3rd and IE 64 bit for a 4th. I have tested this, and this does work.
    Why would it not be the case if I spawned a completely different Firefox instance/process? When asked this question, the developer said, no, you have to run a different browser implementation to get a distinct Java Console for each one.
    Does this make sense in general, or, more importantly, is it true for Firefox?
    Thanks,
    Dennis

    It is working for me if I open a second Firefox instance with its own profile by starting Firefox with the -no-remote command line switch.
    * http://kb.mozillazine.org/Creating_a_new_Firefox_profile_on_Windows
    * http://kb.mozillazine.org/Shortcut_to_a_specific_profile
    * http://kb.mozillazine.org/Using_multiple_profiles_-_Firefox
    * http://kb.mozillazine.org/Bypassing_the_Profile_Manager
    Use the -no-remote command line switch to open another Firefox instance with its own profile and to run different Firefox instances simultaneously.
    * http://kb.mozillazine.org/Opening_a_new_instance_of_Firefox_with_another_profile

  • Running multiple copies of an App on one NetWeaver server

    Hi there,    (V12 with ERP/ECC transactions)
    We are setting up our landscapes/environments for development, beta testing, final QA and production.  I am wondering if we can combine development and beta testing on the same system. 
    The obvious concern is that they will have copies of the "same" transactions.  If we don't do anything special, the data source name is hard coded in the transaction and as we are on the same MII server, they can't point to different data sources unless we edit the transactions.  Is there a way to have a transaction use a configuration of some sort to dynamically specify the actual data source?
    Are there any other issues attempting to do this?
    Thanks,
    --Amy Smith
    --Haworth

    Thanks Jeremy,
    Thanks for the suggestion Jeremy. 
    Our server is not capable of another instance.  It is not easy to get our SAP Basis people to install and configure a new system and we are not allowed to do it ourselves.  I was trying to find a way to use our existing instance of NetWeaver/MII to run multiple copies of the application.  In J2EE apps I have worked on, it is as simple as copying the software, changing the URL, changing the application config files for the data source and deploying the new duplicate app under a different name.
    Seems that in MII the transaction "hard" links the data source name to the data source definition and that link is not dynamically configurable.  Would that be a fair statement?
    Thanks again,
    --Amy Smith
    --Haworth

  • Do I have to purchase multiple copies of OSX Lion one for each mac

    As OSX Lion is only available as a download, do I have to purchase multiple copies of OSX Lion one for the laptop & one for the desktop?

    No, you can use the same copy on your Macs.  Log into the App Store using the Same AppleID.  It will be in the puchased section.  If you're on Snow Leopard, just click install.
    Regards,
    Captfred

  • Multiple version of Java on one machine

    Is it possible to have multiple versions of Java co-exist on the same XP Pro machine?
    Here is our scenario: we have apps that use Java 1.5, but we have one critical app that doesn't support that version yet. It has to use the 1.4 version. Is there a way to allow both versions to exist and be usable for their respective apps? If so, how?
    Thank you.

    I can't, however it's never a good idea to have
    multiple versions of Java on one machine. Try and
    standardise if possible. If OP used JAVA_HOME as you
    often suggest, then he would be knackered wouldn't
    he? JAVA_HOME can only point to one JDK. Your
    advice is conflicting kaj.Nope. JAVA_HOME should always be defined in the start script/file for a java application, so it's not set per system. It's very common that companies have applications that requires different JDK/JRE versions, and it's usually very expensive to upgrade all applications (if it's possible at all). You can of course also alter the PATH variable if you want to in the script.
    /Kaj

  • I need to run multiple external programs concurrently using RMI objects.

    have a web based solutiion which uses a backend machine for some processing. I have a RMI based Java proram running on the backend machine and the web server talks with this backend machine through RMI. Now, on this backend machine, I need to call some external program using Process s = Runtime.getRuntime().exec(....). Since this is a web application, multiple clients will connect at the same time and I need to run this external program for multiple clients at the same time.
    Here is what I do. I have a separate RMI object bound to registry for each client that connects to the web server. This RMI object implements runnable interface, since I can't extend this class from Thread (it already extends from UnicastRemoteObject). So each time I call upon a method from this object, only one process gets started and other objects need to wait till this process finishes.
    I need to start multiple processes at the sametime so that other clients don't have to wait for this thread to finish.
    Please let me know if anybody has any other solution than installing an application server on this backend machine.
    Here is my code.
    public class iLinkOnlineSession extends UnicastRemoteObject implements Session, Serializable, Runnable
      public iLinkOnlineSession(String sessName, String sessId, String rootLogs, String rootWrks) throws RemoteException
        setSessionId(sessId);
        setName(sessName);
        ROOT_LOGS = rootLogs;
        ROOT_WORKSPACE = rootWrks;
        searchKeys_ = new Vector();
        searchObjects_ = new Hashtable();
        Thread s = new Thread(this);
        s.start();
      public void run()
        System.out.println("running");
      public String checkLogin(String user, String passwd)
        String msg = "";
        String cmd = "iLinkOnlineLogin";
        cmd += " param "+ user + " param " + passwd;
        System.out.println("cmd: " + cmd);
        try
          Runtime run = Runtime.getRuntime();
          Process proc = run.exec(cmd);           // Call to the external program.
          InputStream in = proc.getInputStream();
          Reader inp = new InputStreamReader(in);
          BufferedReader rd = new BufferedReader(inp);
          String line = rd.readLine();
          while(line != null)
            System.out.println(line);
            msg += line;
            line = rd.readLine();       
          int res = proc.waitFor();
        }catch(Exception e)
             e.printStackTrace();
        System.out.println("Msg: " + msg);
        return msg;
      public String searchObject(String user, String passwd, String param1, String paramVal1, String param2, String paramVal2, String param3, String paramVal3, String relLev, String mfgLoc)
        String cmd = "iLinkOnlineSearch";
        cmd += " param " + user + " param " + passwd + " param " + getSessionId() + " param " + logFile_ + " param " + param1 + " param " + paramVal1 +
              " param " + param2 + " param " + paramVal2 + " param " + param3 + " param " + paramVal3 + " param "
              + relLev + " param " + mfgLoc;
        System.out.println("cmd: " + cmd);
        try
          Runtime run = Runtime.getRuntime();
          Process proc = run.exec(cmd);                // External program.
          InputStream in = proc.getInputStream();
          Reader inp = new InputStreamReader(in);
          BufferedReader rd = new BufferedReader(inp);
          FileWriter out = new FileWriter(resultFile_);
          System.out.println("Filename: "+resultFile_);
          BufferedWriter wout = new BufferedWriter(out);
          String line = rd.readLine();
           while(line != null)
            System.out.println(line);
            wout.write(line);
            wout.newLine();
            wout.flush();
            line = rd.readLine();
          int res = proc.waitFor();
          wout.close();
          if(res == 0)
            boolean ret = createResultTable();
            if(ret == true)
              return GlobalConstants.SUCCESS_MSG;
            else
              return GlobalConstants.ERROR_MSG;
        }catch(Exception e)
                e.printStackTrace();
        System.out.println("getting results");
        return GlobalConstants.ERROR_MSG;
      }

    I guess I don't get it.
    RMI servers are inherently multi-threaded, so why are you running separate servers for every client?

  • Need to print multiple copies

    Hi Friends,
    Anybody can give some idea or suggestion how to print multiple copies of an invoice for the same output type.
    Regards
    raju

    Hi
    In this case you need to change the program, here you can know the message type and so you can decide how many times a document has to be printed:
    DATA: COPIES TYPE I.
    IF NAST-KSCHL = .....
    ELSE.
    ENDDO.
    DO COPIES TIMES.
    > PRINT THE DOCUMENT
    ENDDO.
    Max

  • Need to package multiple copies of same form in a single document

    Hi,
    I used Livecycle to creat an interactive form. I now need to create a single pdf document that has multiple copies (about 30) of the same form. Help!
    Thanks in advance.
    Margaret

    Hello Margaret,
    I have been struggling a lot to develop and interactive form using LIvecycle. i.e., a form that is pre-populated with data and then user can add more data and then the form can be saved.
    I saw that you have mentioned developing an Interactive form. could you please send me a sample or help me with the same?
    Thanks and Regards
    Nanda

  • Do I need to buy multiple copies of FCP to get QMaster to work?

    Hi all,
    To do a quick-batch from Compressor, do I need to buy two copies of FCP Studio?
    I tried a Quickbatch for the first time across my two machines. (Yes I DO have the same installation of FCP Studio on both machines... what was I gonna do, buy a new copy of Studio when I upgraded to a G5?) But I digress...
    I set up QMaster on both machines, launched a batch from within compressor on my G5, then I saw FCP automatically start to launch on the G4 and (of course) the process interrupted because FCP saw the same serial number on the network.
    I have no idea why FCP launched on the G4.... but it was fun to see something happening.
    So, am I screwed? Am I supposed to buy two copies of the software to use the node rendering?

    We talked to a tech at apple before we made a purchase of 4 quads, and he told us that we do not need fcp on each. Also called pro video suppport and they said the same thing. But I have just finished setting up the cluster, and when I export to the cluster directly from fcp, the batch fails almost instantly. If I enable only one of the nodes (this one has FCP on it) in the cluster, when I export from FCP on a workstation, FCP opens up on the node and starts doing it's thing, but adding any nodes without fcp it fails. So I'm starting to think you do need fcp on every node. Or I may just be doing something wrong, who knows. Will be on the phone with apple monday.

  • Unable to print multiple copies of documents on Win7 machine with Office 2010

    Since upgrading to Windows 7, I have been unable to print multiple copies of documents in any MS Office 2007, 2010, Word Pad or Adobe Reader 9.  I also experience the same problem if I print from Word Pad.  The issue appears to be associated with the Collate Option in the Print Dialog box.  If the Collate box is checked, I only get one copy of the document.  If I uncheck the Collate box I get as many copies as I choose.   The problem is that with the Collate box unchecked, I have to collate multiple copies by hand, and with 10 – 20 copies of multi-page documents that can be quite a chore.
    The ironic thing is that MS Visio 2003, on the same machine, prints and collates as many copies as I choose, with the Collate box checked.   
    I can print multiple copies of Word 2003 documents from my wife’s Win XP machine to the same printer, but not from my Win 7 machine with Office 2010.
    My printer is an HP LaserJet 1320nw and I have downloaded and installed the latest printer drivers from the HP Web site.
    Has anyone experienced this problem, and if so, are you aware of a solution other than unchecking the Collate box?

    I have the same issues with my LJ1320. I have Office 2010 and Windows 7 Ultimate 64 bit.   However, my printing problem is more widespread since I have been unsuccessful at printing multiple copies of all types of documents, not just from  Office 2010.  For example, I have the same problem trying to print multiple copies from  Internet Explorer.
    I also have other problems printing  from Office 2010 that you may not have discovered yet.  I cannot print Excel spreadsheet grid lines from Office 2010 if those documents were originally created in an earlier version of Office.  I tried saving them as Office 2010 documents and also using compatibility mode but nothing worked.  These same documents print fine on the same printer from my laptop which uses Windows Vista and Office 2007.  Also Excel spreadsheets originated in Office 2010 print nicely.
    Looks like HP has a few bugs in their printer drivers.
    I note that HP released a new Universal Print Driver for Windows PCL5x64 on Feb 18, 2011 (Version 5.2.6).  Have you tried it yet? 

  • AirPrint creates multiple copies when printing just one...

    It's driving me mad. I have a HP1217nfw, AirPrint works, but when I try to print one copy, it prints out multiple copies, leaving me scrabbling for the Cancel button and doing everything to cancel the multiple prints it churns out regardless. This leads to me hitting the printers Off button as the only way of stopping things, which then causes a paper jam.
    Any ideas? I have updated to the latest firmware for the printer, but it's made no difference either from my new iPad Mini Retina or the iPad 2.
    David

    Many thanks to you 'both'   Yes, I had the old version of the firmware which was updated and now has fixed the issue.
    I rang HP tech support about a problem with 10.8 OSX drivers and they told me the printer is no longer supported. Its just over a year old.....
    I could not get any of the drivers to install, then found on another forum that the issue was fixed by installing 10.7 drivers. All is now well, but thanks for this, I was going round in circles.
    David

  • I am looking to use multithreading in order to run multiple tests in parallel on one UUT.

    I am looking to multithread multiple tests in paralllel on one UUT.  I looked in the main site and all examples are on zip files that I seem to not be able to successfully download from the site.  Does anyone have any file examples or white papers on this subject that I can view???
    Solved!
    Go to Solution.

    put one test in a sub sequence.  then call that subsequence using New Thread as the Execution Options:
    jigg
    CTA, CLA
    teststandhelp.com
    ~Will work for kudos and/or BBQ~

  • Juggling 2 copies of Safari on one machine

    Howdy
    I need to run a second copy of Safari in Rosetta mode on my machine in order to use company VPN.
    Is there any way to setup a second set of prefs (home page, etc) for the Rosetta copy?
    Otherwise, the two share.
    Lastly, how can I set the native version to be my default browser? Sometimes my machine uses the Rosetta version.
    Thanks for any and all help

    Hi
    Welcome to Apple Discussion
    Theoretically, you could have a duplicate set of Safari Preferences, Bookmarks etc. Practically, you would need to manually move files in and out of the Library depending on which version of Safari you used.
    If you haven't done so already, create a second copy of Safari:
    Go to your Application folder, single-click on Safari.app, then  Key + D to create a duplicate copy.
    For the duplicate,  Key + I to open the Info panel, checking Rosetta. Then drag the revised Safari app to the Dock, positioning it apart from the regular Safari app (running natively).
    Then, it's just a matter of which version you want to use. Both will update the same Safari folder and use the same preference file. To make the Intel version your native browser, go to Safari Preferences>General>Default Web Browser. Click on the drop down menu and select "select". On the ensuing panel, navigate to the original Safari.app.
    Post back

  • Keep multiple versions of Lightroom on one machine?

    I have Lightroom 3 and am considering upgrading to Lightroom 5.  I love Lightroom 3, and would like to keep it installed as backup / alternative.  I inquired with purchase chat and was told that if I upgraded to 5 that 3 would be deactivated.  Is this correct?  They seemed positive that if I upgraded to 5 my previous version would be deactivated.  Maybe I won't like 5 as much.  I love 3, and don't know that I 'need' 5, but I'm setting up a new machine so am upgrading or adding a lot of software right now as a part of that process.
    If I'm going to lose 3, then I probably won't upgrade to 5.  Why tempt fate and give up something that works well and that I know pretty well.

    I cannot speak to any deactivating.  However, the databases for v3 and v5 are not compatible.  If you update your v3 database to a v5 database, LR3 will not be able to read it.  No new databases created by LR5 will be able to be read by LR3.
    In all honesty, I cannot think of a reason to stay with LR3 with v5.7 being available.
    I know that v4 and v5 work fine side by side, so I don't see why v3 and v5 would behave any differently.  Make a copy of your old catalog and update the copy to v5.

  • Airport Express - need to run multiple internet connections from it.

    My systems:
    iMac
    Airport Extreme
    Airport Express
    Currently, I use my airport express to wirelessly "feed" an internet connection to my Vudu box (movie download box). Right next to that box I would like to connect my Wii and DirecTV boxes to the internet using the airport express. The problem is that the airport Express has only one LAN line.
    How can I share this one port with all three devices? I don't want to keep adding Airport Express boxes nor do I want to add an Airport Extreme at that location as I use airtunes on my stereo and Airport Extreme doesn't offer that. As you can tell I am not very computer literate so go gentle on me
    any help is much appreciated.
    Guy

    Ok I need everyone's help. I just bought the AirPort Express I am running Windows XP Service pack 3 I have the ethernet connected to the airport express from our wireless router at the same time my computer is connected to the internet the same way. My computer has Internet just fine. After installing AirPort utility it is saying it is unable to find any Apple wirelss device. I am wanting to use my AirPort express with my IPhone when I travel Internationally. I know it works because fellow employess have done this. I have tried unplugging my Airport Expess and the light keeps blinking amber. How do I get to to flash green and how do I get the Utility to detect the Express so I can set everything up?

Maybe you are looking for

  • I have just received a receipt for an app which I have not purchased, what do I do

    I contacted Paypal and then changed my password, only to later have my account hit again taking the remaining balance of a prepaid card I still had on my account. How do I dispute it and get my money returned ?

  • Start button is disabled at info package

    I have crreated a background job in SM36 to trigger an infopackage. I have added the event and parameter in the infopackage. But when I tried to execute the background job, the infopackage is not executing and the start button is disabled there. Then

  • Reconstruct -m

    I just finished moving several thousand mailboxes from one mailstore to another (I thought!!!!)... In running the mboxutil -l it only lists 5 mailboxes which failed to move, however when I try to reconstruct -m all these other users are showing up th

  • YTD function problem

    Hi, I got error when I try to calculate YTD sales by using "TODATE" function. TODATE("Facts - Contract Value"."Total Value USD","Dim - Contract Date"."Fiscal Year") [nQSError: 10058] A general error has occurred. [nQSError: 43113] Message returned fr

  • ASSIGN COMPONENT x OF STRUCTURE not assigning !

    Hello, the problem is that the component PAKET is not getting assigned to my field symbol (<l_str_applparam> type any) and i don't understand why. The PAKET field is type INT4 and the value is 1111.  The importing structure i_str_applparam is also ty