I am trying to run the Vulas docker setup on my local machine. I followed this guide. When I perform the Run stage of the documentation, the backend service fails to start. When the processes start, they return the following error:
vulas-os-rest-backend | Caused by: org.flywaydb.core.internal.exception.FlywaySqlException:
vulas-os-rest-backend | Unable to obtain database connection
vulas-os-rest-backend | ------------------------------------
vulas-os-rest-backend | SQL State : 08004
vulas-os-rest-backend | Error Code : 0
vulas-os-rest-backend | Message : The server requested password-based authentication, but no password was provided.
vulas-os-rest-backend |
vulas-os-rest-backend | at org.flywaydb.core.internal.util.jdbc.JdbcUtils.openConnection(JdbcUtils.java:57) ~[flyway-core-5.0.7.jar!/:na]
vulas-os-rest-backend | at org.flywaydb.core.internal.database.DatabaseFactory.createDatabase(DatabaseFactory.java:67) ~[flyway-core-5.0.7.jar!/:na]
vulas-os-rest-backend | at org.flywaydb.core.Flyway.execute(Flyway.java:1634) ~[flyway-core-5.0.7.jar!/:na]
vulas-os-rest-backend | at org.flywaydb.core.Flyway.migrate(Flyway.java:1168) ~[flyway-core-5.0.7.jar!/:na]
vulas-os-rest-backend | at org.springframework.boot.autoconfigure.flyway.FlywayMigrationInitializer.afterPropertiesSet(FlywayMigrationInitializer.java:66) ~[spring-boot-autoconfigure-1.5.15.RELEASE.jar!/:1.5.15.RELEASE]
vulas-os-rest-backend | at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1692) ~[spring-beans-4.3.18.RELEASE.jar!/:4.3.18.RELEASE]
vulas-os-rest-backend | at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1630) ~[spring-beans-4.3.18.RELEASE.jar!/:4.3.18.RELEASE]
vulas-os-rest-backend | ... 95 common frames omitted
vulas-os-rest-backend | Caused by: org.postgresql.util.PSQLException: The server requested password-based authentication, but no password was provided.
vulas-os-rest-backend | at org.postgresql.core.v3.ConnectionFactoryImpl.doAuthentication(ConnectionFactoryImpl.java:484) ~[postgresql-9.4.1208.jre7.jar!/:9.4.1208.jre7]
vulas-os-rest-backend | at org.postgresql.core.v3.ConnectionFactoryImpl.openConnectionImpl(ConnectionFactoryImpl.java:208) ~[postgresql-9.4.1208.jre7.jar!/:9.4.1208.jre7]
vulas-os-rest-backend | at org.postgresql.core.ConnectionFactory.openConnection(ConnectionFactory.java:66) ~[postgresql-9.4.1208.jre7.jar!/:9.4.1208.jre7]
vulas-os-rest-backend | at org.postgresql.jdbc.PgConnection.<init>(PgConnection.java:215) ~[postgresql-9.4.1208.jre7.jar!/:9.4.1208.jre7]
vulas-os-rest-backend | at org.postgresql.Driver.makeConnection(Driver.java:406) ~[postgresql-9.4.1208.jre7.jar!/:9.4.1208.jre7]
vulas-os-rest-backend | at org.postgresql.Driver.connect(Driver.java:274) ~[postgresql-9.4.1208.jre7.jar!/:9.4.1208.jre7]
vulas-os-rest-backend | at org.apache.tomcat.jdbc.pool.PooledConnection.connectUsingDriver(PooledConnection.java:319) ~[tomcat-jdbc-8.5.32.jar!/:na]
vulas-os-rest-backend | at org.apache.tomcat.jdbc.pool.PooledConnection.connect(PooledConnection.java:212) ~[tomcat-jdbc-8.5.32.jar!/:na]
vulas-os-rest-backend | at org.apache.tomcat.jdbc.pool.ConnectionPool.createConnection(ConnectionPool.java:736) ~[tomcat-jdbc-8.5.32.jar!/:na]
vulas-os-rest-backend | at org.apache.tomcat.jdbc.pool.ConnectionPool.borrowConnection(ConnectionPool.java:668) ~[tomcat-jdbc-8.5.32.jar!/:na]
vulas-os-rest-backend | at org.apache.tomcat.jdbc.pool.ConnectionPool.init(ConnectionPool.java:483) ~[tomcat-jdbc-8.5.32.jar!/:na]
vulas-os-rest-backend | at org.apache.tomcat.jdbc.pool.ConnectionPool.<init>(ConnectionPool.java:154) ~[tomcat-jdbc-8.5.32.jar!/:na]
vulas-os-rest-backend | at org.apache.tomcat.jdbc.pool.DataSourceProxy.pCreatePool(DataSourceProxy.java:118) ~[tomcat-jdbc-8.5.32.jar!/:na]
vulas-os-rest-backend | at org.apache.tomcat.jdbc.pool.DataSourceProxy.createPool(DataSourceProxy.java:107) ~[tomcat-jdbc-8.5.32.jar!/:na]
vulas-os-rest-backend | at org.apache.tomcat.jdbc.pool.DataSourceProxy.getConnection(DataSourceProxy.java:131) ~[tomcat-jdbc-8.5.32.jar!/:na]
vulas-os-rest-backend | at org.flywaydb.core.internal.util.jdbc.JdbcUtils.openConnection(JdbcUtils.java:51) ~[flyway-core-5.0.7.jar!/:na]
vulas-os-rest-backend | ... 101 common frames omitted
It seems to indicate an .env problem, however, it is configured as indicated in the installation guide. My .env is:
# Vulas
VULAS_RELEASE=3.0.15
VULAS_ENV=prod
# *** MANDATORY SETTINGS ***
# PostgreSQL
POSTGRES_USER=admin
POSTGRES_PASSWORD=secret
# Spring (should be equal to the values in PostgreSQL section above)
spring.datasource.username=admin
spring.datasource.password=secret
# HAProxy
HAPROXY_STATS_USER=admin
HAPROXY_STATS_PASSWORD=secret
# Frontend Bugs Frontend
FRONTEND_BUGS_USER=admin
FRONTEND_BUGS_PASSWORD=secret
# *** OPTIONAL SETTINGS ***
# Jira (optional)
JIRA_USER=
JIRA_PASSWORD=
# Proxy
HTTP_PROXY_HOST=
HTTPS_PROXY_HOST=
HTTP_PROXY_PORT=
HTTPS_PROXY_PORT=
NON_PROXY_HOSTS=
http_proxy=
https_proxy=
no_proxy=
I tried this but it didn't work!
From the comments above I can understand that it was a problem with your .env file. Basically in your .env the VULAS_RELEASE was set to 3.0.15 but probably you built the artifacts tagged with version 3.0.15-SNAPSHOT.
A general rule is to always check what's the VULAS_RELEASE in the .env.sample and use that value in the custom .env.
Consider also that at every release the VULAS_RELEASE is incremented, so you have to update your .env every time you pull the code that is on a newer release.
Related
I am trying to use elasticsearch as a db for my application by using kafka connect in between. KafkaConnect, elasticsearch(version 7) and my application are running in a containers in a same network. When I trie to access elasticsearch from the container for kafkaconnect, it is successful. But my connector keeps throwing me the following error and I can't seem to figure out the exact issue:
Error:
container_standalone | java.lang.IllegalArgumentException: Invalid HTTP host: elasticsearch:9200/
container_standalone | at org.apache.http.HttpHost.create(HttpHost.java:123)
container_standalone | at io.confluent.connect.elasticsearch.jest.JestElasticsearchClient.lambda$getClientConfig$0(JestElasticsearchClient.java:201)
container_standalone | at java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:193)
container_standalone | at java.util.Spliterators$ArraySpliterator.forEachRemaining(Spliterators.java:948)
container_standalone | at java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:482)
container_standalone | at java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:472)
container_standalone | at java.util.stream.ReduceOps$ReduceOp.evaluateSequential(ReduceOps.java:708)
container_standalone | at java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234)
container_standalone | at java.util.stream.ReferencePipeline.collect(ReferencePipeline.java:499)
container_standalone | at io.confluent.connect.elasticsearch.jest.JestElasticsearchClient.getClientConfig(JestElasticsearchClient.java:201)
container_standalone | at io.confluent.connect.elasticsearch.jest.JestElasticsearchClient.<init>(JestElasticsearchClient.java:149)
container_standalone | at io.confluent.connect.elasticsearch.jest.JestElasticsearchClient.<init>(JestElasticsearchClient.java:142)
container_standalone | at io.confluent.connect.elasticsearch.ElasticsearchSinkTask.start(ElasticsearchSinkTask.java:122)
container_standalone | at io.confluent.connect.elasticsearch.ElasticsearchSinkTask.start(ElasticsearchSinkTask.java:51)
container_standalone | at org.apache.kafka.connect.runtime.WorkerSinkTask.initializeAndStart(WorkerSinkTask.java:300)
container_standalone | at org.apache.kafka.connect.runtime.WorkerSinkTask.execute(WorkerSinkTask.java:189)
container_standalone | at org.apache.kafka.connect.runtime.WorkerTask.doRun(WorkerTask.java:177)
container_standalone | at org.apache.kafka.connect.runtime.WorkerTask.run(WorkerTask.java:227)
container_standalone | at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
container_standalone | at java.util.concurrent.FutureTask.run(FutureTask.java:266)
container_standalone | at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
container_standalone | at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
container_standalone | at java.lang.Thread.run(Thread.java:748)
container_standalone | [2020-09-23 09:47:09,366] ERROR WorkerSinkTask{id=elasticsearch-sink-0} Task is being killed and will not recover until manually restarted (org.apache.kafka.connect.runtime.WorkerTask:180)
Configuration File:
name=elasticsearch-sink
connector.class=io.confluent.connect.elasticsearch.ElasticsearchSinkConnector
tasks.max=1
topics=vehicle
topic.index=test-vehicle
connection.url=http://elasticsearch:9200
connection.username=username
connection.password=password
type.name=log
key.ignore=true
schema.ignore=true
Elastic.yml file:
cluster.name: "docker-cluster"
network.host: 0.0.0.0
xpack.license.self_generated.type: trial
xpack.security.enabled: false
xpack.monitoring.collection.enabled: true
I'm developing an API in Spring Boot and I want to deploy it using Jetty (9.4.1.v20170120) that is already installed in my server, but I have had a lot of problems trying it, my question is, does anyone know what is the basic configuration to start a project with Spring Boot + Jetty + JPA + MySQL? If you have a template that I can use, I will appreciate it! Now, if you think that you can explain me and you want money just tell me! I'm very stressed to try to make it work and I've been wasting my time searching on Google but I have not found useful things :( Thanks in advance!
UPD: Among all the things that I tried, as Dirk says, I changed my pom.xml and it looks as follows:
<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<groupId>com.vibradeporte</groupId>
<artifactId>jetty-test</artifactId>
<version>0.0.1-SNAPSHOT</version>
<packaging>war</packaging>
<name>jetty-test</name>
<description></description>
<parent>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-parent</artifactId>
<version>2.0.2.RELEASE</version>
<relativePath /> <!-- lookup parent from repository -->
</parent>
<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
<java.version>1.8</java.version>
</properties>
<dependencies>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-web</artifactId>
<exclusions>
<exclusion>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-tomcat</artifactId>
</exclusion>
</exclusions>
</dependency>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-jetty</artifactId>
</dependency>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-test</artifactId>
<scope>test</scope>
</dependency>
</dependencies>
<build>
<plugins>
<plugin>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-maven-plugin</artifactId>
</plugin>
</plugins>
</build>
</project>
Then, if I try to execute it locally, it runs without problems but when I upload my war file to my server (I have installed jetty 9.4.1.v20170120), the server shows me this:
** WARNING: JETTY_LOGS is Deprecated. Please configure logging within the jetty base.
Starting Jetty: 2018-05-21 13:33:10.930:INFO::main: Logging initialized #144ms to org.eclipse.jetty.util.log.StdErrLog
2018-05-21 13:33:11.141:WARN:oejs.HomeBaseWarning:main: This instance of Jetty is not running from a separate {jetty.base} directory, this is not recommended. See documentation at http://www.eclipse.org/jetty/documentation/current/startup.html
2018-05-21 13:33:11.196:INFO:oejs.Server:main: jetty-9.4.1.v20170120
2018-05-21 13:33:11.228:INFO:oejdp.ScanningAppProvider:main: Deployment monitor [file:///usr/share/jetty/jetty-distribution-9.4.1.v20170120/webapps/] at interval 1
2018-05-21 13:33:13.446:INFO:oeja.AnnotationConfiguration:main: Scanning elapsed time=1770ms
2018-05-21 13:33:13.447:WARN:oejw.WebAppContext:main: Failed startup of context o.e.j.w.WebAppContext#5ae9a829{/jetty-test-0.0.1-SNAPSHOT,file:///tmp/jetty-0.0.0.0-8080-jetty-test-0.0.1-SNAPSHOT.war-_jetty-test-0.0.1-SNAPSHOT-any-6309295758354144012.dir/webapp/,UNAVAILABLE}{/jetty-test-0.0.1-SNAPSHOT.war}
MultiException[java.lang.RuntimeException: Error scanning entry module-info.class from jar file:///tmp/jetty-0.0.0.0-8080-jetty-test-0.0.1-SNAPSHOT.war-_jetty-test-0.0.1-SNAPSHOT-any-6309295758354144012.dir/webapp/WEB-INF/lib/asm-tree-6.1.1.jar, java.lang.RuntimeException: Error scanning entry module-info.class from jar file:///tmp/jetty-0.0.0.0-8080-jetty-test-0.0.1-SNAPSHOT.war-_jetty-test-0.0.1-SNAPSHOT-any-6309295758354144012.dir/webapp/WEB-INF/lib/asm-6.1.1.jar, java.lang.RuntimeException: Error scanning entry module-info.class from jar file:///tmp/jetty-0.0.0.0-8080-jetty-test-0.0.1-SNAPSHOT.war-_jetty-test-0.0.1-SNAPSHOT-any-6309295758354144012.dir/webapp/WEB-INF/lib/asm-analysis-6.1.1.jar, java.lang.RuntimeException: Error scanning entry META-INF/versions/9/org/apache/logging/log4j/util/ProcessIdUtil.class from jar file:///tmp/jetty-0.0.0.0-8080-jetty-test-0.0.1-SNAPSHOT.war-_jetty-test-0.0.1-SNAPSHOT-any-6309295758354144012.dir/webapp/WEB-INF/lib/log4j-api-2.10.0.jar, java.lang.RuntimeException: Error scanning entry META-INF/versions/9/org/apache/logging/log4j/util/StackLocator.class from jar file:///tmp/jetty-0.0.0.0-8080-jetty-test-0.0.1-SNAPSHOT.war-_jetty-test-0.0.1-SNAPSHOT-any-6309295758354144012.dir/webapp/WEB-INF/lib/log4j-api-2.10.0.jar, java.lang.RuntimeException: Error scanning entry module-info.class from jar file:///tmp/jetty-0.0.0.0-8080-jetty-test-0.0.1-SNAPSHOT.war-_jetty-test-0.0.1-SNAPSHOT-any-6309295758354144012.dir/webapp/WEB-INF/lib/log4j-api-2.10.0.jar, java.lang.RuntimeException: Error scanning entry module-info.class from jar file:///tmp/jetty-0.0.0.0-8080-jetty-test-0.0.1-SNAPSHOT.war-_jetty-test-0.0.1-SNAPSHOT-any-6309295758354144012.dir/webapp/WEB-INF/lib/asm-commons-6.1.1.jar]
at org.eclipse.jetty.annotations.AnnotationConfiguration.scanForAnnotations(AnnotationConfiguration.java:452)
at org.eclipse.jetty.annotations.AnnotationConfiguration.configure(AnnotationConfiguration.java:365)
at org.eclipse.jetty.webapp.WebAppContext.configure(WebAppContext.java:512)
at org.eclipse.jetty.webapp.WebAppContext.startContext(WebAppContext.java:1437)
at org.eclipse.jetty.server.handler.ContextHandler.doStart(ContextHandler.java:788)
at org.eclipse.jetty.servlet.ServletContextHandler.doStart(ServletContextHandler.java:261)
at org.eclipse.jetty.webapp.WebAppContext.doStart(WebAppContext.java:540)
at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:68)
at org.eclipse.jetty.deploy.bindings.StandardStarter.processBinding(StandardStarter.java:41)
at org.eclipse.jetty.deploy.AppLifeCycle.runBindings(AppLifeCycle.java:188)
at org.eclipse.jetty.deploy.DeploymentManager.requestAppGoal(DeploymentManager.java:499)
at org.eclipse.jetty.deploy.DeploymentManager.addApp(DeploymentManager.java:147)
at org.eclipse.jetty.deploy.providers.ScanningAppProvider.fileAdded(ScanningAppProvider.java:180)
at org.eclipse.jetty.deploy.providers.WebAppProvider.fileAdded(WebAppProvider.java:452)
at org.eclipse.jetty.deploy.providers.ScanningAppProvider$1.fileAdded(ScanningAppProvider.java:64)
at org.eclipse.jetty.util.Scanner.reportAddition(Scanner.java:610)
at org.eclipse.jetty.util.Scanner.reportDifferences(Scanner.java:529)
at org.eclipse.jetty.util.Scanner.scan(Scanner.java:392)
at org.eclipse.jetty.util.Scanner.doStart(Scanner.java:313)
at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:68)
at org.eclipse.jetty.deploy.providers.ScanningAppProvider.doStart(ScanningAppProvider.java:150)
at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:68)
at org.eclipse.jetty.deploy.DeploymentManager.startAppProvider(DeploymentManager.java:561)
at org.eclipse.jetty.deploy.DeploymentManager.doStart(DeploymentManager.java:236)
at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:68)
at org.eclipse.jetty.util.component.ContainerLifeCycle.start(ContainerLifeCycle.java:131)
at org.eclipse.jetty.server.Server.start(Server.java:452)
at org.eclipse.jetty.util.component.ContainerLifeCycle.doStart(ContainerLifeCycle.java:113)
at org.eclipse.jetty.server.handler.AbstractHandler.doStart(AbstractHandler.java:113)
at org.eclipse.jetty.server.Server.doStart(Server.java:419)
at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:68)
at org.eclipse.jetty.xml.XmlConfiguration$1.run(XmlConfiguration.java:1511)
at org.eclipse.jetty.xml.XmlConfiguration$1.run(XmlConfiguration.java:1438)
at java.security.AccessController.doPrivileged(Native Method)
at org.eclipse.jetty.xml.XmlConfiguration.main(XmlConfiguration.java:1437)
Suppressed:
|java.lang.RuntimeException: Error scanning entry module-info.class from jar file:///tmp/jetty-0.0.0.0-8080-jetty-test-0.0.1-SNAPSHOT.war-_jetty-test-0.0.1-SNAPSHOT-any-6309295758354144012.dir/webapp/WEB-INF/lib/asm-6.1.1.jar
| at org.eclipse.jetty.annotations.AnnotationParser.parseJar(AnnotationParser.java:891)
| at org.eclipse.jetty.annotations.AnnotationParser.parse(AnnotationParser.java:837)
| at org.eclipse.jetty.annotations.AnnotationConfiguration$ParserTask.call(AnnotationConfiguration.java:159)
| at org.eclipse.jetty.annotations.AnnotationConfiguration$1.run(AnnotationConfiguration.java:464)
| at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:672)
| at org.eclipse.jetty.util.thread.QueuedThreadPool$2.run(QueuedThreadPool.java:590)
| at java.lang.Thread.run(Thread.java:748)
|Caused by:
|java.lang.IllegalArgumentException
| at org.objectweb.asm.ClassReader.<init>(Unknown Source)
| at org.objectweb.asm.ClassReader.<init>(Unknown Source)
| at org.objectweb.asm.ClassReader.<init>(Unknown Source)
| at org.eclipse.jetty.annotations.AnnotationParser.scanClass(AnnotationParser.java:959)
| at org.eclipse.jetty.annotations.AnnotationParser.parseJarEntry(AnnotationParser.java:940)
| at org.eclipse.jetty.annotations.AnnotationParser.parseJar(AnnotationParser.java:887)
| at org.eclipse.jetty.annotations.AnnotationParser.parse(AnnotationParser.java:837)
| at org.eclipse.jetty.annotations.AnnotationConfiguration$ParserTask.call(AnnotationConfiguration.java:159)
| at org.eclipse.jetty.annotations.AnnotationConfiguration$1.run(AnnotationConfiguration.java:464)
| at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:672)
| at org.eclipse.jetty.util.thread.QueuedThreadPool$2.run(QueuedThreadPool.java:590)
| at java.lang.Thread.run(Thread.java:748)
Suppressed:
|java.lang.RuntimeException: Error scanning entry module-info.class from jar file:///tmp/jetty-0.0.0.0-8080-jetty-test-0.0.1-SNAPSHOT.war-_jetty-test-0.0.1-SNAPSHOT-any-6309295758354144012.dir/webapp/WEB-INF/lib/asm-analysis-6.1.1.jar
| at org.eclipse.jetty.annotations.AnnotationParser.parseJar(AnnotationParser.java:891)
| at org.eclipse.jetty.annotations.AnnotationParser.parse(AnnotationParser.java:837)
| at org.eclipse.jetty.annotations.AnnotationConfiguration$ParserTask.call(AnnotationConfiguration.java:159)
| at org.eclipse.jetty.annotations.AnnotationConfiguration$1.run(AnnotationConfiguration.java:464)
| at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:672)
| at org.eclipse.jetty.util.thread.QueuedThreadPool$2.run(QueuedThreadPool.java:590)
| at java.lang.Thread.run(Thread.java:748)
|Caused by:
|java.lang.IllegalArgumentException
| at org.objectweb.asm.ClassReader.<init>(Unknown Source)
| at org.objectweb.asm.ClassReader.<init>(Unknown Source)
| at org.objectweb.asm.ClassReader.<init>(Unknown Source)
| at org.eclipse.jetty.annotations.AnnotationParser.scanClass(AnnotationParser.java:959)
| at org.eclipse.jetty.annotations.AnnotationParser.parseJarEntry(AnnotationParser.java:940)
| at org.eclipse.jetty.annotations.AnnotationParser.parseJar(AnnotationParser.java:887)
| at org.eclipse.jetty.annotations.AnnotationParser.parse(AnnotationParser.java:837)
| at org.eclipse.jetty.annotations.AnnotationConfiguration$ParserTask.call(AnnotationConfiguration.java:159)
| at org.eclipse.jetty.annotations.AnnotationConfiguration$1.run(AnnotationConfiguration.java:464)
| at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:672)
| at org.eclipse.jetty.util.thread.QueuedThreadPool$2.run(QueuedThreadPool.java:590)
| at java.lang.Thread.run(Thread.java:748)
Suppressed:
|MultiException[java.lang.RuntimeException: Error scanning entry META-INF/versions/9/org/apache/logging/log4j/util/ProcessIdUtil.class from jar file:///tmp/jetty-0.0.0.0-8080-jetty-test-0.0.1-SNAPSHOT.war-_jetty-test-0.0.1-SNAPSHOT-any-6309295758354144012.dir/webapp/WEB-INF/lib/log4j-api-2.10.0.jar, java.lang.RuntimeException: Error scanning entry META-INF/versions/9/org/apache/logging/log4j/util/StackLocator.class from jar file:///tmp/jetty-0.0.0.0-8080-jetty-test-0.0.1-SNAPSHOT.war-_jetty-test-0.0.1-SNAPSHOT-any-6309295758354144012.dir/webapp/WEB-INF/lib/log4j-api-2.10.0.jar, java.lang.RuntimeException: Error scanning entry module-info.class from jar file:///tmp/jetty-0.0.0.0-8080-jetty-test-0.0.1-SNAPSHOT.war-_jetty-test-0.0.1-SNAPSHOT-any-6309295758354144012.dir/webapp/WEB-INF/lib/log4j-api-2.10.0.jar]
| at org.eclipse.jetty.annotations.AnnotationParser.parseJar(AnnotationParser.java:878)
| at org.eclipse.jetty.annotations.AnnotationParser.parse(AnnotationParser.java:837)
| at org.eclipse.jetty.annotations.AnnotationConfiguration$ParserTask.call(AnnotationConfiguration.java:159)
| at org.eclipse.jetty.annotations.AnnotationConfiguration$1.run(AnnotationConfiguration.java:464)
| at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:672)
| at org.eclipse.jetty.util.thread.QueuedThreadPool$2.run(QueuedThreadPool.java:590)
| at java.lang.Thread.run(Thread.java:748)
|Suppressed:
| |java.lang.RuntimeException: Error scanning entry META-INF/versions/9/org/apache/logging/log4j/util/StackLocator.class from jar file:///tmp/jetty-0.0.0.0-8080-jetty-test-0.0.1-SNAPSHOT.war-_jetty-test-0.0.1-SNAPSHOT-any-6309295758354144012.dir/webapp/WEB-INF/lib/log4j-api-2.10.0.jar
| | at org.eclipse.jetty.annotations.AnnotationParser.parseJar(AnnotationParser.java:891)
| | at org.eclipse.jetty.annotations.AnnotationParser.parse(AnnotationParser.java:837)
| | at org.eclipse.jetty.annotations.AnnotationConfiguration$ParserTask.call(AnnotationConfiguration.java:159)
| | at org.eclipse.jetty.annotations.AnnotationConfiguration$1.run(AnnotationConfiguration.java:464)
| | at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:672)
| | at org.eclipse.jetty.util.thread.QueuedThreadPool$2.run(QueuedThreadPool.java:590)
| | at java.lang.Thread.run(Thread.java:748)
| |Caused by:
| |java.lang.IllegalArgumentException
| | at org.objectweb.asm.ClassReader.<init>(Unknown Source)
| | at org.objectweb.asm.ClassReader.<init>(Unknown Source)
| | at org.objectweb.asm.ClassReader.<init>(Unknown Source)
| | at org.eclipse.jetty.annotations.AnnotationParser.scanClass(AnnotationParser.java:959)
| | at org.eclipse.jetty.annotations.AnnotationParser.parseJarEntry(AnnotationParser.java:940)
| | at org.eclipse.jetty.annotations.AnnotationParser.parseJar(AnnotationParser.java:887)
| | at org.eclipse.jetty.annotations.AnnotationParser.parse(AnnotationParser.java:837)
| | at org.eclipse.jetty.annotations.AnnotationConfiguration$ParserTask.call(AnnotationConfiguration.java:159)
| | at org.eclipse.jetty.annotations.AnnotationConfiguration$1.run(AnnotationConfiguration.java:464)
| | at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:672)
| | at org.eclipse.jetty.util.thread.QueuedThreadPool$2.run(QueuedThreadPool.java:590)
| | at java.lang.Thread.run(Thread.java:748)
|Suppressed:
| |java.lang.RuntimeException: Error scanning entry module-info.class from jar file:///tmp/jetty-0.0.0.0-8080-jetty-test-0.0.1-SNAPSHOT.war-_jetty-test-0.0.1-SNAPSHOT-any-6309295758354144012.dir/webapp/WEB-INF/lib/log4j-api-2.10.0.jar
| | at org.eclipse.jetty.annotations.AnnotationParser.parseJar(AnnotationParser.java:891)
| | at org.eclipse.jetty.annotations.AnnotationParser.parse(AnnotationParser.java:837)
| | at org.eclipse.jetty.annotations.AnnotationConfiguration$ParserTask.call(AnnotationConfiguration.java:159)
| | at org.eclipse.jetty.annotations.AnnotationConfiguration$1.run(AnnotationConfiguration.java:464)
| | at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:672)
| | at org.eclipse.jetty.util.thread.QueuedThreadPool$2.run(QueuedThreadPool.java:590)
| | at java.lang.Thread.run(Thread.java:748)
| |Caused by:
| |java.lang.IllegalArgumentException
| | at org.objectweb.asm.ClassReader.<init>(Unknown Source)
| | at org.objectweb.asm.ClassReader.<init>(Unknown Source)
| | at org.objectweb.asm.ClassReader.<init>(Unknown Source)
| | at org.eclipse.jetty.annotations.AnnotationParser.scanClass(AnnotationParser.java:959)
| | at org.eclipse.jetty.annotations.AnnotationParser.parseJarEntry(AnnotationParser.java:940)
| | at org.eclipse.jetty.annotations.AnnotationParser.parseJar(AnnotationParser.java:887)
| | at org.eclipse.jetty.annotations.AnnotationParser.parse(AnnotationParser.java:837)
| | at org.eclipse.jetty.annotations.AnnotationConfiguration$ParserTask.call(AnnotationConfiguration.java:159)
| | at org.eclipse.jetty.annotations.AnnotationConfiguration$1.run(AnnotationConfiguration.java:464)
| | at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:672)
| | at org.eclipse.jetty.util.thread.QueuedThreadPool$2.run(QueuedThreadPool.java:590)
| | at java.lang.Thread.run(Thread.java:748)
|Caused by:
|java.lang.RuntimeException: Error scanning entry META-INF/versions/9/org/apache/logging/log4j/util/ProcessIdUtil.class from jar file:///tmp/jetty-0.0.0.0-8080-jetty-test-0.0.1-SNAPSHOT.war-_jetty-test-0.0.1-SNAPSHOT-any-6309295758354144012.dir/webapp/WEB-INF/lib/log4j-api-2.10.0.jar
| at org.eclipse.jetty.annotations.AnnotationParser.parseJar(AnnotationParser.java:891)
| at org.eclipse.jetty.annotations.AnnotationParser.parse(AnnotationParser.java:837)
| at org.eclipse.jetty.annotations.AnnotationConfiguration$ParserTask.call(AnnotationConfiguration.java:159)
| at org.eclipse.jetty.annotations.AnnotationConfiguration$1.run(AnnotationConfiguration.java:464)
| at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:672)
| at org.eclipse.jetty.util.thread.QueuedThreadPool$2.run(QueuedThreadPool.java:590)
| at java.lang.Thread.run(Thread.java:748)
|Caused by:
|java.lang.IllegalArgumentException
| at org.objectweb.asm.ClassReader.<init>(Unknown Source)
| at org.objectweb.asm.ClassReader.<init>(Unknown Source)
| at org.objectweb.asm.ClassReader.<init>(Unknown Source)
| at org.eclipse.jetty.annotations.AnnotationParser.scanClass(AnnotationParser.java:959)
| at org.eclipse.jetty.annotations.AnnotationParser.parseJarEntry(AnnotationParser.java:940)
| at org.eclipse.jetty.annotations.AnnotationParser.parseJar(AnnotationParser.java:887)
| at org.eclipse.jetty.annotations.AnnotationParser.parse(AnnotationParser.java:837)
| at org.eclipse.jetty.annotations.AnnotationConfiguration$ParserTask.call(AnnotationConfiguration.java:159)
| at org.eclipse.jetty.annotations.AnnotationConfiguration$1.run(AnnotationConfiguration.java:464)
| at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:672)
| at org.eclipse.jetty.util.thread.QueuedThreadPool$2.run(QueuedThreadPool.java:590)
| at java.lang.Thread.run(Thread.java:748)
Suppressed:
|java.lang.RuntimeException: Error scanning entry module-info.class from jar file:///tmp/jetty-0.0.0.0-8080-jetty-test-0.0.1-SNAPSHOT.war-_jetty-test-0.0.1-SNAPSHOT-any-6309295758354144012.dir/webapp/WEB-INF/lib/asm-commons-6.1.1.jar
| at org.eclipse.jetty.annotations.AnnotationParser.parseJar(AnnotationParser.java:891)
| at org.eclipse.jetty.annotations.AnnotationParser.parse(AnnotationParser.java:837)
| at org.eclipse.jetty.annotations.AnnotationConfiguration$ParserTask.call(AnnotationConfiguration.java:159)
| at org.eclipse.jetty.annotations.AnnotationConfiguration$1.run(AnnotationConfiguration.java:464)
| at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:672)
| at org.eclipse.jetty.util.thread.QueuedThreadPool$2.run(QueuedThreadPool.java:590)
| at java.lang.Thread.run(Thread.java:748)
|Caused by:
|java.lang.IllegalArgumentException
| at org.objectweb.asm.ClassReader.<init>(Unknown Source)
| at org.objectweb.asm.ClassReader.<init>(Unknown Source)
| at org.objectweb.asm.ClassReader.<init>(Unknown Source)
| at org.eclipse.jetty.annotations.AnnotationParser.scanClass(AnnotationParser.java:959)
| at org.eclipse.jetty.annotations.AnnotationParser.parseJarEntry(AnnotationParser.java:940)
| at org.eclipse.jetty.annotations.AnnotationParser.parseJar(AnnotationParser.java:887)
| at org.eclipse.jetty.annotations.AnnotationParser.parse(AnnotationParser.java:837)
| at org.eclipse.jetty.annotations.AnnotationConfiguration$ParserTask.call(AnnotationConfiguration.java:159)
| at org.eclipse.jetty.annotations.AnnotationConfiguration$1.run(AnnotationConfiguration.java:464)
| at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:672)
| at org.eclipse.jetty.util.thread.QueuedThreadPool$2.run(QueuedThreadPool.java:590)
| at java.lang.Thread.run(Thread.java:748)
Caused by:
java.lang.RuntimeException: Error scanning entry module-info.class from jar file:///tmp/jetty-0.0.0.0-8080-jetty-test-0.0.1-SNAPSHOT.war-_jetty-test-0.0.1-SNAPSHOT-any-6309295758354144012.dir/webapp/WEB-INF/lib/asm-tree-6.1.1.jar
at org.eclipse.jetty.annotations.AnnotationParser.parseJar(AnnotationParser.java:891)
at org.eclipse.jetty.annotations.AnnotationParser.parse(AnnotationParser.java:837)
at org.eclipse.jetty.annotations.AnnotationConfiguration$ParserTask.call(AnnotationConfiguration.java:159)
at org.eclipse.jetty.annotations.AnnotationConfiguration$1.run(AnnotationConfiguration.java:464)
at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:672)
at org.eclipse.jetty.util.thread.QueuedThreadPool$2.run(QueuedThreadPool.java:590)
at java.lang.Thread.run(Thread.java:748)
Caused by:
java.lang.IllegalArgumentException
at org.objectweb.asm.ClassReader.<init>(Unknown Source)
at org.objectweb.asm.ClassReader.<init>(Unknown Source)
at org.objectweb.asm.ClassReader.<init>(Unknown Source)
at org.eclipse.jetty.annotations.AnnotationParser.scanClass(AnnotationParser.java:959)
at org.eclipse.jetty.annotations.AnnotationParser.parseJarEntry(AnnotationParser.java:940)
at org.eclipse.jetty.annotations.AnnotationParser.parseJar(AnnotationParser.java:887)
at org.eclipse.jetty.annotations.AnnotationParser.parse(AnnotationParser.java:837)
at org.eclipse.jetty.annotations.AnnotationConfiguration$ParserTask.call(AnnotationConfiguration.java:159)
at org.eclipse.jetty.annotations.AnnotationConfiguration$1.run(AnnotationConfiguration.java:464)
at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:672)
at org.eclipse.jetty.util.thread.QueuedThreadPool$2.run(QueuedThreadPool.java:590)
at java.lang.Thread.run(Thread.java:748)
2018-05-21 13:33:14.139:INFO:oeja.AnnotationConfiguration:main: Scanning elapsed time=230ms
FAILED Mon May 21 13:33:14 -05 2018
exclude tomcat and add jetty
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-web</artifactId>
<exclusions>
<exclusion>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-tomcat</artifactId>
</exclusion>
</exclusions>
</dependency>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-jetty</artifactId>
</dependency>
Finally, I could solve it, two things to take into account:
Install the lastest version of jetty on your server, for this case 9.4.10.v20180503.
Add to your dependencies (I hava installed JDK 10), (Error creating bean with name 'entityManagerFactory' defined in class path resource : Invocation of init method failed):
<dependency>
< groupId>javax.xml.bind</groupId>
<artifactId>jaxb-api</artifactId>
<version>2.3.0</version>
</dependency>
That is all!
I tried to run Kafka without Docker a few days ago, again, I failed. It's very hard to setup. So, I decided to use Docker, then I failed again. What could be the problem?
I ran these commands:
git clone https://github.com/confluentinc/cp-docker-images
cd cp-docker-images/examples/kafka-single-node
docker-compose up
Btw, this is my:
Docker version: 17.03.1-ce
Docker compose version: 1.11.2, build dfed245
I downloaded the new Docker for OS X here.
SIDE NOTE: New Docker for OS X uses a different architecture than the previous ones and so, solves many previous problems in OS X with Docker. So, most of the issues talked in Confluent Docker documentation will be easier to address, I believe.
Error Log:
kafka_1 | [2017-05-08 21:00:37,382] WARN [Controller-1-to-broker-1-send-thread], Controller 1 epoch 1 fails to send request (type: UpdateMetadataRequest=, controllerId=1, controllerEpoch=1, partitionStates={}, liveBrokers=(id=1, endPoints=(host=localhost, port=29092, listenerName=ListenerName(PLAINTEXT), securityProtocol=PLAINTEXT), rack=null)) to broker localhost:29092 (id: 1 rack: null). Reconnecting to broker. (kafka.controller.RequestSendThread)
kafka_1 | java.io.IOException: Connection to 1 was disconnected before the response was read
kafka_1 | at kafka.utils.NetworkClientBlockingOps$$anonfun$blockingSendAndReceive$extension$1$$anonfun$apply$1.apply(NetworkClientBlockingOps.scala:114)
kafka_1 | at kafka.utils.NetworkClientBlockingOps$$anonfun$blockingSendAndReceive$extension$1$$anonfun$apply$1.apply(NetworkClientBlockingOps.scala:112)
kafka_1 | at scala.Option.foreach(Option.scala:257)
kafka_1 | at kafka.utils.NetworkClientBlockingOps$$anonfun$blockingSendAndReceive$extension$1.apply(NetworkClientBlockingOps.scala:112)
kafka_1 | at kafka.utils.NetworkClientBlockingOps$$anonfun$blockingSendAndReceive$extension$1.apply(NetworkClientBlockingOps.scala:108)
kafka_1 | at kafka.utils.NetworkClientBlockingOps$.recursivePoll$1(NetworkClientBlockingOps.scala:136)
kafka_1 | at kafka.utils.NetworkClientBlockingOps$.kafka$utils$NetworkClientBlockingOps$$pollContinuously$extension(NetworkClientBlockingOps.scala:142)
kafka_1 | at kafka.utils.NetworkClientBlockingOps$.blockingSendAndReceive$extension(NetworkClientBlockingOps.scala:108)
kafka_1 | at kafka.controller.RequestSendThread.liftedTree1$1(ControllerChannelManager.scala:196)
kafka_1 | at kafka.controller.RequestSendThread.doWork(ControllerChannelManager.scala:188)
kafka_1 | at kafka.utils.ShutdownableThread.run(ShutdownableThread.scala:63)
kafka_1 | [2017-05-08 21:00:37,484] INFO [Controller-1-to-broker-1-send-thread], Controller 1 connected to localhost:29092 (id: 1 rack: null) for sending state change requests (kafka.controller.RequestSendThread)
kafka_1 | [2017-05-08 21:00:37,486] ERROR Processor got uncaught exception. (kafka.network.Processor)
kafka_1 | java.lang.NoClassDefFoundError: Could not initialize class kafka.network.RequestChannel$
kafka_1 | at kafka.network.RequestChannel$Request.<init>(RequestChannel.scala:111)
kafka_1 | at kafka.network.Processor$$anonfun$processCompletedReceives$1.apply(SocketServer.scala:513)
kafka_1 | at kafka.network.Processor$$anonfun$processCompletedReceives$1.apply(SocketServer.scala:505)
kafka_1 | at scala.collection.Iterator$class.foreach(Iterator.scala:893)
kafka_1 | at scala.collection.AbstractIterator.foreach(Iterator.scala:1336)
kafka_1 | at scala.collection.IterableLike$class.foreach(IterableLike.scala:72)
kafka_1 | at scala.collection.AbstractIterable.foreach(Iterable.scala:54)
kafka_1 | at kafka.network.Processor.processCompletedReceives(SocketServer.scala:505)
kafka_1 | at kafka.network.Processor.run(SocketServer.scala:433)
kafka_1 | at java.lang.Thread.run(Thread.java:745)
kafka_1 | [2017-05-08 21:01:07,516] WARN [Controller-1-to-broker-1-send-thread], Controller 1 epoch 1 fails to send request (type: UpdateMetadataRequest=, controllerId=1, controllerEpoch=1, partitionStates={}, liveBrokers=(id=1, endPoints=(host=localhost, port=29092, listenerName=ListenerName(PLAINTEXT), securityProtocol=PLAINTEXT), rack=null)) to broker localhost:29092 (id: 1 rack: null). Reconnecting to broker. (kafka.controller.RequestSendThread)
kafka_1 | java.io.IOException: Connection to 1 was disconnected before the response was read
kafka_1 | at kafka.utils.NetworkClientBlockingOps$$anonfun$blockingSendAndReceive$extension$1$$anonfun$apply$1.apply(NetworkClientBlockingOps.scala:114)
kafka_1 | at kafka.utils.NetworkClientBlockingOps$$anonfun$blockingSendAndReceive$extension$1$$anonfun$apply$1.apply(NetworkClientBlockingOps.scala:112)
kafka_1 | at scala.Option.foreach(Option.scala:257)
kafka_1 | at kafka.utils.NetworkClientBlockingOps$$anonfun$blockingSendAndReceive$extension$1.apply(NetworkClientBlockingOps.scala:112)
kafka_1 | at kafka.utils.NetworkClientBlockingOps$$anonfun$blockingSendAndReceive$extension$1.apply(NetworkClientBlockingOps.scala:108)
kafka_1 | at kafka.utils.NetworkClientBlockingOps$.recursivePoll$1(NetworkClientBlockingOps.scala:136)
kafka_1 | at kafka.utils.NetworkClientBlockingOps$.kafka$utils$NetworkClientBlockingOps$$pollContinuously$extension(NetworkClientBlockingOps.scala:142)
kafka_1 | at kafka.utils.NetworkClientBlockingOps$.blockingSendAndReceive$extension(NetworkClientBlockingOps.scala:108)
kafka_1 | at kafka.controller.RequestSendThread.liftedTree1$1(ControllerChannelManager.scala:196)
kafka_1 | at kafka.controller.RequestSendThread.doWork(ControllerChannelManager.scala:188)
kafka_1 | at kafka.utils.ShutdownableThread.run(ShutdownableThread.scala:63)
kafka_1 | [2017-05-08 21:01:07,618] INFO [Controller-1-to-broker-1-send-thread], Controller 1 connected to localhost:29092 (id: 1 rack: null) for sending state change requests (kafka.controller.RequestSendThread)
kafka_1 | [2017-05-08 21:01:07,619] ERROR Processor got uncaught exception. (kafka.network.Processor)
kafka_1 | java.lang.NoClassDefFoundError: Could not initialize class kafka.network.RequestChannel$
kafka_1 | at kafka.network.RequestChannel$Request.<init>(RequestChannel.scala:111)
kafka_1 | at kafka.network.Processor$$anonfun$processCompletedReceives$1.apply(SocketServer.scala:513)
kafka_1 | at kafka.network.Processor$$anonfun$processCompletedReceives$1.apply(SocketServer.scala:505)
kafka_1 | at scala.collection.Iterator$class.foreach(Iterator.scala:893)
kafka_1 | at scala.collection.AbstractIterator.foreach(Iterator.scala:1336)
kafka_1 | at scala.collection.IterableLike$class.foreach(IterableLike.scala:72)
kafka_1 | at scala.collection.AbstractIterable.foreach(Iterable.scala:54)
kafka_1 | at kafka.network.Processor.processCompletedReceives(SocketServer.scala:505)
kafka_1 | at kafka.network.Processor.run(SocketServer.scala:433)
kafka_1 | at java.lang.Thread.run(Thread.java:745)
Docker recently changed its name to Moby and that was causing my issues. I needed to add moby as a localhost in my docker-compose config.
By adding extra_hosts parameter that resolves moby as localhost will solve this problem:
extra_hosts:
- "moby:127.0.0.1"
The fixing pull-request about this error is here.
To get this fix, type: git pull origin pull/258/head.
If you also want to read about the root cause of this, click here.
I am trying to connect to MQ using JNDI lookup defined in context.xml of tomcat. While starting the application, i am getting a NamingException and a NullPointer in FFDC. Below is what logged. I am not able to make out what is wrong. Any indication on how to debug this will help.
MQ VERSION:
[tomcat#catlx0004 ~]$ /opt/mqm/bin/dspmqver -a
Name: WebSphere MQ
Version: 7.0.1.12
CMVC level: p701-112-140319
BuildType: IKAP - (Production)
Platform: WebSphere MQ for Linux (x86-64 platform)
Mode: 64-bit
O/S: Linux 2.6.32-358.2.1.el6.x86_64
Exception in logs:
FFDC called in uninitialized Trace module
FDCTitle
Product :- ProductName
Date/Time :- Thu May 28 19:05:48 UTC 2015
System time :- 1432839948804
Operating System :- Linux
UserID :- tomcat
Java Vendor :- Oracle Corporation
Java Version :- 24.45-b08
Source Class :- com.ibm.msg.client.commonservices.nls.PINLSServices
Source Method :- createException(String,HashMap)
ProbeID :- XC003001
Thread :- name=localhost-startStop-1 priority=5 group=main ccl=WebappClassLoader
context: /CWL_UserSettings
delegate: false
repositories:
/WEB-INF/classes/
----------> Parent Classloader:
org.apache.catalina.loader.StandardClassLoader#7dc3d69c
Data
----
Data :- none
No Components Found
Stack trace
-----------
Stack trace to show the location of the FFST call
| FFST Location :- java.lang.Exception
| at com.ibm.msg.client.commonservices.trace.Trace.getCurrentPosition(Trace.java:1854)
| at com.ibm.msg.client.commonservices.trace.Trace.createFFSTString(Trace.java:1793)
| at com.ibm.msg.client.commonservices.trace.Trace.ffstInternal(Trace.java:1674)
| at com.ibm.msg.client.commonservices.trace.Trace.ffst(Trace.java:1491)
| at com.ibm.msg.client.commonservices.nls.PINLSServices.createException(PINLSServices.java:115)
| at com.ibm.msg.client.commonservices.nls.NLSServices.createException(NLSServices.java:388)
| at com.ibm.msg.client.jms.internal.JmsErrorUtils.createException(JmsErrorUtils.java:104)
| at com.ibm.msg.client.jms.internal.JmsFactoryFactoryImpl.getInstance(JmsFactoryFactoryImpl.java:167)
| at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
| at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
| at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
| at java.lang.reflect.Method.invoke(Unknown Source)
| at com.ibm.msg.client.jms.JmsFactoryFactory.getInstance(JmsFactoryFactory.java:183)
| at com.ibm.mq.jms.MQConnectionFactory.initialiseMQConnectionFactory(MQConnectionFactory.java:3330)
| at com.ibm.mq.jms.MQConnectionFactory.<init>(MQConnectionFactory.java:275)
| at com.ibm.mq.jms.MQQueueConnectionFactory.<init>(MQQueueConnectionFactory.java:76)
| at com.ibm.mq.jms.MQQueueConnectionFactoryFactory.getObjectInstance(MQQueueConnectionFactoryFactory.java:73)
| at org.apache.naming.factory.ResourceFactory.getObjectInstance(ResourceFactory.java
..........
Property Store Contents
-----------------------
All currently set properties
| EKMC_PROPERTY :- /apps/ekmc/devcell/devnode/tomcat/certs/ekmcconfig.dev.properties
| MQJMS_TRACE_DIR :-
| MQJMS_TRACE_LEVEL :-
| WXSGRIDNAME :- TARGET_SSA_DEV_GRID
| java.runtime.name :- Java(TM) SE Runtime Environment
| java.runtime.version :- 1.7.0_45-b18
| java.security.egd :- file:/dev/./urandom
| java.specification.name :- Java Platform API Specification
| java.specification.vendor :- Oracle Corporation
| java.specification.version :- 1.7
| shared.loader :- ${catalina.home}/shared/*.jar,${catalina.home}/shared/EKMC/*.jar,${catalina.home}/shared/WXSClient/*.jar,${catalina.home}/shared/servlet/*.jar,/opt/mqm/java/lib/*.jar,/opt/mqm/java/lib/*.jar
| sun.boot.class.path :- /apps/install/tomcat7.59/shared/WXSClient/ibmorbapi.jar:/apps/install/tomcat7.59/shared/WXSClient/ibmcfw.jar:/apps/install/tomcat7.59/shared/WXSClient/ibmorb.jar:/apps/install/tomcat7.59/shared/WXSClient/ogclient.jar:/apps/install/java/jre1.7.0_45/lib/resources.jar:/apps/install/java/jre1.7.0_45/lib/rt.jar:/apps/install/java/jre1.7.0_45/lib/sunrsasign.jar:/apps/install/java/jre1.7.0_45/lib/jsse.jar:/apps/install/java/jre1.7.0_45/lib/jce.jar:/apps/install/java/jre1.7.0_45/lib/charsets.jar:/apps/install/java/jre1.7.0_45/lib/jfr.jar:/apps/install/java/jre1.7.0_45/classes
......
FDCTitle
Product :- ProductName
Date/Time :- Thu May 28 19:05:48 UTC 2015
System time :- 1432839948830
Operating System :- Linux
UserID :- tomcat
Java Vendor :- Oracle Corporation
Java Version :- 24.45-b08
Source Class :- JmsFactoryFactory
Source Method :- getIntance(int)
ProbeID :- XI001005
Thread :- name=localhost-startStop-1 priority=5 group=main ccl=WebappClassLoader
context: /CWL_UserSettings
delegate: false
repositories:
/WEB-INF/classes/
----------> Parent Classloader:
org.apache.catalina.loader.StandardClassLoader#7dc3d69c
Data
----
| connectionTypeName :- com.ibm.msg.client.wmq
| exception :- ExceptionDepth is 3
| exception :-
| | Cause:1 :- java.lang.reflect.InvocationTargetException
| | Cause:2 :- java.lang.NullPointerException
| | StackTrace:1 :- java.lang.reflect.InvocationTargetException
| | at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
| | at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
| | at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
| | at java.lang.reflect.Method.invoke(Unknown Source)
| | at com.ibm.msg.client.jms.JmsFactoryFactory.getInstance(JmsFactoryFactory.java:183)
| | at com.ibm.mq.jms.MQConnectionFactory.initialiseMQConnectionFactory(MQConnectionFactory.java:3330)
| | at com.ibm.mq.jms.MQConnectionFactory.<init>(MQConnectionFactory.java:275)
| | at com.ibm.mq.jms.MQQueueConnectionFactory.<init>(MQQueueConnectionFactory.java:76)
| | at com.ibm.mq.jms.MQQueueConnectionFactoryFactory.getObjectInstance(MQQueueConnectionFactoryFactory.java:73)
| | at org.apache.naming.factory.ResourceFactory.getObjectInstance(ResourceFactory.java:141)
| | at javax.naming.spi.NamingManager.getObjectInstance(Unknown Source)
| | at org.apache.naming.NamingContext.lookup(NamingContext.java:842)
| | at org.apache.naming.NamingContext.lookup(NamingContext.java:153)
| | at org.apache.naming.NamingContext.lookup(NamingContext.java:830)
| | at org.apache.naming.NamingContext.lookup(NamingContext.java:153)
| | at org.apache.naming.NamingContext.lookup(NamingContext.java:830)
| | at org.apache.naming.NamingContext.lookup(NamingContext.java:153)
| | at org.apache.naming.NamingContext.lookup(NamingContext.java:830)
| | at org.apache.naming.NamingContext.lookup(NamingContext.java:167)
| | at org.apache.naming.SelectorContext.lookup(SelectorContext.java:156)
| | at javax.naming.InitialContext.lookup(Unknown Source)
| | at com.tgt.cwl.msg.config.MessagingConfig.mqQueueConnectionFactory(MessagingConfig.java:41)
| | at com.tgt.cwl.msg.config.MessagingConfig$$EnhancerBySpringCGLIB$$c5afe578.CGLIB$mqQueueConnectionFactory$1(<generated>)
| | at com.tgt.cwl.msg.config.MessagingConfig$$EnhancerBySpringCGLIB$$c5afe578$$FastClassBySpringCGLIB$$99d29d2a.invoke(<generated>)
| | at org.springframework.cglib.proxy.MethodProxy.invokeSuper(MethodProxy.java:228)
| | at org.springframework.context.annotation.ConfigurationClassEnhancer$BeanMethodInterceptor.intercept(ConfigurationClassEnhancer.java:309)
| | at com.tgt.cwl.msg.config.MessagingConfig$$EnhancerBySpringCGLIB$$c5afe578.mqQueueConnectionFactory(<generated>)
| | at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
| | at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
| | at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
| | at java.lang.reflect.Method.invoke(Unknown Source)
| | at org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:162)
| | at org.springframework.beans.factory.support.ConstructorResolver.instantiateUsingFactoryMethod(ConstructorResolver.java:588)
| | at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.instantiateUsingFactoryMethod(AbstractAutowireCapableBeanFactory.java:1119)
| | at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:1014)
| | at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:504)
| | at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:476)
| | at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:303)
| | at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:230)
| | at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:299)
| | at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:194)
| | at org.springframework.context.annotation.ConfigurationClassEnhancer$BeanMethodInterceptor.intercept(ConfigurationClassEnhancer.java:322)
| | at com.tgt.cwl.msg.config.MessagingConfig$$EnhancerBySpringCGLIB$$c5afe578.mqQueueConnectionFactory(<generated>)
| | at com.tgt.cwl.msg.config.MessagingConfig.userConnectionFactory(MessagingConfig.java:57)
| | at com.tgt.cwl.msg.config.MessagingConfig$$EnhancerBySpringCGLIB$$c5afe578.CGLIB$userConnectionFactory$0(<generated>)
| | at com.tgt.cwl.msg.config.MessagingConfig$$EnhancerBySpringCGLIB$$c5afe578$$FastClassBySpringCGLIB$$99d29d2a.invoke(<generated>)
| | at org.springframework.cglib.proxy.MethodProxy.invokeSuper(MethodProxy.java:228)
| | at org.springframework.context.annotation.ConfigurationClassEnhancer$BeanMethodInterceptor.intercept(ConfigurationClassEnhancer.java:309)
| | at com.tgt.cwl.msg.config.MessagingConfig$$EnhancerBySpringCGLIB$$c5afe578.userConnectionFactory(<generated>)
| | at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
| | at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
| | at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
| | at java.lang.reflect.Method.invoke(Unknown Source)
| | at org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:162)
| | at org.springframework.beans.factory.support.ConstructorResolver.instantiateUsingFactoryMethod(ConstructorResolver.java:588)
| | at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.instantiateUsingFactoryMethod(AbstractAutowireCapableBeanFactory.java:1119)
| | at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:1014)
| | at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:504)
| | at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:476)
| | at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:303)
| | at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:230)
| | at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:299)
| | at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:194)
| | at org.springframework.context.annotation.ConfigurationClassEnhancer$BeanMethodInterceptor.intercept(ConfigurationClassEnhancer.java:322)
| | at com.tgt.cwl.msg.config.MessagingConfig$$EnhancerBySpringCGLIB$$c5afe578.userConnectionFactory(<generated>)
| | at com.tgt.cwl.msg.config.MessagingConfig.connectionFactory(MessagingConfig.java:72)
| | at com.tgt.cwl.msg.config.MessagingConfig$$EnhancerBySpringCGLIB$$c5afe578.CGLIB$connectionFactory$4(<generated>)
| | at com.tgt.cwl.msg.config.MessagingConfig$$EnhancerBySpringCGLIB$$c5afe578$$FastClassBySpringCGLIB$$99d29d2a.invoke(<generated>)
| | at org.springframework.cglib.proxy.MethodProxy.invokeSuper(MethodProxy.java:228)
| | at org.springframework.context.annotation.ConfigurationClassEnhancer$BeanMethodInterceptor.intercept(ConfigurationClassEnhancer.java:309)
| | at com.tgt.cwl.msg.config.MessagingConfig$$EnhancerBySpringCGLIB$$c5afe578.connectionFactory(<generated>)
| | at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
| | at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
| | at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
| | at java.lang.reflect.Method.invoke(Unknown Source)
| | at org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:162)
| | at org.springframework.beans.factory.support.ConstructorResolver.instantiateUsingFactoryMethod(ConstructorResolver.java:588)
| | at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.instantiateUsingFactoryMethod(AbstractAutowireCapableBeanFactory.java:1119)
| | at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:1014)
| | at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:504)
| | at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:476)
| | at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:303)
| | at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:230)
| | at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:299)
| | at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:194)
| | at org.springframework.beans.factory.support.DefaultListableBeanFactory.findAutowireCandidates(DefaultListableBeanFactory.java:1120)
| | at org.springframework.beans.factory.support.DefaultListableBeanFactory.doResolveDependency(DefaultListableBeanFactory.java:1044)
| | at org.springframework.beans.factory.support.DefaultListableBeanFactory.resolveDependency(DefaultListableBeanFactory.java:942)
| | at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor$AutowiredFieldElement.inject(AutowiredAnnotationBeanPostProcessor.java:533)
| | at org.springframework.beans.factory.annotation.InjectionMetadata.inject(InjectionMetadata.java:88)
| | at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor.postProcessPropertyValues(AutowiredAnnotationBeanPostProcessor.java:331)
| | at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1210)
| | at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:537)
| | at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:476)
| | at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:303)
| | at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:230)
| | at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:299)
| | at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:194)
| | at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:755)
| | at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:757)
| | at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:480)
| | at org.springframework.web.servlet.FrameworkServlet.configureAndRefreshWebApplicationContext(FrameworkServlet.java:663)
| | at org.springframework.web.servlet.FrameworkServlet.createWebApplicationContext(FrameworkServlet.java:629)
| | at org.springframework.web.servlet.FrameworkServlet.createWebApplicationContext(FrameworkServlet.java:677)
| | at org.springframework.web.servlet.FrameworkServlet.initWebApplicationContext(FrameworkServlet.java:548)
| | at org.springframework.web.servlet.FrameworkServlet.initServletBean(FrameworkServlet.java:489)
| | at org.springframework.web.servlet.HttpServletBean.init(HttpServletBean.java:136)
| | at javax.servlet.GenericServlet.init(GenericServlet.java:158)
| | at org.apache.catalina.core.StandardWrapper.initServlet(StandardWrapper.java:1284)
| | at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1197)
| | at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:1087)
| | at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:5262)
| | at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5550)
| | at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
| | at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:901)
| | at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:877)
| | at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:649)
| | at org.apache.catalina.startup.HostConfig.deployDescriptor(HostConfig.java:672)
| | at org.apache.catalina.startup.HostConfig$DeployDescriptor.run(HostConfig.java:1859)
| | at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)
| | at java.util.concurrent.FutureTask.run(Unknown Source)
| | at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
| | at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
| | at java.lang.Thread.run(Unknown Source)
| | Caused by: java.lang.NullPointerException
| | at com.ibm.msg.client.jms.internal.JmsFactoryFactoryImpl.getInstance(JmsFactoryFactoryImpl.java:169)
| | ... 124 more
| |
| | StackTrace:2 :- java.lang.NullPointerException
| | at com.ibm.msg.client.jms.internal.JmsFactoryFactoryImpl.getInstance(JmsFactoryFactoryImpl.java:169)
| | at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
| | at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
| | at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
| | at java.lang.reflect.Method.invoke(Unknown Source)
| | at com.ibm.msg.client.jms.JmsFactoryFactory.getInstance(JmsFactoryFactory.java:183)
| | at com.ibm.mq.jms.MQConnectionFactory.initialiseMQConnectionFactory(MQConnectionFactory.java:3330)
| | at com.ibm.mq.jms.MQConnectionFactory.<init>(MQConnectionFactory.java:275)
| | at com.ibm.mq.jms.MQQueueConnectionFactory.<init>(MQQueueConnectionFactory.java:76)
| | at com.ibm.mq.jms.MQQueueConnectionFactoryFactory.getObjectInstance(MQQueueConnectionFactoryFactory.java:73)
.......
No Components Found
Stack trace
-----------
Stack trace to show the location of the FFST call
| FFST Location :- java.lang.Exception
| at com.ibm.msg.client.commonservices.trace.Trace.getCurrentPosition(Trace.java:1854)
| at com.ibm.msg.client.commonservices.trace.Trace.createFFSTString(Trace.java:1793)
| at com.ibm.msg.client.commonservices.trace.Trace.ffstInternal(Trace.java:1674)
| at com.ibm.msg.client.commonservices.trace.Trace.ffst(Trace.java:1540)
| at com.ibm.msg.client.jms.JmsFactoryFactory.getInstance(JmsFactoryFactory.java:215)
| at com.ibm.mq.jms.MQConnectionFactory.initialiseMQConnectionFactory(MQConnectionFactory.java:3330)
| at com.ibm.mq.jms.MQConnectionFactory.<init>(MQConnectionFactory.java:275)
| at com.ibm.mq.jms.MQQueueConnectionFactory.<init>(MQQueueConnectionFactory.java:76)
| at com.ibm.mq.jms.MQQueueConnectionFactoryFactory.getObjectInstance(MQQueueConnectionFactoryFactory.java:73)
| at org.apache.naming.factory.ResourceFactory.getObjectInstance(ResourceFactory.java:141)
| at javax.naming.spi.NamingManager.getObjectInstance(Unknown Source)
| at org.apache.naming.NamingContext.lookup(NamingContext.java:842)
| at org.apache.naming.NamingContext.lookup(NamingContext.java:153)
| at org.apache.naming.NamingContext.lookup(NamingContext.java:830)
| at org.apache.naming.NamingContext.lookup(NamingContext.java:153)
| at org.apache.naming.NamingContext.lookup(NamingContext.java:830)
| at org.apache.naming.NamingContext.lookup(NamingContext.java:153)
| at org.apache.naming.NamingContext.lookup(NamingContext.java:830)
I finally solved it. It was due to the class loading hierarchy of tomcat. The mq classes were loaded by a different class loader and the javax.jms classes were loaded by a different class loader.
I just a fresh install: I downloaded and installed JDK and GGTS. I then created a new Grails 2.3.7 project and I get the error message below. Is this a known issue or am I doing something wrong?
Command terminated with an exception: java.lang.Exception (see details for partial output)
Command: GrailsCommand(P/MangaReader> compile --non-interactive --refresh-dependencies)
---- System.out ----
Loading Grails 2.3.7
.
|Environment set to development
..........
|Compiling 79 source files
.Error
|
Compilation error: startup failed:
C:\Users\\Documents\workspace-ggts-3.5.0.RELEASE\MangaReader\target\work\plugins\database-migration-1.3.8\grails-app\controllers\grails\plugin\databasemigration\DbdocController.groovy: -1: Repetitive method name/signature for method 'java.lang.Object withFormat(groovy.lang.Closure)' in class 'grails.plugin.databasemigration.DbdocController'.
# line -1, column -1.
C:\Users\\Documents\workspace-ggts-3.5.0.RELEASE\MangaReader\target\work\plugins\database-migration-1.3.8\grails-app\controllers\grails\plugin\databasemigration\DbdocController.groovy: -1: Repetitive method name/signature for method 'java.lang.Object withFormat(groovy.lang.Closure)' in class 'grails.plugin.databasemigration.DbdocController'.
# line -1, column -1.
2 errors
Error |
org.codehaus.groovy.grails.cli.ScriptExitException
Error |
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
Error |
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
Error |
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
Error |
at java.lang.reflect.Constructor.newInstance(Constructor.java:408)
Error |
at org.codehaus.groovy.reflection.CachedConstructor.invoke(CachedConstructor.java:77)
Error |
at org.codehaus.groovy.runtime.callsite.ConstructorSite$ConstructorSiteNoUnwrapNoCoerce.callConstructor(ConstructorSite.java:102)
Error |
at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callConstructor(AbstractCallSite.java:194)
Error |
at gant.Gant$_dispatch_closure5.doCall(Gant.groovy:391)
Error |
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
Error |
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
Error |
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
Error |
at java.lang.reflect.Method.invoke(Method.java:483)
Error |
at org.codehaus.groovy.runtime.callsite.PogoMetaMethodSite$PogoCachedMethodSiteNoUnwrapNoCoerce.invoke(PogoMetaMethodSite.java:272)
Error |
at org.codehaus.groovy.runtime.callsite.PogoMetaMethodSite.call(PogoMetaMethodSite.java:64)
Error |
at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:116)
Error |
at gant.Gant$_dispatch_closure7.doCall(Gant.groovy:415)
Error |
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
Error |
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
Error |
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
Error |
at java.lang.reflect.Method.invoke(Method.java:483)
Error |
at org.codehaus.groovy.runtime.callsite.PogoMetaMethodSite$PogoCachedMethodSite.invoke(PogoMetaMethodSite.java:231)
Error |
at org.codehaus.groovy.runtime.callsite.PogoMetaMethodSite.callCurrent(PogoMetaMethodSite.java:52)
Error |
at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callCurrent(AbstractCallSite.java:141)
Error |
at gant.Gant$_dispatch_closure7.doCall(Gant.groovy)
Error |
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
Error |
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
Error |
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
Error |
at java.lang.reflect.Method.invoke(Method.java:483)
Error |
at org.codehaus.groovy.runtime.callsite.PogoMetaMethodSite$PogoCachedMethodSiteNoUnwrapNoCoerce.invoke(PogoMetaMethodSite.java:272)
Error |
at org.codehaus.groovy.runtime.callsite.PogoMetaMethodSite.call(PogoMetaMethodSite.java:64)
Error |
at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:112)
Error |
at gant.Gant.withBuildListeners(Gant.groovy:427)
Error |
at gant.Gant.this$2$withBuildListeners(Gant.groovy)
Error |
at gant.Gant$this$2$withBuildListeners$0.callCurrent(Unknown Source)
Error |
at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCallCurrent(CallSiteArray.java:49)
Error |
at gant.Gant$this$2$withBuildListeners$0.callCurrent(Unknown Source)
Error |
at gant.Gant.dispatch(Gant.groovy:415)
Error |
at gant.Gant.this$2$dispatch(Gant.groovy)
Error |
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
Error |
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
Error |
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
Error |
at java.lang.reflect.Method.invoke(Method.java:483)
Error |
at org.codehaus.groovy.reflection.CachedMethod.invoke(CachedMethod.java:90)
Error |
at groovy.lang.MetaMethod.doMethodInvoke(MetaMethod.java:233)
Error |
at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1086)
Error |
at groovy.lang.ExpandoMetaClass.invokeMethod(ExpandoMetaClass.java:1110)
Error |
at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:910)
Error |
at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:733)
Error |
at gant.Gant.invokeMethod(Gant.groovy)
Error |
at groovy.lang.GroovyObject$invokeMethod.callCurrent(Unknown Source)
Error |
at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCallCurrent(CallSiteArray.java:49)
Error |
at groovy.lang.GroovyObject$invokeMethod.callCurrent(Unknown Source)
Error |
at gant.Gant.executeTargets(Gant.groovy:591)
Error |
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
Error |
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
Error |
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
Error |
at java.lang.reflect.Method.invoke(Method.java:483)
Error |
at org.codehaus.groovy.runtime.callsite.PogoMetaMethodSite$PogoCachedMethodSite.invoke(PogoMetaMethodSite.java:231)
Error |
at org.codehaus.groovy.runtime.callsite.PogoMetaMethodSite.callCurrent(PogoMetaMethodSite.java:52)
Error |
at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCallCurrent(CallSiteArray.java:49)
Error |
at org.codehaus.groovy.runtime.callsite.PogoMetaMethodSite.callCurrent(PogoMetaMethodSite.java:57)
Error |
at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callCurrent(AbstractCallSite.java:145)
Error |
at gant.Gant.executeTargets(Gant.groovy:590)
Error |
at org.codehaus.groovy.grails.cli.GrailsScriptRunner.executeWithGantInstance(GrailsScriptRunner.java:773)
Error |
at org.codehaus.groovy.grails.cli.GrailsScriptRunner.executeScriptFile(GrailsScriptRunner.java:571)
Error |
at org.codehaus.groovy.grails.cli.GrailsScriptRunner.executeScriptWithCaching(GrailsScriptRunner.java:470)
Error |
at org.codehaus.groovy.grails.cli.GrailsScriptRunner.executeScriptWithCaching(GrailsScriptRunner.java:421)
Error |
at org.grails.ide.api.impl.GrailsConnectorImpl.executeCommand(GrailsConnectorImpl.java:160)
Error |
at org.grails.ide.eclipse.longrunning.process.GrailsProcess.run(GrailsProcess.java:130)
Error |
at org.grails.ide.eclipse.longrunning.process.GrailsProcess.main(GrailsProcess.java:93)
Error |
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
Error |
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
Error |
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
Error |
at java.lang.reflect.Method.invoke(Method.java:483)
Error |
at org.codehaus.groovy.grails.cli.support.GrailsStarter.rootLoader(GrailsStarter.java:235)
Error |
at org.codehaus.groovy.grails.cli.support.GrailsStarter.main(GrailsStarter.java:263)
Error |
Caused by: org.codehaus.groovy.grails.cli.ScriptExitException
Error |
at org.codehaus.groovy.grails.cli.api.BaseSettingsApi.exit(BaseSettingsApi.java:382)
Error |
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
Error |
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
Error |
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
Error |
at java.lang.reflect.Method.invoke(Method.java:483)
Error |
at org.codehaus.groovy.reflection.CachedMethod.invoke(CachedMethod.java:90)
Error |
at groovy.lang.MetaMethod.doMethodInvoke(MetaMethod.java:233)
Error |
at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1086)
Error |
at groovy.lang.ExpandoMetaClass.invokeMethod(ExpandoMetaClass.java:1110)
Error |
at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:953)
Error |
at groovy.lang.ExpandoMetaClass.invokeMethod(ExpandoMetaClass.java:1110)
Error |
at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:910)
Error |
at groovy.lang.MetaClassImpl.invokePropertyOrMissing(MetaClassImpl.java:1132)
Error |
at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1088)
Error |
at groovy.lang.ExpandoMetaClass.invokeMethod(ExpandoMetaClass.java:1110)
Error |
at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:910)
Error |
at org.codehaus.groovy.runtime.callsite.PogoMetaClassSite.callCurrent(PogoMetaClassSite.java:66)
Error |
at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCallCurrent(CallSiteArray.java:49)
Error |
at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callCurrent(AbstractCallSite.java:133)
Error |
at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callCurrent(AbstractCallSite.java:141)
Error |
at _GrailsCompile_groovy.withCompilationErrorHandling(_GrailsCompile_groovy:77)
Error |
at _GrailsCompile_groovy.this$4$withCompilationErrorHandling(_GrailsCompile_groovy)
Error |
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
Error |
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
Error |
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
Error |
at java.lang.reflect.Method.invoke(Method.java:483)
Error |
at org.codehaus.groovy.reflection.CachedMethod.invoke(CachedMethod.java:90)
Error |
at groovy.lang.MetaMethod.doMethodInvoke(MetaMethod.java:233)
Error |
at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1086)
Error |
at groovy.lang.ExpandoMetaClass.invokeMethod(ExpandoMetaClass.java:1110)
Error |
at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:910)
Error |
at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1031)
Error |
at groovy.lang.ExpandoMetaClass.invokeMethod(ExpandoMetaClass.java:1110)
Error |
at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:910)
Error |
at groovy.lang.DelegatingMetaClass.invokeMethod(DelegatingMetaClass.java:149)
Error |
at org.codehaus.gant.GantMetaClass.invokeMethod(GantMetaClass.java:133)
Error |
at org.codehaus.gant.GantMetaClass.invokeMethod(GantMetaClass.java:168)
Error |
at groovy.lang.GroovyObjectSupport.invokeMethod(GroovyObjectSupport.java:44)
Error |
at groovy.lang.MetaClassImpl.invokeMethodOnGroovyObject(MetaClassImpl.java:1151)
Error |
at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1045)
Error |
at groovy.lang.ExpandoMetaClass.invokeMethod(ExpandoMetaClass.java:1110)
Error |
at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:910)
Error |
at org.codehaus.groovy.runtime.callsite.PogoMetaClassSite.callCurrent(PogoMetaClassSite.java:66)
Error |
at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCallCurrent(CallSiteArray.java:49)
Error |
at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callCurrent(AbstractCallSite.java:133)
Error |
at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callCurrent(AbstractCallSite.java:141)
Error |
at _GrailsCompile_groovy$_run_closure3_closure8.doCall(_GrailsCompile_groovy:60)
Error |
at _GrailsCompile_groovy$_run_closure3_closure8.doCall(_GrailsCompile_groovy)
Error |
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
Error |
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
Error |
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
Error |
at java.lang.reflect.Method.invoke(Method.java:483)
Error |
at org.codehaus.groovy.reflection.CachedMethod.invoke(CachedMethod.java:90)
Error |
at groovy.lang.MetaMethod.doMethodInvoke(MetaMethod.java:233)
Error |
at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1086)
Error |
at groovy.lang.ExpandoMetaClass.invokeMethod(ExpandoMetaClass.java:1110)
Error |
at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:910)
Error |
at groovy.lang.Closure.call(Closure.java:411)
Error |
at groovy.lang.Closure.call(Closure.java:405)
Error |
at org.codehaus.groovy.grails.cli.api.BaseSettingsApi.profile(BaseSettingsApi.java:354)
Error |
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
Error |
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
Error |
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
Error |
at java.lang.reflect.Method.invoke(Method.java:483)
Error |
at org.codehaus.groovy.reflection.CachedMethod.invoke(CachedMethod.java:90)
Error |
at groovy.lang.MetaMethod.doMethodInvoke(MetaMethod.java:233)
Error |
at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1086)
Error |
at groovy.lang.ExpandoMetaClass.invokeMethod(ExpandoMetaClass.java:1110)
Error |
at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:953)
Error |
at groovy.lang.ExpandoMetaClass.invokeMethod(ExpandoMetaClass.java:1110)
Error |
at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:910)
Error |
at groovy.lang.MetaClassImpl.invokePropertyOrMissing(MetaClassImpl.java:1132)
Error |
at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1088)
Error |
at groovy.lang.ExpandoMetaClass.invokeMethod(ExpandoMetaClass.java:1110)
Error |
at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:910)
Error |
at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:731)
Error |
at groovy.lang.GroovyObjectSupport.invokeMethod(GroovyObjectSupport.java:44)
Error |
at groovy.lang.Script.invokeMethod(Script.java:78)
Error |
at groovy.lang.MetaClassImpl.invokeMethodOnGroovyObject(MetaClassImpl.java:1151)
Error |
at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1045)
Error |
at groovy.lang.ExpandoMetaClass.invokeMethod(ExpandoMetaClass.java:1110)
Error |
at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:910)
Error |
at groovy.lang.DelegatingMetaClass.invokeMethod(DelegatingMetaClass.java:149)
Error |
at org.codehaus.gant.GantMetaClass.invokeMethod(GantMetaClass.java:133)
Error |
at org.codehaus.groovy.runtime.callsite.PogoMetaClassSite.callCurrent(PogoMetaClassSite.java:66)
Error |
at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCallCurrent(CallSiteArray.java:49)
Error |
at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callCurrent(AbstractCallSite.java:133)
Error |
at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callCurrent(AbstractCallSite.java:145)
Error |
at _GrailsCompile_groovy$_run_closure3.doCall(_GrailsCompile_groovy:57)
Error |
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
Error |
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
Error |
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
Error |
at java.lang.reflect.Method.invoke(Method.java:483)
Error |
at org.codehaus.groovy.reflection.CachedMethod.invoke(CachedMethod.java:90)
Error |
at groovy.lang.MetaMethod.doMethodInvoke(MetaMethod.java:233)
Error |
at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1086)
Error |
at groovy.lang.ExpandoMetaClass.invokeMethod(ExpandoMetaClass.java:1110)
Error |
at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:910)
Error |
at groovy.lang.DelegatingMetaClass.invokeMethod(DelegatingMetaClass.java:149)
Error |
at org.codehaus.gant.GantMetaClass.invokeMethod(GantMetaClass.java:133)
Error |
at org.codehaus.groovy.runtime.callsite.PogoMetaClassSite.call(PogoMetaClassSite.java:39)
Error |
at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCall(CallSiteArray.java:45)
Error |
at org.codehaus.groovy.runtime.callsite.PogoMetaClassSite.call(PogoMetaClassSite.java:54)
Error |
at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:116)
Error |
at org.codehaus.gant.GantBinding$_initializeGantBinding_closure5_closure16_closure18.doCall(GantBinding.groovy:185)
Error |
at sun.reflect.GeneratedMethodAccessor80.invoke(Unknown Source)
Error |
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
Error |
at java.lang.reflect.Method.invoke(Method.java:483)
Error |
at org.codehaus.groovy.runtime.callsite.PogoMetaMethodSite$PogoCachedMethodSite.invoke(PogoMetaMethodSite.java:231)
Error |
at org.codehaus.groovy.runtime.callsite.PogoMetaMethodSite.callCurrent(PogoMetaMethodSite.java:52)
Error |
at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callCurrent(AbstractCallSite.java:141)
Error |
at org.codehaus.gant.GantBinding$_initializeGantBinding_closure5_closure16_closure18.doCall(GantBinding.groovy)
Error |
at sun.reflect.GeneratedMethodAccessor79.invoke(Unknown Source)
Error |
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
Error |
at java.lang.reflect.Method.invoke(Method.java:483)
Error |
at org.codehaus.groovy.runtime.callsite.PogoMetaMethodSite$PogoCachedMethodSiteNoUnwrapNoCoerce.invoke(PogoMetaMethodSite.java:272)
Error |
at org.codehaus.groovy.runtime.callsite.PogoMetaMethodSite.call(PogoMetaMethodSite.java:64)
Error |
at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:112)
Error |
at org.codehaus.gant.GantBinding.withTargetEvent(GantBinding.groovy:90)
Error |
at org.codehaus.gant.GantBinding.this$4$withTargetEvent(GantBinding.groovy)
Error |
at sun.reflect.GeneratedMethodAccessor74.invoke(Unknown Source)
Error |
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
Error |
at java.lang.reflect.Method.invoke(Method.java:483)
Error |
at org.codehaus.groovy.reflection.CachedMethod.invoke(CachedMethod.java:90)
Error |
at groovy.lang.MetaMethod.doMethodInvoke(MetaMethod.java:233)
Error |
at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1086)
Error |
at groovy.lang.ExpandoMetaClass.invokeMethod(ExpandoMetaClass.java:1110)
Error |
at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:910)
Error |
at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1031)
Error |
at groovy.lang.ExpandoMetaClass.invokeMethod(ExpandoMetaClass.java:1110)
Error |
at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:910)
Error |
at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:731)
Error |
at groovy.lang.GroovyObjectSupport.invokeMethod(GroovyObjectSupport.java:44)
Error |
at groovy.lang.MetaClassImpl.invokeMethodOnGroovyObject(MetaClassImpl.java:1151)
Error |
at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1045)
Error |
at groovy.lang.ExpandoMetaClass.invokeMethod(ExpandoMetaClass.java:1110)
Error |
at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:910)
Error |
at org.codehaus.groovy.runtime.callsite.PogoMetaClassSite.callCurrent(PogoMetaClassSite.java:66)
Error |
at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callCurrent(AbstractCallSite.java:149)
Error |
at org.codehaus.gant.GantBinding$_initializeGantBinding_closure5_closure16.doCall(GantBinding.groovy:185)
Error |
at sun.reflect.GeneratedMethodAccessor73.invoke(Unknown Source)
Error |
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
Error |
at java.lang.reflect.Method.invoke(Method.java:483)
Error |
at org.codehaus.groovy.runtime.callsite.PogoMetaMethodSite$PogoCachedMethodSite.invoke(PogoMetaMethodSite.java:231)
Error |
at org.codehaus.groovy.runtime.callsite.PogoMetaMethodSite.callCurrent(PogoMetaMethodSite.java:52)
Error |
at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callCurrent(AbstractCallSite.java:141)
Error |
at org.codehaus.gant.GantBinding$_initializeGantBinding_closure5_closure16.doCall(GantBinding.groovy)
Error |
at sun.reflect.GeneratedMethodAccessor72.invoke(Unknown Source)
Error |
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
Error |
at java.lang.reflect.Method.invoke(Method.java:483)
Error |
at org.codehaus.groovy.reflection.CachedMethod.invoke(CachedMethod.java:90)
Error |
at groovy.lang.MetaMethod.doMethodInvoke(MetaMethod.java:233)
Error |
at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1086)
Error |
at groovy.lang.ExpandoMetaClass.invokeMethod(ExpandoMetaClass.java:1110)
Error |
at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:910)
Error |
at groovy.lang.Closure.call(Closure.java:411)
Error |
at groovy.lang.Closure.call(Closure.java:405)
Error |
at org.codehaus.gant.GantMetaClass.processClosure(GantMetaClass.java:81)
Error |
at org.codehaus.gant.GantMetaClass.processArgument(GantMetaClass.java:95)
Error |
at org.codehaus.gant.GantMetaClass.invokeMethod(GantMetaClass.java:128)
Error |
at org.codehaus.groovy.runtime.callsite.PogoMetaClassSite.callCurrent(PogoMetaClassSite.java:66)
Error |
at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCallCurrent(CallSiteArray.java:49)
Error |
at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callCurrent(AbstractCallSite.java:133)
Error |
at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callCurrent(AbstractCallSite.java:141)
Error |
at _GrailsCompile_groovy$_run_closure2.doCall(_GrailsCompile_groovy:44)
Error |
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
Error |
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
Error |
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
Error |
at java.lang.reflect.Method.invoke(Method.java:483)
Error |
at org.codehaus.groovy.reflection.CachedMethod.invoke(CachedMethod.java:90)
Error |
at groovy.lang.MetaMethod.doMethodInvoke(MetaMethod.java:233)
Error |
at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1086)
Error |
at groovy.lang.ExpandoMetaClass.invokeMethod(ExpandoMetaClass.java:1110)
Error |
at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:910)
Error |
at groovy.lang.DelegatingMetaClass.invokeMethod(DelegatingMetaClass.java:149)
Error |
at org.codehaus.gant.GantMetaClass.invokeMethod(GantMetaClass.java:133)
Error |
at org.codehaus.groovy.runtime.callsite.PogoMetaClassSite.call(PogoMetaClassSite.java:39)
Error |
at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCall(CallSiteArray.java:45)
Error |
at org.codehaus.groovy.runtime.callsite.PogoMetaClassSite.call(PogoMetaClassSite.java:54)
Error |
at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:116)
I found this thread:
Does Grails 2.3.x Support JDK 8
I backed my JDK from version 8 to version 7 (1.7.0_45). That fixed the issue.
Basically grails 2.3.7 (and below) does not support JDK 8 yet.
It's the GGTS, if you just use the command line Grails 2.3.7 works just fine on JDK 8 (also, make sure you have the latest JDK 8).
It's de jdk version and the eclipse.ini file, you will need to install JDK 1.7 or lessen the version.
Change it in
Window>Preferences>Java>Installed JREs
In eclipse.ini add the next two lines
-vm
C:\Program Files\Java\jdk1.7.0_79\bin
grails 2.5.0 and jdk8 does not work either.
tried thru cmd and ggts