Weasis wont load - windows 8.1 Java 6.4

333 views
Skip to first unread message

P Engelhardt

unread,
Aug 20, 2015, 4:56:11 PM8/20/15
to dcm...@googlegroups.com
Hello everybody.
Im just about to set up a dcm4che server on my private windows 8.1 server to host some studies for my dissertation and I have been able to get the dcm4che server to work.
I have the 2.18 branch of dcm4che and the latest branch of weasis and weasis pacs installed

BUT I am not able to load into weasis (on the remote (windows 7 firefox java 8.4)) in order to look at the studies.
The Java console tells me about unresolved constraints weasis is not being able to load
like
- jai-lib-1.1.4-b05.jar or weasis-core-api-2.0.4.jar among others

Now I have found a few posts dealing with this under win 8 and older weasis versions and Id like to ask whether there is a known workaround for this

locally on the the server I get further as weasis starts to load - but fails with
"error on loading wadoXML from http://localhost:8080/weasis-pacs-connector/requestmanifest?id=15"
However when I want to load local studies it works fine

If someone with Java experience would be able to shed light on this issue Id be very grateful

Otherwise thks for the great work so far

cheers Stephan

Nicolas Roduit

unread,
Aug 22, 2015, 3:17:04 AM8/22/15
to dcm4che
Please verify the configuration of weasis-pacs-connector and post more traces of the server side.

P Engelhardt

unread,
Aug 23, 2015, 4:03:29 PM8/23/15
to dcm...@googlegroups.com
Hey Nicolas

thks for the prompt answer!

I have no specific weasis-pacs-connector file in my weasis.rar - so I am using (I assume) the standard settings

the server log shows how I open up a weasis session on localhost.
the server outut in the cmd window says by the way the server runs under 0.0.0.0 - how can this be?
Sadly I can neither make head nor anything else out of the documentation regarding the weasis-pacs-connector.config.
What would be the url Id have to put in ?

schmunzel.org:8080/dcm4chee-web3/   ???????
does this sound right?
any other modifications ? the AE title is unchanged so it should be the standard setting

cheers

Stephan

the server logs shows this error

2015-08-23 21:40:48,614 ERROR -> (main) [org.jboss.deployment.scanner.URLDeploymentScanner] Incomplete Deployment listing:

--- Packages waiting for a deployer ---
org.jboss.deployment.DeploymentInfo@509e4d34 { url=file:/D:/Programme/dcm4che2.18.1/server/default/deploy/weasis-pacs-connector.properties2345 }
  deployer: null
  status: null
  state: INIT_WAITING_DEPLOYER
  watch: file:/D:/Programme/dcm4che2.18.1/server/default/deploy/weasis-pacs-connector.properties2345
  altDD: null
  lastDeployed: 1440358848566
  lastModified: 1440358848565
  mbeans:

org.jboss.deployment.DeploymentInfo@a2333cba { url=file:/D:/Programme/dcm4che2.18.1/server/default/deploy/weasis.wagr }
  deployer: null
  status: null
  state: INIT_WAITING_DEPLOYER
  watch: file:/D:/Programme/dcm4che2.18.1/server/default/deploy/weasis.wagr
  altDD: null
  lastDeployed: 1440358848613
  lastModified: 1440358848612
  mbeans:

--- Incompletely deployed packages ---
org.jboss.deployment.DeploymentInfo@509e4d34 { url=file:/D:/Programme/dcm4che2.18.1/server/default/deploy/weasis-pacs-connector.properties2345 }
  deployer: null
  status: null
  state: INIT_WAITING_DEPLOYER
  watch: file:/D:/Programme/dcm4che2.18.1/server/default/deploy/weasis-pacs-connector.properties2345
  altDD: null
  lastDeployed: 1440358848566
  lastModified: 1440358848565
  mbeans:

org.jboss.deployment.DeploymentInfo@a2333cba { url=file:/D:/Programme/dcm4che2.18.1/server/default/deploy/weasis.wagr }
  deployer: null
  status: null
  state: INIT_WAITING_DEPLOYER
  watch: file:/D:/Programme/dcm4che2.18.1/server/default/deploy/weasis.wagr
  altDD: null
  lastDeployed: 1440358848613
  lastModified: 1440358848612
  mbeans:


