facebook

[Closed] I can not deploy a web project with Mac OS.

  1. MyEclipse Archived
  2.  > 
  3. Application Servers and Deployment
Viewing 13 posts - 1 through 13 (of 13 total)
  • Author
    Posts
  • #256784 Reply

    flafora
    Member

    What I do
    Install Eclipse 3.2
    Install MyEclipse (see below)
    Add tomcat 5.5.17 and start it with no problem
    Create a web project (J2EE 1.4)
    Create a JSP (Basic Template).
    Select the project and click the deploy icon: Nothing happens

    Then I try the following:
    Click the Servers view
    Right click the tomcat server and Select “Manage Deployments”: My project does not appear!!!

    My configuration:
    PowerBook G4 (PPC)
    Mac OS 10.4.7
    java version “1.5.0_06”
    Eclipse 3.2
    MyEclipse 5.0.1GA
    Tomcat 5.5.17

    My MyEclipse Installation
    Manual Installation
    When Eclipse starts again after adding the MyEclipse
    extension I get a window with the following:
    Incomplete MyEclipse Installation
    The workbench must be restarted to fully complete the MyEclipse
    installation process.
    MyEclipse will restart now
    After this, I click OK and Eclipse restarts again

    Please, let me know if there is something I am missing. I tried the same with the other versions of MyEclipse (5.0M1, 5.0M2 and 5.0) and the very same thing happened.

    Regards,

    #256866

    Riyad Kalla
    Member

    Can you go to MyEclipse > Installation Summary > Installation Details and paste the result here for me?

    #256894

    flafora
    Member

    Here is the output you requested.

    Thank you for your prompt answer.

    Regards,

    Installation Details
    *** Date: Tue Aug 15 22:45:43 CEST 2006

    *** System properties:
    OS=mac os x
    OS version=10.4.7
    Java version=1.5.0_06

    *** MyEclipse details:
    MyEclipse Enterprise Workbench

    Version: 5.0 GA
    Build id: 20060805-5.0-GA

    *** Eclipse details:
    Eclipse SDK

    Version: 3.2.0
    Build id: M20060629-1905

    Eclipse Graphical Editing Framework

    Version: 3.2.0.v20060626
    Build id: 20060627-0816

    Eclipse Platform

    Version: 3.2.0.v20060609m-AgOexn6hlEUsvBO
    Build id: M20060629-1905

    Eclipse RCP

    Version: 3.2.0.v20060609m-SVDNgVrNoh-MeGG
    Build id: M20060629-1905

    Eclipse Java Development Tools

    Version: 3.2.0.v20060609m-F7snq1fxia-Z4XP
    Build id: M20060629-1905

    Eclipse Plug-in Development Environment

    Version: 3.2.0.v20060609m——6zXJJzJzJq
    Build id: M20060629-1905

    Eclipse Project SDK

    Version: 3.2.0.v20060609m-GNq6oQq-7es-Y81
    Build id: M20060629-1905

    Eclipse startup command=-os
    macosx
    -ws
    carbon
    -launcher
    /Users/flafora/Applications/eclipse_MyEclipse/Eclipse.app/Contents/Resources/Splash.app/Contents/MacOS/eclipse
    -name
    Eclipse
    -showsplash
    600
    -exitdata
    40000
    -keyring
    /Users/flafora/.eclipse_keyring
    -consoleLog
    -showlocation
    -vm
    /usr/bin/java

    #256897

    Riyad Kalla
    Member

    Everything looks good, can you check your log file (<workspace dir>\.metadata\.log) for any exceptions that might indicate what is happening with the dialog?

    #256928

    flafora
    Member

    The log file is also ok. Here it is:

    !SESSION 2006-08-15 23:02:05.848 ———————————————–
    eclipse.buildId=M20060629-1905
    java.version=1.5.0_06
    java.vendor=Apple Computer, Inc.
    BootLoader constants: OS=macosx, ARCH=ppc, WS=carbon, NL=es_ES
    Framework arguments: -keyring /Users/flafora/.eclipse_keyring -showlocation
    Command-line arguments: -os macosx -ws carbon -keyring /Users/flafora/.eclipse_keyring -consoleLog -showlocation

    !ENTRY com.genuitec.eclipse.wizards 1 0 2006-08-15 23:03:14.396
    !MESSAGE Installed snippet library: /Users/flafora/Applications/ME-5.0.1GA_E3.2ManualInstall/eclipse/plugins/com.genuitec.eclipse.wizards_5.0.0/snippets/css_snippets.xml

    !ENTRY com.genuitec.eclipse.wizards 1 0 2006-08-15 23:03:14.528
    !MESSAGE Installed snippet library: /Users/flafora/Applications/ME-5.0.1GA_E3.2ManualInstall/eclipse/plugins/com.genuitec.eclipse.wizards_5.0.0/snippets/forms_lists_snippets.xml

    !ENTRY com.genuitec.eclipse.wizards 1 0 2006-08-15 23:03:14.636
    !MESSAGE Installed snippet library: /Users/flafora/Applications/ME-5.0.1GA_E3.2ManualInstall/eclipse/plugins/com.genuitec.eclipse.wizards_5.0.0/snippets/html_snippets.xml

    !ENTRY com.genuitec.eclipse.wizards 1 0 2006-08-15 23:03:14.698
    !MESSAGE Installed snippet library: /Users/flafora/Applications/ME-5.0.1GA_E3.2ManualInstall/eclipse/plugins/com.genuitec.eclipse.wizards_5.0.0/snippets/htmlform_snippets.xml

    !ENTRY com.genuitec.eclipse.wizards 1 0 2006-08-15 23:03:14.858
    !MESSAGE Installed snippet library: /Users/flafora/Applications/ME-5.0.1GA_E3.2ManualInstall/eclipse/plugins/com.genuitec.eclipse.wizards_5.0.0/snippets/javascript_snippets.xml

    !ENTRY com.genuitec.eclipse.wizards 1 0 2006-08-15 23:03:14.956
    !MESSAGE Installed snippet library: /Users/flafora/Applications/ME-5.0.1GA_E3.2ManualInstall/eclipse/plugins/com.genuitec.eclipse.wizards_5.0.0/snippets/jsf_f_snippets.xml

    !ENTRY com.genuitec.eclipse.wizards 1 0 2006-08-15 23:03:15.128
    !MESSAGE Installed snippet library: /Users/flafora/Applications/ME-5.0.1GA_E3.2ManualInstall/eclipse/plugins/com.genuitec.eclipse.wizards_5.0.0/snippets/jsf_h_snippets.xml

    !ENTRY com.genuitec.eclipse.wizards 1 0 2006-08-15 23:03:15.212
    !MESSAGE Installed snippet library: /Users/flafora/Applications/ME-5.0.1GA_E3.2ManualInstall/eclipse/plugins/com.genuitec.eclipse.wizards_5.0.0/snippets/struts_bean_snippets.xml

    !ENTRY com.genuitec.eclipse.wizards 1 0 2006-08-15 23:03:15.351
    !MESSAGE Installed snippet library: /Users/flafora/Applications/ME-5.0.1GA_E3.2ManualInstall/eclipse/plugins/com.genuitec.eclipse.wizards_5.0.0/snippets/struts_html_snippets.xml

    !ENTRY com.genuitec.eclipse.wizards 1 0 2006-08-15 23:03:15.493
    !MESSAGE Installed snippet library: /Users/flafora/Applications/ME-5.0.1GA_E3.2ManualInstall/eclipse/plugins/com.genuitec.eclipse.wizards_5.0.0/snippets/struts_logic_snippets.xml

    !ENTRY com.genuitec.eclipse.wizards 1 0 2006-08-15 23:03:15.575
    !MESSAGE Installed snippet library: /Users/flafora/Applications/ME-5.0.1GA_E3.2ManualInstall/eclipse/plugins/com.genuitec.eclipse.wizards_5.0.0/snippets/struts_tiles_snippets.xml

    #256932

    Riyad Kalla
    Member

    One of two things is happening, either the install is corrupted or this is a usability issue. To rule out it being a usability issue, can you rgiht click on your Web Project (must be a web project) and go down to MyEclipse then try Add/Remove deployments? Optionally, after configuring your app server, can you go to the server view and try and manage deployments from there as well and see if it works?

    #256970

    flafora
    Member

    I did what you tell me to do in the mail below and nothing happened: That is, I right-clicked on my web project, went to “My Eclipse…” and selected “Add and Remove Project Deployments…”. The result: I got back to the MyEclipse perspective with no feedback from MyEclipse. There were no errors in the .log file.

    Let me tell you everything I tried:
    I tried to add struts capabilities and again it happened the same as when a tried to “Add and Remove Project Deployments”.

    The same thing happened when I tried to create a JSP (advanced template).

    I tried to create a servlet following the steps of the wizzard and when I clicked the “Finish” button I got the message about the expiration of my licence twice (that is, I have to click Ok twice) and then I stayed in the “Create a new Servlet” window. The only way to get out of it was to click “Cancel”.

    I reinstalled everything (Eclipse and MyEclipse) and got the same results.

    I downoladed MyEclipseEnterpriseWorkbenchInstaller_5.0.1GA_E3.2.zip (installation specific for the Mac), unzipped the file, and tried the installation in two different ways: 1) Double clicking on MyEclipseEnterpriseWorkbenchInstaller_5.0.1GA_E3.2.app and 2) executing the Mac command “open MyEclipseEnterpriseWorkbenchInstaller_5.0.1GA_E3.2.app”. In both cases the installation failed. In the first case I got no feedback at all and in the second case the same thing happened: I got the prompt from the shell with no message whatsoever.

    The downloads were ok because I checked the md5 posted in your web.

    I deployed an application in tomcat without any problem at all.

    As far as I can see, the problem is that MyEclipse does not recognize the web project even if I can see the web project icon associated to my project. Did the developpers tried the product with 10.4.7 Mac OS and java 1.5?

    Regards,

    #256978

    Riyad Kalla
    Member

    I tried to create a servlet following the steps of the wizzard and when I clicked the “Finish” button I got the message about the expiration of my licence twice (that is, I have to click Ok twice) and then I stayed in the “Create a new Servlet” window. The only way to get out of it was to click “Cancel”.

    Wait, you *never* mentioned that your subscription had expired, this likely explains all the problems you are having as MyEclipse disables itself when your license expires… it’s fairly clear about this in the popup dialog.

    I deployed an application in tomcat without any problem at all.

    I don’t understand how this is the case, you have told me that the deployment dialog doesn’t work.

    Did the developpers tried the product with 10.4.7 Mac OS and java 1.5?

    Yes, 2 of the developers have MacBook Pros.

    #256987

    flafora
    Member

    I renewed my subscription and everything went ok.

    I really sorry for not having told you about my subscription but I was sure (obviously I was wrong) that the only thing that happened when your subscription has expired is that you get the noisy pop up window every time you tried to do anything useful. I do not remember exactly what the content of that window is. I clearly remember that they say “your license has expired” and that I have to renew it but I do not recall reading that if you do not renew your license things are not going to work.

    With respect to the deployment of the application in tomcat, I meant to say that I deployed an application without using myeclipse. I wanted to let you know that there was no problem with tomcat itself.

    Thanks again for all your help.

    #257006

    Riyad Kalla
    Member

    No problem at all, as long as everything is working again.

    #285140

    mancocapac
    Member

    I have a similar problem to the above except my subscription is valid
    Every time i start up after a few seconds (10sec or so) I get a pop up that tells me I need to restart.

    “The workbench must be restarted to fully complete the MyEclipse installation process.
    MyEclipse will restart now.”

    I cant find a way out of this. I tried a uninstall, that just hung. I did a manual uninstall followed by a re-install several times still the
    same. For the manual uninstall i did the following:
    I have removed the eclipse/configuration directory as per one of your blog suggestions also as part of my many re-install attempts
    I have removed .myeclipse and .myeclipse.properties before the install.
    I disabled the MyEclipse plugin and deleted the MyEclipse install directory

    Each time it indicates the install completed with some errors and directs me to the log file, which in fact does have some errors:
    The log looks fine until the last few lines, which i have inserted here:
    MyEclipse_6.0.1_InstallLog.log

    Mon May 19 15:13:42 PDT 2008

    Free Memory: 52096 kB
    Total Memory: 65152 kB

    java.class.path:
    /tmp/install.dir.12580/InstallerData
    /tmp/install.dir.12580/InstallerData/installer.zip

    ZGUtil.CLASS_PATH:
    /tmp/install.dir.12580/InstallerData
    /tmp/install.dir.12580/InstallerData/installer.zip

    sun.boot.class.path:
    /tmp/install.dir.12580/Linux/resource/jre/lib/rt.jar
    /tmp/install.dir.12580/Linux/resource/jre/lib/i18n.jar
    /tmp/install.dir.12580/Linux/resource/jre/lib/sunrsasign.jar
    /tmp/install.dir.12580/Linux/resource/jre/lib/jsse.jar
    /tmp/install.dir.12580/Linux/resource/jre/lib/jce.jar
    /tmp/install.dir.12580/Linux/resource/jre/lib/charsets.jar
    /tmp/install.dir.12580/Linux/resource/jre/classes

    java.ext.dirs:
    /tmp/install.dir.12580/Linux/resource/jre/lib/ext

    java.version == 1.5.0_11 (Java 2+)
    java.vm.name == Java HotSpot(TM) Client VM
    java.vm.vendor == Sun Microsystems Inc.
    java.vm.version == 1.5.0_11-b03
    java.vm.specification.name == Java Virtual Machine Specification
    java.vm.specification.vendor == Sun Microsystems Inc.
    java.vm.specification.version == 1.0
    java.specification.name == Java Platform API Specification
    java.specification.vendor == Sun Microsystems Inc.
    java.specification.version == 1.5
    java.vendor == Sun Microsystems Inc.
    java.vendor.url == http://java.sun.com/
    java.class.version == 49.0
    java.compiler == null
    java.home == /tmp/install.dir.12580/Linux/resource/jre
    java.io.tmpdir == /tmp
    os.name == Linux
    os.arch == i386
    os.version == 2.6.24.7-92.fc8
    path.separator == :
    file.separator == /
    file.encoding == UTF-8
    user.name == root
    user.home == /root
    user.dir == /tmp/install.dir.12580
    user.language == en
    user.region == null
    __________________________________________________________________________

    Install Begin: Mon May 19 14:50:56 PDT 2008
    Install End: Mon May 19 14:58:28 PDT 2008

    Installed by InstallAnywhere 8.0.1 Enterprise Build 3081, by Macrovision

    User Interactions
    —————–

    #Choose Eclipse Folder
    #———————
    ECLIPSE_HOME=/usr/share/eclipse

    #Choose Install Folder
    #———————
    USER_INSTALL_DIR=/root/MyEclipse_6.0

    #Choose Link Folder
    #——————
    USER_SHORTCUTS=/root/MyEclipse_6.0/MyEclipse_6.0

    #Release Notes?
    #————–
    SHOW_RELEASE_NOTES=\”Yes – Open the release notes\”,\”\”
    SHOW_RELEASE_NOTES_1=Yes – Open the release notes
    SHOW_RELEASE_NOTES_2=
    SHOW_RELEASE_NOTES_BOOLEAN_1=1
    SHOW_RELEASE_NOTES_BOOLEAN_2=0

    Summary
    ——-

    Installation: Successfulwith errors.

    7267 Successes
    0 Warnings
    5 NonFatalErrors
    0 FatalErrors

    Action Notes:

    None

    Install Log Detail:

    Install Action: InstallAnywhere Variable
    Status: SUCCESSFUL

    Install Action: InstallAnywhere Variable
    Status: SUCCESSFUL

    Check Disk Space: /root/MyEclipse_6.0
    Status: SUCCESSFUL
    Additional Notes: NOTE – Required Disk Space: 693,943,075; Free Disk Space: 133,505,863,680

    Install Directory: /root/MyEclipse_6.0/
    Status: SUCCESSFUL
    Additional Notes: NOTE – Directory already existed

    ... (lots of Status: SUCCESSFUL, left out to conserver space)

    Modify Text File – Single File: No Target Chosen
    Status: SUCCESSFUL

    Execute Command: /bin/chmod u+x $USER_INSTALL_DIR$$/$MyEclipse.sh
    Status: SUCCESSFUL

    Execute ANT Script: Script: unpack-with-jarProcessor.xml
    Status: SUCCESSFUL

    Install Directory: /usr/share/eclipse/
    Status: SUCCESSFUL
    Additional Notes: NOTE – Directory already existed

    Modify Text File – Single File: New File /usr/share/eclipse/links/com.genuitec.eclipse.MyEclipse.link
    Status: SUCCESSFUL

    Modify Text File – Single File: No Target Chosen
    Status: SUCCESSFUL

    Modify Text File – Single File: No Target Chosen
    Status: ERROR
    Additional Notes: ERROR – Unable to locate ASCII text file to be manipulated. Deferring…

    Modify Text File – Single File: No Target Chosen
    Status: ERROR
    Additional Notes: ERROR – Unable to locate ASCII text file to be manipulated. Deferring…

    Delete Folder: Source:.config
    Status: SUCCESSFUL
    Additional Notes: NOTE – Source /usr/share/eclipse/.config does not exist.

    Install Directory: /root/MyEclipse_6.0/MyEclipse_6.0/
    Status: SUCCESSFUL

    Create Link: /root/MyEclipse_6.0/MyEclipse_6.0/MyEclipse 6.0.1
    Status: SUCCESSFUL

    Modify Text File – Single File: No Target Chosen
    Status: ERROR
    Additional Notes: ERROR – Unable to locate ASCII text file to be manipulated. Deferring…

    Modify Text File – Single File: No Target Chosen
    Status: ERROR
    Additional Notes: ERROR – Unable to locate ASCII text file to be manipulated. Deferring…

    Install Action: RPMSpecFile
    Status: ERROR
    Additional Notes: ERROR – There was a problem creating the RPM package. You may not be running as root or may not have installed RPM Builder correctly.
    ERROR – java.lang.NullPointerException

    This is my install details:
    *** Date:
    Monday, May 19, 2008 5:21:53 PM PDT

    ** System properties:
    OS=Linux
    OS version=2.6.24.7-92.fc8
    Java version=1.6.0_05

    *** MyEclipse details:
    MyEclipse Enterprise Workbench
    Version: 6.0.1 GA
    Build id: 6.0.1-GA-200710

    *** Eclipse details:
    Fedora Eclipse Platform

    Version: 3.3.0
    Based on build id: I20070625-1500

    Eclipse Platform

    Version: 3.3.0.v20070612-_19UEkLEzwsdF9jSqQ-G
    Build id: I20070625-1500

    Eclipse Project SDK

    Version: 3.3.0.v20070607-7M7J-BIolz-OcxWxvWAPSfLPqevO
    Build id: I20070625-1500

    Eclipse Java Development Tools

    Version: 3.3.0.v20070606-0010-7o7jCHEFpPoqQYvnXqejeR
    Build id: I20070625-1500

    Eclipse Plug-in Development Environment

    Version: 3.3.0.v20070607-7N7M-DUUEF6Ez0H46IcCC
    Build id: I20070625-1500

    Eclipse Graphical Editing Framework

    Version: 3.3.1.v20070814
    Build id: 20070814-1555

    Eclipse RCP

    Version: 3.3.0.v20070607-8y8eE8NEbsN3X_fjWS8HPNG
    Build id: I20070625-1500

    Eclipse startup command=-os
    linux
    -ws
    gtk
    -arch
    x86
    -showsplash
    /usr/share/eclipse//plugins/org.eclipse.platform_3.3.0.v20070613/splash.bmp
    -launcher
    /usr/lib/eclipse/eclipse
    -name
    Eclipse
    –launcher.library
    /usr/lib/eclipse/plugins/org.eclipse.equinox.launcher.gtk.linux.x86_1.0.0.v20070606/eclipse_1017a.so
    -startup
    /usr/share/eclipse/startup.jar

    -launcher
    /usr/lib/eclipse/eclipse
    -clean

    -vm
    /usr/local/j2se/jdk1.6.0_05/jre/lib/i386/client/libjvm.so

    I am running as root on my linux box. I am the only user on this machine and I have purchased the Pro license.

    Additionally, I am getting Error opening the editor.
    com/genuitec/javascript/debug/mozilla/MozBrowser

    when i attempt to open html, jsp … Basically anything that attempts to use MyEclipse Visual (anything) Designer

    Thanks for you help

    #285161

    Riyad Kalla
    Member

    Ahh, you want to add -clean to the script you use to launch MyEclipse, there is a little state variable we keep track of to see if the workbench restarted cleanly after an install to make sure everything is in there correctly; it looks like it might not be getting set.

    Also, to get the Mozilla Browser working, check the Help > Help Contents > MyEclipse Learning Center > Notes > Technical Notes section, there is a doc on how to get the designer working on Linux (you need to set the MOZILLA_FIVE_HOME env var to “” (empty quotes) before launching MyEclipse in a script)

    #285185

    mancocapac
    Member

    oops, I put my post in the wrong location. I was googling my tail off yesterday looking for answers.

    I can see that I made several mistakes as I am a linux newbie.
    First I wasn’t running the MyEclipse.sh, since I am running Fedora 8, I was using what was available
    from the KDE menu. The odd thing was MyEclipse was coming up. I had tried the MyEclipse.sh but
    it wasnt working, primarily because of the way the FC8 is setup

    1. >which eclipse (takes me to)
    /usr/bin/eclipse
    1.a /usr/bin/eclipse

    #!/bin/sh

    exec /usr/lib/eclipse/eclipse \
    –launcher.library /usr/lib/eclipse/plugins/org.eclipse.equinox.launcher.gtk.linux.x86_1.0.0.v20070606/eclipse_1017a.so \
    -startup /usr/share/eclipse/startup.jar \
    ${1+”$@”}

    2. from above we have /usr/lib/eclipse/eclipse and /usr/share/eclipse/startup.jar

    Anyway I fixed the problem by downloading a fresh copy of eclipse and re-installing MyEclipse once again.

    BTW: for the Visual editors to work the following flag needs to be inserted into the startup script
    -Dlinux.experimental=true

    thanks for your help

Viewing 13 posts - 1 through 13 (of 13 total)
Reply To: [Closed] I can not deploy a web project with Mac OS.

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