Eclipse with Tomcat 6 Problem

Hello,
When I try to start Tomcat 6 in Eclipse, I get the following error message:
Publishing failed
Could not load the Tomcat server configuration at \Servers\Tomcat v6.0 Server at localhost-config. The configuration may be corrupt or incomplete.
Resource is out of sync with the file system: '/Servers/Tomcat v6.0 Server at localhost-config/web.xml'.
In the beginning I thought the problem might be caused by me inserting a few changes to the web.xml global file and maybe corrupting it in the process. However, I restored the original file and the problem still persists. I have no problem starting Tomcat using the standard start-up script, which indicates web.xml is actually valid, it fails just when starting from Eclipse.
Does anyone have an idea what the problem is?
Thanks.

Bug 228039 from Eclipse MIGHT help, but I'm not sure.
https://bugs.eclipse.org/bugs/show_bug.cgi?id=228039
It says to manually refresh the file in Eclipse explorer.
Bug 107386 from Eclipse MIGHT also help.
https://bugs.eclipse.org/bugs/show_bug.cgi?id=107386
No workaround yet.

Similar Messages

  • PDF with Tomcat/Cocoon Problem !!!

    Hi,
    I am having problem with Tomcat/Cocoon combination for APEX PDF printing which I installed following Carl Backstrom instructions.
    When a report is a region report it all works fine, but when I create a report based on a query from the reports section in Shared Components choosing report layout 'Use Generic Report Layout' I get the following error.
    javax.xml.transform.TransformerException: attribute-set named #TEXT_ALIGN# does not exist
    cocoon://fop_post/xsl - 148:58
    Cocoon stacktrace[hide]
    attribute-set named #TEXT_ALIGN# does not exist
    cocoon://fop_post/xsl - 148:58
    I will appreciate any feedback. I saw threads related to the same issue on this forum but they ended up covering something irrelevant.
    Regards,
    Vadim

    Vadim,
    Report queries and report region use the same generic report layout. However the processing is handled by different engines. The underlying technical problem with your case is that the substitution string #TEXT_ALIGN# is not substituted in all cases for report queries. This usually does not cause any problems, but appears not to work when using Cocoon.
    I'll see that we can this resolved with the next version of APEX, however when working with report layouts, you would typically use your own RTF or XSL-FO stylesheets, where this problem would not occur. The option to use the generic report layout is only included so the data can be tested independently from the layout and is not really intended to be used as the actual layout at runtime.
    The generic report layout function is mainly designed to be used for report regions.
    Regards,
    Marc

  • Using Eclipse with Tomcat

    I'm trying to get eclipse to work correctly with tomcat server. but when i create a project it creates it in my workspace folder and i can't run it on the server.
    I assume it has to create the project in the tomcat root directory in order for it to run properly but i don't know how to get eclipse to do this.
    Any help would be appreciated.

    What I use to do is
    File -> Export -> War File and it generates a war file. You set that war file in the webapps directory of tomcat and it self extracts the files in order to be used from the navigator

  • Eclipse with Tomcat

    I am trying to get eclipse set for making my web app. i installed the mod i needed and followed instructions on a tutorial. Everything went fine untill i tried to view a page and i got 404 error. In eclipse it says the server is running but i when i try to access it with my browser or within eclipse browser it gives me the 404.
    I know it is blocking the port ( i couldnt start tomcat manually while it is running in eclipse) which would suggest it is running. Anyone got any experience with this problem?

    Jahvah wrote:
    Ah i get it now. No wonder i was really tired when i was setting all this up. The problem was i had no index page for when i launched the application. And i was thinking the resources in my tomcat folder would still work.Glad you got it to work.
    So eclipse changes the web application root folder of tomcat? how does it do this?Eclipse is written in Java and it is open source. Take a look yourself.
    is there a command switch when running tomcat to set this or something?I don´t understand what you need.

  • How can i intergarate eclipse with tomcat using windows 2000?

    i'm using Eclipse 3.0 with sdk 1.4, i downloaded Tomcat and configured it for plugin to Eclipse. But yet i can't start the Tomcat server.
    if any one can help me please of how to configure tomcat or the proper installation in windows 2000.

    Well whebn i start the server this is the what happens:
    H:\>%CATALINA_HOME%\bin\startup
    Using CATALINA_BASE: H:\Eclipse\eclipse\tomcat\jakarta-tomcat-4.1.31\
    Using CATALINA_HOME: H:\Eclipse\eclipse\tomcat\jakarta-tomcat-4.1.31\
    Using CATALINA_TMPDIR: H:\Eclipse\eclipse\tomcat\jakarta-tomcat-4.1.31\\temp
    Using JAVA_HOME: C:\j2sdk1.4.2_10
    H:\>
    =================================
    i don't see any error during the start up,but i soon as i shut it down this is what happens:
    H:\>%CATALINA_HOME%\bin\shutdown
    Using CATALINA_BASE: H:\Eclipse\eclipse\tomcat\jakarta-tomcat-4.1.31\
    Using CATALINA_HOME: H:\Eclipse\eclipse\tomcat\jakarta-tomcat-4.1.31\
    Using CATALINA_TMPDIR: H:\Eclipse\eclipse\tomcat\jakarta-tomcat-4.1.31\\temp
    Using JAVA_HOME: C:\j2sdk1.4.2_10
    Exception during startup processing
    java.lang.ClassNotFoundException: org.apache.catalina.startup.Catalina
    at org.apache.catalina.loader.StandardClassLoader.loadClass(StandardClas
    sLoader.java:945)
    at org.apache.catalina.loader.StandardClassLoader.loadClass(StandardClas
    sLoader.java:810)
    at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:129)
    H:\>

  • Help on creating a ServerSession in Eclipse with XML file

    Hi,
    I am using Toplink in Eclipse with Tomcat/Apache (or at least trying to :)
    I am trying to make the following code work:
    Project myProject = XMLProjectReader.read("myproject.xml");
    Server serverSession = myProject.createServerSession();
    but I get an exception:
    {color:#ff0000} +"7099", "The deployment project xml resource {0} was not found on the resource path. Check that the resource name/path and classloader passed to the XMLProjectReader are correct. The project xml should be included in the root of the application's deployed jar, if the project xml is deployed in a sub-directory in the application's jar ensure that the correct resource path using \"/\" not \"\\" is used."+ {color}
    - I think the project cannot find the xml file in my project - but I was never sure where this should go in any case - I put it in the META-INF folder but made no difference. Where should I put these xml files?
    Any help much appreciated

    Simon,
    Hi, I assume you are deploying a WAR to Tomcat. The following tutorial on running TopLink using the org.eclipse.persistence.jpa.PersistenceProvider is pure JPA but deals with the same deployment issues.
    In particular note that there are two META-INF directories - we want to use only the one off of src.
    "Make sure that your persistence.xml (and optionaly orm.xml) file is placed off of the src/META-INF directory and not the default WebContent/META-INF dir so that it gets picked up by the servlet classloader from the classes directory."
    http://wiki.eclipse.org/EclipseLink/Examples/JPA/Tomcat_Web_Tutorial#persistence.xml
    thank you
    /michael
    http://www.eclipselink.org

  • Problem launching a jsp page with eclipse and tomcat

    Hi,
    I have just started using eclipse and tomcat for creating dynamic web pages. I tried to launch a jsp page after starting the tomcat server with the URL: http://locahost:8080/HelloWorld/, an error page was displayed as below:
    HTTP Status 404 -/
    type Status report
    message /_
    description The requested resource (-) is not available
    Apache Tomcat/5.5.17
    I didn't get any error at the console and when i just typed http://localhost, a pop up menu saying that the connection was refused when attempting to contact localhost.
    I'm not sure what is the problem here. Could it be the permssion to the localhost is not granted by the system as the eclipse IDE is running using linux?
    Hope someone can help.
    Thanks.

    http://www-128.ibm.com/developerworks/library/os-ectom/

  • Problem with debug servlet Eclipse 3 tomcat 5

    I have configured Eclipse 3 with Tomcat 5.0.28 and tomcatPulginV3
    but, I have problem to debug my servlet
    I have error message
    help me it is urgent
    Failed to connect to remote VM. Connection refused.
    java.net.ConnectException: Connection refused: connect
    java.net.PlainSocketImpl.socketConnect(Native Method)
    java.net.PlainSocketImpl.doConnect(Unknown Source)
    java.net.PlainSocketImpl.connectToAddress(Unknown Source)
    java.net.PlainSocketImpl.connect(Unknown Source)
    java.net.Socket.connect(Unknown Source)
    java.net.Socket.connect(Unknown Source)
    java.net.Socket.<init>(Unknown Source)
    java.net.Socket.<init>(Unknown Source)
    org.eclipse.jdi.internal.connect.SocketTransportImpl.attach(SocketTransportImpl.java:47)
    org.eclipse.jdi.internal.connect.SocketAttachingConnectorImpl.attach(SocketAttachingConnectorImpl.java:103)
    org.eclipse.jdt.internal.launching.SocketAttachConnector.connect(SocketAttachConnector.java:131)
    org.eclipse.jdt.internal.launching.JavaRemoteApplicationLaunchConfigurationDelegate.launch(JavaRemoteApplicationLaunchConfigurationDelegate.java:75)
    org.eclipse.debug.internal.core.LaunchConfiguration.launch(LaunchConfiguration.java:569)
    org.eclipse.debug.internal.ui.DebugUIPlugin.buildAndLaunch(DebugUIPlugin.java:788)
    org.eclipse.debug.internal.ui.DebugUIPlugin$6.run(DebugUIPlugin.java:955)
    org.eclipse.core.internal.jobs.Worker.run(Worker.java:66)Thanks

    Check your packages which you are importing....

  • Problems with Tomcat & Eclipse on MacOSX

    Hi everybody. I have a problem with Tomcat and Eclipse. I must make an application with JSF for my dissertation and i even become a new Mac user so i have some problems. I have installed Eclipse 3,3 Europe on Mac OSX 10,4, also I have installed Tomcat 5,5 setting up environment variable and users of Tomcat. Well, when I try to connect them creating a new server in Eclipse and select Tomcat as server and relative folder of origin, the problems begin. When I try to run on server a JSF project(naturally I have imported all the necessary libraries) it give this error to me: Could not load the Tomcat incomplete serveur configuration at /Servers/Tomcat v5.5 serveur at localhost-config.The configurator mau be corrupt or. Reason: Could not load the Tomcat incomplete serveur configuration at /Servers/Tomcat v5.5 serveur at localhost-config.The configurator mau be corrupt or incomplete. On what it can depend? It is possible that is a JRE problem? I do not find the folder jre on my file system(are novice with the mac). Thanks to all.

    This seems like a question that would be better put to an Eclipse forum.

  • Problem with Tomcat 6

    Hi guys,
    I am with a very strange problem with my job here.
    We had a server working with Tomcat 5 and it didn't have problem, but wanted to changed to Tomcat 6.
    So.. we changed and it ran normal and well.
    The problem is when we stress the server with one or more big queries, execptions is showed that didn't show with Tomcat 5:
    java.lang.Exception: [Microsoft][SQLServer 2000 Driver for JDBC]Object has been closed
    Using SQL Server 2000
    java.lang.Exception: The connection is closed.
    Using SQL Server 2005
    java.lang.Exception: I/O Error: socket closed.
    Using SQL Server 2005 with jTDS driver
    It happens with Oracle too.
    Can anybody help me?
    Thanks!

    hi i'm having a similar problem launching a servlet in eclipse. I did the above changes and still nothing:
    instead i keep getting :
    type Exception report
    message
    description The server encountered an internal error () that prevented it from fulfilling this request.
    exception
    javax.servlet.ServletException: Wrapper cannot find servlet class DataServlet or a class it depends on

  • Problems with tomcat 4.0.1

    hello,
    i�ve written some servlets using forte 3.0 with tomcat 3.2.
    everything works fine as long as I don�t run the servlets with tomcat 4.0.1.
    i use the request dispatcher / forward method - which dosn�t work reliable.
    it�s a list on which the user has to select one topic. the strange thing about it is that it works when you choose "back" after the error (dispatcher = null) has occured and select a different topic on that list - only the first choice makes en error.
    running on tomcat 3.2 with forte it works fine. but i get the following message in the tomcat output window:
    java.util.MissingResourceException: Can't find resource for bundle java.util.PropertyResourceBundle, key dispatcher.forwardException
    and
    2002-01-13 11:40:05 - Ctx( /lg002234 ): Exception in: R( /lg002234 + /eingaben + null) - javax.servlet.ServletException: cannot find message associated with key : dispatcher.forwardException
    can somebody help?
    is use the dispatcher three times in that post-method - ist that a problem?

    ...sorry
    it�s not a problem with the requestdispatcher,
    problem is, that with tomcat 4.0.1 a parameter
    sometimes gets lost - but not with tomcat 3.2
    critical code is:
    String tierartAuswahl = request.getParameter("tierartAuswahl");
    is that a known bug of tomcat 4.0.1??

  • Problems with Tomcat 4.0 and jdk 1.3.1 (jsp:include) Help Gurus...

    Im running examples of the include:
    <jsp:include page="xxx.jsp" flush="true">
    and received error:
    org.apache.jasper.JasperException: No se puede compilar la clase para JSP
    An error occurred at line: 17 in the jsp file: /jsp/include/include.jsp
    Generated servlet error:
    /Programas/Tomcat4/work/localhost/examples/jsp/include/include$jsp.java:79: Method include(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse, java.lang.String, javax.servlet.jsp.JspWriter, boolean) not found in class org.apache.jasper.runtime.JspRuntimeLibrary.
    JspRuntimeLibrary.include(request, response, "/jsp/include/foo.html" + jspxqStr, out, true);
    ^
    Please Help me Im running this equal with:
    <%@ include file="xxx.jsp" %>
    and runnig fine....

    The two means of including files are different in their approach.
    Using <jsp:include .../> compilation of the included jsp is done at run -time not during compilation.
    Using <%@ include .../> compiles at compile time.
    Looking at the error it seems that the method JspRuntimeLibrary.include is not being found which suggests that you may have a classpath problem. Check that there is not a servlet.jar in the classpath that is from a earlier spec than the one provided with Tomcat.
    Dave

  • Weblogic on jvm6, eclipse with oepe on jvm6 and ....can I expect problems ?

    weblogic on jvm6, eclipse with oepe on jvm6 and web app build for javaee5, what kind of problems can I expect.

    Could you check to make sure Dashlane is up-to-date? Two other Mac users this week reported success:
    * [https://support.mozilla.org/questions/1030201 Updated to Firefox 33.1 on my MAC 10.10. My dashlane icon was grayed out (was a green dot) next to menu icon. How can I reactivate Dashlane?] - reinstalled from Dashlane site (4 days ago)
    * [https://support.mozilla.org/questions/1032480 Dashlane add-on doesn't work after update firefox 33.1.1] - updated from app store (today)

  • Problem with Tomcat 5.0

    Hi there,
    I have a .java file inside \WEB-INF\classes\ directory. This .java file has a "public static void main" method that calls al the other methods in the class.
    I want to know if its possible for me to create an JSP file to call this .java file. If so how can i do it?
    Thanks!!

    NerdVix wrote:
    Hi there,
    I have a .java file inside \WEB-INF\classes\ directory. Wrong. .java files do you no good in that directory. Only .class files belong there.
    This .java file has a "public static void main" method that calls al the other methods in the class.Fine - for testing on a command line.
    I want to know if its possible for me to create an JSP file to call this .java file. If so how can i do it?What part don't you understand? Writing JSPs? Calling methods? What is a person so ignorant doing with Tomcat anyway?
    It's possible to call main, but not a good idea.
    %

  • Problems configuring XSQL with Tomcat

    Having a lot of trouble getting this to work with tomcat standalone, apache with tomcat, and even apache with resin. (I have successfully gotten this to work with resin as both web and appserver.)
    I have tried to be meticulous in following the directions, but one thing that is throwing me is that I can't find the web.xml file in my xdk distribution (neither in xdk8i nor xdk9i); I've attempted to create the .xsql extension-to-servlet mapping myself in Tomcat's web.xml file, but maybe I got this wrong.
    The main symptom is that my xsql pages are basically being returned to me in the browser. Any help would be appreciated.

    Bacically you need to create yourself, and here is an example:
    <?xml version="1.0" encoding="ISO-8859-1"?>
    <!DOCTYPE web-app
    PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.2//EN"
    "http://java.sun.com/j2ee/dtds/web-app_2.2.dtd">
    <web-app>
    <servlet>
    <servlet-name>
    WebCounter
    </servlet-name>
    <servlet-class>
    FAQAnswerServlet
    </servlet-class>
    </servlet>
    <servlet>
    <servlet-name>
    oraclexsql
    </servlet-name>
    <servlet-class>
    oracle.xml.xsql.XSQLServlet
    </servlet-class>
    </servlet>
    <servlet-mapping>
    <servlet-name>
    oraclexsql
    </servlet-name>
    <url-pattern>
    *.xsql
    </url-pattern>
    </servlet-mapping>
    </web-app>
    null

Maybe you are looking for

  • Create dotted or dashed line

    I cannot figure out how to create a dotted or dashed line. Thanks

  • Having problems installing the 10.4.4 update

    Hello There, I just recently purchased a second hand Mac Mini from someone, and have both Mac OS 10.3 Panther and Mac OS 10.4 Tiger installation DVDs. Upon recieveing the Mac Mini, I formatted and installed 10.3 using the Panther DVD (Was the DVD tha

  • Native code don't find env var

    Hi, I have an application which calls functions from a .so library via JNI. The problem is: .so library needs access an environment variable. My EJB calls a single java class where are defined native methods from the .so library. If I implement a mai

  • Model for UC2842 or UC3842

    Does anybody have the model(extension .txt) for the UC2842/2843/2844/2845 or UC3842/3843/3844/3845 Anyone of these models would be apreciable.

  • INVENTORY TRANSACTION PURGE시 해당 TABLE들의 정보

    제품 : MFG_INV 작성날짜 : 2004-05-20 INVENTORY TRANSACTION PURGE 시 해당 TABLE들의 정보 =========================================== PURPOSE Inventory Transaction Purge에 의해 삭제되는 data들을 파악하고자 한다. Problem Description Inventory module의 Transaction Purge시 다음의 Table들은