Use of weblogic.system.home property

Hi,
I am working on Windows 2000, with weblogic 6.0.
I am trying to launch the default weblogic server with the
script startWebLogic.cmd, but I modified the original script
to set the current directory as the script directory.
So I commented the cd ..\.. command and set the weblogic.system.home on the java
weblogic.Server, as it is
written in the adminguide page 2-6
But it seems that weblogic can no longer find the config.xml file.
In fact the exception I got is the following "weblogic.management.configuration.ConfigurationException:
XmlRepository directory .\config does not exist" and the startup.log file contains
the following warning : "####<Feb 10, 2001 12:12:51 PM EST> <Warning> <Management>
<nicolas> <myserver> <main> <> <> <000000> <Unrecognized property: system.home>"
So I am just wondering if the system.home property is still supported or if it is
a documentation mistake (or misunderstanding)
Else is there any way to start a weblogic server with the home dir different than
the installation root.
Thanks
But

"-Dweblogic.RootDirectory=c:\bea\wlserver6.0sp1" . . . Thank you Vijay at BEA
"David Brown" <[email protected]> wrote:
>
Does any have any more information regarding using the new 'ServerMBean.RootDirectory'
property ? I really need to find a way to tell weblogic 6.0sp1 where
to find
it's XmlRepository. (./config)
In our instalaltion, "./config" is under c:\bea\wlserver6.0sp1\, but
we are launching
the JVM from a directory outside of c:\bea\wlserver6.0sp1, so I need
to tell the
VM where to look for ./config
Thanks,
David
"Sanjeev Chopra" <[email protected]> wrote:
Nicolas GANDRIAU <[email protected]> wrote in message
news:3a859168$[email protected]..
Hi,
I am working on Windows 2000, with weblogic 6.0.
I am trying to launch the default weblogic server with the
script startWebLogic.cmd, but I modified the original script
to set the current directory as the script directory.
So I commented the cd ..\.. command and set the weblogic.system.homeon
the java
weblogic.Server, as it is
written in the adminguide page 2-6
But it seems that weblogic can no longer find the config.xml file.
In fact the exception I got is the following"weblogic.management.configuration.ConfigurationException:
XmlRepository directory .\config does not exist" and the startup.logfile
contains
the following warning : "####<Feb 10, 2001 12:12:51 PM EST> <Warning><Management>
<nicolas> <myserver> <main> <> <> <000000> <Unrecognized property:system.home>"
So I am just wondering if the system.home property is still supportedor
if it is
a documentation mistake (or misunderstanding)This is a bug in 6.0 (system.home does not work).
This will be fixed for upcoming ServicePack 1, which defines a new
property - ServerMBean.RootDirectory
Else is there any way to start a weblogic server with the home dirdifferent than
the installation root.
Thanks
But

