How to change jetty jndi port

View: New views
1 Messages — Rating Filter:   Alert me  

How to change jetty jndi port

by daniel.mfreitas :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

How can I change the port jetty jndi runs on? I have another app server already binding its jndi to 1099. I tried hard to find this information but couldn't find it anywhere.

Note, I'm using embedded jetty and doing all the setup by code. I'm not using jetty.xml. A code-centric approach would be appreciated.