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
          

Similar Messages

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

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

    The 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

  • Servlet configuration in Weblogic 5.1.. web.xml vs weblogic.properties..

    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,
    Ragu

    I 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 University

    Thanks 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
              

  • Add  weblogic.properties to the weblogic.

    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 appreciated
              

    You can set the system property weblogic.system.name:
              java ... -Dweblogic.system.name=foo ... weblogic.Server,
              and create directory 'foo' and put server-specific weblogic.properties
              there.
              ruben <[email protected]> wrote:
              > 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 appreciated
              Dimitri
              

  • Convert weblogic.properties

    All,
    I'm trying to convert an existing 5.1 installation to 6.0 and am having a bit of difficulty with creating a new config.xml based on an existing weblogic.properties. Has anyone gone through this process yet? The documentation seems vague and incomplete (references things like "<insert-ref>").
    Also, the conversion html page/applets also seem very confusing. They present 2 list boxes that were created from your existing weblogic.properties file. These list boxes are labeled "server weblogic.properies" and "cluster weblogic.properies". Instead of containing discernable properties, they contain lists of directories. Selecting any of these directories will generally cause a conversion failure. Is this thing just not there yet, and should I be building up my own weblogic.properties/config.xml from scratch?
    I'd be interested in anyone else's experiences with these issues. TIA.
    JohnH

    Hi John,
    I'm trying to do conversion from WL 5.1 and as you just described it doesn't seem to work.
    Have you solved your problem? If yes, how did you do it?
    Thanks!
    "John Hogan" <[email protected]> wrote:
    >
    All,
    I'm trying to convert an existing 5.1 installation to 6.0 and am having a bit of difficulty with creating a new config.xml based on an existing weblogic.properties. Has anyone gone through this process yet? The documentation seems vague and incomplete (references things like "<insert-ref>").
    Also, the conversion html page/applets also seem very confusing. They present 2 list boxes that were created from your existing weblogic.properties file. These list boxes are labeled "server weblogic.properies" and "cluster weblogic.properies". Instead of containing discernable properties, they contain lists of directories. Selecting any of these directories will generally cause a conversion failure. Is this thing just not there yet, and should I be building up my own weblogic.properties/config.xml
    from scratch?
    I'd be interested in anyone else's experiences with these issues. TIA.
    JohnH

  • Debug weblogic.properties conversion error

    All,
    I'm attempting to use the web console application/Convert weblogic.properties link to perform a propterties file conversion.
    I'm getting a conversion error when converting our current weblogic.properties file. This properties file is working fine in WL5.1. The web console begins the conversion process ok, but it fails before completion (html err msg below).
    I'm trying to determine the cause of this error, but there's very little output reported to the console, except a couple of warnings. Also, I don't see any log files.
    I do get what looks like some partial conversion results in my new domain directory in fileRealm.properties. There are recognizable properties from the converted weblogic.properties file in here.
    Has anyone encountered/surmounted similiar difficulty? Any debugging tips would be appreciated. TIA.
    JohnH
    p.s. The output/error message on the html page looks like:
    New Domain name is MyDomain-1
    Converting Server properties
    Converting Server Debug Properties
    Converting WebServer properties
    Converting WebApp Component Properties
    Converting JDBC Specific properties
    Converting CORBA IIOP properties
    Converting StartupClass properties
    Converting Shutdown Class properties
    Converting MailSession Properties
    Converting FileT3 properties
    Converting JMS properties
    Converting Security Properties
    Converting the PasswordPolicy properties
    Converting User Group and ACL properties
    Conversion failed

    Ya it will be corrected in the next beta refresh.
    Jim Clark <[email protected]> wrote in message
    news:[email protected]..
    Typo in weblogic.properties conversion console page
    "Select server weblogic.properies"
    and
    "Select cluster weblogic.properies"
    Both are missing the "t"

  • How to Setup Query properties in WEB

    Hi Gurus,
    How to setup query properties in WAD(Web Application Designer).
    Thanks
    Liza

    After running the query in query designer(in excel spread sheet), I am able to see two functionalities of a field ,"Properties" and "Query properties"  if right click the mouse of a field. 
    But after running the query in WAD(Web Application Designer), I am not able to see the functionality  "Query properties"  if right click the mouse of a field.  But I could see "Properties".  Please help me how to add "Query properties" in WAD template.
    Thanks
    Liza
    Edited by: Liza on Apr 13, 2011 5:02 PM

  • Add OWN property to the weblogic.properties

    Hi.
    I tried to add my own property to the weblogic.properties.
    ERROR: "Found undeclared property"
    Is it at all possible?
    TIA,

    If you simply want to define a Java System property, you can do that
    like so:
    java.system.property.my.property=foo
    This has the same effect as using the -Dmy.property=foo argument to the
    JVM and is retrievable programmatically by calling
    System.getProperty("my.property")
    Hope this helps,
    Robert
    Daniel Ilkanayev wrote:
    Hi.
    I tried to add my own property to the weblogic.properties.
    ERROR: "Found undeclared property"
    Is it at all possible?
    TIA,

  • How do I read weblogic properties in my code

    Hi,
    I want to pick up the port number from my weblogic properties file and
    use it to set the context for the EJB's. Are there any weblogic API's
    that I can use to do this. I am trying to avoid hardcoding the port
    number anywhere in the code.
    Appreciate your help.
    Ashwin

    It is not a "Buggers".
    WLAS registered her own properties internally. "weblogic.password" is
    regiserted as a hashtable with username as "key", and password as "value".
    So does connection pool. "getProperty()" will give your the String
    representation of the hashtable.
    Cheers - Wei
    Dean Jackman <[email protected]> wrote in message
    news:[email protected]...
    The code that Wei shows is correct, however, I'm experiencing thefollowing
    "Funny Buggers":
    Am experiencing weird results when I do the following within my clientcode
    (as you'll no doubt notice, I'm trying to get my password value for myuser
    'jackmand'):
    System.out.println(
    "weblogic.password '" +
    this.getT3ServicesDef().config().getProperty("weblogic.password"));
    // the above works fine, it prints out weblogic.password.jackmand=*******,
    along with all of the other registered users
    System.out.println(
    "weblogic.password.jackmand '" +
    this.getT3ServicesDef().config().getProperty("weblogic.password.jackmand"));
    >
    // the above just returns a null, even though the earlierweblogic.password
    shows jackmand to exist.
    Also note, that this isn't necessarily restricted to password. I've tried
    things like weblogic.jdbc.connectionPool in an attempt to get the jdbc URL
    of my server. Just doing plain connectionPool shows the name of my server,
    whilst if I do a getProperty("weblogic.jdbc.connectionPool.rhubarb") where
    rhubard is the name of my connectionPool, I get null? (strewth).
    Can anyone shed any light on: why its not working/what I'm doing
    wrong/whether I'm able to do this?
    Thanks, Dean Jackman
    Wei Guan wrote:
    T3Services.getT3Services().config().getProperty(<property-name>);
    Cheers - Wei
    Ashwin Srinivasan <[email protected]> wrote in message
    news:[email protected]...
    Hi,
    I want to pick up the port number from my weblogic properties file and
    use it to set the context for the EJB's. Are there any weblogic API's
    that I can use to do this. I am trying to avoid hardcoding the port
    number anywhere in the code.
    Appreciate your help.
    Ashwin

Maybe you are looking for