0 Replies Latest reply on Oct 20, 2004 4:31 AM by arnoraps

    new Socket slow on jboss, fast on standalone

    arnoraps

      Why is using java.net.Socket so slow when used from a bean in jboss? Connecting then takes about 4-5 seconds. Connecting to mysql (not thru a connection pool) is only 20 msec.

      When i use the same code in a standalone java application, connecting with a new Socket command is very fast, so the problemn is not my machine, or my network...