facebook

Error when deploying to WebSphere 6.1

  1. MyEclipse IDE
  2.  > 
  3. Java EE Development (EJB, JSP, Struts, XDoclet, etc.)
Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #309516 Reply

    mspaugh1
    Member

    Hi, I’m having an issue with deploying my EAR file to WAS 6.1. It seems to run through all the WAR’s and gets to the zipping portion before giving me an “out of memory” error. I have played around with the memory allocation (i.e. my current startup is as follows: “C:\Program Files\Genuitec\MyEclipse Blue Edition 8.5\myeclipse-blue.exe” -vmargs -Xmx576m -XX:MaxPermSize=512m -XX:ReservedCodeCacheSize=384m”

    I feel that these values should be sufficient, but I’m at a loss. Please help!

    Note: I have run “Enhance RAD Project to work with MyEclipse” already

    !MESSAGE An internal error occurred during: “Add Deployment”.
    !STACK 0
    java.lang.OutOfMemoryError
    at java.io.FileInputStream.readBytes(Native Method)
    at java.io.FileInputStream.read(FileInputStream.java:177)
    at com.genuitec.eclipse.core.datatransfer.ZipFileExporter.write(ZipFileExporter.java:222)
    at com.genuitec.eclipse.ast.deploy.ant.DeployerZipFileExportOperation.exportResource(Unknown Source)
    at com.genuitec.eclipse.ast.deploy.ant.DeployerZipFileExportOperation.exportResource(Unknown Source)
    at com.genuitec.eclipse.ast.deploy.ant.DeployerZipFileExportOperation.exportSpecifiedResources(Unknown Source)
    at com.genuitec.eclipse.ast.deploy.ant.DeployerZipFileExportOperation.run(Unknown Source)
    at com.genuitec.eclipse.ast.deploy.core.packaging.EarPackager.createBasicEAR(Unknown Source)
    at com.genuitec.eclipse.ast.deploy.core.packaging.EarPackager.packageAndDistributeEAR1(Unknown Source)
    at com.genuitec.eclipse.ast.deploy.core.packaging.EarPackager.exportEARProject(Unknown Source)
    at com.genuitec.eclipse.ast.deploy.core.packaging.DefaultPackagerStrategy.exportEARProject(Unknown Source)
    at com.genuitec.eclipse.ast.deploy.core.packaging.PackageUtils.exportEARProject(Unknown Source)
    at com.genuitec.eclipse.ast.deploy.core.EARDeployment.exportEARProject(Unknown Source)
    at com.genuitec.eclipse.ast.deploy.core.EARDeployment.deployAsPackageArchive(Unknown Source)
    at com.genuitec.eclipse.ast.deploy.core.Deployment.deploy(Unknown Source)
    at com.genuitec.eclipse.ast.deploy.core.jobs.A.ÄÂ�(Unknown Source)
    at com.genuitec.eclipse.ast.deploy.core.jobs.A.run(Unknown Source)
    at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)

    *** Date:
    Thursday, July 1, 2010 3:45:49 PM EDT

    ** System properties:
    OS=WindowsXP
    OS version=5.1.0
    Java version=1.6.0_13

    *** MyEclipse details:
    MyEclipse Blue Edition
    Version: 8.5 Blue
    Build id: 8.5-Blue-20100319

    *** Eclipse details:
    MyEclipse Blue Edition

    Version: 8.5 Blue
    Build id: 8.5-Blue-20100319

    Eclipse Platform

    Version: 3.5.2.R35x_v20100210-0800-9hEiFzmFst-TiEn9hNYgDWg1XN8ulH_JvCNGB
    Build id: M20100211-1343

    Eclipse Java Development Tools

    Version: 3.5.2.r352_v20100108-7r88FEwFI0WTuoBl0iaG0tyhfZH6
    Build id: M20100211-1343

    Eclipse Plug-in Development Environment

    Version: 3.5.2.R35x_v20100119-7Z7_FA2FDX-aXQYWqYDBz-z0qufo
    Build id: M20100211-1343

    Eclipse Graphical Editing Framework GEF

    Version: 3.5.2.v20100111-1352-777928194B66D5D476C33B2A
    Build id: 201001111753

    Eclipse RCP

    Version: 3.5.2.R35x_v20100119-9SA0FxwFnoCU5XxWItFdXXb27BA6
    Build id: M20100211-1343

    Eclipse startup command=-os
    win32
    -ws
    win32
    -arch
    x86
    -showsplash
    -launcher
    C:\Program Files\Genuitec\MyEclipse Blue Edition 8.5\myeclipse-blue.exe
    -name
    Myeclipse-blue
    –launcher.library
    C:\Program Files\Genuitec\MyEclipse Blue Edition 8.5\../Common/plugins/org.eclipse.equinox.launcher.win32.win32.x86_1.0.200.v20090519\eclipse_1206.dll
    -startup
    C:\Program Files\Genuitec\MyEclipse Blue Edition 8.5\../Common/plugins/org.eclipse.equinox.launcher_1.0.201.R35x_v20090715.jar
    -install
    C:/Program Files/Genuitec/MyEclipse Blue Edition 8.5
    -configuration
    configuration
    -vm
    C:/Program Files/Genuitec/Common/binary/com.sun.java.jdk.win32.x86_1.6.0.013/jre/bin/client/jvm.dll

    #309517 Reply

    mspaugh1
    Member

    Update: I also tried this with the following command line arguments: “C:\Program Files\Genuitec\MyEclipse Blue Edition 8.5\myeclipse-blue.exe” -vmargs -Xmx512m -XX:MaxPermSize=256m -XX:ReservedCodeCacheSize=64m

    #309518 Reply

    mspaugh1
    Member

    Please disregard. It appears that this is now working, but I have other issues. I will post in a separate topic.

    Thanks!

    #309528 Reply

    support-joy
    Member

    mspaugh1,

    Good to hear you are all set.

    Note for other forum users – Please refer – http://www.myeclipseide.com/documentation/quickstarts/blueedition/blue_install_websphere6.1/ – for instructions on how to install WAS 6.1
    Also refer MyEclipse tutorials and whitepapers at – http://www.myeclipseide.com/module-htmlpages-display-pid-7.html

Viewing 4 posts - 1 through 4 (of 4 total)
Reply To: Error when deploying to WebSphere 6.1

This topic is marked as closed to new replies, however your posting capabilities still allow you to do so.

You must be logged in to post in the forum log in