How to configure a second apache instance on the same machine?

Hello,
We are in the process of migrating our client server application to web. We are using 9iAS (release 1), forms and reports 6i.
We installed 9iAS (Rel. 1) on Solaris platform. This instillation is our development platform. We need to create a second instance on the same Solaris box. What steps are to be taken to create this new instance on the same box?
Any pointers or documentation are appreciated.
Thanks in advance.
Arun.

You can create a 2nd service and copy all config files involved and change the contents of the files. E.g. create httpd_2.conf etc. etc. You will find that this is an endless process.
What I usually do is create another Oracle 9iAS home (iSuites only). The installer automatically assigns a new port number and creates new config files.
You do not have to install a 2nd Developer home. Instead, create a second environment file, e.g. (paths are clearly for Windows in my example):
<ORACLE_Dev6i_HOME>\Forms60\Server\Apptest2.env
Edit <ORACLE_9iAS_HOME>\Apache\Jserv\Servlets\zone.properties and add the following lines:
servlet.oracle.forms.servlet.ListenerServlet.initArgs=EnvFile=D:\Oracle\Dev6i\forms60\server\default.env
servlet.servletApptest2.code=oracle.forms.servlet.ListenerServlet
servlet.servletApptest2.initArgs=EnvFile=D:\Oracle\Dev6i\forms60\server\Apptest2.env
The alias �servletApptest2� is used in the serverURL parameter in the startup html file.
Do something similar for Reports server. Create a 2nd Reports service and add this services to tnsnames.ora with a different port, e.g.
RepserverTST2,RepserverTST2.world=(ADDRESS=(PROTOCOL=tcp)(HOST=myhost)(PORT=1951))

