A CallbackHandler Java class packaged in a Composite Application project's service assembly disappears if the project is
deployed using NetBeans. The class disappears from the project's dist and build directories *and* is not present in the
If the assembly is deployed from the command line, the problem does not occur.
The issue was encountered using NetBeans "sierra" build 20080421151521.
1. Build the attached Comp App project in NetBeans.
2. Go to the Files view and navigate into to: project's build/sun-http-binding.jar/xwss/saml.
3. Note the presence of the SamlCallbackHandler.class file.
4. Return to the Project view, and deploy the Comp App in NetBeans.
5. Return to the Files view and note the class file noted in step 3 is gone.
6. Navigate into your app server's
subdirectory. Note the subdirectory 'xwss' is not present.
7. Undeploy the project from NetBeans.
8. Repeat steps 2-3.
9. Deploy the project from the command line (using asadmin deploy-jbi-service-assembly <path to assembly zip file>)
10. Repeat step 6, but note the subdirectory 'xwss' is present, this time around.
Created attachment 60580 [details]
CompApp and BPEL projects
Created attachment 60581 [details]
Callback Handler project
I also attached the Java project for the Callback Handler, as the Comp App has an internal reference to it, and builds
the Callback Handler class from it.
To use the callback handler project without further modification in the Comp App, please place the Callback Handler's
java project in drive C:, directory \WSIT, i.e., C:\Wsit\CallbackHandlerSample.
Whoops, sorry about that. Step 8 should say, repeat steps 1, 2 and 3. After the class is deleted, a rebuild of the
project is necessary before attempting to deploy it from the command-line.
Noel, can you verify if this is an issue with Nb 6.1? You can use the caps installer.
Will try to fix this in patch 1
The issue hasn't be fixed till 61patch1 nomination cut-off date.
Marked as release61_fixes_candidate2.
Fixed in trunk, changeset: da6361d9b972
Integrated into 'main-golden', available in NB_Trunk_Production #158 build
User: Tientien Li <email@example.com>
Log: IZ#133733 fix missing WSIT callback class for deployment
Verified using 20080429-0500 build. It failed. Not sure which build to pick up in order to have the fix for the above
mentioned issue. Awaiting developers response.
According to the change log of NB production build #158, the change for IZ#133733 was included in the build.
I just download and verified changes with the latest nightly builds, 200804291203, from
Where did you download the installer build 20080429-0500 from?
QA, please verify this fix till 09-Jun-2008, so it can be part of NB 6.1 patch 2.
This issue has been nominated for NB IDE 6.1 patch2 although it hasn't been verified by QE yet. If it isn't verified by
12-Jun-08, it's nomination will be removed.
Product Version: NetBeans IDE Dev (Build 200806111204)
Java: 1.6.0_03; Java HotSpot(TM) Client VM 1.6.0_03-b05
System: SunOS version 5.10 running on x86; ISO646-US; en (nb)
After step 6, the SamlCallbackHandler.class file was deployed in the SU and put at
In addition to the described steps, I needed to add webservices*.jar files in glassfish as libraries required by the
CallbackHandlerSample, and I needed to open the WSIT properties for SamlVoucherServicePort1 and change Callback Project
to point to the actual location of the CallbackHandlerSample project, because I was not testing on Windows.
The fix has been ported into the release61_fixes repository.