1 Reply Latest reply on Dec 1, 2004 10:11 AM by infectedrhythms

    Is config cached with persistance?

    infectedrhythms Novice

      I wrote my service that once it starts to connect to an external URL using SSL. One of the properties the path to my Keystores. The service starts and connects to the external URL and produces an XMLRPC error only do to the fact that I have some small bugs in the XMLRPC server am trying to connect to. I then go to the jmx-console change the path by making it wrong stop and restart the service yet it still works!?

      I read the path propertie in the start method and print it just before I do all the keystore laoding and URLConnection.

      I would asume that by passing the wrong keystore path... I would at least get Default SSL Context not initialized...

      [org.TestService] Starting tmi:service=TestService
      [org.TestService] Starting service...
      [org.TestService] Cert Path: c:\\jboss-4.0.0\\server\\minimal\\conf\\
      [org.TestService] org.apache.xmlrpc.XmlRpcException: java.lang.NoSuchMethodException: org.TestHandler.hello()
      [org.TestService] Started tmi:service=TestService
      [org.TestService] Stopping tmi:service=TestService
      [org.TestService] Stopping service...
      [org.TestService] Stopped tmi:service=TestService
      [org.TestService] Starting tmi:service=TestService
      [org.TestService] Starting service...
      [org.TestService] Cert Path: c:\\jboss-4.0.0\\server\\minimal\\conf\\huh
      [org.tmi.TestService] org.apache.xmlrpc.XmlRpcException: java.lang.NoSuchMethodException: org.TestHandler.hello()
      [org.TestService] Started tmi:service=TestService
      [org.TestService] Stopping tmi:service=TestService
      [org.TestService] Stopping service...
      [org.TestService] Stopped tmi:service=TestService
      [org.TestService] Destroying tmi:service=TestService
      [org.TestService] Destroyed tmi:service=TestService
      2004-12-01 09:18:51,867 WARN [org.jboss.deployment.DeploymentInfo] Could not delete file:/C:/jboss-4.0.0/server/minimal/tmp/deploy/tmp24617xmlrpc-1.2-b1.jar restart will delete it
      [org.TestService] Creating tmi:service=TestService
      [org.TestService] Created tmi:service=TestService
      [org.TestService] Starting tmi:service=TestService
      [org.TestService] Starting service...
      [org.TestService] Cert Path: c:\\jboss-4.0.0\\server\\minimal\\conf\\huh
      [org.TestService] org.apache.xmlrpc.XmlRpcException: java.lang.NoSuchMethodException: org.TestHandler.hello()
      [org.TestService] Started tmi.org:service=TestService