Sybase DC38029-01-0500-01 dimensions Eclipse runs out of memory when handling large return values

Page 6

5. Known problems

EAServer 5.0

5Repeat the previous step to update the VeriSign root certificate in the JDK 1.3 installation used by EAServer.

For additonal HP-UX specific information see the expiration notice, posted at

http://www.hp.com/products1/unix/java/infolibrary/verisign.html

5.5.2 Eclipse runs out of memory when handling large return values

In Eclipse, when testing Web service calls to components that return very large values (say greater than 1 million bytes), the Java VM that runs Eclipse can run out of memory. To solve this problem, modify the starteclipse.sh script file.

Change the line:

eclipse -vm jdk-path/jre/bin/java

—add the -Xmxoption to increase the Java VM heap size from the default. For example:

eclipse -vm jdk-path/jre/bin/java -vmargs -Xmx512m

This example sets the Java VM heap size to 512 Megabytes, specified by 512m.

You can adjust the size up or down as needed to prevent out-of-memory errors.

For information on the syntax of the -Xmxoption, see the Java command line

documentation at http://java.sun.com/j2se/.

5.5.3 Errors in Eclipse when importing the sample applications

When installing the EAServer Web services samples into Eclipse, you may see errors related to the following issues.

(CR #341509) You will see several errors caused by the lack of Web service client classes that must be generated after importing. This is expected, since the client classes must be generated for each sample project according to the readme files that accompany each sample.

(CR #341533) You see errors for unresolved javax.ejb dependencies when importing the EJBSample. This sample is not intended to be built or used in Eclipse, but is rather meant to be compiled manually and then deployed to EAServer using EAServer Manager. EJBSample contains the source code for an EJB and requires classes that Eclipse does not have, such as javax.ejb.*. To eliminate error messages caused by the unresolved dependencies, right click on the EJBSample node, choose the Properties menu item, choose Java Build Path on the left pane of the resulting dialog, select the Libraries tab on the right pane, click the Add External JARs button and choose $JAGUAR/java/lib/easj2ee.jar, which will add in the javax.ejb.* classes into the path for that project.

6

Release Bulletin for HP-UX

Image 6
Contents Release Bulletin EAServer 5.0 for HP-UX TopicPage 1. Accessing current release bulletin information 2. Product summary2.1 System requirements 2.2 Required system patches 3. Special installation instructions4. Changed functionality in this version 3.1 Mounting the CD5.2 Systems Management 5. Known problems5.1 EAServer Manager server configuration wizard 5.2.1 Net-SNMP functionality not supported5.4 HTTP 1.1 support 5.5 Web services toolkit issues5.3 SSL certificates after upgrading 5.5.1 Expired VeriSign root certificate5.5.2 Eclipse runs out of memory when handling large return values 5.5.3 Errors in Eclipse when importing the sample applications5.5.4 Using the XML-Security package 5.6 Silent installer issues6.1 PowerBuilder 6. Product compatibilities6.1.1 Known issues lib/*pb html/classes/pbjdbc12.jar6.3 Application Integrator 7. Documentation updates and clarifications6.2 PowerDynamo 6.4 Earlier EAServer Jaguar CTS versions8. Technical support 7.1 Corrections to the EAServer System Administration Guide7.2 Corrections to the Web Services Toolkit User’s Guide 9. Other sources of information9.1 Sybase certifications on the Web Finding the latest information on product certifications10. Accessibility features 9.2 Sybase EBFs and software maintenanceFor additional information about how Sybase supports accessibility, see 10. Accessibility features EAServerRelease Bulletin for HP-UX