User development,

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

http://community.jboss.org/message/530369#530369

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

Message:
--------------------------------------------------------------
Still looking for comments on this one:
 
I added some System out to Webserver.java
org.jboss.web.
 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");
try
{
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);
 
 
listen();
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;
}
finally
{
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:
    jboss.system:service=ThreadPool
, ObjectName: jboss:service=Naming
  State: CREATED
  I Depend On:
    jboss.system:service=ThreadPool
    jboss:service=NamingBeanImpl
]
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 0.0.0.0
 
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


_______________________________________________
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to