Changing LogManager configuration in WebStart

I have an application that I intend to deploy with WebStart. The application uses the java.util.logging features to display log messages to a Swing control on the screen. I've implemented a class that extends Handler to receive the messages logged to the LogManager. I added this handler to the logging.properties file to load at start time. This all works fine when I run as a standalone application from a jar file.
I've run into several problems when I try to deploy with WebStart:
First, webstart does not seem to honor the System properties "java.util.logging.config.class" and "java.util.logging.config.file." I've set these in my .jnlp file and can see that they are properly set in my main routine, but they appear to be ignored by javaws.exe at startup. It appears that webstart sets the LogManager with a predefined configuration.
Second, if I do force the LogManager to read a new configuration using the readConfiguration(InputStream) method, any classes (Handlers) that are not on the system classpath at startup time cannot be found when it comes time to log messages to them. I'm guessing that this is caused by the fact that a different class loader is assigned to the logging thread than the loader for the application (Bug 4665132).
Does anyone have any clues as to how I might get a new handler into the LogManager?
Thanks in advance.

I m using the extension tag in jnlp file but unable to load my custom handlers
both JNLP file:
// main - file
<?xml version="1.0" encoding="utf-8" ?>
<jnlp spec="1.5+" codebase="http://192.168.0.147/main/" href="main.jnlp">
<information>
     <homepage href="." />
     <title>FTKHI</title>
     <vendor>Test</vendor>
     <description>Test</description>
     <description kind="short">test</description>
     <icon href="images/logo.jpg" />
     <icon kind="splash" href="images/logo.jpg"/>
     <offline-allowed />
</information>
<security>
     <all-permissions />
</security>
<resources>
     <j2se version="1.4.2+" />
          <jar href="lib/com.jar" main="true"/>
     <extension name="support" href="install/support.jnlp"/>
<property name="sun.awt.exception.handler" value="com.support.packages.swing.java.SwingAssertionExceptionHandler" />
<property name="java.net.preferIPv4Stack" value="true" />
<property name="com.support.packages.registry.URL" value="http://192.168.0.147/iil/Registry.conf"/>
</resources>
<application-desc main-class="com.iil.components.iil.java.Main" />
</jnlp>
// support - file
<?xml version="1.0" encoding="utf-8" ?>
<jnlp spec="1.5+" codebase="http://192.168.0.147/iil/install/" href="support.jnlp">
<information>
     <homepage href="." />
     <title>supportLib</title>
     <vendor>Lib</vendor>
     <description>Library</description>
     <description kind="short">ABCD</description>
     <icon href="images/logo.jpg" />
     <icon kind="splash" href="images/logo.jpg"/>
     <offline-allowed />
</information>
<security>
     <all-permissions />
</security>
<resources>
          <jar href="../lib/support.jar" />
          <jar href="../lib/activation-1.0.2.jar" />
          <jar href="../lib/CalendarBean.jar" />
          <jar href="../lib/commons-beanutils-bean-collections.jar" />
          <jar href="../lib/commons-beanutils-core.jar" />
          <jar href="../lib/commons-beanutils.jar" />
          <jar href="../lib/commons-chain-1.0.jar" />
          <jar href="../lib/commons-collections-3.1.jar" />
          <jar href="../lib/commons-digester-1.7.jar"/>
          <jar href="../lib/commons-collections-testframework-3.1.jar" />
          <jar href="../lib/commons-lang-2.0.jar" />
          <jar href="../lib/commons-logging-api.jar" />
          <jar href="../lib/commons-logging.jar" />
          <jar href="../lib/gnu.jar" />
          <jar href="../lib/itext-1.3.1.jar" />
          <jar href="../lib/jasperreports-1.2.0.jar" />
          <jar href="../lib/jbcl.jar" />
          <jar href="../lib/junit-3.8.2.jar" />
          <jar href="../lib/mail-1.3.3.jar" />
          <jar href="../lib/msbase.jar" />
          <jar href="../lib/mssqlserver.jar" />
          <jar href="../lib/msutil.jar" />
          <jar href="../lib/mysql-connector-java-3.1.11-bin.jar" />
          <jar href="../lib/poi-2.5.jar" />
          <jar href="../lib/velocity-1.4.jar" />
          <jar href="../lib/velocity-dep-1.4.jar" />
          <jar href="../lib/velocity-tools-generic-1.1.jar" />
