Beruflich Dokumente
Kultur Dokumente
This page serves as additional release notes about 2.6.0 GA. It is intended as a supplement to the
releaseNotes.html accompanying the release.
Contents
Netbeans 5.5(.1) comes with a bundled version of Tomcat (5.5.17). This is convenient as it offers
developers an easy out-of-the-box solution for developing web applications. However it is problematic
with uPortal 2.6.0 GA. Netbeans includes 2 additional jars in the common/endorsed directory in the
bundled Tomcat (xml-apis.jar and xercesImpl.jar) that are not included with Tomcat as it is downloaded
from Apache.
You can use Netbeans 5.5.1 with uPortal 2.6.0 on JDK 1.5 by following these steps:
1. Download and unzip a 5.5.x version of Tomcat to a directory of your choice (say C:\tomcat\apache-
tomcat-5.5.23)
2. Edit the tomcat-users.xml file in the conf directory to add a manager role and a user for that role.
For example, you can add the lines:
<role rolename="manager"/>
<user username="uportal" password="tomcat" roles="manager"/>
This option is a little riskier as the bundled Tomcat has been set up for maximum possible backward
compatibility with previous JDKs. The changes described here should be made so that they can be rolled
back easily if you run in to trouble with other development projects.
1. Locate the setclasspath.sh file on Unix based systems or setclasspath.bat for Windows based
systems in the $NETBEANS_HOME/enterprise3/apache-tomcat-5.5.17/bin directory.
2. Edit this file as follows:
a. For setclasspath.sh, find the following block:
and change it to
Netbeans Updates
An issue was filed with the Netbeans development team regarding this. As it turns out, the extra jar files
are in the common/endorsed directory for backward compatibility with JDK 1.4 and below. When Netbeans
is used with a JDK newer than 1.4, the endorsed directory is not being read, hence the error message
that Xalan 2.7.0 can't be found. Netbeans 6.0 comes with an unmodified Tomcat 6 meaning that there is
no undocumented or unexpected behavior like this to maintain any kind of backward compatibility. You
will need to follow the work-around steps if you want to use Netbeans with uPortal.
<snip/>
The current "ant initportal" will still not run without internet
connectivity. Just pull out your internet connection and try it.
<snip/>
It looks as though the XML parser will always try to load the DTD
from java.sun.com, even if validation is turned off. I suppose it
makes sense, since the DTD may contain entities (or default
attributes?) used in the document.