Issues in running jetty with intellij

classic Classic list List threaded Threaded
19 messages Options
Reply | Threaded
Open this post in threaded view
|

Issues in running jetty with intellij

Abhishek Gupta
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
[hidden email]
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://dev.eclipse.org/mailman/listinfo/jetty-users
Reply | Threaded
Open this post in threaded view
|

Re: Issues in running jetty with intellij

Lord Buddha

Ahhh, Windows I guess.

Try closing outlook.

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
[hidden email]
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
[hidden email]
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://dev.eclipse.org/mailman/listinfo/jetty-users
Reply | Threaded
Open this post in threaded view
|

Re: Issues in running jetty with intellij

Abhishek Gupta
In reply to this post by Abhishek Gupta

No, I am using Mac. But in case any damn software using it, I shoud get something out of lsof.

On Mon, Jul 27, 2015 at 9:26 AM Abhishek Gupta abhi.bansal21@... 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
[hidden email]
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://dev.eclipse.org/mailman/listinfo/jetty-users
Reply | Threaded
Open this post in threaded view
|

Re: Issues in running jetty with intellij

Steve Sobol - Lobos Studios
Hit me up off-list. I use Jetty 9.2 (soon to be 9.3) for all of my production Java web apps, and I code and debug using IntelliJ Ultimate Edition and Jetty 9.2 on my Win8.1 laptop.

We'll figure it out, and then come back and summarize here. (and you should probably post the solution on SO too).