</resources>
<resources os="Windows">
          <nativelib href="../lib/win32/support.nativewin32.jar"/>
</resources>
<component-desc/>
</jnlp>
the support.jar contains the CustomHandlers for logging.
yet i m getting the same
Can't load log handler "com.support.packages.logger.java.ExceptionHandler"
java.lang.ClassNotFoundException: com.support.packages.logger.java.ExceptionHandler
java.lang.ClassNotFoundException: com.support.packages.logger.java.ExceptionHandler
     at java.net.URLClassLoader$1.run(Unknown Source)
     at java.security.AccessController.doPrivileged(Native Method)
     at java.net.URLClassLoader.findClass(Unknown Source)
     at java.lang.ClassLoader.loadClass(Unknown Source)
     at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
     at java.lang.ClassLoader.loadClass(Unknown Source)
     at java.util.logging.LogManager$7.run(Unknown Source)
     at java.security.AccessController.doPrivileged(Native Method)
     at java.util.logging.LogManager.initializeGlobalHandlers(Unknown Source)
     at java.util.logging.LogManager.access$900(Unknown Source)
     at java.util.logging.LogManager$RootLogger.getHandlers(Unknown Source)
     at java.util.logging.Logger.log(Unknown Source)
     at java.util.logging.Logger.doLog(Unknown Source)
     at java.util.logging.Logger.log(Unknown Source)
     at com.support.packages.logger.java.Logger.log(Logger.java:34)
     at com.support.packages.event.java.EventThread.run(EventThread.java:173)
     at java.lang.Thread.run(Unknown Source)
and if i copy all these files to jre/lib/ext dir manually then its works fine but dont want this solution. Please solve my prob

