users@glassfish.java.net

Re: Is it allowed to open a ServerSocket port from a bootstrap class?

From: <glassfish_at_javadesktop.org>
Date: Fri, 14 Mar 2008 14:47:37 PST

Do you need to do this in startup? Perhaps you can follow the same workaround approach that is used as in creating timers and such by creating a class that implements the ServletContextListener and put your specific logic in the contextInitialized method?
[Message sent by forum member 'samdoyle' (samdoyle)]

http://forums.java.net/jive/thread.jspa?messageID=264125