quality@glassfish.java.net

Re: Glassfish undeploy still holds references to files

From: Jose Noheda <jose.noheda_at_gmail.com>
Date: Tue, 23 Sep 2008 17:46:46 +0200

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.


>
> Not that I'm suggesting that you change your normal work process. This
> would be a quick experiment to give us just a little more data about what
> works and what does not.
>
>
>
>>
>> You can help us by using a simple but effective tool that will identify
>> where in the app server the file is being opened. Please read this blog
>> entry
>>
>> http://blogs.sun.com/quinn/entry/tool_for_diagnosing_failed_glassfish
>>
>> which contains a link to a JAR file that contains the tool. The blog
>> entry contains complete instructions. Follow them carefully to get the most
>> useful output and please post that output as a reply to this thread. (The
>> output will consist of one or more stack traces that will show what code is
>> opening the JAR file. This often points in the general direction of the
>> code that should be closing the file but is not.)
>>
>
> I'll try it and let you know
>
> Thanks.
>

I'm getting an exception (something to do with authentication?). I'm
attaching also a screen of the server configuration.

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
>





gf3_jvm_options.GIF
(image/gif attachment: gf3_jvm_options.GIF)