@WEBLOGIC in properties file

Hi,
What am I supposed to replace this. My weblogic is installed
on drive E: on NT.
E:\weblogic
However, when I didn't replace, and tried to access the cloudscape
DB, I noticed that a directory @WEBLOGIC was created in
E:\weblogic !
Should I just replace @WEBLOGIC in the weblogic.properties file
with empty string?
Thanks,
Andy

I don't believe that feature is available until 6.1.
Peace,
Cameron Purdy
Tangosol Inc.
<< Tangosol Server: How Weblogic applications are customized >>
<< Download now from http://www.tangosol.com/download.jsp >>
"Kevin White" <[email protected]> wrote in message
news:3b89b178$[email protected]..
>
Does anyone know if Weblogic 5.1 has a way to encrypt the Databasepassword that
is stored in the weblogic.properties for DB pools. System Administratorsusually
do not have access to database passwords. Also, there is a security riskin having
a production password in the clear. If Weblogic 5.1 doe not have thiscapability,
then has anyone done a work around to resolve this issue?
Thanks,
Kevin White

Similar Messages

  • Help: why I cannot find the weblogic.mycluster.properties file

    When I first config the cluster. While Setting up the weblogic.properties
              Files, Open and read the cluster properties file (installed by default as
              weblogic/mycluster). Any properties set in the cluster properties file will
              override the same properties that were set from the global properties file.
              But I cannot find this file, Also I copy the weblogic.properties to
              weblogic.mycluster.properties,Also,I cannot find the
              weblogic.cluster.enable=true,etc.
              thanks
              

    It is required to put it in command line.
              Cheers - Wei
              Atish Ray <[email protected]> wrote in message
              news:[email protected]...
              > What happens if I set this property thru the properties file ? It still
              > works. Is there a known problem on this ?
              >
              >
              >
              > Wei Guan wrote in message <[email protected]>...
              > >Yes, the default cluster name is mycluster.
              > >
              > >Create an directory named 'mycluster' under your weblogic home, copy
              > >weblogic.properties to mycluster/weblogic.properties will do the trick.
              > >
              > >weblogic.cluster.enable=true has to be set via command-line. That is, add
              > >'-Dweblogic.cluster.enable=true' in your startup script.
              > >
              > >--
              > >Cheers - Wei
              > >
              > >
              > >
              > >hhb <[email protected]> wrote in message
              > >news:[email protected]...
              > >> When I first config the cluster. While Setting up the
              weblogic.properties
              > >> Files, Open and read the cluster properties file (installed by default
              as
              > >> weblogic/mycluster). Any properties set in the cluster properties file
              > >will
              > >> override the same properties that were set from the global properties
              > >file.
              > >> But I cannot find this file, Also I copy the weblogic.properties to
              > >> weblogic.mycluster.properties,Also,I cannot find the
              > >> weblogic.cluster.enable=true,etc.
              > >>
              > >> thanks
              > >>
              > >>
              > >>
              > >
              > >
              >
              >
              

  • Problems with properties files and war files in weblogic 5.1

              I work with WebLogic 5.1 and I'm trying to deploy a web application which gets
              a properties file. If I deploy it as an expanded directory hierarchy (with the
              properties files into WEB-INF/classes) I have no problems. While deploying it
              by a .war file I get this message: "en_GB java.util.MissingResourceException:
              Can't find resource for base name Agent, locale en " (the getBundle() method is
              trying to get an english property file). What could I do? Is it really a weblogic
              5.1 bug?
              Thanks,
              David
              

    This issue comes up repeatably. It's a real bug.
              I believe this problem was fixed in a 5.1 service pack, but I'm trying to
              find out the exact disposition of the issue. Noone seems to be complaining
              about this under 6.x, so a fix seems to have been made, the only question is
              whether or not it got back-ported to a 5.1 service pack.
              Gary
              david <[email protected]> wrote in message
              news:3ac4a39a$[email protected]..
              >
              > I work with WebLogic 5.1 and I'm trying to deploy a web application which
              gets
              > a properties file. If I deploy it as an expanded directory hierarchy (with
              the
              > properties files into WEB-INF/classes) I have no problems. While deploying
              it
              > by a .war file I get this message: "en_GB
              java.util.MissingResourceException:
              > Can't find resource for base name Agent, locale en " (the getBundle()
              method is
              > trying to get an english property file). What could I do? Is it really a
              weblogic
              > 5.1 bug?
              > Thanks,
              > David
              

  • .war file vs properties files in weblogic 5.1

              I work with WebLogic 5.1 and I'm trying to deploy a web application which gets
              a properties file. If I deploy it as an expanded directory hierarchy (with the
              properties files into WEB-INF/classes) I have no problems. While deploying it
              by a .war file I get this message: "en_GB java.util.MissingResourceException:
              Can't find resource for base name Agent, locale en " (the getBundle() method is
              trying to get an english property file). What could I do? Is it really a weblogic
              5.1 bug?
              Thanks,
              David
              

    This issue comes up repeatably. It's a real bug.
              I believe this problem was fixed in a 5.1 service pack, but I'm trying to
              find out the exact disposition of the issue. Noone seems to be complaining
              about this under 6.x, so a fix seems to have been made, the only question is
              whether or not it got back-ported to a 5.1 service pack.
              Gary
              david <[email protected]> wrote in message
              news:3ac4a39a$[email protected]..
              >
              > I work with WebLogic 5.1 and I'm trying to deploy a web application which
              gets
              > a properties file. If I deploy it as an expanded directory hierarchy (with
              the
              > properties files into WEB-INF/classes) I have no problems. While deploying
              it
              > by a .war file I get this message: "en_GB
              java.util.MissingResourceException:
              > Can't find resource for base name Agent, locale en " (the getBundle()
              method is
              > trying to get an english property file). What could I do? Is it really a
              weblogic
              > 5.1 bug?
              > Thanks,
              > David
              

  • Deploying properties files outside of the web application in WebLogic 8.1

    Hi
              I am wondering if it is possible to deploy a web application and place configuration files (properties files, log4j xml files etc...) in a folder somewhere within WebLogic that is on the Server instance classpath. This would allow me to edit the config files and restart the server without having to hack into the web application .war file and then redeploy.
              I am really looking for an equivalent of the /applib folder in Oracle 10gAS (each OC4J server instance has an /applib folder which is on the classpath of the server).
              Is there an equivalent for a weblogic server instance?? (i.e. not just for the entire weblogic server but for individual sever instances).
              thanks
              Will

    WLS 9.2 includes pretty advanced features in this area. Both deployment plans and application libraries could be used. There's also a domain/lib directory where jar files can be placed and are visible throughout the server instance.
              Unfortunately 8.1 has none of these features. In 8.1, your choices are to either add these into the $CLASSPATH, or package them in the application.
              -- Rob
              WLS Blog http://dev2dev.bea.com/blog/rwoollen/

  • Encryption for properties file in Weblogic server 6.1

    My application needs to connect to a file server. I need to encrypt the password in properties file. Is there a built in encryption tool in weblogic server 6.1 to achieve that?
    Thanks

    My application needs to connect to a file server. I need to encrypt the password in properties file. Is there a built in encryption tool in weblogic server 6.1 to achieve that?
    Thanks

  • Weblogic Classpath setting error not able to pick the properties file

    Hi All,
    We are using a third party jar and create a java Web service on the top of that jar. This jar file need two configuration file .properties and .xml when we deploy war for the application into weblogic server it will give file not found error. Though this file already exists inside the .war but from the application it is not able to pick the files.
    We find that these file need to be put in weblogic domain home and we put it there and application works.
    I decompile the jar and found that inside java class they use FileReader("allXXX.xml") path and when I Google it and found that it will pick the file from weblogic domain directory.
    The issue is that we need to put properties file in specific weblogic folder like /3party/config by setting the class path inside startWebLogic.cmd. Please let us know solution for same
    Thanks in advance
    Edited by: sb**** on Mar 19, 2012 9:08 AM

    Hi , I am also facing the similer issue. I am deploying war file of my Spring MVC application , but its not picking resource bundle .properties files from one of the configuration file.
    <bean id="PropertiesRepository"
              class="LanguageBasedPropertiesRepository">
              <property name="propertiesFiles">
                   <map>
                        <entry key="en" value="classpath:/exceptionMessages.properties" />
                        <entry key="es" value="classpath:/exceptionMessages_es.properties" />
                        <entry key="default" value="classpath:/exceptionMessages.properties" />
                   </map>
              </property>
         </bean>
    Please let me know how we can modify this to make it work.
    thanks .

  • 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

  • How to load Java properties file dynamically using weblogic server

    Hi,
    We are using Java properties file in Java code. Properties in java properties file are frequently modified. If I keep these properties file in project classpath or as part of war, I will have to redeploy application after each change.
    We are using Weblogic Server.
    Can you please suggest me how can this properties file be loaded at weblogic server startup. Then in that case, how to refer property file in Java code?
    What is the best practice for this?
    Thanks,
    Parshant

    Another alternative is, keep the property file in any pre-defined location. Write a class which reads the properties from the file and returns the one which is requested by caller and deploy this class. Whenever you have to change the properties just update the property file on server and next call to fetch the property should return the updated one.
    Downside of this approach is file I/O everytime. To overcome that you can actually "cache" the properties in a hashmap. Basically when any property if requested, first check the hashmap, if not found then only read from property file and also update in hash map. Next time same property will be returned from hash map itself. The hash map will be cleared at every server restart since its in the memory. You will also need to build a method to clear the hashmap when you update the values in the property file on server.
    This solution would be suitable for small size files and when network overhead of calling a DB needs to be avoided.

  • How do I read properties file kept in the source folder in weblogic workshop

    I want to have a log.properties file in the folder of the source java code which
    is reading this properties file. When I build the code the properties file also
    should go with the generated .class files.
    I am using class.getResourceAsStream("log.properties")
    I tries different ways to make the class to read the file, but it failed to find
    the properties file. Is there any way to keep the configuration files in the same
    directory of the source java code ? This is the problem of weblogic workshop 8.1.
    This thing runs fine in Tomcat.

    Did you try and add the path where the .properties file is located in the CLASSPATH?

  • 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

  • Faster way ?  properties file vs weblogic.xml jndi context

    Anyone knows what is faster way to get a value from a parameter,
    a) using a properties file
    b) using jndi context ( env-entries )
    Anyway to get new values from a runtime changed files ?
    Regards
    jsanza

    The real question is what are you trying to do, since that may make the
    decision. If you need to be able to change a parameter, either build
    parameter maintenance into your app (a page for example) or use the file
    method so you actually edit the stuff.
    JNDI is in-memory, which is fast. Pulling from disk will be pretty fast too
    on most systems (typically it is from memory if the file has been changed,
    since everything used gets cached by most OSs).
    Peace,
    Cameron Purdy
    Tangosol Inc.
    << Tangosol Server: How Weblogic applications are customized >>
    << Download now from http://www.tangosol.com/download.jsp >>
    "jsanza" <[email protected]> wrote in message
    news:3b72c402$[email protected]..
    >
    >
    Anyone knows what is faster way to get a value from a parameter,
    a) using a properties file
    b) using jndi context ( env-entries )
    Anyway to get new values from a runtime changed files ?
    Regards
    jsanza

  • How can configure .properties file and  log4j on weblogic 8.1 SP5

    Hi,
    I know this is not right forum for post this question.But I hope I'll get my perfect answer here.
    I have 2 questions.
    1. Where I'll keep my .properties file in weblogic 8.1 SP 5. means I have one own .properties file which is contains some proxy settings and this .properties resides on .war file(now), But I want move this propeties file outside .war file. So Where I'll keep in weblogic 8.1 SP 5.
    2. How can we configure log4j in weblogic?
    Please reply me.
    Regards,
    Pattanaik

    You can add your.properties and log4j.properties to the classpath cant you?
    You just need to edit setEnv.cmd (if i remember correctly) in your weblogic server folder to add the folder containing the properties files to the classpath variable.

  • 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

  • Weblogic 6.0 install on unix:: conversion of properties file.

    I followed the instructions to convert my weblogic properties file from a WL5.1
    install. Copied the *.war file from the default domain into the new domain and
    tried to start the application server with the script for the domain. It asks
    for a boot password which I am assuming should be the same one that I set during
    the weblogic install. When I enter the password, it refuses to boot the application
    server complaining about the password. Yet when I try to start the default server,
    it boots up
    fine with the same password. Now my question is, it the password
    the same or not? If not then what is the boot password for the
    new domain and where is it set?
    Any help will be appreciated
    Thanks,
    Hemant

    "Hemant Varma" <[email protected]> wrote:
    >
    I followed the instructions to convert my weblogic properties file from
    a WL5.1
    install. Copied the *.war file from the default domain into the new domain
    and
    tried to start the application server with the script for the domain.
    It asks
    for a boot password which I am assuming should be the same one that I
    set during
    the weblogic install. When I enter the password, it refuses to boot the
    application
    server complaining about the password. Yet when I try to start the default
    server,
    it boots up
    fine with the same password. Now my question is, it the password
    the same or not? If not then what is the boot password for the
    new domain and where is it set?
    Any help will be appreciated
    Thanks,
    Hemant
    Sorry for my english. I am french
    The user/password is coming from your properties file that you
    have converted

Maybe you are looking for