I am using the wrapper for my service and having this error when i run it on Linux. It works fine on windows without any issue. here is the error that is throwing
INFO | jvm 1 | 2017/09/08 01:27:57 | Control event monitor thread started. INFO | jvm 1 | 2017/09/08 01:27:57 | Startup runner thread started. INFO | jvm 1 | 2017/09/08 01:27:57 | Communications runner thread started. INFO | jvm 1 | 2017/09/08 01:27:57 | Open socket to wrapper...Wrapper-Connection INFO | jvm 1 | 2017/09/08 01:27:57 | Opened Socket from 31000 to 32000 INFO | jvm 1 | 2017/09/08 01:27:57 | Send a packet KEY : sbTAzUhAbwvTJyLj INFO | jvm 1 | 2017/09/08 01:27:57 | handleSocket(Socket[addr=/127.0.0.1,port=32000,localport=31000]) DEBUG | wrapperp | 2017/09/08 01:27:57 | accepted a socket from 127.0.0.1 on port 31000 DEBUG | wrapperp | 2017/09/08 01:27:57 | read a packet KEY : sbTAzUhAbwvTJyLj DEBUG | wrapper | 2017/09/08 01:27:57 | Got key from JVM: sbTAzUhAbwvTJyLj DEBUG | wrapperp | 2017/09/08 01:27:57 | send a packet LOW_LOG_LEVEL : 1 DEBUG | wrapperp | 2017/09/08 01:27:57 | send a packet PING_TIMEOUT : 30 DEBUG | wrapperp | 2017/09/08 01:27:57 | send a packet PROPERTIES : (Property Values) DEBUG | wrapper | 2017/09/08 01:27:57 | Start Application. DEBUG | wrapperp | 2017/09/08 01:27:57 | send a packet START : start INFO | jvm 1 | 2017/09/08 01:27:57 | Received a packet LOW_LOG_LEVEL : 1 INFO | jvm 1 | 2017/09/08 01:27:57 | Wrapper Manager: LowLogLevel from Wrapper is 1 INFO | jvm 1 | 2017/09/08 01:27:57 | Received a packet PING_TIMEOUT : 30 INFO | jvm 1 | 2017/09/08 01:27:57 | PingTimeout from Wrapper is 30000 INFO | jvm 1 | 2017/09/08 01:27:57 | Received a packet PROPERTIES : (Property Values) INFO | jvm 1 | 2017/09/08 01:27:57 | Received a packet START : start INFO | jvm 1 | 2017/09/08 01:27:57 | calling WrapperListener.start() INFO | jvm 1 | 2017/09/08 01:27:57 | Waiting for WrapperListener.start runner thread to complete. INFO | jvm 1 | 2017/09/08 01:27:57 | WrapperListener.start runner thread started. INFO | jvm 1 | 2017/09/08 01:27:57 | WrapperListener.start runner thread stopped. INFO | jvm 1 | 2017/09/08 01:27:57 | returned from WrapperListener.start() INFO | jvm 1 | 2017/09/08 01:27:57 | Send a packet STARTED : INFO | jvm 1 | 2017/09/08 01:27:57 | Startup runner thread stopped. DEBUG | wrapperp | 2017/09/08 01:27:57 | read a packet STARTED : DEBUG | wrapper | 2017/09/08 01:27:57 | JVM signalled that it was started. INFO | jvm 1 | 2017/09/08 01:28:00 | Exception in thread "pool-1-thread-1" java.lang.RuntimeException: java.net.UnknownHostException: home INFO | jvm 1 | 2017/09/08 01:28:00 | at org.nhs.uk.ohis.send.jsw.SendRunnable.run(SendRunnable.java:41) INFO | jvm 1 | 2017/09/08 01:28:00 | at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) INFO | jvm 1 | 2017/09/08 01:28:00 | at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) INFO | jvm 1 | 2017/09/08 01:28:00 | at java.lang.Thread.run(Thread.java:748) INFO | jvm 1 | 2017/09/08 01:28:00 | Caused by: java.net.UnknownHostException: home INFO | jvm 1 | 2017/09/08 01:28:00 | at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:184) INFO | jvm 1 | 2017/09/08 01:28:00 | at java.net.Socket.connect(Socket.java:589) INFO | jvm 1 | 2017/09/08 01:28:00 | at java.net.Socket.connect(Socket.java:538) INFO | jvm 1 | 2017/09/08 01:28:00 | at sun.net.ftp.impl.FtpClient.doConnect(FtpClient.java:964) INFO | jvm 1 | 2017/09/08 01:28:00 | at sun.net.ftp.impl.FtpClient.tryConnect(FtpClient.java:924) INFO | jvm 1 | 2017/09/08 01:28:00 | at sun.net.ftp.impl.FtpClient.connect(FtpClient.java:1019) INFO | jvm 1 | 2017/09/08 01:28:00 | at sun.net.ftp.impl.FtpClient.connect(FtpClient.java:1005) INFO | jvm 1 | 2017/09/08 01:28:00 | at sun.net.www.protocol.ftp.FtpURLConnection.connect(FtpURLConnection.java:294) INFO | jvm 1 | 2017/09/08 01:28:00 | at sun.net.www.protocol.ftp.FtpURLConnection.getInputStream(FtpURLConnection.java:400) INFO | jvm 1 | 2017/09/08 01:28:00 | at org.springframework.core.io.UrlResource.getInputStream(UrlResource.java:167) INFO | jvm 1 | 2017/09/08 01:28:00 | at org.springframework.core.io.support.EncodedResource.getInputStream(EncodedResource.java:143) INFO | jvm 1 | 2017/09/08 01:28:00 | at org.springframework.core.io.support.PropertiesLoaderUtils.fillProperties(PropertiesLoaderUtils.java:98) INFO | jvm 1 | 2017/09/08 01:28:00 | at org.springframework.core.io.support.PropertiesLoaderSupport.loadProperties(PropertiesLoaderSupport.java:175) INFO | jvm 1 | 2017/09/08 01:28:00 | at org.springframework.core.io.support.PropertiesLoaderSupport.mergeProperties(PropertiesLoaderSupport.java:156) INFO | jvm 1 | 2017/09/08 01:28:00 | at org.springframework.beans.factory.config.PropertyResourceConfigurer.postProcessBeanFactory(PropertyResourceConfigurer.java:78) INFO | jvm 1 | 2017/09/08 01:28:00 | at org.springframework.context.support.AbstractApplicationContext.invokeBeanFactoryPostProcessors(AbstractApplicationContext.java:694) INFO | jvm 1 | 2017/09/08 01:28:00 | at org.springframework.context.support.AbstractApplicationContext.invokeBeanFactoryPostProcessors(AbstractApplicationContext.java:669) INFO | jvm 1 | 2017/09/08 01:28:00 | at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:461) INFO | jvm 1 | 2017/09/08 01:28:00 | at org.springframework.context.support.ClassPathXmlApplicationContext.<init>(ClassPathXmlApplicationContext.java:139) INFO | jvm 1 | 2017/09/08 01:28:00 | at org.springframework.context.support.ClassPathXmlApplicationContext.<init>(ClassPathXmlApplicationContext.java:93) INFO | jvm 1 | 2017/09/08 01:28:00 | at org.apache.camel.spring.Main.createDefaultApplicationContext(Main.java:217) INFO | jvm 1 | 2017/09/08 01:28:00 | at org.apache.camel.spring.Main.doStart(Main.java:157) INFO | jvm 1 | 2017/09/08 01:28:00 | at org.apache.camel.support.ServiceSupport.start(ServiceSupport.java:61) INFO | jvm 1 | 2017/09/08 01:28:00 | at org.nhs.uk.ohis.send.jsw.SendRunnable.run(SendRunnable.java:31) INFO | jvm 1 | 2017/09/08 01:28:00 | ... 3 more INFO | jvm 1 | 2017/09/08 01:28:00 | Wrapper Manager: ShutdownHook started INFO | jvm 1 | 2017/09/08 01:28:00 | WrapperManager.stop(0) called by thread: Wrapper-Shutdown-Hook INFO | jvm 1 | 2017/09/08 01:28:00 | Send a packet STOP : 0 DEBUG | wrapperp | 2017/09/08 01:28:00 | read a packet STOP : 0 DEBUG | wrapper | 2017/09/08 01:28:00 | JVM requested a shutdown. (0) DEBUG | wrapper | 2017/09/08 01:28:00 | wrapperStopProcess(0) called. DEBUG | wrapper | 2017/09/08 01:28:00 | Sending stop signal to JVM DEBUG | wrapperp | 2017/09/08 01:28:00 | send a packet STOP : NULL INFO | jvm 1 | 2017/09/08 01:28:00 | Received a packet STOP : INFO | jvm 1 | 2017/09/08 01:28:01 | Thread, Wrapper-Shutdown-Hook, handling the shutdown process. INFO | jvm 1 | 2017/09/08 01:28:01 | calling listener.stop() INFO | jvm 1 | 2017/09/08 01:28:01 | returned from listener.stop() -> 0 INFO | jvm 1 | 2017/09/08 01:28:01 | shutdownJVM(0) Thread:Wrapper-Shutdown-Hook INFO | jvm 1 | 2017/09/08 01:28:01 | Send a packet STOPPED : 0 DEBUG | wrapperp | 2017/09/08 01:28:01 | read a packet STOPPED : 0 DEBUG | wrapper | 2017/09/08 01:28:01 | JVM signalled that it was stopped. INFO | jvm 1 | 2017/09/08 01:28:01 | Closing socket. DEBUG | wrapperp | 2017/09/08 01:28:01 | socket read no code (closed?). DEBUG | wrapperp | 2017/09/08 01:28:01 | server listening on port 32001. INFO | jvm 1 | 2017/09/08 01:28:01 | Wrapper Manager: ShutdownHook complete INFO | jvm 1 | 2017/09/08 01:28:01 | Server daemon shut down DEBUG | wrapper | 2017/09/08 01:28:02 | JVM exited normally. DEBUG | wrapper | 2017/09/08 01:28:02 | Signal trapped. Details: DEBUG | wrapper | 2017/09/08 01:28:02 | signal number=17 (SIGCHLD), source="unknown" DEBUG | wrapper | 2017/09/08 01:28:02 | Received SIGCHLD, checking JVM process status. DEBUG | wrapper | 2017/09/08 01:28:02 | JVM process exited with a code of 0, leaving the wrapper exit code set to 0. STATUS | wrapper | 2017/09/08 01:28:02 | <-- Wrapper Stopped
Any help will be appreciated
Hello
This error tells you that the host name "home" is unknown. Did you set it
somewhere in the configuration of your application or in the Wrapper
configuration file?
Best Regards,
Maxime
On Fri, Sep 8, 2017 at 10:39 AM, adekunle adeyemi skynkunle@users.sf.net
wrote:
Related
Support Requests: #306