facebook

Tomcat and Console

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

    nikoligno
    Participant

    Hello!
    I’ve a web application, running on a external tomcat 6.0 (OS Vista, Myeclipse 7.0M2)
    When I start tomcat, console is not activating (not switching to console, no tomcat output to console).
    What’s happening?

    Thanks in advance.

    #291328 Reply

    Loyal Water
    Member

    You want MyEclipse console to show the messages from the external tomcat? You will have to configure the tomcat to run from within MyEclipse. You need to go to Windows > Prefs > MyEclipse > Servers > Tomcat and set the connector and run Tomcat from within MyEclipse.

    #291348 Reply

    nikoligno
    Participant

    yes I know.
    With eclipse 3.3 I had no problem working this way.
    But now (configuration details at the end of this post) I often start tomcat but console it’s not activated, and tomcat log it’s not showed.
    When I have this problem, I have also can’t switch on the debug perspective (eclipse stays idle).
    Thanks in advance

    *** Date: lunedì 24 novembre 2008 21:44:06 Germania

    *** Platform Details:

    *** System properties:
    awt.toolkit=sun.awt.windows.WToolkit
    eclipse.buildId=I20080617-2000
    eclipse.commands=-os
    win32
    -ws
    win32
    -arch
    x86
    -showsplash
    -launcher
    C:\Users\Acer\AppData\Local\MyEclipse 7.0 M2\eclipse\eclipse.exe
    -name
    Eclipse
    –launcher.library
    C:\Users\Acer\AppData\Local\MyEclipse 7.0 M2\eclipse\plugins\org.eclipse.equinox.launcher.win32.win32.x86_1.0.100.v20080509-1800\eclipse_1114.dll
    -startup
    C:\Users\Acer\AppData\Local\MyEclipse 7.0 M2\eclipse\plugins\org.eclipse.equinox.launcher_1.0.100.v20080509-1800.jar
    -exitdata
    ef4_6c
    -clean
    -vm
    C:\Users\Acer\AppData\Local\MyEclipse 7.0 M2\jre\bin\javaw.exe
    eclipse.ee.install.verify=false
    eclipse.home.location=file:/C:/Users/Acer/AppData/Local/MyEclipse 7.0 M2/eclipse/
    eclipse.launcher=C:\Users\Acer\AppData\Local\MyEclipse 7.0 M2\eclipse\eclipse.exe
    eclipse.p2.data.area=@config.dir/../p2
    eclipse.p2.profile=SDKProfile
    eclipse.product=com.genuitec.myeclipse.product.ide
    eclipse.startTime=1227559309490
    eclipse.vm=C:\Users\Acer\AppData\Local\MyEclipse 7.0 M2\jre\bin\javaw.exe
    eclipse.vmargs=-Xms40m
    -Xmx512m
    -XX:MaxPermSize=256m
    -jar
    C:\Users\Acer\AppData\Local\MyEclipse 7.0 M2\eclipse\plugins\org.eclipse.equinox.launcher_1.0.100.v20080509-1800.jar
    file.encoding=Cp1252
    file.encoding.pkg=sun.io
    file.separator=\
    java.awt.graphicsenv=sun.awt.Win32GraphicsEnvironment
    java.awt.printerjob=sun.awt.windows.WPrinterJob
    java.class.path=C:\Users\Acer\AppData\Local\MyEclipse 7.0 M2\eclipse\plugins\org.eclipse.equinox.launcher_1.0.100.v20080509-1800.jar
    java.class.version=49.0
    java.endorsed.dirs=C:\Users\Acer\AppData\Local\MyEclipse 7.0 M2\jre\lib\endorsed
    java.ext.dirs=C:\Users\Acer\AppData\Local\MyEclipse 7.0 M2\jre\lib\ext
    java.home=C:\Users\Acer\AppData\Local\MyEclipse 7.0 M2\jre
    java.io.tmpdir=C:\Users\Acer\AppData\Local\Temp\

    <SNIP, in the future please use MyEclipse > Install Summary > Install Details>

    #291363 Reply

    Loyal Water
    Member

    nikoligno,
    Can you switch to a new workspace (File > Switch Workspace > Temp) and check if the issue persists.

    Also, can you go to MyEclipse > Installation Summary > Installation Detail and paste the information here for me.

    #292137 Reply

    gcstang
    Member

    I have the same issue and even after creating a new workspace, deploying and starting Tomcat 6 it still doesn’t log to the Console. Very randomly once in a great while it will work.

    Ubuntu 8.10 – 64bit
    JDK 1.5.0_16 (Used for Eclipse)
    JDK 1.6.0_11 (Project Use)

    #292192 Reply

    Loyal Water
    Member

    gcstang,
    Can you go to MyEclipse > Installation Summary > Installation Details and paste the information here for me. Also, please provide us with any additional information on this issue if you could.

    I believe its the 64 bit OS thats causing the issue but I’ll ask the dev team to look into this.

    #292210 Reply

    Greg
    Member

    Hey guys,

    We’ve been seeing this ourselves, but we’ve also seen this with just vanilla eclipse and it not switching to the console for normal java program launches. We will be keeping our eyes open.

    #292333 Reply

    Riyad Kalla
    Member

    nikoligno,

    When the correct console output isn’t focused, if you use the process-selector for the console view and manually focus the correct output, does that work for you? (see screenshot)

    There are also some preferences pertaining to this setting under the Debug/Run > Console view as well (see other screenshot), do you have those set?

    Attachments:
    You must be logged in to view attached files.
Viewing 8 posts - 1 through 8 (of 8 total)
Reply To: Tomcat and Console

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