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.
Similar Messages
-
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
-
How to deploy findme example which provided by the OCCAS server
I have X-lite installed on my machine and OCCAS,I have the find me examlple
How to deploy it on server to register the X-lite client to OCCAS server.
Also correct me with the findme example location file 'wlcserver_10.3/samples/sipserver/examples/src/genericRegistrar/src/wlss/examples/genericRegistrar' which is provided with its installtion.Thanks for the reply..Now I am able to connect X-Lite to my server.I also deployed findmr example it in OEPE enviroment creating Dyanamic project ,preparing the appropriate deployment descriptors.But I want to build the example in Web Service project where I am facing problems .Please provide me the way how to deploy SIP servlets findme exalmple from the Web service project??????
Please help me with this. -
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")
NickI 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> -
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 to create multiple instance on same database
Hi ,
I would like to know how to create multiple instance on same database . I know that some people use database configuration assistant to do this but i could not figure out how they did it.
Any how if some one can help me with this and can give me links of this it would be great help for me.
Thank you for reading my problem and helping me !
Amil
please if possible mail me on [email protected]How to create multiple instance?????Do you mean multiple instances on the same database, or multiple databases on the same machine ?
I m new to this field....
Willin to learn a lot about oracle....Then it wouldn't be bad reading a bit of Database Concepts -
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
Steveyes 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 -
How to deploy Servlet Application in Weblogic 8.1
Hi,
I am new to BEA Weblogic 8.1 .
I was trying to create a sample application using InelliJ IDea 5.1 , and IntelliJIdea 10.5 . i configured weblogic with IDE , but now i do not know how to deploy my application in weblogic .
I am new in IntelliJ also .
So Can anyone tell me how can i deploy a servlet application in any IDE like i also have eclipse indigo.
Thanks & Regards
KomiHi Komi
Basically you deploy your Servlet as a WAR File. I am not familiar with IntellJ IDE. But it should have a provision to export/create a WAR file that has your Servlet. Also I hope you already have web.xml file with 2 sections like this: First you mention full package of your servlet and give it a name. Then enter a mapping url. You will use this url to run your servlet like http://weblogichost:weblogicport/yourWebappcontextroot/myservlet
<servlet>
<servlet-name>MyServlet</servlet-name>
<servlet-class>com.abd.def.MyServlet</servlet-class>
</servlet>
<servlet-mapping>
<servlet-name>MyServlet</servlet-name>
<url-pattern>/myservlet</url-pattern>
</servlet-mapping>
Coming to deployment, I hope you already created a Weblogic Domain and have admin username/password. Start your domain. Login into weblogic console like http://host:port/console and use admin username/password. Then from Deployments section, deploy the above WAR file. In Weblogic you can deploy JAR (EJBs, java files), WAR (web jsp, html, webservices, servlets) or EAR (JAR + WAR). In your case its just a WAR file.
Refer the online docs for more details on Deployments in Weblogic.
http://docs.oracle.com/cd/E13196_01/platform/docs81/deploy/deploy.html
Thanks
Ravi Jegga -
How To Deploy Jsp project in Weblogic 8.1
Plz help me
How To Deploy Jsp project in Weblogic 8.1
Give me steps.Plz help me
How To Deploy Jsp project in Weblogic 8.1
Give me steps.(1) Create a standard WAR file that contains your JSPs.
(2) Deploy to WebLogic by any number of means (e.g., Ant tasks, putting WAR file in application directory for your WL domain, etc.)
% -
In a SQL query whihc has join, How to reduce Multiple instance of a table
in a SQL query which has join, How to reduce Multiple instance of a table
Here is an example: I am using Oracle 9i
is there a way to reduce no.of Person instances from the following query? or can I optimize this query further?
TABLES:
mail_table
mail_id, from_person_id, to_person_id, cc_person_id, subject, body
person_table
person_id, name, email
QUERY:
SELECT p_from.name from, p_to.name to, p_cc.name cc, subject
FROM mail, person p_from, person p_to, person p_cc
WHERE from_person_id = p_from.person_id
AND to_person_id = p_to.person_id
AND cc_person_id = p_cc.person_id
Thnanks in advance,
Babu.SQL> select * from mail;
ID F T CC
1 1 2 3
SQL> select * from person;
PID NAME
1 a
2 b
3 c
--Query with only ne Instance of PERSON Table
SQL> select m.id,max(decode(m.f,p.pid,p.name)) frm_name,
2 max(decode(m.t,p.pid,p.name)) to_name,
3 max(decode(m.cc,p.pid,p.name)) cc_name
4 from mail m,person p
5 where m.f = p.pid
6 or m.t = p.pid
7 or m.cc = p.pid
8 group by m.id;
ID FRM_NAME TO_NAME CC_NAME
1 a b c
--Expalin plan for "One instance" Query
SQL> explain plan for
2 select m.id,max(decode(m.f,p.pid,p.name)) frm_name,
3 max(decode(m.t,p.pid,p.name)) to_name,
4 max(decode(m.cc,p.pid,p.name)) cc_name
5 from mail m,person p
6 where m.f = p.pid
7 or m.t = p.pid
8 or m.cc = p.pid
9 group by m.id;
Explained.
SQL> select * from table(dbms_xplan.display);
PLAN_TABLE_OUTPUT
Plan hash value: 902563036
| Id | Operation | Name | Rows | Bytes | Cost (%CPU)| Time |
| 0 | SELECT STATEMENT | | 3 | 216 | 7 (15)| 00:00:01 |
| 1 | HASH GROUP BY | | 3 | 216 | 7 (15)| 00:00:01 |
| 2 | NESTED LOOPS | | 3 | 216 | 6 (0)| 00:00:01 |
| 3 | TABLE ACCESS FULL| MAIL | 1 | 52 | 3 (0)| 00:00:01 |
|* 4 | TABLE ACCESS FULL| PERSON | 3 | 60 | 3 (0)| 00:00:01 |
PLAN_TABLE_OUTPUT
Predicate Information (identified by operation id):
4 - filter("M"."F"="P"."PID" OR "M"."T"="P"."PID" OR
"M"."CC"="P"."PID")
Note
- dynamic sampling used for this statement
--Explain plan for "Normal" query
SQL> explain plan for
2 select m.id,pf.name fname,pt.name tname,pcc.name ccname
3 from mail m,person pf,person pt,person pcc
4 where m.f = pf.pid
5 and m.t = pt.pid
6 and m.cc = pcc.pid;
Explained.
SQL> select * from table(dbms_xplan.display);
PLAN_TABLE_OUTPUT
Plan hash value: 4145845855
| Id | Operation | Name | Rows | Bytes | Cost (%CPU)| Time |
| 0 | SELECT STATEMENT | | 1 | 112 | 14 (15)| 00:00:01 |
|* 1 | HASH JOIN | | 1 | 112 | 14 (15)| 00:00:01 |
|* 2 | HASH JOIN | | 1 | 92 | 10 (10)| 00:00:01 |
|* 3 | HASH JOIN | | 1 | 72 | 7 (15)| 00:00:01 |
| 4 | TABLE ACCESS FULL| MAIL | 1 | 52 | 3 (0)| 00:00:01 |
| 5 | TABLE ACCESS FULL| PERSON | 3 | 60 | 3 (0)| 00:00:01 |
PLAN_TABLE_OUTPUT
| 6 | TABLE ACCESS FULL | PERSON | 3 | 60 | 3 (0)| 00:00:01 |
| 7 | TABLE ACCESS FULL | PERSON | 3 | 60 | 3 (0)| 00:00:01 |
Predicate Information (identified by operation id):
1 - access("M"."CC"="PCC"."PID")
2 - access("M"."T"="PT"."PID")
3 - access("M"."F"="PF"."PID")
PLAN_TABLE_OUTPUT
Note
- dynamic sampling used for this statement
25 rows selected.
Message was edited by:
jeneesh
No indexes created... -
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
Dipencreate 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.
RaviYou 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 -
How to allow multiple instances of air desktop application
hi all
Adobe air desktop application only allow single instance of
application. How to allow multiple instances like in other desktop
applications?.
thanksThanks a lot morgair, i will check with exe4j tool.
Actually the problem is, thread is not waiting for second request.
thatswhat i thought it may because of thread.
Thanks & Regards
Sudha -
Two running instances of Weblogic on the same machine
I need to run at least two instances of Weblogic on the same machine. My Company GE Capital purchases the Clustered version and the BEA Engineer who did the install did not know Unix and could not intall the instances. Could you please give pointers to on how to do this? You can also write me to [email protected]
Thanks,
John G....plus, you have to consider the license issue.
Vidar wrote:
>
It does not sound to bad, but would it not be hard to cooperate with other
people, since you will often use API's and EJB's developed and deployed by
other team-members?
Does anybody have any documents or ideas on what the best way to cooperate
in a development-team is?
"Michael Girdley" <[email protected]> skrev i melding
news:39e15942$[email protected]..
Yes, that is the best way to do it.
In practice, we have found that each developer having their ownworkstation
with an instance of WLS works best.
Thanks,
Michael
Michael Girdley
BEA Systems Inc
"newbie" <[email protected]> wrote in message
news:[email protected]..
I am also pondering on the same problem right now...
I am trying to get an environment setup so that multiple
developers can have their own weblogic "instances" to play
with - so that each of them can start/stop the server,
deploy EJBS etc without affecting one another in a UNIX
environment. to accomplish this - do I just install the
server multiple times with different port numbers on the
same machine or is there a a better way to do this?
Appreciate any input.
Thanks
"john Gongora" <[email protected]> wrote:
I need to run at least two instances of Weblogic on the same machine.
My
Company GE Capital purchases the Clustered version and the BEA Engineerwho
did the install did not know Unix and could not intall the instances.Could
you please give pointers to on how to do this? You can also write me to
[email protected]
Thanks,
John G -
Multiple instances of ECM 11g on one server
I've read a few posts about installing multiple instances of ECM 11g on one server, but I have a few questions. My current set up is
A single Windows 2008 Server R2 server
8 gb RAM
Weblogic 10.3.5
1 install of ECM 11g in the base_domain
Database is Oracle 11.2
I want to add another instance of ECM to this server, but when I went to run the RCU, I was not allowed to use the same prefix for my tablespaces. Is this expected? I'm fine with using a different prefix, I just was surprised to see that I couldn't use the same prefix on this install since I was using a completely different database.
Assuming I use a different prefix... do I just add a new domain for this additional ECM instance? Is there anything else I need to know?
Thank youI went to run the RCU, I was not allowed to use the same prefix for my tablespaces. Is this expected?Yes. It will create tables with the same name visible for a different database user (thus, the prefix).
do I just add a new domain for this additional ECM instance? Is there anything else I need to know?Actually, I think you can even install more instances to the same domain (this is more a question to Weblogic Server admins - I think there's been some posts recently on this topic). What definitely must be unique, is the port number. If you are OK with using different port numbers for your instances, it should be relatively easy. If you need the same port (e.g. 80 because of proxy limits), there are some ways how to redirect - it that case, two domains might be required.
Maybe you are looking for
-
Phone not working after line move and number change
Hi. I just removed my line on my on plan and changed my number. Now my phone will not work such as making calls.
-
Implementing a dynamic dropdown list
Hi All, I am implementing an Adaptive RFC model that uses two custom RFC's. First RFC returns a table that has list of countries and the second RFC returns a table that lists the states of a particular country. Now using these two RFC's how do I impl
-
Use of native SQL-select statment
hi, in my z-abap i use a native sql, saying the following: EXEC SQL. select agzdau into :gf_agzdau from APZD08/AG where AGMAID = '77732' and AGJAHR = 2008 and AGMON = 09 and
-
How transfer IPhoto Slideshow from computer to Laptop
How can I transfer my iPhoto Slideshow from my mac desktop to my mac laptop. When I try to transfer I get error message OSStatus 61.
-
Oracle Policy Modeling courses to run 24-28 January 2011
Oracle University have scheduled the following two rule authoring courses: • Oracle Policy Modeling Essentials part 1: 24-26 January 2011 (3 days) USD$1800 • Oracle Policy Modeling Essentials part 2: 27-28 January 2011 (2 days) USD$1200 Oracl