I’m trying to start by double clicking on cq-quickstart-5.4.0.jar. I’ve changed the name to cq-author-4502.jar. But after starting it, I’m getting below error in server.log –
I'm running on Windows 7 and java version is 1.6.0_15
06.08.2013 00:22:15 *MARK * server: Server start
06.08.2013 00:22:15 *MARK * servletengine: Servlet engine start
06.08.2013 00:22:15 *MARK * servletengine: Servlet container start
06.08.2013 00:22:15 *WARN * servletengine: Unable to determine hostname of 192.168.1.102.
06.08.2013 00:22:15 *MARK * webapp-Content Repository Extreme: Start web application
06.08.2013 00:22:15 *MARK * webapp-Content Repository Extreme: Start servlet 'Logging'
06.08.2013 00:22:15 *MARK * webapp-Content Repository Extreme: Start servlet 'Repository'
06.08.2013 00:22:15 *MARK * webapp-Content Repository Extreme: Start servlet 'JCRExplorer'
06.08.2013 00:22:15 ERROR webapp-Content Repository Extreme: Startup servlet unavailable: JCRExplorer
javax.servlet.ServletException: Unable to create servlet
at com.day.j2ee.servletengine.ServletRuntimeEnvironment.doStart(ServletRuntimeEnvironment.java:121)
at com.day.j2ee.servletengine.ServletRuntimeEnvironment.start(ServletRuntimeEnvironment.java:93)
at com.day.j2ee.servletengine.WebApplication.loadStartupServlets(WebApplication.java:702)
at com.day.j2ee.servletengine.WebApplication.start(WebApplication.java:631)
at com.day.j2ee.servletengine.ServletContainer.start(ServletContainer.java:318)
at com.day.j2ee.servletengine.ServletEngine.start(ServletEngine.java:285)
at com.day.j2ee.server.Server.start(Server.java:227)
at com.day.j2ee.server.Server.main(Server.java:607)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at com.day.launcher.Bootstrap.run(Bootstrap.java:118)
at com.day.crx.quickstart.Quickstart.run(Quickstart.java:680)
at com.day.crx.quickstart.Main.(Main.java:675)
at com.day.crx.quickstart.Main.main(Main.java:730)
06.08.2013 00:22:15 ERROR webapp-Content Repository Extreme: Root cause
java.lang.IllegalStateException: The repository is not available.
at com.day.crx.j2ee.JCRExplorerServlet.doGetRepository(JCRExplorerServlet.java:386)
at com.day.crx.j2ee.JCRExplorerServlet.getRepository(JCRExplorerServlet.java:333)
at com.day.crx.j2ee.JCRExplorerServlet.init(JCRExplorerServlet.java:320)
at javax.servlet.GenericServlet.init(GenericServlet.java:211)
at com.day.j2ee.servletengine.ServletRuntimeEnvironment.doStart(ServletRuntimeEnvironment.java:113)
at com.day.j2ee.servletengine.ServletRuntimeEnvironment.start(ServletRuntimeEnvironment.java:93)
at com.day.j2ee.servletengine.WebApplication.loadStartupServlets(WebApplication.java:702)
at com.day.j2ee.servletengine.WebApplication.start(WebApplication.java:631)
at com.day.j2ee.servletengine.ServletContainer.start(ServletContainer.java:318)
at com.day.j2ee.servletengine.ServletEngine.start(ServletEngine.java:285)
at com.day.j2ee.server.Server.start(Server.java:227)
at com.day.j2ee.server.Server.main(Server.java:607)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at com.day.launcher.Bootstrap.run(Bootstrap.java:118)
at com.day.crx.quickstart.Quickstart.run(Quickstart.java:680)
at com.day.crx.quickstart.Main.(Main.java:675)
at com.day.crx.quickstart.Main.main(Main.java:730)
06.08.2013 00:22:15 *MARK * webapp-Content Repository Extreme: Start servlet 'Webdav'
06.08.2013 00:22:15 *MARK * webapp-Content Repository Extreme: Start servlet 'JCRWebdavServer'
06.08.2013 00:22:15 *MARK * webapp-Content Repository Extreme: Start servlet 'CqResource'
06.08.2013 00:22:15 *MARK * webapp-Content Repository Extreme: Start servlet 'PackageShare'
06.08.2013 00:22:15 *MARK * webapp-Content Repository Extreme: Start servlet 'PackageManager'
06.08.2013 00:22:15 *MARK * webapp-CRX Launchpad Webapp: Start web application
06.08.2013 00:22:15 *MARK * webapp-CRX Launchpad Webapp: Start Filter 'CRXLaunchpadLicenseFilter'
06.08.2013 00:22:15 *MARK * webapp-CRX Launchpad Webapp: Start servlet 'sling'
06.08.2013 00:22:16 ERROR webapp-CRX Launchpad Webapp: sling: Failed to start Sling in crx-quickstart/launchpad
javax.servlet.ServletException: Uncaught Failure starting Apache Sling
at org.apache.sling.launchpad.base.webapp.SlingServletDelegate.init(SlingServletDelegate.java:241)
at javax.servlet.GenericServlet.init(GenericServlet.java:211)
at org.apache.sling.launchpad.webapp.SlingServlet.startSling(SlingServlet.java:358)
at org.apache.sling.launchpad.webapp.SlingServlet.startSling(SlingServlet.java:300)
at org.apache.sling.launchpad.webapp.SlingServlet.init(SlingServlet.java:111)
at javax.servlet.GenericServlet.init(GenericServlet.java:211)
at com.day.j2ee.servletengine.ServletRuntimeEnvironment.doStart(ServletRuntimeEnvironment.java:113)
at com.day.j2ee.servletengine.ServletRuntimeEnvironment.start(ServletRuntimeEnvironment.java:93)
at com.day.j2ee.servletengine.WebApplication.loadStartupServlets(WebApplication.java:702)
at com.day.j2ee.servletengine.WebApplication.start(WebApplication.java:631)
at com.day.j2ee.servletengine.ServletContainer.start(ServletContainer.java:318)
at com.day.j2ee.servletengine.ServletEngine.start(ServletEngine.java:285)
at com.day.j2ee.server.Server.start(Server.java:227)
at com.day.j2ee.server.Server.main(Server.java:607)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at com.day.launcher.Bootstrap.run(Bootstrap.java:118)
at com.day.crx.quickstart.Quickstart.run(Quickstart.java:680)
at com.day.crx.quickstart.Main.(Main.java:675)
at com.day.crx.quickstart.Main.main(Main.java:730)
06.08.2013 00:22:16 ERROR webapp-CRX Launchpad Webapp: Root cause
java.lang.NoClassDefFoundError: org/apache/sling/launchpad/api/StartupMode
at org.apache.sling.launchpad.base.impl.StartupManager.detectMode(StartupManager.java:138)
at org.apache.sling.launchpad.base.impl.StartupManager.(StartupManager.java:78)
at org.apache.sling.launchpad.base.impl.Sling.(Sling.java:225)
at org.apache.sling.launchpad.base.webapp.SlingBridge.(SlingBridge.java:41)
at org.apache.sling.launchpad.base.webapp.SlingServletDelegate.init(SlingServletDelegate.java:204)
at javax.servlet.GenericServlet.init(GenericServlet.java:211)
at org.apache.sling.launchpad.webapp.SlingServlet.startSling(SlingServlet.java:358)
at org.apache.sling.launchpad.webapp.SlingServlet.startSling(SlingServlet.java:300)
at org.apache.sling.launchpad.webapp.SlingServlet.init(SlingServlet.java:111)
at javax.servlet.GenericServlet.init(GenericServlet.java:211)
at com.day.j2ee.servletengine.ServletRuntimeEnvironment.doStart(ServletRuntimeEnvironment.java:113)
at com.day.j2ee.servletengine.ServletRuntimeEnvironment.start(ServletRuntimeEnvironment.java:93)
at com.day.j2ee.servletengine.WebApplication.loadStartupServlets(WebApplication.java:702)
at com.day.j2ee.servletengine.WebApplication.start(WebApplication.java:631)
at com.day.j2ee.servletengine.ServletContainer.start(ServletContainer.java:318)
at com.day.j2ee.servletengine.ServletEngine.start(ServletEngine.java:285)
at com.day.j2ee.server.Server.start(Server.java:227)
at com.day.j2ee.server.Server.main(Server.java:607)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at com.day.launcher.Bootstrap.run(Bootstrap.java:118)
at com.day.crx.quickstart.Quickstart.run(Quickstart.java:680)
at com.day.crx.quickstart.Main.(Main.java:675)
at com.day.crx.quickstart.Main.main(Main.java:730)
Caused by: java.lang.ClassNotFoundException: org.apache.sling.launchpad.api.StartupMode
at java.net.URLClassLoader$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at org.apache.sling.launchpad.base.shared.LauncherClassLoader.loadClass(LauncherClassLoader.java:133)
at java.lang.ClassLoader.loadClass(Unknown Source)
... 26 more
06.08.2013 00:22:16 *MARK * webapp-Admin application: Start web application
06.08.2013 00:22:16 *MARK * servletengine: http listener on address 0.0.0.0, port 4502 started
06.08.2013 00:22:16 *MARK * server: Server ready
06.08.2013 00:24:41 *MARK * servletengine: Servlet threw exception:
javax.naming.NameNotFoundException
at com.day.util.jndi.provider.MemoryContextFacade.getBoundObject(MemoryContextFacade.java:73)
at com.day.util.jndi.provider.MemoryContextFacade.lookup(MemoryContextFacade.java:240)
at com.day.util.jndi.provider.MemoryContextFacade.lookup(MemoryContextFacade.java:247)
at javax.naming.InitialContext.lookup(Unknown Source)
at com.day.crx.launchpad.filters.CRXLaunchpadLicenseFilter.checkLicense(CRXLaunchpadLicenseFilter.java:207)
at com.day.crx.launchpad.filters.CRXLaunchpadLicenseFilter.doFilter(CRXLaunchpadLicenseFilter.java:98)
at com.day.j2ee.servletengine.FilterChainImpl.doFilter(FilterChainImpl.java:72)
at com.day.j2ee.servletengine.RequestDispatcherImpl.service(RequestDispatcherImpl.java:334)
at com.day.j2ee.servletengine.RequestDispatcherImpl.service(RequestDispatcherImpl.java:378)
at com.day.j2ee.servletengine.ServletHandlerImpl.execute(ServletHandlerImpl.java:315)
at com.day.j2ee.servletengine.DefaultThreadPool$DequeueThread.run(DefaultThreadPool.java:134)
at java.lang.Thread.run(Unknown Source)
The key part of the error logging is
06.08.2013 00:22:15 *WARN * servletengine: Unable to determine hostname of 192.168.1.102.
Try adding a hostname for the local host in your C:\Windows\System32\drivers\etc\hosts file.
For example:
127.0.0.1 localhost
192.168.1.102 mybox
I am running cq 5.4 , 5.5 , and 5.6 fine within Windows 7. I don't believe your problem is OS related. If the jar unpacked the crx directory please navigate to crx-quickstart\server\server.bat and start the server that way. Does this work? If not please post the log.
Did you move the jar/extracted files from original location?
Related
I have an instance of Mirth that will not start every time I install a plugin. Once I install a plugin, the only way that I can get the Mirth Connect service to start again is to manually remove the plugin from the folder. There is nothing that is going into the logs, so I don't really have much to go on as to why this is happening. I have another instance of Mirth that is on identical hardware, version etc. and it takes plugins just fine. Any ideas of what I can try?
Edit Based on Comment Suggestions from Freiheit:
Mirth Connect version is 3.8.1
The plugin is the Cluster Administrator
I believe that Freiheit is correct that this is an issue with my licensing. When I enter my license key and click on the "save" button, I get the following error:
Method failed: HTTP/1.1 500 Internal Server Error
com.mirth.connect.client.core.ClientException: Method failed: HTTP/1.1
500 Internal Server Error at
com.mirth.connect.client.core.ServerConnection.handleResponse(ServerConnection.java:529)
at
com.mirth.connect.client.core.ServerConnection.executeSync(ServerConnection.java:256)
at
com.mirth.connect.client.core.ServerConnection.apply(ServerConnection.java:166)
at
org.glassfish.jersey.client.ClientRuntime.invoke(ClientRuntime.java:255)
at
org.glassfish.jersey.client.JerseyInvocation$3.call(JerseyInvocation.java:722)
at org.glassfish.jersey.internal.Errors.process(Errors.java:315) at
org.glassfish.jersey.internal.Errors.process(Errors.java:297) at
org.glassfish.jersey.internal.Errors.process(Errors.java:228) at
org.glassfish.jersey.process.internal.RequestScope.runInScope(RequestScope.java:444)
at
org.glassfish.jersey.client.JerseyInvocation.invoke(JerseyInvocation.java:718)
at
org.glassfish.jersey.client.JerseyInvocation$Builder.method(JerseyInvocation.java:459)
at
org.glassfish.jersey.client.proxy.WebResourceFactory.invoke(WebResourceFactory.java:379)
at com.sun.proxy.$Proxy63.updateLicenseType(Unknown Source) at
sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at
sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at
sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at
java.lang.reflect.Method.invoke(Unknown Source) at
com.mirth.connect.client.core.Client$2.invoke(Client.java:266) at
com.sun.proxy.$Proxy63.updateLicenseType(Unknown Source) at
com.mirth.connect.plugins.licensemanager.client.b.a(Unknown Source) at
com.mirth.connect.plugins.licensemanager.client.b.doInBackground(Unknown
Source) at javax.swing.SwingWorker$1.call(Unknown Source) at
java.util.concurrent.FutureTask.run(Unknown Source) at
javax.swing.SwingWorker.run(Unknown Source) at
java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) at
java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) at
java.lang.Thread.run(Unknown Source) Caused by:
java.io.FileNotFoundException: D:\Program Files\Mirth
Connect\conf\mirth.properties (Access is denied) at
java.io.FileOutputStream.open0(Native Method) at
java.io.FileOutputStream.open(Unknown Source) at
java.io.FileOutputStream.(Unknown Source) at
java.io.FileOutputStream.(Unknown Source) at
com.mirth.connect.plugins.licensemanager.server.LicenseManagerServlet.a(Unknown
Source) at
com.mirth.connect.plugins.licensemanager.server.LicenseManagerServlet.updateLicenseType(Unknown
Source) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at
sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at
java.lang.reflect.Method.invoke(Unknown Source) at
com.mirth.connect.server.api.providers.MirthResourceInvocationHandlerProvider$1.invoke(MirthResourceInvocationHandlerProvider.java:219)
at
org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher$1.run(AbstractJavaResourceMethodDispatcher.java:144)
at
org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.invoke(AbstractJavaResourceMethodDispatcher.java:161)
at
org.glassfish.jersey.server.model.internal.JavaResourceMethodDispatcherProvider$VoidOutInvoker.doDispatch(JavaResourceMethodDispatcherProvider.java:143)
at
org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.dispatch(AbstractJavaResourceMethodDispatcher.java:99)
at
org.glassfish.jersey.server.model.ResourceMethodInvoker.invoke(ResourceMethodInvoker.java:389)
at
org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:347)
at
org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:102)
at
org.glassfish.jersey.server.ServerRuntime$2.run(ServerRuntime.java:326)
at org.glassfish.jersey.internal.Errors$1.call(Errors.java:271) at
org.glassfish.jersey.internal.Errors$1.call(Errors.java:267) at
org.glassfish.jersey.internal.Errors.process(Errors.java:315) at
org.glassfish.jersey.internal.Errors.process(Errors.java:297) at
org.glassfish.jersey.internal.Errors.process(Errors.java:267) at
org.glassfish.jersey.process.internal.RequestScope.runInScope(RequestScope.java:317)
at
org.glassfish.jersey.server.ServerRuntime.process(ServerRuntime.java:305)
at
org.glassfish.jersey.server.ApplicationHandler.handle(ApplicationHandler.java:1154)
at
org.glassfish.jersey.servlet.WebComponent.serviceImpl(WebComponent.java:471)
at
org.glassfish.jersey.servlet.WebComponent.service(WebComponent.java:425)
at
org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:383)
at
org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:336)
at
org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:223)
at
org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:864)
at
org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1655)
at
com.mirth.connect.server.MethodFilter.doFilter(MethodFilter.java:37)
at
org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1642)
at
com.mirth.connect.server.api.providers.ClickjackingFilter.doFilter(ClickjackingFilter.java:44)
at
org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1642)
at
com.mirth.connect.server.api.providers.ApiOriginFilter.doFilter(ApiOriginFilter.java:71)
at
org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1642)
at
org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:533)
at
org.eclipse.jetty.server.handler.ScopedHandler.nextHandle(ScopedHandler.java:255)
at
org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:1595)
at
org.eclipse.jetty.server.handler.ScopedHandler.nextHandle(ScopedHandler.java:255)
at
org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1253)
at
org.eclipse.jetty.server.handler.ScopedHandler.nextScope(ScopedHandler.java:203)
at
org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:473)
at
org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:1564)
at
org.eclipse.jetty.server.handler.ScopedHandler.nextScope(ScopedHandler.java:201)
at
org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1155)
at
org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:144)
at
org.eclipse.jetty.server.handler.HandlerList.handle(HandlerList.java:61)
at
org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:132)
at org.eclipse.jetty.server.Server.handle(Server.java:531) at
org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:352) at
org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:260)
at
org.eclipse.jetty.io.AbstractConnection$ReadCallback.succeeded(AbstractConnection.java:281)
at org.eclipse.jetty.io.FillInterest.fillable(FillInterest.java:102)
at
org.eclipse.jetty.io.ssl.SslConnection.onFillable(SslConnection.java:291)
at
org.eclipse.jetty.io.ssl.SslConnection$3.succeeded(SslConnection.java:151)
at org.eclipse.jetty.io.FillInterest.fillable(FillInterest.java:102)
at
org.eclipse.jetty.io.ChannelEndPoint$2.run(ChannelEndPoint.java:118)
at
org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:754)
at
org.eclipse.jetty.util.thread.QueuedThreadPool$2.run(QueuedThreadPool.java:672)
at java.lang.Thread.run(Unknown Source)
So #Freiheit was correct in the comment that this had to do with the licensing mechanism. I was licensed to run on 4 machines, but I had attempted to license one of the machines several times "unsuccessfully".....however, on the nextgen side, the licensing had been successful.
What I ultimately ended up with was this:
License 1: Server A
License 2: Server B
License 3: Server B
License 4: Server B
So even though I had only activated 2 of my 4 licensed machines, I was showing as having used all 4 of my licenses up. Whats worse, is that having duplicate servers listed was the cause of the http 500 error. The fix ended up being that nextgen had to remove all of my licenses, and I had to go back and redo it one server at a time.
Does anybody have a fix or workaround for this problem? My Eclipse oxygen with JBoss tools takes too long to load/startup. I have tried upgrading JBoss tools and then increased -Xmx in eclipse.ini but it still is slow to load. Looking at /workspace/.metadata/.log I found this:
!ENTRY org.eclipse.epp.logging.aeri.ide 2 17 2019-07-24 12:20:57.786
!MESSAGE Server ‘org.jboss.tools’ failed with exception: redhat.ctrlflow.com. ; version: 2.0.7.v20170906-1327
!STACK 0
java.net.UnknownHostException: redhat.ctrlflow.com
at java.net.Inet6AddressImpl.lookupAllHostAddr(Native Method)
at java.net.InetAddress$2.lookupAllHostAddr(Unknown Source)
at java.net.InetAddress.getAddressesFromNameService(Unknown Source)
at java.net.InetAddress.getAllByName0(Unknown Source)
at java.net.InetAddress.getAllByName(Unknown Source)
at java.net.InetAddress.getAllByName(Unknown Source)
at org.apache.http.impl.conn.SystemDefaultDnsResolver.resolve(SystemDefaultDnsResolver.java:45)
at org.apache.http.impl.conn.DefaultHttpClientConnectionOperator.connect(DefaultHttpClientConnectionOperator.java:111)
at org.apache.http.impl.conn.PoolingHttpClientConnectionManager.connect(PoolingHttpClientConnectionManager.java:353)
at org.apache.http.impl.execchain.MainClientExec.establishRoute(MainClientExec.java:380)
at org.apache.http.impl.execchain.MainClientExec.execute(MainClientExec.java:236)
at org.apache.http.impl.execchain.ProtocolExec.execute(ProtocolExec.java:184)
at org.apache.http.impl.execchain.RetryExec.execute(RetryExec.java:88)
at org.apache.http.impl.execchain.RedirectExec.execute(RedirectExec.java:110)
at org.apache.http.impl.client.InternalHttpClient.doExecute(InternalHttpClient.java:184)
at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:82)
at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:55)
at org.apache.http.client.fluent.Request.internalExecute(Request.java:173)
at org.apache.http.client.fluent.Executor.execute(Executor.java:262)
at org.eclipse.epp.internal.logging.aeri.ide.server.mars.IO.request(IO.java:170)
at org.eclipse.epp.internal.logging.aeri.ide.server.mars.IO.refreshConfiguration(IO.java:64)
at org.eclipse.epp.internal.logging.aeri.ide.server.mars.ServerConnection.startUp(ServerConnection.java:124)
at com.google.common.util.concurrent.AbstractIdleService$DelegateService$1.run(AbstractIdleService.java:62)
at com.google.common.util.concurrent.Callables$4.run(Callables.java:122)
at java.lang.Thread.run(Unknown Source)
!ENTRY org.eclipse.epp.logging.aeri.ide 2 17 2019-07-24 12:21:07.587
!MESSAGE Server ‘org.eclipse.epp.logging.aeri.ide.server’ failed with exception: Read timed out. ; version: 2.0.7.v20170906-1327
!STACK 0
java.net.SocketTimeoutException: Read timed out
at java.net.SocketInputStream.socketRead0(Native Method)
at java.net.SocketInputStream.socketRead(Unknown Source)
at java.net.SocketInputStream.read(Unknown Source)
at java.net.SocketInputStream.read(Unknown Source)
at sun.security.ssl.InputRecord.readFully(Unknown Source)
at sun.security.ssl.InputRecord.read(Unknown Source)
at sun.security.ssl.SSLSocketImpl.readRecord(Unknown Source)
at sun.security.ssl.SSLSocketImpl.readDataRecord(Unknown Source)
at sun.security.ssl.AppInputStream.read(Unknown Source)
at org.apache.http.impl.io.SessionInputBufferImpl.streamRead(SessionInputBufferImpl.java:137)
at org.apache.http.impl.io.SessionInputBufferImpl.fillBuffer(SessionInputBufferImpl.java:153)
at org.apache.http.impl.io.SessionInputBufferImpl.readLine(SessionInputBufferImpl.java:282)
at org.apache.http.impl.conn.DefaultHttpResponseParser.parseHead(DefaultHttpResponseParser.java:140)
at org.apache.http.impl.conn.DefaultHttpResponseParser.parseHead(DefaultHttpResponseParser.java:57)
at org.apache.http.impl.io.AbstractMessageParser.parse(AbstractMessageParser.java:259)
at org.apache.http.impl.DefaultBHttpClientConnection.receiveResponseHeader(DefaultBHttpClientConnection.java:163)
at org.apache.http.impl.conn.CPoolProxy.receiveResponseHeader(CPoolProxy.java:167)
at org.apache.http.protocol.HttpRequestExecutor.doReceiveResponse(HttpRequestExecutor.java:273)
at org.apache.http.protocol.HttpRequestExecutor.execute(HttpRequestExecutor.java:125)
at org.apache.http.impl.execchain.MainClientExec.execute(MainClientExec.java:271)
at org.apache.http.impl.execchain.ProtocolExec.execute(ProtocolExec.java:184)
at org.apache.http.impl.execchain.RetryExec.execute(RetryExec.java:88)
at org.apache.http.impl.execchain.RedirectExec.execute(RedirectExec.java:110)
at org.apache.http.impl.client.InternalHttpClient.doExecute(InternalHttpClient.java:184)
at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:82)
at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:55)
at org.apache.http.client.fluent.Request.internalExecute(Request.java:173)
at org.apache.http.client.fluent.Executor.execute(Executor.java:262)
at org.eclipse.epp.internal.logging.aeri.ide.server.mars.IO.request(IO.java:170)
at org.eclipse.epp.internal.logging.aeri.ide.server.mars.IO.refreshConfiguration(IO.java:64)
at org.eclipse.epp.internal.logging.aeri.ide.server.mars.ServerConnection.startUp(ServerConnection.java:124)
at com.google.common.util.concurrent.AbstractIdleService$DelegateService$1.run(AbstractIdleService.java:62)
at com.google.common.util.concurrent.Callables$4.run(Callables.java:122)
at java.lang.Thread.run(Unknown Source)
It's trying to connect to redhat.ctrlflow.com. I tried browsing to this URL but it is unreachable. Removing JBoss tools is not an option. Hoping someone can shed some light on this matter. Thank you in advance.
AERI service has been shutdown so you may disable the error reporting but I'm not sure this is the source of slow startup
To fix, go to Windows > Preferences > General > Startup and Shutdown. Uncheck Eclipse Automated Error Reporting and any plugin that starts with JBoss Tools. Apply and Close. Restart and then the MESSAGE Server ‘org.jboss.tools’ failed with exception... and MESSAGE Server ‘org.eclipse.epp.logging.aeri.ide.server’ failed with exception... will no longer appear in /workspace/.metadata/.log.
I am getting below mentioned error while accessing the box api using box java sdk in java application.Please suggest the cause for this problem.
Exception in thread "main" com.box.sdk.BoxAPIException: Couldn't connect to the Box API due to a network error.
at com.box.sdk.BoxAPIRequest.trySend(BoxAPIRequest.java:386)
at com.box.sdk.BoxAPIRequest.send(BoxAPIRequest.java:200)
at com.box.sdk.BoxAPIRequest.send(BoxAPIRequest.java:175)
at com.box.sdk.BoxUser.getCurrentUser(BoxUser.java:112)
at com.box.cdm.demo.Main.main(Main.java:24)
Caused by: java.net.ConnectException: Connection refused: connect
at java.net.DualStackPlainSocketImpl.connect0(Native Method)
at java.net.DualStackPlainSocketImpl.socketConnect(Unknown Source)
at java.net.AbstractPlainSocketImpl.doConnect(Unknown Source)
at java.net.AbstractPlainSocketImpl.connectToAddress(Unknown Source)
at java.net.AbstractPlainSocketImpl.connect(Unknown Source)
at java.net.PlainSocketImpl.connect(Unknown Source)
at java.net.SocksSocketImpl.connect(Unknown Source)
at java.net.Socket.connect(Unknown Source)
at sun.security.ssl.SSLSocketImpl.connect(Unknown Source)
at sun.net.NetworkClient.doConnect(Unknown Source)
at sun.net.www.http.HttpClient.openServer(Unknown Source)
at sun.net.www.http.HttpClient.openServer(Unknown Source)
at sun.net.www.protocol.https.HttpsClient.<init>(Unknown Source)
at sun.net.www.protocol.https.HttpsClient.New(Unknown Source)
at sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.getNewHttpClient(Unknown Source)
at sun.net.www.protocol.http.HttpURLConnection.plainConnect(Unknown Source)
at sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.connect(Unknown Source)
at sun.net.www.protocol.https.HttpsURLConnectionImpl.connect(Unknown Source)
at com.box.sdk.BoxAPIRequest.trySend(BoxAPIRequest.java:384)
... 4 more
The main causes of this exception - and the things you need to check - are:-
There is no network between your application (the client) and the server (the Box API). Where is the Box instance running, on same machine as your application (locally)?
What port is Box listening on? You need to show your connection code code (endpoint / port etc).
If client and server on different hardware, and you know you have a network connection between them then is Box behind firewall?
I get the below error while trying to shutdown my jboss server
Exception in thread "main" javax.naming.CommunicationException
[Root exception is java.rmi.ConnectIOException: Exception creating connection to: 10.10.100.49;
nested exception is:
java.net.NoRouteToHostException: No route to host]
at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:649)
at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:509)
at javax.naming.InitialContext.lookup(Unknown Source)
at org.jboss.Shutdown.main(Shutdown.java:188)
Caused by: java.rmi.ConnectIOException: Exception creating connection to: 10.10.100.49; nested exception is:
java.net.NoRouteToHostException: No route to host
at sun.rmi.transport.tcp.TCPEndpoint.newSocket(Unknown Source)
at sun.rmi.transport.tcp.TCPChannel.createConnection(Unknown Source)
at sun.rmi.transport.tcp.TCPChannel.newConnection(Unknown Source)
at sun.rmi.server.UnicastRef.invoke(Unknown Source)
at org.jnp.server.NamingServer_Stub.lookup(Unknown Source)
at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:530)
... 3 more
Caused by: java.net.NoRouteToHostException: No route to host
at java.net.PlainSocketImpl.socketConnect(Native Method)
at java.net.PlainSocketImpl.doConnect(Unknown Source)
at java.net.PlainSocketImpl.connectToAddress(Unknown Source)
at java.net.PlainSocketImpl.connect(Unknown Source)
at java.net.SocksSocketImpl.connect(Unknown Source)
at java.net.Socket.connect(Unknown Source)
at java.net.Socket.connect(Unknown Source)
at java.net.Socket.<init>(Unknown Source)
at java.net.Socket.<init>(Unknown Source)
at sun.rmi.transport.proxy.RMIDirectSocketFactory.createSocket(Unknown Source)
at sun.rmi.transport.proxy.RMIMasterSocketFactory.createSocket(Unknown Source)
... 9 more
The virtual machine on which the JBoss server is installed was recently copied to a new virtual machine with a different IP address. Not sure where the old IP is still referenced.
Do a search for 10.10.100.49 in your JBoss root folder.
If you're on Unix-like OS, try:
find /path/to/jboss/home -type f -exec grep -l '10.10.100.49' {} \;
Hi
I am creating a web service and web service client in Eclipse IDE.
From the client I am able to access the methods of the web service, but when I write some code related to database( in the method of web service), I get Error that It is unable to locate the driver, But I have set the related jar file in the class path of the web service project.
After the above error I get the following Error:
[INFO] Unable to sendViaPost to url[http://localhost:5050/NewOracleMod1/services/Account.AccountHttpSoap11Endpoint/]
java.net.ConnectException: Connection refused: connect
at java.net.PlainSocketImpl.socketConnect(Native Method)
at java.net.PlainSocketImpl.doConnect(Unknown Source)
at java.net.PlainSocketImpl.connectToAddress(Unknown Source)
at java.net.PlainSocketImpl.connect(Unknown Source)
at java.net.SocksSocketImpl.connect(Unknown Source)
at java.net.Socket.connect(Unknown Source)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.apache.commons.httpclient.protocol.ReflectionSocketFactory.createSocket(ReflectionSocketFactory.java:140)
at org.apache.commons.httpclient.protocol.DefaultProtocolSocketFactory.createSocket(DefaultProtocolSocketFactory.java:125)
at org.apache.commons.httpclient.HttpConnection.open(HttpConnection.java:707)
at org.apache.commons.httpclient.MultiThreadedHttpConnectionManager$HttpConnectionAdapter.open(MultiThreadedHttpConnectionManager.java:1361)
at org.apache.commons.httpclient.HttpMethodDirector.executeWithRetry(HttpMethodDirector.java:387)
at org.apache.commons.httpclient.HttpMethodDirector.executeMethod(HttpMethodDirector.java:171)
at org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:397)
at org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:346)
at org.apache.axis2.transport.http.AbstractHTTPSender.executeMethod(AbstractHTTPSender.java:557)
at org.apache.axis2.transport.http.HTTPSender.sendViaPost(HTTPSender.java:199)
at org.apache.axis2.transport.http.HTTPSender.send(HTTPSender.java:76)
at org.apache.axis2.transport.http.CommonsHTTPTransportSender.writeMessageWithCommons(CommonsHTTPTransportSender.java:400)
at org.apache.axis2.transport.http.CommonsHTTPTransportSender.invoke(CommonsHTTPTransportSender.java:225)
at org.apache.axis2.engine.AxisEngine.send(AxisEngine.java:438)
at org.apache.axis2.description.OutInAxisOperationClient.send(OutInAxisOperation.java:402)
at org.apache.axis2.description.OutInAxisOperationClient.executeImpl(OutInAxisOperation.java:229)
at org.apache.axis2.client.OperationClient.execute(OperationClient.java:165)
at package1.AccountStub.updateAccount(AccountStub.java:202)
at package1.TestClient11.main(TestClient11.java:14)
org.apache.axis2.AxisFault: Connection refused: connect
I am new to Web services as well as to Eclipse IDE.
Please help me to come out of this problem.
Thanks
I need to put the jars in the lib of the project too. and the problem is solved