WSAD System property issue

Hi,
I am trying to set a system property in a java program like below:
Properties systemProperties = System.getProperties();
systemProperties.put ("man.cacheconfig", "cacheserver-config.xml");
System.setProperties (systemProperties);
When I execute this program ,the WSAD console throws me error like the below:
Caused by: (Wrapped: Failed to load configuration resource: cacheserver-config.xml) java.io.IOException: Configuration is missing: "cacheserver-config.xml", loader=sun.misc.Launcher$AppClassLoader@3cd3cce4
Is there anyway to set the system property in WSAD ???
Any help in this regard is appreciated
Thanks
Chat

Hi Jaheer,
I would encourage you to first look at Section 6, Software Change Management on the Solution Operations Guide available on SMP under SAP Sourcing On-Premise --> SAP Sourcing 7.0. It contains lot of very useful information.
Basically, there are two options to transport your configurations. 1) Use Export Data functionality (aka Object Migration), 2) Import CSV or Workbook.
The first option involves exporting configuration data from the source system as oma file and importing it into the destination system. For transporting system properties, you could either export all the system properties to a oma file by selecting the Dataset option. Or you could use the Object List option, which involves oml query. You could create a custom version of the system properties oml query and add your filter conditions in the WHERE clause. You can find more info on this in the Solution Operations Guide.
Hope this helps.
Regards,
Vikram