2015-08-23 21:40:48,691 INFO  -> (main) [org.apache.coyote.http11.Http11Protocol] Starting Coyote HTTP/1.1 on http-0.0.0.0-8080
2015-08-23 21:40:48,713 INFO  -> (main) [org.apache.coyote.http11.Http11Protocol] Starting Coyote HTTP/1.1 on http-8443
2015-08-23 21:40:48,730 INFO  -> (main) [org.apache.coyote.ajp.AjpProtocol] Starting Coyote AJP/1.3 on ajp-0.0.0.0-8009
2015-08-23 21:40:48,773 INFO  -> (main) [org.dcm4cheri.server.ServerImpl] Start Server listening on 0.0.0.0:11112
2015-08-23 21:40:48,789 INFO  -> (main) [org.dcm4cheri.server.ServerImpl] Start Server listening on 0.0.0.0:2575
2015-08-23 21:40:48,791 INFO  -> (main) [org.jboss.system.server.Server] JBoss (MX MicroKernel) [4.2.3.GA (build: SVNTag=JBoss_4_2_3_GA date=200807181439)] Started in 36s:515ms
2015-08-23 21:41:16,639 WARN  -> (http-0.0.0.0-8080-1) [org.dcm4chee.web.common.login.LoginResources] Could not get locale  for login page
2015-08-23 21:41:19,479 INFO  -> (http-0.0.0.0-8080-1) [org.dcm4chee.web.common.delegate.BaseMBeanDelegate] Init MBeanDelegate! server:null serviceObjectName:null
2015-08-23 21:41:19,481 INFO  -> (http-0.0.0.0-8080-1) [org.dcm4chee.web.common.delegate.BaseCfgDelegate] Init org.dcm4chee.web.common.delegate.BaseCfgDelegate
2015-08-23 21:41:19,481 INFO  -> (http-0.0.0.0-8080-1) [org.dcm4chee.web.common.delegate.BaseCfgDelegate] org.dcm4chee.web.common.delegate.BaseCfgDelegate initialized! WebConfig serviceName: dcm4chee.web:service=WebConfig
2015-08-23 21:41:19,482 INFO  -> (http-0.0.0.0-8080-1) [org.dcm4chee.web.common.delegate.BaseMBeanDelegate] MBeanDelegate initialized! serviceName:dcm4chee.web:service=Web3MwlSCU
2015-08-23 21:41:19,613 INFO  -> (http-0.0.0.0-8080-1) [org.dcm4chee.web.common.delegate.BaseCfgDelegate] Init org.dcm4chee.web.war.config.delegate.WebCfgDelegate
2015-08-23 21:41:19,614 INFO  -> (http-0.0.0.0-8080-1) [org.dcm4chee.web.common.delegate.BaseCfgDelegate] org.dcm4chee.web.war.config.delegate.WebCfgDelegate initialized! WebConfig serviceName: dcm4chee.web:service=WebConfig
2015-08-23 21:41:19,614 INFO  -> (http-0.0.0.0-8080-1) [org.dcm4chee.web.common.delegate.BaseCfgDelegate] Init org.dcm4chee.web.war.config.delegate.WebCfgDelegate
2015-08-23 21:41:19,615 INFO  -> (http-0.0.0.0-8080-1) [org.dcm4chee.web.common.delegate.BaseCfgDelegate] org.dcm4chee.web.war.config.delegate.WebCfgDelegate initialized! WebConfig serviceName: dcm4chee.web:service=WebConfig
2015-08-23 21:41:19,751 WARN  -> (http-0.0.0.0-8080-1) [org.dcm4chee.web.common.license.ae.AELicenseProviderManager] No AELicenseProvider found for name: null
2015-08-23 21:41:20,378 INFO  -> (http-0.0.0.0-8080-1) [org.apache.wicket.resource.PropertiesFactory] Loading properties files from
server.log
boot.log

Nicolas Roduit

unread,
Aug 24, 2015, 2:08:52 AM8/24/15
to dcm4che
See my inline comments.


Le dimanche 23 août 2015 22:03:29 UTC+2, P Engelhardt a écrit :
Hey Nicolas

thks for the prompt answer!

I have no specific weasis-pacs-connector file in my weasis.rar - so I am using (I assume) the standard settings

Without a specific configuration, you don't need to change weasis-pacs-connector.properties. Please follow carefully the installation instructions.
 

the server log shows how I open up a weasis session on localhost.
the server outut in the cmd window says by the way the server runs under 0.0.0.0 - how can this be?
 
It means dmc4chee listen on all IP addresses of the machine (if multiple IPs). 

Sadly I can neither make head nor anything else out of the documentation regarding the weasis-pacs-connector.config.
What would be the url Id have to put in ?
 
As I said before if all the components are located in the same server, you don't have to change the default configuration. According to your log the request from weasis-pacs-connector seems to be OK but you have errors with erroneous file in the deploy directory ("weasis.wagr" should be "weasis.war"). 



schmunzel.org:8080/dcm4chee-web3/   ???????
does this sound right?

From another computer with default configuration, you should never get the message :
=> because the calling address cannot be "localhost". Either you have change something in weasis-pacs-connector or your server is not well configured with hostname (try to use IP in the url).

Nicolas

P Engelhardt

unread,
Aug 24, 2015, 8:11:22 AM8/24/15
to dcm4che
Ok my bad I mixed several isues here - mostly due to my own stupidity
Im sorry  for that

I played with the weasis.war ( and the configuration) but later undid the changes - and renamed the old weasis.war.
thats taken care of - the renamed file (with config changes ) is removed

