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 23718 - IDE looking for j2eeserver.jar in wrong location, many exceptions logged to ide.log
Summary: IDE looking for j2eeserver.jar in wrong location, many exceptions logged to i...
Status: VERIFIED FIXED
Alias: None
Product: serverplugins
Classification: Unclassified
Component: Infrastructure (show other bugs)
Version: 3.x
Hardware: Sun Solaris
: P2 blocker (vote)
Assignee: _ gfink
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-05-17 21:12 UTC by clare.taylor
Modified: 2002-05-22 16:27 UTC (History)
3 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
Email exchange w/dev on cause and symptoms of problem (7.93 KB, text/plain)
2002-05-17 21:20 UTC, clare.taylor
Details
Exception from log file (5.00 KB, text/plain)
2002-05-20 10:37 UTC, Marian Mirilovic
Details
both exceptions (6.39 KB, text/plain)
2002-05-20 12:57 UTC, Marian Mirilovic
Details

Note You need to log in before you can comment on or make changes to this bug.
Description clare.taylor 2002-05-17 21:12:05 UTC
Some feel this should be a FFJ40 showstopper so
please consider this bug serious.  I believe the
P-team and JesseG will need to determine that. I
don't log bugs in issuezilla often so I'm going to
commit and then attempt to add supporting
documentation. For some reason the following gave
'not valid addresses' in the cc line above. They
should be on the list
George.Hernandez@sun.com,mark.dey@sun.com,
Jesse.Grodnik@sun.com

RC2 build from 5/10 with all modules installed
(EE, IFDEF) and no valid path set for the FCC Home
for the developer tools.  Exceptions are logged
silently to the ide.log file which grows in size. 
No exceptions are logged (except the two from IDE
startup) if the IFDEF module is not installed.

These exceptions are logged from simple actions
like mounting a filesystem and using the popup to
create a java package. Sometimes just moving the
cursor around in the popup and expanding the
various menus will cause the errors. Other times
they are caused by creating and deleting beans. 
Email has been going around on this problem so
this description should be enough.  I will attach
logs and emails.

I will just include the last email here from:
George.Hernandez@Sun.COM
The bug should be filed against the j2eeserver
module. The file,
org-netbeans-modules-j2ee-server-above-regular.txt,
is in the following jar:

<ide>/modules/autoload/j2eeserver.jar

The ide is looking for it in
<ide>/modules/autoload/locale/j2eeserver_f4j.jar 
and it is not there, as Tor said.

George
Comment 1 clare.taylor 2002-05-17 21:20:56 UTC
Created attachment 5837 [details]
Email exchange w/dev on cause and symptoms of problem
Comment 2 ssffleming 2002-05-17 21:47:37 UTC
Trying to get Clare out of the loop here.
Can folks in Prague investigate to determine whether
this is a showstopper.  I would say no, but I have heard
the volume of error messages in the log is high, so I'm not sure.
Feel free to downgrade this bug based on your evaluation.
Thanks,Steve
Comment 3 Jan Chalupa 2002-05-20 09:27:10 UTC
Ok, there's a lot of talk about various exceptions being logged. Where
are they? Where is the ide.log file? Please attach it.

Also note that only netbeans.org aliases can be used in the cc
interest list. That is why, sun.com aliases have been rejected with
'not valid addresses'.
Comment 4 Marian Mirilovic 2002-05-20 10:35:52 UTC
Yes, I can reproduce this issue on [orion EE](020517-rc4).

Attachment contains exception from log file.

Comment 5 Marian Mirilovic 2002-05-20 10:37:56 UTC
Created attachment 5851 [details]
Exception from log file
Comment 6 Marian Mirilovic 2002-05-20 12:57:31 UTC
Created attachment 5853 [details]
both exceptions
Comment 7 rmatous 2002-05-20 13:25:39 UTC
Definitely url must be valid.
So, if you define url that addresses resource in another module then
the url can contain nbresloc protocol. 

e.g.: url="org-netbeans-modules-j2ee-server-above-regular.txt"
could be defined as:
url="nbresloc:/org/netbeans/modules/j2ee/server/above/regular.txt"
Comment 8 Petr Jiricka 2002-05-20 14:05:56 UTC
For sure, this bug is very annoying, as the log file is 
cluttered, and outputting large log file may also 
performance implications, but I thing the decision whether 
this is a showstopper for FFJ 4 or not should be 
determined by the EE or IFDEF team. The fix is trivial and 
not risky, so if there are other issues considered for 
RC5, I think this should be fixed.

Comment 9 Petr Jiricka 2002-05-20 16:57:43 UTC
The fix needs to be done in the branded (closed source) 
part of the j2eeserver module, assigning to George.
Comment 10 _ gfink 2002-05-20 21:32:54 UTC
This is an issue with the closed source branding, which adds
the help system.  This should be logged in bugtraq not in
issuezilla.  

I've got a fix to layer_f4j.xml, but there are so many other
exceptions thrown to ide.log not affiliated with this bug that
its hard to see if the fix works.  I no longer see j2eeserver
in the log files.  I'll integrate into the closed source trunk
and others can verify from there.
Comment 11 Marian Mirilovic 2002-05-22 15:16:10 UTC
[orion](020521-rc5)
It seems like it's fixed now.


I would like to verify this one but this isn't marked as Fixed and I
don't know number of appropriate issue in bugtraq.

Could somebody mark this one as Fixed or as Invalid with appropriate
issue number from bugtraq ?! 

Thanks in advance.

Comment 12 ssffleming 2002-05-22 16:24:06 UTC
INF 7449, never went to bugtraq unfortunately...
Comment 13 Marian Mirilovic 2002-05-22 16:26:30 UTC
verified in [orion](020521-rc5)
thanks