Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8382107
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 9, 20262026-06-09T16:51:26+00:00 2026-06-09T16:51:26+00:00

We have a Nexus server which worked fine until friday. Nexus was stopped and

  • 0

We have a Nexus server which worked fine until friday. Nexus was stopped and since we are unable to start it again but I can’t figure out why ?

I think it’s a Jetty problem. Here is the stack strace:

jvm 1    | 2012-08-13 09:31:10 WARN  [er_start_runner] - org.mortbay.log - failed SelectChannelConnector@*:8080
jvm 1    | java.net.SocketException: Unresolved address
jvm 1    |  at sun.nio.ch.Net.translateToSocketException(Net.java:58)
jvm 1    |  at sun.nio.ch.Net.translateException(Net.java:84)
jvm 1    |  at sun.nio.ch.Net.translateException(Net.java:90)
jvm 1    |  at sun.nio.ch.ServerSocketAdaptor.bind(ServerSocketAdaptor.java:61)
jvm 1    |  at org.mortbay.jetty.nio.SelectChannelConnector.open(SelectChannelConnector.java:216)

The configuration is (jetty.xml):

<Configure id="Server" class="org.mortbay.jetty.Server">
    <Call name="addConnector">
        <Arg>
            <New class="org.mortbay.jetty.nio.SelectChannelConnector">
              <Set name="host">${application-host}</Set>
              <Set name="port">${application-port}</Set>
            </New>
        </Arg>
    </Call>

    <Set name="handler">
      <New id="Contexts" class="org.mortbay.jetty.handler.ContextHandlerCollection">
          <!-- The following configuration is REQUIRED, and MUST BE FIRST. 
               It makes the Plexus container available for use in the Nexus webapp. -->
          <Call name="addLifeCycleListener">
              <Arg>
                <New class="org.sonatype.plexus.jetty.custom.InjectExistingPlexusListener" />
              </Arg>
          </Call>

          <!-- The following configuration disables JSP taglib support, the validation of which
               slows down Jetty's startup significantly. -->
          <Call name="addLifeCycleListener">
              <Arg>
                <New class="org.sonatype.plexus.jetty.custom.DisableTagLibsListener" />
              </Arg>
          </Call>
      </New>
    </Set>

    <New id="NexusWebAppContext" class="org.mortbay.jetty.webapp.WebAppContext">
      <Arg><Ref id="Contexts"/></Arg>
      <Arg>${webapp}</Arg>
      <Arg>${webapp-context-path}</Arg>
      <Set name="extractWAR">false</Set>
    </New>

    <Set name="stopAtShutdown">true</Set>
    <Set name="sendServerVersion">true</Set>
    <Set name="sendDateHeader">true</Set>
    <Set name="gracefulShutdown">1000</Set>
</Configure>

and the plexus.properties:

application-port=8081
application-host=0.0.0.0
runtime=${basedir}/runtime
apps=${runtime}/apps
nexus-work=${basedir}/../../data/nexus/sonatype-work/nexus
nexus-app=${runtime}/apps/nexus
webapp=${runtime}/apps/nexus/webapp
webapp-context-path=/nexus
security-xml-file=${nexus-work}/conf/security.xml
application-conf=${nexus-work}/conf
runtime-tmp=${runtime}/tmp

# If this file is present, it will be used to configure Jetty.
jetty.xml=${basedir}/conf/jetty.xml

# Uncomment this to use the debug js files
#index.template.file=templates/index-debug.vm

Nexus version is 1.9.2.3

I can’t understand:
why it wants to start a connector at port 8080 (while I only set port 8081) and
what means the address * (and why not 0.0.0.0) ? And of course why it doesn’t want to start anymore ?

Thanks a lot for all your ideas!

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-09T16:51:27+00:00Added an answer on June 9, 2026 at 4:51 pm

    Solved!

    The file jetty.xml had only the ‘r’ permission which is not enough: it must have the ‘x’ permission too. So Jetty was unable to read the file jetty.xml and in that case it tries to start a default connector on ‘*:8080’ => * is not resolvable (I don’t know why they used * instead of 0.0.0.0 ???)

    So it was a configuration issue.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a servlet that was running fine until a few days ago. But
Perhaps I'm being over-ambitious, but I'm trying to write a server program which can
I have an application which upon start request around 10-12KB of data from server
I have nexus 1.5.0 setup to proxy springsource repositories but it's not working. The
We have a public Sonatype Nexus Maven Repository which is a proxy for several
I only have one actual device to test on, a Nexus One but I've
I'm trying to mavenize a project, which is using IBM MQ. In our Nexus-server,
I have installed Nexus 2.0.6 and the integration with my LDAP server is working
I have a Nexus-S which has no external notification LEDs to show a missed
We are trying to switch to gradle. Everything works fine but i have a

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.