barchart / barchart-service

Barchart back-end application platform services: tanuki, karaf, ...
https://github.com/barchart/barchart-service/wiki
0 stars 3 forks source link

install X on image or remove awt dependency #7

Closed Andrei-Pozolotin closed 11 years ago

Andrei-Pozolotin commented 11 years ago
2013-04-14 19:39:50,144 | INFO  | ool-10-thread-13 | CODFeedHandler                   | 162 - com.barchart.news.barchart-news-feed-common - 1.0.28 | Update failed for BC (attempt #1)
java.lang.Exception: java.lang.UnsatisfiedLinkError: /usr/lib/jvm/java-7-oracle/jre/lib/i386/xawt/libmawt.so: libXrender.so.1: cannot open shared object file: No such file or directory
        at com.barchart.news.feed.common.xml.XMLHTTPFeedHandler.update(XMLHTTPFeedHandler.java:192)[162:com.barchart.news.barchart-news-feed-common:1.0.28]
        at com.barchart.news.feed.handler.PollingFeedHandler.run(PollingFeedHandler.java:209)[162:com.barchart.news.barchart-news-feed-common:1.0.28]
        at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)[:1.7.0_17]
        at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)[:1.7.0_17]
        at java.util.concurrent.FutureTask.run(FutureTask.java:166)[:1.7.0_17]
        at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:178)[:1.7.0_17]
        at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:292)[:1.7.0_17]
        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)[:1.7.0_17]
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)[:1.7.0_17]
        at java.lang.Thread.run(Thread.java:722)[:1.7.0_17]
Caused by: java.lang.UnsatisfiedLinkError: /usr/lib/jvm/java-7-oracle/jre/lib/i386/xawt/libmawt.so: libXrender.so.1: cannot open shared object file: No such file or directory
        at java.lang.ClassLoader$NativeLibrary.load(Native Method)[:1.7.0_17]
        at java.lang.ClassLoader.loadLibrary1(ClassLoader.java:1939)[:1.7.0_17]
        at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1864)[:1.7.0_17]
        at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1825)[:1.7.0_17]
        at java.lang.Runtime.load0(Runtime.java:792)[:1.7.0_17]
        at java.lang.System.load(System.java:1059)[:1.7.0_17]
        at java.lang.ClassLoader$NativeLibrary.load(Native Method)[:1.7.0_17]
        at java.lang.ClassLoader.loadLibrary1(ClassLoader.java:1939)[:1.7.0_17]
        at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1864)[:1.7.0_17]
        at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1846)[:1.7.0_17]
        at java.lang.Runtime.loadLibrary0(Runtime.java:845)[:1.7.0_17]
        at java.lang.System.loadLibrary(System.java:1084)[:1.7.0_17]
        at sun.security.action.LoadLibraryAction.run(LoadLibraryAction.java:67)[:1.7.0_17]
        at sun.security.action.LoadLibraryAction.run(LoadLibraryAction.java:47)[:1.7.0_17]
        at java.security.AccessController.doPrivileged(Native Method)[:1.7.0_17]
        at sun.java2d.Disposer.<clinit>(Disposer.java:59)[:1.7.0_17]
        at javax.imageio.stream.FileImageInputStream.<init>(FileImageInputStream.java:98)[:1.7.0_17]
        at javax.imageio.stream.FileImageInputStream.<init>(FileImageInputStream.java:73)[:1.7.0_17]
        at com.sun.imageio.spi.FileImageInputStreamSpi.createInputStreamInstance(FileImageInputStreamSpi.java:55)[:1.7.0_17]
        at javax.imageio.ImageIO.createImageInputStream(ImageIO.java:357)[:1.7.0_17]
        at javax.imageio.ImageIO.read(ImageIO.java:1304)[:1.7.0_17]
        at com.barchart.news.services.media.MediaProviderBase.cacheEnclosure(MediaProviderBase.java:343)
        at com.barchart.news.services.media.MediaProviderBase.cacheEnclosure(MediaProviderBase.java:300)
        at com.barchart.news.services.media.MediaProviderBase.cacheEnclosure(MediaProviderBase.java:287)
        at com.barchart.news.feed.barchart.CODFeedHandler.updateFeed(CODFeedHandler.java:94)
        at com.barchart.news.feed.common.xml.XMLHTTPFeedHandler.update(XMLHTTPFeedHandler.java:150)[162:com.barchart.news.barchart-news-feed-common:1.0.28]
        ... 9 more
2013-04-14 19:40:19,001 | INFO  | pool-10-thread-8 | NewsXMLHandler                   | 162 - com.barchart.news.barchart-news-feed-common - 1.0.28 | Update failed for CP (attempt #3)
Andrei-Pozolotin commented 11 years ago

sudo apt-get install xorg Need to get 30.3 MB of archives. After this operation, 85.2 MB of additional disk space will be used.