Java
Java EE
|
| Document Revised: 01/31/02
General Questions
Installation and Configuration
Uses of the J2EE SDK
Common Errors Encountered During Use
Access and Security Issues
General Questions Q1: What is the Java 2 Platform, Enterprise Edition ("J2EE") SDK? What is its intended use? The J2EE SDK is the software development kit ("SDK") of the reference implementation ("RI") of the Java 2 Enterprise Edition ("J2EE") Platform. The RI is a complete implementation of the J2EE platform intended as a proof of concept and example for implementations in the application server marketplace. The J2EE SDK includes a J2EE application server and various tools to help developers prototype J2EE applications and learn about the J2EE platform and technologies. It can be used as a J2EE development enviroment for applications prior to their deployment and distribution. Q2: Is the J2EE SDK supported on Solaris Operating Environment (Intel Platform Edition)? J2EE SDK versions 1.2.1 and 1.3.1 are not officially supported on the Solaris Operating Environment 8 (Intel Platform Edition, formerly known as X86). The J2EE SDK is free of native code and is expected to run on Solaris/Intel. Q3: Is the J2EE SDK supported on Windows 95/98/ME? We do not officially support Windows 95/98/ME. It is possible, however, to run the J2EE SDK 1.3.1 on Windows 95/98/ME with some tweaking in the batch files. Please refer to http://forums.java.sun.com/thread.jsp?forum=13&thread=21673 for more information. Please note that we have not tested the solutions set out there. Q4: How can I receive information about licensing the J2EE Reference Implementation(RI)? To receive information about licensing the J2EE RI, fill out the J2EE License Request form. A member of our licensing team will contact you shortly. The J2EE SDK is free to you if you are using it for development only. As a licensee, you will have the use of RI technology in products you develop, and access to Sun developed tests that can be used to establish J2EE compatibility. Q5: When will the source code for the J2EE 1.3.1 SDK be available? The source code for the J2EE SDK 1.3.1 is to be available soon after the J2EE SDK final release.
Installation and Configuration Q1: I'm having trouble downloading J2EE SDK. Have any common problems been reported? We recommend using Netscape software to download our products. Download errors have been reported with Microsoft Internet Explorer. If you have IE problems, we suggest you search the Microsoft website on the following terms to determine if you have one of the problems described there: Q248439, Q195155, Q231580. Q2: Where do I set the variables for the J2EE SDK on a Windows machine? You can set the value of
Otherwise, open your Control Panel, go to System Properties, and click on the Environment tab, to open a dialog where you can add a new variable called
The value for the variable is the directory where you installed the J2EE SDK. Set your
assuming you have installed J2EE SDK under c:\.
Q3: Where can I find the XML DTDs for deployment descriptors? There are three places where you can access the DTD files:
The use of each element is documented in the DTD file. Q4: How do I modify the port number for the deploytool/server to avoid conflicts? The J2EE server listen port number can be modified in the properties file at
Q5: How do I do connect to a J2EE server on a different machine? Take these steps to connect to a J2EE server on a different machine:
Q6: I have trouble connecting from a Windows/Solaris client to a Linux server. What should I do? In this situation you may see the following message:
After the default installation of Red Hat Linux the
Q7: Is there a JNDI browser provided with the J2EE SDK? How do I set up a JNDI browser for the J2EE SDK? There is no JNDI browser in the RI download, but one is available free through Forte for Java software. Here is how to set it up:
Uses of the J2EE SDK Q1: To run Java ServerPages, do I need to install the J2EE SDK or do I only need a web server? Java ServerPages ("JSP") require a web server and a Java 2 Platform, Standard Edition ("J2SE") implementation to run. The J2EE SDK, has the functionality needed for running JSP pages. JSP technology is one of the J2EE SDK technologies. If you want to use JSP pages with other J2EE SDK technologies, e.g. Enterprise JavaBean ("EJB") technology, using the J2EE SDK is a good choice. Q2: Where is the
The
Q3: How do I debug my J2EE applications running in the J2EE SDK?
You are now ready to debug. The memory requirements are 198 MB for Forte for Java and 128 MB for J2EE.
Dealing With Common Errors Q1: The following error occurred during deployment:
The problem can occur if you already have Java API for XML Processing ("JAXP") installed on your machine (e.g. as part of J2SE). Its path was added to the environment variable
Q2: I have received the following error message:
The error message may mean you have a port conflict. You may want to close Outlook (or similar programs, such as MS proxy or Eudora client software) and try to start your server again. Another possibility is you already have an instance of the J2EE SDK server running that has claimed the port. You can stop the running of the previous instance to clear the way for starting your server again. Q3: I have encountered the following error:
This occurs if your classpath does not include the following path:
A remedy is to use the command line tools provided with J2EE SDK. The command line tools automatically insert the above path in the classpath. Q4: What should I do if I encounter an error during startup of the J2EE SDK server? Some of the typical causes of an error on startup are the following:
Please refer to http://forums.java.sun.com/thread.jsp?forum=59&thread=129162 for more information. Here is what to do if you receive one of the following messages:
Q5: What should I do if I encounter an error during deployment? Obtain diagnostic information as follows:
Q6: What should I do if I encounter an error while running an Enterprise JavaBeans application?
Q7: What should I do if I encounter a
Access and Security Issues Q1: What should I do if I encounter the following exception:
With 1.3.1 final release, the J2EE SDK became strict about checking adherence to the security policies of J2EE components. How can you make your application run under the Final Release?
Q2: How come a "guest" principal is returned by
You will need to specify "Certificate" or "Password" as in the "Deployment Settings..." for the enterprise bean. See the previous question for more information. |
||||||||