eclipse "Run As --> Groovy Script" gives me the DEBUG info - eclipse

I right click the groovy class and select Run As --> Groovy Script. I can't find my println output in the console, but I get all these DEBUG messages. How can I get rid of them?
10:57:10.687 [main] DEBUG org.apache.http.wire - >> "[\r][\n]"
10:57:10.687 [main] DEBUG org.apache.http.headers - >> GET /nexus/service/local/repositories/snapshots/content/devops/README.md/1.0.0-rc1/ HTTP/1.1
10:57:10.687 [main] DEBUG org.apache.http.headers - >> Accept: application/xml, text/xml, application/xhtml+xml, application/atom+xml
10:57:10.687 [main] DEBUG org.apache.http.headers - >> Host: localhost:8060

Related

Error: Class path contains multiple SLF4J bindings

While this does seem to be a common issue, I have looked and tried many fixes for sbt and this dependency issue without success.
Setup is a simple query to hive from scala using the run command within IntelliJ. The command is using JDBC to connect to hive.
val sql = s"select * from ${tableName} where user_id = '1'";
val res = stmt.executeQuery(sql);
Here are my Imports:
import java.sql.{SQLException, Connection, DriverManager, ResultSet, Statement}
import scala.collection.mutable.ArrayBuffer
//import scala.io.{BufferedSource, Source}
import scala.language.postfixOps
//import scala.util.matching.Regex
//import java.sql.ResultSetMetaData
The sbt file is as follows:
ThisBuild / version := "0.1.0-SNAPSHOT"
ThisBuild / scalaVersion := "2.13.8"
lazy val scriptClasspath = Seq("*")
lazy val root = (project in file("."))
.settings(
name := "RevProject_1",
libraryDependencies += "org.apache.hive" % "hive-jdbc" % "3.1.2",
)
Now for the errors as displayed in IntelliJ Terminal:
SLF4J: Class path contains multiple SLF4J bindings.
SLF4J: Found binding in [jar:file:/C:/Users/samps/AppData/Local/Coursier/Cache/v1/https/repo1.maven.org/maven2/ch/qos/logback/logback-classic/1.0.9/logback-classic-1.0.9.jar!/org/slf4j/impl/StaticLoggerBinder.class]
SLF4J: Found binding in [jar:file:/C:/Users/samps/AppData/Local/Coursier/Cache/v1/https/repo1.maven.org/maven2/org/apache/logging/log4j/log4j-slf4j-impl/2.10.0/log4j-slf4j-impl-2.10.0.jar!/org/slf4j/impl/StaticLoggerBinder.class]
SLF4J: Found binding in [jar:file:/C:/Users/samps/AppData/Local/Coursier/Cache/v1/https/repo1.maven.org/maven2/org/slf4j/slf4j-log4j12/1.7.25/slf4j-log4j12-1.7.25.jar!/org/slf4j/impl/StaticLoggerBinder.class]
SLF4J: See http://www.slf4j.org/codes.html#multiple_bindings for an explanation.
SLF4J: Actual binding is of type [ch.qos.logback.classic.util.ContextSelectorStaticBinder]
09:58:04.460 [main] DEBUG org.apache.hive.jdbc.Utils - Resolved authority: localhost:10000
09:58:04.553 [main] DEBUG o.a.thrift.transport.TSaslTransport - opening transport org.apache.thrift.transport.TSaslClientTransport#6279cee3
09:58:04.556 [main] DEBUG o.a.t.transport.TSaslClientTransport - Sending mechanism name PLAIN and initial response of length 10
09:58:04.559 [main] DEBUG o.a.thrift.transport.TSaslTransport - CLIENT: Writing message with status START and payload length 5
09:58:04.559 [main] DEBUG o.a.thrift.transport.TSaslTransport - CLIENT: Writing message with status COMPLETE and payload length 10
09:58:04.559 [main] DEBUG o.a.thrift.transport.TSaslTransport - CLIENT: Start message handled
09:58:04.559 [main] DEBUG o.a.thrift.transport.TSaslTransport - CLIENT: Main negotiation loop complete
09:58:04.559 [main] DEBUG o.a.thrift.transport.TSaslTransport - CLIENT: SASL Client receiving last message
09:58:04.673 [main] DEBUG o.a.thrift.transport.TSaslTransport - CLIENT: Received message with status COMPLETE and payload length 0
09:58:04.697 [main] DEBUG o.a.thrift.transport.TSaslTransport - writing data length: 147
09:58:04.831 [main] DEBUG o.a.thrift.transport.TSaslTransport - CLIENT: reading data length: 169
09:58:04.920 [main] DEBUG o.a.thrift.transport.TSaslTransport - writing data length: 161
09:58:05.466 [main] DEBUG o.a.thrift.transport.TSaslTransport - CLIENT: reading data length: 109
09:58:05.471 [main] DEBUG o.a.h.j.l.InPlaceUpdateStream$EventNotifier - progress bar is complete
09:58:05.474 [main] DEBUG o.a.thrift.transport.TSaslTransport - writing data length: 104
09:58:05.506 [main] DEBUG o.a.thrift.transport.TSaslTransport - CLIENT: reading data length: 144
09:58:05.515 [main] DEBUG o.a.h.j.l.InPlaceUpdateStream$EventNotifier - progress bar is complete
09:58:05.520 [main] DEBUG o.a.thrift.transport.TSaslTransport - writing data length: 102
09:58:05.522 [main] DEBUG o.a.thrift.transport.TSaslTransport - CLIENT: reading data length: 386
List(user_info.user_id, user_info.age, user_info.gender, user_info.occupation, user_info.zip_code)
________________________________
09:58:05.715 [main] DEBUG o.a.h.j.l.InPlaceUpdateStream$EventNotifier - progress bar is complete
09:58:05.715 [main] DEBUG o.a.h.j.l.InPlaceUpdateStream$EventNotifier - progress bar is complete
09:58:05.718 [main] DEBUG o.a.thrift.transport.TSaslTransport - writing data length: 112
09:58:05.747 [main] DEBUG o.a.thrift.transport.TSaslTransport - CLIENT: reading data length: 211
09:58:05.794 [main] DEBUG o.a.h.j.l.InPlaceUpdateStream$EventNotifier - progress bar is complete
09:58:05.794 [main] DEBUG o.a.h.j.l.InPlaceUpdateStream$EventNotifier - progress bar is complete
09:58:05.794 [main] DEBUG o.a.thrift.transport.TSaslTransport - writing data length: 112
09:58:05.796 [main] DEBUG o.a.thrift.transport.TSaslTransport - CLIENT: reading data length: 180
List(1, 24, M, technician, 85711)
09:58:05.800 [main] DEBUG o.a.thrift.transport.TSaslTransport - writing data length: 83
09:58:05.835 [main] DEBUG o.a.thrift.transport.TSaslTransport - CLIENT: reading data length: 40
And if done through CLI in Windows 10:
SLF4J: Class path contains multiple SLF4J bindings.
SLF4J: Found binding in [jar:file:/C:/Users/samps/IdeaProjects/RevProject_1/target/bg-jobs/sbt_c6e37a9e/target/0d623873/496b60b1/log4j-slf4j-impl-2.10.0.jar!/org/slf4j/impl/StaticLoggerBinder.class]
SLF4J: Found binding in [jar:file:/C:/Users/samps/IdeaProjects/RevProject_1/target/bg-jobs/sbt_c6e37a9e/target/ca4cb403/8c0ceb42/slf4j-log4j12-1.7.25.jar!/org/slf4j/impl/StaticLoggerBinder.class]
SLF4J: Found binding in [jar:file:/C:/Users/samps/IdeaProjects/RevProject_1/target/bg-jobs/sbt_c6e37a9e/target/a36b2584/d39b8363/logback-classic-1.0.9.jar!/org/slf4j/impl/StaticLoggerBinder.class]
SLF4J: See http://www.slf4j.org/codes.html#multiple_bindings for an explanation.
SLF4J: Actual binding is of type [org.apache.logging.slf4j.Log4jLoggerFactory]
ERROR StatusLogger No log4j2 configuration file found. Using default configuration: logging only errors to the console. Set system property 'log4j2.debug' to show Log4j2 internal initialization logging.
List(user_info.user_id, user_info.age, user_info.gender, user_info.occupation, user_info.zip_code)
________________________________
List(1, 24, M, technician, 85711)
I have tried the following:
Excluding the dependency in sbt using:
libraryDependencies += "group" % "artifactId/name" % "version" exclude("group", "artifactId/name")
libraryDependencies += "org.apache.logging.log4j" % "log4j-slf4j-impl" % "2.10.0" exclude("org.apache.logging.log4j", "log4j-slf4j-impl")
I am not sure if there are any errors in the previous code. If so let me know.
I have attempted to locate a POM.xml and an IVY file in my project. Unfortunately I have been unable to locate them. I have read through many of the answers for this issue within this site and run into the scenario where it is not applicable due to using Scala/sbt or lack of direction for someone of my skill level to learn how to properly implement the fix.
to further view the project files you can see them at:
https://github.com/sampss/RevProject_1
Any assistance with resolving this issue is greatly appreciated.

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.

