facebook

Cannot deploy to nor start Tomcat7 from MyEclipse 10

  1. MyEclipse IDE
  2.  > 
  3. General Development
Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #352603 Reply

    bhoppe
    Member

    I have Tomcat7 installed and I’m trying to deploy my application. Two issues I’ve found.

    First issue:

    I go to manage deployments
    select Tomcat 7.x as the server
    click Add
    Select my project
    Select exploded archive (the deployment location is set correctly)

    When I click “Finish” button, nothing happens. The new deployment window stays up and there’s no error. So its not allowing me to set a new deployment.

    Second issue:
    When I try to start the Tomcat7 server, I get a prompt:

    “A configuration error occurred during startup. Please verify the preference field with the prompt: null”

    This was working fine with Tomcat 6 but now doesn’t work with Tomcat 7.

    Brandon

    #352608 Reply

    support-swapna
    Moderator

    Brandon,

    Can you please verify if you have configured the Tomcat 7.x correctly? Also make sure the JDK in the Tomcat connector is pointing to the Sun JDK.

    MyEclipse 10.x and prior releases are no longer fully supported.

    I recommend you update to MyEclipse 2015 CI which is our latest version. You can download MyEclipse 2015 CI from here.

    If you cannot update to the latest version at this point , please pm me your license details and we will verify if we can assist you further. Along with the license details, please also share the MyEclipse installation details from MyEclipse > Installation Summary > Installation Details.

    #352632 Reply

    bhoppe
    Member

    I’ve verified TC7 is setup the same as TC6. I’ll PM you my license details. Here’s my installation details:

    *** Date:
    Wednesday, November 12, 2014 1:15:19 PM CST

    *** System properties:
    OS=WindowsVista
    OS version=6.1.0
    OS arch=amd64
    Profile arch=x86_64
    Window system=win32
    Java version=1.6.0_13
    Workspace=file:/C:/Users/Administrator/Workspaces/webench/
    VM Args=-Xmx512m
    -XX:MaxPermSize=256m
    -XX:ReservedCodeCacheSize=64m
    -Dosgi.nls.warnings=ignore
    -jar
    C:\Genuitec\MYECLI~1\MYECLI~2\../Common/plugins/ORB7B5~1.JAR

    *** Subscription information
    Product Id: E3MP (MyEclipse Professional Subscription)
    License version: 3.0
    Full Maintenance Included
    Subscription expiration date (YYYYMMDD): 20150119
    Number of users: 1

    *** Eclipse details:
    MyEclipse Enterprise Workbench

    Version: 10.7.1
    Build id: 10.7.1-20130201

    Blueprint: MyEclipse 10

    Eclipse startup command=-os
    win32
    -ws
    win32
    -arch
    x86_64
    -showsplash
    -launcher
    C:\Genuitec\MyEclipse 10\MyEclipse 10\myeclipse.exe
    -name
    Myeclipse
    –launcher.library
    C:\Genuitec\MyEclipse 10\MyEclipse 10\../Common/plugins/org.eclipse.equinox.launcher.i18n.win32.win32.x86_64_4.2.0.v201201111650\eclipse_4201.dll
    -startup
    C:\Genuitec\MyEclipse 10\MyEclipse 10\../Common/plugins/org.eclipse.equinox.launcher_1.2.0.v20110502.jar
    -exitdata
    ee4_5c
    -install
    C:/Genuitec/MyEclipse 10/MyEclipse 10
    -vm
    C:/Genuitec/MyEclipse 10/Common/binary/com.sun.java.jdk.win32.x86_64_1.6.0.013/bin/javaw.exe

    #352646 Reply

    support-swapna
    Moderator

    Brandon,

    Thank you for the license details.The error points to incorrect server configuration.

    Can you please switch to a new workspace, configure the Tomcat 7.x using the Tomcat 7.x connector and replicate the issue ?

    If you are still seeing issues, please send us the .log file which is located at <workspace dir>/.metadata/.log along with a screenshot of the Tomcat 7.x connector to help us investigate further.

    Also share the contents of the Console view which are logged during Tomcat startup.

    #352656 Reply

    bhoppe
    Member

    Looking at the log file, I get this error when trying to start TC7:

    !ENTRY org.eclipse.core.resources 2 2 2014-11-13 16:00:20.020
    !MESSAGE EASIE CORE: VMInstall named ‘jdk1.6.0_33’ could not be found.

    !ENTRY com.genuitec.eclipse.easie.core 1 0 2014-11-13 16:00:20.021
    !MESSAGE Error starting Tomcat 7.x server
    !STACK 0
    com.genuitec.eclipse.core.GenuitecCoreException
    at com.genuitec.eclipse.easie.core.EASIEServer.start(Unknown Source)

    So TC7 is trying to use jdk1.6.0_33. I don’t know where its getting this from. I only have jdk1.6.0_29 installed. I can’t find any reference to _33 anywhere.

    #352667 Reply

    support-swapna
    Moderator

    Brandon,

    Can you please recheck if Tomcat 7.x JDK is pointing to the correct JDK installation? Go to Window > Preferences > MyEclipse > Servers > Tomcat > Tomcat 7.x. Expand Tomcat 7.x > JDK.

    By default it picks up the JDK that is setup and checked in the Installed JREs (Window > Preferences > Java > Installed JREs).

    If you are still seeing issues, please switch to a new workspace, configure the Installed JRE ( By default Installed JRE lists the JDK that is shipped along with MyEclipse. If you want to configure an external JDK , you should add a new JRE and point to the external JDK install directory), configure Tomcat 7.x and select the JRE (JDK) that you setup and check.

    If the issue persists, please send us the screenshots of the Installed JRE and the Tomcat JDK page along with the entire contents of the .log file to help us investigate further.

    Let us know how it works for you.

    #352672 Reply

    bhoppe
    Member

    OK, so I found where the JDK wasn’t defined under Servers > Tomcat > Tomcat 7.x. Expand Tomcat 7.x > JDK.

    Now there’s a new issue. I basically started fresh by creating a new workspace. Enable a Tomcat7 server with the JDK. Under the MyEclipse Servers dropdown, it lists two separate Tomcat 7.x servers.

    Why is there two listed?

    A little more odd information. When I go to New Deployment and click Add the drop down list for Server has “Tomcat 7.x” and “Tomcat 7.x [Custom]”.

    Where is this Custom coming from? I don’t know which one to use now or where it deploys to.

    When I try to start either one, they webapps directory is set to Tomcat7\me-webapps. What is ‘me-webapps’ and where did it come from? It should be Tomcat7\webapps.

    Ugh this is annoying.

    #352687 Reply

    support-swapna
    Moderator

    Brandon,

    Can you please clarify if you are working with MyEclipse 10.7.1 or MyEclipse 2015 CI ?

    From MyEclipse 2015 CI onwards, Tomcat deploys to me-webapps folder. In MyEclipse 10.7.1, Tomcat deploys to webapps folder.

    You will see the Tomcat 7.x [Custom] entry under the Servers list, if you have created a launch configuration for Tomcat from the connector as shown in the below screenshot :

    Did you try configuring Tomcat again using the WTP connector (New > Other > Server > Apache) ?

    Please switch to a new workspace, configure the Tomcat 7.x and send us screenshots if you are seeing issues.

Viewing 8 posts - 1 through 8 (of 8 total)
Reply To: Cannot deploy to nor start Tomcat7 from MyEclipse 10

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