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 91457 - Bundled Samples problems.
Summary: Bundled Samples problems.
Status: VERIFIED FIXED
Alias: None
Product: usersguide
Classification: Unclassified
Component: Mobility (show other bugs)
Version: 5.x
Hardware: All All
: P2 blocker (vote)
Assignee: esanches
URL:
Keywords: RELNOTE
Depends on: 104139
Blocks: 111134
  Show dependency tree
 
Reported: 2006-12-22 06:37 UTC by pcmreddy
Modified: 2007-11-01 22:18 UTC (History)
2 users (show)

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 pcmreddy 2006-12-22 06:37:24 UTC
Some of the CDC/Ricoh samples bundled in CDC 5.5 pack are not standalone.
They need some initial setup.
It may be good idea to provide some document to explain how to run this samples.

FormBrowser : it is trying to access a URL :
"http://127.0.0.1:8080/UploadAndPrint/Login"

HelloServlet : This is opened as CDC application
This is suppose to open as Webspplication.

SoapClient : Failed during installation in emulator.
Run action in NB does not work. Use must use install tab in emulator to install
and run.

SampleLockControl : Execution Failed.

TIFF Copier App : Installation Failed.

WidgetsDemoXlet : Execution failed.


There are some non printable cahectors while executing some samples.
At the following line.
System Version : 1.33.5
Comment 1 pcmreddy 2007-01-08 04:42:01 UTC
SoapClient also failed to load and execute.
Comment 2 Lukas Hasik 2007-03-12 10:26:04 UTC
esanches, please evaluate these bugs. 
Some of them might be fixed already, some of them may be documented in other
way, etc.
thanks.
Comment 3 _ esanchez 2007-05-19 00:46:16 UTC
Fixed the issue; it was actually in DalpBuilder. The code kept defaulting to a
DALP format used for applications deployed to a web server that the MFD/emulator
is supposed to access (as is done in SSH/SCP deployment). Since no web address
is set until you go into the Project Properties dialog, null was put into the
URL and it will refuse to install.
Comment 4 _ esanchez 2007-05-19 01:23:17 UTC
There is one case that was not addressed; UploadAndPrint (referred to in
FormBrowser sample) is a SDK/J servlet designed to run on the MFD; however,
since we do not have a working module (at the moment) to support OSGi services
on CDC devices, there is no way to run it with the CDC pack as is.

What I suggest in the meantime would be publishing a ZIP file containing the
publishable source material for our SDK/J Training CD on java.net; that would
include UploadAndPrint and the HTML file accompanying the FormBrowser project
can contain a reference to that ZIP file. Unfortunetely, I don't know this is an
agreeable with the "out of the box experience" Sun wants out of the samples. And
our Training CD is not available to Basic Membership as of the moment (efforts
are still underway to change this).

Shall I leave it in or take it out?
Comment 5 luky 2007-07-23 10:15:32 UTC
Peter, can you please comment on this issue?
Comment 6 Petr Suchomel 2007-07-24 00:28:31 UTC
The current proposal after talking with is to remove parts which are servlet oriented, then modify the example by
pointing it some well known URL, e.g. netbeans.org. 
Comment 7 John Jullion-ceccarelli 2007-08-06 15:48:13 UTC
Is this issue still in NetBeans 6.0 and is it planned to be resolved by Beta 1?
Comment 8 Petr Suchomel 2007-08-06 15:49:41 UTC
Yes, we agreed with Ricoh to get this fixed for Beta1
Comment 9 luky 2007-08-13 10:59:05 UTC
Ok current status is:
FormBrowser - We are waiting for a sample web page beeing made available by Ricoh
HelloServlet - removed
SoapCleinet - removed
SampleLockControl - working
TiffCopier - removed
WidgetsDemoXlet - removed

TimeSet - user must set the proper address in the code, otherways error dialog is shown. Should be mentioned in doc

all other samples should work
Comment 10 Lukas Hasik 2007-11-01 15:27:39 UTC
this issue has been fixed - all the ricoh samples works SampleLockControl, Puzzle15Xlet, HardKey, ButtonTest

The missing URL in the FormBrowser sample is being tracked as issue 104139.
The missing address in TimeSet sample should be mention in documentation.

->FIXED
Comment 11 Lukas Hasik 2007-11-01 22:18:36 UTC
v