Release Notes for Sun ONE Studio 5 update 1, Standard Edition
(Sun ONE Studio 5 update 1, Standard Edition)
For the most current version of these notes, see the version on the Sun ONE
Studio Developer Resources page at http://forte.sun.com/ffj/documentation
NOTE: For Sun ONE Studio 5 update 1, Standard Edition, the volume names for
the product and companion CDs are:
en_studiose_5u1
studiose_5u1_companion
This section of these Release Notes ... |
Provides this information ... |
A. Introduction |
Introduction to these release notes and the Sun ONE Studio
5 update 1, Standard Edition product. |
B. What's New: Enhancements and New Features
|
New features and enhancements for this release of the Sun
ONE Studio 5 update 1, Standard Edition product. |
C. Limitations |
Limitations on usage of the Sun ONE Studio 5 update 1, Standard
Edition product. |
D.System Requirements |
Hardware requirements needed to install a minimum Sun ONE
Studio 5 update 1, Standard Edition configuration on any of the supported
platforms. |
E. Operating Systems, Servers, Databases, ORBs and Version Control Systems |
Operating systems and other software supported by this release. |
F. Platforms |
Operating systems on which Sun ONE Studio 5 update 1, Standard
Edition, has been tested. |
G. Installation Notes |
General information about installation, in addition to that
presented in the Sun ONE Studio 5 Getting Started Guide. Refer to
that document at http://forte.sun.com/ffj/documentation. |
H. Module Notes |
General and miscellaneous information about individual modules. |
I. Bugs and Issues |
Bugs and Issues related to functionality in this release of
the product, supplied with workarounds, where applicable. |
J. Accessibility |
Accessible features of the Sun ONE Studio update 1, Standard
Edition product. |
K. Other Documentation |
Sources of information about Sun ONE Studio 5 update 1, Standard
Edition, in documentation form. |
L. Update Center |
General information about the Sun ONE Studio update 1, Standard
Edition, Update Center. |
M. NetBeans Open Source Project |
Descriptive information and web address related to the NetBeans
Open Source Project. |
N. Redistributables |
Redistributable binary files supplied with this product. |
O. Mobile Modules Release Notes |
Release Notes for Mobile Edition Modules supplied with Sun
ONE Studio 5 update 1, Standard Edition. |
A. Introduction
These release notes represent the release notes for the Standard Edition of
the Sun Open Net Environment Studio 5 update 1, Standard Edition, product.
These notes also contain the Mobile Modules Release Notes.
NOTE: Sun ONE Studio 5 update 1, Standard Edition requires the Java
2 Software Development Kit, Standard Edition (J2SE SDK) v. 1.4.1_02 or
higher.
Sun ONE Application Server 7
Sun ONE Application Server 7 update 1, bundled with Sun Open Net Environment
Studio 5 product, is a developer-only product and is not intended for runtime
use.
To obtain information about the current version of the Sun ONE Application
Server, enter asadmin
version
at the command prompt:
<instance>/appserver/bin/asadmin version
Sun ONE Studio 5 update 1, Standard Edition, for the
Solaris 9 OS x86 Platform Edition
You can download and install the Sun ONE Studio 5 update
1, Standard Edition for the Solaris 9 OS x86 Platform Edition. The instructions
for downloading and installing the x86 version using the web download can be
found on the product download web site.
You can also find the installer for the Solaris 9 OS
x86 Platform Edition on the CD-ROM. Refer to the Sun ONE
Studio 5 update 1, Standard Edition Getting Started Guide for instructions.
Follow the instructions for installing the IDE on Solaris 9 OS by starting the
install from the CD-ROM. You need root permission to install this product.
If you are installing the Sun ONE Studio 5 update 1,
Standard Edition, for the Solaris 9 OS x86 Platform Edition, note these restrictions:
- The Sun ONE Application Server 7, Update 1, is not
supported. You will be notified when you run the Installer through the installer
that the Sun ONE Application Server 7, Update 1 is not supported with Sun
ONE Studio 5, Standard Edition for the Solaris 9 OS x86 Platform Edition.
- The Sun ONE Studio 5, J2ME Wireless Toolkit 1.0.4.
is not supported on the Sun ONE Studio 5 update 1, Standard Edition for the
Solaris 9 OS x86 Platform Edition. You will not be able to use add-on Mobile
Edition modules available from the Sun ONE Studio Update Center
- For users of the Sun ONE Studio CORBA module, you
can use the J2SE 1.4 ORB. However, none of the other ORBs currently supported
by other versions of Sun ONE Studio 5 are supported on the Sun ONE Studio
5 update 1, Standard Edition for the Solaris 9 OS x86 Platform Edition.
- The Generic VCS Module, PVCS, is not supported on
the Sun ONE Studio 5, Standard Edition for the Solaris 9 OS x86 Platform Edition.
For more information, see E.
Operating Systems, Servers, Databases, ORBs and Version Control Systems
in this document.
- ClearCase is not supported on the Sun ONE Studio 5,
Standard Edition for the Solaris 9 OS x86 Platform Edition.
Knowledge Base
You can find answers to many of your questions by accessing a large, searchable
FAQ database. This database is a dynamic, growing knowledge base that offers
customized searches based on your needs. It is referred to as the Knowledge
Base and is accessible through the Sun ONE Studio Developer's Portal:
http://forte.sun.com/ffj/knowledgebase.html
When you first run the IDE, you can import the settings that you used in a
previous installation of the IDE. These settings include project-specific settings
and global options. If you choose not to import settings from a previous release,
the IDE begins with a set of default settings. The Import Wizard guides you
through the choices.
You can import settings from the NetBeans IDE v. 3.0, 3.1, 3.2, 3.3, and 3.4.
You can also import settings from Sun ONE Studio (formerly Forte for Java) software
versions 2.0, 3.0, 4 and 4.1.
In the NetBeans IDE Release 3.2 or above and Sun ONE Studio 3.0 product or
above, you can find the user directory when running the software. Choose Help
| About, and click the Detail tab.
Though it is possible to import settings from a previous IDE installation
into the Sun ONE Studio 5 update 1, Standard Edition software, it is not possible
to import all settings from the Sun ONE Studio 5 product into an earlier IDE
release.
Future Removal of Modules
In a release subsequent to Sun ONE Studio 5 update 1, Standard Edition, three
modules will be removed. These modules are the Forte for Java JNDI
Module, the CORBA Module, and the Forte for Java RMI Support Module.
Although these three modules will no longer be available in the Studio ONE Studio
distribution, you can develop to the RMI, CORBA, and JNDI functionality by writing
code within the Sun ONE Studio development environment.
B. What's New: Enhancements and New Features
The following section provides information on enhancements and new features
available with Sun ONE Studio 5 update 1, Standard Edition..
Application Framework 2.1
Sun ONE Studio Application Framework 2.1 is now bundled
with the Sun ONE Studio product. The Sun ONE Studio Application Framework product
is a mature, powerful, standards-based J2EE Web application framework geared
toward enterprise Web application development. Sun ONE Studio Application Framework
unites familiar concepts such as display fields, application events, component
hierarchies, and a page-centric development approach, with a state-of-the-art
design based on the Model-View-Controller and Service-to-Workers patterns.
Sun ONE Studio integration with the Sun ONE Studio Application Framework 2.1
product now offers a quantum leap in RAD Web application
productivity. The product features a rich GUI toolset for the Sun ONE Studio
product that provides rapid visual development of Web applications based on
the time-tested Sun ONE Application Framework framework runtime and the industry
standard J2EEplatform.
The Sun ONE Application Framework toolset supports an expanded and powerful
component architecture.
The Sun ONE Studio Application Framework 2.1 product
has the following features, added since the Sun ONE Application Framework 2.0
release:
- New Models Components
- Bean Adapter Model - A model that adapts to java
bean properties
- Custom Model - A generic abstract model implementation that can
be completed by a developer
- Custom Simple Dataset Model - A concrete
model implementation that can be customized by the developer
- Custom
Tree Model - An abstract tree model implementation to be completed
by the developer
- HTTP Session Model - Model using HTTP session as
its backing store
- JDBC Stored Procedure Model - Model for executing
stored procedures on an RDBMS using JDBC
- Object Adaptor Model -
Model encapsulating an arbitrarily complex JAva Object
- Resource
Bundle Model - Model providing resources from a bundle that may
be localized
- Validation Handler Exception Handler Event/Command Descriptor
- New Visual
Components
- Data Driven Combo Box
- Data Driven List Box
- Data Driven Radio Buttons
- File Upload
- Validating Text Field
- Validating Text Area
- Commands
- New Command Wizard
- Ability to Chain Commands
- Built-In Commands
- Execute Model Command
- Got Page Command
- Foward Command
- Goto Page Command
- Include Page Command
- Redirect Command
- JSP
- Support for JSP Templates
- JSP Pagelets for Pagelet Components (TiledView,
etc)
- Support for stylesheets (CSS)
- New Component Palette
- Point and click addittion of components to pages
- Display of available
Visual Components delivered in component
libraries including S1AF
supplied and
custom
built components
- Displayof
available
Non -Visual
Components delivered
in component libraries
including S1AF
supplied as
well as
custom built
components
- Displays
Application Level
Components availbe
in the
current application
- New
Dedicated S1AF
Workspace ...
- Convenient
grouping of common
features in
one workspace
- Can
be customized
to suite
- Import
Web Application
- Allows
the importing
and converting
of an
exisitng J2EE
Web Application
to a Sun
ONE Application Framework
application.
Any J2EE
web
applications
can be
imported. such
as
Struts
or
other types
of
J2EE
Applications
- New
Documentation
- Component
Developers
Guide
- IDE
Guide
- Developers
Guide
- You
can
now
use
CVS
or
Clearcase
with
S1AF
Applications
J2EE
- You can now use CVS or Clearcase with J2EE Applications
- Sun ONE Application Server has replaced the J2EE Reference Implementation
server as the default application server.
Web Services
- Additional JAX-RPC support for security (HTTP basic authentication and HTTPS-SSL
security), SOAP message handlers, stateful web services, and attachments
- Improved Wireless Integration for kSOAP (complex data types, generation
of MIDP test client, validation)
- Improved test clients using a custom JSP tag library generated from a web
service's WSDL
- Seamless configuration of Tomcat as the web container for the local UDDI
registry.
Miscellaneous IDE Changes
- The JUnit module has been added.
- The supported version Ant has changed to version 1.5.1
- Drag and drop has been enabled for Explorer nodes.
- Support has been added for JDK version 1.4 features, such as assertions.
- Undo/redo capability has been added to the Form Editor.
- Parser errors are now highlighted by glyphs in the gutter of the Source
Editor window.
- The design of the Debugger window is improved.
- The IDE now has Fix and Continue (HotSwap) support.
- The IDE now has XML schema and XSL transformation support.
- The IDE now has a toolbar in the Source Editor window.
- Import Management Tool added to simplify handling of imports in Java classes.
- The IDE now has a customizer for maintaining code completion databases.
- The Javadoc tab is no longer present in the Explorer.
- The Javadoc Manager is present on the Tools menu to enable mounting of filesystems
of documentation generated with the Javadoc tool.
- The View menu now contains the Documentation Indices command, which enables
viewing of mounted Javadoc documentation in a web browser.
- The Running workspace is no longer in the IDE.
- A Close button is present on all tabs.
- Some features that existed in previous IDE releases have been removed from
the standard distribution:
- XML Tree Editor (because of persistent performance problems - see issue
31656)
- Support for the JDK version 1.1 Tools debugger, which is not supported
in JDK version 1.4.
- The Ant Manual and the Javadoc for Ant. You can add them to the IDE
by downloading the Ant Documentation module from the NetBeans Update Center.
Bug Submitter
The Bug Submitter feature enables you to submit problem reports (bugs) related
to Sun ONE Studio, ideas for improvements (requests for enhancement, or RFEs),
and ease-of-use suggestions (EOUs) to Sun Microsystems.
The preferred method is to open the Bug Submitter wizard from within the IDE,
fill in the fields, and send the report using either the HTTP or SMTP protocol.
The Bug Submitter wizard captures certain data from the IDE automatically.
However, if the IDE or the wizard is not available, you can complete and send
a report through the portal, using a web browser to get to the Bug Submitter
web page.
Both the wizard and the web page are available from within the IDE, as is
online help on the Bug Submitter feature.
C. Limitations
This section describes limitations related to use of Sun ONE Studio 5 update
1, Standard Edition product.
Clients of Web Services Created from WSDL
When you create a web service from a WSDL file, clients that are created from
this WSDL file cannot invoke operations on the web service. To create a client
that can invoke operations on this web service, you must create it using the
web service as the source.
Alternatively, you can generate a WSDL from the newly-created web service and
use that WSDL as the source of the client.
D. System Requirements
The following table lists the system requirements needed to install a minimum
configuration on any of the supported platforms. The first column lists the
type of requirement: hardware system, memory, and necessary disk space. The
right columns lists the requirements by platform.
Sun
ONE Studio 5 update 1, Standard Edition |
Solaris 9 operating system, SPARC® platform,
Solaris 8 operating system, SPARC® platform
|
Windows 2000, Windows XP
Professional |
Linux RedHat
7.2 |
Solaris 9 OS
x86 Platform Edition |
Hardware
System |
Minimum |
UltraSPARC II
450 MHz
Ultra 60
|
Pentium
III
500 MHz
|
Pentium
III
500 MHz |
Pentium
III
500 MHz |
Hardware
System |
Recommended |
UltraSPARC III
750 MHz
SunBlade 1000
|
Pentium III
1 GHz
|
Pentium III
1 GHz |
Pentium III
1 GHz |
Memory
(RAM) |
Minimum |
512
MB |
512 MB |
512 MB |
512 MB |
Memory
(RAM) |
Recommended |
1 GB |
768 MB |
768 MB |
768 MB |
Free
disk space for installation |
|
Sun ONE Studio 5 only
150 MB
Sun ONE Studio 5 plus Sun ONE Application
Server 7
550 MB
|
Sun ONE Studio 5 only
150 MB
Sun ONE Studio 5 plus Sun ONE Application
Server 7
450 MB
|
Sun ONE Studio 5 only
150 MB
Sun ONE Studio 5 plus Sun
ONE Application Server 7
485 MB
|
Sun ONE Studio 5 only
150 MB
|
|
E. Operating Systems, Servers, Databases, ORBs,
and Version Control Systems
The following table describes Operating Systems, servers, databases, version
control systems and ORBS supported by Sun ONE Studio 5, Standard Edition.
# |
Operating Systems |
Application Servers |
Web Servers |
Web Browsers |
VCSes |
Database servers, JDBC Drivers, ORBs |
1
|
Win2000 SP3 |
Sun ONE AS 7, SE, BEA WebLogic 6.1 SP4/7.0 SP2 |
Sun ONE Application Server 7 Update 1, SE, Tomcat 4.1
Internal, TomCat 4.0.6 External |
Netscape
7.02
Internet Explorer 6 |
VSS 6.0,
CVS 1.11, ClearCase V2002 u2 |
Oracle 9i/JDBC Thin Driver 9
MS SQLServer 2000, JDBC-ODBC bridge/SQL Server 2000 ODBC driver
Pointbase 4.2 Network Edition/Pointbase JDBC Driver
IBM DB2 8.1/JDBC Thin Driver for DB2 8.1
VisiBroker 3.4, VisiBroker 4.0, Orbix 2000 for Java, OrbixWeb 3.2, ORBacus
4.0.4, J2SE 1.4 ORB, J2EE 1.2 ORB |
2
|
Windows XP Professional SP1 |
Sun ONE AS 7, SE, BEA WebLogic
6.1 SP4/7.0 SP2 |
Sun ONE Application Server 7 Update 1,SE, Tomcat 4.1 Internal,
TomCat 4.0.6 External |
Netscape
7.02
Internet Explorer 6 |
VSS 6.0,
CVS 1.11, ClearCase V2002 u2
|
Oracle 9i/JDBC Thin Driver 9
MS SQLServer 2000, JDBC-ODBC bridge/SQL Server 2000 ODBC driver
Pointbase 4.2 Network Edition/Pointbase JDBC Driver
IBM DB2 8.1/JDBC Thin Driver for DB2 8.1
VisiBroker 3.4, VisiBroker 4.0, Orbix 2000 for Java, OrbixWeb 3.2,
ORBacus 4.0.4, J2SE 1.4 ORB, J2EE 1.2 ORB
|
3
|
Linux RedHat 7.2 |
Sun ONE AS 7, SE BEA WebLogic 6.1 SP4/7.0 SP2 |
Sun ONE Application Server 7 Update 1,, SE, Tomcat 4.1
Internal, TomCat 4.0.6 External |
Netscape
7.02 |
CVS 1.11, ClearCase V2002 u2, |
Oracle 9i/JDBC Thin Driver 9
Pointbase 4.2 Network Edition/Pointbase JDBC Driver
IBM DB2 8.1/JDBC Thin Driver for DB2 8.1
VisiBroker 3.4, VisiBroker 4.0, Orbix 2000 for Java, OrbixWeb 3.2,
ORBacus 4.0.4, J2SE 1.4 ORB, J2EE 1.2 ORB
|
4
|
Solaris 9 SPARC® (32/64 Bit) |
Sun ONE AS 7, SE, BEA WebLogic
6.1 SP2/7.0 SP2 |
Sun ONE Application Server 7 Update 1, SE, Tomcat 4.1
Internal, TomCat 4.0.6 External |
Netscape
7.02 |
CVS 1.11, ClearCase V2002 u2 |
Oracle 9i/JDBC Thin Driver 9
Pointbase 4.2 Network Edition/Pointbase JDBC Driver
IBM DB2 8.1/JDBC Thin Driver for DB2 8.1
VisiBroker 3.4, VisiBroker 4.0, Orbix 2000 for Java, OrbixWeb 3.2,
ORBacus 4.0.4, J2SE 1.4 ORB, J2EE 1.2 ORB
|
5
|
Solaris 8 SPARC (32/64 bit) |
Sun ONE AS 7, SE,
BEA WebLogic 6.1 SP2/7.0 SP2 |
Sun ONE Application Server 7 Update 1, SE,Tomcat 4.1 Internal, TomCat
4.0.6 External |
Netscape
7.02 |
CVS 1.11, ClearCase V2002 u2 |
Oracle 9i/JDBC Thin Driver 9
Pointbase 4.2 Network Edition/Pointbase JDBC Driver
IBM DB2 8.1/JDBC Thin Driver for DB2 8.1
VisiBroker 3.4, VisiBroker 4.0, Orbix 2000 for Java, OrbixWeb 3.2,
ORBacus 4.0.4, J2SE 1.4 ORB, J2EE 1.2 ORB
|
6
| Solaris
9 OS x86 Platform Edition |
BEA WebLogic 6.1 SP2/7.0
SP2 |
Tomcat 4.1 Internal,
TomCat 4.0.6 External |
Netscape
7.02 |
CVS 1.11 |
Oracle
9i/JDBC Thin Driver 9
Pointbase 4.2 Network Edition/Pointbase JDBC
Driver
IBM DB2 8.1/JDBC Thin Driver for DB2 8.1
J2SE 1.4 ORB
Please see the restrictions under:
Sun ONE Studio 5 update 1, Standard Edition,
for the Solaris 9 OS x86 Platform Edition
|
F. Platforms
NOTE:The Sun ONE Studio 5 update 1, Standard Edition software
requires J2SE SDK v. 1.4.1_02 or higher.
-
The Sun ONE Studio 5 update 1, Standard Edition has been
tested on the following platforms:
-
- Win2000 SP3
- Windows XP Professional SP1
- Linux RedHat 7.2
- Solaris 9 SPARC (32/64 bit)
- Solaris 8 SPARC (32/64 bit)
- Solari 9 OS x86 Platform Edition
Multi-User Platforms:
SunRay server
This section provides additional information about installing Sun ONE Studio
5, update 1, Standard Edition.. For complete information on installing Sun
ONE Studio 5, Standard Edition, update 1, refer to the Sun ONE Studio 5
update 1, Standard Edition for Java Getting Started Guide, available at
http://forte.sun.com/ffj/documentation
Solaris Packages
Before installing the Sun ONE Application Server with Sun ONE Studio on
a Solaris system, you must verify the following packages are installed on
a Solaris system:
SUNWpr
version 4.1.2
SUNWtls
version 3.3.2
You can display information related to these two packages with these commands:
pkginfo -l SUNWpr
pkginfo -l SUNWtls
If both packages are present, then verify these patches are installed:
For Solaris 9: 114049-03
For Solaris 8: 114045-02
To install these packages on the system:
-
-
Untar its contents.
-
Run these commands:
cd <UntarDirName>
pkgadd -d . SUNWpr SUNWtls
Following successful package installation, you must apply patches:
For Solaris 9 ONLY: cd Solaris9 ; patchadd -d 114049
For Solaris 8 ONLY: cd Solaris8 ; patchadd -d 114045
NOTE: these patches are Solaris OS version-specific. You should
only apply 114049 on Solaris 9 systems, and 114045 only on Solaris 8 systems.
IMPORTANT: On Solaris 9, if the SUNWpr
and SUNWtls
packages have been installed on the system, your applying the patch might
result in the following error:
ERROR: This patch is incompatible with patch 114045-02
which has already been applied to the system...
If so, you must uninstall both SUNWpr
and SUNWtls
packages using pkgrm
, then re-install both packages following
the instructions above.
The Sun ONE Application Server 7 Update 1 Installation Guide (817-2169-10),
Chapter 2 in the System Requirements' section on "Solaris Patch Requirements"
has detailed information on why you would need to be concerned about Solaris
patches and how you do the install of the SUNWpr
, SUNWtls
packages and the patches 114045-02 for Solaris 8, 114049-03 for Solaris
9 (from the tar file).
NOTE: The nss_nspr.tar
file contains the nss_nspr/README.txt
which has the same text as the Sun ONE Studio Application Server 7 Update
1 Installation Guide section but only provides installation information
and does not provide background information.
H. Module Notes
This section provides additional information about individual modules that
make up the Sun ONE Studio 5 update 1, Standard Edition product.
Browsers Used with Sun ONE Studio 5 update 1, Standard
Edition
J2EE EJB Builder (EJB Initialization)
RMI, JNDI, CORBA
Web Services
J2EE Web Tier
Sun ONE Application Server
Browsers Used with Sun ONE Studio 5 update 1, Standard
Edition
On Microsoft Windows platforms, if Netscape 7 is used, you should use the
Netscape 6 setting:
- Choose
Tools->Options
- Expand
IDE Configuration
|
Server AndExternal
ToolSettings |
Web Browsers |
External
Browsers
- Set the DDE server property to
Netscape 6
J2EE EJB Builder (EJB Initialization)
When you add a method to an EJB such as a create or business method using
the EJB menu items ("Add Create Method..."), the IDE adds the method
declaration in all necessary classes and interfaces. Additionally, you might
edit an EJB interface directly, type in a new method and the IDE adds the
associated method declaration to the bean class.
After you create a new EJB via an EJB wizard, you should select the newly
created EJB node in the Explorer window.
However, in some cases, when an EJB has remote interfaces and the remote
interface Java class name is the same as the EJB name (as it would be by default),
the IDE causes this Java class node to be selected instead.
Because the EJB node is not selected, the EJB is not completely initialized
internally. If you then edit an EJB interface and add a new method, the IDE
will NOT add the associated method to the bean class because the EJB has not
fully been initialized.
The solution is for you to select the EJB node after creating
it via the EJB wizard to verify that the EJB has been fully initialized.
This problem does not occur if you are creating an EJB with only local
interfaces because none of the classes created in that case have the same
name as the EJB.
RMI, JNDI, CORBA
These modules are not bundled with the Sun ONE Studio installer but are available
as NetBeans Modules from the Sun ONE Studio Update Center:
-
Sun(TM) ONE Studio 5, CORBA Technology Module
-
Sun(TM) ONE Studio 5, JNDI Technology Module
-
Sun(TM) ONE Studio 5, RMI Technology Module
Web Services
Tomcat Deployment Persistence between Restarts
When deploying Web Services, deployments made to the Tomcat web server do
not persist between IDE restarts, because such deployments are deployed to
a temp directory. This temp directory is 'cleaned' upon Sun ONE Studio shutdown.
If you need to re-use the application after restart of the IDE, you will
need to ensure that it gets deployed or executed prior to usage.
Web Services: XML Operations
The XML Operations functionality has been deprecated.
J2EE Web Tier
Server Information. Both the Sun ONE Application Server
the Tomcat server are bundled with this release of the product. The Tomcat
server is derived from the Apache Tomcat server that is in the Java Web Services
Developer Pack (JWSDP) version 1.1. The IDE now uses Sun ONE Application Server
as the default server for web modules.
The following list describes the differences between the Tomcat server plugin
and the plugin for the Sun ONE Application Server:
- Execute Action Does Not Build and Deploy. If a web module's target
server is the Sun ONE Application Server, then the IDE does not automatically
build and deploy the web module when you use the Execute action. Instead
you must first use the Deploy action and then the Execute action in order
to reflect changes to the web module. In addition, the Execute (Force Reload)
action does not force a reload to the Sun ONE Application Server.
- HTTP Monitor Must Be Deployed. In order to use the HTTP Monitor
with the Sun ONE Application Server, you must first deploy the monitor.
See the "Deploying the HTTP Monitor for a Web Module" topic in the HTTP
Monitor help set for instructions.
- Pointbase Not Automatically Integrated With the Tomcat Plugin.
If your web module's target server is the Tomcat server, and the web module
is accessing a PointBase database, do one of the following to make the database
driver available to the Tomcat servlet container.
- Copy the driver to the web module s WEB-INF/lib directory.
- To add a driver as a shared resource to the internal Tomcat server,
copy it into the
s1studio-install-directory/jwsdp/common/lib directory.
Note that files in this directory are shared among all users of this
IDE installation.
- To add the driver as a shared resource to an external Tomcat installation,
copy the driver into the tomcat-install-directory/common/lib
directory.
If you installed Sun ONE Application Server 7 with the IDE, the PointBase
driver is in the pbclient42RE.jar file in the following directory:
s1studio-install-directory/appserver7/pointbase/client_tools/lib
See the External Execution Process property description in the "Setting
Tomcat Installation Properties" section of the Tomcat Plugin online help
for details. See "Using Databases With the IDE" in the Sun ONE Studio
5, Standard Edition Getting Started Guide for information about starting
the PointBase Server and setting up database connectivity.
Special Mounting Instructions for Web Modules Under Version Control.
If your web module source resides in a version control system (VCS)
you must mount the web module at the root of the repository for the initial
checkout. Then you must use the relative mount point to mount the web module
at the root of the web module. You can optionally unmount the original VCS
filesystem that corresponds to the root of the repository. For complete instructions,
see "Using CVS With Web Modules" in the JSP/Servlet help set.
Sun ONE Application Server
If a Sun ONE Application Server instance fails to start, the JMS service might
have failed to start. Examine the server.log for your instance to find more
information.
For example,
# /opt/imq/bin/imqcmd shutdown bkr -u admin -p admin -javahome
/usr/java/j2sdk1.4.1_01 -b localhost:7676
# /opt/imq/bin/imqcmd shutdown bkr -u admin -p admin -javahome
/usr/java/j2sdk1.4.1_01 -b localhost:33497
The S1MQ broker, the server process for MQ, keeps its instance data by default
(on the Linux platform) at:
/var/opt/imq/instances/<ASdomain_name>_<ASinstance_name>
MQ brokers have instance names such as
<ASdomain_name>_<ASinstance_name>
The log for the instance is in:
/var/opt/imq/instances/<ASdomain_name>_<ASinstance_name>/log/log.txt
For more information, refer to SunSolve article 8270:
http://sunsolve.sun.com/pub-cgi/retrieve.pl?doc=fsunone%2F8270
http://sunsolve.sun.com/pub-cgi/retrieve.pl?doc=fsunone%2F8270
http://sunsolve.sun.com/pub-cgi/retrieve.pl?doc=fsunone%2F8270&zone_110=8270%2A%20
I. Bugs and Issues
This section provides bugs and issues related to functionality in this release
of the product, supplied with workarounds, where applicable.
General or Core IDE Issues
Sun ONE Application Framework 2.1
BEA WebLogic Plugin
CORBA
Installation
Internationalization (I18N)
J2EE Application Client
J2EE
Assembly
J2EE EJB Builder
J2EE Web Tier
JUNIT
RMI
Sun ONE Application Server
VCS(VSS, CVS, Clear Case)
General or Core IDE Issues
The following are some of the general IDE-related unresolved bugs and issues
for Sun ONE Studio 5 update 1, Standard Edition.
Sun ONE Studio Application Framework 2.1
- 4927794
Description A newly created DataSource does not have visible node in the the
explorer under JDBC DataSource on LinuxRH7.2. The problem is possibly a Linux
JDK or Open API bug. Typically, you will only create a DataSource once while
creating an application,
Workaround: You can continue working in the IDE
as this does not affect your development work; however, if you want to see
the DatatSource node, you can use the refresh action on the DataSource node.
Alternatively, you can mount and unmount the
project.
- 4742714
Description: The Update action might not work if the user tries to update
an primary key field.
It is the responsibility of the developer to set the key value to true for
a given index field in the property sheet before excuting code. This will
be documented in a future release of S1AF.
- 4926967
Description: The IDE might hang afer unmount of application.
Workaround: Kill the IDE process and restart.
BEA Web Logic Plugin
4863921
Description: WL61SP4: exception is thrown while server startup
Problem : You might see the following exception on the Linux platform when
using WebLogic 6.1 SP4 with the Sun ONE Studio 5 IDE:
Please ensure that libmuxer library is in
:/home/rmv/bea61sp4/wlserver6.1/lib/linux
java.lang.UnsatisfiedLinkError: no muxer in java.library.path
at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1344)
at java.lang.Runtime.loadLibrary0(Runtime.java:744)
at java.lang.System.loadLibrary(System.java:815)
at weblogic.socket.PosixSocketMuxer.<init>(PosixSocketMuxer.java:186)
at java.lang.Class.newInstance0(Native Method)
at java.lang.Class.newInstance(Class.java:232)
at weblogic.socket.SocketMuxer.makeTheMuxer(SocketMuxer.java:192)
at weblogic.socket.SocketMuxer.getMuxer(SocketMuxer.java:144)
at weblogic.t3.srvr.ListenThread.run(ListenThread.java:233)
Workaround : Add the following path to the Extra Library Path property of
the WL61 plugin node: <WL61_HOME>/lib/linux/i686
CORBA
- 32865
Description: Copy Client Binding Code and generated path problem
Copy Client Binding Code action does not generate correct path. For example,
- Bind a context, and a context named "a" under it, and object
named "b" bound in it.
- Invoke Copy Client Binding Code action on "b" object.
- Paste the code into the Java editor. This results in: code that is:
String[] client_name_hierarchy = new String [] {"b", ""};
But it should be:
String[] client_name_hierarchy = new String [] {"a", "",
"b", ""};
If the object is bound in the root of the context - it generates: String[]
client_name_hierarchy = new String [] {};
Workaround:
Fill in the missing path manually, rather than using the Copy action..
- 33496
Description: Source code is not correctly updated when Child POA variable
name is changed.
Source code is not correctly updated when you change the Child POA variable
name.
- Create the Java source file from the
CORBA|ServerMain
template.
- Select
file|RootPOA
node.
- Add the Child POA using
Add|Child
POA
popup
menu action on the RootPOA node.
- Add a Servant under ChildPOA node using the
Add|Servant
popup
menu action on ChildPOA node.
- Open the Customizer (or Properties window) for the ChildPOA node.
- Change the value of the
Variable Name
property to another
value..
- Refer to the Source Editor.
- The ChildPOA variable name is changed for assignment and starting manager
only. The variable name is not changed on line where servant is created.
This problem occurs for all types of children under ChildPOA.
Installation
- 4855313
Description: The installer dialog indicating an unsuitable JDK is used to
run the installer might not appear with text. This occurs with any JDK less
than
1.4.1_x
in your path on the Solaris 9 platform.
Workaround: Minimize the installer window and resize it if this dialog does
not appear.
Internationalization (I18N)
For Internationalization bugs, please refer to the Sun ONE Studio Knowledge
Base.
J2EE Application Client
- 4859341
Description: Client jar is present in IDE as
ejb_jar
after export
client support is done.
J2EE Assembly
- 4863509
Description: When both application and web module are stored in the same VCS
repository, the IDE does not resolve the link to the web module when the working
directory (and hence the absolute path) might be different.The IDE displays
broken web module node underneath application node.
Workaround:
Use the Resolve Broken Link
action from the popup menu on the
broken web module node underneath the application node to select the web module
filesystem you need.
J2EE EJB Builder
- 4830081
Description: Certain types of imports might not be recognized by Sun ONE Studio
5.
- 4678192
Description: Imported mapping data is lost.
- 4849560
Description: EJB Module responds slowly when accessed for first time.
When an EJB module is first expanded, or when you right click on the EJB node
to display the pop-up menu for the first time, a series of initialization
steps occur internal to the IDE. One of the first initialization steps that
occurs is the determination if the EJBs are contained in the module, followed
by initialization of these EJBs. While the initialization occurs, the progress
cursor is displayed to alert you that the IDE is busy. The more EJBs contained
in the module, the longer the initialization. During this time, the IDE will
not respond to any keystrokes or mouse events. If later, during the same IDE
session, the same Module is expanded or if the user attempts to display the
pop up menu on the module, because the module and all EJBs contained it have
already been initialized, these actions will happen with no delays.
If a module or any of the EJBs contained in it were created using a previous
Sun ONE Studio (or Forte For Java) release, the initialization step will
take a bit longer, because Sun ONE Studio 5 must update data associated
with the EJB and the module for this release of Sun ONE Studio. This additional
initialization will only occur the first time the module or EJB is accessed
in the Sun ONE Studio 5 software.
J2EE Web Tier
JUNIT
- 33293
Description: Although the API documentation for JUnit are shipped with the
junit module, the documentation does not appear in View | Documentation Indices
because they are packaged incorrectly.
Workaround:
- Open the IDE's installation directory and the
docs
folder
within the installation directory.
- Unzip
junit-3.8.1-api.zip
.
- Create a new ZIP file with the
javadoc/
prefix removed
from the hierarchy, leaving entries such as packages.html
and junit/framework/Test.html
.
The new zip file
must have the same name as the old zip file (junit-3.8.1-api.zip
)
RMI
33763 Description:
Synchronization of RMI-implementing classes may cause a deadlock, particularly
when the sources are created manually
Workaround: Create the RMI implementing class directly from RMI template.
You can alternatively perform the following steps
- In the Options dialog, select the
Options -> Distributed Application
Support -> RMI Settings
.
- In the properties panel, set the
Detect
Remote
property to False
..
This disables the automatic detection functionality. You might need to mark
the object as remote by:
- Select the Java Object in the explorer
- Select
Tools -> Mark as RMI
from the pop-up menu.
Sun ONE Application Server and Plugin
- Open the Server Registry.
- Expand the Sun ONE Application Server registered
Admin server
,
Deployed
Applications
node.
- Undeploy the application.
VCS/(VSS, CVS, Clear Case)
- 33132
Description: After you perform the `Convert To WebModule` action some nodes
appear as if local.
After invoking the Convert Filesystem via the Web Module command and adding
the web module to ClearCase, some nodes might appear with the status of Local
.
Workaround: Right-click the web module node and choose Clear
Case
|
Refresh
.
- 33551
Description: Built-In CVS Client Not Supported in Sun ONE Studio 5
Although the IDE's online help mentions the availability of a built-in
CVS client, this client is not available in this release. Although imported
projects that contain built-in CVS filesystems will still function, you
cannot mount new built-in CVS filesystems.
For new projects, use generic VCS filesystems to mount your CVS directories.
If you try to mount a CVS directory as a generic VCS filesystem, and you
do not have the CVS executable installed on your system, you will get an
error message similar to the following:
"cvs" is not recognized as an internal or external command,
operable program, or batch file.
Workaround: Download and install CVS from http://www.cvshome.org/.
To mount a CVS directory using the New Generic VCS wizard:
- Choose
Versioning >
Mount Version Control >
Generic VCS
.
- In the first page of the New Generic VCS wizard, choose CVS from the
Select
a
Profile
combo box.
- In the CVS Executable text box, type the path or browse to the CVS
executable. Note that if your PATH environment variable includes the path
to the CVS executable, you can set the CVS Executable value to simply
cvs
(Linux or Unix) or cvs.exe
(Windows).
- 32186
Description: When running on Microsoft Windows systems and a space is in the
name of your user directory, a
Wincat.bat
node appears in the
Explorer after you run the Commit command on a generic VCS filesystem.
Workaround: The node is harmless, so you can ignore it. Or you can remove
it by running the Refresh command on the filesystem.
- 33474
Description: The IDE becomes slow while mounting large VCS file systems. This
situation occurs because the action of updating the parser database consumes
system resources.
To improve performance, you can disable the updating of the parser database:
- Select
Tools->Options->Editing->Editor Settings->Java
Editor->Expert Properties->Update Code
Complete Database
After Mounting.
- Set the property to
Never
.
Web Services
- 4791482
Description:
JSPTagException
: Serialization error: no serializer
registered
If you are working with collections, you must provide the class that is
being returned by the collection as either a serialization class or you
need to have a separate method that returns that class.
You might get a JSP tag exception because there is currently no way to
map collection returns to a specific class. Without knowledge of the class,
there is no way to generate a serializer/deserializer for it.
- 4794440
Description: Invalid type for JAX-RPC structure:
java.util.Enumeration
You cannot create a web service operation from a method that returns java.util.Enumeration.
java.util.Enumeration
in Java methods are not supported. Support
for enumerations in JAX-RPC is one-way: XML enumerations to Java enumerations.
Java enumerations to XML enumerations is not supported.
- 4800280
Description: Need way to send a String Attachment
You cannot send Strings as attachments. Sending strings as attachments
is not supported in this JAX-RPC implementation.
- 4782125
Description: Discovery of a WSDL in local registry through categories and
identifiers fails.
When categories and identifiers are specified on a web service published
in our IDE, those services and tModels can have categories and identifiers
associated with them. But those categories and identifiers are not applied
to the business.
If you query the UDDI registry when creating a new client, you can query
it based on a NAICS or ISO code. But these values cannot be set on the business
by the IDE, thus, querying for a business with '111' as specified in this
bug does not work.
- 4782287
Description: Discovery of UDDI tModels with set identifiers cannot be found.
The IDE does not support the ability to query for businesses based on an
identifier set on a Service or tModel, only for certain identifiers or categories
set on the Business (which you cannot do from within the IDE).
- 4789390
Description: Test client proxy server information is not used.
If the web service is running on a server within the firewall, the proxy
server information entered will not take effect.. If the web service is
running on a server outside of the firewall, an incorrect proxy server string
returns an exception when invoking the service operation. Only a correct
proxy setting will put the invocation through.
The mechanism of when or how to use proxy server is implemented in the
jdk java.net
package.
- 4822421
Description: Get naming conflict error message while generating client proxy.
You might receive the following error message while generating a client
proxy if there is a naming conflict: com.sun.forte4j.webdesigner.basecomponent.KomodoException:
the following naming conflicts occurred while generating a web service.
This error occurs if a method returns an object (for example, Restaurant),
and another method returns a similar object (restaurant). The version of
JAX-RPC RI used cannot handle 2 type names that only differ in case.
- 4826665
Description: Creating service from a local web-centric WSDL results in a multi-tier
service.
WSDL files from outside sources (for which this functionality was provided)
have no notion of our architecture. When creating a web service using the
WSDL feature, our design calls for creating a multi-tier web service.
- 4828115
Description: Invalid EJB and web service is created from a WSDL with image
attachments.
The Java types that are mapped to the MIME types supported by JAX-RPC are
not Serializable. When a web service is created from WSDL, a multi-tier
web service is created where the operations are implemented in an EJB. Since
EJBs require that return types and parameters be Serializable, no web services
can be created from WSDLs that have attachments.
- 4828670
Description: A web service created from .Net WSDL fails during generation.
You cannot create web service from WSDLs with complex types that have no
elements. A class with no fields is created from a WSDL file's complex type
that has no elements and generation of the web service files will fail.
- 4828682
Description: Invalid type for JAX-RPC structure when deploying a .NET WSDL
created web service.
If the WSDL has document/literal encoding and the type has no JAX-RPC mapping,
the type is automatically mapped to java.xml.soap.SOAPElement. If this is
a return type the EJB compiler of Sun ONE Application Server, the return
type needs the saaj-api.jar in its classpath. By default, this is not in
the classpath, thus, the error.
The solution is to include saaj-api.jar
in the classpath of
the Sun ONE Application Server.
- 4828749
Description: Generation of a web service created from MS WSDL fails.
Cannot create web service from WSDLs that have enumerations.
If the WSDL has a type with enumerations, a class without a default constructor
is created for the type. Consequently, validation fails when the web service
is generated.
- 4831579
Description: GenerateEjbException
WSFromWSDLGenerator.java:342
This applies in two situations:
(a) You cannot create a web service from WSDLs that have simple type xsd:restriction
.
The JAX-RPC implementation in the IDE does not support simple type restrictions
other than enumerations.
(b) You cannot create a web service from WSDLs that have type names which
are Java keywords. This is a bug in the JAX-RPC implementation.
- 4845971
Description: UDDI Discovery of a published web service with HTTP basic security
fails.
The default WSDL URL offered in the IDE's Publishing to UDDI wizard enables
retrieval of the WSDL from the web service itself <web-service>?wsdl.
In the case where the web service is protected, you will fail to create
a client from this WSDL URL unless properly authenticated. In order to publish
a publicly accessible WSDL URL to UDDI (while keeping the web service protected),
manually change the WSDL URL in the publish wizard to
<web-service>/<web-service>.wsdl
when publishing from
IDE.
- 4821656
Description: Serialization error: unexpected null value for literal data working
with a .NET client.
Char and Byte are mapped to SOAPElement
, which is not supported
from the test client. The Client welcome page notes that this is not supported.
Execution of a .NET operation with a return of anyType or array of anyType
will failed due to a JAX-RPC bug #475866. The JAX-RPC bug is fixed in JAX-RPC1.0.3
(JWSDP 1.1), however, Sun ONE Studio is still using a older version of the
JWSDP. (1.0.01).
- 4823830
Description: Method outside of a session bean does not function correctly
as initiator.
Sun ONE Studio does not support this use case. If you are using a session
bean to implement stateful behavior in a web service, then all stateful
behaviors should be routed to that EJB (for example, the boundaries of the
session lifecycle should be routed to the same object). If are using a non-EJB,
then it should also have signatures that would represent the boundaries
of the session lifecycle.
- 4825458
Description: I18N - JSP content is not set to UTF-8.
The contents of a JSP can not be translated.
This affects you if you are using Weblogic 7.0 only: BEA support acknowledges
an issue with setContentType
via the page directive. Either
upgrade WebLogic to SP1 or SP2 or apply the patch for 7.0 (CR077944_70_GA).
- 4727371
Description: JSP cannot convert
java.lang.String
to java.util.Calendar
.
JSP fails with a Can't convert java.lang.String to java.util.Calendar
error. This is a limitation within the Sun ONE Studio 5 product.
- 4741049
Description: Web service builds long
SoapBuildeClass
names for
W2000 and hence deploy fails on Sun ONE Studio Application Server 7.
Try shortening the web service name and the absolute path.
- 4761980
Description:
java.lang.NoClassDefFoundError: javax.xml.transform.Source
This is an issue with the version of the JDK being used by the IDE. If
you are running JDK 1.3.1 with the IDE, Tomcat is running JDK 1.3.1. JDK
1.3.1 does not contain the necessary JAX-RPC libraries that come with JDK
1.4 and above to successfully support web services.
You have two options:
Option 1: Upgrade the IDE to JDK 1.4 (note: this is not an option if
you are using the Oracle Plugin because the plugin depends on JDK 1.3)
Option 2: Manually copy the <install-dir>/jwsdp/jwspd-common-lib/jwsdp-common
.jar
file into the <install-dir>/tomcat401/common/lib
directory,
then kill the Tomcat process and re-execute the client.
- 4803858
Description:
AccessControlException
raised when entering password
for trust store for client.
When a web service test client is running Sun ONE Application Server (or
a WebLogic server with java security policy enabled), setting up proxy information
and SSL trust store from a web service test client might result with the
following exception:
This exception indicates that your application server's security policy does
not permit the update of the related Java system properties. To enable update,
add the following permissions to your application server's security policy
file:
permission java.util.PropertyPermission "http.proxyHost",
"read,write";
permission java.util.PropertyPermission "http.proxyPort", "read,write";
permission java.util.PropertyPermission "https.proxyHost", "read,write";
permission java.util.PropertyPermission "https.proxyPort", "read,write";
- 4823228
Description: Security callback handler property for application client does
not work.
- 4857215
Description: Linux/CVS: NPE while deploying a checked-out web service to Sun
ONE Application Server 7. VCS: Problem in generating checked-in web service
if client is not checked in.
If a checked-in web service has an associated client and the client is not
checked in, a problem may be encountered if the web service is generated from
another VCS view. The solution is to check in the client after the web service.
- 4832234
Description: Exception in IDE.log while deploying a web service, when the
web service has a validation error.
- 4857887
Description: Duplicate type name error when generating service created from
.net WSDL.
Cannot create a web service from WSDLs that have both type array X and
ArrayOfX
declarations.
If an array of type X and the type ArrayOfX are in the WSDL, generation
of the web service files will fail. When the JAX-RPC generator encounters
a WSDL that has an array type, for example "X[]", it attempts
to register it in the SerializerRegistry as ArrayOfX
.. Since
the web service already contains the type ArrayOfX
(from the
WSDL), a duplicate type name error occurs. The solution is to rename the
ArrayOfX
type in the WSDL to another name.
- 4804477:
Description: NPE while stopping internal UDDI registry server
If you see the following exception when stopping the internal UDDI registry
server on the UDDI server's Tomcat output window, the configuration file jwsdp/uddi_base/conf/server.xml
in your user directory is too old:
java.lang.NullPointerException
at
org.apache.catalina.core.NamingContextListener.lifecycleEvent(NamingContextListener.java:343)
at
org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:166)
at
org.apache.catalina.core.StandardServer.stop(StandardServer.java:2217)
at org.apache.catalina.startup.Catalina.start(Catalina.java:535)
at org.apache.catalina.startup.Catalina.execute(Catalina.java:399)
at org.apache.catalina.startup.Catalina.process(Catalina.java:179)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:203)
You need to either use a new IDE user directory, or to replace the older
version of the configuration file with the newer version of the configuration
file as instructed below:
- Copy
ide-install-dir>/jwsdp/uddi_base/conf/server.xml
and ide-user-dir>/jwsdp/uddi_base/conf/server.xml
- If you have done port changes in the uddi server
.xml,
apply
the same set of changes to the new server.xml
file
- Restart the internal UDDI registry server
- 4838732:
Description: Exception when internal UDDI server starts up
If you notice the following exception in the UDDI server Tomcat output window
when IDE is trying to verify the connection to the UDDI server when UDDI server
is starting up, the exception is harmless if the internal UDDI server eventually
comes up :
java.lang.RuntimeException: RegistryServerSevlet.initializeDB(...):
com.sun.xnode.XNodeException: aborting connection attempt.,
RegistryServerServlet.init(...): connection: 1, Database failed to connect
at
com.sun.registry_server.server.RegistryServerServlet.initializeDB(RegistryServer
Servlet.java:710)
at
com.sun.registry_server.server.RegistryServerServlet.init(RegistryServerServlet.
java:93)
The status field above the IDE explore will display the text "Internal
UDDI Registry Server started" after the internal UDDI registry server
starts successfully. The exception is caused by a transient state when UDDI
registry server servlet is ready to accept requests but its backend database
server Xindice
is still not yet ready.
- 4803858:
Description: AccessControlException raised when using web service test client
When Web Service test client is running in S1AS (or WebLogic server with java
security policy enabled), setting up proxy information and SSL trust store
from Web Service Test Client may result the following exception:
java.security.AccessControlException: access denied
(java.util.PropertyPermission javax.net.ssl.trustStore write)
at
java.security.AccessControlContext.checkPermission(AccessControlContext.java:270)
at
java.security.AccessController.checkPermission(AccessController.java:
401)
at
java.lang.SecurityManager.checkPermission(SecurityManager.java:542)
at java.lang.System.setProperty(System.java:653)
at
_jasper._GPASvcClient_SETUP_jsp._jspService(_GPASvcClient_SETUP_jsp.java:67)
....
This exception indicates that your application server's security policy
does not permit the update of the related java system properties; to enable,
add the following permissions to your application server's security policy
file:
permission java.util.PropertyPermission "http.proxyHost",
"read,write";
permission java.util.PropertyPermission "http.proxyPort", "read,write";
permission java.util.PropertyPermission "https.proxyHost", "read,write";
permission java.util.PropertyPermission "https.proxyPort", "read,write";
- 4803631:
Description:
FileUploadException
executing methods that take
attachments as parameters
When Web Service test client is running in S1AS (or WebLogic server with
java security policy enabled), and your test client is testing an operation
with
input attachment parameters, you may encounter the following exception:
This exception indicates that your application server's security policy does
not permit deletion of temporary files that created when test client uploading
files from client to your web server, to enable, add the following permission
to your appserver's security policy file:
permission java.io.FilePermission "<<ALL FILES>>",
"read,write,delete";
- 4816969:
Description:
JspException
when executing Web Service test client
on Weblogic 7
When executing Web Service test client on WebLogic 7, you may encounter the
following exception::
java.io.IOException: javax.servlet.jsp.JspException: The taglib
validator rejected the page: "org.xml.sax.SAXParseE
xception:
The value of attribute "contentType" must begin with either
a single or double quote character., "
This is a known bug of WebLogic 7 when running a JSP that has custom tags.
A patch is available from BEA for WebLogic 7, and the bug is also fixed
in
in WebLogic 7 SP1 and later. You can either upgrade to WebLogic 7 SP1 or
SP2, or request the patch (CR077944_70_GA
) for WebLogic 7 from
BEA directly.
- 4802443:
Description: Using a Java bean with XML attachment in your Web Service may
result exception at web service runtime.
If your web service operation returns a java bean that consists of a XML attachment
type attribute, you might get an exception when running/testing the web service
if the XML attachment type attribute is declared public and also has a public
getter method. This is a known issue.
Workaround: Either declare the attribute private and provide a public getter
method, or declare the attribute public and remove the public getter method.
- 4825743:
Description: Web Service with attachment and its client cannot be deployed
separately to the same web container.
Due to a known JAXM bug (#4763995), deploying a web service with attachment
to a web container and then deploying its test client separately to the same
web container will result the following exception:
java.lang.Error: DataContentHandlerFactory already defined
at
javax.activation.DataHandler.setDataContentHandlerFactory(DataHandler.java:628)
at
com.sun.xml.messaging.saaj.soap.AttachmentPartImpl.<clinit>(AttachmentPartImpl.java:35)
at
com.sun.xml.messaging.saaj.soap.MessageImpl.createAttachmentPart(MessageImpl.java:305)
Workaround: Always deploy a web service with an attachment with its default
test client.
-
4850758
Description: WebLogic614 only: Parsing of JSP fails at runtime.
The Web Service test client generated by Sun ONE Studio uses JSTL 1.0.1,
included in Java Web Services Developer Pack 1.0.1. This version of JSTL
does not work on BEA WebLogic614 where the JSP 1.2 specification is not
fully supported. To run web service test client on WebLogic614, you have
the following 2 options, either
- Edit the generated JSPs (which end with
_TAGLIB.jsp
) to
remove all reference to JSTL tlds and tags, or
- Edit your
<ide-install-dir>/bin/ide.cfg
to include
the following flag: -J-Dwsdl.taglib=false
, then restart your
IDE.
This instructs the IDE to use an older version of the web service test
client generator where JSTL is not used. The older version test client
does not support testing of secured web services and web services with
attachments.
- 4855196
Description: If you create a web service that does not have a default client,
check the web service into Clearcase, add the web service to a J2EE application
and deploy/execute it (or deploy/execute the web service from the node - webcentric
service only) you will be notified that you do not have a default client and
asked if you want us to create one. If you say yes, you will be asked to check
out the web service; if you say "yes". the IDE will create the client
and attempt to deploy, which will fail with an exception.
Workaround: Deploy/execute the web service again. The web service is now
checked-out properly.
J. Accessibility
This section provides information on the accessible features of Sun ONE Studio
5 update 1, Standard Edition.
Documentation
Sun ONE Studio 5 update 1, Standard Edition documentation is provided in accessible
formats that are readable by assistive technologies. This includes the Sun ONE
Studio 5 update 1, Standard Edition, programming guides, Getting Started Guides,
and tutorials on the docs.sun.com
site.
Online Help Documentation
The IDE provides many accessibility features that enable you to read about
and use the product in the manner that is most comfortable and convenient to
you. These features include:
- Mnemonics and keyboard shortcuts
- Customizable fonts
- Customizable colors
- Customizable toolbars
- Customizable stylesheets
For information on the accessibility features of the IDE, open the the online
help and click the Accessibility topic in the table of contents.
Modifying Cascading Style Sheets for Accessibility
The instructions in the online help for modifying the cascading style sheet
require additional information.
Most help sets use the style sheet that is stored in modules/docs/usersguide.jar
.
If you change this style sheet, the display of most other help sets is also
affected. The exception includes the Database Schema help set, which uses the
style sheet stored in dbschema.jar
.
To change the cascading style sheet for the online help:
1. In your IDE installation directory, navigate to modules/docs
.
2. Use the jar
command-line utility to unpack the JAR file.
On Microsoft Windows and UNIX systems, the command is:
jar xf jar-file
For jar-file, use one of the following:
usersguide.jar
- Style sheet for most help sets
dbschema.jar -
Database Schema online help
The Jar tool makes copies of the files and writes them to the current directory.
The directory structure is reproduced according to the package structure in
the archive.
3. In the extracted hierarchy, navigate to the directory that contains the
style sheet you want to edit:
- General online help -
org/netbeans/modules/usersguide
- Database Schema
- com/sun/forte4j/modules/dbmodel/docs
4. Open the file ide.css
in a text editor. Edit the file to
your preferences and save the file.
6. Return to modules/doc
in your installation directory and
update the JAR file. On Microsoft Windows and UNIX systems, the command is:
jar ufv jar-file input-file
For jar-file use the name of the original JAR file, for example,
usersguide.jar. For input-file use, one of the following:
org
for the Users Guide help set
com
for the Database Schema help set
Solaris Operating Environment
The Solaris operating environment allows you to set window behavior using the
Window Style Manager. When using mnemonics with the IDE, the window behavior
should be set to "Click In Window To Make Active."
If this option is not set, in some cases, a mnemonic can appear to fail.
K. Other Documentation
This section provides a summary of the documentation that is available with
the Sun ONE Studio 5 update 1, Standard Edition product.
Books
The following Sun ONE Studio 5 update 1, Standard Edition books can be downloaded
in PDF format at http://forte.sun.com//ffj/documentation/index.html.
Sun ONE Studio 5, Standard Edition for Java Getting Started Guide
Sun ONE Studio 5, J2EE Application Tutorial
Sun ONE Studio 5, Web Application Tutorial
Using Java Database Connectivity
Building Web Services
Building Web Components
Building Enterprise JavaBeans Components
Assembling and Executing J2EE Applications
Online Help
You can access online help for the IDE by choosing Help > Help Sets
menu item from the main window. The Help menu also includes links to the Sun
ONE Studio Developer's Resources homepage and other useful URLs.
Examples
You can find tutorials and examples together under Sun ONE Studio Developer's
Resources: at http://forte.sun.com/ffj/documentation/tutorialsandexamples.html
A subset of the examples and tutorials located under the Sun ONE Studio Developer's
Resources are available within the IDE distribution.
Access to Bugs
You can access most Sun ONE Studio 5, Standard Edition bugs through Java Developer
Connection's Bug Parade at
http://developer.java.sun.com/developer/bugParade/index.jshtml
Choosing a Browser with the Setup Wizard
In the Setup wizard you will be able to choose the type of HTML browser you
can use to both browse the documentation in addition to external websites such
as the Sun ONE Studio Developer Web Resources site. If you have a browser such
as Netscape or Internet Explorer installed, be sure to choose "External
Browser" rather than "Swing HTML Browser". The Swing HTML Browser
is intended only for browsing the documentation and does not work with with
most web sites.
You can dynamically update the IDE using the Update Center feature. When you
connect to the Update Center, the IDE checks to see if there are new modules
or new versions of already installed modules available. If new or updated modules
are available, you can select which ones you would like. Then those modules
are downloaded and installed in your IDE.
Note: Sun ONE Studio modules are available through the Sun ONE Studio Update
Center folders.
The AutoUpdate Wizard enables you to install modules from the Update Center
or to install modules (in the form of .nbm files) that have been previously
downloaded to your system. For both methods, the modules are .nbm
format.
If you choose to use the Sun ONE Studio Update Center, you will need to enter
your Update Center login and password. If you do not have an Update Center login
and password, you need to obtain one by clicking on the Account Maintenance
button on the wizard and by following the instructions provided.
If you do not register, you can leave the Login and Password fields blank and
you can still connect to the Update Center and see generally available free
modules. However, to obtain access to upgraded third party or Enterprise Editions,
you must register.
The Update Center uses this login and password to track user entitlements to
various products and modules. The IDE sends the login and password over HTTP
when you connect to the Update Center. When you register with the Developer
Resources web site to get the login and password, we do ask for some personal
information, however you can choose to not be contacted by Sun. For more information
on Sun's privacy policy, see the Developer Resources Site FAQs at http://forte.sun.com/ffj/feedback/sitefaq.html
If you need to set a proxy to get through a firewall, you can click Proxy
Configuration
on the first page of the wizard.
You also can update modules in the IDE without having to connect to an Update
Center server.
To update the IDE offline:
- Manually download the NBM file of the module you want to update.
- Choose
Tools
>
Update
Center
from the main window.
- In the first page of the wizard, select the
Install Manually Downloaded
Modules
button.
- Proceed according to the instructions in the rest of the wizard.
By default, the IDE periodically asks you whether you want to connect to the
Update Center to check for new updates. You can set the interval for this prompt
or turn it off completely.
To set the frequency that you are prompted to check for updates:
- Choose
Tools
>
Options
from
the main window.
-
Select the Update Center node and set the Check Period
property.
M. NetBeans Open Source Project
The Sun ONE Studio IDE is based upon the NetBeans Open Source Project, located
at http://www.netbeans.org. NetBeans is
a community-based project that fosters the use of the NetBeans IDE platform
in new, creative ways. All developers are invited to join the effort to extend
the NetBeans IDE and improve the framework upon which it is based in order to
create an extremely powerful set of tools by and for the development community.
N. Redistributables
The following binary files are supplied with this product and are redistributable:
persistence-rt.jar
dbschema.jar
xerces.jar
cvslib.jar
TimerBean.jar
AbsoluteLayout.jar
sql.jar
standard.jar
jaxen-full.jar
jstl.jar
saxpath.jar
jato-2_1_0.jar
O. Mobile Edition Modules
Sun ONE Studio, Mobile Edition Modules for Sun ONE Studio 5 update 1, Standard
Edition:
- Sun[tm] ONE Studio 5, J2ME Wireless Module
- Sun[tm] ONE Studio 5, RetroGuard Integration Module
- Sun[tm] ONE Studio 5, JODE Integration Module
- Sun[tm] ONE Studio 5, J2ME Wireless Toolkit 1.0.4_01 Module
Introduction to the Mobile Edition Modules
This section of the Release Notes for the Sun Open Net Environment (Sun
ONE) Studio 5, J2ME Wireless, RetroGuard Integration, JODE Integration,
and J2ME Wireless Toolkit modules describe the significant features and
the addition and deletion of bugs specific to the following modules:
- J2ME Wireless Module (kjava.nbm)
- J2ME Wireless Toolkit Module (kjava-emulator_xxx.nbm)
- RetroGuard Integration Module (kjava-obfuscator-retroguard.nbm)
- JODE Integration Module (kjava-obfuscator-jode.nbm)
Together, these modules form the Sun ONE Studio, Mobile Edition Modules
for Sun ONE Studio 5 update 1, Standard Edition, hereafter referred to as the
"Mobile Edition modules."
Instructions for adding the separate modules to Sun ONE Studio 5 update 1,
Standard Edition are contained in the file, me_modules/README.html.
The Mobile Edition modules are specially customized to support and facilitate
the development of CLDC/MIDP applications for the J2METM
platform. They combine the technologies of the J2ME Wireless Toolkit with the
Sun ONE Studio programming environment to provide the following:
- Integrated compilation, preverification, and execution
of MIDlets and MIDlet suites
- Automatic generation of JAD and JAR files
- Integrated source-level debugging of MIDlets
- Code completion against J2ME APIs
- The ability to preset default compiler/preverifier
on a per project basis
- Integration with third party emulator/SDKs through
the Unified Emulator Interface
- Templates for creating MIDlets and MIDlet suites
- An integrated default emulator
- The ability to dynamically switch emulators for each
MIDlet suite
- An Update Center tool that enables you to add modules
and extend other features of the IDE
- Utilities in the Wireless Toolkit that enable you
to test application performance.
For more information
about the J2ME Wireless Toolkit, see the J2ME Wireless Toolkit Release Notes
your installation. Note that some of the information might not apply. For example,
tools such as the KToolbar have not been integrated into the Mobile Edition.
Sun ONE Studio 5, J2ME RetroGuard
Integration Module adds:
- Support for the RetroGuard obfuscator.
- Integration of the RetroGuard obfuscator into the IDE.
The Sun ONE Studio 5, JODE Integration
Module adds:
- Support for the for the JODE obfuscator. You can get the JODE obfuscator
from the JODE website, as described in the me_modules/README file.
System Requirements for Mobile Edition Modules
If you have already installed the Sun ONE Studio 5 update
1, Standard Edition, you will need an additional 45 Mbytes of space to install
the four modules.
The following lists the platforms upon which the Mobile
Edition modules have been tested. The platforms upon which the J2ME, Wireless
Toolkit 1.0.4_01 has been tested are also listed.
NOTE: The platforms supported by the Mobile Edition modules
might differ from those supported by the emulator you plan to use. You should
verify that both the Mobile Edition modules and the emulator you plan to use
are supported on your particular platform.
The Sun ONE Studio, Mobile Edition Modules for Sun ONE
Studio 5 update 1, Standard Edition have been tested on the following platforms
and we recommend you use these platforms:
- Microsoft Windows XP Professional SP 1
- Microsoft Windows 2000 Professional system (SP 2)
- Red Hat Linux 7.2
- Solaris 8 operating environment (64-bit, SPARC platform)
- Solaris 9 operating environment (64-bit, SPARC platform)
This release has been tested on a limited basis on the
following platforms:
- Solaris 8 operating environment (32-bit, SPARC platform)
- Solaris 9 operating environment (32-bit, SPARC platform)
The J2ME, Wireless Toolkit, version 1.0.4_01 has been
tested on the following platforms and we recommend you use these platforms:
- Microsoft Windows 2000 systems
The J2ME, Wireless Toolkit, version 1.0.4_01 has been
tested on a limited basis with the following, unsupported systems:
- Solaris 8 operating environment
- Red Hat Linux 6.2
- Red Hat Linux 7.1
Mobile Edition Bugs and Issues
NOTE: Linked Bugs other than those available through SunSolve require a Java
Developer Connection login to view.
NOTE: The Mobile Edition modules were designed to be
used in single-user mode. Errors might occur if multiple users concurrently
access the same executable file. For this reason, this edition is not recommended
for use in a shared installation on any Windows platform.
- 4641426
Description: J2ME Wireless Toolkit preverifiers in versions before v.1.0.4_01,
as well as some third party emulators, do not support JDK 1.4.0 classes. If
you are using J2SE v.1.4, the default for the Preverify compiler is an internal
compiler. If you want to use an external compiler or download an updated internal
compiler, you need to configure the Preverify Compiler properties within the
Mobile Edition to use the external compiler.
Workaround: Choose Tools > Options > Building > Compiler Types. Click
in the Java Compiler property field and select External Compilation from the
menu. Click on the ellipsis(...) button in the External Compiler property
field and add the switch -target 1.1 to the Arguments field. The syntax for
the External Compiler property is: {jdk.home}{/}bin{/}javac
-target 1.1 {debug info} {deprecation} {optimize} {outputdir}
{encoding} {source opt} {bootclasspath.opt} {bootclasspath}
-classpath {filesystems}{:} {classpath} {files}.
- 4636172
Description: When a MIDlet is executed or debugged outside of a suite, no
application descriptor file is used for execution and the
getAppProperty()
method of the MIDlet returns null
. Workaround: Debug the MIDlet
suite that contains the MIDlet instead of debugging the MIDlet by itself.
- 4676586
Description: If you rename a MIDlet Suite using the contextual menu, the MIDlet
Suite cannot be executed because the JAR file URL has not been changed. Workaround:
Change the JAR URL property of the suite.
- 4666440
Description: If you are using JDK 1.4 with the J2ME
Wireless Toolkit 1.0.4_01, you cannot debug code inside a MIDlet's constructor.
Workaround: Check to see if the latest available version of the J2ME Wireless
toolkit fixes this problem, use a different emulator, or place the code from
the constructor into the MIDlet's method and place a breakpoint in the method.
- 4721207
Description: MIDlet suites with external libraries (libraries
in user-defined classpaths) can be compiled, but cannot be executed. Workaround:
Add the library to the MIDlet suite JAR file, then execute.
- The J2ME Wireless Toolkit emulator requires JDK 1.3.1 or higher. If you
run the IDE with the
-jdkhome
switch pointing to JDK 1.3.1 or
1.4, but have a default system setting of 1.2.1 or below, the emulator will
not be able to execute any programs.
- The Windows registry key used by Sun ONE Studio 4 Update 1, Mobile Edition
is
HKEY_CURRENT_USER\Software\Sun Microsystems, Inc.\Forte for Java\ME\4.0
- The Windows registry key used by the J2ME Wireless
Toolkit, v. 1.0.4_01 is
HKEY_LOCAL_MACHINE\SOFTWARE\Sun Microsystems,
Inc.\J2ME Wireless Toolkit\1.0.4_01