Similar Messages

  • How can I set jbo.sql92.LockTrailer system property in BC4J?

    We are using BC4J in 'SQL92' SQLBuilder mode and using MySQL database. row.lock() is not really locking the row. It seems, we need to set jbo.sql92.LockTrailer to correct value so that it will issue correct SQL statement for locking the row. How can I set this system property?

    Apparently this has something to do with the content of the TextObject. I added a new TextObject called "TestText" and put "this is test text" into it. I am able to set the value on that TextObject with no issues. But if the TextObject contains any formulas (Text4 in the sample below) the set throws an error, even if I try to set the Text to "" .
    foreach (ReportObject ro in letter.ReportDefinition.ReportObjects)
                        if (ro.Name == "TestText" || ro.Name == "Text4")
                            TextObject textObj = (ro as TextObject);
                            string oldText = textObj.Text;
                           // string oldText = "";
                            textObj.Text = oldText ;
    These reports are imported from CR9.2, does that have anything to do with it?

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

  • Is the 'jdbc.drivers' system property official?

    Hi, i've just read the Java Technology Fundamentals Newsletter, June issue. They mention a way to load a JDBC driver using the 'jdbc.drivers' system property. But i wonder if this is an official system property because i can't find it in the docs (JDBC specification, API docs). Does somebody know, where this system property is specified?
    Thanks in advance.
    Markus

    This is an extract form JavaDocs on java.sql.DriverManger:
    public class DriverManager
    extends Object
    The basic service for managing a set of JDBC drivers.
    NOTE: The DataSource interface, new in the JDBC 2.0 API, provides another way to connect to a data source. The use of a DataSource object is the preferred means of connecting to a data source.
    As part of its initialization, the DriverManager class will attempt to load the driver classes referenced in the "jdbc.drivers" system property. This allows a user to customize the JDBC Drivers used by their applications. For example in your ~/.hotjava/properties file you might specify:
    jdbc.drivers=foo.bah.Driver:wombat.sql.Driver:bad.taste.ourDriver
    A program can also explicitly load JDBC drivers at any time. For example, the my.sql.Driver is loaded with the following statement:
    Class.forName("my.sql.Driver");
    Dave

  • In my Macbook Pro, on a few occassions, the apple menu bar blacks out. its displayed as a negative image. The desktop wallpaper get greyed out and i get a blank screen as wallpaper. No idea why this happens. I reset the system and issue gets resolved.

    In my Macbook Pro, on a few occassions, the apple menu bar blacks out. its displayed as a negative image. The desktop wallpaper get greyed out and i get a blank screen as wallpaper. No idea why this happens. I reset the system and issue gets resolved.

    AshwinVC wrote:
    I reset the system and issue gets resolved.
    How? 

  • How to display system property in XML forms

    Hi
    We are using XML forms template for publishing news in KM. In the show form we got author field (a label in the form) which is mapped to system property createdby (PropertyReference = /Properties/default:createdby).But while displaying the form author is not getting populated. When I try to edit the form in XML forms builder in data model tab under properties node no property is visible. Nothing is shown up in properties even after reload option is selected from context menu of properties node.
    I cheked by manually editing PropertyReference to some other property (e.g. modifiedby) but nothing is showing up.
    Can you please suggest how the createdby system property can be shown in the xml form?
    Thanks & Regards
    Sudip

    Hi Sudeep,
    Please try to open the formbuilder in another machine and try to see the properties xml form design view.
    You can even directly can create a lable in show form and add the property name along with the nama space name.
    For default properties namspace is default.Create a lable UI element in show form and select the datasource property and add the property value in that.
    With we can show file related system generated properties in show form.
    Regards,
    Rudradev Devulapelli

  • Can you set a global EntityResolver (via system property, or static method)

    I'm trying to set a customized EntityResolver (telling the xml parser where to look for XML schema files).
    Usually, you'd use the standard syntax - somehting like:
    SaxParser parser=new SaxParser();
    parser.parser.setEntityResolver(myResolver);
    However, I was wondering whether you can set a "global" EntityResolver, to be used as default for all parsers ?
    Maybe this can be done through some system property, or a static method somewhere in the parsing XML ?
    (BTW, I need it because I'm using some third-party API, that encapsulates a SaxParser, but won't let me access it, so I can't configure it directly).
    thanks.

    I don't think you can.
    What is possible is to set content on the folder resource itself; that would be returned instead of the page you mentioned.

  • Is their a way to set system property in weblogic console

    Hi WL USERS
    Is their a way to set system property in weblogic console ie (http://localhost:8080/console) ? if yes, can we access that property in code using System.getProperty()?
    Regards
    vishy

    Yes, It is Possible.
    Please check the Option-1). Mention in the Following Link: http://weblogic-wonders.com/weblogic/2010/03/26/nodemanager-based-managedservers-setting-mem_args/
    Here i tried to set a Custom Property "*-Duser.dir=E:/MyDirectory*" through the Admin Console.
    NOTE: Setting any Option like JAVA_OPTIONS/CLASSPATh etc through Admin Console will work only when you start your Servers using the NodeManager. It means when you start your ManagedServers through AdminConsole...or Using nodeManager based WLST scripts.
    Thanks
    Jay SenSharma
    http://weblogic-wonders.com/weblogic/ (WebLogic Wonders Are Here)

  • Org.xml.sax.SAXException: System property org.xml.sax.driver not specified

    Hi,
    I am running Jdeveloper 9.0.3.1 and using embedded OC4J.
    Getting following error when trying to run the application. Please help me if you can.
    Thanks
    Tareq
    at org.xml.sax.helpers.XMLReaderFactory.createXMLReader(XMLReaderFactory.java:90)
         at net.sundog.struts.ActionFinderPlugIn.parseHtmlFiles(ActionFinderPlugIn.java:76)
         at net.sundog.struts.ActionFinderPlugIn.searchDirectory(ActionFinderPlugIn.java:64)
         at net.sundog.struts.ActionFinderPlugIn.init(ActionFinderPlugIn.java:50)
         at org.apache.struts.action.ActionServlet.initModulePlugIns(ActionServlet.java:1156)
         at org.apache.struts.action.ActionServlet.init(ActionServlet.java:472)
         at javax.servlet.GenericServlet.init(GenericServlet.java:258)
         at com.evermind[Oracle9iAS (9.0.3.0.0) Containers for J2EE].server.http.HttpApplication.loadServlet(HttpApplication.java:1956)
         at com.evermind[Oracle9iAS (9.0.3.0.0) Containers for J2EE].server.http.HttpApplication.findServlet(HttpApplication.java:4355)
         at com.evermind[Oracle9iAS (9.0.3.0.0) Containers for J2EE].server.http.HttpApplication.getRequestDispatcher(HttpApplication.java:2750)
         at com.evermind[Oracle9iAS (9.0.3.0.0) Containers for J2EE].server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:617)
         at com.evermind[Oracle9iAS (9.0.3.0.0) Containers for J2EE].server.http.HttpRequestHandler.run(HttpRequestHandler.java:259)
         at com.evermind[Oracle9iAS (9.0.3.0.0) Containers for J2EE].server.http.HttpRequestHandler.run(HttpRequestHandler.java:106)
         at EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(PooledExecutor.java:803)
         at java.lang.Thread.run(Thread.java:534)

    try to look on xml.apache.org for this error. There should be some pages describing how and why setup this property.
    Basically, these properties defines factories for javax extensions. javax defines interfaces and providers than supply implementations, so for example you can use different XML parsers implementations (we use Xalan for one OC4J container and original ORACLE parser for other). To bind this together they use some defined mechanism like setting system property of including special manifest file etc. (I don't know about details)
    Myrra

  • When I got a new iPhone5, I experienced short battery life, and system sofware issues were not the cause. The camera also takes a blury picture regardless of lighting and I have the black one. Has anyone else experienced similar problems?

    When I got a new iPhone5, I experienced short battery life, and system sofware issues were not the cause. The camera also takes a blury picture regardless of lighting and I have the black one. Has anyone else experienced similar problems?

    What makes you so sure it isn't software?
    The camera can be focused by take the point of focus on the touch screen.
    If it is new as you said, it should be under warranty. Make a Genius Bar appointment or contact Apple with a repair request.

  • How to specify class name in environment or system property

    Hi,
    Iam learning ejb. I was practicing the stateless session bean. I wrote a sample hello world application. While executing the client am getting the following error.
    {color:#ff0000}Exception in thread "main" javax.naming.NoInitialContextException: Need to specify class name in environment or system property, or as an applet parameter, or in an application resource file: java.naming.factory.initial
    at javax.naming.spi.NamingManager.getInitialContext(Unknown Source)
    at javax.naming.InitialContext.getDefaultInitCtx(Unknown Source)
    at javax.naming.InitialContext.getURLOrDefaultInitCtx(Unknown Source)
    at javax.naming.InitialContext.lookup(Unknown Source)
    at hw.HelloClient.main(HelloClient.java:20){color}
    My Client program:
    {color:#3366ff}package hw;
    import javax.naming.Context;
    import javax.naming.InitialContext;
    import javax.naming.*;
    import java.util.*;
    public class HelloClient {
    public static void main(String[] args)throws Exception {
    Properties prop = System.getProperties();
    Context ctx= new InitialContext(prop); {color:#800000}// {color}{color:#800000}(Line no :20) here only error is pointing{color}
    Object obj = ctx.lookup("HelloHome");
    HelloHome home = (HelloHome)javax.rmi.PortableRemoteObject.narrow(obj,HelloHome.class);
    Hello hello = home.create();
    System.out.println(hello.hello());
    hello.remove();
    }{color}
    please suggest me a solution.
    note: iam using eclipse ganymede and jboss app server
    Edited by: Arun_ece on Mar 10, 2009 1:13 AM

    Hi,
    You need to create a ejb-jar.xml and jboss.xml files to deploy the application on the servers.
    Also, put these lines of codes after getting System Properties.
    prop.put(Context.PROVIDER_URL, "iiop://localhost:[port_no]");Thanks,
    Srikant

  • How to specify alias name in system property while making 2way SSL con ?

    Hi All,
    I am tring to run a java client with 2way SSL which uses CAC card as keystore for the client. I have addded the following system property in my client program to make it work and change the java.security file to add pcks11 provider.
    System.setProperty("javax.net.ssl.keyStoreType", "pkcs11");
    System.setProperty("javax.net.debug", "ssl");
    The program works fine and handshake is successfully done . But the problem is when i have more than one trusted certificate in the CAC card, it take a default certificate. I want to specify the certificate that should be used to do the client auth maybe specify the alias name . I didnt find any system property to do so.
    Please let me know how to specify alias name as system property so that the 2way SSL used the specified alias for the client auth or is there any other way to specify the alias name. As in case i acccess the server URL from any browser i get a certificate selection prompt and the connection is established with the selected certificate.
    Thanks in advanced,
    Ruhul

    I didn't find any system property to do so.There isn't one.
    Please let me know how to specify alias name as system propertyYou can't.
    You would have to write a custom KeyManager. See the JSSE Reference Guide.

  • System property in managed server

    I have a little problem with my managed server. I want to put this
    "-Dsteria.log4j.configuration=%WL_HOME%\user_domains\NesDomain\log4j.properties"
    "-Dsteria.log4j.interval=30000", in the start script to the managed server, but
    I can't get it to work. I have tried to put it in the startWLS.cmd, startNodeManager.cmd
    and even in the startWLS of my admin server, but nothing helps.
    When I make a System.getProperty("steria.log4j.configuration");
    null is returned.

    -Dmyarg=superduper
    You can view this in the weblogic.log:
    BEA-141034 Jun 26, 2003 8:06:20 AM PDT Info Management
    Java system property: myarg = superduper.
    cheers
    mbg
    "Kris" <[email protected]> wrote in message
    news:3efaa4a4$[email protected]..
    >
    I am using the nodeManager to start the servers, I also tryed to put themas you
    say in the arguments, but I am not sure about the syntax to use, can youwrite
    me an ex. thanks
    '"Mark Griffith" <[email protected]> wrote:
    What version of WLS?
    How are you starting the server?
    If you are starting the server via the startManagedServer.cmd then
    putting
    it in the start script is the way.
    IF you are starting the server via the node manager then you need to
    specify
    these args in the console under
    mydomain --> Servers --> "myserver"
    Configuration Tab ==> RemoteStart Tab, the "Arguments" field.
    Cheers
    mbg
    "Kris" <[email protected]> wrote in message
    news:3ef9ccbf$[email protected]..
    I have a little problem with my managed server. I want to put this
    "-Dsteria.log4j.configuration=%WL_HOME%\user_domains\NesDomain\log4j.propert
    ies"
    "-Dsteria.log4j.interval=30000", in the start script to the managedserver, but
    I can't get it to work. I have tried to put it in the startWLS.cmd,startNodeManager.cmd
    and even in the startWLS of my admin server, but nothing helps.
    When I make a System.getProperty("steria.log4j.configuration");
    null is returned.

  • Web.xml system-property

    Hi
    i am using resin, and i need to insert a <system-property> tag in the web.xml file, but the problem is that this doesn't work.
    I get an error saying that this tag is not valid.
    In the Resin documentation it says that i can put this tag in app (web.xml) level or in a server level (app-default.xml)
    In a server level it works fine, but i don't want to make to use this property for all applications, only to this one.
    Thanks

    Hi
    i am using resin, and i need to insert a <system-property> tag in the web.xml file, but the problem is that this doesn't work.
    I get an error saying that this tag is not valid.
    In the Resin documentation it says that i can put this tag in app (web.xml) level or in a server level (app-default.xml)
    In a server level it works fine, but i don't want to make to use this property for all applications, only to this one.
    Thanks

  • Change in system property

    Hi,
    I want to know if I set a system property "-Dweblogic.ThreadPoolSize", how will the
    WLS get to know that the pool size has been changed, at run time?
    E.g. I pass -Dweblogic.ThreadPoolSize=30 from the command-line. Then if I change
    the pool size to 40 at runtime by setting system property by calling System.setProperty(String,
    String);, is there any event that I can fire for the change in property through APIs?
    Thnx in advance.
    Best Regards
    Ali

    Monitoring system properties for change can be done with JMX I think.
    But for ThreadPoolSize in WLS 6.0, I don't think there is a documented JMX
    MBean. (Maybe it exists but it's undocumented.)
    In 6.1, 7.0, there's the concept of ExecuteQueue.
    http://e-docs.bea.com/wls/docs70/javadocs/weblogic/management/configuration/
    ExecuteQueueMBean.html
    You can monitor a change by using the notification mechanism:
    http://e-docs.bea.com/wls/docs70/jmx/notifications.html
    Good luck,
    Emmanuel
    "Ali" <[email protected]> wrote in message
    news:3d0d27a4$[email protected]..
    >
    Hi,
    I want to know if I set a system property "-Dweblogic.ThreadPoolSize", howwill the
    WLS get to know that the pool size has been changed, at run time?
    E.g. I pass -Dweblogic.ThreadPoolSize=30 from the command-line. Then if Ichange
    the pool size to 40 at runtime by setting system property by callingSystem.setProperty(String,
    String);, is there any event that I can fire for the change in propertythrough APIs?
    >
    Thnx in advance.
    Best Regards
    Ali

Maybe you are looking for