Configuration File Caching

I am having a strange issue with some of my configuration files in WLS 10.3. I have deployed OIM/SOA as managed servers on a remote machine. Whenever I update the logging.xml file to include additional logging information, the file is wiped out after I restart the instance. I cannot figure out where this default file is coming from. Any ideas on what may be causing this strange behavior?
Thanks,
Pete

I have similiar problem with partition listener. But made it work by addling <class-name>.
So give this a try
<member-listener><class-name>com.sample.MemberEventLogger</class-name></member-listener>

Similar Messages

  • Logging in without BI Configuration file

    Is there any sample for using BI Beans without configuration file? I tried to create all objects (BISession, BIUser, MetadataManager, connections) and link them, but reached NullPointerAssignment and simular errors only.

    This is a code extract from a Java Client sample that you should be able to integrate into a JSP environment:
    * Connects to the OLAP service and BI Beans Catalog using connection
    * information from the BI Configuration file and from the BIConectionDialog.
    protected void connect() {
    * Try to connect to the catalog based on the information collected in method
    * showConnectDialog()
    * - File based must be a valid directory (validated in showConnectDialog())
    * - Database must be a valid connection. The OLAP user will be the catalog
    * user. If the OLAP user is not a Catalog user - add user to the catalog
    * - The assumption here is that if the user is utilizing the database catalog,
    * then the database catalog is in the same database instance as the OLAP data
    * If unable to connect, tell user what to do to set up connection
    // set up the session
    if (m_session != null) {
    try {
    m_session.disconnect();
    catch (Exception e) {
    System.out.println("Unable to disconnect from session.");
    m_session = null;
    m_session = new BISession();
    DefaultErrorHandler _handler = new DefaultErrorHandler();
    handler.setDebugMode(DefaultErrorHandler.SHOWNONE);
    m_session.addErrorHandler(_handler);
    // use the OLAP user for the BI User. This means the OLAP user must be a valid
    // user in the catalog
    m_session.setBIUser(new BIUser(m_OLAPUserName.getText()));
    try {
    m_session.connect();
    catch (Exception e) {
    e.printStackTrace();
    MetadataManager _mm = null;
    Connection olapCon = null;
    Connection catalogCon = null;
    * Try to connect to OLAP
    try {
    olapCon = getOLAPConnection();
    catch (ConnectionException ce) {
    showConnectionError(ce);
    return;
    * Try to connect to the catalog
    catalogCon = getCatalogConnection();
    if (catalogCon == null)
    return;
    try {
    * Create MetadataManager based on the two connections above
    * (this is set up automatically when connection details are read from
    * a configuration file)
    _mm = new MetadataManager();
    mm.setSession(msession);
    // The MetadataManager will merge details from OLAP and the Catalog
    _mm.setConnection(olapCon);           
    _mm.setConnection(catalogCon);
    _mm.attach();
    //Now that we're successfully connected, cache key properties
    m_metadataManager = _mm;
    m_queryManager = new QueryManager();
    m_queryManager.setSession(m_session);
    m_queryManager.setMetadataManager(m_metadataManager);
    m_connected = true;
    // Save the connection details
    saveConnectionSettings();
    catch (Exception e) {
    AnalyzerUtilities au = new AnalyzerUtilities(m_analyzer);
    au.showErrorMessage(null, e);
    Hope this helps
    Business Intelligence Beans Product Management Team
    Oracle Corporation

  • Configuring file realm in weblogic server 9.2

    Hi,
    I am trying to upgrade my application from weblogic 6.1 to weblogic 9.2 and I am using compatibility security.
    I have configured a RDBMS realm and then configured the caching realm giving that RDBMS realm as its Base realm.
    Now since caching realm works with file realm. I have to configure this also. Now on click of file realm tab in weblogic 9.2 throws the following error.
    java.lang.RuntimeException: The requested operation is not exposed through JMX in this context: equals
    Caused by: java.lang.NoSuchMethodException: equals(java.lang.Object,) for com.bea:Name=CachingRealm-0,Type=CachingRealm
         at weblogic.management.jmx.modelmbean.WLSModelMBean.invoke(WLSModelMBean.java:369)
         at com.sun.jmx.mbeanserver.DynamicMetaDataImpl.invoke(DynamicMetaDataImpl.java:213)
         at com.sun.jmx.mbeanserver.MetaDataImpl.invoke(MetaDataImpl.java:220)
         at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:815)
         at com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(JmxMBeanServer.java:784)
         at weblogic.management.jmx.mbeanserver.WLSMBeanServerInterceptorBase.invoke(WLSMBeanServerInterceptorBase.java:149)
         at weblogic.management.mbeanservers.internal.SecurityMBeanMgmtOpsInterceptor.invoke(SecurityMBeanMgmtOpsInterceptor.java:63)
         at weblogic.management.jmx.mbeanserver.WLSMBeanServerInterceptorBase.invoke(WLSMBeanServerInterceptorBase.java:149)
         at weblogic.management.mbeanservers.edit.internal.EditLockInterceptor.invoke(EditLockInterceptor.java:141)
         at weblogic.management.jmx.mbeanserver.WLSMBeanServerInterceptorBase.invoke(WLSMBeanServerInterceptorBase.java:149)
         at weblogic.management.mbeanservers.internal.SecurityInterceptor.invoke(SecurityInterceptor.java:426)
         at weblogic.management.mbeanservers.internal.AuthenticatedSubjectInterceptor$10.run(AuthenticatedSubjectInterceptor.java:377)
         at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:363)
         at weblogic.management.mbeanservers.internal.AuthenticatedSubjectInterceptor.invoke(AuthenticatedSubjectInterceptor.java:375)
         at weblogic.management.jmx.mbeanserver.WLSMBeanServer.invoke(WLSMBeanServer.java:310)
         at javax.management.remote.rmi.RMIConnectionImpl.doOperation(RMIConnectionImpl.java:1408)
         at javax.management.remote.rmi.RMIConnectionImpl.access$100(RMIConnectionImpl.java:81)
         at javax.management.remote.rmi.RMIConnectionImpl$PrivilegedOperation.run(RMIConnectionImpl.java:1245)
         at java.security.AccessController.doPrivileged(Native Method)
         at javax.management.remote.rmi.RMIConnectionImpl.doPrivilegedOperation(RMIConnectionImpl.java:1348)
         at javax.management.remote.rmi.RMIConnectionImpl.invoke(RMIConnectionImpl.java:782)
         at javax.management.remote.rmi.RMIConnectionImpl_WLSkel.invoke(Unknown Source)
         at weblogic.rmi.internal.ServerRequest.sendReceive(ServerRequest.java:174)
         ... 91 more
    Can anyone help me out?
    Thank you
    Njoy
    :-)

    You may still need to define the role in the weblogic.xml file in order for deployment descriptor-based role definition to work (alternatively you could use the WebLogic Server console to define the role and policy).
    You can specify your role "testrole" as "externally-defined" as opposed to mapping it to specific principals.
    See http://e-docs.bea.com/wls/docs92/webapp/weblogic_xml.html#wp1040908
    Jeff

  • Read and write Values from Configuration File in BizTalk

    There is a requirement where Biz talk orchestration read the value dynamically from Config Store.After some process updating the value in config store.
    I though to use SQL Server and create one table with single column.Biztalk will call the Storeproc to get the value and similary for update system will call another SP.
    Instead of using SQL Server DB is there option to implement this requirement like app.config,BTSsvcxxexe.config ,SSO Config store etc.
    If multi-users access the value from Config store and try to update ,how to handle lock mechanism.

    Hi BizQ,
    Refrain from using BTSConfig file or any custom config file if you have a requirement to update the data. Modifying a
    configuration file at runtime can cause some nasty, unexpected behavior inside your application if it's not managed properly.
    I would suggest you to use Custom DB or SSO Database in this case.
    Both have their Pros and Cons.
    SSO Database:
    You get out of the box encryption
    It is a central store which will service all BizTalk servers within your group
     SSO implements a caching mechanism internally for the data
    Custom DB:
    By storing the configuration in the database you don’t have to worry about consistency of data across servers like you would with a config file.
    Cache needs to be implemented by program to avoid delays in reading from physical file.
    In your case I recommend to go with SSO DB as in terms of storing custom configuration data in SSO for End Point/Application
    specific information and credentials and potentially configuration information which you also need to write and update at runtime from your code or via an administrator.
    You can use Richard Seroter's tool to store values as "Config Store" in SSO database and then write a .net helper
    utility to retrieve it using SSOConfigStore class. It has method GetConfigInfo and you need to pass application name with other parameters. It returns ConfigurationPropertyBag from where you can read property name and values.
    http://seroter.wordpress.com/2007/09/21/biztalk-sso-configuration-data-storage-tool/ 
     http://blogs.msdn.com/b/teekamg/archive/2009/08/19/sso-configuration-application-mmc-snap-in.aspx.
    Rachit
    Please mark as answer or vote as helpful if my reply does

  • How to create multiple pof configuration files for c# client

    Is there a way to have multiple pof files for c# coherence client?
    Can I create a file called my-pof-config.xml with the following line...
    <pof-config xmlns="http://schemas.tangosol.com/pof">
    <user-type-list>
    <include>assembly://Coherence/Tangosol.Config/coherence-pof-config.xml</include>
         <include>file://pof-config.xml</include>
    and here is what pof-config.xml file look like
    <?xml version="1.0" encoding="UTF-8"?>
    <pof-config xmlns="http://schemas.tangosol.com/pof">
    <user-type-list>
    In my C# visual studio project, this is where I load my-pof-config.xml in app.config
    <coherence>
    <cache-factory-config>coherence.xml</cache-factory-config>
    <cache-config>coherence-cache-config.xml</cache-config>
    <pof-config>my-pof-config.xml</pof-config>
    </coherence>
    and this is what I saw in the log...
    2012-02-23 14:35:35,529 DEBUG Coherence (null) - 2012-02-23 14:35:35.529 level(thread=System.Threading.Thread): Loaded POF configuration from "FileResource(Uri = file://my-pof-config.xml, AbsolutePath = D:\worktrees\ads\mainline\v2\ads\demos_cs\build\my-pof-config.xml)"
    2012-02-23 14:35:35,545 DEBUG Coherence (null) - 2012-02-23 14:35:35.545 level(thread=System.Threading.Thread): Loaded included POF configuration from "EmbeddedResource(Uri = assembly://Coherence/Tangosol.Config/coherence-pof-config.xml, AbsolutePath = assembly://Coherence/Tangosol.Config/coherence-pof-config.xml)"
    2012-02-23 14:35:35,623 DEBUG Coherence (null) - 2012-02-23 14:35:35.623 level(thread=ExtendTcpCacheServiceCSharp:TcpInitiator): Loaded POF configuration from "FileResource(Uri = file://my-pof-config.xml, AbsolutePath = D:\worktrees\ads\mainline\v2\ads\demos_cs\build\my-pof-config.xml)"
    I don't see pof-config.xml is loaded at "Loaded included POF configuration....". How do I get around it so I can load multiple pof configuration files for c# client?

    Hi,
    Not sure about C# but I would suggest try removing file:// from
    <include>file://pof-config.xml</include>and keep pof-config.xml and my-pof-config.xml in the same directory.
    Hope this helps!
    Cheers,
    NJ

  • Cannot feed configuration files to lookupd started in interactive mode

    The manual page of lookupd states that lookupd may be run in an interactive mode if started with the -d option.
    It also says:
    [BEGIN TERMINAL TRANSCRIPT]
    This second copy of lookupd runs independently of the system's ``main''
    lookupd and does not provide information to other programs running on
    your system. This allows you to try queries and test configuration
    options without disturbing normal operations. The second copy of lookupd
    will attempt to read its configuration options from a NetInfo directory
    named /locations/lookupd_debug (NetInfo) or /etc/lookupd_debug (files).
    If they don't exist, it will try /locations/lookupd or /etc/lookupd.
    [END TERMINAL TRANSCRIPT]
    I created the 'global' configuration file in /etc/lookupd_debug/ but it seems that lookupd doesn't read it:
    [BEGIN TERMINAL TRANSCRIPT]
    xfox% pwd
    /private/etc/lookupd_debug
    xfox% ls -l
    total 8
    -rw-r--r-- 1 root wheel 265 Oct 25 15:54 global
    xfox% cat global
    LogFile /Users/xfox/lookupd_debug.log
    LogPriority 7
    xfox%sudo lookupd -d
    Password:
    lookupd version 369.5 (root 2006.02.10 04:16:23 UTC)
    Enter command name, "help", or "quit" to exit
    configuration
    Array: "Configuration"
    ==> 8 objects
    Dictionary: "Global Configuration"
    ConfigSource: default
    LookupOrder: Cache NI DS
    MaxIdleServers: 4
    MaxIdleThreads: 2
    MaxThreads: 64
    TimeToLive: 43200
    Timeout: 30
    ValidateCache: YES
    ValidationLatency: 15
    configname: Global Configuration
    Dictionary: "Host Configuration"
    LookupOrder: Cache FF DNS NI DS
    configname: Host Configuration
    Dictionary: "Service Configuration"
    LookupOrder: Cache FF NI DS
    configname: Service Configuration
    Dictionary: "Protocol Configuration"
    LookupOrder: Cache FF NI DS
    configname: Protocol Configuration
    Dictionary: "Rpc Configuration"
    LookupOrder: Cache FF NI DS
    configname: Rpc Configuration
    Dictionary: "Group Configuration"
    TimeToLive: 60
    ValidateCache: NO
    configname: Group Configuration
    Dictionary: "Initgroup Configuration"
    TimeToLive: 300
    ValidateCache: NO
    configname: Initgroup Configuration
    Dictionary: "Network Configuration"
    LookupOrder: Cache FF DNS NI DS
    configname: Network Configuration
    <== 8 objects
    <div class="jive-quote">quit
    xfox%
    [END TERMINAL TRANSCRIPT]
    Look for the line "ConfigSource: default".
    I think it should be something else when lookupd read its configuration from a file. Indeed, no log file is created into my home directory.
    What am I missing?

    I filed a bug report.

  • Configuration files 2

    Im still a litlle confused. Let me explain
    We have an application which uses there types of configuration files:
    - default
    - dynamic
    - customer created
    What we know:
    Dynamic .cfg files are created by our application which can then be cached locally within <user.home>
    What we dont know:
    When a super user (customer) needs to make a change
    to a .cfg file, these need to be updated on all JNLP clients.
    The same applies to our default files which may need changes.
    What we need:
    Is to place the new .cfg files on the Server and have the JNLP Client pull the .cfg files out to the client
    Where do I place these default files on the server side?
    I am a little lost for understanding?
    If they have to be placed in a .jar file, why can I not use other extensions, within JNLP file?
    .cfg .ini
    I cant expect our customers to begin signing our .jar files
    then we are back to a complex architecture.
    Thanks and regards
    Gary

    I'm working on a very similar situation. I want to be able to pass parameters to a client based dynamically on his account. Since I don't want him to have to log in, I'm hoping to store a basic cfg file locally (I still have to figure out how to do this, I'm a bit embarraed to confess.) but once I have the username and password, I can just do a call to a URL on the server, I could either do it as a .JSP page, submitting the name and password through a form submit or a URL querystring, and then have the server spit out whatever I need it to.
    Good luck, let us know how it works out!
    -ryan

  • Sharing configuration files

    Hi,
    I've a couple of different cache servers offering a mix of services. Some of the services are shared among them and others are not. Is there a mechanism where I can declare those common services a file and import or include them in the respective configuration files of the servers?
    Thanks
    Sijo Mathew

    Hi Sijo
    Or if you do not want to build things yourself you could check out the Coherence Incubator Commons here http://coherence.oracle.com/display/INC10/coherence-common which has a way of combining multiple configuration files.
    JK

  • Reading configuration files

    I have an application that I am testing in Webstart. There are about 9 configuration files that are part of the application that need to be loaded. Because of the way the application is currenlty setup, I cannot put the config files into the main jar file. I must leave them in the directory structure (com.xxxxx.yyyyy.client.config)
    The problem is when Webstart tries to start the application, I get a bunch of Unknown Source Errors as if the app cannot see the config files. I have added them to the jnlp script with the arguement tag but I still get the error.
    Is there any way to have the jnlp file create a directory in the Webstart Cache folder, copy in these config files and have Webstart see them so the app will run.
    I think this is happening due to the FileInputStreamSource designation as opposed to the JarInputStreamSource designator but I may be wrong.
    Any help would be appreciated.
    Thanks,
    Mark

    I have an application that I am testing in Webstart.
    There are about 9 configuration files that are part of
    the application that need to be loaded. Because of the
    way the application is currenlty setup, I cannot put
    the config files into the main jar file. I must leave
    them in the directory structure
    (com.xxxxx.yyyyy.client.config)
    The problem is when Webstart tries to start the
    application, I get a bunch of Unknown Source Errors as
    if the app cannot see the config files. I have added
    them to the jnlp script with the arguement tag but I
    still get the error.
    Is there any way to have the jnlp file create a
    directory in the Webstart Cache folder, copy in these
    config files and have Webstart see them so the app
    will run.
    I think this is happening due to the
    FileInputStreamSource designation as opposed to the
    JarInputStreamSource designator but I may be wrong.
    Any help would be appreciated.
    Thanks,
    MarkHi Mark,
    I am also facing the same above problem, did you find any solution for the above problem if so please let me know.
    Regards,
    Mukesh.

  • Failed to load configuration file for the workflow

    There are two of us who have full control on our Sharepoint 2013 site. I'm able to create workflows and publish them fine. The other user is able to create workflows, but he gets an error when trying to run them. I  tried opening his workflow and got
    the error "Failed to load configuration file for the workflow."
    Any ideas?

    Hi Carltonw1,
    Based on your description, I recommend to verify the things below:
    Clear the SharePoint Designer cache and then open the workflow.
    Ask the user to open the workflow in SharePoint Designer and check if the workflow contains error.
    Ask the user to create the same workflow and associated with another list to see how it works.
    Check the ULS log for more detailed error message.
    To reproduce this issue, could you please provide the detailed steps in the workflow for further research?
    Thanks,
    Victoria
    Forum Support
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact
    [email protected]
    Victoria Xia
    TechNet Community Support

  • Is PS WebServer IP address bound in any configuration files?

    We are moving our 8.20 and 8.44 tools Peoplesoft Web Servers (HCM and FSCM) to new hardware (via Physical to Virtual process). The Server names won't change though the IP addresses will. I wanted to double check with the community users to see if IP addresses are bound to any PS configuration files found on the Web Servers. I have checked config.xml and just see the Servername and listen ports but no IP address. 'running-managed-servers.xml' configuration file does have an IP and Servername but in a previous test of a physical to virtual server process, we had changied the host IP and found out that this file did get updated auotmatically with the new host IP. Not sure if there are any others??
    Appreciate insight

    Hi Ervin,
    I am trying to solve this issue with Harald. The version is 7.0213.20121105124329.0000.
    I have the feeling that it is rather a caching issue. The problem is like this:
    Current Development configuration has as Repo. location and Build Tool Location 192.168.20.99:50000. This IP is not valid anymore. New one is 10.50.0.99:50000. If we enter this address in the current configuration and save it we get the error from Haralds post. As you can see the error mentions the old IP address not the new one...
    If I create a new Dev. Conf. using 10.50.0.99:50000 there is no problem at all. I can create a fresh development configuration. But of course all our source code in the other broken development configuration. and I cant export the content from old one since it is broken because of the wrong IP address.
    If I download the XML for the old development configuration using "Download Development Configuration" I see that the old IP address is used 3 places. Is it possible to fix this XML manuallly and upload it somehow?
    Thanks and Regards,
    Koray

  • ERROR: TCP Locator (Configuring the caching loactors) ERROR

    Hi All,
    I am attempting to deploy LiveCycle ES to a WebLogic cluster which
    reside on 64bit servers. Before I can run the configuration manager,
    there is a step to run a batch file (startlocator.bat) in order to
    configure the caching locators.
    This batch file errors out with the following message:
    "ERROR: operation "start-locator" failed because: Start of locator
    failed. The end of "F:\Adobe\LiveCycle8.2\lib\caching\locator.log"
    contained this message: "".
    I checked the log and just like the above error message mentioned,
    there was nothing written into the log. Please help. How can I get
    this working, or better yet, how important is this step?
    PS. This step is located on pg. 27 of the "Configuring LiveCycle ES
    Application Server Clusters Using WebLogic" documentation.
    Regards,
    Ikhide

    Hi Jonathan,
    Could you please provide your OS details- Windows/Unix?
    If it is any unix flavor system, please execute dos2unix command on startlocator.sh and run it again.
    Thanks,
    Pankaj Parashar

  • Configuring Toplink Cache Coordination using JMS

    After having spent one whole day reading documentation on the above topic, I did not get anywhere. I am looking for a direction to start aquainting myself with Oracle JMS basics to enable me with the configuration in toplink. I hope someone could please help me in getting started, direct me to documentation and/or examples and then I could have some specific and meaningful questions to ask.
    As of now, I have these questions.
    1) In order to configure Toplink Cache Coordination using JMS, do I use Oracle AS JMS or OJMS provider?
    2) Should I be configuring OJMS before I could use Oracle AS JMS?
    3) If I am using Oracle 10.1.2 Application Server, will OJMS Database Schema be defined and the resource adapter deployed by default or is there a way I check this using Oracle Enterprise Manager Console.
    4) Should I be adding a JMS provider within the OC4J for the application I am using before I do any of the above?
    Any help will be highly appreciated.
    Thanks
    Swapna

    Ok. I found my answers
    1) In order to configure Toplink Cache Coordination using JMS, do I use Oracle AS JMS or OJMS provider?
    Either of the one can be used. Here is what I found regarding the trade off
    OJMS and OracleAS JMS are both J2EE 1.3 compliant JMS providers from Oracle. OJMS has been integrated into OracleAS 10g using the JCA adapter while at the same time leveraging Advanced Queuing in the Oracle Database for persistence and recoverability. If database recoverability guarantees, SQL queriability, transparent application failover, message transformation, propagation are required then Oracle recommends using OJMS as the JMS provider.
    OracleAS JMS is a lightweight, in-memory/file based queuing system that provides a complete J2EE 1.3 JMS implementation. It is suited for applications that do not require Oracle specific JMS extensions or the recoverability guarantees that OJMS provides.
    2) Should I be configuring OJMS before I could use Oracle AS JMS?
    No. OracleAS JMS is always provided and preconfigured, except for the topics and queues, with the OC4J installation.
    3) If I am using Oracle 10.1.2 Application Server, will OJMS Database Schema be defined and the resource adapter deployed by default or is there a way I check this using Oracle Enterprise Manager Console.
    No. The schema needs to be created by the admin and OJMS needs to be configured as the JMS Provider using this schema.
    4) Should I be adding a JMS provider within the OC4J for the application I am using before I do any of the above?
    Yes, if not using Oracle AS JMS.
    Hope that was accurate.

  • Nano syntax highlighting: catch-all syntax for configuration files

    After years of using nano, I only recently learned that it supports syntax coloring... (Why would they turn that off by default? ) Well, I thought I'll make up for it by making extra good use of it from now on...
    Unfortunately it didn't ship a highlighting syntax for the the kind of files that I use nano the most for: system configuration files.
    So I wrote my own, and after tweaking a bit here and there whenever I encountered a config file for which the highlighting wasn't satisfactory at first, I think the result is now good enough (screenshots below) that it's worth sharing with my fellow Arch users:
    Code & Instructions:
    Here is the syntax definition:
    # config file highlighting
    syntax "conf" "(\.(conf|config|cfg|cnf|rc|lst|list|defs|ini|desktop|mime|types|preset|cache|seat|service|htaccess)$|(^|/)(\w*crontab|mirrorlist|group|hosts|passwd|rpc|netconfig|shadow|fstab|inittab|inputrc|protocols|sudoers)$|conf.d/|.config/)"
    # default text
    color magenta "^.*$"
    # special values
    icolor brightblue "(^|\s|=)(default|true|false|on|off|yes|no)(\s|$)"
    # keys
    icolor cyan "^\s*(set\s+)?[A-Z0-9_\/\.\%\@+-]+\s*([:]|\>)"
    # commands
    color blue "^\s*set\s+\<"
    # punctuation
    color blue "[.]"
    # numbers
    color red "(^|\s|[[/:|<>(){}=,]|\])[-+]?[0-9](\.?[0-9])*%?($|\>)"
    # keys
    icolor cyan "^\s*(\$if )?([A-Z0-9_\/\.\%\@+-]|\s)+="
    # punctuation
    color blue "/"
    color brightwhite "(\]|[()<>[{},;:=])"
    color brightwhite "(^|\[|\{|\:)\s*-(\s|$)"
    # section headings
    icolor brightyellow "^\s*(\[([A-Z0-9_\.-]|\s)+\])+\s*$"
    color brightcyan "^\s*((Sub)?Section\s*(=|\>)|End(Sub)?Section\s*$)"
    color brightcyan "^\s*\$(end)?if(\s|$)"
    # URLs
    icolor green "\b(([A-Z]+://|www[.])[A-Z0-9/:#?&$=_\.\-]+)(\b|$| )"
    # XML-like tags
    icolor brightcyan "</?\w+((\s*\w+\s*=)?\s*("[^"]*"|'[^']*'|!?[A-Z0-9_:/]))*(\s*/)?>"
    # strings
    color yellow "\"(\\.|[^"])*\"" "'(\\.|[^'])*'"
    # comments
    color white "#.*$"
    color blue "^\s*##.*$"
    color white "^;.*$"
    color white start="<!--" end="-->"
    To install, save the above above code snippet as a file called conf.nanorc in the folder /usr/share/nano/ (or /usr/local/share/nano/ or similar if you feel strongly about the /usr <--> /usr/local separation), and then add the following to the end of the file /etc/nanorc:
    ## Configuration files (catch-all syntax)
    include "/usr/share/nano/conf.nanorc"
    Hints:
    The colors I chose look good (imo) with the terminal background and color settings that I use, but might not look good, or even readable, with yours, so simply change the color names in the code snippet to whatever you prefer - valid color names are:
    If you use a console with white background, you'll have to change at least the white color I chose for comments and punctuation.
    The first code line in the snippet includes a regular expression that defines for which file names this syntax highlighting should be used. Whenever you encounter a config file that is not matched by this, but you would still like to open it with syntax highlighting, you can manually select this syntax with nano's -Y switch, like so:
    nano -Y conf myConfigFile
    Technical Note:
    It's implemented as a single catch-all syntax, since nano chooses which syntax to apply based on the filename, and in the case of config files usually not much can be learned about the content format from the file name extension (.conf can by anything from flat key/value tuples to XML, .ini can be the official INI format or something else, etc...).
    This means that some compromises have been made, so with this highlighting syntax probably no config file looks 100% as good as a highlighting syntax that would be specifically optimized for one kind of config format, but all in all the vast majority of config files should look pretty good.
    Screenshots:
    /etc/rc.conf,  /etc/hosts:
    /etc/pacman.conf,  /etc/group:
    xorg.conf,  some .desktop file:
    httpd.conf (Apache config),  php.ini:
    More screenshots:
    /etc/fonts/fonts.conf (uses XML)
    /etc/inittab
    /etc/fstab
    /etc/inputrc
    /etc/mime.types
    /etc/protocols
    /etc/xinetd.conf
    See Also:
    nano syntax highlighting: GNU makefiles
    Update [2012-01-28]: Made some more improvements to the syntax definition (see post)
    Last edited by sas (2012-02-01 15:26:43)

    doug piston wrote:I deal with alot of .mk files and would love to see it there.
    You mean GNU makefiles?
    I'm afraid they might be out of scope for this generic config-file syntax.
    Logically they're not system config files, and technically they're a pretty specialized and complex format (different "types" of rules, rules spanning multiple lines, rules containing arbitrary Bash code, etc.).
    This is how an .mk file currently looks with this highlighting syntax:
    $ nano -Y conf /usr/lib/httpd/build/rules.mk
    And apart from highlighting variables of the form $$abc or $(abc), I'm not sure how much can be improved here without breaking the highlighting for more conventional config files.
    It would probably be better to create a specialized highlighting syntax just for .mk files.
    EDIT: I sat down and did just that, here's the result: nano syntax highlighting: GNU makefiles, and here is how the above makefile snipped looks with it:
    Last edited by sas (2012-02-01 15:18:52)

  • Error WUC-5 No WebUtil configuration file specified

    hi all
    suddenly i got the following error in my java console i google and did not find the solution.
    Did someone face the same problem ever?
    please help me out thanks in advance.
    Loading http://xp:8889/forms90/java/frmwebutil.jar from JAR cache
    Loading http://xp:8889/forms90/java/f90all_jinit.jar from JAR cache
    RegisterWebUtil - Loading WebUtil Version 1.0.6
    Loading http://xp:8889/forms90/java/jacob.jar from JAR cache
    proxyHost=null
    proxyPort=0
    connectMode=HTTP, native.
    Forms Applet version is : 9.0.4.0
    2010-Apr-15  18:52:30.406 ERROR>WUC-5 [WebUtil_Core.PopulatePropertyBundle] No WebUtil configuration file specified
    Exception occurred during event dispatching:
    java.lang.UnsatisfiedLinkError: no jacob in java.library.path
         at java.lang.ClassLoader.loadLibrary(Unknown Source)
         at java.lang.Runtime.loadLibrary0(Unknown Source)
         at java.lang.System.loadLibrary(Unknown Source)
         at com.jacob.com.Dispatch.<clinit>(Dispatch.java:537)
         at oracle.forms.webutil.ole.OleFunctions.create_obj(OleFunctions.java:398)
         at oracle.forms.webutil.ole.OleFunctions.getProperty(OleFunctions.java:189)
         at oracle.forms.handler.UICommon.onGet(Unknown Source)
         at oracle.forms.engine.Runform.onGetHandler(Unknown Source)
         at oracle.forms.engine.Runform.processMessage(Unknown Source)
         at oracle.forms.engine.Runform.processSet(Unknown Source)
         at oracle.forms.engine.Runform.onMessageReal(Unknown Source)
         at oracle.forms.engine.Runform.onMessage(Unknown Source)
         at oracle.forms.engine.Runform.processEventEnd(Unknown Source)
         at oracle.ewt.lwAWT.LWComponent.redispatchEvent(Unknown Source)
         at oracle.ewt.lwAWT.LWComponent.processEvent(Unknown Source)
         at java.awt.Component.dispatchEventImpl(Unknown Source)
         at java.awt.Container.dispatchEventImpl(Unknown Source)
         at java.awt.Component.dispatchEvent(Unknown Source)
         at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
         at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
         at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
         at java.awt.Container.dispatchEventImpl(Unknown Source)
         at java.awt.Component.dispatchEvent(Unknown Source)
         at java.awt.EventQueue.dispatchEvent(Unknown Source)
         at java.awt.EventDispatchThread.pumpOneEventForHierarchy(Unknown Source)
         at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
         at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
         at java.awt.EventDispatchThread.run(Unknown Source)Form 10G R1.
    i found this.
    Re: WUC-5 error
    sarah

    done thank for everyone.
    i modified webutil.cfg and modified the class-path(default.env)

Maybe you are looking for