Frequently asked questions (FAQ) about NAS 4.0 are available at http://help.netscape.com/faqs/appsvr4x.html
Name
Revision Information
Size (kb)
Architecture
Note that the patches listed above can be applied before you go on with NAS40SP5+ iWS41sp7.
Note: Apache support files are included
on the CD but not integrated into the installation
To locate these guides, use the following iPlanet
web site:
http://docs.iplanet.com/docs/manuals/nas.html
Adobe Acrobat 4.0 and PostScript printer with PS
level 2 fonts are required to print the PDF version.
For pervious product documentation please visit the
iPlanet web site above.
For example, the following JSP scriptlet
generates an IllegalStateException because the JSP contained the scriptlet
:
The compiled code for the "service" method
is:
public void service (HttpServletRequest
request,HttpServletResponse response)
Tthe output stream is obtained in the line:
This line is required for the current JSP
to print its output to the browser and is also required by the JSP .092,
1.0 and 1.1 specs.
Also, the following code in a servlet method
generates the same exception:
Resolve the problem in one of two ways:
1) Use "include" instead of "forward".
This is actually widely recommended for the problem described above.
2) Instead of placing the code (scriptlet)
in the JSP, place it in a servlet method which does the forwarding.
In this case, avoid using "getOutputStream" or "getWriter" because again
it generates the IllegalStateException.
Example:
public void defaultAction(HttpServletRequest
req, HttpServletResponse res)
RequestDispatcher dispatcher =
Note that with all important global transactions,
there can be different vendor databases each with a different default transaction
isolation level. Therefore, this call has no meaning to global transactions
and iPlanet has no choice but to return TRANSACTION_NONE. JDBC knows nothing
about local and global connections. Also note, that whatever your database
default txn isolation level is, that is the one the iPlanet Application
Server uses for its JDBC connections unless you change it with an explicit
call to setTransactionIsolationLevel(). This means the MSDTC-MSSQl
server combination cannot handle the crucial execute query statment without
an explicit READ_COMMITTED. ORACLE does not need this additional help.
Problems Exist Using
To avoid these problems, use
Admin Server Not Coming Up After Registering
Servlet
Registration problems occurs when defining
servlets in ntv file without some parameters. These optional fields are
not really optional, and cause the NAS admin server to hang. To workaround
this problem provide a complete definition of ntv file:
"descr" Str "Test servlet",
"group" StrArr [ "TestServlet" ],
"guid" Str "{91dfbcba-8b13-11d3-b9f5-00108334167f}",
"acl" StrArr [ ]
},
"ServletRunnerInfo" NTV {
"ServletClassPath" Str "TestServlet.Test"
},
"ServletData" NTV {
"defaultTemplate" Str "TestServlet/TestServletJSP.jsp"
}
This problem is occasionally seen under
certain conditions while debugging applications with Visual Cafe along
with
Hot Deploy
Under high load the output of JSP execution
may be corrupted when a modified version of the same JSP is deployed.
JSP Compilation Exceptions
Mixing client side JavaScript tags and
JSP tags in the same page is not recommended. JSP compilation exceptions
LDAP Failover
This has been fixed in NAS 4.0 SP4, however
the failover may take 3-5 minutes.
Multiple Result Sets Are Not Supported
Netscape Application Server Does Not
Appear in the Console
This problem is occasionally seen when
the domain name is not properly registered, or the NAS installer fails
to find the
Online Bank 4.0 Sample Application Does
Not Work
LDAP may not have initialized with the
Bank user information during installation. This behavior has been noticed
in some cases, and
Problem Inserting Rows
NAS has problems inserting rows when running
in international mode with the Oracle client configured with Legacy and
the
ResultSet Returned by DatabaseMetaData.getColumns(
) Sometimes Not Fully Populated
This occurs on very large database tables
containing more than 300 columns when used with NAS default database driver.
To
Using Oracle Thin Drivers
To work around this problem, try using
setbytes.
setEvent Does Not Work As Expected
After enabling events in particular sequence
of disabling, enabling, and setting of events. Do not work with events
in this sequence.
SQL3 Blobs and CLOB Calls Are Not Supported
with NAS 4.0
If you have problems with Netscape Application Server, contact iPlanet customer support using one of the following
mechanisms:
So that we can best assist you in resolving problems, please have the following information available when you
contact support:
You may also find it useful to subscribe to the following interest groups, where Netscape Application Server
topics are discussed. Newsgroup topics for iPlanet Application Server include:
Useful iPlanet information can be found at the following Internet locations:
Native
Drivers Cerified
The following table lists native drivers
cerified to run on NAS 4.0, SP5.
Database Server
Database Client (Solaris 2.6, 2.7,
2.8)
Oracle 8.0.6
Oracle 8.0.6 client in compatibity mode
using OCI 7.x
(SQL3 blobs and CLOB calls are not supported)
Sybase 11.9.2
Sybase Open/Client System 11.1.1
Informix 9.2 (+7.3)
Informix Client SDK 2.40
SQL Server 6.5
ODBC 3.51
DB2 6.1 (+5.2)
DB2 Client 6.1, 7.1
Support
for Web Servers
Interface
Web Server
NSAPI
iPlanet Web Server, 4.1 SP3
ISAPI
Microsoft Internet Information Server
4.0 (NT only)
Apache
Equivalent to Apache Web Server 1.3.9
(Solaris 8 ONLY Apache Webserver version 11.8 on Solaris)
Installation
Installation of this product is as follows:
Documentation
This product includes an Overview, Installation,
NAS Foundation Class Ref (Java), NAS Foundation Class Reference (C++),
Deployment, Administrator'sand a Programmer's Guides.
Programmer's Guide (Java)
The Programmer's Guide (Java) contains the following documentation errors:
stream (a PrintWriter) in their "service"
method. According to the JSP and servlet specs, forwarding a request
from a JSP or servlet is not allowed if the
output stream (PrinterWriter) has been
obtained in the same request.
<% RequestDispatcher dispatcher
= getServletContext().getRequestDispatcher("/ResourceStream/Simple2.jsp");
dispatcher.forward(request, response);
%>
throws ServletException, IOException
{
PrintWriter out = response.getWriter
();
BufferedReader in = request.getReader();
Throwable exception = (Throwable)request.getAttribute("exceptionBean");
out.write(_buf,0,143);
// file: ResourceStream/Simple1.jsp
line: 3
RequestDispatcher dispatcher =
getServletContext().getRequestDispatcher("Simple2.jsp");
dispatcher.forward(request, response);
out.write(_buf,281,20);
out.flush();
}
PrintWriter out = response.getWriter ();
PrintWriter out = res.getWriter();
out.println(" Making a Call
to Second servlet ");
RequestDispatcher dispatcher = getServletContext().getRequestDispatcher("/ResourceStream/Simple2.jsp");
dispatcher.forward(req,res);
out.println(" back in first servlet
");
throws ServletException,
IOException
{
res.setContentType("text/html");
getServletContext().getRequestDispatcher("/ResourceStream/Simple2.jsp");
dispatcher.forward(req,res);
}
database. There are four valid transaction
isolation levels, as follows:
TRANSACTION_NONE is only defined in JDBC.
TRANSACTION_NONE is not even a valid parameter for setTransactionIsolationLevel().
So, getdefaulttransisolationlevel() returns READ_COMMITTED
in case of local connection because this is the value returned by the driver.
Resolved
Issues
The following issues have been resolved in
the Netscape Application Server 4.0 SP5 release.
ID
Summary
387995
Documentation error: Programmer's Guide
(Java), does not state multiple result sets are not supported.
390527
getName() returns erroenous session
data.
395836
href overwrites for non URL links. URL
re-writing corrupts the javascript tags (On first
access in cookie enabled browsers and
in all page access in cookie less browsers).
397424
nas40sp2(nt) IIS4.0 webserver hangs during
file upload.
397731
"Array out of bound exception" using setAsciiStream
when inserting long dattype with preparedstament into a DB with more then
10 columns.
398187
Fixed error which throws "IllegalStateException:
Input stream in use" while using
getRequestDispatcher.
398283
Informix client 2.40 support.
398314
getMaxInactiveInternal is not wroking
fixed getMaxInactiveInterval(),
setMaxInactiveInterval(), getCreationTIme().
398879
Server side includes limited to 22 includes
into a JSP page has been corrected on
dispatcher.includes() within a JSP.
However, this limitation still exists for Server Side
Includes (21 includes maximum).
401451
JSP forward with java.lang.IllegalStateException.
409623
SIGQUIT unmasked before starting KJS.
430909
(reg) NAS Sample Application - Online
Bank (4.0) does not work.
479502
NAS Global Transactions break under load
with MSSQL.
480841
Upgrade from NAB/NAS 4.0 to 4.0SP4 fails.
481681
Documentation error: Programmer's Guide
(Java), Fieldnames in Database Property File are case-sensitive.
490941
Fixed incorrect URL decoding (& and
; issue) WAP.
502581
ODBC-002: PreparedCall Execute: SQLExecute
call failed: (37000) [Microsoft][ODBC SQL Server Driver][SQL Server]
Explicit value must be specified for identity
column in table 'ANN_EXE_PARAMETER' when IDENTITY_INSERT is set to
ON. (DB Error: 545).
516475
Rollback with Container Managed Local
Transactions.
523709
Applogic Multi Select Box input delimiter
changed from ; to ^~^.
Known
Problems
This section describes the known problems
for NAS 4.0 SP5.
com.netscape.server.jdbc.Statement.executeBatch()
with the DB2 7.1 client
com.netscape.server.jdbc.Statement.execute()
with the DB2 7.1 client.
Communication Channel Closed Problem While
Debugging Applications with Visual Cafe 3
Application builder. It only occurs when
trying to debug or set a break point on an EJB code during development
(not
production) with Visual Cafe in certain
systems.
Do not hot deploy in production systems.
Restart the server after a new version of the application components is
rolled
into production. This problem occurs rarely
and will be corrected in a future release.
may be thrown.
domain name. To prevent this, set the
domainname variable in the shell before the product is installed.
user gets an authentication error while
executing the application. To workaround, manually load this information
from the
BankUser.ldif file using the ldapmodify
command. Make sure that this file is edited properly with the correct domain
information.
database server configured to with UTF-8.
Workaround: configure both the Oracle client and the database server
with either
Legacy or UTF-8.
work around this problem, use Oracle Native
drivers (jdbc thin drivers - type 4). The steps for making Oracle JDBC
drivers work with NAS 4.0
are listed below in the section Using
Oracle Thin Drivers.
setBinaryStream( ) Does Not Work with PreparedStatement
as Expected
String url = "jdbc:oracle:thin:@psedb:1521:ORCL".)
How to Report Problems
From this location, the CaseTracker and CaseView tools are available
for logging problems.
For More Information
Use of Netscape Application Server is subject to the terms described in the license agreement accompanying it.
Copyright © 2001 Sun Microsystems, Inc. Some preexisting portions Copyright © 2001 Netscape Communications Corp. All rights reserved.
Last Updated May 24, 2001