0 Replies Latest reply on Nov 8, 2004 11:51 AM by kitt3

    JBoss 4 won't run on HP-UX with changed port

    kitt3 Newbie

      I'm looking to upgrade an HP-UX machine to JBoss 4.0, from 3.2.5. For some reason the following three lines do not show up when starting JBoss, resulting in the application server to not respond:

      09:26:00,952 INFO [Http11Protocol] Starting Coyote HTTP/1.1 on http-
      09:26:01,061 INFO [ChannelSocket] JK2: ajp13 listening on /
      09:26:01,061 INFO [JkMain] Jk running ID=0 time=0/31 config=null

      I have not even deployed my application yet. I'm just trying to get the default jboss page to show up. The only thing I'm changing from the stock installation is the port number from 8080 to 18080. I do this by changing the HTTP/1.1 connector port in the \server\default\deploy\jbossweb-tomcat50.sar\server.xml file.

      Here's the last few lines of my server.log where it seems to be missing the three steps listed above:

      2004-11-08 09:42:11,734 DEBUG [org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread] Notified that enabled: true
      2004-11-08 09:42:11,734 DEBUG [org.jboss.deployment.scanner.URLDeploymentScanner] Started jboss.deployment:flavor=URL,type=DeploymentScanner
      2004-11-08 09:42:11,735 DEBUG [org.jboss.system.ServiceController] Starting dependent components for: jboss.deployment:flavor=URL,type=DeploymentScanner dependent components: []
      2004-11-08 09:42:11,904 DEBUG [org.jboss.deployment.MainDeployer] End deployment start on package: jboss-service.xml
      2004-11-08 09:42:11,904 DEBUG [org.jboss.deployment.MainDeployer] Deployed package: file:/home/users/sys19_1/avi/jboss-4.0.0/server/default/conf/jboss-service.xml
      2004-11-08 09:42:11,908 DEBUG [org.jboss.web.tomcat.tc5.Tomcat5] Saw org.jboss.system.server.started notification, starting connectors
      2004-11-08 09:42:12,013 INFO [org.jboss.system.server.Server] JBoss (MX MicroKernel) [4.0.0 (build: CVSTag=JBoss_4_0_0 date=200409200418)] Started in 1m:18s:1ms

      Can anybody give me an idea of what may be going wrong? Oddly, JBoss 3.25 works fine.

      Also, not sure if it's related, but if I then shutdown JBoss, I get this error:

      09:42:12,013 INFO [Server] JBoss (MX MicroKernel) [4.0.0 (build: CVSTag=JBoss_4_0_0 date=200409200418)] Started in 1m:18s:1ms
      09:50:17,790 INFO [STDOUT] java.lang.OutOfMemoryError: unable to create new native thread
      09:50:17,864 INFO [STDOUT] at java.lang.Thread.start(Native Method)
      09:50:17,871 INFO [STDOUT] at java.lang.Shutdown.runHooks(Shutdown.java:126)
      09:50:17,871 INFO [STDOUT] at java.lang.Shutdown.sequence(Shutdown.java:165)
      09:50:17,871 INFO [STDOUT] at java.lang.Shutdown.exit(Shutdown.java:210)
      09:50:17,871 INFO [STDOUT] at java.lang.Terminator$1.handle(Terminator.java:35)
      09:50:17,912 INFO [STDOUT] at sun.misc.Signal$1.run(Signal.java:195)
      09:50:17,913 INFO [STDOUT] at java.lang.Thread.run(Thread.java:534)

      Thanks in advance,