Echo service not deployed

64 views
Skip to first unread message

Marc Delpont

unread,
Dec 17, 2018, 9:14:31 AM12/17/18
to dcm4che
Hi,

after a disk loss in the raid array, array was rebuild and dcm4chee restarted with deployment error :

Echo service can't be deployed, with following errors in server log : 

...
2018-12-17 14:45:27,211 ERROR -> (main) [STDERR] [Fatal Error] :-1:-1: Premature end of file.
2018-12-17 14:45:27,214 WARN  -> (main) [org.jboss.mx.persistence.DelegatingPersistenceManager] Caught exception while loading
org.xml.sax.SAXParseException: Premature end of file.
...
2018-12-17 14:45:27,217 WARN  -> (main) [org.jboss.mx.server.registry.BasicMBeanRegistry] javax.management.MBeanRegistrationException: preRegister() failed: [ObjectName='dcm4chee.archive:service=ECHOService', Class=org.dcm4chex.archive.mbean.EchoService (org.dcm4chex.archive.mbean.EchoService@856d3b)]
2018-12-17 14:45:27,217 INFO  -> (main) [org.dcm4chex.archive.mbean.EchoService] Registration is not done -> stop
2018-12-17 14:45:27,220 ERROR -> (main) [org.jboss.deployment.MainDeployer] Could not create deployment: file:/usr/local/dcm4chee/server/default/deploy/dcm4chee-echo-service.xml
org.jboss.deployment.DeploymentException: - nested throwable: (java.lang.reflect.InvocationTargetException)
...
Caused by: java.lang.reflect.InvocationTargetException
...
Caused by: javax.management.MBeanException
...
Caused by: javax.management.MBeanRegistrationException: preRegister() failed: [ObjectName='dcm4chee.archive:service=ECHOService', Class=org.dcm4chex.archive.mbean.EchoService (org.dcm4chex.archive.mbean.EchoService@856d3b)]
...
Caused by: javax.management.MBeanException
...
Caused by: org.xml.sax.SAXParseException: Premature end of file.
...

--- Incompletely deployed packages ---
org.jboss.deployment.DeploymentInfo@2c77a14f { url=file:/usr/local/dcm4chee/server/default/deploy/dcm4chee-echo-service.xml }
  deployer: org.jboss.deployment.SARDeployer@d3db51
  status: Deployment FAILED reason: - nested throwable: (java.lang.reflect.InvocationTargetException)
  state: FAILED
  watch: file:/usr/local/dcm4chee/server/default/deploy/dcm4chee-echo-service.xml
  altDD: null
  lastDeployed: 1545054327190
  lastModified: 1545054327000
  mbeans:

org.jboss.deployment.DeploymentInfo@a17c88d2 { url=file:/usr/local/dcm4chee/server/default/deploy/dcm4chee-echo-service.xml.save }
  deployer: null
  status: null
  state: INIT_WAITING_DEPLOYER
  watch: file:/usr/local/dcm4chee/server/default/deploy/dcm4chee-echo-service.xml.save
  altDD: null
  lastDeployed: 1545054346507
  lastModified: 1545054346000
  mbeans:

...

--- MBEANS THAT ARE THE ROOT CAUSE OF THE PROBLEM ---
ObjectName: dcm4chee.archive:service=ECHOService
  State: NOTYETINSTALLED
  Depends On Me:
    dcm4chee.archive:service=AE

...

So I guess there is some sort of corrupted file that can't be read and prevents Echo service to be deployed, but I can't find it.

file /usr/local/dcm4chee/server/default/deploy/dcm4chee-echo-service.xml exists and is readable.
I compared its content with the same file on another dcm4chee working instance, and it is exactly the same.

If anyone has an idea, please tell me where to look.

Marc

Sherif Safwat

unread,
Dec 18, 2018, 10:51:38 AM12/18/18
to dcm...@googlegroups.com
Dear ,
Do you have backup of sql database?


--
You received this message because you are subscribed to the Google Groups "dcm4che" group.
To unsubscribe from this group and stop receiving emails from it, send an email to dcm4che+u...@googlegroups.com.
To post to this group, send email to dcm...@googlegroups.com.
Visit this group at https://groups.google.com/group/dcm4che.
For more options, visit https://groups.google.com/d/optout.
Reply all
Reply to author
Forward
0 new messages