And I see that you are using a Mac. Well, my laptop runs Windows, but my desktop computer is a Mac mini running Yosemite. I have plenty of experience with OS X, both the GUI and the command line (and I've admin'd Linux servers for 20 years too; shell prompts don't scare me). I am 100% certain I can help you.

Best,
  Steve


Abhishek Gupta wrote:

No, I am using Mac. But in case any damn software using it, I shoud get something out of lsof.

On Mon, Jul 27, 2015 at 9:26 AM Abhishek Gupta abhi.bansal21@... 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
[hidden email]
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://dev.eclipse.org/mailman/listinfo/jetty-users

--
Lobos Studios - Website and Mobile App Design & Development; IT Support; Computer Maintenance
Toll Free  877.919.4WEB - Apple Valley 760.684.8859 - Los Angeles 310.945.2410 - Cleveland 216.242.4010
www.LobosStudios.com * www.facebook.com/LobosStudios * @LobosStudios


_______________________________________________
jetty-users mailing list
[hidden email]
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://dev.eclipse.org/mailman/listinfo/jetty-users
Reply | Threaded
Open this post in threaded view
|

Re: Issues in running jetty with intellij

Lord Buddha
Mac... OK,

Well you should be able to do something like this :-

    netstat -tanp | grep 1099 | grep LISTEN

and you should get the process id of the process that is listening on port 1099


On 27 July 2015 at 18:23, Steve Sobol - Lobos Studios <[hidden email]> wrote:
Hit me up off-list. I use Jetty 9.2 (soon to be 9.3) for all of my production Java web apps, and I code and debug using IntelliJ Ultimate Edition and Jetty 9.2 on my Win8.1 laptop.

We'll figure it out, and then come back and summarize here. (and you should probably post the solution on SO too).

And I see that you are using a Mac. Well, my laptop runs Windows, but my desktop computer is a Mac mini running Yosemite. I have plenty of experience with OS X, both the GUI and the command line (and I've admin'd Linux servers for 20 years too; shell prompts don't scare me). I am 100% certain I can help you.

Best,
  Steve


Abhishek Gupta wrote:

No, I am using Mac. But in case any damn software using it, I shoud get something out of lsof.

On Mon, Jul 27, 2015 at 9:26 AM Abhishek Gupta abhi.bansal21@... 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
[hidden email]
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://dev.eclipse.org/mailman/listinfo/jetty-users

--
Lobos Studios - Website and Mobile App Design & Development; IT Support; Computer Maintenance
Toll Free  877.919.4WEB - Apple Valley 760.684.8859 - Los Angeles 310.945.2410 - Cleveland 216.242.4010
www.LobosStudios.com * www.facebook.com/LobosStudios * @LobosStudios


_______________________________________________
jetty-users mailing list
[hidden email]
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
[hidden email]
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://dev.eclipse.org/mailman/listinfo/jetty-users
Reply | Threaded
Open this post in threaded view
|

Re: Issues in running jetty with intellij

Steve Sobol - Lobos Studios
According to the Stack Overflow post, he already tried netstat and lsof.

 "" wrote:
Mac... OK,

Well you should be able to do something like this :-

    netstat -tanp | grep 1099 | grep LISTEN

and you should get the process id of the process that is listening on port 1099


On 27 July 2015 at 18:23, Steve Sobol - Lobos Studios <[hidden email]> wrote:
Hit me up off-list. I use Jetty 9.2 (soon to be 9.3) for all of my production Java web apps, and I code and debug using IntelliJ Ultimate Edition and Jetty 9.2 on my Win8.1 laptop.

We'll figure it out, and then come back and summarize here. (and you should probably post the solution on SO too).

And I see that you are using a Mac. Well, my laptop runs Windows, but my desktop computer is a Mac mini running Yosemite. I have plenty of experience with OS X, both the GUI and the command line (and I've admin'd Linux servers for 20 years too; shell prompts don't scare me). I am 100% certain I can help you.

Best,
  Steve


Abhishek Gupta wrote:

No, I am using Mac. But in case any damn software using it, I shoud get something out of lsof.

On Mon, Jul 27, 2015 at 9:26 AM Abhishek Gupta abhi.bansal21@... 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
[hidden email]
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://dev.eclipse.org/mailman/listinfo/jetty-users

--
Lobos Studios - Website and Mobile App Design & Development; IT Support; Computer Maintenance
Toll Free  877.919.4WEB - Apple Valley 760.684.8859 - Los Angeles 310.945.2410 - Cleveland 216.242.4010
www.LobosStudios.com * www.facebook.com/LobosStudios * @LobosStudios


_______________________________________________
jetty-users mailing list
[hidden email]
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
[hidden email]
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://dev.eclipse.org/mailman/listinfo/jetty-users

--
Lobos Studios - Website and Mobile App Design & Development; IT Support; Computer Maintenance
Toll Free  877.919.4WEB - Apple Valley 760.684.8859 - Los Angeles 310.945.2410 - Cleveland 216.242.4010
www.LobosStudios.com * www.facebook.com/LobosStudios * @LobosStudios


_______________________________________________
jetty-users mailing list
[hidden email]
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://dev.eclipse.org/mailman/listinfo/jetty-users
Reply | Threaded
Open this post in threaded view
|

Re: Issues in running jetty with intellij

Lord Buddha
That he did, but did he do it using sudo,  note the difference (again on linux) :-

david@server:~$ lsof -w -n -i tcp:22
david@server:~$ sudo lsof -w -n -i tcp:22
COMMAND  PID USER   FD   TYPE DEVICE SIZE/OFF NODE NAME
sshd    1341 root    3u  IPv4  13259      0t0  TCP *:ssh (LISTEN)
sshd    1341 root    4u  IPv6  13261      0t0  TCP *:ssh (LISTEN)




On 27 July 2015 at 18:52, Steve Sobol - Lobos Studios <[hidden email]> wrote:
According to the Stack Overflow post, he already tried netstat and lsof.

 "" wrote:
Mac... OK,

Well you should be able to do something like this :-

    netstat -tanp | grep 1099 | grep LISTEN

and you should get the process id of the process that is listening on port 1099


On 27 July 2015 at 18:23, Steve Sobol - Lobos Studios <[hidden email]> wrote:
Hit me up off-list. I use Jetty 9.2 (soon to be 9.3) for all of my production Java web apps, and I code and debug using IntelliJ Ultimate Edition and Jetty 9.2 on my Win8.1 laptop.

We'll figure it out, and then come back and summarize here. (and you should probably post the solution on SO too).

And I see that you are using a Mac. Well, my laptop runs Windows, but my desktop computer is a Mac mini running Yosemite. I have plenty of experience with OS X, both the GUI and the command line (and I've admin'd Linux servers for 20 years too; shell prompts don't scare me). I am 100% certain I can help you.

Best,
  Steve


Abhishek Gupta wrote:

No, I am using Mac. But in case any damn software using it, I shoud get something out of lsof.

On Mon, Jul 27, 2015 at 9:26 AM Abhishek Gupta abhi.bansal21@... 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
[hidden email]
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://dev.eclipse.org/mailman/listinfo/jetty-users

--
Lobos Studios - Website and Mobile App Design & Development; IT Support; Computer Maintenance
Toll Free  877.919.4WEB - Apple Valley 760.684.8859 - Los Angeles 310.945.2410 - Cleveland 216.242.4010
www.LobosStudios.com * www.facebook.com/LobosStudios * @LobosStudios


_______________________________________________
jetty-users mailing list
[hidden email]
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
[hidden email]
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://dev.eclipse.org/mailman/listinfo/jetty-users

--
Lobos Studios - Website and Mobile App Design & Development; IT Support; Computer Maintenance
Toll Free  877.919.4WEB - Apple Valley 760.684.8859 - Los Angeles 310.945.2410 - Cleveland 216.242.4010
www.LobosStudios.com * www.facebook.com/LobosStudios * @LobosStudios


_______________________________________________
jetty-users mailing list
[hidden email]
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
[hidden email]
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://dev.eclipse.org/mailman/listinfo/jetty-users
Reply | Threaded
Open this post in threaded view
|

Re: Issues in running jetty with intellij

Steve Sobol - Lobos Studios
It matters if you use lsof. It does not matter if you use netstat.

 "" wrote:
That he did, but did he do it using sudo,  note the difference (again on linux) :-

david@server:~$ lsof -w -n -i tcp:22
david@server:~$ sudo lsof -w -n -i tcp:22
COMMAND  PID USER   FD   TYPE DEVICE SIZE/OFF NODE NAME
sshd    1341 root    3u  IPv4  13259      0t0  TCP *:ssh (LISTEN)
sshd    1341 root    4u  IPv6  13261      0t0  TCP *:ssh (LISTEN)




On 27 July 2015 at 18:52, Steve Sobol - Lobos Studios <[hidden email]> wrote:
According to the Stack Overflow post, he already tried netstat and lsof.

 "" wrote:
Mac... OK,

Well you should be able to do something like this :-

    netstat -tanp | grep 1099 | grep LISTEN

and you should get the process id of the process that is listening on port 1099


On 27 July 2015 at 18:23, Steve Sobol - Lobos Studios <[hidden email]> wrote:
Hit me up off-list. I use Jetty 9.2 (soon to be 9.3) for all of my production Java web apps, and I code and debug using IntelliJ Ultimate Edition and Jetty 9.2 on my Win8.1 laptop.

We'll figure it out, and then come back and summarize here. (and you should probably post the solution on SO too).

And I see that you are using a Mac. Well, my laptop runs Windows, but my desktop computer is a Mac mini running Yosemite. I have plenty of experience with OS X, both the GUI and the command line (and I've admin'd Linux servers for 20 years too; shell prompts don't scare me). I am 100% certain I can help you.

Best,
  Steve


Abhishek Gupta wrote:

No, I am using Mac. But in case any damn software using it, I shoud get something out of lsof.

On Mon, Jul 27, 2015 at 9:26 AM Abhishek Gupta abhi.bansal21@... 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
[hidden email]
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://dev.eclipse.org/mailman/listinfo/jetty-users

--
Lobos Studios - Website and Mobile App Design & Development; IT Support; Computer Maintenance
Toll Free  877.919.4WEB - Apple Valley 760.684.8859 - Los Angeles 310.945.2410 - Cleveland 216.242.4010
www.LobosStudios.com * www.facebook.com/LobosStudios * @LobosStudios


_______________________________________________
jetty-users mailing list
[hidden email]
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
[hidden email]
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://dev.eclipse.org/mailman/listinfo/jetty-users

--
Lobos Studios - Website and Mobile App Design & Development; IT Support; Computer Maintenance
Toll Free  877.919.4WEB - Apple Valley 760.684.8859 - Los Angeles 310.945.2410 - Cleveland 216.242.4010
www.LobosStudios.com * www.facebook.com/LobosStudios * @LobosStudios


_______________________________________________
jetty-users mailing list
[hidden email]
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
[hidden email]
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://dev.eclipse.org/mailman/listinfo/jetty-users

--
Lobos Studios - Website and Mobile App Design & Development; IT Support; Computer Maintenance
Toll Free  877.919.4WEB - Apple Valley 760.684.8859 - Los Angeles 310.945.2410 - Cleveland 216.242.4010
www.LobosStudios.com * www.facebook.com/LobosStudios * @LobosStudios


_______________________________________________
jetty-users mailing list
[hidden email]
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://dev.eclipse.org/mailman/listinfo/jetty-users
Reply | Threaded
Open this post in threaded view
|

Re: Issues in running jetty with intellij

Steve Sobol - Lobos Studios
In reply to this post by Lord Buddha
In fact, the only difference between running netstat with elevated privileges and NOT running it with elevated privileges is that you can't see which process is holding the port open. You need to be root or a Windows administrator to do that, and use the -b command-line option on Windows, or -p on anything that works like Unix, including Linux and OS X.

 "" wrote:
That he did, but did he do it using sudo,  note the difference (again on linux) :-

david@server:~$ lsof -w -n -i tcp:22
david@server:~$ sudo lsof -w -n -i tcp:22
COMMAND  PID USER   FD   TYPE DEVICE SIZE/OFF NODE NAME
sshd    1341 root    3u  IPv4  13259      0t0  TCP *:ssh (LISTEN)
sshd    1341 root    4u  IPv6  13261      0t0  TCP *:ssh (LISTEN)




On 27 July 2015 at 18:52, Steve Sobol - Lobos Studios <[hidden email]> wrote:
According to the Stack Overflow post, he already tried netstat and lsof.

 "" wrote:
Mac... OK,

Well you should be able to do something like this :-

    netstat -tanp | grep 1099 | grep LISTEN

and you should get the process id of the process that is listening on port 1099


On 27 July 2015 at 18:23, Steve Sobol - Lobos Studios <[hidden email]> wrote:
Hit me up off-list. I use Jetty 9.2 (soon to be 9.3) for all of my production Java web apps, and I code and debug using IntelliJ Ultimate Edition and Jetty 9.2 on my Win8.1 laptop.

We'll figure it out, and then come back and summarize here. (and you should probably post the solution on SO too).

And I see that you are using a Mac. Well, my laptop runs Windows, but my desktop computer is a Mac mini running Yosemite. I have plenty of experience with OS X, both the GUI and the command line (and I've admin'd Linux servers for 20 years too; shell prompts don't scare me). I am 100% certain I can help you.

Best,
  Steve


Abhishek Gupta wrote:

No, I am using Mac. But in case any damn software using it, I shoud get something out of lsof.

On Mon, Jul 27, 2015 at 9:26 AM Abhishek Gupta abhi.bansal21@... 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
[hidden email]
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://dev.eclipse.org/mailman/listinfo/jetty-users

--
Lobos Studios - Website and Mobile App Design & Development; IT Support; Computer Maintenance
Toll Free  877.919.4WEB - Apple Valley 760.684.8859 - Los Angeles 310.945.2410 - Cleveland 216.242.4010
www.LobosStudios.com * www.facebook.com/LobosStudios * @LobosStudios


_______________________________________________
jetty-users mailing list
[hidden email]
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
[hidden email]
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://dev.eclipse.org/mailman/listinfo/jetty-users

--
Lobos Studios - Website and Mobile App Design & Development; IT Support; Computer Maintenance
Toll Free  877.919.4WEB - Apple Valley 760.684.8859 - Los Angeles 310.945.2410 - Cleveland 216.242.4010
www.LobosStudios.com * www.facebook.com/LobosStudios * @LobosStudios


_______________________________________________
jetty-users mailing list
[hidden email]
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
[hidden email]
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://dev.eclipse.org/mailman/listinfo/jetty-users

--
Lobos Studios - Website and Mobile App Design & Development; IT Support; Computer Maintenance
Toll Free  877.919.4WEB - Apple Valley 760.684.8859 - Los Angeles 310.945.2410 - Cleveland 216.242.4010
www.LobosStudios.com * www.facebook.com/LobosStudios * @LobosStudios


_______________________________________________
jetty-users mailing list
[hidden email]
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://dev.eclipse.org/mailman/listinfo/jetty-users
Reply | Threaded
Open this post in threaded view
|

Re: Issues in running jetty with intellij

Steve Sobol - Lobos Studios
... And having said that, I realize that he would need to use netstat -p to get the information he needs. Sorry. It's very late here, and I'm still working, and I'm tired. LOL

Steve Sobol - Lobos Studios wrote:
In fact, the only difference between running netstat with elevated privileges and NOT running it with elevated privileges is that you can't see which process is holding the port open. You need to be root or a Windows administrator to do that, and use the -b command-line option on Windows, or -p on anything that works like Unix, including Linux and OS X.

 "" wrote:
That he did, but did he do it using sudo,  note the difference (again on linux) :-

david@server:~$ lsof -w -n -i tcp:22
david@server:~$ sudo lsof -w -n -i tcp:22
COMMAND  PID USER   FD   TYPE DEVICE SIZE/OFF NODE NAME
sshd    1341 root    3u  IPv4  13259      0t0  TCP *:ssh (LISTEN)
sshd    1341 root    4u  IPv6  13261      0t0  TCP *:ssh (LISTEN)




On 27 July 2015 at 18:52, Steve Sobol - Lobos Studios <[hidden email]> wrote:
According to the Stack Overflow post, he already tried netstat and lsof.

 "" wrote:
Mac... OK,

Well you should be able to do something like this :-

    netstat -tanp | grep 1099 | grep LISTEN

and you should get the process id of the process that is listening on port 1099


On 27 July 2015 at 18:23, Steve Sobol - Lobos Studios <[hidden email]> wrote:
Hit me up off-list. I use Jetty 9.2 (soon to be 9.3) for all of my production Java web apps, and I code and debug using IntelliJ Ultimate Edition and Jetty 9.2 on my Win8.1 laptop.

We'll figure it out, and then come back and summarize here. (and you should probably post the solution on SO too).

And I see that you are using a Mac. Well, my laptop runs Windows, but my desktop computer is a Mac mini running Yosemite. I have plenty of experience with OS X, both the GUI and the command line (and I've admin'd Linux servers for 20 years too; shell prompts don't scare me). I am 100% certain I can help you.

Best,
  Steve


Abhishek Gupta wrote:

No, I am using Mac. But in case any damn software using it, I shoud get something out of lsof.

On Mon, Jul 27, 2015 at 9:26 AM Abhishek Gupta abhi.bansal21@... 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
[hidden email]
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://dev.eclipse.org/mailman/listinfo/jetty-users

--
Lobos Studios - Website and Mobile App Design & Development; IT Support; Computer Maintenance
Toll Free  877.919.4WEB - Apple Valley 760.684.8859 - Los Angeles 310.945.2410 - Cleveland 216.242.4010
www.LobosStudios.com * www.facebook.com/LobosStudios * @LobosStudios


_______________________________________________
jetty-users mailing list
[hidden email]
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
[hidden email]
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://dev.eclipse.org/mailman/listinfo/jetty-users

--
Lobos Studios - Website and Mobile App Design & Development; IT Support; Computer Maintenance
Toll Free  877.919.4WEB - Apple Valley 760.684.8859 - Los Angeles 310.945.2410 - Cleveland 216.242.4010
www.LobosStudios.com * www.facebook.com/LobosStudios * @LobosStudios


_______________________________________________
jetty-users mailing list
[hidden email]
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
[hidden email]
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://dev.eclipse.org/mailman/listinfo/jetty-users

--
Lobos Studios - Website and Mobile App Design & Development; IT Support; Computer Maintenance
Toll Free  877.919.4WEB - Apple Valley 760.684.8859 - Los Angeles 310.945.2410 - Cleveland 216.242.4010
www.LobosStudios.com * www.facebook.com/LobosStudios * @LobosStudios


--
Lobos Studios - Website and Mobile App Design & Development; IT Support; Computer Maintenance
Toll Free  877.919.4WEB - Apple Valley 760.684.8859 - Los Angeles 310.945.2410 - Cleveland 216.242.4010
www.LobosStudios.com * www.facebook.com/LobosStudios * @LobosStudios


_______________________________________________
jetty-users mailing list
[hidden email]
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://dev.eclipse.org/mailman/listinfo/jetty-users
Reply | Threaded
Open this post in threaded view
|

Re: Issues in running jetty with intellij

Lord Buddha
Yep, 19:18 here in NZ.   Time to clock off.

I see the "netstat" answer on stack overflow used !  instead of | for the pipe.

Lets see if he gets any further with the suggestions given.

On 27 July 2015 at 19:03, Steve Sobol - Lobos Studios <[hidden email]> wrote:
... And having said that, I realize that he would need to use netstat -p to get the information he needs. Sorry. It's very late here, and I'm still working, and I'm tired. LOL

Steve Sobol - Lobos Studios wrote:
In fact, the only difference between running netstat with elevated privileges and NOT running it with elevated privileges is that you can't see which process is holding the port open. You need to be root or a Windows administrator to do that, and use the -b command-line option on Windows, or -p on anything that works like Unix, including Linux and OS X.

 "" wrote:
That he did, but did he do it using sudo,  note the difference (again on linux) :-

david@server:~$ lsof -w -n -i tcp:22
david@server:~$ sudo lsof -w -n -i tcp:22
COMMAND  PID USER   FD   TYPE DEVICE SIZE/OFF NODE NAME
sshd    1341 root    3u  IPv4  13259      0t0  TCP *:ssh (LISTEN)
sshd    1341 root    4u  IPv6  13261      0t0  TCP *:ssh (LISTEN)




On 27 July 2015 at 18:52, Steve Sobol - Lobos Studios <[hidden email]> wrote:
According to the Stack Overflow post, he already tried netstat and lsof.

 "" wrote:
Mac... OK,

Well you should be able to do something like this :-

    netstat -tanp | grep 1099 | grep LISTEN

and you should get the process id of the process that is listening on port 1099


On 27 July 2015 at 18:23, Steve Sobol - Lobos Studios <[hidden email]> wrote:
Hit me up off-list. I use Jetty 9.2 (soon to be 9.3) for all of my production Java web apps, and I code and debug using IntelliJ Ultimate Edition and Jetty 9.2 on my Win8.1 laptop.

We'll figure it out, and then come back and summarize here. (and you should probably post the solution on SO too).

And I see that you are using a Mac. Well, my laptop runs Windows, but my desktop computer is a Mac mini running Yosemite. I have plenty of experience with OS X, both the GUI and the command line (and I've admin'd Linux servers for 20 years too; shell prompts don't scare me). I am 100% certain I can help you.

Best,
  Steve


Abhishek Gupta wrote:

No, I am using Mac. But in case any damn software using it, I shoud get something out of lsof.

On Mon, Jul 27, 2015 at 9:26 AM Abhishek Gupta abhi.bansal21@... 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
[hidden email]
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://dev.eclipse.org/mailman/listinfo/jetty-users

--
Lobos Studios - Website and Mobile App Design & Development; IT Support; Computer Maintenance
Toll Free  877.919.4WEB - Apple Valley 760.684.8859 - Los Angeles 310.945.2410 - Cleveland 216.242.4010
www.LobosStudios.com * www.facebook.com/LobosStudios * @LobosStudios


_______________________________________________
jetty-users mailing list
[hidden email]
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
[hidden email]
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://dev.eclipse.org/mailman/listinfo/jetty-users

--
Lobos Studios - Website and Mobile App Design & Development; IT Support; Computer Maintenance
Toll Free  877.919.4WEB - Apple Valley 760.684.8859 - Los Angeles 310.945.2410 - Cleveland 216.242.4010
www.LobosStudios.com * www.facebook.com/LobosStudios * @LobosStudios


_______________________________________________
jetty-users mailing list
[hidden email]
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
[hidden email]
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://dev.eclipse.org/mailman/listinfo/jetty-users

--
Lobos Studios - Website and Mobile App Design & Development; IT Support; Computer Maintenance
Toll Free  877.919.4WEB - Apple Valley 760.684.8859 - Los Angeles 310.945.2410 - Cleveland 216.242.4010
www.LobosStudios.com * www.facebook.com/LobosStudios * @LobosStudios


--
Lobos Studios - Website and Mobile App Design & Development; IT Support; Computer Maintenance
Toll Free  877.919.4WEB - Apple Valley 760.684.8859 - Los Angeles 310.945.2410 - Cleveland 216.242.4010
www.LobosStudios.com * www.facebook.com/LobosStudios * @LobosStudios


_______________________________________________
jetty-users mailing list
[hidden email]
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
[hidden email]
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://dev.eclipse.org/mailman/listinfo/jetty-users
Reply | Threaded
Open this post in threaded view
|

Re: Issues in running jetty with intellij

Steve Sobol - Lobos Studios
Midnight, July 27th here. 19:18 July 28th there, right?

 "" wrote:
Yep, 19:18 here in NZ.   Time to clock off.

I see the "netstat" answer on stack overflow used !  instead of | for the pipe.

Lets see if he gets any further with the suggestions given.

On 27 July 2015 at 19:03, Steve Sobol - Lobos Studios <[hidden email]> wrote:
... And having said that, I realize that he would need to use netstat -p to get the information he needs. Sorry. It's very late here, and I'm still working, and I'm tired. LOL

Steve Sobol - Lobos Studios wrote:
In fact, the only difference between running netstat with elevated privileges and NOT running it with elevated privileges is that you can't see which process is holding the port open. You need to be root or a Windows administrator to do that, and use the -b command-line option on Windows, or -p on anything that works like Unix, including Linux and OS X.

 "" wrote:
That he did, but did he do it using sudo,  note the difference (again on linux) :-

david@server:~$ lsof -w -n -i tcp:22
david@server:~$ sudo lsof -w -n -i tcp:22
COMMAND  PID USER   FD   TYPE DEVICE SIZE/OFF NODE NAME
sshd    1341 root    3u  IPv4  13259      0t0  TCP *:ssh (LISTEN)
sshd    1341 root    4u  IPv6  13261      0t0  TCP *:ssh (LISTEN)




On 27 July 2015 at 18:52, Steve Sobol - Lobos Studios <[hidden email]> wrote:
According to the Stack Overflow post, he already tried netstat and lsof.

 "" wrote:
Mac... OK,

Well you should be able to do something like this :-

    netstat -tanp | grep 1099 | grep LISTEN

and you should get the process id of the process that is listening on port 1099


On 27 July 2015 at 18:23, Steve Sobol - Lobos Studios <[hidden email]> wrote:
Hit me up off-list. I use Jetty 9.2 (soon to be 9.3) for all of my production Java web apps, and I code and debug using IntelliJ Ultimate Edition and Jetty 9.2 on my Win8.1 laptop.

We'll figure it out, and then come back and summarize here. (and you should probably post the solution on SO too).

And I see that you are using a Mac. Well, my laptop runs Windows, but my desktop computer is a Mac mini running Yosemite. I have plenty of experience with OS X, both the GUI and the command line (and I've admin'd Linux servers for 20 years too; shell prompts don't scare me). I am 100% certain I can help you.

Best,
  Steve


Abhishek Gupta wrote:

No, I am using Mac. But in case any damn software using it, I shoud get something out of lsof.

On Mon, Jul 27, 2015 at 9:26 AM Abhishek Gupta abhi.bansal21@... 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
[hidden email]
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://dev.eclipse.org/mailman/listinfo/jetty-users

--
Lobos Studios - Website and Mobile App Design & Development; IT Support; Computer Maintenance
Toll Free  877.919.4WEB - Apple Valley 760.684.8859 - Los Angeles 310.945.2410 - Cleveland 216.242.4010
www.LobosStudios.com * www.facebook.com/LobosStudios * @LobosStudios


_______________________________________________
jetty-users mailing list
[hidden email]
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
[hidden email]
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://dev.eclipse.org/mailman/listinfo/jetty-users

--
Lobos Studios - Website and Mobile App Design & Development; IT Support; Computer Maintenance
Toll Free  877.919.4WEB - Apple Valley 760.684.8859 - Los Angeles 310.945.2410 - Cleveland 216.242.4010
www.LobosStudios.com * www.facebook.com/LobosStudios * @LobosStudios


_______________________________________________
jetty-users mailing list
[hidden email]
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
[hidden email]
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://dev.eclipse.org/mailman/listinfo/jetty-users

--
Lobos Studios - Website and Mobile App Design & Development; IT Support; Computer Maintenance
Toll Free  877.919.4WEB - Apple Valley 760.684.8859 - Los Angeles 310.945.2410 - Cleveland 216.242.4010
www.LobosStudios.com * www.facebook.com/LobosStudios * @LobosStudios


--
Lobos Studios - Website and Mobile App Design & Development; IT Support; Computer Maintenance
Toll Free  877.919.4WEB - Apple Valley 760.684.8859 - Los Angeles 310.945.2410 - Cleveland 216.242.4010
www.LobosStudios.com * www.facebook.com/LobosStudios * @LobosStudios


_______________________________________________
jetty-users mailing list
[hidden email]
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
[hidden email]
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://dev.eclipse.org/mailman/listinfo/jetty-users

--
Lobos Studios - Website and Mobile App Design & Development; IT Support; Computer Maintenance
Toll Free  877.919.4WEB - Apple Valley 760.684.8859 - Los Angeles 310.945.2410 - Cleveland 216.242.4010
www.LobosStudios.com * www.facebook.com/LobosStudios * @LobosStudios


_______________________________________________
jetty-users mailing list
[hidden email]
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://dev.eclipse.org/mailman/listinfo/jetty-users
Reply | Threaded
Open this post in threaded view
|

Re: Issues in running jetty with intellij

Lord Buddha
27th. 

On 27 July 2015 at 19:28, Steve Sobol - Lobos Studios <[hidden email]> wrote:
Midnight, July 27th here. 19:18 July 28th there, right?

 "" wrote:
Yep, 19:18 here in NZ.   Time to clock off.

I see the "netstat" answer on stack overflow used !  instead of | for the pipe.

Lets see if he gets any further with the suggestions given.

On 27 July 2015 at 19:03, Steve Sobol - Lobos Studios <[hidden email]> wrote:
... And having said that, I realize that he would need to use netstat -p to get the information he needs. Sorry. It's very late here, and I'm still working, and I'm tired. LOL

Steve Sobol - Lobos Studios wrote:
In fact, the only difference between running netstat with elevated privileges and NOT running it with elevated privileges is that you can't see which process is holding the port open. You need to be root or a Windows administrator to do that, and use the -b command-line option on Windows, or -p on anything that works like Unix, including Linux and OS X.

 "" wrote:
That he did, but did he do it using sudo,  note the difference (again on linux) :-

david@server:~$ lsof -w -n -i tcp:22
david@server:~$ sudo lsof -w -n -i tcp:22
COMMAND  PID USER   FD   TYPE DEVICE SIZE/OFF NODE NAME
sshd    1341 root    3u  IPv4  13259      0t0  TCP *:ssh (LISTEN)
sshd    1341 root    4u  IPv6  13261      0t0  TCP *:ssh (LISTEN)




On 27 July 2015 at 18:52, Steve Sobol - Lobos Studios <[hidden email]> wrote:
According to the Stack Overflow post, he already tried netstat and lsof.

 "" wrote:
Mac... OK,

Well you should be able to do something like this :-

    netstat -tanp | grep 1099 | grep LISTEN

and you should get the process id of the process that is listening on port 1099


On 27 July 2015 at 18:23, Steve Sobol - Lobos Studios <[hidden email]> wrote:
Hit me up off-list. I use Jetty 9.2 (soon to be 9.3) for all of my production Java web apps, and I code and debug using IntelliJ Ultimate Edition and Jetty 9.2 on my Win8.1 laptop.

We'll figure it out, and then come back and summarize here. (and you should probably post the solution on SO too).

And I see that you are using a Mac. Well, my laptop runs Windows, but my desktop computer is a Mac mini running Yosemite. I have plenty of experience with OS X, both the GUI and the command line (and I've admin'd Linux servers for 20 years too; shell prompts don't scare me). I am 100% certain I can help you.

Best,
  Steve


Abhishek Gupta wrote:

No, I am using Mac. But in case any damn software using it, I shoud get something out of lsof.

On Mon, Jul 27, 2015 at 9:26 AM Abhishek Gupta abhi.bansal21@... 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
[hidden email]
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://dev.eclipse.org/mailman/listinfo/jetty-users

--
Lobos Studios - Website and Mobile App Design & Development; IT Support; Computer Maintenance
Toll Free  877.919.4WEB - Apple Valley 760.684.8859 - Los Angeles 310.945.2410 - Cleveland 216.242.4010
www.LobosStudios.com * www.facebook.com/LobosStudios * @LobosStudios


_______________________________________________
jetty-users mailing list
[hidden email]
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
[hidden email]
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://dev.eclipse.org/mailman/listinfo/jetty-users

--
Lobos Studios - Website and Mobile App Design & Development; IT Support; Computer Maintenance
Toll Free  877.919.4WEB - Apple Valley 760.684.8859 - Los Angeles 310.945.2410 - Cleveland 216.242.4010
www.LobosStudios.com * www.facebook.com/LobosStudios * @LobosStudios


_______________________________________________
jetty-users mailing list
[hidden email]
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
[hidden email]
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://dev.eclipse.org/mailman/listinfo/jetty-users

--
Lobos Studios - Website and Mobile App Design & Development; IT Support; Computer Maintenance
Toll Free  877.919.4WEB - Apple Valley 760.684.8859 - Los Angeles 310.945.2410 - Cleveland 216.242.4010
www.LobosStudios.com * www.facebook.com/LobosStudios * @LobosStudios


--
Lobos Studios - Website and Mobile App Design & Development; IT Support; Computer Maintenance
Toll Free  877.919.4WEB - Apple Valley 760.684.8859 - Los Angeles 310.945.2410 - Cleveland 216.242.4010
www.LobosStudios.com * www.facebook.com/LobosStudios * @LobosStudios


_______________________________________________
jetty-users mailing list
[hidden email]
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
[hidden email]
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://dev.eclipse.org/mailman/listinfo/jetty-users

--
Lobos Studios - Website and Mobile App Design & Development; IT Support; Computer Maintenance
Toll Free  877.919.4WEB - Apple Valley 760.684.8859 - Los Angeles 310.945.2410 - Cleveland 216.242.4010
www.LobosStudios.com * www.facebook.com/LobosStudios * @LobosStudios


_______________________________________________
jetty-users mailing list
[hidden email]
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
[hidden email]
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://dev.eclipse.org/mailman/listinfo/jetty-users
Reply | Threaded
Open this post in threaded view
|

Re: Issues in running jetty with intellij

Abhishek Gupta
In reply to this post by Abhishek Gupta

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 abhi.bansal21@... 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
[hidden email]
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://dev.eclipse.org/mailman/listinfo/jetty-users
Reply | Threaded
Open this post in threaded view
|

Re: Issues in running jetty with intellij

Lord Buddha
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 <[hidden email]> 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 abhi.bansal21@... 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
[hidden email]
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
[hidden email]
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://dev.eclipse.org/mailman/listinfo/jetty-users
Reply | Threaded
Open this post in threaded view
|

Re: Issues in running jetty with intellij

Abhishek Gupta

Still nothing. Unable to understand how it is even possible.


On Tue, Jul 28, 2015, 1:09 AM "" <[hidden email]> 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 <[hidden email]> 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 abhi.bansal21@... 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
[hidden email]
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
[hidden email]
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
[hidden email]
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://dev.eclipse.org/mailman/listinfo/jetty-users
Reply | Threaded
Open this post in threaded view
|

Re: Issues in running jetty with intellij

Lord Buddha

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" <[hidden email]> wrote:

Still nothing. Unable to understand how it is even possible.


On Tue, Jul 28, 2015, 1:09 AM "" <[hidden email]> 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 <[hidden email]> 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 abhi.bansal21@... 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
[hidden email]
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
[hidden email]
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
[hidden email]
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
[hidden email]
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://dev.eclipse.org/mailman/listinfo/jetty-users
Reply | Threaded
Open this post in threaded view
|

Re: Issues in running jetty with intellij

Abhishek Gupta

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 "" <[hidden email]> 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" <[hidden email]> wrote:

Still nothing. Unable to understand how it is even possible.


On Tue, Jul 28, 2015, 1:09 AM "" <[hidden email]> 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 <[hidden email]> 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 abhi.bansal21@... 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
[hidden email]
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
[hidden email]
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
[hidden email]
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
[hidden email]
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
[hidden email]
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://dev.eclipse.org/mailman/listinfo/jetty-users
Reply | Threaded
Open this post in threaded view
|

Re: Issues in running jetty with intellij

Abhishek Gupta
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 <[hidden email]> 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 "" <[hidden email]> 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" <[hidden email]> wrote:

Still nothing. Unable to understand how it is even possible.


On Tue, Jul 28, 2015, 1:09 AM "" <[hidden email]> 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 <[hidden email]> 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 abhi.bansal21@... 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
[hidden email]
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
[hidden email]
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
[hidden email]
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
[hidden email]
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
[hidden email]
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://dev.eclipse.org/mailman/listinfo/jetty-users