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 117633 - [60cat] Redeploy fails with the error Unrecognized module type for <ProjectDir>/dist/gfdeploy
Summary: [60cat] Redeploy fails with the error Unrecognized module type for <ProjectDi...
Status: RESOLVED WORKSFORME
Alias: None
Product: serverplugins
Classification: Unclassified
Component: Infrastructure (show other bugs)
Version: 6.x
Hardware: PC Solaris
: P3 blocker (vote)
Assignee: Vince Kraemer
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-10-03 14:26 UTC by vanob
Modified: 2008-10-25 03:48 UTC (History)
2 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
Content of output tab (1.92 KB, text/plain)
2007-10-03 14:28 UTC, vanob
Details
Content of output glassfish tab (2.93 KB, text/plain)
2007-10-03 14:30 UTC, vanob
Details
3 Projects (29.51 KB, application/x-tar)
2007-10-09 16:31 UTC, vanob
Details

Note You need to log in before you can comment on or make changes to this bug.
Description vanob 2007-10-03 14:26:43 UTC
[ BUILD # : 200710030000 ]
[ JDK VERSION : 1.6.0_02 ]

I've got Enterprise Project (Consisting of 3 projects) and receiving
this error in some situations.
Comment 1 vanob 2007-10-03 14:28:05 UTC
Created attachment 50096 [details]
Content of output tab
Comment 2 vanob 2007-10-03 14:30:24 UTC
Created attachment 50097 [details]
Content of output glassfish tab
Comment 3 Petr Hejl 2007-10-03 16:09:06 UTC
Please can you specify/provide some additional data?

What version of gf are you running?
Can you provide you project for testing?
Can you specify the steps to reproduce?
Do you run gf locally or as a remote server?
(Is the directory /dist/gfdeploy acessible with rights given to gf process?)
Comment 4 vanob 2007-10-04 11:11:12 UTC
I'm running glassfish v2 (build 58g)
I can provide my project for testing
I will try to reproduce it, so you can start fixing it. Unfortunately it happens randomly
glassfish is running locally and I don't think there are some problems with permissions.
All the files reside in my HOME directory.
Comment 5 Petr Hejl 2007-10-09 13:33:32 UTC
Can you provide your project as an attachment, please?
Comment 6 vanob 2007-10-09 16:31:24 UTC
Created attachment 50509 [details]
3 Projects
Comment 7 Petr Hejl 2007-10-24 13:16:58 UTC
It seems to me that the EarProject.setModules() is not called after the broken references are corrected. After that the
ear project does not know about his children (when deploying). Things get fixed when the project is closed and reopened.

There is one similar issue (right now it does not seem to be duplicate) - issue 115298.
Comment 8 Tomas Mysik 2007-10-24 16:42:44 UTC
I've been investigating a little and I've found out that if one disables Directory based deployment everything works 
without any error. Vince, can you please look at it? Reassing this issue back to me if I'm wrong, thank you.
Comment 9 Vince Kraemer 2007-11-01 20:08:55 UTC
It looks like there is something wrong with the attached app....
  It isn't ent app 11....
  The Page refers to ejbs that do not exist...
  

Since there isn't a valid test-case, I am going to mark this as future.
Comment 10 Vince Kraemer 2008-10-25 03:48:39 UTC
are you still running into this?  I have not been able to reproduce this. Please reopen and respond with valid sample
projects/app that demonstrates the issue.