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

Similar Messages

  • 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 to install several instances of the same application on a computer?

    Hej,
    I have an application in LV 2009, where I have created an installer. The installer installs to a directory called \Receiver relative to the Program Files directory. If I install this once to a computer, everything is OK.
    However, I want to install the same application twice on the same computer. There should be no conflicts between the two applications, since I can configure them to work on different directories and ports. But if I call the installer again, and selects another directory, nothing is installed and I get the message "Installation Summary - No software will be installed or removed". It seems like the installer ignores that I have selected another directory, and just uses the default directory, relative to the Program Files directory.
    Anyone knows the trick, how to install several instances on the same computer ?
    BR, Jan
    Jan Nielsen
    Freelance system analyst and LabVIEW programmer

    Hi Jan,
    This is so because each installer has a GUID that is used to check whether the application needs to be upgraded or not. (It's a Microsoft function).
    What you can do is create a new installer with a different GUID (copy the installer in the projects), and check witha  text editor whether this GUID has changed.
    But any specific reason you need two seperate installs? You can run the application twice with a specific INI token:
    allowmultipleinstances=True
    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!

  • How to run two query  in the same preparedStatement

    Hi all,
    Please tell me how to run two queries in the same preparedStatement object ?
    In my module I have to run two queries and I don't want to make two methods for running two different queries.
    I just want to call this method for both of my queries.
    methodName(long param)
    Connection conn=null;
    PreparedStatement pstmt=null;
    //////////////// some coding
    Please Help !
    Thanks in advance
    amitindia

        public void foo()
            Connection connection = null;
            PreparedStatement stmt = null;
            try {
                connection = ...get from pool...;
                stmt = connection.prepareStatement("...");
                ...fetch results...;
                stmt.close();
                stmt = null; // So the finally statement works if there is an exception
                stmt = connection.prepareStatement("...");
                ...fetch results...;
            } finally {
                if (stmt != null) ..close it...;
                if (connection != null) ..return it to pool...;
        }

  • Disallow running multiple instances of the same web start application..

    on the client? I have an application that is launched on the client by clicking on the link to the JNLP file. The problem is that I don't want the application to launch twice if the user clicks the link twice. Is there a way to keep web start from running multiple instances of the same app?
    I don't want to just disable the button after it is clicked because then the user won't be able to get back in if they need to.
    Any help out there?
    Thanks,
    Melanie

    The way I do this is to try connect to an obscure port number on the localhost at startup.
    if this connection succeeds I assume the app is already running. otherwise the program continues and registers as a server at that port number.
    I actually take this a little bit further by registering a web server at this port (I use the Brazil server), That way if the program finds an instance of itself running it can send a message to the web server and ask the program to do something (like start another window if,for instance you wanted to allow this but only within the same VM).

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

  • How to install forms 6i on the same machine oracle8i installed

    I have oracle8.1.6 release 2 installed on microsocft windows 98. How do I installed forms 6i on the same machine. when I installed forms6i, it has overwritten the resgistry settings and I cannot run database any more. Please give me some ideas how to install all these on the same machine on windows 98 , operating system DOS.

    <BLOCKQUOTE><font size="1" face="Verdana, Arial">quote:</font><HR>Originally posted by Simon Jennings ([email protected]):
    You need to use seperate Oracle homes.<HR></BLOCKQUOTE>
    You have to install Forms6i on a different Oracle_Home not Default_Home, which I believe is where you installed Oracle8i.

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

  • 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 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 run two icalenders on the same computer?

    How can i run two separate icalenders on the same computer? I have my own icalender with work, home, etc, and it's totally full. I am now running an artists collective and will publish the collectives icalender on the web. I don't, however, want to mix what will be a pretty busy calender with my own already too full one. Is it possible to run two totally separate calenders on the same computer?
    macbook   Mac OS X (10.4.8)  

    trsv,
    Welcome to Apple Discussions.
    Create two Groups...
    Calendar 1:
    Work
    Home
    etc
    Calendar 2:
    Collective Calendar
    You can then switch which groups you wish to display by activating/deactivating the check mark in the Calendar source window.
    That will also allow you to selectively publish the Collective Calendar.
    ;~)

  • How to install PI instance on the same server that has Solution Manager 4?

    I am planning to install PI 7 on a windows 2003 server that has Solution manager 4 running on it already.
    I am planning to install an additional Oracle instance and put PI on it.
    What are the steps involved?
    Please advise.
    Thanks and regards,
    Bhaskar

    Barry,
    I went throught this link when I firt tried MCOD. may be the mistake I did was that I tired installing two separate instances like Sol Man and XI into the same oracle database. it used to fail at the step of Creating table Spaces.
    I tired this when I saw some docs on MCOD (I think from IBM).
    May be the approach was wrong.
    Let me try this new method of installing two different Oracle instances and put Solution manager on one and XI on the other.
    I will update you some time today.
    Thanks for the help so far.
    Regards,
    Bhaskar

  • How do you force instances with the same name on the same layer to update?

    Maybe someone can tell me why flash doesn’t redraw
    components’ x,y positions if they have the same instance name
    and are on adjacent frames? (movieclips work fine, just not
    components) If I have a button on frame 1 and a button on frame 2
    both with the same instance name but different locations on the
    stage, frame 2’s button doesn’t show up in the position
    I placed it, it stays at the position of frame 1 but still has the
    properties of frame 2’s button. The label changes and
    everything. If I stick a button on a frame in between and give it a
    different instance name there is no problem. I thought it might be
    the style manager bug
    http://www.gskinner.com/blog/archives/2007/12/cs3_component_b.html
    but it didn’t seem to affect. This happens for textareas too
    and probably all components although I haven’t tried them.
    I’ve tried using drawNow() and validateNow() with no luck
    either
    http://www.adobe.com/devnet/flash/articles/creating_as3_components_pt3_05.html
    Thank you!
    // put this on frame 1 along with a button on the stage with
    instance name: b
    function doit(event) {
    if (currentFrame == 1)
    gotoAndStop(2);
    else
    gotoAndStop(1);
    b.addEventListener(MouseEvent.CLICK, doit);
    stop();
    // put another button on frame 2 along with this code and
    also make it’s instance name: b but move it so it’s not
    in the same x,y coordinates as the button on frame 1
    stop();
    Something possibly related. I have a movieclip on a layer,
    one instance with name “a” on frame 1 and one instance
    with name “a” on frame 2 and it has event listeners
    inside it that update something on the movieclip. Unless I put the
    movieclips on separate layers the event listeners won’t reset
    each frame. (example: a button with a tooltip onmouseover that you
    want to change the text of from frame 1 to frame 2) You’d
    think if they were on separate keyframes at least but no, they need
    to be on separate layers too.
    I want the movieclip to update each frame. Any ideas?

    instances (whether components or not) with the same name may
    or may not be the same instance. it depends upon how they were
    created.
    for example, if you create an instance on frame 1 of your
    main timeline, give it an instance name and then create a keyframe
    on frame 2, the two instances will be the same.
    but if you create an instance on frame 1 of your main
    timeline, give it an instance name and then create a blank keyframe
    on frame2 and create another, what you think is a duplicate,
    instance and give it the same name, it will be a different
    instance.

  • How to treat multiple instances of the same image

    In my W/F I use Lightroom as my catalog and main edit tool but also create (using capture NX) tiff images to be edited in PS and also create jpegs in different formats for web browsing or slideshows.
    To my knowledge, while LR provide a powerful version tool to maintain different edits of the same image, it doesn provide anything to manage different processing  stages of the same image.
    Does anybody face the same issue ? How do you manage ?

    It sounds like you have two requirements:
    1. That different processing stages in time be saved
    2. That different output versions be tracked and updated
    It seems like #1 can be managed using virtual copies or History snapshots, depending on what you need.
    #2 should be automatic on export. When you export, you can set an export folder, which can also be saved as a preset. If you have one export preset for PSDs and another for JPEGs, you simply save an export preset for each output. In addition, you can select "Add to this catalog" so that Lightroom automatically tracks the separate folders where it exported the PSDs and JPEGs. When you want to export, you just select the right preset and everything is put in the right place for you and you can see where they went.
    You might also look into the Publish Services feature since it can do all of the above, and also can automatically track when you change the source image and let you know which exported files (like PSDs and JPEGs) need to be updated. Then you just click one button and they're all updated in their folders.

  • WDA Personalization bug when running multiple instances of the same WDA component

    I have found an issue relative to WDA personalization that it seems to be a bug for me.
    Scenario:
    In my scenario, I have a Web Dynpro component A which has two usages of the same Web Dynpro Component B (USAGE1 and USAGE2).There is a WDA application APPL_A defined to fire WDA component A. I have defined a component configuration COMP_CONF1 for WDA component B and an application configuration APP_CONF1 for WDA application APPL_A. This application configuration applies the same component configuration COMP_CONF1 to both usages USAGE1 and USAGE2.
    Runtime behaviour:
    At runtime, I execute application APPL_A using the application configuration APP_CONF1. When I personalize something in the USAGE1 of WDA component B, the effects does not appear in USAGE2 until a page refresh is done. Obviously, as both usages uses the same component configuration at rutime the effects of personalization should be applied to both, but WDA configuration framework fails to apply the changes instantaneously to USAGE2.
    Have you expermiented this behaviour? Is there any workaround for this?

    I have found an issue relative to WDA personalization that it seems to be a bug for me.
    Scenario:
    In my scenario, I have a Web Dynpro component A which has two usages of the same Web Dynpro Component B (USAGE1 and USAGE2).There is a WDA application APPL_A defined to fire WDA component A. I have defined a component configuration COMP_CONF1 for WDA component B and an application configuration APP_CONF1 for WDA application APPL_A. This application configuration applies the same component configuration COMP_CONF1 to both usages USAGE1 and USAGE2.
    Runtime behaviour:
    At runtime, I execute application APPL_A using the application configuration APP_CONF1. When I personalize something in the USAGE1 of WDA component B, the effects does not appear in USAGE2 until a page refresh is done. Obviously, as both usages uses the same component configuration at rutime the effects of personalization should be applied to both, but WDA configuration framework fails to apply the changes instantaneously to USAGE2.
    Have you expermiented this behaviour? Is there any workaround for this?

Maybe you are looking for

  • Javascript Open and Close window

    I am creating a new website and am having problems getting the open window and close window to work. I want this window to open a new window (NOT a popup window used with the "onload" option). I am using an img tag so that when you click on the image

  • How Do I Restore from a TM backup?

    Ok, heres the situation. I need to erase my hard drive because of problems partitioning my HD for Boot Camp, which I've seen that many people have encountered (APPLE FIX THIS!). I've got a Time Machine backup and I would like to know how I restore my

  • HT1339 After I disconnect from my PC, my iPod nano shuts off and won't come back on?  How do I fix this?

    When I disconnect from my PC, my nano shuts off and won't come back on.  I have tried holding down both the On/Off and the Home buttons -- but nothing...

  • Statistics gathering in 10g - Histograms

    I went through some articles in the web as well as in the forum regarding stats gathering which I have posted here. http://structureddata.org/2008/03/26/choosing-an-optimal-stats-gathering-strategy/ In the above post author mentions that "It may be b

  • Trouble opening downloaded applications

    Well the problem that I am having is that whenever I download an application and try to get it to open it doesn't work. I know that it has to do with the fact that the recommended application that it is supposed to open with has been changed to iTune