Similar Messages

  • I am using a work laptop and have the same problem. When I try to change the "configure proxy", they only available option is "use this proxy server for all protocols". Could it be that my system administrator blocked me from changing it since they don'

    I am using a work laptop and have the same problem. When I try to change the "configure proxy", they only available option is "use this proxy server for all protocols". Could it be that my system administrator blocked me from changing it since they don't want us to use Firefox.
    == User Agent ==
    Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 5.1; Trident/4.0; GTB6.4; FNGP_SYS)

    Start Firefox in [[Safe Mode]] to check if one of your add-ons is causing your problem (switch to the DEFAULT theme: Tools > Add-ons > Themes).
    See [[Troubleshooting extensions and themes]] and [[Troubleshooting plugins]]
    If it does work in Safe-mode then disable all your extensions and then try to find which is causing it by enabling one at a time until the problem reappears.
    You can use "Disable all add-ons" on the ''Safe mode'' start window.
    You have to close and restart Firefox after each change via "File > Exit" (on Mac: "Firefox > Quit")

  • How to restrict the authorization to change backgroud configuration

    hello , I copy some users from my admin user which contain the sap_all profile. so these uses can change background configuration.     now,  I want to restrict the authorization that they can only view the background configuration but can not change it .        how can I set this authorization?     Can I change the sap_all profile? how to set it?
    thanks.

    Hi,
    You can copy the SAP_ALL profile to a new name say Z_SAP_ALL and provide display access to all the authorization object and make sure you remove all the critical tcodes in the Z_SAP_ALL profile.
    Once you are done with testing the role assign it to the user.
    Also search the threads in the forum...
    Rakesh

  • I updated my Iphone 3gs to last version of iOS and now I can't change my configurations of Mail, Contacts, Calendars.

    I updated my Iphone 3gs to last version of iOS and now I can't change my configurations of Mail, Contacts, Calendars.

    Generally that is a sign that the iPhone had previously been jailbroken
    or hacked to work with other than the original wireless provider. The update
    has relocked the iPhone to the original wireless provider. You must
    contact them to see if they provide unlocking and if you qualify.
    If you can get that far, what does it say when you look at
    Settings=>General=>About=>Carrier?

  • I have changed the configuration of the firefox and I want to change it back

    some days ago I have changed the configuration of the my Firefox to have a Firefox with higher speed. But after changing I found that the speed has became slower. I want to change the configuration back to its original setting. Please let me know if there is any way to do it.
    may tanks for your helps.
    MIMLINUX

    Start Firefox in [[Safe Mode]]. When you get to the [https://support.mozilla.com/en-US/kb/Safe+Mode#Safe_Mode_window Safe Mode window] , select '''Reset all user preferences to Firefox defaults''' and then '''Make Changes and Restart'''. You have to be very careful when a site tells you to change Firefox's settings. It may harm your Firefox.

  • Safari was very slow in opening up Google sites.  I found a discussion thread that suggested changing the "Configure IPv6" setting to "Off" in the System Preferences, Network, Advanced, TCP/IP section.  That seems to work well.  Are there any risks?

    Safari was very slow in opening up Google sites.  I found a discussion thread that suggested changing the "Configure IPv6" setting to "Off" in the System Preferences, Network, Advanced, TCP/IP section.  That seems to work well.  Are there any risks to leaving the Configure IPv6 setting to Off?

    Nope. You can always reverse that if you choose.

  • Change Management Configuration for SolMan 4.0 SP13

    Hi SolMan Experts,
    Recently, we have build SolMan4.0. As of now, we have configured this for System monitoring and EWA reports.
    Now, we are planning to configure for Change Management.
    Could you please provide me the useful documents for CHANGE MANAGEMENT configuration on SolMan4.0.
    Thanks in advance!
    Regards,
    Hari.

    Hello
    Follow the same steps which mentioned for SP12, as per my understanding there is not much difference in basic configuration of solution manager 4.0.
    Create systems in SMSY, RFC connections, create logical system, create project, activate charm, these are the basic steps.
    You will get information on this on saphelp and also go through the solman rkt (service.sap.com/rkt),
    sap market place &#61664; sap support infrastructure &#61664; solution manager &#61664; media library (u will find all documents)
    Even they gave given the charm configuration guide for SP12, u will find that in technical papers.
    Hope this will help
    Regards,
    Sharmishtha

  • Change in configuration

    Hi Team,
    i have updated one parameter fewdays back which will require a restart of services to effect
    now services are restated and the parameter is in effect.
    Is there any way that i can know at wht time/date the change of configuration done?
    Auditing not enaled by default ;-)
    Thanks in advance,
    Regards,
    MadanMohan
    Edited by: MadanMohanB on Jul 7, 2010 9:54 PM
    Edited by: MadanMohanB on Jul 7, 2010 9:58 PM

    Hi Jitesh,
    I believe, that though there are several debit and credit line amounts pertaining to GR/IR Clearing account. System will do clear with transaction F.13 based on sort key information at GL Account.
    If the GL Account Sort Key gets changed, then to be cleared manually with T.Code F-03. Here you will not be in a position to clear if the debit and credit items are huge.
    Then go to FBL3N, match the both credit and debit with same information at Assignment field and do Clearing with F.13
    As we know, it is very big taks. You have to struggle for which the mistake was happend and ensure that the sortkey should not be changed where there are line items to be cleared.
    Regards
    VG

  • CUP/CUCM IP Address change - how to change the configuration of Jabber/CUPC in batch

    I have an implementation of CUCM / CUP with endpoints Cisco Jabber and CUPC.
    The CUCM/CUP IP address will change.
    Is there a way to change the configuration of Cisco Jabber / CUPC on all devices?
    Regards,
    Ronaldo

    CUPC:
    There is a registry setting that you can specify.
    HKEY_CURRENT_USER\Software\Cisco Systems, Inc.\Client Services Framework\AdminData\CUPServer
    CUPS
    You will also need to make changes to the CUPS config for the TFTP, CTI gateway and CCMCIP settings.
    Application -> Cisco Jabber/CUPC -> Setttings.
    You'll also need to change the truck settings to CUCM if you have this configured.
    Jabber:
    Not 100% sure on Jabber. Maybe someone else can comment on that.
    Thanks,
    - Colin

  • Changing the configurations of pre-configured BOM on a Sales Order

    Hello experts,
    Our client's business is similar to OEC Computers. However, I am not able to map the following business scenario:
    They sell servers to customers however, it is unusual that the client buys the pre-configured model as provided by the principal. therefore, as per the specific requirements of customer they change the configuration of the server.
    For e.g. the pre-configured model has 2GB of RAM however, the customer wants to replace the the 2GB RAM with a 4GB RAM.
    The replacement is important to track as Inventory will have an affect on it.
    Please advise the possible solutions.
    Regards

    Hi Adeel,
    At the time of Production order you chane the 4GB RAM Instead of 2GB.
    Traking of the Replacement item you use some Additional query report to be use.
    *Close the thread if issue solved.
    Regards
    Jambulingam.P

  • Oracle Change and Configuration Management packs

    Hi,
    We are looking at implementing the Oracle Change and Configuration Management packs.
    I would be very interested to hear from anybosy who is currently using these packs.
    I have done some preliminary tests, and am getting what seems like a very simple error, but i am at a loss as to how to fix it.
    Will respond to replies with exact error and scenario.
    thanks in advance.
    melvyn

    Hi Nayab,
    We are looking to implement the change and configuration management packs, to automate our change control.
    As part of my initial testing i have the following scenario...
    I have three database (namely TEST_DB, QA_DB and PROD_DB) all configured and manageable in EM.
    I have create a sample test schema in TEST_DB with tables, views, sequences, procedures and triggers.
    Using EM, i am able to transfer the sample schema (with all objects) from the TEST_DB to the PROD_DB.
    If i manually create the sample schema in the QA_DB, i am able to transfer the sample schema from the QA_DB to the PROD_DBm using EM.
    When i try to transfer the sample schema from the TEST_DB to the QA_DB i get an error in the synchronization phase.
    The capturing of the baseline, and the dictionary comparison phase complete successfully, but when i do the synchronization phase, i get
    the follwing error...
    SQL> ERROR:
    ORA-01034: ORACLE not available
    ORA-27101: shared memory realm does not exist
    SVR4 Error: 2: No such file or directory
    Process ID: 0
    Session ID: 0 Serial number: 0
    This seems strange because, it must have been able to see the destination database for it to complete the dictionary comparison phase, so
    i cannot understand now why it cannot connect to the destination database to complete the synchronization phase.
    any assistance would be greatly appreciated.
    thanks
    Melvyn

  • Howto change Quoram configuration in win2003R2

    Howto change Quorum configuration in win2003R2. I have two nodes cluster and I want to change quorum setting as below.
    Node and Disk Majority (recommended for clusters with an even number of nodes)
    Any comment will be appreciated. Thanks. Zahid Haseeb.

    Hi,
    You can refer the following similar thread:
    How to change quorum drive with cluster.exe
    http://social.technet.microsoft.com/Forums/windowsserver/en-US/6752b31d-a9bb-4da0-94c6-89a616188af7/how-to-change-quorum-drive-with-clusterexe?forum=winserverClustering
    Hope this helps.
    We
    are trying to better understand customer views on social support experience, so your participation in this
    interview project would be greatly appreciated if you have time.
    Thanks for helping make community forums a great place.

  • Changing port configuration with Event Manager

    Hello,
    I'm trying to change the configuration of a port when the port goes down with EEM.
    So when an flex connect access-point is disconnected the port becomes an access-port.
    I don't want to use the MAC address.
    Does anyone has experience with this.
    Below is the applet I'm using.
    Thanks in advanced, 
    Michel
    event manager applet CONFIG-ACCESS-PORT
     event neighbor-discovery interface regexp "(FastEthernet[0-9]\/[0-9]+)" cdp delete
     action 100 regexp "(AIR-LAP)" "$_nd_cdp_platform" value
     action 110 if $_regexp_result eq "1"
     action 200 cli command "enable"
     action 210 cli command "config t"
     action 220 cli command "interface $_nd_local_intf_name"
     action 240 cli command "switchport mode access"
     action 250 cli command "switchport access vlan 20"
     action 260 cli command "no switchport trunk encapsulation dot1q"
     action 270 cli command "no switchport trunk native vlan 88"
     action 280 cli command "no switchport trunk allowed vlan 88,100"
     action 290 cli command "spanning-tree portfast"
     action 400 syslog msg "EXECUTED EEM APPLET FOR ACCESS-PORT interface $_nd_local_intf_name"
     action 500 cli command "end"
     action 510 cli command "copy run start"

    Hi Evan,
    For sure! There is a really good example on the configuration guide, and assciated caveats.
    http://www.cisco.com/en/US/docs/wireless/controller/7.4/configuration/guides/consolidated/b_cg74_CONSOLIDATED_chapter_0100011.html
    Benefits for using LAG is increased bandwidth, and redundancy - especially if you have the two (or more in the case of a 5508 WLC) ports connected to different physical switches, eg a 3750 stack.
    Best,
    Evan

  • How to change the Configuration of Serviceable material in Repair Sales Ord

    Hi,
    I have to change the configuration of the main item of a repair sales order which will have a serviceable material
    for an inbound interface.
    Is there a standard FM or BAPI/RFC available to do so. I tried using CUCB_CHANGE_CONFIGURATION and CUCB_SET_CONFIGURATION but they dont work, meaning they dont raise any exception and sy-subrc is set to zero but still the changes are not reflected once i check it in the transcation.
    Any input is appreciated.
    With thanks in advance,
    Sharath.

    HI,
    If you are using condion record, you can change the value for the required condition type so that it will flow to PO. IF you are not using that, you can change the price at the line item level in PO itself.
    Regards
    Ram

  • Change Register Configuration

    Hi all,
    I want to Edit the Register configuration programatically,which we are doing manually through the T code EG31.
    After giving the information in the first page of Full installation(EG31) and click Enter,then we go to the
    EDIT - > Change Register Configuration  ,
    a pop up occur asking to select the register in the check box
    Here if we click the check box for register used and click continue the the register get added in the list.
    so is there any function module to do it programatically..
    Bikash
    Edited by: bikash111 on May 11, 2011 8:53 AM
    Edited by: bikash111 on May 11, 2011 8:54 AM

    Hi,
    with that confreg the router ignores the start-up configuration on the next reload.
    Maybe for a password recovery ...
    See that:
    http://www.cisco.com/en/US/products/sw/iosswrel/ps5187/products_tech_note09186a00802017a1.shtml
    http://www.cisco.com/en/US/products/hw/routers/ps259/products_password_recovery09186a0080094675.shtml
    HTH
    Andrea

