In Geoserver I have Image Pyramid in EPSG 28992 ( RD New )
The pyramid (as wms service) works fijn when added to the map (QGIS project) in RD New projection.
When added to the QGIS map in another projection: WGS84 (EPSG: 4326) I get the time out error/ (in de log: out of memory error) and I have to restart de geoserver.
I notice the same behaviour in ArcMap.
Geoserver version 2.14.4 / 2.13.3
pyramids made with gdal_retile :
gdal_retile -v -r bilinear -levels 6 -ps 1024 1024 -co "TILED=YES"
-co "COMPRESS=JPEG" -s_srs "EPSG:28992" -targetDir rce_waterstaatskrt1_pyramids_1024_6_kopie waterstaatskrt1.tif
The definition of EPSG 28992 in .prj files in every pyramid directory is the same like definition of this EPSG in geoserver.
In Geoserver log file I see that the geoserver is looking for the .prj file for each tile in each
pyramid directory, ie.
2019-12-13 12:27:42,224 DEBUG [gce.imagepyramid] -
/srv/bigdata_data/rce_waterstaatskrt1_pyramids_1024_6_kopie/0/waterstaatskrt1_56_52.prj
(No such file or directory)
another error I see:
2019-12-13 12:27:42,229 TRACE [geotools.factory] - THROW
(CRSAuthorityFactory, CRS_AUTHORITY_FACTORY): could not find
implementation. 2019-12-13 12:27:42,230 DEBUG [referencing.factory] -
Failure in the primary factory: No code "EPSG:28992" from authority
"European Petroleum Survey Group" found for object of type
"IdentifiedObject". Now trying the fallback factory...
I am missing something? Does geoserver support 'on fly' reprojection of ImagePyramids ?
EDIT:
JVM parameters: -server -Xms64m -Xmx512m -XX:MaxPermSize=256m
wildfly server
Geoserver log with first time memory error after a clean start :
> Server:testing04] at
> io.undertow.security.handlers.SecurityInitialHandler.handleRequest(SecurityInitialHandler.java:76)
> [undertow-core-1.1.8.Final.jar:1.1.8.Final] [Server:testing04] at
> io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43)
> [undertow-core-1.1.8.Final.jar:1.1.8.Final] [Server:testing04] at
> org.wildfly.extension.undertow.security.jacc.JACCContextIdHandler.handleRequest(JACCContextIdHandler.java:61)
> [Server:testing04] at
> io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43)
> [undertow-core-1.1.8.Final.jar:1.1.8.Final] [Server:testing04] at
> io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43)
> [undertow-core-1.1.8.Final.jar:1.1.8.Final] [Server:testing04] at
> io.undertow.servlet.handlers.ServletInitialHandler.handleFirstRequest(ServletInitialHandler.java:261)
> [undertow-servlet-1.1.8.Final.jar:1.1.8.Final] [Server:testing04]
> at
> io.undertow.servlet.handlers.ServletInitialHandler.dispatchRequest(ServletInitialHandler.java:248)
> [undertow-servlet-1.1.8.Final.jar:1.1.8.Final] [Server:testing04]
> at
> io.undertow.servlet.handlers.ServletInitialHandler.access$000(ServletInitialHandler.java:77)
> [undertow-servlet-1.1.8.Final.jar:1.1.8.Final] [Server:testing04]
> at
> io.undertow.servlet.handlers.ServletInitialHandler$1.handleRequest(ServletInitialHandler.java:167)
> [undertow-servlet-1.1.8.Final.jar:1.1.8.Final] [Server:testing04]
> at
> io.undertow.server.Connectors.executeRootHandler(Connectors.java:199)
> [undertow-core-1.1.8.Final.jar:1.1.8.Final] [Server:testing04] at
> io.undertow.server.HttpServerExchange$1.run(HttpServerExchange.java:761)
> [undertow-core-1.1.8.Final.jar:1.1.8.Final] [Server:testing04] at
> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
> [rt.jar:1.8.0_144] [Server:testing04] at
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
> [rt.jar:1.8.0_144] [Server:testing04] at
> java.lang.Thread.run(Thread.java:748) [rt.jar:1.8.0_144]
> [Server:testing04] C**aused by: org.geoserver.platform.ServiceException:
> java.lang.OutOfMemoryError: GC overhead limit exceeded
> [Server:testing04] at
> org.geoserver.wms.map.RenderedImageMapOutputFormat.directRasterRender(RenderedImageMapOutputFormat.java:1200)**
> [gs-wms-2.14.4.jar:2.14.4] [Server:testing04] at
> org.geoserver.wms.map.RenderedImageMapOutputFormat.produceMap(RenderedImageMapOutputFormat.java:349)
> [gs-wms-2.14.4.jar:2.14.4] [Server:testing04] ... 141 more
> [Server:testing04] Caused by: java.lang.OutOfMemoryError: GC overhead
> limit exceeded [Server:testing04] [Server:testing04] [Full GC
> (Ergonomics) [PSYoungGen: 323578K->319939K(509952K)] [ParOldGen:
> 1397305K->1396540K(1398784K)] 1720883K->1716480K(1908736K),
> [Metaspace: 128805K->128805K(1169408K)], 0.4742127 secs] [Times:
> user=0.87 sys=0.00, real=0.47 secs] [Server:testing04] [Full GC
> (Ergonomics) [PSYoungGen: 323227K->0K(509952K)] [ParOldGen:
> 1396540K->915937K(1398784K)] 1719767K->915937K(1908736K), [Metaspace:
> 128807K->128807K(1169408K)], 0.3104434 secs] [Times: user=0.56
> sys=0.00, real=0.31 secs] [Server:testing04] [GC (Allocation Failure)
> [PSYoungGen: 323584K->123968K(507904K)] 1239521K->1039906K(1906688K),
> 0.0258102 secs] [Times: user=0.04 sys=0.00, real=0.03 secs] [Server:testing04] [GC (Allocation Failure) [PSYoungGen:
> 448369K->184316K(509952K)] 1364306K->1127905K(1908736K), 0.0341909
> secs] [Times: user=0.06 sys=0.00, real=0.03 secs] [Server:testing04]
> [GC (Allocation Failure) [PSYoungGen: 509948K->118561K(473088K)]
> 1453537K->1231642K(1871872K), 0.0452980 secs] [Times: user=0.08
> sys=0.00, real=0.04 secs] [Server:testing04] [GC (Allocation Failure)
> [PSYoungGen: 403233K->204932K(491520K)] 1516314K->1318022K(1890304K),
> 0.0314318 secs] [Times: user=0.06 sys=0.00, real=0.03 secs] [Server:testing04] [GC (Allocation Failure) [PSYoungGen:
> 487473K->206835K(442368K)] 1600563K->1394644K(1841152K), 0.0403641
> secs] [Times: user=0.07 sys=0.00, real=0.04 secs] [Server:testing04]
> [GC (Allocation Failure) [PSYoungGen: 442355K->170269K(466944K)]
> 1630164K->1471620K(1865728K), 0.0405392 secs] [Times: user=0.08
> sys=0.00, real=0.04 secs] [Server:testing04] [Full GC (Ergonomics)
> [PSYoungGen: 170269K->41155K(466944K)] [ParOldGen:
> 1301351K->1398761K(1398784K)] 1471620K->1439917K(1865728K),
> [Metaspace: 128844K->128833K(1169408K)], 0.2696253 secs] [Times:
> user=0.46 sys=0.00, real=0.27 secs] [Server:testing04] [Full GC
> (Ergonomics) [PSYoungGen: 276675K->110407K(466944K)] [ParOldGen:
> 1398761K->1396672K(1398784K)] 1675437K->1507079K(1865728K),
> [Metaspace: 128842K->128833K(1169408K)], 0.2667960 secs] [Times:
> user=0.46 sys=0.00, real=0.27 secs] [Server:testing04] [Full GC
> (Ergonomics) [PSYoungGen: 235520K->136542K(466944K)] [ParOldGen:
> 1396672K->1398254K(1398784K)] 1632192K->1534797K(1865728K),
> [Metaspace: 128842K->128833K(1169408K)], 0.2475386 secs] [Times:
> user=0.43 sys=0.00, real=0.25 secs] [Server:testing04] [Full GC
> (Ergonomics) [PSYoungGen: 235520K->165582K(466944K)] [ParOldGen:
> 1398254K->1398250K(1398784K)] 1633774K->1563833K(1865728K),
> [Metaspace: 128842K->128833K(1169408K)], 0.2464697 secs] [Times:
> user=0.41 sys=0.00, real=0.25 secs]
Related
I try to enrich my metabolite with MetboAnalystR and then when i want to Cross-reference list of compounds against libraries,
I faced with the error. This is my code:
tmp.vec <- c("L-Alanine", "Hexadecanoic acid", "L-Phenylalanine", "O-Propanoylcarnitine", "L-Methionine",
"L-Palmitoylcarnitine", "Triacylglycerol")
mSet<-InitDataObjects("conc", "msetora", FALSE)
mSet<-Setup.MapData(mSet, tmp.vec)
mSet<-CrossReferencing(mSet, "name")
In the last code, I get this error:
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- 0:00:21 --:--:-- 0
curl: (28) Failed to connect to www.metaboanalyst.ca port 443 after 21166 ms: Timed out
[1] "Download unsucceful. Ensure that curl is downloaded on your computer."
[1] "Attempting to re-try download using libcurl..."
trying URL 'https://www.metaboanalyst.ca/resources/libs/compound_db.qs'
Error in download.file(lib.url, destfile = filenm, method = "libcurl") :
cannot open URL 'https://www.metaboanalyst.ca/resources/libs/compound_db.qs'
In addition: Warning message:
In download.file(lib.url, destfile = filenm, method = "libcurl") :
URL 'https://www.metaboanalyst.ca/resources/libs/compound_db.qs': Timeout of 60 seconds was reached
what should I do for solving?
thank you for helping
I couldn't run the /carbon, /myaccount, /console, URLs, Don't have idea to resolve this issue.
Error logs
URLs not running in the browser
Error logs after urls runs in browser
> [2022-01-05 14:07:09,398] [3a2961aa-a3e4-458f-b8b5-cff9837e420f] ERROR
> {org.wso2.carbon.tomcat.ext.valves.CompositeValve} - Could not handle
> request: /carbon/admin/login_action.jsp java.lang.NullPointerException
> at org.wso2.carbon.tomcat.ext.valves.CompositeValve.invoke(CompositeValve.java:46)
> at org.wso2.carbon.tomcat.ext.valves.CarbonStuckThreadDetectionValve.invoke(CarbonStuckThreadDetectionValve.java:145)
> at org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:690)
> at org.wso2.carbon.tomcat.ext.valves.CarbonContextCreatorValve.invoke(CarbonContextCreatorValve.java:57)
> at org.wso2.carbon.tomcat.ext.valves.RequestEncodingValve.invoke(RequestEncodingValve.java:49)
> at org.wso2.carbon.tomcat.ext.valves.RequestCorrelationIdValve.invoke(RequestCorrelationIdValve.java:126)
> at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:74)
> at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:343)
> at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:373)
> at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:65)
> at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:868)
> at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1590)
> at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49)
> at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
> at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
> at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
> at java.lang.Thread.run(Thread.java:748)
>
> [2022-01-05 14:07:25,990] [dfce5468-835d-40f1-be1d-aa49c1fdf5c9] ERROR
> {org.wso2.carbon.tomcat.ext.valves.CompositeValve} - Could not handle
> request: /myaccount java.lang.NullPointerException
> at org.wso2.carbon.tomcat.ext.valves.CompositeValve.invoke(CompositeValve.java:46)
> at org.wso2.carbon.tomcat.ext.valves.CarbonStuckThreadDetectionValve.invoke(CarbonStuckThreadDetectionValve.java:145)
> at org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:690)
> at org.wso2.carbon.tomcat.ext.valves.CarbonContextCreatorValve.invoke(CarbonContextCreatorValve.java:57)
> at org.wso2.carbon.tomcat.ext.valves.RequestEncodingValve.invoke(RequestEncodingValve.java:49)
> at org.wso2.carbon.tomcat.ext.valves.RequestCorrelationIdValve.invoke(RequestCorrelationIdValve.java:126)
> at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:74)
> at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:343)
> at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:373)
> at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:65)
> at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:868)
> at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1590)
> at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49)
> at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
> at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
> at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
> at java.lang.Thread.run(Thread.java:748)
>
> [2022-01-05 14:07:49,837] [40b419de-4a04-4f89-845a-c0905a0ed080] ERROR
> {org.wso2.carbon.tomcat.ext.valves.CompositeValve} - Could not handle
> request: /console java.lang.NullPointerException
> at org.wso2.carbon.tomcat.ext.valves.CompositeValve.invoke(CompositeValve.java:46)
> at org.wso2.carbon.tomcat.ext.valves.CarbonStuckThreadDetectionValve.invoke(CarbonStuckThreadDetectionValve.java:145)
> at org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:690)
> at org.wso2.carbon.tomcat.ext.valves.CarbonContextCreatorValve.invoke(CarbonContextCreatorValve.java:57)
> at org.wso2.carbon.tomcat.ext.valves.RequestEncodingValve.invoke(RequestEncodingValve.java:49)
> at org.wso2.carbon.tomcat.ext.valves.RequestCorrelationIdValve.invoke(RequestCorrelationIdValve.java:126)
> at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:74)
> at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:343)
> at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:373)
> at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:65)
> at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:868)
> at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1590)
> at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49)
> at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
> at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
> at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
> at java.lang.Thread.run(Thread.java:748)
I'm an newbie in corda and when I'm trying to execute the corda nodes, the nodes keep showing this error given below:
java.lang.NullPointerException at
> co.paralleluniverse.fibers.instrument.MethodDatabase$ClassEntry.equals(MethodDatabase.java:557)
> at
> co.paralleluniverse.fibers.instrument.MethodDatabase.recordSuspendableMethods(MethodDatabase.java:265)
> at
> co.paralleluniverse.fibers.instrument.MethodDatabase.checkClass(MethodDatabase.java:327)
> at
> co.paralleluniverse.fibers.instrument.MethodDatabase.getOrLoadClassEntry(MethodDatabase.java:183)
> at
> co.paralleluniverse.fibers.instrument.SimpleSuspendableClassifier.isSuspendable(SimpleSuspendableClassifier.java:156)
> at
> co.paralleluniverse.fibers.instrument.DefaultSuspendableClassifier.isSuspendable(DefaultSuspendableClassifier.java:47)
> at
> co.paralleluniverse.fibers.instrument.CheckInstrumentationVisitor.visitMethod(CheckInstrumentationVisitor.java:130)
> at co.paralleluniverse.asm.ClassReader.b(Unknown Source) at
> co.paralleluniverse.asm.ClassReader.accept(Unknown Source) at
> co.paralleluniverse.asm.ClassReader.accept(Unknown Source) at
> co.paralleluniverse.fibers.instrument.MethodDatabase.checkFileAndClose(MethodDatabase.java:347)
> at
> co.paralleluniverse.fibers.instrument.MethodDatabase.checkClass(MethodDatabase.java:324)
> at
> co.paralleluniverse.fibers.instrument.MethodDatabase.getOrLoadClassEntry(MethodDatabase.java:183)
> at
> co.paralleluniverse.fibers.instrument.MethodDatabase.isMethodSuspendable0(MethodDatabase.java:194)
> at
> co.paralleluniverse.fibers.instrument.MethodDatabase.isMethodSuspendable(MethodDatabase.java:161)
> at
> co.paralleluniverse.fibers.instrument.InstrumentMethod.isSuspendableCall(InstrumentMethod.java:231)
> at
> co.paralleluniverse.fibers.instrument.LabelSuspendableCallSitesClassVisitor$1.visitMethodInsn(LabelSuspendableCallSitesClassVisitor.java:64)
> at co.paralleluniverse.asm.ClassReader.a(Unknown Source) at
> co.paralleluniverse.asm.ClassReader.b(Unknown Source) at
> co.paralleluniverse.asm.ClassReader.accept(Unknown Source) at
> co.paralleluniverse.asm.ClassReader.accept(Unknown Source) at
> co.paralleluniverse.fibers.instrument.QuasarInstrumentor.instrumentClass(QuasarInstrumentor.java:123)
> at
> co.paralleluniverse.fibers.instrument.QuasarInstrumentor.instrumentClass(QuasarInstrumentor.java:94)
> at
> co.paralleluniverse.fibers.instrument.JavaAgent$Transformer.transform(JavaAgent.java:209)
> at sun.instrument.TransformerManager.transform(Unknown Source) at
> sun.instrument.InstrumentationImpl.transform(Unknown Source) at
> java.lang.ClassLoader.defineClass1(Native Method) at
> java.lang.ClassLoader.defineClass(Unknown Source) at
> java.security.SecureClassLoader.defineClass(Unknown Source) at
> java.net.URLClassLoader.defineClass(Unknown Source) at
> java.net.URLClassLoader.access$100(Unknown Source) at
> java.net.URLClassLoader$1.run(Unknown Source) 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
> sun.instrument.InstrumentationImpl.loadClassAndStartAgent(Unknown
> Source) at
> sun.instrument.InstrumentationImpl.loadClassAndCallPremain(Unknown
> Source) [quasar] ERROR: java/lang/Thread
> java.lang.NullPointerException at
> co.paralleluniverse.fibers.instrument.MethodDatabase$ClassEntry.equals(MethodDatabase.java:557)
> at
> co.paralleluniverse.fibers.instrument.MethodDatabase.recordSuspendableMethods(MethodDatabase.java:265)
> at
> co.paralleluniverse.fibers.instrument.MethodDatabase.checkClass(MethodDatabase.java:327)
> at
> co.paralleluniverse.fibers.instrument.MethodDatabase.getOrLoadClassEntry(MethodDatabase.java:183)
> at
> co.paralleluniverse.fibers.instrument.SimpleSuspendableClassifier.isSuspendable(SimpleSuspendableClassifier.java:156)
> at
> co.paralleluniverse.fibers.instrument.DefaultSuspendableClassifier.isSuspendable(DefaultSuspendableClassifier.java:47)
> at
> co.paralleluniverse.fibers.instrument.CheckInstrumentationVisitor.visitMethod(CheckInstrumentationVisitor.java:130)
> at co.paralleluniverse.asm.ClassReader.b(Unknown Source) at
> co.paralleluniverse.asm.ClassReader.accept(Unknown Source) at
> co.paralleluniverse.asm.ClassReader.accept(Unknown Source) at
> co.paralleluniverse.fibers.instrument.MethodDatabase.checkFileAndClose(MethodDatabase.java:347)
> at
> co.paralleluniverse.fibers.instrument.MethodDatabase.checkClass(MethodDatabase.java:324)
> at
> co.paralleluniverse.fibers.instrument.MethodDatabase.getOrLoadClassEntry(MethodDatabase.java:183)
> at
> co.paralleluniverse.fibers.instrument.MethodDatabase.isMethodSuspendable0(MethodDatabase.java:194)
> at
> co.paralleluniverse.fibers.instrument.MethodDatabase.isMethodSuspendable(MethodDatabase.java:161)
> at
> co.paralleluniverse.fibers.instrument.InstrumentMethod.isSuspendableCall(InstrumentMethod.java:231)
> at
> co.paralleluniverse.fibers.instrument.LabelSuspendableCallSitesClassVisitor$1.visitMethodInsn(LabelSuspendableCallSitesClassVisitor.java:64)
> at co.paralleluniverse.asm.ClassReader.a(Unknown Source) at
> co.paralleluniverse.asm.ClassReader.b(Unknown Source) at
> co.paralleluniverse.asm.ClassReader.accept(Unknown Source) at
> co.paralleluniverse.asm.ClassReader.accept(Unknown Source) at
> co.paralleluniverse.fibers.instrument.QuasarInstrumentor.instrumentClass(QuasarInstrumentor.java:123)
> at
> co.paralleluniverse.fibers.instrument.QuasarInstrumentor.instrumentClass(QuasarInstrumentor.java:94)
> at
> co.paralleluniverse.fibers.instrument.JavaAgent$Transformer.transform(JavaAgent.java:209)
> at sun.instrument.TransformerManager.transform(Unknown Source) at
> sun.instrument.InstrumentationImpl.transform(Unknown Source) at
> java.lang.ClassLoader.defineClass1(Native Method) at
> java.lang.ClassLoader.defineClass(Unknown Source) at
> java.security.SecureClassLoader.defineClass(Unknown Source) at
> java.net.URLClassLoader.defineClass(Unknown Source) at
> java.net.URLClassLoader.access$100(Unknown Source) at
> java.net.URLClassLoader$1.run(Unknown Source) 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
> sun.instrument.InstrumentationImpl.loadClassAndStartAgent(Unknown
> Source) at
> sun.instrument.InstrumentationImpl.loadClassAndCallPremain(Unknown
> Source)
After a while corda starts normally when ever I try to get to the h2 console, the following error shows up:
Table "SYNONYMS" not found; SQL statement: SELECT TABLE_CAT,
> TABLE_SCHEM, TABLE_NAME, TABLE_TYPE, REMARKS, TYPE_CAT, TYPE_SCHEM,
> TYPE_NAME, SELF_REFERENCING_COL_NAME, REF_GENERATION, SQL FROM (SELECT
> SYNONYM_CATALOG TABLE_CAT, SYNONYM_SCHEMA TABLE_SCHEM, SYNONYM_NAME
> as TABLE_NAME, TYPE_NAME AS TABLE_TYPE, REMARKS, TYPE_NAME TYPE_CAT,
> TYPE_NAME TYPE_SCHEM, TYPE_NAME AS TYPE_NAME, TYPE_NAME
> SELF_REFERENCING_COL_NAME, TYPE_NAME REF_GENERATION, NULL AS SQL FROM
> INFORMATION_SCHEMA.SYNONYMS WHERE SYNONYM_CATALOG LIKE ? ESCAPE ? AND
> SYNONYM_SCHEMA LIKE ? ESCAPE ? AND SYNONYM_NAME LIKE ? ESCAPE ? AND
> (false) UNION SELECT TABLE_CATALOG TABLE_CAT, TABLE_SCHEMA
> TABLE_SCHEM, TABLE_NAME, TABLE_TYPE, REMARKS, TYPE_NAME TYPE_CAT,
> TYPE_NAME TYPE_SCHEM, TYPE_NAME, TYPE_NAME SELF_REFERENCING_COL_NAME,
> TYPE_NAME REF_GENERATION, SQL FROM INFORMATION_SCHEMA.TABLES WHERE
> TABLE_CATALOG LIKE ? ESCAPE ? AND TABLE_SCHEMA LIKE ? ESCAPE ? AND
> TABLE_NAME LIKE ? ESCAPE ? AND (TABLE_TYPE IN(?)) ) ORDER BY
> TABLE_TYPE, TABLE_SCHEM, TABLE_NAME [42102-197] 42S02/42102 (Help)
I tried to find an solution from here but found out that h2-1.4.194 was not available at their website. Is it an problem with my flow code, or is it a problem of plugin itself.
My flow code is given here [https://ideone.com/Dy3nEM][2]. Where did I go wrong?
Probably missed a #Suspebdable annotation on one of your functions. The H2 error happened to me as well but couldn't fix. If you have Intellij Ultimate you could use their database browser which worked for me.
Below is the code which i tried but there is an error please let me know where i am going wrong.
library("RJDBC")
.jinit()
.jaddClassPath("/home/r_work/hive_service.jar")
.jaddClassPath("/home/r_work/HiveJDBC4.jar")
.jaddClassPath("/home/r_work/libfb303-0.9.0.jar")
.jaddClassPath("/home/r_work/libthrift-0.9.0.jar")
.jaddClassPath("/home/r_work/log4j-1.2.14.jar")
.jaddClassPath("/home/r_work/hive_metastore.jar")
.jaddClassPath("/home/r_work/ql.jar")
.jaddClassPath("/home/r_work/slf4j-api-1.5.8.jar")
.jaddClassPath("/home/r_work/slf4j-log4j12-1.5.8.jar")
.jaddClassPath("/home/r_work/TCLIServiceClient.jar")
.jclassPath()
drv = JDBC("com.cloudera.hive.jdbc4.HS2Driver","~/r_work/hive_service.jar;~/r_work/HiveJDBC4.jar;~/r_work/libfb303-0.9.0.jar;~/r_work/libthrift-0.9.0.jar;~/r_work/log4j-1.2.14.jar;~/r_work/hive_metastore.jar;~/r_work/ql.jar;~/r_work/slf4j-api-1.5.8.jar;~/r_work/slf4j-log4j12-1.5.8.jar;~/r_work/TCLIServiceClient.jar","`")
#drv = JDBC("com.cloudera.hive.jdbc4.HS2Driver","~/r_work/HiveJDBC4.jar","`")
conn <- dbConnect(drv, "jdbc:hive2://grbd.com:10000/test_hive_db;AuthMech=1;KrbRealm=INTRANET.BARCAPINT.COM;KrbHostFQDN=grbd.com;KrbServicename=hive")
#conn <- dbConnect(drv, "jdbc:hive2://grbdwhd0017.intranet.barcapint.com:10000;AuthMech=1;KrbRealm=INTRANET.BARCAPINT.COM;KrbHostFQDN=grbdwhd0017.intranet.barcapint.com;KrbServicename=hive")
library(RHive)
> Sys.setenv(HIVE_Home= "ls /cloudera/parcels/lib/hive")
> Sys.setenv(HIVE_Lib= "ls /cloudera/parcels/lib/hive/lib")
> Sys.setenv(HIVE_HOME= "ls /cloudera/parcels/lib/hive")
> Sys.setenv(HIVE_LIB= "ls /cloudera/parcels/lib/hive/lib")
> Sys.setenv(HADOOP_HOME= "ls /cloudera/parcels/lib/hadoop")
> Sys.setenv(HADOOP_CONF = "ls /cloudera/parcels/lib/hadoop/etc/hadoop/hdfs-site.xml")
> Sys.setenv(HADOOP_LIB= "ls /cloudera/parcels/lib/hadoop/lib")
rhive.init()
> rhive.connect("grbd")
****Error: java.lang.ClassNotFoundException****
you can simply connect to hiveserver2 from R using RHIVE package
below are the commands that i had used.
Sys.setenv(HIVE_HOME="/usr/local/hive")
Sys.setenv(HADOOP_HOME="/usr/local/hadoop")
rhive.env(ALL=TRUE)
rhive.init()
rhive.connect("localhost")
> "An AJAX HTTP error occurred. HTTP Result Code: 200 Debugging
> information follows. Path:
> http://localhost/recruiter/install.php?profile=recruiter&locale=en&id=1&op=do
> StatusText: OK ResponseText: ( ! ) Fatal error: Maximum execution time
> of 120 seconds exceeded in
> C:\wamp\www\recruiter\includes\database\database.inc on line 2139 Call
> Stack #TimeMemoryFunctionLocation 10.0040248632{main}(
> )..\install.php:0 20.0160607192install_drupal( )..\install.php:26
> 32.26217145128install_run_tasks( )..\install.core.inc:77 414.388825262480install_run_task( )..\install.core.inc:339 514.390825347848_batch_page( )..\install.core.inc:449 614.391825363584_batch_do( )..\batch.inc:80 714.391825363824_batch_process( )..\batch.inc:161 814.394825451928call_user_func_array:{C:\wamp\www\recruiter\includes\batch.inc:284}
> ( )..\batch.inc:284 914.394825452000_install_module_batch(
> )..\batch.inc:284 1014.394825452792module_enable(
> )..\install.core.inc:1571 1117.022025873824module_invoke(
> )..\module.inc:484
> 1217.022025874176call_user_func_array:{C:\wamp\www\recruiter\includes\module.inc:833}
> ( )..\module.inc:833 1317.022025874456recruiter_job_search_enable(
> )..\module.inc:833 1423.273328866048_features_restore(
> )..\recruiter_job_search.install:17 1523.324328868808features_invoke(
> )..\features.module:871
> 1623.324328869392call_user_func_array:{C:\wamp\www\recruiter\profiles\recruiter\modules\features\features.module:516}
> ( )..\features.module:516 1723.324328869880field_features_rebuild(
> )..\features.module:516 18119.471832102680field_create_instance(
> )..\features.field.inc:192 19119.911932112584module_invoke_all(
> )..\field.crud.inc:499
> 20119.916932115264call_user_func_array:{C:\wamp\www\recruiter\includes\module.inc:857}
> ( )..\module.inc:857 21119.916932115584views_field_create_instance(
> )..\module.inc:857 22119.916932115792cache_clear_all(
> )..\views.module:898 23119.916932115792DrupalFakeCache->clear(
> )..\cache.inc:176 24119.916932115792DrupalDatabaseCache->clear(
> )..\cache-install.inc:57 25119.916932116800TruncateQuery->execute(
> )..\cache.inc:521 26119.916932117016DatabaseConnection->query(
> )..\query.inc:932 27119.917932118608DatabaseStatementBase->execute(
> )..\database.inc:664
>
I have tried increasing maximum execution time in php.ini but still
get this error any help will be appreciated"
When you increased the maximum execution time did you checked whit phpinfo() if it is really increased.
One more thing check this -> http://bg2.php.net/manual/en/function.set-time-limit.php