Similar Messages

  • Weblogic.system.home property

    Hi,
    I used to launch weblogic 5.1 from a directory other that the wl
    installation directory by passing -Dweblogic.system.home=myDirectory when
    launching the server. This doesn't work with 6.0. I get the following
    exception (note that if I start wl from its installation directory,
    everything is fine) :
    $$$$$$$$$$$$$$$$ License Exception $$$$$$$$$$$$$$$$
    Unable to start WebLogic Server !!
    Improperly formatted license file: D:\license.bea
    $$$$$$$$$$$$$$$$ License Exception $$$$$$$$$$$$$$$$
    Is "weblogic.system.home" still valid ? If not, what is the new way of doing
    this?
    Thanks, Alexandre.

    I don't know if this was a problem in beta-1.
    Could you try beta-2 (download from bea.com) and re-post if you still
    see the problem?.
    I just tried with the latest source line and i can run the server by
    specifying a different
    weblogic home directory.
    Kumar
    Alexandre Vauthey wrote:
    >
    Hi,
    I used to launch weblogic 5.1 from a directory other that the wl
    installation directory by passing -Dweblogic.system.home=myDirectory when
    launching the server. This doesn't work with 6.0. I get the following
    exception (note that if I start wl from its installation directory,
    everything is fine) :
    $$$$$$$$$$$$$$$$ License Exception $$$$$$$$$$$$$$$$
    Unable to start WebLogic Server !!
    Improperly formatted license file: D:\license.bea
    $$$$$$$$$$$$$$$$ License Exception $$$$$$$$$$$$$$$$
    Is "weblogic.system.home" still valid ? If not, what is the new way of doing
    this?
    Thanks, Alexandre.

  • How to change location for config files in WLS6.0 (like weblogic.home and weblogic.system.home in 5.1)

    Hi,
    I would like to point weblogic to a directory NOT under c:\bea\... for it's configuration.
    I used to do this on WLS 5.1 by setting:
    weblogic.home=/weblogic and weblogic.system.home=/projects/wlsconfig
    This way my config was NOT coupled to the weblogic install.
    I want to do the same thing, and have the config directory located in /projects/domainconfig
    for example.
    weblogic.system.home etc doesn't seem to do anything. The
    only variable that does anything is bea.home, but I need weblogic to find it's
    libs etc in /bea, but ONLY the config should be elsewhere.
    Any help would be great.
    Thanks,
    Dion

    From SP1 and beyond, you can use
    -Dweblogic.RootDirectory=<dirname>
    * The property for specifying configuration location:
    * The directory name of the domain from which to load the specified
    * configuration. The default is ".".
    * -Dweblogic.RootDirectory=<dirname>
    * The directory must exist.
    Dion Almaer wrote:
    Hi,
    I would like to point weblogic to a directory NOT under c:\bea\... for it's configuration.
    I used to do this on WLS 5.1 by setting:
    weblogic.home=/weblogic and weblogic.system.home=/projects/wlsconfig
    This way my config was NOT coupled to the weblogic install.
    I want to do the same thing, and have the config directory located in /projects/domainconfig
    for example.
    weblogic.system.home etc doesn't seem to do anything. The
    only variable that does anything is bea.home, but I need weblogic to find it's
    libs etc in /bea, but ONLY the config should be elsewhere.
    Any help would be great.
    Thanks,
    Dion[att1.html]

  • Retrieve system properties, eg. weblogic.system.home

    Hi!
    I am trying to retrieve the value of the system property weblogic.system.home. Note
    that it is not defined in the weblogic.properties file in WL5.1 with SP8, but specified
    in a start WL batch script.
    The code snippet
    .. System.getProperty("weblogic.system.home") ...
    returns null.
    Any ideas on what I'm doing wrong?
    Regards,
    Jan

    T3ServicesDef t3 = T3Services.getT3Services();
    home = t3.config().getProperty("weblogic.system.home");
    Mike
    It is weblogic.system.home - do not confuse.
    Fri May 11 11:40:26 PDT 2001:<I> <Config> Property name: 'weblogic.system.home',
    current value: '/home/weblogic/weblogic51_lab'
    "Giri Alwar" <[email protected]> wrote:
    The property is called "weblogic.home" not "weblogic.system.home".
    Giri
    "Jan Nygaard Nielsen" <[email protected]> wrote in message
    news:3b028e0b$[email protected]..
    Hi!
    I am trying to retrieve the value of the system propertyweblogic.system.home. Note
    that it is not defined in the weblogic.properties file in WL5.1 with SP8,but specified
    in a start WL batch script.
    The code snippet
    .. System.getProperty("weblogic.system.home") ...
    returns null.
    Any ideas on what I'm doing wrong?
    Regards,
    Jan

  • Weblogic.system.home

    I need help getting WL6.0 to do what Ihave been doing in 5.1. I have a piece of servlet code that uses:T3ServicesDef services = T3Services.getT3Services();services.config().getProperty("weblogic.system.home")to get the weblogics root directory. This no longer seems to work in 6.0 (getProperty is gone). What object do I need to reference to get the root directory of the installation w/ 6.0??

    I need help getting WL6.0 to do what Ihave been doing in 5.1. I have a piece of servlet code that uses:T3ServicesDef services = T3Services.getT3Services();services.config().getProperty("weblogic.system.home")to get the weblogics root directory. This no longer seems to work in 6.0 (getProperty is gone). What object do I need to reference to get the root directory of the installation w/ 6.0??

  • Weblogic.system.listenPort property in Weblogic 6.0?

    There is any property for manually indicate listen port like:
    weblogic.system.listenPort
    Baco, por siempre loado,
    os libre del cirrotico mal
    y del advenimiento gonococico.
    [att1.html]

    In 6.0, there is a "ListenPort" attribute in the <Server> tag in the config.xml file of the domain that a server belongs to.
    Giri
    "Paco Avila - Desarrollo" <[email protected]> wrote in message news:[email protected]..
    There is any property for manually indicate listen port like:
    weblogic.system.listenPort
    Baco, por siempre loado,
    os libre del cirrotico mal
    y del advenimiento gonococico.
    [att1.html]

  • Weblogic.system.logFile wont use absolute path

    I set my
    weblogic.system.logFile=/deploy/weblogic.log
    and it always prepends this with weblogic.system.home.
    The docs say this should be a fully-qualified pathname, but the server
    doesn't behave that way. I'm using 4.5.0.
    Is this bug known, and has it been fixed? I'd really like to specify an
    absolute path (not something relative to weblogic.system.home).
    thanks,
    david
    David Michaels <[email protected]>
    Director of Technology
    ShockMarket Corporation (650) 330-4665
    [david.vcf]

    I second this request!!
    So far, I've only been able to symbolically link out of
    weblogic.system.home.
    -joe
    David Michaels <[email protected]> wrote in message
    news:[email protected]..
    I set my
    weblogic.system.logFile=/deploy/weblogic.log
    and it always prepends this with weblogic.system.home.
    The docs say this should be a fully-qualified pathname, but the server
    doesn't behave that way. I'm using 4.5.0.
    Is this bug known, and has it been fixed? I'd really like to specify an
    absolute path (not something relative to weblogic.system.home).
    thanks,
    david
    David Michaels <[email protected]>
    Director of Technology
    ShockMarket Corporation (650) 330-4665

  • Weblogic.system.DNSName

    -----BEGIN PGP SIGNED MESSAGE-----
    Hash: SHA1
    Is there any way to get WLS 5.1 (without clustering) to honor the
    weblogic.system.DNSName property? I don't want to enable http tunneling
    since: it's slow and I don't need http in any case.
    My situation is this. I'd like to use a virtual IP on a BigIP (F5) load
    balancer which sits between the WL clients and the WL servers. The home
    interface the servers send back to the client however, seems to contain the
    WLS real IP address (the weblogic.system.bindAddr). When the client
    reconnects to the server the stub uses this address instead of the virtual
    ip address which it needs to use.
    weblogic.system.DNSName is documented
    http://search.bea.com/weblogic/go50/query.html?col=weblogic&qp=url%3Ahttp%3A
    %2F%2Fwww.weblogic.com%2Fdocs51%2F&qt=weblogic.system.DNSName&qs=&qc=&pw=100
    %25&ws=0&qm=0&st=1&nh=10&lk=1&rf=0&rq=0
    to do exactly what I wish. However, it seems that this is only supported
    when running a cluster. I don't have a need for clusters since all requests
    are stateless. I'm only interested in gaining better load balancing
    support.
    Thanks,
    Bryan Talbot
    -----BEGIN PGP SIGNATURE-----
    Version: PGP Personal Privacy 6.5.2
    iQA/AwUBOiMogUzuKKcxAa+OEQI5CwCeMa4AkMUBFJhXlbMfeCyB7RoD4iQAniV0
    hbesDuOZlPj6PIG4gl5XiBag
    =AtM+
    -----END PGP SIGNATURE-----

    Yes, many people are running in this configuration (and support should NOT
              have told you this).
              In your scenario, A and B should be the "external IP addresses" of the
              firewall that are exposed to the web servers (the firewall would be
              configured to map requests to A and B to the "internal IP addresses of the
              servers where WLS is running). You still need to set the
              weblogic.system.DNSName parameter on one weblogic server to A and on the
              other server to B so that the session IDs are generated with A and B
              encoded in them rather than the "internal IPs" of the machines where
              weblogic is running.
              Hope this helps,
              Robert
              Arunanand Addepalli wrote:
              > Has anyone successfully implemented weblogic (510SP8) clustering thru
              > DMZ, where the webservers are in DMZ (we are using NAT) and weblogic
              > servers are in the local network. Using Solaris 2.7 and NES as
              > webservers. The problem i am facing is that when i am defining the DNS
              > names as "A:7001,B:7001" in the obj.conf where A and B are teh DNS
              > names of the weblogic servers. i also defined weblogic.system.DNSName
              > parameter.
              >
              > Six months back i logged this call at bea support and they closed the
              > call suggesting me to push my weblogic servers in to the DMZ.
              >
              > If somebody can help, thanks in advance.
              >
              > Regards
              > Arun
              

  • Weblogic.system.AdminListenPort

    Friends,
    Can anyone tell me about the weblogic.system.AdminListenPort property?
    It is referred to in the admin console for WLS 5.1 but I cannot find any
    info about the property at
    http://www.weblogic.com/docs51/resources.html. Even a website search
    turned up nothing.
    I am hoping to be able to use it to cause my server to accept console t3
    connections on the adminListenPort and reject them on port 80. port 80
    is outside the firewall and I do not want joe blow to be trying to point
    a console at our server.
    - Kevin

    It is not a publicly available port and the fact that it is mentioned in the
    console is a defect. We are planning to officially add such functionality
    in the future. Though, if you want to use it today, you can specify a
    separate port for administration and functionality using the property in
    your properties file. However, since it is not a official feature,
    technical support will likely not be able to help you if there are problems.
    Thanks,
    Michael
    Michael Girdley
    Product Manager, WebLogic Server & Express
    BEA Systems Inc
    "Kevin McEntee" <[email protected]> wrote in message
    news:[email protected]..
    Friends,
    Can anyone tell me about the weblogic.system.AdminListenPort property?
    It is referred to in the admin console for WLS 5.1 but I cannot find any
    info about the property at
    http://www.weblogic.com/docs51/resources.html. Even a website search
    turned up nothing.
    I am hoping to be able to use it to cause my server to accept console t3
    connections on the adminListenPort and reject them on port 80. port 80
    is outside the firewall and I do not want joe blow to be trying to point
    a console at our server.
    - Kevin

  • Cannot set a weblogic system property in batch

    Hello All,
    I'm running an weblogic application on weblogic 8.1 SP1. The application uses
    UTF-8 data from a mssql database. The problem is that weblogic 8.1 SP1 does not
    show UTF-8 data correctly. I've read docs and found that in order to make sure
    that weblogic's output is in UTF-8 I can configure a weblogic system property
    like that:
    add -Dweblogic.webservice.i18n.charset="utf-8" into JAVA_OPTIONS in startweblogic.cmd
    batch file. But during the process of starting it shows me the following:
    <10.10.2003 20:08:50 NOVST> <Warning> <Management> <BEA-141087> <Unrecognized
    pr
    operty: webservice.i18n.charset.>
    I also do not see changes in weblogic's behaviour (IMHO it should add charset=utf-8
    to Content-type header of each response to clients.
    However on weblogic 7.0 SP1 everything works without adding this option, but when
    I add it the server claims again that it's unrecognized and I see no effect in
    the HTTP headers of the server response.
    PLease help me to investigate this issue!
    Thanks for any help
    Dmitry.

    Hello,
    You are setting the charset value (UTF-8) correctly. The <Warning>
    message from the server startup can be safely ignored.
    The server should respond to the charset provided by the client. You
    can also set the charset on the web service using charset attribute of
    the <web-service> element in the web-services.xml file. See:
    http://e-docs.bea.com/wls/docs81/webserv/i18n.html
    Have you tried setting the "-Dweblogic.webservice.i18n.charset=utf-8" on
    the client?
    Use the "-Dweblogic.webservice.verbose=true" flag to help diagnose this
    issue. See: http://e-docs.bea.com/wls/docs81/webserv/trouble.html
    Hope this helps,
    Bruce
    Dmitry wrote:
    >
    Hello All,
    I'm running an weblogic application on weblogic 8.1 SP1. The application uses
    UTF-8 data from a mssql database. The problem is that weblogic 8.1 SP1 does not
    show UTF-8 data correctly. I've read docs and found that in order to make sure
    that weblogic's output is in UTF-8 I can configure a weblogic system property
    like that:
    add <Warning> into JAVA_OPTIONS in startweblogic.cmd
    batch file. But during the process of starting it shows me the following:
    <10.10.2003 20:08:50 NOVST> <Warning> <Management> <BEA-141087> <Unrecognized
    pr
    operty: webservice.i18n.charset.>
    I also do not see changes in weblogic's behaviour (IMHO it should add charset=utf-8
    to Content-type header of each response to clients.
    However on weblogic 7.0 SP1 everything works without adding this option, but when
    I add it the server claims again that it's unrecognized and I see no effect in
    the HTTP headers of the server response.
    PLease help me to investigate this issue!
    Thanks for any help
    Dmitry.

  • OBIEE 11g, installation using a new middleware home, created a new weblogic

    Hi,
    We have a linux based machine with weblogic 10.3.5.0, already installed on it in the following folder. There are some applications that are deployed in this weblogic.
    /home/oracle/middleware
    While installatin of OBIEE 11.1.1.5, on this server we gave following middelware home:
    /home/oracle/OBIEE11g/
    This way OBIEE installer installed a new weblogic and node manager. Now two weblogic and two node managers are running on one machine. it was expected that OBIEE will create a new domain within existing weblogic, and will use the same one node manager.
    Is it possible to create a new domain in the first weblogic and move the deployemnt of OBIEE from 2nd weblogic to 1st weblogic in a separate domain. and then deinstall 2nd weblgoc and nodemanager which OBIEE11g installer has created.
    Regards,
    Sajid

    Hi Sajid,
    I'm not sure if this is possible. Is this a production envioronment? If not I would suggest you're better off backing up, reinstalling using the software only install into your original middleware home and then using the configuration assistant to set up obiee and finally migrating everything over. You have to be very careful with the middleware versions and patches.
    http://download.oracle.com/docs/cd/E21764_01/bi.1111/e10539/c1_overview.htm#BABEBGFA
    http://download.oracle.com/docs/cd/E21764_01/bi.1111/e10539/c5_postinstall.htm#CEGCJFIB
    Regards,
    Robert

  • How do I get the Weblogic system name in WLS 6.1 sp2 without creating T3Client

    Hi Folks,
    In Weblogic Server 5.1, I get the weblogic.system.name using the following code:
    T3ServicesDef t3services = T3Services.getT3Services();
    String systemName t3services.config().getProperty("weblogic.system.name");
    What is the counterpart for Weblogic Server 6.1?
    Thanks in advance for your help.
    Bill

    The class doesn't seem to be documented in the normal documentation, but
    you can get an overview of the methods by executing
    javap weblogic.management.Admin
    with weblogic.jar in your classpath.
    Hope that helps,
    Nils
    Bill Lam wrote:
    >
    Jim,
    Can you tell me where I can find documentation for
    weblogic.management.Admin?
    Thank you.
    Bill
    "Bill Lam" <[email protected]> wrote:
    Jim,
    Thanks. I appreciate your help.
    Bill
    Jim Brown <[email protected]> wrote:
    Bill:
    The weblogic.server.name property in WLS 5.1 has been replaced by the
    property weblogic.Name in WLS 6.X. Although it is possible to retrieve
    this value by calling System.getProperty(), I would encourage you to
    use
    the new JMX services which have replaced our proprietary management
    interfaces (T3ServicesDef, et. al.). For example, you could write aJMX
    client to read the various properties of ServerMBean. To get started,
    here is the link to our WebLogic JMX documentation:
    Programming WebLogic JMX Services
    <http://e-docs.bea.com/wls/docs61/jmx/index.html>
    Please post any follow-up questions about JMX to the
    weblogic.developer.interest.management.general_and_jmx newsgroup.
    Besides writing a JMX client, you can also take advantage of the
    following short-cut for retrieving the server name. The remaining code
    for this example can be found in your WebLogic Server samples directory
    under: ./wlserver6.1/samples/examples/cluster/rmi/HelloClusterImpl.java
    private String getLocation(){
    String toReturn = null;
    try{
    toReturn = weblogic.management.Admin.getServerName();
    }catch(Exception e){
    System.out.println("HelloClusterImpl failed getLocation");
    e.printStackTrace();
    if(toReturn==null){
    return "";
    }else{
    return toReturn;
    Regards,
    Jim Brown
    Bill Lam wrote:
    Hi Folks,
    In Weblogic Server 5.1, I get the weblogic.system.name using the followingcode:
    T3ServicesDef t3services = T3Services.getT3Services();
    String systemName t3services.config().getProperty("weblogic.system.name");
    What is the counterpart for Weblogic Server 6.1?
    Thanks in advance for your help.
    Bill--
    Jim Brown
    Developer Relations Engineer
    BEA Support
    ============================
    [email protected]

  • How can i use the weblogic jdbc driver for sqlserver?

    hello
    i have downloaded and installed the weblogic on my windows2000 server,then i want to use the weblogic jdbc driver for sqlserver2000 outside of the weblogic,as follow:
    1 add following string to my classpath environment of the wndows2000: E:\bea\wlserver6.1\lib\mssqlserver4v65.jar
    2 then i write a test program as:
    import weblogic.jdbc.mssqlserver4.Driver;
    import java.sql.*;
    public class test{
    public static void main(String argv[]){
    try{ Class.forName("weblogic.jdbc.mssqlserver4.Driver");
    Connection
    conn=DriverManager.getConnection"jdbc:weblogic:mssqlserver4:localhost:1433","sa",""); }catch(Exception e){ System.out.println(e.getMessage()); }
    4 when i execute it,it throw a exception:
    Exception in thread "main" java.lang.NoClassDefFoundError: weblogic/version at weblogic.jdbc.mssqlserver4.TdsStatement.getLicenseStr(TdsStatement.java:2665) at weblogic.jdbc.mssqlserver4.TdsStatement.microsoftLogin(TdsStatement.java:2474) at weblogic.jdbc.mssqlserver4.MicrosoftConnection.beginLogin(MicrosoftConnection.java:42) at weblogic.jdbc.mssqlserver4.TdsConnection.login(TdsConnection.java:57) at weblogic.jdbc.mssqlserver4.MicrosoftConnection.login(MicrosoftConnection.java:53) at weblogic.jdbc.mssqlserver4.BaseConnection.prepareConnection(BaseConnection.java:187) at weblogic.jdbc.mssqlserver4.Driver.newConnection(Driver.java:34) at weblogic.jdbc.mssqlserver4.ConnectDriver.connect(ConnectDriver.java:151) at java.sql.DriverManager.getConnection(DriverManager.java:517) at java.sql.DriverManager.getConnection(DriverManager.java:177) at test.main(test.java:7)
    who can help me?thank you!

    Hi,
    Mail me the jar file as I am using Weblogic 6.1 to my email id [email protected]
    Else tell me the site from where u have downloaded and i will do the same.
    I will test the same and let you know.
    Thanks,
    Seetesh

  • Ipod touch wont show up in usb or itunes help pages just bring me in circles.  how can i get it to show up.  I use windows xp at home and tried everything then tried a relatives computer using windows 7 and still nothing.  this is an older ipod touch

    the help pagers just bring me around in circles.  the ipod doesn't show up in system devices under the busses.  i've tried just about everything.  Im using windows xp at home and though maybe it was because of that. so went to a relatives and used a brand new lap top avus with windows 7 and it wont show up here either.  When i got the ipod a few days ago from a third party the only screen i could get to come up was a picture of a usb cord with an arrow pointing towards the itunes logo.  I downloaded i tunes and couldn't get it to change.  brought it to at&t store today they hooked it up with my usb cord to thier computer and suddenly the menu screens work and i could even get online with it yet when i try to hook it up to one of my computers it doesn't show up anywere where can i go to get this fixed and fixed quick jumping around the apple help pages have put me in a foul mood and im sick of it two days spent trying to get it to show now.  im sick of waiting around i need help asap so i can return this **** thing if it turns out it is broken somehow..which i dont think it is.

    What gen iPod (3,4?) did you buy?

  • Error when using the variable System::ErrorDescription

    HI All,
    When I try to use the variable System::ErrorDescription I get the following error:
    The element cannot be found in a collection. This error happens when you try to retrieve an element from a collection on a container during execution of the package and the element is not there.
    Do I need to declare it or it's a variable that always is available to get exceptions from the execution states?

    if this is in a Script Task then:
    - add the variable in the Script task property ReadOnlyVariables list
    - in the Script Code refer to it as
    string ErrorDesc = (string) Dts.Variables["System::ErrorDescription"].Value;
    Jan D'Hondt - SQL server BI development

Maybe you are looking for