[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
Re: [jetty-users] Issues in running jetty with intellij
|
Finally found the issue. Issue was in my /etc/hosts
the localhost
was mapped to some other ip then 127.0.0.1
. Because of this maven was also not working. Still I didn’t get why jmx was not working because of it. Any idea on that.
Hi again,
I got stuck in something else.
Today morning, I tried deploying without Intellij and it worked.
java -classpath /Library/Java/JavaVirtualMachines/jdk1.8.0_45.jdk/Contents/Home/lib/tools.jar:/Users/aapa/Applications/jetty-distribution-9.3.0.v20150612/start.jar org.eclipse.jetty.start.Main ../jetty-contexts.xml &
[1] 46206
aapas-MacBook-Pro:base aapa$ 2015-07-30 11:33:40.630:INFO::main: Logging initialized @381ms
2015-07-30 11:33:40.710:INFO::main: Redirecting stderr/stdout to /Users/aapa/Applications/base/logs/2015_07_30.stderrout.log
aapas-MacBook-Pro:base aapa$
aapas-MacBook-Pro:base aapa$ cat /Users/aapa/Applications/base/logs/2015_07_30.stderrout.log
2015-07-30 11:33:40.883:INFO:oejs.Server:main: jetty-9.3.0.v20150612
2015-07-30 11:33:40.901:INFO:oejdp.ScanningAppProvider:main: Deployment monitor [file:///Users/aapa/Applications/base/webapps/] at interval 1
2015-07-30 11:33:40.903:INFO:oejdp.ScanningAppProvider:main: Deployment monitor [file:///Users/aapa/Applications/contextdeploy/] at interval 1
2015-07-30 11:33:44.659:INFO:/:main: org.tuckey.web.filters.urlrewrite.UrlRewriteFilter INFO: loaded (conf ok)
Jul 30, 2015 11:33:44 AM org.glassfish.jersey.server.ApplicationHandler initialize
INFO: Initiating Jersey application, version Jersey: 2.2 2013-08-14 08:51:58...
Jul 30, 2015 11:33:45 AM org.glassfish.jersey.internal.Errors logErrors
WARNING: The following warnings have been detected: WARNING: The (sub)resource method getTask in com.stxt.supercenter.rest.api.TaskRestAPI contains empty path annotation.
WARNING: The (sub)resource method save in com.stxt.supercenter.rest.api.CustomerRestAPI contains empty path annotation.
WARNING: The (sub)resource method get in com.stxt.supercenter.rest.api.CustomerRestAPI contains empty path annotation.
WARNING: The (sub)resource method save in com.stxt.supercenter.rest.api.AgentRestAPI contains empty path annotation.
WARNING: The (sub)resource method get in com.stxt.supercenter.rest.api.AgentRestAPI contains empty path annotation.
WARNING: The (sub)resource method getBootstrap in com.stxt.supercenter.rest.api.BootstrapRestAPI contains empty path annotation.
2015-07-30 11:33:45.516:INFO:oejsh.ContextHandler:main: Started o.e.j.w.WebAppContext@617c74e5{/,file:///private/var/folders/6w/h_pc_jvx0hl5f84nkyxt_c7m0000gn/T/jetty-0.0.0.0-8080-supertext_war.war-_-any-7216132833960536624.dir/webapp/,AVAILABLE}{/Users/aapa/Downloads/supertext_war.war}
2015-07-30 11:33:45.535:INFO:oejs.ServerConnector:main: Started ServerConnector@2e208af6{HTTP/1.1,[http/1.1]}{0.0.0.0:8080}
2015-07-30 11:33:45.536:INFO:oejs.Server:main: Started @5287ms
aapas-MacBook-Pro:base aapa$
So the issue is with intellij only. Still unable to find the issue in intellij. Have compared all my config files to working version of intellij. Help me if any of you have any vague ideas to try on. I am mostly out of ideas now.