[jboss-user] [Beginner's Corner] New message: "Re: Jboss fails to start No error in console or logs."

Dan Murphy do-not-reply at jboss.com
Sun Mar 7 11:18:29 EST 2010

User development,

A new message was posted in the thread "Jboss fails to start No error in console or logs.":


Author  : Dan Murphy
Profile : http://community.jboss.org/people/djm_learningJboss

Still looking for comments on this one:
I added some System out to Webserver.java
 start method
public void start() throws Exception
System.out.println(" Im in WebServer.java");
if (threadPool == null)
threadPool = new BasicThreadPool("ClassLoadingPool");
System.out.println(" Im in WebServer.java Threadpool");
System.out.println("port = " + port);
System.out.println("backlog = " + backlog);
System.out.println("bindAdress " + bindAddress.getHostAddress());
server = new ServerSocket(port, backlog, bindAddress);
System.out.println(" Im in WebServer.java started Serversocket");
log.debug("Started server: " + server);
System.out.println(" Im in WebServer.javan listening");
catch(java.net.BindException be)
System.out.println(" Im in WebServer.java throwing Bind exception");
throw new Exception("Port "+port+" already in use.",be);
catch (IOException e)
System.out.println(" Im in WebServer.java throw io exception");
throw e;
catch (SecurityException r)
System.out.println(" Im in WebServer.java throw security exception");
throw r;
System.out.println(" Im in WebServer.java finally");
This is what I get in the server.log every time I start jboss with my server code.  Jboss runs fine by in default server.
2010-03-07 11:00:56,250 DEBUG [org.jboss.system.ServiceController] Starting dependent components for: jboss.system:service=ThreadPool dependent components: [ObjectName: jboss:service=WebService
  State: CREATED
  I Depend On:
, ObjectName: jboss:service=Naming
  State: CREATED
  I Depend On:
2010-03-07 11:00:56,250 DEBUG [org.jboss.system.ServiceController] starting service jboss:service=WebService
2010-03-07 11:00:56,250 INFO  [STDOUT] ctx.proxy start jboss:service=WebService ctx.proxy jboss:service=WebService
2010-03-07 11:00:56,250 DEBUG [org.jboss.web.WebService] Starting jboss:service=WebService
2010-03-07 11:00:56,250 INFO  [STDOUT]  Im in WebServer.java
2010-03-07 11:00:56,250 INFO  [STDOUT]  Im in WebServer.java Threadpool
2010-03-07 11:00:56,250 INFO  [STDOUT] port = 8083
2010-03-07 11:00:56,250 INFO  [STDOUT] backlog = 50
2010-03-07 11:00:56,359 DEBUG [org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread] Running
2010-03-07 11:00:56,359 DEBUG [org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread] Disabled, waiting for notification
2010-03-07 11:00:56,359 INFO  [STDOUT] bindAdress
no error seem to get thrown by serversocket. Could some other thread in jboss be killing this thread.  Security Manager.


To reply to this message visit the message page: http://community.jboss.org/message/530369#530369

More information about the jboss-user mailing list