I'm going to reply to my own post here because I've discovered
some more about it.  This problem seems only to happen on
my Debian/PPC machine and not on my Debian/x86 machine.  I'm
guessing that the culprit is the Blackdown 1.3.0-FCS runtime,
which isn't very well supported on PPC.  

> I'm wondering if there is a missing shutdown hook in the
> JbossJetty distribution.   
> 
> I start using the run_with_jetty.sh script, play with
> the demos, and ^C from the console to shut it down.  It
> appears to shut down correctly, but the next time that
> I start it up, I get a java.net.BindException from
> Hypersonic:
> 
> [Hypersonic] Starting
> [Hypersonic] Server.run/init: java.net.BindException: Address already in use
> [Hypersonic] java.net.BindException: Address already in use
> [Hypersonic]  at java.net.PlainSocketImpl.socketBind(Native Method)
> [Hypersonic]  at java.net.PlainSocketImpl.bind(PlainSocketImpl.java:397)
> [Hypersonic]  at java.net.ServerSocket.<init>(ServerSocket.java:170)
> [Hypersonic]  at java.net.ServerSocket.<init>(ServerSocket.java:82)
> [Hypersonic]  at org.hsql.Server.run(Server.java:65)
> [Hypersonic]  at org.hsql.Server.main(Server.java:33)
> [Hypersonic]  at org.jboss.jdbc.HypersonicDatabase$1.run(HypersonicDatabase.j
> ava:135)
> [Hypersonic]  at java.lang.Thread.run(Thread.java:484)
> 
> 
> Sure enough, when I grep for java processes on my machine, there's
> one that's still alive after the shutdown:
> 
> obelisk:/usr/local/jboss/jboss/bin# ps aux | grep ava
> root      3912  0.0  6.3 167832 16344 pts/7  S    11:17   0:00 /usr/local/j2s
> dk1.3/bin/ppc/native_threads/java -Djavax.xml.parsers.DocumentBuilderFactory=
> org.apache.crimson.jaxp.DocumentBuilderFactoryImpl -Djavax.xml.parsers.SAXPar
> serFactory=org.apache.crimson.jaxp.SAXParserFactoryImpl -classpath :/lib/tool
> s.jar:run.jar:../lib/crimson.jar org.jboss.Main jetty
> 
> 
> [Info] Java version: 1.3.0,Blackdown Java-Linux Team
> [Info] Java VM: Classic VM Blackdown-1.3.0-FCS,Blackdown Java-Linux Team
> [Info] System: Linux 2.2.17,ppc

----
[EMAIL PROTECTED]

_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to