This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 149129 - [65cat] I can't redeploy an application without restarting the server
Summary: [65cat] I can't redeploy an application without restarting the server
Status: RESOLVED WORKSFORME
Alias: None
Product: serverplugins
Classification: Unclassified
Component: Sun Appserver 9 (show other bugs)
Version: 6.x
Hardware: PC Windows Vista
: P3 blocker (vote)
Assignee: Vince Kraemer
URL:
Keywords: RANDOM
Depends on:
Blocks:
 
Reported: 2008-10-03 21:32 UTC by ieising
Modified: 2009-09-15 15:34 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
Log-file (24.61 KB, text/plain)
2008-10-03 21:33 UTC, ieising
Details

Note You need to log in before you can comment on or make changes to this bug.
Description ieising 2008-10-03 21:32:47 UTC
[ BUILD # : 200810011410 ]
[ JDK VERSION : 1.6.0_07 ]

Hi,

When I deploy and run my EAR project, and then run it again. I get DB
errors (see attached log-file).

In most cases I can reproduce this by running the project and then
without stopping GF2 start a debug session.

This behavior is not consistent and I haven't found a pattern to
reproduce this problem successfully.

Iwan
Comment 1 ieising 2008-10-03 21:33:48 UTC
Created attachment 71145 [details]
Log-file
Comment 2 _ jyothivasa 2008-11-21 01:12:47 UTC
Not planned for 7.0
Comment 3 Jayashri Visvanathan 2008-11-26 01:26:22 UTC
Dongmei, I see some JPA errors. May you can evaluate the issue.
thanks
-jayashri
Comment 4 Dongmei Cao 2008-12-08 21:42:48 UTC
The ClassNotFoundException from TopLink just means some classes or jars are missing from your .ear.

Comment 5 ieising 2009-02-15 07:00:10 UTC
These CNFE are also rather interesting since the classes are in the EAR, EJB resp. WAR projects as needed.

I haven't actually come across this problem for quite a while, but I haven't been working in this area either. I'll get
a more closer look at the problem again and see if it still happens sometime later the coming week or week after that.

Iwan
Comment 6 Petr Jiricka 2009-06-08 15:23:55 UTC
Thanks, Iwan. This could be a server bug or a GlassFish plugin bug, reassigning. You may want to update to GF v2.1 to
see if that fixes the problem.
Comment 7 ieising 2009-09-15 12:47:50 UTC
I haven't come across this problem anymore, it all seems to be working now, and I've been debugging my EAR project quite
extensively lately.

Some other, possibly related, issue I have is that breakpoints are only being respected after deploying my EAR when a
debug session is already in progress. So when I have breapoints and I start debugging, they are not respected. Not in
the servlets, not in the WS not in EJBs. But when I deploy my EAR again while the debugging session is in progress, the
breakpoints are being respected and the debugging can begin.

This I witnessed in NB671 and I think also in the current dev builds for 68. BTW I'm using GF21

Iwan
Comment 8 Vince Kraemer 2009-09-15 15:34:44 UTC
have you opened an issue for the breakpoint issue you just described?

If you have not... please do.

I am closing this issue as works for me.