users@glassfish.java.net

Re: Deploy war in embedded Glassfish

From: <glassfish_at_javadesktop.org>
Date: Sat, 30 Jan 2010 03:11:24 PST

Hello Alexis,
I've encountered the same problem as the op.
The glassfish-embedded-all jar seems to be ok.
And I'm getting the same exception.
The root cause is :
Caused by: java.net.ConnectException: Connection refused: connect
        at java.net.PlainSocketImpl.socketConnect(Native Method)
        at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:333)
        at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:195)
        at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:182)
[....]
        at org.apache.jasper.xmlparser.ParserUtils.parseXMLDocument(ParserUtils.java:296)
        ... 45 more
[Message sent by forum member 'pdapples' (pierre.dapples_at_gmail.com)]

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