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.
On Thu, Jul 30, 2015 at 11:39 AM Abhishek Gupta <[email protected]> wrote: > 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. > > > On Tue, Jul 28, 2015 at 3:41 AM "" <[email protected]> wrote: > >> Only other thing I have seen in eclipse is a container being started >> twice. But doubt that would be your issue. >> On 28/07/2015 9:16 am, "Abhishek Gupta" <[email protected]> wrote: >> >>> Still nothing. Unable to understand how it is even possible. >>> >>> On Tue, Jul 28, 2015, 1:09 AM "" <[email protected]> wrote: >>> >>>> Try those commands without the "t" option. >>>> >>>> Perhaps its just the udp port that is blocked. >>>> >>>> >>>> >>>> >>>> On 27 July 2015 at 23:57, Abhishek Gupta <[email protected]> >>>> wrote: >>>> >>>>> That’s a good catch for lsof, but still nothing: >>>>> >>>>> $ sudo lsof -w -n -i tcp:1099 >>>>> $ netstat -tanp tcp|grep 1099 |grep LISTEN >>>>> $ netstat -tan|grep 1099 |grep LISTEN >>>>> >>>>> Just to tell you the things I checked. >>>>> >>>>> 1. *Intellij plugin*: Somewhere on the net I found that there are >>>>> be some intellij plugins which may use port 1099 (like FindBugs >>>>> plugin). >>>>> But in reality if there is any plugin using 1099 it should show up in >>>>> the >>>>> lsof/netstat. Still keeping my faith in Digital God, I tried >>>>> removing all the intellij plugins and also with a fresh intellij >>>>> install. >>>>> Still nothing. >>>>> 2. I checked all the config files to match them with working >>>>> version. >>>>> >>>>> Let me try running jetty directly from command line. This may help in >>>>> converging the possibility space. >>>>> >>>>> On Mon, Jul 27, 2015 at 9:26 AM Abhishek Gupta [email protected] >>>>> <http://mailto:[email protected]> wrote: >>>>> >>>>> Hi guys, >>>>>> >>>>>> I am getting a issue in running jetty in intellij. Intellij is >>>>>> complaining that someone is already using the port 1099. >>>>>> >>>>>> The complete information about the issue is here >>>>>> http://stackoverflow.com/questions/31494815/which-process-is-using-1099jmx-port >>>>>> . >>>>>> >>>>>> I have been trying to solve this for over a week but no success. Even >>>>>> intellij guys are unable to solve this (though they haven't tried >>>>>> enough). >>>>>> >>>>>> Can someone help? >>>>>> >>>>> >>>>> >>>>> _______________________________________________ >>>>> jetty-users mailing list >>>>> [email protected] >>>>> To change your delivery options, retrieve your password, or >>>>> unsubscribe from this list, visit >>>>> https://dev.eclipse.org/mailman/listinfo/jetty-users >>>>> >>>> _______________________________________________ >>>> jetty-users mailing list >>>> [email protected] >>>> To change your delivery options, retrieve your password, or unsubscribe >>>> from this list, visit >>>> https://dev.eclipse.org/mailman/listinfo/jetty-users >>> >>> >>> _______________________________________________ >>> jetty-users mailing list >>> [email protected] >>> To change your delivery options, retrieve your password, or unsubscribe >>> from this list, visit >>> https://dev.eclipse.org/mailman/listinfo/jetty-users >>> >> _______________________________________________ >> jetty-users mailing list >> [email protected] >> To change your delivery options, retrieve your password, or unsubscribe >> from this list, visit >> https://dev.eclipse.org/mailman/listinfo/jetty-users > >
_______________________________________________ jetty-users mailing list [email protected] To change your delivery options, retrieve your password, or unsubscribe from this list, visit https://dev.eclipse.org/mailman/listinfo/jetty-users