Connection of Titan graph DB to Gephi through Gremlin console

I am trying to connect to gephi(0.9.1) through gremlin console. I have a graph in my titan database. I also have the streaming server enabled in my gephi. And through gremlin i executed the following commands:
:plugin use tinkerpop.gephi
g = TinkerFactory.createModern()
:remote connect tinkerpop.gephi
All these worked fine.But when i ran the last command:
:> g
I got the following error:
==>tinkergraph[vertices:6 edges:6]
16:07:16.783 [main] DEBUG groovyx.net.http.HTTPBuilder - POST http://localhost:8080/workspace0?format=JSON&operation=updateGraph
16:07:16.801 [main] DEBUG o.a.h.i.c.BasicClientConnectionManager - Get connection for route {}->http://localhost:8080
16:07:16.809 [main] DEBUG o.a.h.i.c.DefaultClientConnectionOperator - Connecting to localhost:8080
16:07:16.817 [main] DEBUG o.a.h.c.protocol.RequestAddCookies - CookieSpec selected: default
16:07:16.822 [main] DEBUG o.a.h.c.protocol.RequestAuthCache - Auth cache not set in the context
16:07:16.826 [main] DEBUG o.a.h.c.p.RequestTargetAuthentication - Target auth state: UNCHALLENGED
16:07:16.831 [main] DEBUG o.a.h.c.p.RequestProxyAuthentication - Proxy auth state: UNCHALLENGED
16:07:16.836 [main] DEBUG o.a.h.impl.client.DefaultHttpClient - Attempt 1 to execute request
16:07:16.840 [main] DEBUG o.a.h.i.conn.DefaultClientConnection - Sending request: POST /workspace0?format=JSON&operation=updateGraph HTTP/1.1
16:07:16.850 [main] DEBUG org.apache.http.wire - >> "POST /workspace0?format=JSON&operation=updateGraph HTTP/1.1[\r][\n ]"
16:07:16.862 [main] DEBUG org.apache.http.wire - >> "Accept: */*[\r][\n]"
16:07:16.868 [main] DEBUG org.apache.http.wire - >> "Content-Length: 23[\r][\n]"
16:07:16.873 [main] DEBUG org.apache.http.wire - >> "Content-Type: application/json[\r][\n]"
16:07:16.879 [main] DEBUG org.apache.http.wire - >> "Host: localhost:8080[\r][\n]"
16:07:16.885 [main] DEBUG org.apache.http.wire - >> "Connection: Keep-Alive[\r][\n]"
16:07:16.890 [main] DEBUG org.apache.http.wire - >> "[\r][\n]"
16:07:16.895 [main] DEBUG org.apache.http.headers - >> POST /workspace0?format=JSON&operation=updateGraph HTTP/1.1
16:07:16.900 [main] DEBUG org.apache.http.headers - >> Accept: */*
16:07:16.905 [main] DEBUG org.apache.http.headers - >> Content-Length: 23
16:07:16.910 [main] DEBUG org.apache.http.headers - >> Content-Type: application/json
16:07:16.915 [main] DEBUG org.apache.http.headers - >> Host: localhost:8080
16:07:16.920 [main] DEBUG org.apache.http.headers - >> Connection: Keep-Alive
16:07:16.925 [main] DEBUG org.apache.http.wire - >> "{"dn":{"filter":"ALL"}}"
16:07:16.935 [main] DEBUG org.apache.http.wire - << "HTTP/1.1 404 Not Found[\r][\n]"
16:07:16.940 [main] DEBUG org.apache.http.wire - << "Cache-Control: must-revalidate,no-cache,no-store[\r][\n]"
16:07:16.945 [main] DEBUG org.apache.http.wire - << "Content-Type: text/html;charset=ISO-8859-1[\r][\n]"
16:07:16.951 [main] DEBUG org.apache.http.wire - << "Content-Length: 1277[\r][\n]"
16:07:16.956 [main] DEBUG org.apache.http.wire - << "Server: Jetty(8.1.17.v20150415)[\r][\n]"
16:07:16.961 [main] DEBUG org.apache.http.wire - << "[\r][\n]"
16:07:16.966 [main] DEBUG o.a.h.i.conn.DefaultClientConnection - Receiving response: HTTP/1.1 404 Not Found
16:07:16.971 [main] DEBUG org.apache.http.headers - << HTTP/1.1 404 Not Found
16:07:16.978 [main] DEBUG org.apache.http.headers - << Cache-Control: must-revalidate,no-cache,no-store
16:07:16.984 [main] DEBUG org.apache.http.headers - << Content-Type: text/html;charset=ISO-8859-1
16:07:16.991 [main] DEBUG org.apache.http.headers - << Content-Length: 1277
16:07:16.996 [main] DEBUG org.apache.http.headers - << Server: Jetty(8.1.17.v20150415)
16:07:17.002 [main] DEBUG o.a.h.impl.client.DefaultHttpClient - Connection can be kept alive indefinitely
16:07:17.010 [main] DEBUG groovyx.net.http.HTTPBuilder - Response code: 404; found handler: org.codehaus.groovy.runtime. MethodClosure#2c768ada
16:07:17.020 [main] DEBUG org.apache.http.wire - << "<html>[\n]"
16:07:17.024 [main] DEBUG org.apache.http.wire - << "<head>[\n]"
16:07:17.029 [main] DEBUG org.apache.http.wire - << "<meta http-equiv="Content-Type" content="text/html;charset=ISO-8859-1"/>[\n]"
16:07:17.039 [main] DEBUG org.apache.http.wire - << "<title>Error 404 Not Found</title>[\n]"
16:07:17.043 [main] DEBUG org.apache.http.wire - << "</head>[\n]"
16:07:17.048 [main] DEBUG org.apache.http.wire - << "<body>[\n]"
16:07:17.052 [main] DEBUG org.apache.http.wire - << "<h2>HTTP ERROR: 404</h2>[\n]"
16:07:17.057 [main] DEBUG org.apache.http.wire - << "<p>Problem accessing /workspace0. Reason:[\n]"
16:07:17.062 [main] DEBUG org.apache.http.wire - << "<pre> Not Found</pre></p>[\n]"
16:07:17.068 [main] DEBUG org.apache.http.wire - << "<hr /><i><small>Powered by Jetty://</small></i>[\n]"
16:07:17.074 [main] DEBUG org.apache.http.wire - << " [\n]"
16:07:17.079 [main] DEBUG org.apache.http.wire - << " [\n]"
16:07:17.083 [main] DEBUG org.apache.http.wire - << " [\n]"
16:07:17.088 [main] DEBUG org.apache.http.wire - << " [\n]"
16:07:17.093 [main] DEBUG org.apache.http.wire - << " [\n]"
16:07:17.098 [main] DEBUG org.apache.http.wire - << " [\n]"
16:07:17.103 [main] DEBUG org.apache.http.wire - << " [\n]"
16:07:17.107 [main] DEBUG org.apache.http.wire - << " [\n]"
16:07:17.111 [main] DEBUG org.apache.http.wire - << " [\n]"
16:07:17.116 [main] DEBUG org.apache.http.wire - << " [\n]"
16:07:17.121 [main] DEBUG org.apache.http.wire - << " [\n]"
16:07:17.125 [main] DEBUG org.apache.http.wire - << " [\n]"
16:07:17.130 [main] DEBUG org.apache.http.wire - << " [\n]"
16:07:17.136 [main] DEBUG org.apache.http.wire - << " [\n]"
16:07:17.141 [main] DEBUG org.apache.http.wire - << " [\n]"
16:07:17.146 [main] DEBUG org.apache.http.wire - << " [\n]"
16:07:17.151 [main] DEBUG org.apache.http.wire - << " [\n]"
16:07:17.156 [main] DEBUG org.apache.http.wire - << " [\n]"
16:07:17.160 [main] DEBUG org.apache.http.wire - << " [\n]"
16:07:17.165 [main] DEBUG org.apache.http.wire - << " [\n]"
16:07:17.170 [main] DEBUG org.apache.http.wire - << "</body>[\n]"
16:07:17.174 [main] DEBUG org.apache.http.wire - << "</html>[\n]"
16:07:17.178 [main] DEBUG o.a.h.i.c.BasicClientConnectionManager - Releasing connection org.apache.http.impl.conn.ManagedClientConnectionImpl#c1fca2a
16:07:17.188 [main] DEBUG o.a.h.i.c.BasicClientConnectionManager - Connection can be kept alive indefinitely Not Found
Display stack trace? [yN]
And also often i get:
15:38:20.276 [Finalizer] DEBUG o.a.h.i.conn.DefaultClientConnection - Connection 0.0.0.0:60710<->127.0.0.1:8080 closed
I have checked for the opened ports, and i also found that 8080 port is opened.
Note that the Gephi Plugin was only recently made compliant with Gephi 0.9.x as of TinkerPop 3.2.1-SNAPSHOT a few days ago. As you are using Titan 1.0, I would guess that you have an older version. I would recommend going back to Gephi 0.8.x beta if you want everything to work seamlessly.
All that said, you might yet be able to get it to work. The default workspace that Gephi provides is no longer "workspace0" - it is now indexed starting at "1". You can change the workspace used by the Gremlin remote by doing:
:remote config workspace workspace1
That should allow the data to be sent to Gephi and it should show in the "laboratory" pane. You may yet have problems with the visualization. I found that while fixing this problem that not auto-setting the "size", "x" and "y" properties to "sensible" things seemed to prevent the visualization pane from displaying the vertices and edges. I think that you would need to add those properties to any graph you wanted to push across to Gephi. The patch I did set the size to "10" and the x/y were set to a random float - setting them all to to zero/zero (i.e. the same positions) did not work.
All of the above workaround instructions are mostly for informational purposes. That's probably a lot of extra work that you don't need to do when downloading Gephi 0.8.x is a pretty easy course of action.

Scala sbt console (launching ammonite shell): How to Disable debug logging

I am launching the Ammonite shell in sbt console and trying to run spark jobs, I see that logging level is Debug and it's printing out all debug level loggers which is generating huge amounts of logs and taking forever to complete the job.
14:36:14.331 [run-main-0] DEBUG org.apache.http.wire - >> "Content-Type: application/octet-stream[\r][\n]"
14:36:14.331 [run-main-0] DEBUG org.apache.http.wire - >> "Connection: Keep-Alive[\r][\n]"
14:36:14.331 [run-main-0] DEBUG org.apache.http.wire - >> "[\r][\n]"
14:36:14.331 [run-main-0] DEBUG org.apache.http.headers - >> GET /nlp/resources/DecisionSentence/parenUnigrams.txt HTTP/1.1
14:36:14.331 [run-main-0] DEBUG org.apache.http.headers - >> Host: ravellaw.s3-us-west-2.amazonaws.com
14:36:14.331 [run-main-0] DEBUG org.apache.http.headers - >> X-Amz-Date: 20160209T223614Z
Following are the settings I tried to disable Debug level logging but I still see debug level loggers
Added in build.sbt:
showSuccess := false
logLevel in console := Level.Warn
logLevel in run := Level.Warn
Tried to invoke sbt console using warn:
sbt --warn console
Tried setting following in sbt console:
System.setProperty("log4j.logger.org.apache.http.wire", "WARN")
System.setProperty("log4j.logger.org.apache.http.headers", "WARN")
System.setProperty("log4j.logger.org.apache.http.content", "WARN")
edited /spark/conf/log4j.properties and changed line form
log4j.rootCategory=INFO, console
to
log4j.rootCategory=WARN, console
Unfortunately after all these changes I still see debug level logging.
Solved my problem running these in repl
import ch.qos.logback.classic.Logger
import org.slf4j.LoggerFactory
import ch.qos.logback.classic.Level
val root = LoggerFactory.getLogger("org.apache.http.wire").asInstanceOf[Logger]
root.setLevel(Level.WARN)

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.