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.

Similar Messages

  • How to run two versions of dreamweaver at the same time

    How to run two versions of any dreamweaver at the same time?
    There must be a way to do this.

    east99 wrote:
    > How to run two versions of any dreamweaver at the same
    time?
    > There must be a way to do this.
    Yes, there is: on two separate computers.
    You cannot run two versions of Dreamweaver simultaneously on
    the same
    computer. They can coexist side by side, but the operating
    system will
    not let you run them together.
    David Powers, Adobe Community Expert
    Author, "The Essential Guide to Dreamweaver CS3" (friends of
    ED)
    Author, "PHP Solutions" (friends of ED)
    http://foundationphp.com/

  • 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))

  • How to run two DAQmx Read (Analog) at the same time?

    I would like to measure a voltage and a current,
    but the two cannot be conbined in one task.
    Therefore, I had to use two DAQmx Read in the same program. But it did not run.

    Multiple channel types can be combined in a single DAQmx Read. One way is to use multiple DAQ Create Channel fucntions. Look at the posting here and the second example at the link in the answer.

  • 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

  • Running two weblogic server versions

    hi all,
    i have a requirement wherein i have to run weblog 9.2 and weblogic 8.1 in the same machine. my application deployed in weblogic 9.2 uses dataservice deployed in weblogic 8.1sp5. i have changed the port number of weblogic 8.1 to "8001" from "7001". but still when i start the 9.2 it fails to start saying it is not able to find transport socket...
    here is the error.
    JDWP Transport dt_socket failed to initialize, TRANSPORT_INIT(510) ["debugInit.c",L497]
    thank you.

    Found the problem. The error occurs because I was running another domain which was using the default debug port for JDWP (8453). This port is set in the setDomainEnv.sh file. When I changed this port to 8454 the startup was fine :-)

  • 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.

  • 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 can I run two independant LabView applications from the same computer, without taking a performance hit?

    I have two identical, but independant test stations, both feeding data back to a Data Acquisition Computer running LabView 6.1. Everything is duplicated at the computer as well, with two E-series multifunction I/O cards (one for each test station) and two instances of the same LabView program for acquiring and analysing the data. The DAQ computer has a Celeron processor w/ 850Mhz clock and 512MB memory, and is running on Windows NT.
    I have noticed that when I run both the applications simultaneously, I take a substantial performance hit in terms of processing speed (as opposed to running just one program). Why does this happen and how can I prevent it? (In t
    his particular case, it may be possible to combine both the tests into one program since they are identical, but independant, simultaneous control of two different LabView programs is a concept I need to prove out).
    Thanks in advance for any tips, hints and spoon feedings (!)....

    Depending on your application, you may or may not be able to improve things.
    Firstly, each task requires CPU time, so a certain performance difference is guaranteed. Making sure you have a "wait until ms" in every while loop helps in all but the most CPU intensive programs.
    Secondly, if you are
    1) streaming data to disk
    2) Acquiring lots of data over the PCI bus
    3) Sending lots of data o ver the network
    you can have bottlenecks elsewhere than in your program (limited Disk, PCI or Network bandwidth).
    Avoid also displaying data which doesn`t need to be displayed. An array indicator which only shows one element still needs a lot of processing time if the array itself is large.... Best is to set the indicator invisible if this is the case.
    I think
    it would be best if you could give some more information about the amount of data being acquired, processed and sent. Then maybe it will be more obvious where you can optimise things. If you are running W2000, try activating the task manager while the program(s) are sunning to see where the bottleneck is.
    Shane
    Using LV 6.1 and 8.2.1 on W2k (SP4) and WXP (SP2)

  • Two Application Server Instances on one Soalris Machine

    Hi,
    I've two Application Server Instances, 9.0.2 and 9.0.4 on one Solaris box. Can anybody tell me how I can change the port number of the Oracle Enterprise Manager?

    IN part because the host and port information is threaded in a LOT of different files. And, if you are farming, some of those files are inside the repository database.
    This was partially addressed in the Oracle AppServer 10g R1 (9.0.4) - using the 'change' scripts.

  • Two server sockets on the same machine, one not working.

    Dear forum users.
    I'm currently having a problem with running two server sockets on the same computer.
    It gives no exceptions or anything, just that if i connect with another machine, the last serversocket that started,
    will not accept connections..
    Scenario:
    Computer 1: Main server.
    Computer 1: Game server.
    Computer 2: Client
    Computer 2 connects first to the main server (lets say port 13371)
    Then connects to game server (port 6112).
    Computer 2 failes to connect to the Game server for some reason.
    But if i open a client at Computer 1, connects to main server, and then game server, it
    works fine.
    And if I put computer 2 as a Game server,
    then everything works fine.
    Working scenario:
    Computer 1: Main server.
    Computer 2: Game server
    Computer 2: Client
    Computer 1: Client
    Now, however many that wants to connect to game server, works.
    I have gone through the code 100 times now it feels like. And still dont see why this happends.
    Anyone know if it is "working as intended"? Or just me doing something completely wrong that i cant see myself?
    Sorry for not posting code, its too much code to post.

    Oh, sorry.
    TCPServer:
    protected ServerSocket serverSocket;
    public abstract void processConnection(Socket client);
        public void listen() {
            try {
                report("Listening to clients on port: " + portNumber);
                while (serverSocket != null && acceptConnections) {
                    processConnection(serverSocket.accept());
                    report("Client accepted on serverSocket.");
            } catch (SocketException e) {
                report("TCPServer/listenForClients : SocketException.", e);
            } catch (Exception e) {
                report("TCPServer/listenForClients : Unknown Exception.", e);
            cleanUp();
            report("Stopped listening on port: " + portNumber);
        }MainServer extends the TCPServer:
        public void processConnection(Socket client) {
            try {
                MainServer_Client tmp = new MainServer_Client(client, this);
                synchronized (clients) {
                    clients.add(tmp);
                Thread th = new Thread(tmp);
                th.start();
            } catch (Exception e) {
                report("MainServer/processConnection : Unknown Exception", e);
        }GameServer extends TCPServer
        public void processConnection(Socket client) {
            try {
                client.setTcpNoDelay(true);
                GameServer_ServerClient tmp = new GameServer_ServerClient(client, this);
                synchronized(clients) {
                    clients.add(tmp);
                Thread th = new Thread(tmp);
                th.start();
            } catch(Exception e) {
                report("GameServer_Host/processConnection : Unknown Exception",e);
                e.printStackTrace();
        }Edited by: Lgeee on Apr 30, 2010 2:57 AM

  • How to run 2 different Firefox versions using the same profile

    Is it possible to run 2 different Firefox versions using the same profile and still have browsing history saved? I used to be able to do that up until a week ago. What happened was I was using Firefox version 3.6.28(a very old version of Firefox) which I need to use sometimes and then the current version, 36.01. Earlier I would use both my versions of Firefox and the history would be saved if I used both versions but now when version 36.01 came out, its not saving for some reason. Is this a bug? The history is saving during the current session, but say I close out of Firefox and then go back to Firefox, it will still be saved but when I go to my old version of Firefox, the history is saved but then after I close out of that the history on my new current version is all gone and it starts me all fresh, is there a way to get rid of this so that the history will always be saved even if i switch between versions? I could do that before up until Firefox 35.01 but Firefox 36 isnt saving the history from the old version, is this a bug or not? Now I have to create a separate profile for each Firefox so the history I use on the old version is only saved on that version and the history I have on the new Firefox is another profile so that history from the 2nd profile remains but I dont want that. I want to be able to use the same profile so that the same browsing history can be saved using both versions like it was before, I hope people can understand my problem. If not I can further explain, thanks.

    @ the-edmeister, I understand that the 2 versions are completely different, however how come the history was saving fine when I switched between firefox 3.6.28 to the current one which was Firefox 32, 33, 34, 35 etc? Like I'm surprised how come now at Firefox 36 this problem started, Firefox 36 isnt that much different from Firefox 35 but yet Firefox 35 was still saving my browser history from the old 3.6.28 version, my 3.6.28 version never upgrades but the new Firefox keeps upgrading whenever there is a new release out automatically and then all of a sudden when the new version of 36.01 came out all my history was gone, so isnt Firefox 35.01 also very much different from 3.6.28 as much as 36.01 is? I hope you got what I meant, thank you for helping.

  • 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.

  • Need help:server client in the same machine

    hello all,
    i want to install oracle client and server on the same machine(cause i only have got one)
    to do that,
    for server installation i did the following:
    # mkdir /u01
    ; /u01
    # cd /u01
    # mkdir -p app/oracle/oradata
    # groupadd dba
    # groupadd oinstall
    # groupadd oracle
    # useradd -g dba -G oinstall,oracle -m oracle -d /u01/app/oracle
    ; risumi des caractiristiques du compte Linux oracle
    ; user : oracle
    ; groupe principal: dba
    ; groupe secondaire: oinstall, oracle
    ; ripertoire par difaut: /u01/app/oracle
    # cd /u01
    # chown -R oracle.dba /u01
    ; virification des droits
    # ls -l /u01/app/oracle
    # ls -l /u01/oradata
    # passwd oracle
    # more /etc/passwd
    # more /etc/group
    ; sortie de votre session root
    # exit
    $ su - oracle
    in .bash_profile(file) i wrote the follwing parameters :
    export DISPLAY=localhost:0.0
    export ORACLE_BASE=/u01/app/oracle
    export ORACLE_HOME=$ORACLE_BASE/product/8.1.6
    export PATH=$PATH:$ORACLE_HOME/bin
    export LD_LIBRARY_PATH=$ORACLE_HOME/lib:/lib:/usr/lib
    export ORACLE_SID=TEST
    export ORACLE_TERM=vt100
    export NLS_LANG=french_france.WE8DEC
    export ORA_NLS33=$ORACLE_HOME/ocommon/nls/admin/data
    the oracle server works fine!
    So, the server installation directory is /u01/app/oracle/product/8.1.6
    what i have to do for client installation in the same machine:
    do i have to create a new groups(dba,oinstall...)?
    do i have a new directory to install oracle client?
    can somebody give me any information?
    Thank's a lot in advance
    null

    You can install your client parts in the same ORACLE_HOME as the server as long as they are of the same version. In fact, a lot of the client has already been installed, since it is part of the server installation.
    If your client is of a different version than your server you will have to install it in a different ORACLE_HOME. You can do this using the same oracle user.

Maybe you are looking for

  • Motorola V551 - Won't sync Phone Numbers

    Hi Everyone; So I got a Motorola V551, paired it to my Mac via Bluetooth, and added it to iSync 2.2 . I went to sync, and only the Calendars were added, even though all Contacts was selected. I went into MORE OPTIONS and Selected "Synchronize Email A

  • Adding folders to itunes from my hard drive

    hi, i hope this is the right place to post, sorry if it's not...i am new to itunes, i just got an ipod today, and after downloading, installing, and loading itunes, i went to file, add folder to library, and selected the folder on my hard drive where

  • Apple World Travel Adapter Kit and the iPhone!

    so, i have the Apple World Travel Adapter Kit which i was using with my powerbook. now, im takin the iphone with me abroad, and im just wondering if it would be compatible. the thing that confuses me is that the iphone adapter is usb, and with the po

  • Display "without PGI" & "PGI done not invoiced" in the selection screen

    Hi All, I am preparing a query to track the status of outbound deliveries and would greatly appreciate it if you could guide me on the following requirement. Is there a way to display the following two fields in the "Selection Screen" of a query (TCo

  • New Client

    I am trying to create new Clients in PI on the 000 client but I can t login with the user DDIC or SAP* and I am using passwords 19920607 and 06071992 respectively. So my question is there another default password for these users with PI.. AND Can I s