Deploy multiple instances of WebLogic (null)

 

Dont' crosspost.
          - Prasad
          Rajashekar Narsina wrote:
          > Hi,
          >
          > When I have multiple instances of weblogic, can I use weblogic.properties
          > file for each instance of server.
          >
          > If so, what should I do for that,
          > it is urgent, your help will be greatly appreciated.
          >
          > Raj
          

Similar Messages

  • How to deploy multiple instances of WebLogic on the central server,wl6.0

     

    I would suggest 2 domains each of them for it's own purpose, with an admin and a managed server with the same db connection name connecting to its own database. In this case the only difference is the domain name(has to be unique on a physical server) and the ports will have to be different on QA vs DEV. They could share the applications which can be located outside of both domains, but they will have to be deployed separately. if you want to work with different levels of code than you'll need 2 separate directories for storing the applications.
    In fact you should test in QA only after DEV is done with development(?!).
    In this situation watch the memory allocation as you can affect one of the domains by doing a lot of work/load on the other one.

  • Deploy multiple instances of the same stateless session EJB

    I have a stateless session bean.
    The methods on the bean operate against DB tables.
    Q: Can I deploy multiple instances of the same stateless session bean, but specify a different JNDI/datasource name in the deployment descriptor?
    The method calls are all enclosed within a single invocation, just that I need to hit different databases (all with the same schema), and Id like to be able to lookup the EJB via a different JNDI name, and have the exact same functionality, just against different deployed datasources.
    Does the spec allow/support this?
    If not, any suggestions as to how to achieve this sort of functionality?
    Im using JBoss 3.2.1 on Solaris, so Im not sure whether or not this is a JBoss "issue" or a limitation of the EJB Spec (or me being just plain wrong and trying to do something the "wrong way")
    Nick

    I have a stateless session bean.
    The methods on the bean operate against DB tables.
    Q: Can I deploy multiple instances of the same
    stateless session bean, but specify a different
    JNDI/datasource name in the deployment descriptor?
    The method calls are all enclosed within a single
    invocation, just that I need to hit different
    databases (all with the same schema), and Id like to
    be able to lookup the EJB via a different JNDI name,
    and have the exact same functionality, just against
    different deployed datasources.
    Does the spec allow/support this?
    If not, any suggestions as to how to achieve this sort
    of functionality?
    Im using JBoss 3.2.1 on Solaris, so Im not sure
    whether or not this is a JBoss "issue" or a limitation
    of the EJB Spec (or me being just plain wrong and
    trying to do something the "wrong way")
    NickI haven't done it but judging from the deployment descriptors yes.
    For example if I have two bounded datasources java:/Database1 and java:/Database2
    Lets say I have a session bean called MySession, then in your ejb-jar.xml you would have (notice that the desc, display, and ejb-name are the only differences)
    <session>
    <description>MySessionAlpha</description>
    <display-name>MySessionAlpha</display-name>
    <ejb-name>MySessionAlpha</ejb-name>
    <home>com.mycorp.MySessionRemoteHome</home>
    <remote>com.mycorp.MySessionRemote</remote>
    <local-home>com.mycorp.MySessionLocalHome</local-home>
    <local>com.mycorp.MySessionLocal</local>
    <ejb-class>com.mycorp.MySessionFacadeBean</ejb-class>
    <session-type>Stateless</session-type>
    <transaction-type>Container</transaction-type>
    <resource-ref>
    <res-ref-name>jdbc/DataSource</res-ref-name>
    <res-type>javax.sql.DataSource</res-type>
    <res-auth>Container</res-auth>
    </resource-ref>
    </session>
    <session>
    <description>MySessionBeta</description>
    <display-name>MySessionBeta</display-name>
    <ejb-name>MySessionBeta</ejb-name>
    <home>com.mycorp.MySessionRemoteHome</home>
    <remote>com.mycorp.MySessionRemote</remote>
    <local-home>com.mycorp.MySessionLocalHome</local-home>
    <local>com.mycorp.MySessionLocal</local>
    <ejb-class>com.mycorp.MySessionFacadeBean</ejb-class>
    <session-type>Stateless</session-type>
    <transaction-type>Container</transaction-type>
    <resource-ref>
    <res-ref-name>jdbc/DataSource</res-ref-name>
    <res-type>javax.sql.DataSource</res-type>
    <res-auth>Container</res-auth>
    </resource-ref>
    </session>
    But now in the jboss.xml, we will have the following elements. What you may notice is that are bound to different remote and local jndi names. But the resource bindings are very different. The res-ref-name stays the same, but the jndi-name are different. I think this will work for you.
    <session>
    <ejb-name>MySessionAlpha</ejb-name> <jndi-name>ejb/com/mycorp/MySessionAlphaRemoteHome</jndi-name> <local-jndi-name>ejb/com/mycorp/MySessionAlphaLocalHome</local-jndi-name>
    <resource-ref>
    <res-ref-name>jdbc/datasource</res-ref-name>
    <jndi-name>java:/Database1</jndi-name>
    </resource-ref>
    </session>
    <session>
    <ejb-name>MySessionBeta</ejb-name> <jndi-name>ejb/com/mycorp/MySessionBetaRemoteHome</jndi-name> <local-jndi-name>ejb/com/mycorp/MySessionBetaLocalHome</local-jndi-name>
    <resource-ref>
    <res-ref-name>jdbc/datasource</res-ref-name>
    <jndi-name>java:/Database2</jndi-name>
    </resource-ref>
    </session>

  • Multiple instances of weblogic pointing to same public_html

    Hi,
    I am using Weblogic 5.1 and have successfully set it up to start multiple instances
    of weblogic from one weblogic server(each instance has its own unique port).
    Currently I have multiple instances of public_html (one for each instance). Does
    anyone know what I have to do to point all instances of weblogic to a common public_html?
    Many thanks in advance
    Dipen

    create a symbolic link that is called public_html that points to the common
    docroot.
    "Dipen" <[email protected]> wrote in message
    news:3b7cf1bf$[email protected]..
    >
    Hi,
    I am using Weblogic 5.1 and have successfully set it up to start multipleinstances
    of weblogic from one weblogic server(each instance has its own uniqueport).
    Currently I have multiple instances of public_html (one for eachinstance). Does
    anyone know what I have to do to point all instances of weblogic to acommon public_html?
    >
    Many thanks in advance
    Dipen

  • Configuring multiple instances of weblogic server 7.0 on single machine

    Hi,
    I am trying to configure multiple instances of weblogic server 7.0 on single machine
    ( sun Solaris 7). I tried to create everytime new domain. Can anybody help me.
    Thanks in advance.
    Ravi

    You can have several servers under one domain. No need to create a new
    domain for each server. Just configure a server and make sure they are
    listening on different ports. you are all set.
    Kumar
    ravikiran wrote:
    Hi,
    I am trying to configure multiple instances of weblogic server 7.0 on single machine
    ( sun Solaris 7). I tried to create everytime new domain. Can anybody help me.
    Thanks in advance.
    Ravi

  • Multiple instances of Weblogic on NT

    Is is possible to run two instances of WebLogic on an NT server as
    services? Specifically, I want to set up web server clustering on two
    machines, but I am also going to be running another custom Weblogic
    app that will access a backend database. I need to set up a separate
    weblogic server for the database app outside of the clustering
    weblogic webservers?
    Thanks
    Steve

    yes u can run multiple instance of the service.
    There is a parameter in install.exe where you can specify the name of the
    service and in this manner you can have as many services as you want
    Chuck Karish wrote:
    [email protected] wrote:
    Is is possible to run two instances of WebLogic on an NT server as
    services?No. The NT support programs aren't set up to handle the multiple
    registry keys that would be needed, and they aren't set up to
    allow for setting different names for the several services.
    Specifically, I want to set up web server clustering on two
    machines, but I am also going to be running another custom Weblogic
    app that will access a backend database. I need to set up a separate
    weblogic server for the database app outside of the clustering
    weblogic webservers?
    Thanks
    Steve--
    Chuck Karish BEA Systems
    [email protected] San Francisco, CA
    (415) 317-0182 (cell) (415) 364-4692

  • Multiple instances of weblogic server 6.1 running on the same machine

    Hi,
    I need to run two instances of weblogic server 6.1 running on the same
    machine. I need one for development and the other one running the live
    applications. I need two instances to be independent of each other. I am
    running weblogic server as an NT service. So I need two servers to start
    from the service so they are independent of each other.
    Thanks
    Madhu

    Hi.
    You can create new servers in your domain via the console. Be sure they are
    listening to different ports, however. If your NT machine supports more than
    1 IP address then you could alternatively bind each server to a different
    address.
    I'm not sure if this answers your question?
    Regards,
    Michael
    m holur wrote:
    Hi,
    I need to run two instances of weblogic server 6.1 running on the same
    machine. I need one for development and the other one running the live
    applications. I need two instances to be independent of each other. I am
    running weblogic server as an NT service. So I need two servers to start
    from the service so they are independent of each other.
    Thanks
    Madhu--
    Developer Relations Engineer
    BEA Support

  • Multiple instances of weblogic server 5.1 on one node.

    Hi,
    We failed to start one instance on a node where we were able to start
    another instance from another location.
    We installed two instances of Weblogic server 5.1 on Solaris 5.7.
    One at /usr/weblogic and another at /opt/weblogic. We were able to start
    the /usr/weblogic instance in cluster mode. Then we stopped
    /usr/weblogic instance and try to start another instance at
    /opt/weblogic in cluster mode. But failed. We have similar directory
    structure and files in both places except the weblogic.properties file,
    which has different paths.
    we are using JDK1.2.2 and got the following Exception
    Exception in thread "main" java.security.AccessControlException: access
    denied (
    java.lang.RuntimePermission createSecurityManager )
    at
    java.security.AccessControlContext.checkPermission(AccessControlConte
    xt.java, Compiled Code)
    at
    java.security.AccessController.checkPermission(AccessController.java,
    Compiled Code)
    at
    java.lang.SecurityManager.checkPermission(SecurityManager.java, Compi
    led Code)
    at java.lang.SecurityManager.<init>(SecurityManager.java,
    Compiled Code)
    at
    weblogic.boot.ServerSecurityManager.<init>(ServerSecurityManager.java
    , Compiled Code)
    at weblogic.Server.main(Server.java, Compiled Code)
    at weblogic.Server.main(Server.java, Compiled Code)
    Any type of help or suggestion is appreciated.
    Thanks
    --sreeni.

    Hi.
    You can create new servers in your domain via the console. Be sure they are
    listening to different ports, however. If your NT machine supports more than
    1 IP address then you could alternatively bind each server to a different
    address.
    I'm not sure if this answers your question?
    Regards,
    Michael
    m holur wrote:
    Hi,
    I need to run two instances of weblogic server 6.1 running on the same
    machine. I need one for development and the other one running the live
    applications. I need two instances to be independent of each other. I am
    running weblogic server as an NT service. So I need two servers to start
    from the service so they are independent of each other.
    Thanks
    Madhu--
    Developer Relations Engineer
    BEA Support

  • Multiple instance of WebLogic server 6.1 on port 80

    Hi:
    Is it possible to run two seperate instances of WebLogic server 6.1 on same the
    server both listening on port 80?
    Details about the instances:
    Instance 1
    Domain names : fasnets
    Server name: envext
    Listen Address : 155.x.x.1
    Listen Port : 80 :
    External DNS : www.acme.com
    Instance 2
    Domain names : fasnets1
    Server name: envext1
    Listen Address : 155.x.x.2
    Listen Port : 80 :
    External DNS : www.acme1.com
    Thanks,
    Soni

    Hi Soni,
    Web colsole --> your domain --> your server --> configuration -->
    general --> Listen Port / Listen Address
    Regards,
    Slava Imeshev
    "Soni " <[email protected]> wrote in message
    news:3dcfbbcb$[email protected]..
    >
    Hi:
    Is it possible to run two seperate instances of WebLogic server 6.1 onsame the
    server both listening on port 80?
    Details about the instances:
    Instance 1
    Domain names : fasnets
    Server name: envext
    Listen Address : 155.x.x.1
    Listen Port : 80 :
    External DNS : www.acme.com
    Instance 2
    Domain names : fasnets1
    Server name: envext1
    Listen Address : 155.x.x.2
    Listen Port : 80 :
    External DNS : www.acme1.com
    Thanks,
    Soni

  • Clustering multiple instances on the same server

    I've read reports of people clustering multiple instances of weblogic on the
              same machine to better utilize the CPU of that machine.
              So if I wanted to set up a cluster with four machines and two instances of
              weblogic running on each (port 7001 and port 8001) , what properties do I need
              to send into the startup command for the servers?
              How do you set this up
              Thanks in advanced.
              -rrc
              Russell Castagnaro
              Chief Mentor
              SyncTank Solutions
              http://www.synctank.com
              Earth is the cradle of mankind; one does not remain in the cradle forever
              -Tsiolkovsky
              

    Do this for all your four machines
              1) Create dirs: cluster1, cluster2 under %WEBLOGIC_HOME%
              2) Create dirs: cluster1\myserver, cluster2\myserver
              3) create two startup scripts,
              specify -Dweblogic.cluster.enable=true -Dweblogic.cluster.name=cluster1 (or
              cluster2) in each script.
              4) Speicfy weblogic.cluster.multicastAddress=IPAddr in
              cluster1\weblogic.properties & cluster2\weblogic.properties, use different
              IPAddr for these two cluster.
              5) Specify weblogic.system.listenPort=7001 in
              cluster1\myserver\weblogic.properties & weblogic.system.listenPort=8001 in
              cluster2\myserver\weblogic.properties
              6) If your machine is multi-homed, specify weblogic.system.bindAddr in
              cluster1(and/or cluster2)\myserver\weblogic.properties.
              my 2cents.
              Cheers - Wei
              Russell Castagnaro <[email protected]> wrote in message
              news:[email protected]...
              > I've read reports of people clustering multiple instances of weblogic on
              the
              > same machine to better utilize the CPU of that machine.
              >
              > So if I wanted to set up a cluster with four machines and two instances of
              > weblogic running on each (port 7001 and port 8001) , what properties do I
              need
              > to send into the startup command for the servers?
              >
              > How do you set this up
              >
              > Thanks in advanced.
              > -rrc
              > --
              >
              > Russell Castagnaro
              > Chief Mentor
              > SyncTank Solutions
              > http://www.synctank.com
              >
              > Earth is the cradle of mankind; one does not remain in the cradle forever
              > -Tsiolkovsky
              >
              >
              

  • Clustering w/ Multiple Instances per server

    For performance reasons, we want to setup multiple instances of weblogic on each server in our cluster configuration.How is this handled in a cluster configuration? Is each instance considered another server in the cluster? Does each require its on IP address, or is a seperate port sufficient for each? Also, is there a way to configure the cluster w/o using multicast - there's issues with supporing multicast on our backend network.Thanks, Rick
              

    Sure, if JVM uses native threads and the application itself is well-behaved
              concurrency-wise (very important!) it should be able to scale up on multiple CPUs.
              Madhu <[email protected]> wrote:
              > What about CPU utilization? What if you have mutliple cpus? Is the Java VM
              > optimized for mutliprocessor environment. I can VM per processor so that I
              > can keep them all busy? Is this possible? Can I have a VM locked on to one
              > processor?
              > Also, I found issues running code (could be buggy testing) running on WL 5.1
              > on multi-cpu machine, on single cpu it was all code and in mutli-cpu, mostly
              > index out of bound / some from java.util classes like ArrayList? Is this
              > common?
              > - Madhu
              > "Dimitri Rakitine" <[email protected]> wrote in message
              > news:[email protected]...
              >> Sure you can - each instance will need it's own IP address, but why do you
              > think that running WLS
              >> instance per CPU will improve performance? The reason for running multiple
              > JVMs on the same box was
              >> memory utilization, which is not an issue with Hotspot JVM.
              >>
              >> Richard Kemp <[email protected]> wrote: > For performance reasons, we
              > want to setup multiple instances of weblogic on
              >> each server in our cluster configuration.How is this handled in a cluster
              > configuration? Is each instance considered another
              >> server in the cluster? Does each require its on IP address, or is a
              > seperate port sufficient for each? Also, is there a way
              >> to configure the cluster w/o using multicast - there's issues with
              > supporing multicast on our backend network.Thanks, Rick
              >>
              >> --
              >> Dimitri
              Dimitri
              

  • Multiples Instance of WLS in WIN NT or 2000

              How to run multiple instances of weblogic server in Windows NT or Windows 2000
              

    Checl clustering documentation ..
              "Ganesh" <[email protected]> wrote in message
              news:3b0a76b6$[email protected]..
              >
              > How to run multiple instances of weblogic server in Windows NT or Windows
              2000
              

  • Running Multiple Server Instance in Weblogic Server

    Hi
    I am using Weblogic 5.1.0 with SP6. I am trying to run multiple server
    instances
    of Weblogic Server. The one that comes by default is "myServer".
    My question is if i were to create multiple server instances, do i need to
    copy the
    weblogic.properties file in each of folder corresponding to respective
    application
    server instance. I am not using Clusters.
    Also if i need to include some classes or jar files in my application server
    instance
    classpath, how do i do it. cuz in weblogic.properties file i didn't find any
    property
    corresponding to classpath.
    The classpath i need to set is for my creating a JDBC pool for connectivity
    to my
    AS400 DB2 database using the Type 4 (AS400JDBCDriver) Driver. Is there some
    other way to do it.
    Thanks in advance
    Niranjan

    There is an answer on your first question at
    weblogic.support.interest.clustering
    I asked a similar question. Search for a message posted by me on 24/11/00
    Rgds,
    Mike
    "Niranjan Soni" <[email protected]> wrote in message
    news:[email protected]..
    Hi
    I am using Weblogic 5.1.0 with SP6. I am trying to run multiple server
    instances
    of Weblogic Server. The one that comes by default is "myServer".
    My question is if i were to create multiple server instances, do i need to
    copy the
    weblogic.properties file in each of folder corresponding to respective
    application
    server instance. I am not using Clusters.
    Also if i need to include some classes or jar files in my applicationserver
    instance
    classpath, how do i do it. cuz in weblogic.properties file i didn't findany
    property
    corresponding to classpath.
    The classpath i need to set is for my creating a JDBC pool forconnectivity
    to my
    AS400 DB2 database using the Type 4 (AS400JDBCDriver) Driver. Is theresome
    other way to do it.
    Thanks in advance
    Niranjan

  • Deploying Windows Azure Cloud Service to multiple instances

    Hello folks,
    Currently, I have Windows Azure Cloud service on one instance, if I move to multiple instances, will Azure deploy it to all instances during the time of deployment? Basically, the fact that there are multiple instances behind the Cloud Service will be transparent
    to the whole deployment process, is that a correct understanding?
    Thanks

    Hi,
    From my experience, all the instances in one cloud service were the same, and we just focus on the application and not the infrastructure. Refer to
    http://www.windowsazure.com/en-us/services/cloud-services/ for more information.
    Best Regards
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • Re: Running weblogic multiple instances on different ports

    Hi,
    I am planning to run multiple weblogic instances on different ports on the
    same machine.
    Is it possible ? If so, how ?
    Details:
    I am using IIS on the same machine. I am currently running weblogic on
    7001 and 7002(ssl).
    I dont how to run multiple instances. Please help me or guide me where I
    can get documentation.
    These two instances have to refer two different set of code bases ...
    Please point me where I can more details.
    Thanks in advance.
    Sreedhar V

    Is it possible for the two instances on the same machine to participate in
    the same cluster? I believe servers in a cluster must share the same port
    (which is also used for multicasting). Does a virtual IP address need to be
    configured?
    "Per Jessen" <[email protected]> wrote in message
    news:[email protected]..
    >
    >
    Sreedhar Vankayala wrote:
    Hi,
    I am planning to run multiple weblogic instances on different ports on
    the
    same machine. Is it possible ? If so, how ?Assuming you are using WLS6.x, simply define as many servers as needed andgive
    them different ports to listen to. This is easily accomplished using theWLS
    Admin Console.
    Then start individual weblogic processes using this config file.
    regards,
    Per Jessen, Zurich.

Maybe you are looking for

  • Open Link in New Window fails

    It seems after a while, now Firefox 4.0.1 has a issue with the "Open Link In New Window" option fails to load the web page. It opens the new window, but does not load the web page that you click on. Instead it opens a new window with a blank tab.

  • Sort x values highest to lowest in scatter plot?

    I want to do a simple scatter plot, which actually works fine and looks like this: The only problem is, I have to sort the x axis the other way round, starting with 24 copies going down to 10. Anybody got ideas? C.

  • Step by step example

    Hi, can anybody tell me where I can find visual composer example?  Any link with example step by step? Thanks a lot. Regards.

  • What is the base of Explain Plan?

    On what basis oracle generates explain plan? I mean, is it based on table structure which we are using in SQL query OR it is based on rows exists in table, Or something else.

  • Can I write in greek on pages?

    Can I write Greek on pages? Many people say to use symbols but I don't know how to.