Clustering weblogic.properties
Hello All. Can anyone give me an idea as to all properties that exist
for weblogic.clustering. For eg the documentation just has the following
to be set in the cluster wide weblogic.properties file.
weblogic.httpd.clustering.enable=true
weblogic.httpd.session.persistence=true
weblogic.httpd.session.persistentStoreType=replicated
weblogic.cluster.name
weblogic.cluster.multicastPort
What abt the other properties that were added with the service packs
like
the one used to control the buffer for the messages used for broadcast
on MultiCastIP and other properties related to clustering.
Any help will be greatly appreciated.
Thanks.
Srivats
Hello All. Can anyone give me an idea as to all properties that exist
for weblogic.clustering. For eg the documentation just has the following
to be set in the cluster wide weblogic.properties file.
weblogic.httpd.clustering.enable=true
weblogic.httpd.session.persistence=true
weblogic.httpd.session.persistentStoreType=replicated
weblogic.cluster.name
weblogic.cluster.multicastPort
What abt the other properties that were added with the service packs
like
the one used to control the buffer for the messages used for broadcast
on MultiCastIP and other properties related to clustering.
Any help will be greatly appreciated.
Thanks.
Srivats
Similar Messages
-
Setup weblogic.properties
Reading through the docs on cluster setup brings up a simple
question....
In the docs it suggests putting system password/identity info, and
servlet registration in the system/global level weblogic properties
file...and setup for EJBs, JDBC connection pools in the per-cluster
setup file... my question is, why not put servlets registrations in the
per-cluster weblogic.properties file? Seems to me that really
everything should be in the cluster property file, almost or entirely
nothing in the system lever weblogic.properties.
Thanks,
-Brian
Brian,
I think it depends on your particular configuration. If your configuration
is such that each cluster is serving up a different set of functionality,
then your suggestion makes sense (though you might want all clusters to
have the same "system password"). If not, then putting things in the
"system-level" properties file might make more sense.
Just my two cents,
Robert
Brian Burke wrote:
> Reading through the docs on cluster setup brings up a simple
> question....
> In the docs it suggests putting system password/identity info, and
> servlet registration in the system/global level weblogic properties
> file...and setup for EJBs, JDBC connection pools in the per-cluster
> setup file... my question is, why not put servlets registrations in the
> per-cluster weblogic.properties file? Seems to me that really
> everything should be in the cluster property file, almost or entirely
> nothing in the system lever weblogic.properties.
> Thanks,
> -Brian
-
Clustering weblogic from a common storage box.
Hi All,
Please some one help me out setting up a weblogic cluster. We have a requisition
as fallows:
Weblogic server needed to be setup in a common storage external box. Then this
server has to be cluster from two machines. Here I am confused, wether is it possible
to create a cluster of two servers instances from two machines(using the common
storage box, where I am going to install weblogic). If this is possible then how
the weblogic property file is going to deffer.
Please help me out.
Thanks,
Murali Ganji
Hi Robert,
Thank you very much for the reply.. But I have few doubts regarding the clustering
of weblogic. Please help me.
1. Does the document meant (maintaining common file system for the weblogic properties
files) the installing of weblogic server setup in the common file system or only
maintaining the common directory for the weblogic for all the clustered servers?
If the later understanding is correct then does it required all the weblogic servers
needed to be installed at their various machines to run. In this case how these
servers are going to make use of the properties file in the common file system(I
mean does we need to mention the paths any where)?
2. Can you please help me out in figuring out few draw backs of the common file
system other than single point failure of all the weblogic servers in the cluster?
Thanks and regards,
Murali G
Robert Patrick <[email protected]> wrote:
>Hi,
>
>First of all, there is no requirement that you use a shared file system
>when setting up a
>cluster (make sure you install the service pack for WLS 5.1 as there
>was a bug in the
>base product regarding the file system). The reason that the documentation
>recommends
>this is to simply the configuration of the cluster.
>
>Secondly, WebLogic 5.1 has the capability of using a hierarchy of property
>files. The
>global properties file is read first, then if it exists the properties
>file in the
>cluster directory (e.g., mycluster/weblogic.properties), and finally
>if it exists the
>properties file in the server directory (e.g., mycluster/server###/weblogic.properties
>where ### is the last octet of the machine's IP address). This allows
>you to share a
>directory structure and still have different settings for different clusters/servers.
>
>Finally, most people use homogeneous clusters. In a homogeneous cluster,
>the
>weblogic.property file is the same across all servers in the cluster.
>
>Hope this helps,
>Robert
>
>Murali Ganji wrote:
>
>> Hi All,
>> Please some one help me out setting up a weblogic cluster. We have
>a requisition
>> as fallows:
>> Weblogic server needed to be setup in a common storage external box.
>Then this
>> server has to be cluster from two machines. Here I am confused, wether
>is it possible
>> to create a cluster of two servers instances from two machines(using
>the common
>> storage box, where I am going to install weblogic). If this is possible
>then how
>> the weblogic property file is going to deffer.
>> Please help me out.
>> Thanks,
>> Murali Ganji
>
-
Multiple weblogic.properties files?
Hi all,
We're in the stage now where I need to "quickly" switch between different
versions of our app running on WLS 5.1.
Can I pass the path to the weblogic.properties file to the java command in
startWebLogic, or is it based solely on the weblogic.home property?
If it is based on the weblogic.home property, what else depends on that
property. Ideally, I'd like to not to have to duplicate the weblogic tree.
Thanx!
Will Hartung
([email protected])You can specify server name in the command line (startWebLogic.cmd foo)
and add -Dweblogic.server.name=%1 to the list of java arguments. When
weblogic starts it will read wl_home/weblogic.properties first and
wl_home/foo/weblogic.properties second.
(with clustering enabled it reads weblogic.properties from wl_home
first, wl_home/cluster_name second and wl_home/cluster_name/server_name
third).
Will Hartung <[email protected]> wrote:
Hi all,
We're in the stage now where I need to "quickly" switch between different
versions of our app running on WLS 5.1.
Can I pass the path to the weblogic.properties file to the java command in
startWebLogic, or is it based solely on the weblogic.home property?
If it is based on the weblogic.home property, what else depends on that
property. Ideally, I'd like to not to have to duplicate the weblogic tree.
Thanx!
Will Hartung
([email protected])
Dimitri -
Moving weblogic.properties
I want to be able to move the weblogic.properties file out of the
weblogic home directory. This is for a single weblogic instance running
(no clusters). Does anyone know if this can be done? Is yes, how?
Thanks,
RajivI think i was wrong.
The properties file has to be present, relative to weblogic.system.home
Kumar Allamraju wrote:
set weblogic.system.propertiesFile=[path to your properties file name]
more info @
http://www.weblogic.com/docs51/adminhelp/AdminPropertyHelp.html
Kumar
Rajiv Nair wrote:
I want to be able to move the weblogic.properties file out of the
weblogic home directory. This is for a single weblogic instance
running
(no clusters). Does anyone know if this can be done? Is yes, how?
Thanks,
Rajiv
[att1.html] -
Add weblogic.properties
hi people
how do i can to tell to the weblogic to start with another
weblogic.properties when he starts,
that is, to start with the weblogic.properties and other property into
another directory ?
any help will be appreciatedruben <[email protected]> wrote:
> another cuestion,
> i have into the starting of the weblogic this sentences:
> lun nov 27 12:56:49 GMT+01:00 2000:<I> <WebLogicServer> Read global
> properties c:\weblogic\weblogic.properties
> lun nov 27 12:56:49 GMT+01:00 2000:<I> <WebLogicServer> No per-server
> properties files found
> how do i config the weblogic to have yes into per-erver properties file
> found
This means that you have directory with the same name as system name, but there
is no weblogic.properties file there.
The order in which weblogic reads weblogic.properties files is like this:
weblogic_home/weblogic.properties
weblogic_home/cluster_name/weblogic.properties (if clustering is enabled)
weblogic_home/cluster_name/system_name/weblogic.properties
or
weblogic_home/system_name/weblogic.properties (if clustering is disabled)
Dimitri
-
Proxyserver.weblogic.properties
Hi,
I am trying to install Weblogic Clusters and
following the guide described in the
http://www.weblogic.com/docs51/cluster/setup.html
In setting up WLS as the proxy server, it mentions
that there is a proxyserver.weblogic.properties file.
Should I create the file by myself, or I can put those
properties in the global property file
/weblogic/weblogic.properties?
Thanks.
David
Depending on how are starting servers in a cluster, you can put the
properties in global properties file. It is ok to modify global
properties if your servers in the cluster don't use the same global
properties.
Remember the option -Dweblogic.system.name=<NAME> where NAME is the
name of the server. By default the name is myserver. You can create a
different directory called foo and place your proxy server properties in
that directory. When you start the server this command line option, WLS
will look for properties file in <NAME> directory under weblogic home.
That way you can use the same global properties file assuming that
you are using NFS.
- Prasad
David Lin wrote:
> Hi,
> I am trying to install Weblogic Clusters and
> following the guide described in the
> http://www.weblogic.com/docs51/cluster/setup.html
> In setting up WLS as the proxy server, it mentions
> that there is a proxyserver.weblogic.properties file.
> Should I create the file by myself, or I can put those
> properties in the global property file
> /weblogic/weblogic.properties?
> Thanks.
> David
Cheers
- Prasad
-
How can I get all the settings from weblogic.properties ?
Hi, and excuse me for my poor english.....
I have a T3Client and I want to obtain all the settings from weblogic
properties...
With the sentence getT3Services().config().getProperty("......"), I can
obtain the property, but my problem is that at runtime, I don`t know
established names....
I want to obtain something as the AdminProps servlet, but with a non-web
client.....
Can anybody help me ?Hi, and excuse me for my poor english.....
I have a T3Client and I want to obtain all the settings from weblogic
properties...
With the sentence getT3Services().config().getProperty("......"), I can
obtain the property, but my problem is that at runtime, I don`t know
established names....
I want to obtain something as the AdminProps servlet, but with a non-web
client.....
Can anybody help me ? -
Apex Listener and Clustering - WebLogic Server
Has anybody worked with the apex listener on a clustered WebLogic environment with a load balancer? We are having lots of connection issues, and I am wondering if this could be part of the problem.
Thanks,
MichelleSomeone Kindly try to give me reply for my issue .
Thanks& Regards,
Nitesh pareek. -
How to update weblogic.properties in order to support English & Chinese
<URGENT PROBLEM>
hi,
how to update weblogic.properties in order to support English & Chinese
version in a sing weblogic server?
Thanks in advance
<URGENT PROBLEM>If you are using JSP as your mechanism for content display, you should use
the contentType parameter to specify the character and coding of the JSP
page any character encoding of the resulting stream. So far, we have not
done a good job of documenting how to produce localized content in JSP. I
have filed an issue for the documentation folks to work on it. For now,
take a look at section 2.7.4 of the JSP specification version 1.1.
Thanks,
Michael
Michael Girdley
Product Manager, WebLogic Server & Express
BEA Systems Inc
fxy <[email protected]> wrote in message
news:8ffr11$59d$[email protected]..
<URGENT PROBLEM>
hi,
how to update weblogic.properties in order to support English & Chinese
version in a sing weblogic server?
Thanks in advance
<URGENT PROBLEM> -
Where is the weblogic.properties file in weblogic6.1?
I could only find this file in directory: ..\wlserver6.1\samples\examples\tutorials\migration\banking
why i cannot find it in wlserver6.1 directory? Is there any other properties file
whose function is the same as this one so that i can change setting?
Thanks in advance,
moonriverThe weblogic.properties file is only used for weblogic 5.x, it is no longer used
in 6.x anymore. Instead, a config.xml file is used as similar purpose.
Allen.
"Moonriver" <[email protected]> wrote:
>
I could only find this file in directory: ..\wlserver6.1\samples\examples\tutorials\migration\banking
why i cannot find it in wlserver6.1 directory? Is there any other properties
file
whose function is the same as this one so that i can change setting?
Thanks in advance,
moonriver -
Can someone please tell me how the <servlet> entry differs from
weblogic.httpd.register.snoop=examples.servlets.SnoopServlet
in weblogic properties?
Do these perform identical functions?
Yes this is the source of my confusiong. It seems to be that WL can be told
about servlets
two ways. Firstly through the web.xml file and also via weblogic.properties.
I don't understand
why the second one exists.
"Cameron Purdy" <[email protected]> wrote in message
news:[email protected]...
> I only work with WAR files, so I cannot speak to non-WARd servlets with
any
> confidence. I know that WL could use web.xml for non-WARd servlets in
order
> to obtain the other information associated with the servlet:
>
> <!ELEMENT servlet (icon?, servlet-name, display-name?, description?,
> (servlet-class|jsp-file), init-param*, load-on-startup?,
> security-role-ref*)>
>
> --
>
> Cameron Purdy
> http://www.tangosol.com
>
>
> "Robert Nicholson" <[email protected]> wrote in message
> news:[email protected]...
> > If what you say is true then why is there the need to also tell WL about
> the
> > servlets themselves?
> >
> > Presumably this is for when the servlets exist outside of a WAR then?
> >
> > "Cameron Purdy" <[email protected]> wrote in message
> > news:[email protected]...
> > > The weblogic.properties tells WL to load a WAR or specific servlet.
The
> > > <servlet> entry (I assume you refer to
> > > http://java.sun.com/j2ee/dtds/web-app_2_2.dtd) defines the presence of
a
> > > servlet within a WAR (a deployment unit):
> > >
> > > >
> > > The servlet element contains the declarative data of a
> > > servlet. If a jsp-file is specified and the load-on-startup element is
> > > present, then the JSP should be precompiled and loaded.
> > > [end-quote]
> > >
> > > In the case of a WAR deployment, you have to tell WL that the WAR
> exists,
> > > then it will look in the WAR and figure out what servlets are there
from
> > the
> > > <servlet> tags in your web.xml. You set up a WAR in the
> > weblogic.properties
> > > as such:
> > >
> > > weblogic.httpd.webApp.<http-path>=<os-path>
> > >
> > > For example:
> > > weblogic.httpd.webApp.website=c:/weblogic/website.war
> > >
> > > --
> > >
> > > Cameron Purdy
> > > http://www.tangosol.com
> > >
> > >
> > > "Robert Nicholson" <[email protected]> wrote in message
> > > news:[email protected]...
> > > > Can someone please tell me how the <servlet> entry differs from
> > > >
> > > > weblogic.httpd.register.snoop=examples.servlets.SnoopServlet
> > > >
> > > > in weblogic properties?
> > > >
> > > > Do these perform identical functions?
> > > >
> > > >
> > >
> > >
> >
> >
>
>
-
Can I reference 2 different SSL certificates in the same weblogic.properties
Hello,
Can I reference 2 different SSL certificates in the same
weblogic.properties
file?
Reason is we have 2 groups of users for a web application: one will use
a
French-language DNS to access
the application, and the other will use English DNS. Both DNS will point
to
the same application on the same
server.
Example of what we require:
weblogic.security.certificate.server=mycert1.pem
weblogic.security.key.server=mykey1.der
weblogic.security.certificate.authority=rootCertificate1.pem
----and---
weblogic.security.certificate.server=mycert2.der
weblogic.security.key.server=mykey2.der
weblogic.security.certificate.authority=rootCertificate2.pem
mycert1 will correspond to DNS1, and mcert2 will correspond to DNS2, and
both
DNS1 and DNS2 point to the same application on the same box.
Thanks,
RaguI think that you can only have one server certificate per server currently
since the certificate establishes the server's identity and there isn't
support for a server to have two identities at the same time.
"RAGUTAM BOMMAREDDY" <[email protected]> wrote in message
news:[email protected]..
Hello,
Can I reference 2 different SSL certificates in the same
weblogic.properties
file?
Reason is we have 2 groups of users for a web application: one will use
a
French-language DNS to access
the application, and the other will use English DNS. Both DNS will point
to
the same application on the same
server.
Example of what we require:
weblogic.security.certificate.server=mycert1.pem
weblogic.security.key.server=mykey1.der
weblogic.security.certificate.authority=rootCertificate1.pem
----and---
weblogic.security.certificate.server=mycert2.der
weblogic.security.key.server=mykey2.der
weblogic.security.certificate.authority=rootCertificate2.pem
mycert1 will correspond to DNS1, and mcert2 will correspond to DNS2, and
both
DNS1 and DNS2 point to the same application on the same box.
Thanks,
Ragu -
Commas in the weblogic.properties file
I hate to ask this question because I'm sure the answer is a)obvious, and
b)well-known, but I'm playing in the slow group today.
How does one include a comma in a property value in the weblogic.properties
file. Specfically, I'm trying to set weblogic.system.startupArgs as follows
weblogic.system.startupArgs.xxxx=sql=select sysdate from dual where
mod(to_number(to_char(sysdate, 'MI')), 2) = 0
The value assigned to the "sql" arg is truncated at the first comma and a
second argument "'MI'))" is created. Very irritating. Any ideas on how to
prevent this from happening?
Ignore the details of the sql statement, its just for testing.
Brian Murray
Management Information Systems
Vanderbilt UniversityThanks for the reply, but that didn't seem to work. Escaping the commas
with back-slash delivered the same result.
It seems that since the value for the weblogic.system.startupArgs.xxxx
property can itself be a set of multiple properties, the normal parsing
rules don't apply when the "inner" set of properties is parsed. For
example, if weblogic.properties has
weblogic.system.startupArgs.xxxx=aaaa=X\,Y
then it appears that "startupArgs.xxx" is being assgined "aaaa=X,Y".
However, when the startup class gets the arguments, whatever routine is
parsing the value of "startupArgs.xxx" is seeing the comma and deciding that
there are two properties, not one. So the startup method of my startup
class gets 2 arguments: "aaaa=X" and "Y=".
I tried all the old Korn shell tricks I could remember like aaaa=X\\\,Y.
But all I got was "aaaa=X\" and "Y=".
Any other thoughts or am I trying something I wasn't supposed to do?
----- Original Message -----
From: "Dimitri Rakitine" <[email protected]>
escape commas with \'s
Brian Murray <[email protected]> wrote:
How does one include a comma in a property value in the
weblogic.properties
file. Specfically, I'm trying to set weblogic.system.startupArgs asfollows
>
weblogic.system.startupArgs.xxxx=sql=select sysdate from dual where
mod(to_number(to_char(sysdate, 'MI')), 2) = 0 -
JSP Subclassing in weblogic.properties
Hi,
I'd like to have my JSP classfiles subclass one of our servlet classes,
rather than the default. I'm able to do this at the command-line, by using a
command like:
java weblogic.jspc -keepgenerated -d /home/gkushida/weblogic/jsp -package
com.kiko.jsp -superclass com.kiko.servlet.CustomJSP test.jsp
This works fine, but I have two additional questions:
1. I noticed that I have to provide an abstract _jspService() method in my
CustomJSP servlet class, and then call it from within my doGet/doPost
service methods manually. Is this the right thing to do?
2. I'd like to do this automatically in my weblogic.properties file, where
the JSPServlet is registered for *.jsp. I can't find any reference to a
'superclass' initArg for the JSPServlet - is this functionality only
available from the command-line compiler?
We are running WebLogic 5.1.0, Service Pack 6 on Sun Solaris 2.7, JDK 1.3.
Gene Chuang
Join Kiko.com!
See JSP 1.1 spec 3.2.4 for the contract of JSP page superclass.
Gene Chuang <[email protected]> wrote:
> Hi,
> I'd like to have my JSP classfiles subclass one of our servlet classes,
> rather than the default. I'm able to do this at the command-line, by using a
> command like:
> java weblogic.jspc -keepgenerated -d /home/gkushida/weblogic/jsp -package
> com.kiko.jsp -superclass com.kiko.servlet.CustomJSP test.jsp
> This works fine, but I have two additional questions:
> 1. I noticed that I have to provide an abstract _jspService() method in my
> CustomJSP servlet class, and then call it from within my doGet/doPost
> service methods manually. Is this the right thing to do?
> 2. I'd like to do this automatically in my weblogic.properties file, where
> the JSPServlet is registered for *.jsp. I can't find any reference to a
> 'superclass' initArg for the JSPServlet - is this functionality only
> available from the command-line compiler?
> We are running WebLogic 5.1.0, Service Pack 6 on Sun Solaris 2.7, JDK 1.3.
> Gene Chuang
> Join Kiko.com!
Dimitri
http://dima.dhs.org
Maybe you are looking for
-
Connect a database to jdeveloper webcenter suite
Hi, i got some problems, maybe because i'm a beginer. I am creating with jdeveloper webcenter suite, a web portal. I learn that i need to connect my web in to a database to can run and try to use my web portal. Now, i'm trying to create a database in
-
HT6601 Why has this update been installed without my knowledge?
Why has this update been installed without my knowledge? Why wasn't I given the opportunity to refuse the update? Isn't this update meant to stop this unauthorised access to my computer? Has this given back door access for ASIO, NSC, MI6 to my com
-
Premiere project will not open
The night before, I went to save my project in Premiere but was taking to long to finish saving. I went to be and when I woke up it had crashed while it was still saving and was no longer responding. I had to close off Premiere, but now it will not o
-
I connected my ipad and iphone to itunes this morning and downloaded updates...the iphone is fine..but my ipad is giving me the message...you have not signed up for a data plan..but, when it asks me to sign up..the message says Safari can't open the
-
Tax Fields for GST,HST and PST
Hi, I am on a project in Canada and we have following tax numbers which has to be printed on customer Invoice. The question is in which field we should populate these numbers (legal requirement) to enable it to print on the invoice. 1. GST 2. HST 3.