I have restarted the server tried to open a study on firefox on the localhost machine.

I then get the above mentioned error on the localhost machine.
The logs are attached


the error message is "error on loading wadoXML from http://localhost:8080/weasis-pacs-connector/requestmanifest?id=15"

where Id is an incrementing number (now were at 24 or something :) )

the second issue is that weasis wont load on another machine in the local network (Ill come back to that in the next post)

cheers and thks Stephan
boot.log
server.log

P Engelhardt

unread,
Aug 24, 2015, 8:32:02 AM8/24/15
to dcm4che

Ok so what I did on the second machine is that I deinstalled Java 8.4 and installed Java 6.45
this achieved that I am able to open weasis, but weasis will not load the study I selected within dcm4che but will display the same error message as above just with the difference that it reads

"error on loading wadoXML from http://schmunzel.org:8080/weasis-pacs-connector/requestmanifest?id=2"

However I hav been able to obtain a java log under 6.45 !!!

Java Web Start 1.6.0_45
Verwendung der JRE-Version 1.6.0_45-b06 Java HotSpot(TM) Client VM
Home-Verzeichnis des Benutzers = C:\Users\schmunzel
----------------------------------------------------
Cannot read properties file: http://schmunzel.org:8080/weasis-ext/conf/ext-config.properties

***** Starting Configuration *****
Operating system: windows-x86
Preferences directory: C:\Users\schmunzel\.weasis\preferences\schmunzel\default
locale.lang.code: en
locale.format.code: system
org.apache.sling.commons.log.level: INFO
org.apache.sling.commons.log.file.activate: false
org.apache.sling.commons.log.file.number: 5
org.apache.sling.commons.log.file.size: 10MB
org.apache.sling.commons.log.pattern: {0,date,dd.MM.yyyy HH:mm:ss.SSS} *{4}* [{2}]() {3} {5}
Cannot read properties file: http://schmunzel.org:8080/weasis/../weasis-i18n/buildNumber.properties
weasis.look: org.pushingpixels.substance.api.skin.SubstanceTwilightLookAndFeel
Last running version: 2.0.4
Current version: 2.0.4
weasis.resources.path: C:\Users\schmunzel\.weasis\data\55CE4186\resources
Clean plug-in cache because Weasis has crashed during the previous launch
***** End of Configuration *****

Weasis Starting...
========================

24.08.2015 14:25:56.538 *INFO* [FelixStartLevel]() org.apache.sling.commons.log.internal.LogManager LogManager: Logging set up from context
24.08.2015 14:25:58.630 *INFO* [FelixStartLevel]() org.weasis.core.api.internal.Activator Register Codec Plug-in: Sun java imageio
24.08.2015 14:25:58.659 *INFO* [FelixStartLevel]() org.weasis.core.api.internal.Activator Register Codec Plug-in: dcm4che
24.08.2015 14:25:59.235 *INFO* [AWT-EventQueue-0]() org.weasis.base.ui.gui.WeasisWin End of loading the GUI...
____________________________
Welcome to Apache Felix Gogo

telnetd is running on 127.0.0.1:17179
24.08.2015 14:25:59.779 *INFO* [pool-1-thread-1]() org.weasis.dicom.explorer.wado.DownloadManager Downloading WADO references: http://schmunzel.org:8080/weasis-pacs-connector/RequestManifest?id=2
ERROR:  'ParseError at [row,col]:[3,52]
Message: Invalid byte 1 of 1-byte UTF-8 sequence.'
24.08.2015 14:26:00.153 *ERROR* [pool-1-thread-1]() org.weasis.dicom.explorer.wado.DownloadManager [Validate with XSD schema] wado_query is NOT valid
24.08.2015 14:26:00.153 *ERROR* [pool-1-thread-1]() org.weasis.dicom.explorer.wado.DownloadManager Reason: javax.xml.stream.XMLStreamException: ParseError at [row,col]:[3,52]
Message: Invalid byte 1 of 1-byte UTF-8 sequence.
24.08.2015 14:26:00.154 *ERROR* [pool-1-thread-1]() org.weasis.dicom.explorer.wado.DownloadManager Error on loading wadoXML from : http://schmunzel.org:8080/weasis-pacs-connector/RequestManifest?id=2
24.08.2015 14:26:00.154 *ERROR* [pool-1-thread-1]() org.weasis.dicom.explorer.wado.DownloadManager javax.xml.stream.XMLStreamException: ParseError at [row,col]:[3,52]
Message: Invalid byte 1 of 1-byte UTF-8 sequence.

Nicolas Roduit

unread,
Aug 25, 2015, 1:36:21 AM8/25/15
to dcm4che
It seems to be an encoding issue, see this post.

P Engelhardt

unread,
Aug 25, 2015, 12:42:56 PM8/25/15
to dcm4che
Yep that solved my issue ;)
thks for your patience and the right hint :)

Reply all
Reply to author
Forward
0 new messages