Maybe you are looking for

  • Shuffle shows in explorer, works on iBook, not in iTunes on XP

    My wife has a shuffle, my iPod photo works/updates etc. on the PC, the shuffle shows up fine in Explorer and I can browse it. I also plugged it into my iBook, shows up fine there too and says it's linked to the other computer and shows it as formatte

  • HP LaserJet M1217nfw MFP used to print wirelessly, now won't

    At some point the printer stopped printing wirelessly.  I completely uninstalled and reinstalled the software from DVD, and have run "wireless" setup several times.  It will only print through a USB cable.  ScanDr only reports that it can't communica

  • Before proceeding you must first launch adobe acrobat and accept the end user license agreement

    Our situation is as follows: - We have 300 + computers with both Acrobat Pro and Reader installed - When Acrobat and Reader are installed, and our users try to open a .pdf file using Internet Explorer, they are prompted to launch Acrobat and accept t

  • X2200M2 No POST

    I have a SunFire X2200M2. During an extended power outage lost power on the UPS. Iḿ not sure if the server performed a clean shutdown. I powered the server back up and it did not boot. eLOM works. Console has no output at all. I never see the BIOS pr

  • HP Pavilion DV6 3036tx_Whe​n Idle in 70s

    I'm currently on Google Chrome and check the temps on SpeedFan or GPU-Z which both show that I'm 74c. I'm currently running AMDs 13.9 catalyst driver and have the latest (2011) bios for this model. If there are any other details you wish me to get, p