0 Replies Latest reply on May 24, 2002 6:46 PM by David Shen

    Jboss 2.4.6 (NoClassDefFoundError: javax/net/DefaultServerSo

    David Shen Newbie

      I installed JBoss-2.4.6_Jetty-4.0.0 and type the "run.bat" command and got the following error.

      [15:05:57,378,ConfigurationService] Unexpected error
      java.lang.NoClassDefFoundError: javax/net/DefaultServerSocketFactory
      at org.jnp.server.Main.start(Main.java:214)
      at org.jboss.naming.NamingService.startService(NamingService.java:153)
      at org.jboss.util.ServiceMBeanSupport.start(ServiceMBeanSupport.java:103)
      at java.lang.reflect.Method.invoke(Native Method)
      at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1628)
      at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1523)
      at org.jboss.configuration.ConfigurationService$ServiceProxy.invoke(ConfigurationService.java:967)
      at $Proxy0.start(Unknown Source)
      at org.jboss.util.ServiceControl.start(ServiceControl.java:79)
      at java.lang.reflect.Method.invoke(Native Method)
      at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1628)
      at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1523)
      at org.jboss.Main.(Main.java:208)
      at org.jboss.Main$1.run(Main.java:110)
      at java.security.AccessController.doPrivileged(Native Method)
      at org.jboss.Main.main(Main.java:106)

      I took a look at the "server.log" file and it includes
      the jnet.jar (which contains the javax.net.DefaultServerSocketFactory file)

      Can you give me some recommendation on how to resolve
      this issue?

      Thanks

      David