Similar Messages

  • How to run two WebLogic server instances on the same machine

    The setup is to run server instance A with all EJBs and server instance
    B with all servlets.
    I edited the weblogic.properties under myserver to include all EJBs and
    create server2 under \weblogic parallel to myserver and put a new
    weblogic.properties under server2 that has all the servlets aliases.
    Is this the right way?
    two server ran but I cannot hit the servlet.

    The setup is to run server instance A with all EJBs and server instance
    B with all servlets.
    I edited the weblogic.properties under myserver to include all EJBs and
    create server2 under \weblogic parallel to myserver and put a new
    weblogic.properties under server2 that has all the servlets aliases.
    Is this the right way?
    two server ran but I cannot hit the servlet.

  • How to configure multiple listeners to listen for the same instance.

    Hello everyone,
    I am running oracle database 11g and I want information regarding how to configure multiple listeners to listen for the same database instance. Actually I know how to configure more than one listener but the main thing that I am confused about is when we create listener.ora file, do we have to statically register the database instance with both the listeners or the instance will register itself with both the listeners.
    According to my knowledge the instance will register with the listener specified by LOCAL_LISTENER parameter and we cannot have more than one value for this parameter.
    Please only give detailed answers with example as I am tired of simple answers with details that I already know.

    Hello,
    Yes, it can make sense to have several listener for one Oracle instance. For instance you may have one listener for the applications another listener for DBA administration tasks as well as one listener dedicated to dataguard broker. It is not possible to have several listeners listening on the same IP and Port.
    By default the database try to automatically register to a listener on port 1521. To instruct the instance to register to a specifc list of listeners you can add in the init.ora the local_listener parameter with an alias definition:
    i.e
    local_listener=MY_SET_OFF_LISTENERS
    in your tnsname.ora add an entry called:
    MY_SET_OFF_LISTENERS_LOCAL= (ADDRESS_LIST=
    (ADRESS=(PROTOCOL=TCP)(HOST=myhostname)(PORT=1530))
    (ADRESS=(PROTOCOL=TCP)(HOST=myhostname)(PORT=1531))
    (ADRESS=(PROTOCOL=TCP)(HOST=myhostname)(PORT=1532))
    In this sample your instance will register to three listeners listening on respectively port 1530, 1531 and 1532
    If you want your clients can be balanced over the 3 listeners

  • How can I run two instances of apache tomcat in the same machine.

    Hi
    Can I run 2 instances of apache tomcat in the same machine.If yes then how.?

    Yes, you can. Just run 2 instances. Make sure that they run on different ports.

  • How can install a second app icon  of the same on app on a different home screen?

    how can install a second app icon  of the same on app on a different home screen?
    for example i have the phot app on one home screen and the i want the same photo app showing on the other home screens?
    I want to have a duplicate app on on more than one home screen
    Another example if i have the Evernote app showing on my first home screen and then my last home screen as well

    Put it in the dock at the bottom. Apps put there stay there and show at the bottom of all home screens.

  • How to run 2 weblogic instance in the same machine

    is it possible to run 2 weblogic instance in the same machine ?
    I have created 2 domains ...domain-1 and domain-2 in my hard disk and both of them have startWeblogic.cmd in them..
    but i cant run them simultaneously though individually they run.
    they differ by HTTP port and Debug port but still they dont run simultaneously
    can you please comment ?

    yea...i thought about it .
    but as both of them are same application and they are using the same DB connection pool , JMS queue ....i just dont want to mix all these.
    so i have created two seperate domian . and i run them individually and they work fine.
    However , they are having different ports though .
    But when i run the second one while the first one is running ....the second one does not starts up
    here is the error when i click on startsWeblogic.cmd when the other is already running.
    java version "1.4.2_08"
    Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2_08-b03)
    BEA WebLogic JRockit(TM) 1.4.2_08 JVM R24.5.0-61 (build ari-49095-20050826-1856-win-ia32, Native Threads, GC strategy: pa
    Starting WLS with line:
    d:\bea\JROCKI~1\bin\java -jrockit -Xdebug -Xnoagent -Xrunjdwp:transport=dt_socket,address=8453,server=y,suspend=n -Djava.
    === Debugging ===
    This window is necessary for debugging code using WebLogic Workshop
    ERROR: Proxy already running...
    weblogic.debugging.comm.TransportException
    at weblogic.debugging.comm.ServerConnectInfo.createTransport()Lweblogic/debugging/comm/CommTransport;(ServerConne
    at weblogic.debugging.engine.ProxyThread.run()V(ProxyThread.java:77)
    at java.lang.Thread.run()V(Unknown Source)
    at java.lang.Thread.startThreadFromVM(Ljava/lang/Thread;)V(Unknown Source)
    Caused by: java.net.BindException: Address in use
    at jrockit.net.SocketNativeIO.bind(ILjava/net/InetAddress;I)I(Unknown Source)
    at jrockit.net.SocketNativeIO.bind(Ljava/io/FileDescriptor;Ljava/net/InetAddress;I)I(Unknown Source)
    at java.net.AbstractSocketImpl.bind(Ljava/net/InetAddress;I)V(Unknown Source)
    at java.net.PlainSocketImpl.bind(Ljava/net/InetAddress;I)V(Unknown Source)
    at java.net.ServerSocket.bind(Ljava/net/SocketAddress;I)V(ServerSocket.java:318)
    at java.net.ServerSocket.<init>(IILjava/net/InetAddress;)V(ServerSocket.java:185)
    at java.net.ServerSocket.<init>(I)V(ServerSocket.java:97)
    at weblogic.debugging.comm.ServerConnectInfo.createTransport()Lweblogic/debugging/comm/CommTransport;(ServerConne
    ... 3 more
    Could not bind to Weblogic server (Error attaching to Weblogic Server.).
    Message was edited by:
    Unknown_Citizen

  • Multiple Instances on the same machine: Several IP Addresses

              Hi all, I want to set up several instances of WL on the
              same server. These instances will be clustered. I am
              using Apache for the WebServer. Here the configuration
              I used: I first change the weblogic.conf file in Apache
              to set up the bridge.I restart apache using apachectl.
              Then, on the WebLogic site, I created a new ipadress
              using ifconfig hme0:1 ip adress ... I created a file
              hostname.hme0:1 in /etc I added this Ip address in /etc/hosts.
              I added this Ip address in the mycluster DNS. I wanted
              to start both WL manually using startWebLogic.sh file
              to see the log file. So, I first assign hostname to WL1.
              Then start WL. I opened an other terminal. Assign the
              hostname to WL2. Then start using startWebLogic.sh. The
              first instance started correctly.When the second started,
              there was an error: when listening to the port 7001,
              this port was already used. That was the same with the
              port 7002.
              Then , my question is How is it possible to configure
              several instances on the same machine using several ip
              addresses and one port. Thank you for your help. Erwan
              

              Please try -Dweblogic.system.bindAddr=<a.b.c.d> in your startWebLogic.sh.
              Brian
              "Merg" <[email protected]> wrote:
              >> Then , my question is How is it possible to configure
              >> several instances on the same machine using several
              >ip
              >> addresses and one port. Thank you for your help. Eourwan
              >
              >On Win2K/WinNT you can assign several IP adresses to you
              >NIC. (Advanced
              >TCP/IP options.) Each server instance has to run on it's
              >own port.
              >
              >Regards,
              >Merg
              >
              >
              

  • Multiple Portal instances on the same machine

    Hi  Forum,
    we have a requirement where in we are asked to implement multiple instances of Portal on the same machine. can you please give me some detials on Feasibility , issues and limitations of having multiple Portal instances on the same machine , different instances pointing to different tiers(Dev, Test, Production) etc
    pointers will be highly appreciated..
    regards,
    uday

    Hi Uday,
       Please look at this.
    Multiple Portal Instances - Virtual Hosting
    Regards,
    Siva
    P.S: Award points if you find this useful.

  • When you install Premiere Pro as the admin on an iMac the audio functionalities work well but a second admin account on the same machine does not work. What can I do to fix this?

    When you install Premiere Pro as the admin on an iMac the audio functionalities work well but a second admin account on the same machine does not work. What can I do to fix this?

    It is a bad idea to hack computer passwords when you don't own the computer
    Good luck with the school and the parents.

  • Communication between Two WebLogic instances on the same machine

    Hi,
    We're having a problem with communication between two copies of Weblogic on
    the same machine. They are configured with seperate ports (regular and SSL).
    Independantly, they run fine. I can access EJBs running on either of them.
    The problem is that a bean in one of them has code which attempts to access
    an EJB on the other one. The procude fails when trying to obtain the initial
    context. This same code works if compilied independantly of WebLogic on the
    same machine.
    Are there any known issues regards communication between two running
    instances of Weblogic on the same machine?
    Thanks in advance,
    Randy Yarger
    marchFIRST
    [email protected]

    Thanks for the prompt reply.
    There is one IP address (internal address 10.227.1.34) one the machine. WLS1
    is set up at ports 7001 and 5133. WLS2 is setup at ports 7004 and 7005.
    When WLS1 attempts to obtain a context to WLS2 with the URL
    t3://10.227.1.34:7004/ it pauses for a long period of time. Running truss
    on the both WLS processes shows communication occuring between the two
    followed by long periods of silence. Finally WLS2 spits out the error
    ConnectionException[7001,7001,5133,5133,7001,7001] (paraphrased, I can get
    the entire error if it would help).
    After another long pause, WLS1 quits trying with the error 'Server
    10.227.1.34:7004 not found' (again paraphrased).
    Among the things we've tried:
    * Changing the URL from the IP to 127.0.0.1
    * Enabling/disabling SSL on either or both WLSs.
    * Changing the server name in WLS2's copy of weblogic.properties from
    'myserver' to 'myserver2' (previously they were both 'myserver')
    * Upgrading WLS2 to 5.1.0sp5 (Tried upgrading WLS1, but was getting class
    not found errors and quit because that WLS is being used by other people)
    This is a Solaris server. WLS1 is running 5.1.0 and WLS2 is running 5.1.0sp5
    Any suggestions would be appreciated.
    Best,
    Randy Yarger
    marchFIRST
    [email protected]
    "Michael Girdley" <[email protected]> wrote in message
    news:[email protected]...
    >
    >
    There should not be. What is your network configuration? Are they on
    separate IP addresses?
    Thanks,
    Michael
    Michael Girdley
    BEA Systems Inc
    "Randy Jay Yarger" <[email protected]> wrote in message
    news:[email protected]...
    Hi,
    We're having a problem with communication between two copies of Weblogicon
    the same machine. They are configured with seperate ports (regular andSSL).
    Independantly, they run fine. I can access EJBs running on either of
    them.
    The problem is that a bean in one of them has code which attempts toaccess
    an EJB on the other one. The procude fails when trying to obtain theinitial
    context. This same code works if compilied independantly of WebLogic onthe
    same machine.
    Are there any known issues regards communication between two running
    instances of Weblogic on the same machine?
    Thanks in advance,
    Randy Yarger
    marchFIRST
    [email protected]

  • How do I share files between users on the same machine?

    I tried using /Users/shared to share files between myself (Admin user) and another user on the machine (Standard user). Whenever I put a file or a folder into said directory permissions are 755 for directories and 644 for files, my umask is 0022. The files and directories belong to my user and the group staff. This means I can read and write and others can read. If I do the same using the other users account. Permissions are 700 and 600 respectively. (Owner is the other user and group is staff.) Strangely the other users umask is 0022, too.
    The result is, that all directories and files I create with my account (Admin user) are readable to every other user on the machine, whereas all directories and files the other user (Standard user) creates are not readable for anyone else. I can easily rectify this using the Terminal and chmod and/or chown, but it is a pain having to do this, since I also need to forcefully restart the Finder App for it to notice the changed permissions.
    Ideally I'd like all directories in /Users/Shared to have permissions 777 and all files 666 no matter which user created, copied or moved them to said location. I think this could possibly be done using applescript and shellscripting and the folder action hook. So far my attempts to find such a script on the net or/and write it myself have failed. I'd be grateful for any hints how I:
    a) write and setup such a script
    b) accomplish what I try to do (share files and folders on the same machine) in another possibly more Mac way
    Kind regards
    David

    The following AppleScript will recursively descend the directory tree and change the items to your modes:
    <pre style="
    font-family: Monaco, 'Courier New', Courier, monospace;
    font-size: 10px;
    margin: 0px;
    padding: 5px;
    border: 1px solid #000000;
    width: 720px; height: 340px;
    color: #000000;
    background-color: #FFDDFF;
    overflow: auto;"
    title="this text can be pasted into the Script Editor">
    on adding folder items to this_folder after receiving these_items
    repeat with some_item in these_items
    ProcessStuff from some_item
    end repeat
    end adding folder items to
    to ProcessStuff from SomeItem
    processes items contained in SomeItem, recursively descending the directory tree
    parameters - SomeItem [mixed]: an item containing the items to process
    returns nothing
    set SomeItem to SomeItem as text
    set FileInfo to (info for SomeItem as alias)
    if (folder of FileInfo) and not (package folder of FileInfo) then -- a folder (not a package)
    do shell script "chmod 666 " & quoted form of POSIX path of SomeItem
    -- do shell script "chown root:staff " & quoted form of POSIX path of SomeItem user name "me" password "mypassword" with administrator privileges
    try -- to get items in the folder
    tell application "Finder" to set SubFolder to (items of folder SomeItem)
    on error
    return {}
    end try
    repeat with SubItem in SubFolder -- process the sub items
    ProcessStuff from SubItem
    end repeat
    else -- a file
    do shell script "chmod 777 " & quoted form of POSIX path of SomeItem
    -- do shell script "chown root:staff " & quoted form of POSIX path of SomeItem user name "me" password "mypassword" with administrator privileges
    end if
    return
    end ProcessStuff
    </pre>
    You shouldn't need to change the ownership, so I commented out the chown shell script since this would need to be run as a super user. You can run a shell script with administrator privileges, but in order to be used by a standard user you will need to provide the appropriate user name and password in the script, which might not be a good idea - note that the folder action script will need to be attached in all accounts that you want to change the permissions, which means that it would need to be accessible to those accounts.

  • How can I convince iTunes that this is the same machine to avoid installing all my iPod Touch Apps?

    I've had to rebuild my hard drive and reinstall all the software. What a pain.Now iTunes wants to tell me that I am re-syncing from a new machine and wants to reinstall all of my Apps. It is the same machine, and all the Apps show up in iTunes that are on my iPod Touch. I do not want to have to reinstall all of the iPod Apps and try to restore all of their data. How can I convince iTunes that this is NOT a different machine?

    If you are using iTunes version 7 or later, then you can transfer purchased iTunes store music from the iPod to an authorized computer by using the "file/transfer purchases from iPod" menu. Note that the maximum of 5 authorized computers applies here.
    For all other non purchased music (your own CDs etc) try this method which works on some Windows PCs.
    Enable your iPod for disk use.
    See: iPod Disk Use.
    Open iTunes and select edit/preferences/advanced/general. Put a check mark in the box marked "copy files to iTunes music folder when adding to library" and also "keep iTunes music folder organized", then click 'ok'.
    Connect the iPod whilst holding down the shift/ctrl keys to prevent any auto sync, and if you see the dialogue window asking if you want to sync to this itunes library, click 'no'.
    Then go to file/add folder, open 'my computer', select your iPod and click 'ok'.
    The music files should transfer to your iTunes.
    If this doesn't work (and it may not because officially it's not supposed to), check out the instructions/suggestions here.
    Music from iPod to computer (using option 2). This a manual method using "hidden folders" and although it works, it can be messy.
    Much easier ways are to use one of the many 3rd party programs that copy music from the iPod to the computer.
    One of the most recommended is Yamipod. This is a free program that transfers music from iPod back to the computer. However, it does not transfer playcounts/ratings etc.
    Another free program is Pod Player.

  • How to configure oem 2.1.0 on the client machine to detect nodes on the server

    I've oracle 8.0.5 running on a solaris 2.6 server. I also have oem 2.1.0 running on my NT workstation. But oem won't automatically detect nodes on the server. IA is running on the server and the client very well
    What do you guys think

    Hi
    Do you have an entry for the server db in your tnsnames.ora file
    (client machine)where OEM is running? If not, add an entry and
    try discovering again
    sarath

  • How to find my class is running in the same machine or not

    Hi,
    Can any one help me, I have a class called TestClass it has a main method. I want to restrict this class, to run only one occurrence in my system. i.e. If I open 2 command prompts and If I run this class in 2 command prompts, in one command prompt it should run, in another command prompt it should display msg like "This class is already running in the system".
    Thanks in advance.

    You could simply create a text file, if that file
    does not already exist. If it
    does exist, you know you are already running. Just
    remember to delete the
    file on exit of the original running instance.This is not as reliable as the previously mentioned server socket approach. With this approach, if your program crashes, it may not delete the file. With the socket approach, even if the program crashes, the socket will be released.

  • Using the same correlation set to multiple instances of the same process

    Hi all,
    Assuming that I have a Purchase Order with multiple items and I have a BPEL process that is triggered for each item.
    When the Purchase Order is cancelled by the customer, I want to cancel all BPEL process that is still running. I'm using SOA Suite 11.1.1.2.
    My first attempt was to use an event handler associated to a cancellation operation, but I couldn't do this because when the second BPEL instance was started, a conflictingReceive BPEL Fault is triggered. This occurs because BPEL can't have more than one active receive/on message using the same correlation set.
    Another way to do this is using a different correlation set for each instance (somethig like a composite key - Purchase Order ID + Item ID, i.e), but in this way I need to know all composite key in advance and send one message to each instance specifically.
    Anyone have any suggestion of how to cancel more then one instance of the same BPEL process using Event or a generic way that does not need to send one message for each instance?
    Events work very well to start more then one BPEL process but does not work well to receive an intermediate message during process execution because in this case we need correlation set to associate the event with the correct instance and BPEL does not support more then one instance of the same BPEL process waiting for the same correlation set.
    Any suggestion will be very welcome.
    Thanks in advance,
    Rafael

    Never mind. I got it.
    I put the iisforward.dll and .ini is a seperate folder, and edited the iisproxy.ini's to include the portnumber like this. And I changed the hostheaders in IIS to Site1, Site2 etc
    vhost1=Site1:80
    Site1:80=C:\Sites\Site1\iisproxy.ini
    vhost2=Site2:80
    Site2:80=C:\Sites\Site2\iisproxy.ini
    vhost3=Site3:80
    Site3:80=C:\Sites\Site3\iisproxy.ini

Maybe you are looking for

  • Front End Screen to Update Item Help Text

    Hello, I've been asked to create an Apex front end screen which the Administrators can access in order to update the Help Text associated to the page items within our application (Apex 4). I created a basic Interactive Report: select page_id, item_na

  • What is the parameter list and why does it keep on coming up?

    What is the parameter list and why does it keep on coming up when I try to finalize the video or share it?

  • How to make a Predefined function out of this

    I am new into java, and I wanted to define certain sets of command into a single function to avoid redundancy and to have a much shorter code. Below is the problem, import java.sql.*; import java.io.*; public class Ivatanako static void displayResult

  • ITunes will not shut down

    Itunes is running causing my fan to run.  When I try to close it, it restarts.

  • Image navigation bar for ePub Children's book export?

    I'm designing children's picture books in ID for export to ePub. I've seen some such books on my nook (ePub) that have an image navigation bar that pops up at the bottom of the page. Readers can scroll through reduced images of pages quickly on this