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 108313

Summary: TRS sample borken
Product: usersguide Reporter: Ivan Sidorkin <ivansidorkin>
Component: SOAAssignee: Vladimir Yaroslavskiy <yaroslavskiy>
Status: VERIFIED FIXED    
Severity: blocker Keywords: REGRESSION
Priority: P3    
Version: 6.x   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter:

Description Ivan Sidorkin 2007-06-27 17:28:36 UTC
Build M10 and 20070627

- create TRS sample

ReservationPartnerServices created with Missing Server Problem
Comment 1 Vladimir Yaroslavskiy 2007-06-29 11:49:50 UTC
Works fine on build 200706290000.
Comment 2 Ivan Sidorkin 2007-06-29 14:58:12 UTC
reproduced on NetBeans IDE Dev (Build 200706290000)
from http://bits.netbeans.org/netbeans/6.0/nightly/
Comment 3 Sergey Lunegov 2007-07-02 07:40:25 UTC
Vladimir, probably it works OK on M10 branch and doesn't work on trunk.
Please look at this.
Comment 4 Ivan Sidorkin 2007-07-02 11:52:09 UTC
looks like problem in jdk version
it work on jdk1.5.0_12 and doesn't work on jdk1.6.*
Comment 5 Vladimir Yaroslavskiy 2007-07-02 12:51:14 UTC
I use jdk 1.5, so I can't reproduce it.
Will investigate with jdk 1.6.
Comment 6 Vladimir Yaroslavskiy 2007-07-03 08:55:40 UTC
If jdk has version 1.5, Application Server returns its type "SJSAS",
if jdk is 1.6, the type of the server is "J2EE".

EJB module (ReservationPartnerServices from TRS) has type of server
which should be used. At the first opening, the module looks for
a server with the same type and if server is found, it stores link
to the server in private properties. In our case app server returns
different type depending on jdk.

So, ReservationPartnerServices module should be adjusted.
Comment 7 Vladimir Yaroslavskiy 2007-07-03 09:51:22 UTC
Fixed.
Comment 8 Ivan Sidorkin 2007-07-04 13:10:34 UTC
verified in (Build 200707031200)