Liquibase stopped working after moving from 3.6.3 to 3.8.7 or 3.10.2 - powershell

I was using liquibase 3.6.3 and everything worked fine but today I've moved to 3.10.2 and suddenly I can't run any database updates. The only thing which is in the log file I've pasted below.
We run on DB2 for IBM i.
We use power shell scripts and bat scripts and if we run them outside of the liquibase, everything works fine but when those scripts get called from liquibase after the upgrade, it hangs on the last line from below log.
liquibase.log exist.
Liquibase found.
10:42:16.338 [main] DEBUG l.integration.commandline.Main - Custom logging config found, not going to modify
10:42:16.373 [main] DEBUG l.r.ClassLoaderResourceAccessor - Opening jar:file:/C:/ProgramData/chocolatey/lib/liquibase/content/liquibase.jar!/liquibase.build.properties as liquibase.build.properties
10:42:16.378 [main] INFO l.integration.commandline.Main -
Starting Liquibase at Mon, 24 Aug 2020 10:42:16 CEST (version 3.10.2 #22 built at Mon Jul 27 04:21:02 UTC 2020)
10:42:16.392 [main] DEBUG l.r.ClassLoaderResourceAccessor - Opening jar:file:/C:/ProgramData/chocolatey/lib/liquibase/content/liquibase.jar!/META-INF/MANIFEST.MF as META-INF/MANIFEST.MF
10:42:16.393 [main] DEBUG l.r.ClassLoaderResourceAccessor - Opening jar:file:/C:/ProgramData/chocolatey/lib/liquibase/content/lib/commons-cli-1.4.jar!/META-INF/MANIFEST.MF as META-INF/MANIFEST.MF
10:42:16.393 [main] DEBUG l.r.ClassLoaderResourceAccessor - Opening jar:file:/C:/ProgramData/chocolatey/lib/liquibase/content/lib/h2-1.4.200.jar!/META-INF/MANIFEST.MF as META-INF/MANIFEST.MF
10:42:16.394 [main] DEBUG l.r.ClassLoaderResourceAccessor - Opening jar:file:/C:/ProgramData/chocolatey/lib/liquibase/content/lib/jaxb-api-2.3.0.jar!/META-INF/MANIFEST.MF as META-INF/MANIFEST.MF
10:42:16.394 [main] DEBUG l.r.ClassLoaderResourceAccessor - Opening jar:file:/C:/ProgramData/chocolatey/lib/liquibase/content/lib/jaxb-core-2.3.0.jar!/META-INF/MANIFEST.MF as META-INF/MANIFEST.MF
10:42:16.395 [main] DEBUG l.r.ClassLoaderResourceAccessor - Opening jar:file:/C:/ProgramData/chocolatey/lib/liquibase/content/lib/jaxb-impl-2.3.0.jar!/META-INF/MANIFEST.MF as META-INF/MANIFEST.MF
10:42:16.396 [main] DEBUG l.r.ClassLoaderResourceAccessor - Opening jar:file:/C:/ProgramData/chocolatey/lib/liquibase/content/lib/logback-classic-1.2.3.jar!/META-INF/MANIFEST.MF as META-INF/MANIFEST.MF
10:42:16.397 [main] DEBUG l.r.ClassLoaderResourceAccessor - Opening jar:file:/C:/ProgramData/chocolatey/lib/liquibase/content/lib/logback-core-1.2.3.jar!/META-INF/MANIFEST.MF as META-INF/MANIFEST.MF
10:42:16.397 [main] DEBUG l.r.ClassLoaderResourceAccessor - Opening jar:file:/C:/ProgramData/chocolatey/lib/liquibase/content/lib/slf4j-api-1.7.25.jar!/META-INF/MANIFEST.MF as META-INF/MANIFEST.MF
10:42:16.398 [main] DEBUG l.r.ClassLoaderResourceAccessor - Opening jar:file:/C:/ProgramData/chocolatey/lib/liquibase/content/lib/slf4j-api-1.7.28.jar!/META-INF/MANIFEST.MF as META-INF/MANIFEST.MF
10:42:16.398 [main] DEBUG l.r.ClassLoaderResourceAccessor - Opening jar:file:/C:/ProgramData/chocolatey/lib/liquibase/content/lib/snakeyaml-1.18.jar!/META-INF/MANIFEST.MF as META-INF/MANIFEST.MF
10:42:16.398 [main] DEBUG l.r.ClassLoaderResourceAccessor - Opening jar:file:/C:/ProgramData/chocolatey/lib/liquibase/content/lib/snakeyaml-1.24.jar!/META-INF/MANIFEST.MF as META-INF/MANIFEST.MF
10:42:16.403 [main] DEBUG l.servicelocator.ServiceLocator - ServiceLocator.findClasses for liquibase.license.LicenseService
10:42:16.403 [main] DEBUG l.servicelocator.ServiceLocator - ServiceLocator finding classes matching interface liquibase.license.LicenseService
10:42:16.403 [main] DEBUG l.s.DefaultPackageScanClassResolver - Searching for implementations of liquibase.license.LicenseService in packages: [liquibase.change, liquibase.command, liquibase.changelog, liquibase.database, liquibase.parser, liquibase.precondition, liquibase.datatype, liquibase.serializer, liquibase.sqlgenerator, liquibase.executor, liquibase.snapshot, liquibase.logging, liquibase.diff, liquibase.structure, liquibase.structurecompare, liquibase.lockservice, liquibase.sdk.database, liquibase.ext, liquibase.pro, com.datical.liquibase]```

Related

Unable to start Drill in distributed mode

I am trying to setup drillv1.18 running. Facing the error below.
The drill-override.conf points to the zookeeper which runs on port 12181. On starting in distributed mode, it fails with the following log output. But the embedded mode has no issues.
It appears like permission issue, but both zookeeper, drill, zookeeper data-dir all are running under the same user.
2020-05-10 16:23:01,160 [main] DEBUG o.apache.drill.exec.server.Drillbit - Construction started.
2020-05-10 16:23:01,448 [main] DEBUG o.a.d.e.c.zk.ZKClusterCoordinator - Connect localhost:12181, zkRoot drill, clusterId: drillbits1
2020-05-10 16:23:01,531 [main] INFO o.a.d.e.s.s.PersistentStoreRegistry - Using the configured PStoreProvider class: 'org.apache.drill.exec.store.sys.store.provider.ZookeeperPersistentStoreProvider'.
2020-05-10 16:23:01,718 [main] DEBUG o.a.drill.exec.ssl.SSLConfigServer - Using Hadoop configuration for SSL
2020-05-10 16:23:01,718 [main] DEBUG o.a.drill.exec.ssl.SSLConfigServer - Hadoop SSL configuration file: ssl-server.xml
2020-05-10 16:23:01,731 [main] DEBUG org.apache.drill.exec.ssl.SSLConfig - Initialized SSL context.
2020-05-10 16:23:01,731 [main] INFO o.a.drill.exec.rpc.user.UserServer - Rpc server configured to use TLS protocol 'TLSv1.2'
2020-05-10 16:23:01,738 [main] INFO o.apache.drill.exec.server.Drillbit - Construction completed (577 ms).
2020-05-10 16:23:01,738 [main] DEBUG o.apache.drill.exec.server.Drillbit - Startup begun.
2020-05-10 16:23:01,738 [main] DEBUG o.a.d.e.c.zk.ZKClusterCoordinator - Starting ZKClusterCoordination.
2020-05-10 16:23:03,775 [main] ERROR o.apache.drill.exec.server.Drillbit - Failure during initial startup of Drillbit.
org.apache.zookeeper.KeeperException$UnimplementedException: KeeperErrorCode = Unimplemented for /drill
at org.apache.zookeeper.KeeperException.create(KeeperException.java:106)
at org.apache.zookeeper.KeeperException.create(KeeperException.java:54)
at org.apache.zookeeper.ZooKeeper.create(ZooKeeper.java:1538)
at org.apache.curator.utils.ZKPaths.mkdirs(ZKPaths.java:351)
at org.apache.curator.framework.imps.ExistsBuilderImpl$2.call(ExistsBuilderImpl.java:230)
at org.apache.curator.framework.imps.ExistsBuilderImpl$2.call(ExistsBuilderImpl.java:224)
at org.apache.curator.connection.StandardConnectionHandlingPolicy.callWithRetry(StandardConnectionHandlingPolicy.java:67)
at org.apache.curator.RetryLoop.callWithRetry(RetryLoop.java:81)
at org.apache.curator.framework.imps.ExistsBuilderImpl.pathInForeground(ExistsBuilderImpl.java:221)
at org.apache.curator.framework.imps.ExistsBuilderImpl.forPath(ExistsBuilderImpl.java:206)
at org.apache.curator.framework.imps.ExistsBuilderImpl.forPath(ExistsBuilderImpl.java:35)
at org.apache.curator.framework.imps.CuratorFrameworkImpl.createContainers(CuratorFrameworkImpl.java:265)
at org.apache.curator.framework.EnsureContainers.internalEnsure(EnsureContainers.java:69)
at org.apache.curator.framework.EnsureContainers.ensure(EnsureContainers.java:53)
at org.apache.curator.framework.recipes.cache.PathChildrenCache.ensurePath(PathChildrenCache.java:596)
at org.apache.curator.framework.recipes.cache.PathChildrenCache.rebuild(PathChildrenCache.java:327)
at org.apache.curator.framework.recipes.cache.PathChildrenCache.start(PathChildrenCache.java:304)
at org.apache.curator.framework.recipes.cache.PathChildrenCache.start(PathChildrenCache.java:252)
at org.apache.curator.x.discovery.details.ServiceCacheImpl.start(ServiceCacheImpl.java:99)
at org.apache.drill.exec.coord.zk.ZKClusterCoordinator.start(ZKClusterCoordinator.java:145)
at org.apache.drill.exec.server.Drillbit.run(Drillbit.java:220)
at org.apache.drill.exec.server.Drillbit.start(Drillbit.java:584)
at org.apache.drill.exec.server.Drillbit.start(Drillbit.java:554)
at org.apache.drill.exec.server.Drillbit.main(Drillbit.java:550)
Version 1.17 has no issues in starting in distributed mode.
The issue here is with the zookeeper version. Perhaps you use 3.4.X version, but the current version of Drill requires 3.5.X. As a workaround, you may replace zookeeper jar in jars/ext/zookeeper-3.5.7.jar and jars/ext/zookeeper-jute-3.5.7.jar with the jars that corresponds to your zookeeper version.
In Addition to the answer of Vova Vysotskyi, you may find more information in Drill documentation about this issue:
https://drill.apache.org/docs/distributed-mode-prerequisites/
Starting in Drill 1.18 the bundled ZooKeeper libraries are upgraded to version 3.5.7, preventing connections to older (< 3.5) ZooKeeper clusters. In order to connect to a ZooKeeper < 3.5 cluster, replace the ZooKeeper library JARs in ${DRILL_HOME}/jars/ext with zookeeper-3.4.x.jar then restart the cluster.

Docker Compose (TOMCAT + POSTGRES) - Spring Boot app: connection issue between containers

I have a spring-boot service with a connection to postgresql.The application setup works fine when I run the app with TOMCAT 9.0.6 and a docker container for postgresql (just the DB in a container).
But when I try to run the application with docker compose, it doesn't show any content.
My docker-compose.yml
version: "3.3"
services:
webserver:
build:
context: ./appserver
image: webserver
container_name: webserver
depends_on:
- mypostgres
ports:
- "8080:8080"
- "8000:8000"
networks:
- front-tier
- back-tier
mypostgres:
build:
context: ./database
image: postgresdb
container_name: postgresdb
ports:
- "5432:5432"
environment:
- POSTGRES_DB=ggal1701
volumes:
- type: volume
source: psql_data
target: /var/lib/postgresql/data
networks:
- back-tier
volumes:
psql_data:
networks:
front-tier:
back-tier:
My dockerfile into ./database:
FROM postgres:9.5
# Copy the database initialize script:
# Contents of /docker-entrypoint-initdb.d are run on postgres startup
ADD docker-entrypoint-initdb.d/ /docker-entrypoint-initdb.d/
# Default values for passwords and database name. Can be overridden on docker run
# ENV MYSQL_ROOT_PASSWORD=my-secret-pw # Not defaulted for security reasons!
ENV POSTGRES_USER=postgres
ENV POSTGRES_PASSWORD=postgres
My dockerfile into ./appserver:
FROM tomcat:9.0.6-jre8
# tomcat-users.xml sets up user accounts for the Tomcat manager GUI
ADD tomcat/tomcat-users.xml $CATALINA_HOME/conf/
# ADD tomcat/catalina.sh $CATALINA_HOME/bin/
ADD tomcat/run.sh $CATALINA_HOME/bin/run.sh
RUN chmod +x $CATALINA_HOME/bin/run.sh
# create mount point for volume with application
WORKDIR $CATALINA_HOME/webapps/
COPY dos.war .
# add MySQL JDBC driver jar
ADD tomcat/postgresql-42.2.2.jar $CATALINA_HOME/lib/
# add tomcat jpda debugging environmental variables
#ENV JPDA_OPTS="-agentlib:jdwp=transport=dt_socket,address=8000,server=y,suspend=n"
ENV JPDA_ADDRESS="8000"
ENV JPDA_TRANSPORT="dt_socket"
# start tomcat8 with remote debugging
EXPOSE 8080
CMD ["run.sh"]
And finally, my Spring Boot configuration into an application.yml:
spring:
# Configuración de la BASE DE DATOS
datasource:
dataSourceClassName: org.postgresql.ds.PGSimpleDataSource
url: jdbc:postgresql://mypostgres:5432/ggal1701
username: postgres
password: postgres
maximum-pool-size: 5
application:
url: http://webserver:8080
profiles:
active: prod
devtools:
restart:
enabled: false
livereload:
enabled: false
server:
compression:
enabled: true
mime-types: text/html,text/xml,text/plain,text/css, application/javascript, application/json
I use javamelody and when I go to the path it loads it correctly.
But in the app path it only loads the title of the page in the tab and nothing else.
Tomcat logs looks ok, except this (nothing about connection):
webserver | 09:50:43.673 [main] WARN es.asd.GGAL1701.ApplicationWebXml - No Spring profile configured, running with default configuracion
webserver | 09:50:44.466 [main] DEBUG org.springframework.jndi.JndiTemplate - Looking up JNDI object with name [java:comp/env/logging.exception-conversion-word]
webserver | 09:50:44.467 [main] DEBUG org.springframework.jndi.JndiLocatorDelegate - Converted JNDI name [java:comp/env/logging.exception-conversion-word] not found - trying original name [logging.exception-conversion-word]. javax.naming.NameNotFoundException: Name [logging.exception-conversion-word] is not bound in this Context. Unable to find [logging.exception-conversion-word].
webserver | 09:50:44.467 [main] DEBUG org.springframework.jndi.JndiTemplate - Looking up JNDI object with name [logging.exception-conversion-word]
webserver | 09:50:44.467 [main] DEBUG org.springframework.jndi.JndiPropertySource - JNDI lookup for name [logging.exception-conversion-word] threw NamingException with message: Name [logging.exception-conversion-word] is not bound in this Context. Unable to find [logging.exception-conversion-word].. Returning null.
Any idea is welcome. The database seems to be working correctly since it works well with tomcat on localhost. But by dockerizing Tomcat, it fails.
Edit nº1: Attempting to run it on local first, then upload it to the cloud. These failures are local.
Edit nº2: Some new logs from tomcat docker:
t ot#281078c55f64:/usr/local/tomcat/logs# cat localhost_access_log.2018-04-11.txt
172.18.0.1 - - [11/Apr/2018:08:28:28 +0000] "GET /dos HTTP/1.1" 302 -
172.18.0.1 - - [11/Apr/2018:08:28:28 +0000] "GET /dos/ HTTP/1.1" 200 964
172.18.0.1 - - [11/Apr/2018:08:28:28 +0000] "GET /assets/css/main-c4c779892e.css HTTP/1.1" 404 1111
172.18.0.1 - - [11/Apr/2018:08:28:28 +0000] "GET /app/vendor-511f175b57.js HTTP/1.1" 404 1101
root#281078c55f64:/usr/local/tomcat/logs# cat localhost.2018-04-11.log
11-Apr-2018 08:27:57.363 INFO [main] org.apache.catalina.core.ApplicationContext.log 2 Spring WebApplicationInitializers detected on classpath
11-Apr-2018 08:28:14.958 INFO [main] org.apache.catalina.core.ApplicationContext.log ContextListener: contextInitialized()
11-Apr-2018 08:28:14.959 INFO [main] org.apache.catalina.core.ApplicationContext.log SessionListener: contextInitialized()
11-Apr-2018 08:28:14.960 INFO [main] org.apache.catalina.core.ApplicationContext.log ContextListener: attributeAdded('StockTicker', 'async.Stockticker#267f6b32')
root#281078c55f64:/usr/local/tomcat/logs# cat catalina.2018-04-11.log 11-Apr-2018 08:27:54.581 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Server version: Apache Tomcat/9.0.6 11-Apr-2018 08:27:54.583 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Server built: Mar 5 2018 09:34:35 UTC 11-Apr-2018 08:27:54.583 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Server number:
9.0.6.0 11-Apr-2018 08:27:54.583 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log OS Name: Linux 11-Apr-2018 08:27:54.583 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log OS Version:
3.16.0-5-amd64 11-Apr-2018 08:27:54.583 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Architecture: amd64 11-Apr-2018 08:27:54.583 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Java Home: /usr/lib/jvm/java-8-openjdk-amd64/jre 11-Apr-2018 08:27:54.584 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log JVM Version: 1.8.0_162-8u162-b12-1~deb9u1-b12 11-Apr-2018 08:27:54.584 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log JVM Vendor: Oracle Corporation 11-Apr-2018 08:27:54.584 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log CATALINA_BASE: /usr/local/tomcat 11-Apr-2018 08:27:54.584 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log CATALINA_HOME: /usr/local/tomcat 11-Apr-2018 08:27:54.584 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument:
-Djava.util.logging.config.file=/usr/local/tomcat/conf/logging.properties 11-Apr-2018 08:27:54.584 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument:
-Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager 11-Apr-2018 08:27:54.584 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Djdk.tls.ephemeralDHKeySize=2048 11-Apr-2018 08:27:54.584 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument:
-Djava.protocol.handler.pkgs=org.apache.catalina.webresources 11-Apr-2018 08:27:54.585 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument:
-agentlib:jdwp=transport=dt_socket,address=8000,server=y,suspend=n 11-Apr-2018 08:27:54.585 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Dignore.endorsed.dirs= 11-Apr-2018 08:27:54.585 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Dcatalina.base=/usr/local/tomcat 11-Apr-2018 08:27:54.585 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Dcatalina.home=/usr/local/tomcat 11-Apr-2018 08:27:54.585 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Djava.io.tmpdir=/usr/local/tomcat/temp 11-Apr-2018 08:27:54.585 INFO [main] org.apache.catalina.core.AprLifecycleListener.lifecycleEvent Loaded APR based Apache Tomcat Native library [1.2.16] using APR version [1.5.2]. 11-Apr-2018 08:27:54.585 INFO [main] org.apache.catalina.core.AprLifecycleListener.lifecycleEvent APR capabilities: IPv6 [true], sendfile [true], accept filters [false], random [true]. 11-Apr-2018 08:27:54.585 INFO [main] org.apache.catalina.core.AprLifecycleListener.lifecycleEvent APR/OpenSSL configuration: useAprConnector [false], useOpenSSL [true] 11-Apr-2018 08:27:54.588 INFO [main] org.apache.catalina.core.AprLifecycleListener.initializeSSL OpenSSL successfully initialized [OpenSSL 1.1.0f 25 May 2017] 11-Apr-2018 08:27:54.654 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-8080"] 11-Apr-2018 08:27:54.664 INFO [main] org.apache.tomcat.util.net.NioSelectorPool.getSharedSelector Using a shared selector for servlet write/read 11-Apr-2018 08:27:54.675 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["ajp-nio-8009"] 11-Apr-2018 08:27:54.676 INFO [main] org.apache.tomcat.util.net.NioSelectorPool.getSharedSelector Using a shared selector for servlet write/read 11-Apr-2018 08:27:54.677 INFO [main] org.apache.catalina.startup.Catalina.load Initialization processed in 406 ms 11-Apr-2018 08:27:54.703 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Catalina] 11-Apr-2018 08:27:54.704 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet Engine: Apache Tomcat/9.0.6 11-Apr-2018 08:27:54.723 INFO [main] org.apache.catalina.startup.HostConfig.deployWAR Deploying web application archive [/usr/local/tomcat/webapps/dos.war] 11-Apr-2018 08:27:57.309 INFO [main] org.apache.jasper.servlet.TldScanner.scanJars At least one JAR was scanned for TLDs yet contained no TLDs. Enable debug logging for this logger for a complete list of JARs that were scanned but no TLDs were found in them. Skipping unneeded JARs during scanning can improve startup time and JSP compilation time. 11-Apr-2018 08:28:14.765 INFO [main] org.apache.catalina.startup.HostConfig.deployWAR Deployment of web application archive [/usr/local/tomcat/webapps/dos.war] has finished in [20,041] ms 11-Apr-2018 08:28:14.767 INFO [main] org.apache.catalina.startup.HostConfig.deployDirectory Deploying web application directory [/usr/local/tomcat/webapps/examples] 11-Apr-2018 08:28:14.967 INFO [main] org.apache.catalina.startup.HostConfig.deployDirectory Deployment of web application directory [/usr/local/tomcat/webapps/examples] has finished in [199] ms 11-Apr-2018 08:28:14.967 INFO [main] org.apache.catalina.startup.HostConfig.deployDirectory Deploying web application directory [/usr/local/tomcat/webapps/ROOT] 11-Apr-2018 08:28:15.022 INFO [main] org.apache.catalina.startup.HostConfig.deployDirectory Deployment of web application directory [/usr/local/tomcat/webapps/ROOT] has finished in [55] ms 11-Apr-2018 08:28:15.022 INFO [main] org.apache.catalina.startup.HostConfig.deployDirectory Deploying web application directory [/usr/local/tomcat/webapps/docs] 11-Apr-2018 08:28:15.075 INFO [main] org.apache.catalina.startup.HostConfig.deployDirectory Deployment of web application directory [/usr/local/tomcat/webapps/docs] has finished in [53] ms 11-Apr-2018 08:28:15.076 INFO [main] org.apache.catalina.startup.HostConfig.deployDirectory Deploying web application directory [/usr/local/tomcat/webapps/host-manager] 11-Apr-2018 08:28:15.138 INFO [main] org.apache.catalina.startup.HostConfig.deployDirectory Deployment of web application directory [/usr/local/tomcat/webapps/host-manager] has finished in [62] ms 11-Apr-2018 08:28:15.138 INFO [main] org.apache.catalina.startup.HostConfig.deployDirectory Deploying web application directory [/usr/local/tomcat/webapps/manager] 11-Apr-2018 08:28:15.197 INFO [main] org.apache.catalina.startup.HostConfig.deployDirectory Deployment of web application directory [/usr/local/tomcat/webapps/manager] has finished in [59] ms 11-Apr-2018 08:28:15.202 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-8080"] 11-Apr-2018 08:28:15.212 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["ajp-nio-8009"] 11-Apr-2018 08:28:15.225 INFO [main] org.apache.catalina.startup.Catalina.start Server startup in 20547 ms 11-Apr-2018 08:28:25.201 INFO [ContainerBackgroundProcessor[StandardEngine[Catalina]]] org.apache.catalina.startup.HostConfig.deployDirectory Deploying web application directory [/usr/local/tomcat/webapps/log] 11-Apr-2018 08:28:25.256 INFO [ContainerBackgroundProcessor[StandardEngine[Catalina]]] org.apache.catalina.startup.HostConfig.deployDirectory Deployment of web application directory [/usr/local/tomcat/webapps/log] has finished in [55] ms
I also tried to pass the parameters through JAVA_OPTS, but it still doesn't show the application when I docker the tomcat.
environment:
- "JAVA_OPTS=-Ddatasource.jdbcUrl=jdbc:postgresql://mypostgres:5432/ggal1701 -Ddatasource.user=postgres -Ddatasource.password=postgres"
Edit nº3: Connecting to an external database (RDS AWS) does not work either, while in local, the same version of Tomcat connects without problems. So all the trouble seems to be coming from the dockerized Tomcat.
I don't understand why yet, but changing the version of Tomcat has gone. It is not a question of using an earlier or later version. With Tomcat version 8 it works or not according to the selected jre, but it is also no problem with the version of the jre because trying the same one in another version does not work.
With tomcat running in localhost my application works perfectly. With docker, using the same version 9.0.6, it does not.
My current docker-compose in case someone might find it useful:
version: "3.3"
services:
mytomcat:
build:
context: ./appserver
image: webserver
container_name: webserver
hostname: webserver
ports:
- "8080:8080"
- "8000:8000"
# links:
# - mypostgres:postgresdb
networks:
- main
mypostgres:
build:
context: ./database
image: postgresdb
container_name: postgresdb
hostname: postgresdb
ports:
- "5432:5432"
volumes:
- db-data:/var/lib/postgresql/data
networks:
- main
volumes:
db-data:
networks:
main:
I don't give my answer as the solution, because I don't think it is. The solution would be that it works with the same version that it does in localhost; so alternative answers, explanations or solutions are welcome.

UnresolvedAdressException milo

Im trying to connect from an basic Milo-Client (ReadSample), but getting UnresolvedAdressException. Both Client and Server are in an remote Network and I only got Access to the Client. I'm pretty sure its not a Firewall since I can Connect with other Clients (Prosys OPC UA Client) and i can see that the ip is resolved to an Host-Name in the Logs:
Server is opc.tcp://192.168.115.40:49580 aka opc.tcp://Extern-Mess-Rec:49580 (tried both in UaTcpStackClient.getEndpoints(url).get();)
13:24:51.530 [main] DEBUG
io.netty.util.internal.logging.InternalLoggerFactory - Using SLF4J as
the default logging framework 13:24:51.546 [main] DEBUG
io.netty.channel.MultithreadEventLoopGroup -
-Dio.netty.eventLoopThreads: 8 13:24:51.561 [main] DEBUG io.netty.util.internal.PlatformDependent0 - java.nio.Buffer.address:
available 13:24:51.561 [main] DEBUG
io.netty.util.internal.PlatformDependent0 - sun.misc.Unsafe.theUnsafe:
available 13:24:51.561 [main] DEBUG
io.netty.util.internal.PlatformDependent0 -
sun.misc.Unsafe.copyMemory: available 13:24:51.561 [main] DEBUG
io.netty.util.internal.PlatformDependent0 - java.nio.Bits.unaligned:
true 13:24:51.561 [main] DEBUG
io.netty.util.internal.PlatformDependent - Platform: Windows
13:24:51.561 [main] DEBUG io.netty.util.internal.PlatformDependent -
Java version: 8 13:24:51.561 [main] DEBUG
io.netty.util.internal.PlatformDependent - -Dio.netty.noUnsafe: false
13:24:51.561 [main] DEBUG io.netty.util.internal.PlatformDependent -
sun.misc.Unsafe: available 13:24:51.561 [main] DEBUG
io.netty.util.internal.PlatformDependent - -Dio.netty.noJavassist:
false 13:24:51.686 [main] DEBUG
io.netty.util.internal.PlatformDependent - Javassist: available
13:24:51.686 [main] DEBUG io.netty.util.internal.PlatformDependent -
-Dio.netty.tmpdir: C:\Users\SOFTWA~1\AppData\Local\Temp\3 (java.io.tmpdir) 13:24:51.686 [main] DEBUG
io.netty.util.internal.PlatformDependent - -Dio.netty.bitMode: 64
(sun.arch.data.model) 13:24:51.686 [main] DEBUG
io.netty.util.internal.PlatformDependent - -Dio.netty.noPreferDirect:
false 13:24:51.718 [main] DEBUG io.netty.channel.nio.NioEventLoop -
-Dio.netty.noKeySetOptimization: false 13:24:51.718 [main] DEBUG io.netty.channel.nio.NioEventLoop -
-Dio.netty.selectorAutoRebuildThreshold: 512 13:24:51.858 [main] DEBUG io.netty.util.ResourceLeakDetector - -Dio.netty.leakDetection.level:
simple 13:24:51.858 [main] DEBUG io.netty.util.ResourceLeakDetector -
-Dio.netty.leakDetection.maxRecords: 4 13:24:52.264 [main] DEBUG io.netty.buffer.PooledByteBufAllocator -
-Dio.netty.allocator.numHeapArenas: 8 13:24:52.264 [main] DEBUG io.netty.buffer.PooledByteBufAllocator -
-Dio.netty.allocator.numDirectArenas: 8 13:24:52.264 [main] DEBUG io.netty.buffer.PooledByteBufAllocator -
-Dio.netty.allocator.pageSize: 8192 13:24:52.264 [main] DEBUG io.netty.buffer.PooledByteBufAllocator -
-Dio.netty.allocator.maxOrder: 11 13:24:52.264 [main] DEBUG io.netty.buffer.PooledByteBufAllocator -
-Dio.netty.allocator.chunkSize: 16777216 13:24:52.264 [main] DEBUG io.netty.buffer.PooledByteBufAllocator -
-Dio.netty.allocator.tinyCacheSize: 512 13:24:52.264 [main] DEBUG io.netty.buffer.PooledByteBufAllocator -
-Dio.netty.allocator.smallCacheSize: 256 13:24:52.264 [main] DEBUG io.netty.buffer.PooledByteBufAllocator -
-Dio.netty.allocator.normalCacheSize: 64 13:24:52.264 [main] DEBUG io.netty.buffer.PooledByteBufAllocator -
-Dio.netty.allocator.maxCachedBufferCapacity: 32768 13:24:52.264 [main] DEBUG io.netty.buffer.PooledByteBufAllocator -
-Dio.netty.allocator.cacheTrimInterval: 8192 13:24:52.296 [main] DEBUG io.netty.util.internal.ThreadLocalRandom -
-Dio.netty.initialSeedUniquifier: 0x35f32988e43eab85 (took 10 ms) 13:24:52.327 [main] DEBUG io.netty.buffer.ByteBufUtil -
-Dio.netty.allocator.type: unpooled 13:24:52.327 [main] DEBUG io.netty.buffer.ByteBufUtil - -Dio.netty.threadLocalDirectBufferSize:
65536 13:24:52.327 [main] DEBUG io.netty.buffer.ByteBufUtil -
-Dio.netty.maxThreadLocalCharBufferSize: 16384 13:24:52.358 [ua-netty-event-loop-0] DEBUG
io.netty.util.internal.JavassistTypeParameterMatcherGenerator -
Generated:
io.netty.util.internal.matchers.org.eclipse.milo.opcua.stack.client.handlers.UaRequestFutureMatcher 13:24:52.389 [ua-netty-event-loop-0] DEBUG
io.netty.buffer.AbstractByteBuf -
-Dio.netty.buffer.bytebuf.checkAccessible: true 13:24:52.858 [ua-netty-event-loop-0] DEBUG io.netty.util.Recycler -
-Dio.netty.recycler.maxCapacity.default: 262144 13:24:52.890 [ua-netty-event-loop-0] DEBUG
org.eclipse.milo.opcua.stack.client.handlers.UaTcpClientAcknowledgeHandler
- Sent Hello message on channel=[id: 0xa0ec7fec, L:/130.83.225.169:58872 - R:/192.168.115.40:49580]. 13:24:52.905
[ua-netty-event-loop-0] DEBUG
org.eclipse.milo.opcua.stack.client.handlers.UaTcpClientAcknowledgeHandler
- Received Acknowledge message on channel=[id: 0xa0ec7fec, L:/130.83.225.169:58872 - R:/192.168.115.40:49580]. 13:24:52.921
[ua-netty-event-loop-0] DEBUG
org.eclipse.milo.opcua.stack.client.handlers.UaTcpClientMessageHandler
- OpenSecureChannel timeout scheduled for +5s 13:24:52.967 [ua-netty-event-loop-0] DEBUG
org.eclipse.milo.opcua.stack.client.handlers.UaTcpClientMessageHandler
- OpenSecureChannel timeout canceled 13:24:52.967 [ua-shared-pool-0] DEBUG
org.eclipse.milo.opcua.stack.client.handlers.UaTcpClientMessageHandler
- Sent OpenSecureChannelRequest (Issue, id=0, currentToken=-1, previousToken=-1). 13:24:52.999 [ua-shared-pool-1] DEBUG
org.eclipse.milo.opcua.stack.client.handlers.UaTcpClientMessageHandler
- Received OpenSecureChannelResponse. 13:24:52.999 [ua-shared-pool-1] DEBUG
org.eclipse.milo.opcua.stack.client.handlers.UaTcpClientMessageHandler
- SecureChannel id=1140, currentTokenId=1, previousTokenId=-1, lifetime=3600000ms, createdAt=DateTime{utcTime=131384570808248472,
javaDate=Fri May 05 13:24:40 CEST 2017} 13:24:52.999
[ua-netty-event-loop-0] DEBUG
org.eclipse.milo.opcua.stack.client.handlers.UaTcpClientMessageHandler
- 0 message(s) queued before handshake completed; sending now. 13:24:52.999 [ForkJoinPool.commonPool-worker-1] DEBUG
org.eclipse.milo.opcua.stack.client.ClientChannelManager - Channel
bootstrap succeeded: localAddress=/130.83.225.169:58872,
remoteAddress=/192.168.115.40:49580 13:24:53.061
[ForkJoinPool.commonPool-worker-1] DEBUG
org.eclipse.milo.opcua.stack.client.ClientChannelManager - Sending
CloseSecureChannelRequest... 13:24:53.061 [main] INFO
org.eclipse.milo.examples.client.ClientExampleRunner - Using endpoint:
opc.tcp://Extern-Mess-Rec:49580 [None] 13:24:53.077
[ua-netty-event-loop-0] DEBUG
org.eclipse.milo.opcua.stack.client.ClientChannelManager -
channelInactive(), disconnect complete 13:24:53.077
[ua-netty-event-loop-0] DEBUG
org.eclipse.milo.opcua.stack.client.ClientChannelManager - disconnect
complete, state set to Idle 13:24:53.124 [main] DEBUG
org.eclipse.milo.opcua.sdk.client.OpcUaClient - Added
ServiceFaultListener:
org.eclipse.milo.opcua.sdk.client.ClientSessionManager$$Lambda$1049/664457955#58134517
13:24:53.171 [main] DEBUG
org.eclipse.milo.opcua.sdk.client.OpcUaClient - Added
SessionActivityListener:
org.eclipse.milo.opcua.sdk.client.subscriptions.OpcUaSubscriptionManager$1#2d2e5f00
13:24:55.592 [ForkJoinPool.commonPool-worker-1] DEBUG
org.eclipse.milo.opcua.stack.client.ClientChannelManager - Channel
bootstrap failed: null java.nio.channels.UnresolvedAddressException:
null
at sun.nio.ch.Net.checkAddress(Net.java:101)
at sun.nio.ch.SocketChannelImpl.connect(SocketChannelImpl.java:622)
at io.netty.channel.socket.nio.NioSocketChannel.doConnect(NioSocketChannel.java:209)
at io.netty.channel.nio.AbstractNioChannel$AbstractNioUnsafe.connect(AbstractNioChannel.java:207)
at io.netty.channel.DefaultChannelPipeline$HeadContext.connect(DefaultChannelPipeline.java:1279)
at io.netty.channel.AbstractChannelHandlerContext.invokeConnect(AbstractChannelHandlerContext.java:453)
at io.netty.channel.AbstractChannelHandlerContext.connect(AbstractChannelHandlerContext.java:439)
at io.netty.channel.ChannelDuplexHandler.connect(ChannelDuplexHandler.java:50)
at io.netty.channel.AbstractChannelHandlerContext.invokeConnect(AbstractChannelHandlerContext.java:453)
at io.netty.channel.AbstractChannelHandlerContext.connect(AbstractChannelHandlerContext.java:439)
at io.netty.channel.AbstractChannelHandlerContext.connect(AbstractChannelHandlerContext.java:421)
at io.netty.channel.DefaultChannelPipeline.connect(DefaultChannelPipeline.java:1024)
at io.netty.channel.AbstractChannel.connect(AbstractChannel.java:203)
at io.netty.bootstrap.Bootstrap$2.run(Bootstrap.java:167)
at io.netty.util.concurrent.SingleThreadEventExecutor.runAllTasks(SingleThreadEventExecutor.java:358)
at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:374)
at io.netty.util.concurrent.SingleThreadEventExecutor$2.run(SingleThreadEventExecutor.java:112)
at java.lang.Thread.run(Thread.java:745) 13:24:55.608 [main] ERROR org.eclipse.milo.examples.client.ClientExampleRunner - Error
running client example: java.nio.channels.UnresolvedAddressException
java.util.concurrent.ExecutionException:
java.nio.channels.UnresolvedAddressException
at java.util.concurrent.CompletableFuture.reportGet(CompletableFuture.java:357)
at java.util.concurrent.CompletableFuture.get(CompletableFuture.java:1895)
at org.eclipse.milo.examples.client.ReadExample.run(ReadExample.java:43)
at org.eclipse.milo.examples.client.ClientExampleRunner.run(ClientExampleRunner.java:106)
at org.eclipse.milo.examples.client.ReadExample.main(ReadExample.java:35)
Caused by: java.nio.channels.UnresolvedAddressException: null
at sun.nio.ch.Net.checkAddress(Net.java:101)
at sun.nio.ch.SocketChannelImpl.connect(SocketChannelImpl.java:622)
at io.netty.channel.socket.nio.NioSocketChannel.doConnect(NioSocketChannel.java:209)
at io.netty.channel.nio.AbstractNioChannel$AbstractNioUnsafe.connect(AbstractNioChannel.java:207)
at io.netty.channel.DefaultChannelPipeline$HeadContext.connect(DefaultChannelPipeline.java:1279)
at io.netty.channel.AbstractChannelHandlerContext.invokeConnect(AbstractChannelHandlerContext.java:453)
at io.netty.channel.AbstractChannelHandlerContext.connect(AbstractChannelHandlerContext.java:439)
at io.netty.channel.ChannelDuplexHandler.connect(ChannelDuplexHandler.java:50)
at io.netty.channel.AbstractChannelHandlerContext.invokeConnect(AbstractChannelHandlerContext.java:453)
at io.netty.channel.AbstractChannelHandlerContext.connect(AbstractChannelHandlerContext.java:439)
at io.netty.channel.AbstractChannelHandlerContext.connect(AbstractChannelHandlerContext.java:421)
at io.netty.channel.DefaultChannelPipeline.connect(DefaultChannelPipeline.java:1024)
at io.netty.channel.AbstractChannel.connect(AbstractChannel.java:203)
at io.netty.bootstrap.Bootstrap$2.run(Bootstrap.java:167)
at io.netty.util.concurrent.SingleThreadEventExecutor.runAllTasks(SingleThreadEventExecutor.java:358)
at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:374)
at io.netty.util.concurrent.SingleThreadEventExecutor$2.run(SingleThreadEventExecutor.java:112)
at java.lang.Thread.run(Thread.java:745)
The server you're getting endpoints from is probably returning "Extern-Mess-Rec" as its hostname, which you can't resolve.
See this answer for how to deal with that scenario.

Error after generating model

I wanted to lern xtext, for many years i lerned xpand and xtend and worked fine, but xtext seems to replaced the other both. And the xtext way looks fine to me.
As start i read follwing Tutorials: http://www.eclipse.org/Xtext/documentation/101_five_minutes.html, Including "15 Minutes Tutorial" and "15 Minutes Tutorial - Extended" and others. So i created a simple "Model"
grammar org.bs.test.Test with org.eclipse.xtext.common.Terminals
generate Test "http://www.bs.org/test/Test"
Test:
main=TMain;
TMain:
'main' name=ID
'done';
Generated on following way: "GenerateTest.mwe2" > right click > 'Run As' → 'MWE2 Workflow'.
Then made a copy of the Project. It was already my second or third try to find out what i made wrong.
Now i changed in the model following line: "main=TMain;" to "main=TMain?;". Then i used 'MWE2 Workflow' again, which run successful, but after running following happens:
Everthing files under 'src-gen/org/bs/test/Test/' and files in the subfolders 'impl' and 'util' are deleted. So they get deleted, then i copied the saved project and try following action on "Test.xtext" > right click > 'Run As' → 'Generate Xtext Artifacts', which result in the same.
There are two question for me:
1) What is the difference between "Generate Xtext Artifacts" and "MWE2 Workflow" and when did i do need them. I cannot figure that out on the Tutorial and especialy when to use them.
2) What did i wrong, and what i have to do to create generate the elements from the changed model
I could not find much on this, i hope someone could help me. I did not find something to both question.
EDIT 1:
When i create a complete new test project it works:
project name: org.test
name: org.test.MyTest
extensions: mytest
with following xtext:
grammar org.test.MyTest with org.eclipse.xtext.common.Terminals
generate myTest "http://www.test.org/MyTest"
Test:
main=TMain;
TMain:
'main' name=ID
'done'
But when i do the same with following input:
Project name: org.bs.craass
Name: org.bs.craass.CraAss
Extension: craass
xtext:
grammar org.bs.craass.CraAss with org.eclipse.xtext.common.Terminals
generate craAss "http://www.bs.org/craass/CraAss"
CraAss:
main=CAMain;
CAMain:
'main' name=ID
'done';
Later i will try following: install a new eclispe emf and create a new workspace.
EDIT2:
So i tested a new workspace, there it look liks, that it is working. Perhaps something with the old workspace. Like in a comment, in the orginal workspace, after i get a good "version", i wanted to put it on git (learning reason). Since then this not working anymore. Here some output of the generation:
0 [main] INFO lipse.emf.mwe.utils.StandaloneSetup - Registering platform uri 'C:\workspaces\emf_01'
401 [main] WARN lipse.emf.mwe.utils.StandaloneSetup - Skipping conflicting project org.bs.craass at 'file:/C:/workspaces/emf_01/org.bs.craass/' and using 'file:/C:/workspaces/emf_01/error_01/org.bs.craass/' instead.
926 [main] WARN lipse.emf.mwe.utils.StandaloneSetup - Skipping conflicting project org.bs.craass at 'file:/C:/workspaces/emf_01/error_01/org.bs.craass/' and using 'file:/C:/workspaces/emf_01/org.bs.craass/' instead.
939 [main] WARN lipse.emf.mwe.utils.StandaloneSetup - Skipping conflicting project org.bs.craass.sdk at 'file:/C:/workspaces/emf_01/error_01/org.bs.craass.sdk/' and using 'file:/C:/workspaces/emf_01/org.bs.craass.sdk/' instead.
970 [main] WARN lipse.emf.mwe.utils.StandaloneSetup - Skipping conflicting project org.bs.craass.tests at 'file:/C:/workspaces/emf_01/error_01/org.bs.craass.tests/' and using 'file:/C:/workspaces/emf_01/org.bs.craass.tests/' instead.
1090 [main] WARN lipse.emf.mwe.utils.StandaloneSetup - Skipping conflicting project org.bs.craass.ui at 'file:/C:/workspaces/emf_01/error_01/org.bs.craass.ui/' and using 'file:/C:/workspaces/emf_01/org.bs.craass.ui/' instead.
1749 [main] WARN lipse.emf.mwe.utils.StandaloneSetup - Skipping conflicting project org.bs.craass at 'file:/C:/workspaces/emf_01/org.bs.craass/' and using 'file:/C:/workspaces/emf_01/save_01/org.bs.craass/' instead.
1762 [main] WARN lipse.emf.mwe.utils.StandaloneSetup - Skipping conflicting project org.bs.craass.sdk at 'file:/C:/workspaces/emf_01/org.bs.craass.sdk/' and using 'file:/C:/workspaces/emf_01/save_01/org.bs.craass.sdk/' instead.
1820 [main] WARN lipse.emf.mwe.utils.StandaloneSetup - Skipping conflicting project org.bs.craass.tests at 'file:/C:/workspaces/emf_01/org.bs.craass.tests/' and using 'file:/C:/workspaces/emf_01/save_01/org.bs.craass.tests/' instead.
2082 [main] WARN lipse.emf.mwe.utils.StandaloneSetup - Skipping conflicting project org.bs.craass.ui at 'file:/C:/workspaces/emf_01/org.bs.craass.ui/' and using 'file:/C:/workspaces/emf_01/save_01/org.bs.craass.ui/' instead.
2577 [main] INFO lipse.emf.mwe.utils.StandaloneSetup - Adding generated EPackage 'org.eclipse.xtext.xbase.XbasePackage'
4253 [main] INFO clipse.emf.mwe.utils.GenModelHelper - Registered GenModel 'http://www.eclipse.org/Xtext/Xbase/XAnnotations' from 'platform:/resource/org.eclipse.xtext.xbase/model/Xbase.genmodel'
4265 [main] INFO clipse.emf.mwe.utils.GenModelHelper - Registered GenModel 'http://www.eclipse.org/xtext/xbase/Xtype' from 'platform:/resource/org.eclipse.xtext.xbase/model/Xbase.genmodel'
4335 [main] INFO clipse.emf.mwe.utils.GenModelHelper - Registered GenModel 'http://www.eclipse.org/xtext/xbase/Xbase' from 'platform:/resource/org.eclipse.xtext.xbase/model/Xbase.genmodel'
4335 [main] INFO clipse.emf.mwe.utils.GenModelHelper - Registered GenModel 'http://www.eclipse.org/xtext/common/JavaVMTypes' from 'platform:/resource/org.eclipse.xtext.common.types/model/JavaVMTypes.genmodel'
6234 [main] INFO lipse.emf.mwe.utils.StandaloneSetup - Adding generated EPackage 'org.eclipse.xtext.common.types.TypesPackage'
6267 [main] INFO ipse.emf.mwe.utils.DirectoryCleaner - Cleaning C:\workspaces\emf_01\org.bs.craass\..\org.bs.craass\src-gen
6326 [main] INFO ipse.emf.mwe.utils.DirectoryCleaner - Cleaning C:\workspaces\emf_01\org.bs.craass\..\org.bs.craass\model\generated
6330 [main] INFO ipse.emf.mwe.utils.DirectoryCleaner - Cleaning C:\workspaces\emf_01\org.bs.craass\..\org.bs.craass.ui\src-gen
6378 [main] INFO ipse.emf.mwe.utils.DirectoryCleaner - Cleaning C:\workspaces\emf_01\org.bs.craass\..\org.bs.craass.tests\src-gen
9146 [main] INFO clipse.emf.mwe.utils.GenModelHelper - Registered GenModel 'http://www.bs.org/craass/CraAss' from 'file:/C:/workspaces/emf_01/org.bs.craass/model/generated/CraAss.genmodel'
15709 [main] INFO text.generator.junit.Junit4Fragment - generating Junit4 Test support classes
15731 [main] INFO text.generator.junit.Junit4Fragment - generating Compare Framework infrastructure
15973 [main] INFO .emf.mwe2.runtime.workflow.Workflow - Done.
I compared with a run in a other workspace, and the WARN, does not come there. To be hornest, i ignored first, because it was "only" warnings. A run that runs successful:
0 [main] INFO lipse.emf.mwe.utils.StandaloneSetup - Registering platform uri 'C:\workspaces\emf'
541 [main] INFO lipse.emf.mwe.utils.StandaloneSetup - Adding generated EPackage 'org.eclipse.xtext.xbase.XbasePackage'
1020 [main] INFO clipse.emf.mwe.utils.GenModelHelper - Registered GenModel 'http://www.eclipse.org/Xtext/Xbase/XAnnotations' from 'platform:/resource/org.eclipse.xtext.xbase/model/Xbase.genmodel'
1031 [main] INFO clipse.emf.mwe.utils.GenModelHelper - Registered GenModel 'http://www.eclipse.org/xtext/xbase/Xtype' from 'platform:/resource/org.eclipse.xtext.xbase/model/Xbase.genmodel'
1064 [main] INFO clipse.emf.mwe.utils.GenModelHelper - Registered GenModel 'http://www.eclipse.org/xtext/xbase/Xbase' from 'platform:/resource/org.eclipse.xtext.xbase/model/Xbase.genmodel'
1064 [main] INFO clipse.emf.mwe.utils.GenModelHelper - Registered GenModel 'http://www.eclipse.org/xtext/common/JavaVMTypes' from 'platform:/resource/org.eclipse.xtext.common.types/model/JavaVMTypes.genmodel'
2307 [main] INFO lipse.emf.mwe.utils.StandaloneSetup - Adding generated EPackage 'org.eclipse.xtext.common.types.TypesPackage'
2355 [main] INFO ipse.emf.mwe.utils.DirectoryCleaner - Cleaning C:\workspaces\emf\org.bs.craass\..\org.bs.craass\src-gen
2382 [main] INFO ipse.emf.mwe.utils.DirectoryCleaner - Cleaning C:\workspaces\emf\org.bs.craass\..\org.bs.craass\model\generated
2390 [main] INFO ipse.emf.mwe.utils.DirectoryCleaner - Cleaning C:\workspaces\emf\org.bs.craass\..\org.bs.craass.ui\src-gen
2407 [main] INFO ipse.emf.mwe.utils.DirectoryCleaner - Cleaning C:\workspaces\emf\org.bs.craass\..\org.bs.craass.tests\src-gen
4446 [main] INFO clipse.emf.mwe.utils.GenModelHelper - Registered GenModel 'http://www.bs.org/craass/CraAss' from 'platform:/resource/org.bs.craass/model/generated/CraAss.genmodel'
11647 [main] INFO text.generator.junit.Junit4Fragment - generating Junit4 Test support classes
11719 [main] INFO text.generator.junit.Junit4Fragment - generating Compare Framework infrastructure
11997 [main] INFO .emf.mwe2.runtime.workflow.Workflow - Done.
So far the stand of my troubleshooting.
EDIT 3:
I do not know why, but it accept now the old xtext file i created and while running it occurs following error (but seems to have no big impact), complete log:
0 [main] INFO lipse.emf.mwe.utils.StandaloneSetup - Registering platform uri 'C:\workspaces\emf'
664 [main] INFO lipse.emf.mwe.utils.StandaloneSetup - Adding generated EPackage 'org.eclipse.xtext.xbase.XbasePackage'
1864 [main] INFO clipse.emf.mwe.utils.GenModelHelper - Registered GenModel 'http://www.eclipse.org/Xtext/Xbase/XAnnotations' from 'platform:/resource/org.eclipse.xtext.xbase/model/Xbase.genmodel'
1882 [main] INFO clipse.emf.mwe.utils.GenModelHelper - Registered GenModel 'http://www.eclipse.org/xtext/xbase/Xtype' from 'platform:/resource/org.eclipse.xtext.xbase/model/Xbase.genmodel'
1987 [main] INFO clipse.emf.mwe.utils.GenModelHelper - Registered GenModel 'http://www.eclipse.org/xtext/xbase/Xbase' from 'platform:/resource/org.eclipse.xtext.xbase/model/Xbase.genmodel'
1987 [main] INFO clipse.emf.mwe.utils.GenModelHelper - Registered GenModel 'http://www.eclipse.org/xtext/common/JavaVMTypes' from 'platform:/resource/org.eclipse.xtext.common.types/model/JavaVMTypes.genmodel'
3982 [main] INFO lipse.emf.mwe.utils.StandaloneSetup - Adding generated EPackage 'org.eclipse.xtext.common.types.TypesPackage'
4018 [main] INFO ipse.emf.mwe.utils.DirectoryCleaner - Cleaning C:\workspaces\emf\org.bs.craass\..\org.bs.craass\src-gen
4061 [main] INFO ipse.emf.mwe.utils.DirectoryCleaner - Cleaning C:\workspaces\emf\org.bs.craass\..\org.bs.craass\model\generated
4064 [main] INFO ipse.emf.mwe.utils.DirectoryCleaner - Cleaning C:\workspaces\emf\org.bs.craass\..\org.bs.craass.ui\src-gen
4087 [main] INFO ipse.emf.mwe.utils.DirectoryCleaner - Cleaning C:\workspaces\emf\org.bs.craass\..\org.bs.craass.tests\src-gen
7153 [main] INFO clipse.emf.mwe.utils.GenModelHelper - Registered GenModel 'http://www.bs.org/craass/CraAss' from 'platform:/resource/org.bs.craass/model/generated/CraAss.genmodel'
error(208): ../org.bs.craass/src-gen/org/bs/craass/parser/antlr/internal/InternalCraAss.g:1199:1: The following token definitions can never be matched because prior tokens match the same input: RULE_INT
error(208): ../org.bs.craass.ui/src-gen/org/bs/craass/ui/contentassist/antlr/internal/InternalCraAss.g:2688:1: The following token definitions can never be matched because prior tokens match the same input: RULE_INT
16642 [main] INFO text.generator.junit.Junit4Fragment - generating Junit4 Test support classes
16661 [main] INFO text.generator.junit.Junit4Fragment - generating Compare Framework infrastructure
16804 [main] INFO .emf.mwe2.runtime.workflow.Workflow - Done.
The trouble seems, that i have following:
grammar org.bs.craass.CraAss with org.eclipse.xtext.common.Terminals
but on the other side:
terminal INTEGER : '-'?('0'..'9')+;
terminal VAR_TERMINAL : '_' ('a'..'z'|'A'..'Z'|'_'|'0'..'9')*;
terminal REGISTER_TERMINAL : ('ax' | 'bx' );
terminal FUNCTION_TERMINAL : (('a'..'z'|'_'|'0'..'9')*'.')?('a'..'z'|'A'..'Z'|'_'|'0'..'9')*;
And in the org.eclipse.xtext.common.Terminals is
terminal INT returns ecore::EInt: ('0'..'9')+;
But i have no what to do with it.
The Problem itself, while generating everthing in srce-gen/, except the generated java files under src-gen/org.bs.craass.craAss and subfolder. Now there are created, too. So more i try to find out, so less the error was reproducable. Well, i will see, when i push it to git again, perhaps the error comes back.
So far thanks
running the workflow directly or calling generate language artefacts does the very same. the workflow reads your Xtext file and generates all infrastructure Xtext provides for your language. thus you have to call it if you change your grammar or the workflow itself. if you have a misconfiguration on your language or a broken grammar the generation may fail. also the workflow may refer to project names which may have to be adopted as well (dont know how you do the copy and paste - you should use the Xtext Project wizard to create the project to be safe)

Oracle Enterprise Manager 12c Installation error on Oracle Enterprise Linux 6

I have Oracle Enterprise Linux 6 Update 5 installed as an OS, and installed Oracle Database 12c. Using SQL Developer, I am able to confirm that the Database is working fine. I have even had success connecting to the database from another computer in the institution using SQL Developer and my local address (172.16.5.40). I tried to install Oracle Enterprise Manager 12c, and run into the following error:
INFO: oracle.sysman.top.oms:About to execute plug-in Start Oracle Management Service
INFO: oracle.sysman.top.oms:The plug-in Start Oracle Management Service is running
INFO: oracle.sysman.top.oms:Internal PlugIn Class: oracle.sysman.oms.StartOMS
INFO: oracle.sysman.top.oms:Classpath = /u01/app/oracle/em/middleware/oms/sysman/jlib/omsConfig.jar:/u01/app/oracle/em/middleware/oms/jdbc/lib/ojdbc6.jar:/u01/app/oracle/em/middleware/oms/sysman/jlib/emcore_client.jar:/u01/app/oracle/em/middleware/oms/../modules/com.bea.core.apache.log4j_1.2.13.jar:/u01/app/oracle/em/middleware/oms/jlib/rcucommon.jar:/u01/app/oracle/em/middleware/oms/jdbc/lib/ojdbc6.jar:/u01/app/oracle/em/middleware/oms/sysman/jlib/emagentSDK.jar:/u01/app/oracle/em/middleware/oms/../oracle_common/modules/oracle.xdk_11.1.0/xmlparserv2.jar:/u01/app/oracle/em/middleware/oms/../oracle_common/modules/oracle.odl_11.1.1/ojdl.jar:/u01/app/oracle/em/middleware/oms/../oracle_common/modules/oracle.xdk_11.1.0/xml.jar:/u01/app/oracle/em/middleware/oms/../oracle_common/modules/oracle.jdbc_11.1.1/ojdbc6dms.jar:/u01/app/oracle/em/middleware/oms/../oracle_common/modules/oracle.dms_11.1.1/dms.jar:/u01/app/oracle/em/middleware/oms/../oracle_common/modules/oracle.odl_11.1.1/ojdl.jar:/u01/app/oracle/em/middleware/oms/jlib/rcu.jar
INFO: oracle.sysman.top.oms:BaseConfiguration:invoke:Starting BaseConfiguration invoke method on an aggregate=oracle.sysman.top.oms for Action=configuration in step=12:microstep=0
INFO: oracle.sysman.top.oms:Fetching the ports from staticports.ini file: /u01/app/oracle/em/middleware/.gcinstall_temp/staticports.ini
INFO: oracle.sysman.top.oms:Starting OMS ...
INFO: oracle.sysman.top.oms:Executing command: /u01/app/oracle/em/middleware/oms/bin/emctl start oms
INFO: oracle.sysman.top.oms:Oracle Enterprise Manager Cloud Control 12c Release 3
INFO: oracle.sysman.top.oms:Copyright (c) 1996, 2013 Oracle Corporation. All rights reserved.
INFO: oracle.sysman.top.oms:Starting Oracle Management Server...
INFO: oracle.sysman.top.oms:Starting WebTier...
INFO: oracle.sysman.top.oms:WebTier Could Not Be Started
INFO: oracle.sysman.top.oms:Error Occurred: WebTier Could Not Be Started
INFO: oracle.sysman.top.oms:Please check /u01/app/oracle/em/gc_inst/em/EMGC_OMS1/sysman/log/emctl.log for error details
SEVERE: oracle.sysman.top.oms:Starting of OMS failed.
INFO: oracle.sysman.top.oms:Starting export oms config...
INFO: oracle.sysman.top.oms:Executing command: /u01/app/oracle/em/middleware/oms/bin/emctl exportconfig oms -keep_host -dir /u01/app/oracle/em/gc_inst/em/EMGC_OMS1/sysman/backup
INFO: oracle.sysman.top.oms:Oracle Enterprise Manager Cloud Control 12c Release 3
INFO: oracle.sysman.top.oms:Copyright (c) 1996, 2013 Oracle Corporation. All rights reserved.
INFO: oracle.sysman.top.oms:Enter Enterprise Manager Root (SYSMAN) Password : Enter Enterprise Manager Root (SYSMAN) Password : ExportConfig started...
INFO: oracle.sysman.top.oms:Machine is Admin Server host. Performing Admin Server backup...
INFO: oracle.sysman.top.oms:Exporting emoms properties...
INFO: oracle.sysman.top.oms:Exporting secure properties...
INFO: oracle.sysman.top.oms:
INFO: oracle.sysman.top.oms:Export has determined that the OMS is not fronted
INFO: oracle.sysman.top.oms:by an SLB. You have chosen to export the local
INFO: oracle.sysman.top.oms:hostname. The exported data may ONLY be imported
INFO: oracle.sysman.top.oms:on a host with the same hostname. Please see the
INFO: oracle.sysman.top.oms:EM Advanced Configuration Guide for more details.
INFO: oracle.sysman.top.oms:
INFO: oracle.sysman.top.oms:Exporting configuration for pluggable modules...
INFO: oracle.sysman.top.oms:Preparing archive file...
INFO: oracle.sysman.top.oms:Backup has been written to file: /u01/app/oracle/em/gc_inst/em/EMGC_OMS1/sysman/backup/opf_ADMIN_20140128_134121.bka
INFO: oracle.sysman.top.oms:
INFO: oracle.sysman.top.oms:The export file contains sensitive data.
INFO: oracle.sysman.top.oms: You must keep it secure.
INFO: oracle.sysman.top.oms:
INFO: oracle.sysman.top.oms:ExportConfig completed successfully!
INFO: oracle.sysman.top.oms:Export config of OMS is successful.
INFO: oracle.sysman.top.oms:The plug-in Start Oracle Management Service has failed its perform method
emctl.log:
2014-01-28 17:05:01,727 [main] INFO wls.OMSController main.219 - Executing emctl command : start
2014-01-28 17:05:16,102 [main] INFO util.EmctlUtil logp.251 - Output messages of the command :
opmnctl stopall: stopping opmn and all managed processes...
2014-01-28 17:05:16,102 [main] INFO util.EmctlUtil logp.251 - error messages of the command :
2014-01-28 17:07:18,004 [main] INFO util.EmctlUtil logp.251 - Output messages of the command :
opmnctl startall: starting opmn and all managed processes...
2014-01-28 17:07:18,005 [main] INFO util.EmctlUtil logp.251 - error messages of the command :
================================================================================
opmn id=OracleServer.Compsci:6701
Response: 0 of 1 processes started.
ias-instance id=instance1
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
--------------------------------------------------------------------------------
ias-component/process-type/process-set:
ohs1/OHS/OHS/
Error
--> Process (index=1,uid=163667581,pid=5583)
time out while waiting for a managed process to start
Log:
/u01/app/oracle/em/gc_inst/WebTierIH1/diagnostics/logs/OHS/ohs1/console~OHS~1.log
2014-01-28 17:07:18,005 [main] ERROR commands.BaseCommand logAndPrint.620 - WebTier Could Not Be Started
2014-01-28 17:07:18,006 [main] ERROR wls.OMSController main.252 - OMSController failed for start oms
2014-01-28 17:07:18,008 [main] ERROR wls.OMSController main.253 - OMSController Error: WebTier Could Not Be Started
java.lang.Exception: WebTier Could Not Be Started
at oracle.sysman.emctl.commands.StartCommand.startOMS(StartCommand.java:257)
at oracle.sysman.emctl.commands.StartCommand.execute(StartCommand.java:155)
at oracle.sysman.emctl.wls.OMSController.main(OMSController.java:233)
2014-01-28 17:07:19,187 [main] DEBUG ctxt.CommandContext trace.419 - Starting processing of arguments
2014-01-28 17:07:19,190 [main] DEBUG ctxt.CommandContext trace.419 - Option keep_host entered
2014-01-28 17:07:19,190 [main] DEBUG ctxt.CommandContext trace.419 - Value of option dir specified as /u01/app/oracle/em/gc_inst/em/EMGC_OMS1/sysman/backup
2014-01-28 17:07:19,191 [main] DEBUG ctxt.CommandContext trace.419 - Done processing options passed on command line
2014-01-28 17:07:19,191 [main] DEBUG ctxt.CommandContext trace.419 - Checking if mandatory params are passed.
2014-01-28 17:07:19,191 [main] DEBUG ctxt.CommandContext trace.419 - Reading value of password option sysman_pwd
2014-01-28 17:07:19,230 [main] DEBUG oms.ExportConfigOMSCmds logp.251 - ExportConfig started...
2014-01-28 17:07:19,230 [main] DEBUG oms.ExportConfigOMSCmds logp.251 - oracle home is /u01/app/oracle/em/middleware/oms
2014-01-28 17:07:19,231 [main] DEBUG oms.ExportConfigOMSCmds logp.251 - instance home is /u01/app/oracle/em/gc_inst/em/EMGC_OMS1
2014-01-28 17:07:19,231 [main] DEBUG ctxt.CommandContext trace.419 - Validating CommandContext and setting default values
2014-01-28 17:07:19,232 [main] DEBUG ctxt.CommandContext trace.419 - Setting optional parameter oms_only to default value false
2014-01-28 17:07:19,238 [main] INFO oms.AdminCredsWalletUtil setInstanceHome.177 - Getting credentials from wallet
2014-01-28 17:07:19,685 [main] INFO oms.AdminCredsWalletUtil setInstanceHome.192 - Read the credentials from wallet
2014-01-28 17:07:19,685 [main] INFO util.EmctlUtil logp.251 - Connecting over t3s to: OracleServer.Compsci/7102 using id: weblogic
2014-01-28 17:07:22,059 [main] INFO mas.CredStoreUtil logp.251 - getCredential : Got creds for mapName -EM keyName - REPOS_DETAILS
2014-01-28 17:07:23,134 [main] INFO mas.CredStoreUtil logp.251 - getCredential : Got creds for mapName -EM keyName - ENCR_DETAILS
2014-01-28 17:07:23,839 [main] INFO oms.HAUtil verifyReposPwd.95 - Sysman password is valid
2014-01-28 17:07:23,840 [main] DEBUG oms.ExportConfigOMSCmds logp.251 - sysman password validated
2014-01-28 17:07:23,841 [main] INFO oms.AdminCredsWalletUtil setInstanceHome.177 - Getting credentials from wallet
2014-01-28 17:07:23,886 [main] INFO oms.AdminCredsWalletUtil setInstanceHome.192 - Read the credentials from wallet
2014-01-28 17:07:23,886 [main] INFO util.EmctlUtil logp.251 - Connecting over t3s to: OracleServer.Compsci/7102 using id: weblogic
2014-01-28 17:07:23,915 [main] INFO mas.CredStoreUtil logp.251 - getCredential : Got creds for mapName -EM keyName - REPOS_DETAILS
2014-01-28 17:07:23,969 [main] INFO mas.CredStoreUtil logp.251 - getCredential : Got creds for mapName -EM keyName - ENCR_DETAILS
2014-01-28 17:07:24,689 [main] DEBUG oms.ExportConfigOMSCmds logp.251 - Admin backup is true
2014-01-28 17:07:26,395 [main] INFO script.ScriptExecutor output.2119 - read domain from "/u01/app/oracle/em/gc_inst/user_projects/domains/GCDomain"
2014-01-28 17:07:31,898 [main] INFO script.ScriptExecutor output.2119 - succeed: read domain from "/u01/app/oracle/em/gc_inst/user_projects/domains/GCDomain"
2014-01-28 17:07:32,136 [main] INFO script.ScriptExecutor output.2119 - find Server "EMGC_ADMINSERVER" as obj0
2014-01-28 17:07:32,231 [main] INFO script.ScriptExecutor output.2119 - succeed: find Server "EMGC_ADMINSERVER" as obj0
2014-01-28 17:07:32,323 [main] INFO script.ScriptExecutor output.2119 - find Server "EMGC_OMS1" as obj1
2014-01-28 17:07:32,325 [main] INFO script.ScriptExecutor output.2119 - succeed: find Server "EMGC_OMS1" as obj1
2014-01-28 17:07:32,338 [main] DEBUG oms.ExportConfigOMSCmds logp.251 - admin backup cmd is /u01/app/oracle/em/middleware/oms/bin/zip -q -r -9 /u01/app/oracle/em/gc_inst/em/EMGC_OMS1/sysman/backup/GCDomain_backup.zip user_projects -x user_projects/domains/GCDomain/servers/EMGC_ADMINSERVER/tmp* -x user_projects/domains/GCDomain/servers/EMGC_ADMINSERVER/logs* -x user_projects/domains/GCDomain/servers/EMGC_ADMINSERVER/adr* -x user_projects/domains/GCDomain/servers/EMGC_ADMINSERVER/*.log* -x user_projects/domains/GCDomain/servers/EMGC_ADMINSERVER/*.trc* -x user_projects/domains/GCDomain/servers/EMGC_ADMINSERVER/*.lck* -x user_projects/domains/GCDomain/servers/EMGC_OMS1/tmp* -x user_projects/domains/GCDomain/servers/EMGC_OMS1/logs* -x user_projects/domains/GCDomain/servers/EMGC_OMS1/adr* -x user_projects/domains/GCDomain/servers/EMGC_OMS1/*.log* -x user_projects/domains/GCDomain/servers/EMGC_OMS1/*.trc* -x user_projects/domains/GCDomain/servers/EMGC_OMS1/*.lck*
2014-01-28 17:07:37,168 [main] INFO oms.ExportConfigOMSCmds logp.251 - zip exited with code 0
2014-01-28 17:07:37,168 [main] INFO oms.ExportConfigOMSCmds logp.251 - whether admin pack failed: false
2014-01-28 17:07:37,169 [main] DEBUG oms.ExportConfigOMSCmds logp.251 - admin server backup completed successfully
2014-01-28 17:07:37,169 [main] DEBUG oms.ExportConfigOMSCmds logp.251 - Export readme file is /u01/app/oracle/em/gc_inst/em/EMGC_OMS1/sysman/backup/plugins.list
2014-01-28 17:07:37,260 [main] DEBUG deploymentservice.EMPluginDeploymentUtil logp.251 - Version obtained from configmanager 12.1.0.3.0
2014-01-28 17:07:37,261 [main] DEBUG deploymentservice.EMPluginDeploymentUtil logp.251 - Unique OMS key obtained/generated = GCDomain#EMGC_OMS1#12.1.0.3.0
2014-01-28 17:07:37,275 [main] DEBUG deploymentservice.EMPluginDeploymentUtil logp.251 - Returning OMS GUID: 69258938A596AB98276D063F08AD4BE0
2014-01-28 17:07:37,282 [main] DEBUG inventory.EMPluginInventoryManager getAllPluginsDeployed.971 - Fetching plugins for OMS 69258938A596AB98276D063F08AD4BE0
2014-01-28 17:07:37,408 [main] DEBUG inventory.EMPluginInventoryManager getAllPluginsDeployed.990 - Obtained plugin for this oms: oracle.sysman.emas:12.1.0.5.0
2014-01-28 17:07:37,409 [main] DEBUG inventory.EMPluginInventoryManager getAllPluginsDeployed.990 - Obtained plugin for this oms: oracle.sysman.mos:12.1.0.5.0
2014-01-28 17:07:37,410 [main] DEBUG inventory.EMPluginInventoryManager getAllPluginsDeployed.990 - Obtained plugin for this oms: oracle.em.satc:12.1.0.2.0
2014-01-28 17:07:37,410 [main] DEBUG inventory.EMPluginInventoryManager getAllPluginsDeployed.990 - Obtained plugin for this oms: oracle.sysman.db:12.1.0.5.0
2014-01-28 17:07:37,410 [main] DEBUG inventory.EMPluginInventoryManager getAllPluginsDeployed.990 - Obtained plugin for this oms: oracle.sysman.xa:12.1.0.5.0
2014-01-28 17:07:37,410 [main] DEBUG inventory.EMPluginInventoryManager getAllPluginsDeployed.990 - Obtained plugin for this oms: oracle.em.secl:12.1.0.2.0
2014-01-28 17:07:37,410 [main] DEBUG inventory.EMPluginInventoryManager getAllPluginsDeployed.990 - Obtained plugin for this oms: oracle.em.secs:12.1.0.2.0
2014-01-28 17:07:37,411 [main] DEBUG inventory.EMPluginInventoryManager getAllPluginsDeployed.990 - Obtained plugin for this oms: oracle.em.sesy:12.1.0.2.0
2014-01-28 17:07:37,411 [main] DEBUG inventory.EMPluginInventoryManager getAllPluginsDeployed.990 - Obtained plugin for this oms: oracle.em.soee:12.1.0.2.0
2014-01-28 17:07:37,411 [main] DEBUG inventory.EMPluginInventoryManager getAllPluginsDeployed.990 - Obtained plugin for this oms: oracle.em.sidb:12.1.0.2.0
2014-01-28 17:07:37,412 [main] DEBUG inventory.EMPluginInventoryManager getAllPluginsDeployed.990 - Obtained plugin for this oms: oracle.em.smdn:12.1.0.2.0
2014-01-28 17:07:37,412 [main] DEBUG inventory.EMPluginInventoryManager getAllPluginsDeployed.990 - Obtained plugin for this oms: oracle.sysman.emct:12.1.0.5.0
2014-01-28 17:07:37,412 [main] DEBUG inventory.EMPluginInventoryManager getAllPluginsDeployed.990 - Obtained plugin for this oms: oracle.em.sehc:12.1.0.4.0
2014-01-28 17:07:37,412 [main] DEBUG inventory.EMPluginInventoryManager getAllPluginsDeployed.990 - Obtained plugin for this oms: oracle.sysman.smf:12.1.0.3.0
2014-01-28 17:07:37,412 [main] DEBUG inventory.EMPluginInventoryManager getAllPluginsDeployed.990 - Obtained plugin for this oms: oracle.em.sovn:12.1.0.2.0
2014-01-28 17:07:37,413 [main] DEBUG inventory.EMPluginInventoryManager getAllPluginsDeployed.990 - Obtained plugin for this oms: oracle.sysman.vt:12.1.0.5.0
2014-01-28 17:07:37,413 [main] DEBUG inventory.EMPluginInventoryManager getAllPluginsDeployed.990 - Obtained plugin for this oms: oracle.sysman.emfa:12.1.0.5.0
2014-01-28 17:07:37,413 [main] DEBUG inventory.EMPluginInventoryManager getAllPluginsDeployed.990 - Obtained plugin for this oms: oracle.sysman.empa:12.1.0.4.0
2014-01-28 17:07:37,413 [main] DEBUG inventory.EMPluginInventoryManager getAllPluginsDeployed.990 - Obtained plugin for this oms: oracle.em.smad:12.1.0.1.0
2014-01-28 17:07:37,413 [main] DEBUG inventory.EMPluginInventoryManager getAllPluginsDeployed.990 - Obtained plugin for this oms: oracle.em.smbs:12.1.0.1.0
2014-01-28 17:07:37,415 [main] DEBUG inventory.EMPluginInventoryManager getAllPluginsDeployed.990 - Obtained plugin for this oms: oracle.em.smis:12.1.0.2.0
2014-01-28 17:07:37,415 [main] DEBUG inventory.EMPluginInventoryManager getAllPluginsDeployed.990 - Obtained plugin for this oms: oracle.em.smss:12.1.0.3.0
2014-01-28 17:07:37,416 [main] DEBUG inventory.EMPluginInventoryManager getAllPluginsDeployed.990 - Obtained plugin for this oms: oracle.em.soav:12.1.0.4.0
2014-01-28 17:07:37,416 [main] DEBUG inventory.EMPluginInventoryManager getAllPluginsDeployed.990 - Obtained plugin for this oms: oracle.em.savf:12.1.0.1.0
2014-01-28 17:07:37,416 [main] DEBUG inventory.EMPluginInventoryManager getAllPluginsDeployed.990 - Obtained plugin for this oms: oracle.sysman.bda:12.1.0.3.0
2014-01-28 17:07:37,416 [main] DEBUG inventory.EMPluginInventoryManager getAllPluginsDeployed.990 - Obtained plugin for this oms: oracle.sysman.ssa:12.1.0.7.0
2014-01-28 17:07:37,416 [main] DEBUG inventory.EMPluginInventoryManager getAllPluginsDeployed.990 - Obtained plugin for this oms: oracle.em.ssad:12.1.0.2.0
2014-01-28 17:07:37,418 [main] DEBUG oms.ExportConfigOMSCmds logp.251 - Backup is being written to file: /u01/app/oracle/em/gc_inst/em/EMGC_OMS1/sysman/backup/export.properties
2014-01-28 17:07:37,421 [main] INFO oms.AdminCredsWalletUtil setInstanceHome.177 - Getting credentials from wallet
2014-01-28 17:07:37,443 [main] INFO oms.AdminCredsWalletUtil setInstanceHome.192 - Read the credentials from wallet
2014-01-28 17:07:37,444 [main] INFO util.EmctlUtil logp.251 - Connecting over t3s to: OracleServer.Compsci/7102 using id: weblogic
2014-01-28 17:07:37,476 [main] INFO mas.CredStoreUtil logp.251 - getCredential : Got creds for mapName -EM keyName - REPOS_DETAILS
2014-01-28 17:07:37,614 [main] INFO mas.CredStoreUtil logp.251 - getCredential : Got creds for mapName -EM keyName - ENCR_DETAILS
2014-01-28 17:07:37,972 [main] DEBUG oms.ExportConfigOMSCmds logp.251 - Retrieving java callbacks from em_gcha_callbacks table
2014-01-28 17:07:37,988 [main] INFO oms.HAUtil addJarsInClassLoader.464 - Added jar /u01/app/oracle/em/middleware/oms/sysman/jlib/emCORE.jar to classpath
2014-01-28 17:07:38,018 [main] DEBUG oms.ExportConfigOMSCmds logp.251 - executing java callback: oracle.sysman.core.ocm.gcha.OCMHACallbacks
2014-01-28 17:07:38,021 [main] INFO oms.ExportConfigOMSCmds logp.251 - Got export data from callback module ocm
2014-01-28 17:07:38,021 [main] DEBUG oms.ExportConfigOMSCmds logp.251 - preparing archive file
2014-01-28 17:07:38,022 [main] DEBUG oms.ExportConfigOMSCmds logp.251 - Adding: /u01/app/oracle/em/gc_inst/em/EMGC_OMS1/sysman/backup/GCDomain_backup.zip
2014-01-28 17:07:38,622 [main] DEBUG oms.ExportConfigOMSCmds logp.251 - Adding: /u01/app/oracle/em/gc_inst/em/EMGC_OMS1/sysman/backup/plugins.list
2014-01-28 17:07:38,623 [main] DEBUG oms.ExportConfigOMSCmds logp.251 - Adding: /u01/app/oracle/em/middleware/oms/sysman/prov/agentpush/agentpush.properties
2014-01-28 17:07:38,632 [main] DEBUG oms.ExportConfigOMSCmds logp.251 - Adding: /u01/app/oracle/em/gc_inst/em/EMGC_OMS1/sysman/backup/export.properties
2014-01-28 17:07:38,633 [main] DEBUG oms.ExportConfigOMSCmds logp.251 - Adding:
2014-01-28 17:07:38,633 [main] ERROR oms.ExportConfigOMSCmds logp.251 - Error reading file: . Skip file for archive.
2014-01-28 17:07:38,651 [main] INFO oms.AdminCredsWalletUtil setInstanceHome.177 - Getting credentials from wallet
2014-01-28 17:07:38,675 [main] INFO oms.AdminCredsWalletUtil setInstanceHome.192 - Read the credentials from wallet
2014-01-28 17:07:38,676 [main] INFO util.EmctlUtil logp.251 - Connecting over t3s to: OracleServer.Compsci/7102 using id: weblogic
2014-01-28 17:07:38,708 [main] INFO mas.CredStoreUtil logp.251 - getCredential : Got creds for mapName -EM keyName - REPOS_DETAILS
2014-01-28 17:07:38,772 [main] INFO mas.CredStoreUtil logp.251 - getCredential : Got creds for mapName -EM keyName - ENCR_DETAILS
2014-01-28 17:07:38,958 [main] DEBUG oms.ExportConfigOMSCmds logp.251 - ExportConfig succeeded!
console~OHS~1.log:
--------
14/01/28 17:05:18 Start process
--------
/u01/app/oracle/em/middleware/Oracle_WT/ohs/bin/apachectl startssl: execing httpd
[Tue Jan 28 17:05:18 2014] [warn] Errors will be logged into /u01/app/oracle/em/gc_inst/WebTierIH1/diagnostics/logs/OHS/ohs1/ohs1.log
[Tue Jan 28 17:05:19 2014] [warn] Errors will be logged into /u01/app/oracle/em/gc_inst/WebTierIH1/diagnostics/logs/OHS/ohs1/ohs1.log
Audit init
Unable to resolve address for localhost:6700
ONS runtime exiting
--------
14/01/28 17:07:18 Stop process
--------
/u01/app/oracle/em/middleware/Oracle_WT/ohs/bin/apachectl stop: httpd stopped
ohs1.log:
[2014-01-28T17:05:20.2995-05:00] [OHS] [NOTIFICATION:16] [OHS-9999] [mod_weblogic.c] [host_id: OracleServer.Compsci] [host_addr: 127.0.0.1] [pid: 5583] [tid: 139855446157120] [user: oracle] [VirtualHost: main] WebLogic Server Plugin version 1.1 <WLSPLUGINS_11.1.1.6.0_LINUX.X64_111122.1115.0001>
[2014-01-28T17:05:20.5147-05:00] [OHS] [NOTIFICATION:16] [OHS-9999] [core.c] [host_id: OracleServer.Compsci] [host_addr: 127.0.0.1] [pid: 5583] [tid: 139855446157120] [user: oracle] [VirtualHost: main] Oracle-Application-Server-11g/11.1.1.6.0 Oracle-HTTP-Server (Unix) mod_ssl/11.0.0.0.0 OtherSSL/0.0.0 mod_plsql/11.1.1.0.0 mod_onsint/2.0 configured -- resuming normal operations
[2014-01-28T17:07:19.3932-05:00] [OHS] [NOTIFICATION:16] [OHS-9999] [core.c] [host_id: OracleServer.Compsci] [host_addr: 127.0.0.1] [pid: 5583] [tid: 139855446157120] [user: oracle] [VirtualHost: main] caught SIGTERM, shutting down
my hosts file contains 3 entries:
127.0.0.1 OracleServer.Compsci OracleServer
172.16.5.40 OralceServer.Compsci OracleServer
::1 OracleServer.Compsci OracleServer
Make sure that you have altered your hosts file to look someting like this :
127.0.0.1 localhost.localdomain localhost
::1 localhost6.localdomain6 localhost6
11.111.1.111 srv01.com srv01
And you can ping the srv01 and that 11.111.1.111 will respond.
Make sure that the 6700 port is not in use by any process.