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 91940 - When building sample LotteryAnnotation, got "Cannot identify version of target application server" error
Summary: When building sample LotteryAnnotation, got "Cannot identify version of targe...
Status: NEW
Alias: None
Product: serverplugins
Classification: Unclassified
Component: Sun Appserver 9 (show other bugs)
Version: 5.x
Hardware: All Windows XP
: P4 blocker (vote)
Assignee: Vince Kraemer
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-01-06 00:35 UTC by judytang
Modified: 2010-04-28 17:52 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description judytang 2007-01-06 00:35:05 UTC
I am seeing the following error in the NB console log.  I have AS 9.1 EE
registered.  But the error says Defaulting to 'Sun Java System Application
Server 9.0' for descriptor files. Not sure if this can cause any other problem,
so I log this bug as P2.  Developer can change it after evaluating this bug.


"Cannot identify version of target application server.  Defaulting to 'Sun Java
System Application Server 9.0' for descriptor files."

Steps to recreate:

(1) Installed the 1/5 NB 5.5.1 build and 9.1 AS EE build 30
(2) File ->New Project->Samples->Enterprise->LotteryAnnotation, follow steps to
build project
(3)  See the above error in the NB console log.
Comment 1 judytang 2007-01-08 22:50:50 UTC
I have installed 9.1 AS EE build 30 which has the same appserver bit in
GlassFish V2 build 30.
Comment 2 Vince Kraemer 2007-01-12 01:43:33 UTC
same behavior with 5.5/V1U1

fix in 6.0
Comment 3 _ pcw 2007-04-04 00:55:38 UTC
This is predominantly being caused by old projects, usually samples, that are
using an older string for specifying the target server that does not include the
install location (and therefore, the server version cannot be ascertained by the
code in question.)

Since the server version is unknown, the configuration code must assume a
reasonable target, so defaults to 9.0 style descriptors.

I'm downgrading to P4, as this is only a problem if the user has an obsolete
project AND that project does not have any existing sun descriptor files AND is
using an 8.x appserver -- in which case they can open the sun descriptor file
and use the UI combobox to change the DOCTYPE to be appropriate for 8.x.
Comment 4 Vince Kraemer 2007-12-07 16:22:44 UTC
please close this issue if you forgot to earlier.  If this issue is still open,
please change the target milestone to reflect the current commitment.
Comment 5 Vince Kraemer 2008-10-18 01:51:21 UTC
have we ever filed an issue to get the sample projects upgraded to avoid generating this message?
Comment 6 Vince Kraemer 2008-12-24 21:57:11 UTC
not worth worrying about in 7.0 time frame