quality@glassfish.java.net

Re: Glassfish undeploy still holds references to files

From: Jose Noheda <jose.noheda_at_gmail.com>
Date: Thu, 25 Sep 2008 20:16:12 +0200

Sorry it took me some time. NB debugger connects fine (stops on
breakpoints). The tool fails:

C:\>java -classpath ZipFileMonitor.jar;tools.jar util.ZipFileMonitor -host
127.0.0.1 -port 9009
ZipFileMonitor(18-Mar-2007)
java.net.ConnectException: Connection refused: connect
        at java.net.PlainSocketImpl.socketConnect(Native Method)
        at java.net.PlainSocketImpl.doConnect(Unknown Source)
        at java.net.PlainSocketImpl.connectToAddress(Unknown Source)
        at java.net.PlainSocketImpl.connect(Unknown Source)
        at java.net.SocksSocketImpl.connect(Unknown Source)
        at java.net.Socket.connect(Unknown Source)
        at
com.sun.tools.jdi.SocketTransportService.attach(SocketTransportService.java:204)
        at
com.sun.tools.jdi.GenericAttachingConnector.attach(GenericAttachingConnector.java:98)
        at
com.sun.tools.jdi.SocketAttachingConnector.attach(SocketAttachingConnector.java:72)
        at util.ZipFileMonitor.connectToRemoteJVM(ZipFileMonitor.java:220)
        at util.ZipFileMonitor.run(ZipFileMonitor.java:92)
        at util.ZipFileMonitor.main(ZipFileMonitor.java:75)

Regards,

On Tue, Sep 23, 2008 at 5:59 PM, Tim Quinn <Timothy.Quinn_at_sun.com> wrote:

> Jose Noheda wrote:
>
> On Tue, Sep 23, 2008 at 4:32 PM, Tim Quinn <Timothy.Quinn_at_sun.com> wrote:
>
>> Jose Noheda wrote:
>>
>> If you build instead of clean-and-build does it work?
>>
>>
>> NB 6.5 just allows clean&build. build by default just shows an alert
>>
>> If you temporarily turn off compile on save you should be able to build
>> without cleaning.
>>
>
> Build works fine. Clean&Build undeploys the application but gets stuck
> when trying to delete the files.
>
> OK. As expected, but useful to know.
>
>
>
> I'm getting an exception (something to do with authentication?). I'm
> attaching also a screen of the server configuration.
>
> Did you specify -host ${yourhost} -port 9009 on the command line you used
> to launch the tool?
>
> Try connecting to the server using the NetBeans debugger. If that works,
> then ZipFileMonitor should also be able to connect.
>
> - Tim
>
>
> ZipFileMonitor(18-Mar-2007)
> 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 java.net.SocksSocketImpl.connect(SocksSocketImpl.java:366)
> at java.net.Socket.connect(Socket.java:519)
> at
> com.sun.tools.jdi.SocketTransportService.attach(SocketTransportService.java:204)
> at
> com.sun.tools.jdi.GenericAttachingConnector.attach(GenericAttachingConnector.java:98)
> at
> com.sun.tools.jdi.SocketAttachingConnector.attach(SocketAttachingConnector.java:72)
> at util.ZipFileMonitor.connectToRemoteJVM(ZipFileMonitor.java:220)
> at util.ZipFileMonitor.run(ZipFileMonitor.java:92)
> at util.ZipFileMonitor.main(ZipFileMonitor.java:75)
>
>
>>
>>
>> - Tim
>>
>
>
> ------------------------------
>
> ------------------------------
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: quality-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: quality-help_at_glassfish.dev.java.net
>
>
>