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
(3) See the above error in the NB console log.
I have installed 9.1 AS EE build 30 which has the same appserver bit in
GlassFish V2 build 30.
same behavior with 5.5/V1U1
fix in 6.0
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.
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.
have we ever filed an issue to get the sample projects upgraded to avoid generating this message?
not worth worrying about in 7.0 time frame