Tomcat not working

i have install tomcat 4. but tomcat still cannot running..
C:\tomcat>cd bin
C:\tomcat\bin>startup.bat
The JAVA_HOME environment variable is not defined
This environment variable is needed to run this program
Using CATALINA_BASE: ..
Using CATALINA_HOME: ..
Using CATALINA_TMPDIR: ..\temp
Using JAVA_HOME:
The system cannot find the file -Dsun.io.useCanonCaches=false.
somebody help me?????

do u set the CATALINA_HOME variable and JAVA_HOME variable? tomcat needs this two environment variables to run. if u are using window xp, go to system properties and click on environment variables. then add this two variables.
like this,
CATALINA_HOME = c:\tomcat4.0
JAVA_HOME = c:\sdk1.4.2

Similar Messages

  • Please Help me ! TOMCAT NOT WORKING !!!!

    Hi All,
    I have installed Tomcat at C:\Tomcat
    I have jdk1.2 installed at C:\JDK1.2
    I have servlet development kit installed at
    C:\JSDK2.0
    After installing the Tomcat at it's default
    directory(C:\TOMCAT)I had made the following
    changes in my Autoexec.bat file as:
    SET JAVA_HOME=C:\JDK1.2
    SET PATH=%JAVA_HOME%\bin;%PATH%
    SET TOMCAT_HOME=C:\TOMCAT
    And following Change in my Config.sys file.
    SHELL=C:\COMMAND.COM /E:4096 /P
    But when I execute the file C:\TOMCAT\STARTUP.BAT
    It's still not working !
    It gives the message "OFF"
    Same happens while C:\TOMCAT\SHUTDOWN.BAT
    The version of my Tomcat is 3.0.
    Please help me out.what should I do ?
    How should I make it running?
    Thanks for any help !!!!
    Savdeep Vasudeva
    E-mail : [email protected]

    http://archive.coreservlets.com/Using-Tomcat.html
    Hope this helps

  • Tomcat not working!!!!! please Help

    hey,
    I have windows XP OS on my computer. I installed tomcat on my computer a few days ago and it was working fine. but when i tried to run it yesterday it would not run. when i do start tomcat the tomcat window pops up and then just vanishes in two second. and when i did start and stop tomcat via command line, after doing the stop i got bunch of error messages
    Microsoft Windows XP [Version 5.1.2600]
    (C) Copyright 1985-2001 Microsoft Corp.
    C:\Documents and Settings\patedha>cd..
    C:\Documents and Settings>cd..
    C:\>cd "Program Files"
    C:\Program Files>cd "Apache Group"
    C:\Program Files\Apache Group>cd "Tomcat 4.1"
    C:\Program Files\Apache Group\Tomcat 4.1>cd bin
    C:\Program Files\Apache Group\Tomcat 4.1\bin>catalina start
    Using CATALINA_BASE: C:\Program Files\Apache Group\Tomcat 4.1
    Using CATALINA_HOME: C:\Program Files\Apache Group\Tomcat 4.1
    Using CATALINA_TMPDIR: C:\Program Files\Apache Group\Tomcat 4.1\temp
    Using JAVA_HOME: C:\j2sdk1.4.0_02
    C:\Program Files\Apache Group\Tomcat 4.1\bin>catalina stop
    Using CATALINA_BASE: C:\Program Files\Apache Group\Tomcat 4.1
    Using CATALINA_HOME: C:\Program Files\Apache Group\Tomcat 4.1
    Using CATALINA_TMPDIR: C:\Program Files\Apache Group\Tomcat 4.1\temp
    Using JAVA_HOME: C:\j2sdk1.4.0_02
    Catalina.stop: java.net.ConnectException: Connection refused: connect
    java.net.ConnectException: Connection refused: connect
    at java.net.PlainSocketImpl.socketConnect(Native Method)
    at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:295)
    at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:161)
    at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:148)
    at java.net.Socket.connect(Socket.java:425)
    at java.net.Socket.connect(Socket.java:375)
    at java.net.Socket.<init>(Socket.java:290)
    at java.net.Socket.<init>(Socket.java:118)
    at org.apache.catalina.startup.Catalina.stop(Catalina.java:581)
    at org.apache.catalina.startup.Catalina.execute(Catalina.java:402)
    at org.apache.catalina.startup.Catalina.process(Catalina.java:180)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
    java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
    sorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:324)
    at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:203)
    Please help me out. i have a project due and i really need to get tomcat working for it.
    Thanking You
    Dhaval

    Hey,i had this same problem
    1) Go to Setting->Control Panel->Administrative tools->Services.
    Modify Apache to Manual by right clicking on properties.
    2) Then go to windows explorer
    go to the folder where Jakarta is installed
    go to bin
    click on startup.bat

  • Working on Tomcat Server but same code is not working on oc4j server of E-B

    Hello,
    I have a jsp page that is working properly in tomcat 6 server but when i deployed it on oc4j server 10.1.3.1.0 than it is not working. I am confuse.
    ERROR MESSAGE:
    500 Internal Server Error
    Servlet error: An exception occurred. The current application deployment descriptors do not allow for including it in this response. Please consult the application log for details.
    CODE JSP:
    <%@ page import="java.sql.*" %>
    <%@ page import="java.io.*" %>
    <!DOCTYPE html PUBLIC
         "-//W3C//DTD HTML 4.01 Transitional//EN"
         "http://www.w3.org/TR/html4/loose.dtd">
    <html>
    <head>
    <meta
         http-equiv="Content-Type"
         content="text/html; charset=ISO-8859-1" />
    <meta
         name="author"
         content="MAX" />
    <title>Test Register Page</title>
    <link
         rel="stylesheet"
         href="css/style.css"
         type="text/css"
         media="screen" />
    </head>
    <body>
    <div id="content">
    <form name="demo" onsubmit="return validate_form()" action="RegisterServlet" method="post">
    <fieldset>
         <legend>VIEW USER</legend>
         <table border=1>
              <tr>
                   <td width="200px" align="center"><b>Bank Name</b></td>
                   <td width="200px" align="center"><b>User Name</b></td>
              </tr>
              <%
                        Connection connection = null;
                        String connectionURL = "jdbc:oracle:thin:@10.38.60.55:1521:edwdevdb";
                        ResultSet rs = null;
                   Statement statement = null;
                   try
                        // Get a Connection to the database
                        Class.forName("oracle.jdbc.driver.OracleDriver").newInstance();
                        connection = DriverManager.getConnection(connectionURL,
    "scott", "tiger");
                        statement = connection.createStatement();
                        rs = statement.executeQuery(" SELECT user_info.USER_KEY,user_info.FI_ID,d_fi.fi_nm, user_info.User_Name from user_info INNER join d_fi on user_info.fi_id = d_fi.fi_id order by fi_nm ");
                        //Set 'authentication' flag
                        while (rs.next())
         %>
                        <tr>
                                  <td width="200px"><a href="SearchUser?bankname=<%=rs.getString("USER_KEY")%">> <%= rs.getString("FI_NM")%></a> </td>
                                  <td width="200px"><%= rs.getString("User_Name")%></td>
                        </tr>
         <%                    
                   catch(SQLException e)
                   finally
                                            rs.close();
    statement.close();
    connection.close();
         %>
         </table>
         <label> </label>
    </fieldset>
    </form>
    </div>
    </body>
    </html>
    WEB xml:
    <?xml version="1.0" encoding="ISO-8859-1"?>
    <web-app     xmlns="http://java.sun.com/xml/ns/javaee"
                             xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
                             xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd"
    version="2.5">
    <description>Register</description>
    <display-name>Register</display-name>
    <!-- Declare Servlets -->
    <servlet>
         <servlet-name>BaseServlet</servlet-name>
         <servlet-class>BaseServlet</servlet-class>
    </servlet>
    <servlet-mapping>
         <servlet-name>CategoryServlet</servlet-name>
         <url-pattern>/Category</url-pattern>
    </servlet-mapping>
    <!-- Welcome File List -->
    <welcome-file-list>
         <welcome-file>login.jsp</welcome-file>
    </welcome-file-list>
    </web-app>
    Edited by: bappy007 on Oct 10, 2010 1:57 AM
    Edited by: bappy007 on Oct 10, 2010 1:58 AM

    ERROR IN LOG FILE:
    10/10/10 15:18:55.843 edwportal: Servlet error
    java.lang.NullPointerException
         at test.jspService(_test.java:93)
         at com.orionserver[Oracle Containers for J2EE 10g (10.1.3.1.0) ].http.OrionHttpJspPage.service(OrionHttpJspPage.java:59)
         at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:453)
         at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:591)
         at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:515)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
         at com.evermind[Oracle Containers for J2EE 10g (10.1.3.1.0) ].server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:711)
         at com.evermind[Oracle Containers for J2EE 10g (10.1.3.1.0) ].server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:368)
         at com.evermind[Oracle Containers for J2EE 10g (10.1.3.1.0) ].server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:866)
         at com.evermind[Oracle Containers for J2EE 10g (10.1.3.1.0) ].server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:448)
         at com.evermind[Oracle Containers for J2EE 10g (10.1.3.1.0) ].server.http.HttpRequestHandler.serveOneRequest(HttpRequestHandler.java:216)
         at com.evermind[Oracle Containers for J2EE 10g (10.1.3.1.0) ].server.http.HttpRequestHandler.run(HttpRequestHandler.java:117)
         at com.evermind[Oracle Containers for J2EE 10g (10.1.3.1.0) ].server.http.HttpRequestHandler.run(HttpRequestHandler.java:110)
         at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)
         at oracle.oc4j.network.ServerSocketAcceptHandler.procClientSocket(ServerSocketAcceptHandler.java:239)
         at oracle.oc4j.network.ServerSocketAcceptHandler.access$700(ServerSocketAcceptHandler.java:34)
         at oracle.oc4j.network.ServerSocketAcceptHandler$AcceptHandlerHorse.run(ServerSocketAcceptHandler.java:880)
         at com.evermind[Oracle Containers for J2EE 10g (10.1.3.1.0) ].util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:298)
         at java.lang.Thread.run(Thread.java:619)

  • CrossContext and WAR unpacking not working in the same context Tomcat 4.0.6

    I need an application to be able to crossContext so I entered a context tag in my server.xml file.
    However when I added the entry tomcat no longer unpacked the .war file. If I changed the path value in the context tomcat unpacked the war but then the crossContext would not work.
    Is there a way make the two work together?
    Here is a copy of the entries and what they achieve:
    <Context path="myApp" docBase="myApp" debug="0" crossContext="true"/> this will unpack the war but the app will not crossContext.
    <Context path="/myApp" docBase="myApp" debug="0" crossContext="true"/> will allow the app to crossContext but if I update the war and remove the myApp dir under webapps it will not extract the war file.
    Incidently the host tag has unpackWARs="true"
    Ideas anyone? It's a hassle to start the server twice each time, one to unpack and 2 to allow the crossContext.

    PS: Does anyone know how to edit your email address in your profile? I can't seem to do it through the settings link.

  • NOT WORKING - Tomcat 4.0.5 and IIS 5

    I'm trying to set up Tomcat to work with IIS 5 on windows 2000 server.
    I got everything working fine locally. I deployed my app and it's working fine on localhost:8080. Now I want to be able to see it from the outside and some files that I try to view from my domain come up with the actual source code.
    I ran with several tutorials that keep saying "Hey, you did it...it's was so easy wasn't it?" and they don't say anything when it all goes wrong. No one goes the extra step to help out when these easy instructions do nothing. I'm looking at this for far too long now and I'm losing my mind slowly.
    I have IIS running and restarted it with jakarta virtual directory that has a green arrow up. But localhost doesn't find the pages. So I'm not sure what could be wrong.
    I'm having a lot of trouble with the workers.properties file. If anyone could help me with that it would be great. The uriworkmap seems to be quite simple, and goes the same way as the web.xml server uri-mapping. But I'm not sure what could be wrong.
    I also tried to get tomcat to service jsp files and IIS everything else, but still nothing.
    Thanks in advance,
    Lior

    Well, something was wrong with my configurations of the registry amongst other things. Now I have everything in place and I played with the workers.prop file. However, it still doesn't work. I get the following in the isapi_redirect.log file:
    [Tue Oct 15 12:11:00 2002] [jk_isapi_plugin.c (806)]: Using registry.
    [Tue Oct 15 12:11:00 2002] [jk_isapi_plugin.c (808)]: Using log file C:\tomcat\logs\iis_redirect.log.
    [Tue Oct 15 12:11:00 2002] [jk_isapi_plugin.c (809)]: Using log level 0.
    [Tue Oct 15 12:11:00 2002] [jk_isapi_plugin.c (810)]: Using extension uri /jakarta/isapi_redirect.dll.
    [Tue Oct 15 12:11:00 2002] [jk_isapi_plugin.c (811)]: Using worker file C:\tomcat\conf\workers.properties.
    [Tue Oct 15 12:11:00 2002] [jk_isapi_plugin.c (812)]: Using worker mount file C:\tomcat\conf\uriworkermap.properties.
    [Tue Oct 15 12:11:00 2002] [jk_uri_worker_map.c (159)]: Into jk_uri_worker_map_t::uri_worker_map_alloc
    [Tue Oct 15 12:11:00 2002] [jk_uri_worker_map.c (199)]: Into jk_uri_worker_map_t::uri_worker_map_open
    [Tue Oct 15 12:11:00 2002] [jk_uri_worker_map.c (217)]: jk_uri_worker_map_t::uri_worker_map_open, rule map size is 5
    [Tue Oct 15 12:11:00 2002] [jk_uri_worker_map.c (262)]: Into jk_uri_worker_map_t::uri_worker_map_open, suffix rule /.jsp=ajp13 was added
    [Tue Oct 15 12:11:00 2002] [jk_uri_worker_map.c (262)]: Into jk_uri_worker_map_t::uri_worker_map_open, suffix rule /refcoapp/.jsp=ajp13 was added
    [Tue Oct 15 12:11:00 2002] [jk_uri_worker_map.c (262)]: Into jk_uri_worker_map_t::uri_worker_map_open, suffix rule /examples/.jsp=ajp13 was added
    [Tue Oct 15 12:11:00 2002] [jk_uri_worker_map.c (273)]: Into jk_uri_worker_map_t::uri_worker_map_open, match rule /examples/servlet/=ajp13 was added
    [Tue Oct 15 12:11:00 2002] [jk_uri_worker_map.c (302)]: Into jk_uri_worker_map_t::uri_worker_map_open, there are 4 rules
    [Tue Oct 15 12:11:00 2002] [jk_uri_worker_map.c (324)]: jk_uri_worker_map_t::uri_worker_map_open, done
    [Tue Oct 15 12:11:00 2002] [jk_worker.c (82)]: Into wc_open
    [Tue Oct 15 12:11:00 2002] [jk_worker.c (207)]: Into build_worker_map, creating 1 workers
    [Tue Oct 15 12:11:00 2002] [jk_worker.c (213)]: build_worker_map, creating worker ajp12
    [Tue Oct 15 12:11:00 2002] [jk_worker.c (138)]: Into wc_create_worker
    [Tue Oct 15 12:11:00 2002] [jk_worker.c (152)]: wc_create_worker, about to create instance ajp12 of ajp12
    [Tue Oct 15 12:11:00 2002] [jk_ajp12_worker.c (264)]: Into ajp12_worker_factory
    [Tue Oct 15 12:11:00 2002] [jk_worker.c (161)]: wc_create_worker, about to validate and init ajp12
    [Tue Oct 15 12:11:00 2002] [jk_ajp12_worker.c (182)]: Into jk_worker_t::validate
    [Tue Oct 15 12:11:00 2002] [jk_ajp12_worker.c (194)]: In jk_worker_t::validate for worker ajp12 contact is localhost:8007
    [Tue Oct 15 12:11:00 2002] [jk_worker.c (177)]: wc_create_worker, done
    [Tue Oct 15 12:11:00 2002] [jk_worker.c (223)]: build_worker_map, removing old ajp12 worker
    [Tue Oct 15 12:11:00 2002] [jk_worker.c (235)]: build_worker_map, done
    [Tue Oct 15 12:11:00 2002] [jk_worker.c (102)]: wc_open, done
    [Tue Oct 15 12:11:23 2002] [jk_isapi_plugin.c (555)]: HttpFilterProc started
    [Tue Oct 15 12:11:23 2002] [jk_isapi_plugin.c (600)]: In HttpFilterProc Virtual Host redirection of /localhost/examples/jsp/num/numguess.jsp
    [Tue Oct 15 12:11:23 2002] [jk_uri_worker_map.c (351)]: Into jk_uri_worker_map_t::map_uri_to_worker
    [Tue Oct 15 12:11:23 2002] [jk_uri_worker_map.c (368)]: Attempting to map URI '/localhost/examples/jsp/num/numguess.jsp'
    [Tue Oct 15 12:11:23 2002] [jk_uri_worker_map.c (416)]: jk_uri_worker_map_t::map_uri_to_worker, Found a suffix match ajp13 -> *.jsp
    [Tue Oct 15 12:11:23 2002] [jk_isapi_plugin.c (617)]: HttpFilterProc [examples/jsp/num/numguess.jsp] is a servlet url - should redirect to ajp13
    [Tue Oct 15 12:11:23 2002] [jk_isapi_plugin.c (639)]: HttpFilterProc check if [examples/jsp/num/numguess.jsp] is points to the web-inf directory
    [Tue Oct 15 12:11:23 2002] [jk_isapi_plugin.c (679)]: HttpExtensionProc started
    [Tue Oct 15 12:11:23 2002] [jk_worker.c (123)]: Into wc_get_worker_for_name ajp13
    [Tue Oct 15 12:11:23 2002] [jk_worker.c (127)]: wc_get_worker_for_name, done did not found a worker
    [Tue Oct 15 12:11:23 2002] [jk_isapi_plugin.c (701)]: HttpExtensionProc could not get a worker for name ajp13
    [Tue Oct 15 12:11:23 2002] [jk_isapi_plugin.c (722)]: HttpExtensionProc error, could not get a worker for name ajp13
    I have no idea why it cannot get the worker. This is the prop file I have:
    workers.tomcat_home=c:\tomcat
    workers.java_home=c:\jdk1.3.1_04
    ps=\
    worker.list = ajp13
    worker.ajp13.type = ajp13
    worker.ajp13.host = localhost
    worker.ajp13.port = 8009
    Thanks.

  • Tomcat 4.1.x not working under JDK 1.2.2

    We are trying to test our web application on all versions of JDK starting from 1.2.2. We use Tomcat as the servlet engine and after upgrading from Tomcat 3.2.x to 4.1.24 (we've tried 4.1.18 as well) we have noticed that the new Tomcat does not start under JDK 1.2.2, see command line output below. We've tried on several machines and it fails with the same Exception. Has anyone tried running Tomcat 4.x on JDK 1.2.x? We find it hard to believe that a product like Tomcat would fail to support JDK 1.2, so any information would be appreciated.
    C:\Java\jakarta-tomcat-4.1.24\bin>catalina.bat run
    Using CATALINA_BASE: ..
    Using CATALINA_HOME: ..
    Using CATALINA_TMPDIR: ..\temp
    Using JAVA_HOME: c:\java\jdk1.2
    Bootstrap: Class loader creation threw exception
    java.lang.IllegalMonitorStateException: current thread not owner
    at org.apache.catalina.loader.StandardClassLoader.addRepositoryInternal(StandardClassLoader.java, Compiled Code)
    at org.apache.catalina.loader.StandardClassLoader.<init>(StandardClassLoader.java, Compiled Code)
    at org.apache.catalina.startup.ClassLoaderFactory.createClassLoader(ClassLoaderFactory.java, Compiled Code)
    at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java, Compiled Code)

    I had the same problem.
    No Tomcat 4.1.x is not working under JDK1.2.2.
    It has something to do with a difference in byte code of the classes between jdk1.2.2 and jdk 1.4.
    I am running now on J2SDK1.4.1_03 and have no problems any more

  • System.out.println not working in Tomcat-4.1.x

    System.out.println not working in Tomcat-4.1.24. Any settings has to be enabled??? I am using tomcat for Solaris

    I think u can use ServletContext.log() to output info instased.

  • Servlets not working in tomcat-4.1.24

    Servlets are not working in a new context which I have created in tomcat-4.1.24. if i put the same servlet in examples context it is working. jsps are working in the new context also. any idea????
    binny

    Suppose your servlets class is called "app", you need to add this in your web.xml file
    <servlet>
    <servlet-name>app</servlet-name>
    <servlet-class>app</servlet-class>
    <servlet-mapping>
    <servlet-name>app</servlet-name>
    <url-pattern>/app</url-pattern>
    </servlet-mapping>
    </servlet>

  • Debugging LCDS Data Management from Flexbuilder3 on Tomcat does not work

    I have a sample with Data Management and when i use it on my tomcat it works fine. But i can´t debug it from flexbuilder 3. When i start it from the flexbuilder i get the connection and then i crashed with "No registered fault handler or token responder - throwing an error for destination:"
    It is the same tomcat i use to run standalone.
    is it a problem with the context.xml?
    [SWF] /flexine/dataService_wt2.swf - 1.422.965 bytes after decompression
    'cds-consumer-sandwich-null' consumer set destination to 'sandwich'.
    Configuration for destination='sandwich':
    New DataService for destination: sandwich
    DataService.fill() called for destination: sandwich with args: []
    '4A853118-F24B-5FE2-BF01-FCDFF6C93161' producer set destination to 'sandwich'.
    Creating a new independent data store for destination: sandwich
    Adding data service: sandwich to the data store: null initialized: false
    Finished validating destination: sandwich loadOnDemand/paged associations: [] sub-types:
    data store: null is initialized
    'my-rtmp' channel endpoint set to rtmp://localhost:2038
    'my-rtmp' channel settings are:
    'ds-producer-sandwich' producer sending message '52AF7949-7B16-7C8E-3B87-FCDFF6F8D3A2'
    'my-rtmp' channel got connect attempt status. (Object)#0
      code = "NetConnection.Connect.Success"
      description = "Connection succeeded."
      details = (null)
      DSMessagingVersion = 1
      id = "E35ECC7A-710F-4D9B-A507-330FDD83B283"
      level = "status"
      objectEncoding = 3
    'my-rtmp' channel is connected.
    'my-rtmp' channel sending message:
    (mx.messaging.messages::CommandMessage)
      body=(Object)#0
      clientId=(null)
      correlationId=""
      destination="sandwich"
      headers=(Object)#0
      messageId="CDC66303-F24B-1E87-4103-FCDFF8211298"
      operation="client ping"
      timeToLive=0
      timestamp=0
    'my-rtmp' channel sending message:
    (mx.data.messages.DataMessage)
      messageId = '52AF7949-7B16-7C8E-3B87-FCDFF6F8D3A2'
      operation = fill
      destination = sandwich
      identity = (null)
      body = []
      headers = {}
    'ds-producer-sandwich' producer connected.
    'ds-producer-sandwich' producer acknowledge of 'CDC66303-F24B-1E87-4103-FCDFF8211298'.
    'ds-producer-sandwich' producer acknowledge of '52AF7949-7B16-7C8E-3B87-FCDFF6F8D3A2'.
    'ds-producer-sandwich' producer fault for '52AF7949-7B16-7C8E-3B87-FCDFF6F8D3A2'.
    Dispatching fault event for destination: sandwich
    No registered fault handler or token responder - throwing an error for destination: sandwich
    [RPC Fault faultString="There was an unhandled failure on the server. javax/transaction/SystemException" faultCode="Server.Processing" faultDetail="null"]
         at mx.data::ConcreteDataService/http://www.adobe.com/2006/flex/mx/internal::dispatchFaultEvent()[C:\depot\flex\branches\enterprise_corfu_b2\frameworks\projects\data\src\mx\data\ConcreteDataService.as:2401]
         at DataListRequestResponder/fault()[C:\depot\flex\branches\enterprise_corfu_b2\frameworks\projects\data\src\mx\data\ConcreteDataService.as:6970]
         at mx.rpc::AsyncRequest/fault()[E:\dev\3.0.x\frameworks\projects\rpc\src\mx\rpc\AsyncRequest.as:103]
         at NetConnectionMessageResponder/statusHandler()[E:\dev\3.0.x\frameworks\projects\rpc\src\mx\messaging\channels\NetConnectionChannel.as:523]
         at mx.messaging::MessageResponder/status()[E:\dev\3.0.x\frameworks\projects\rpc\src\mx\messaging\MessageResponder.as:222]

    Here's an update for future victims doing google searches :-)
    The issue appears to be related to compiz. When I'm doing basic 2D desktop with metacity everything simply rocks: the machine suspends/resumes with no issues.
    When compiz is enabled, there is about 10 second delay after resume, during which the screen is black and you better not touch the keyboard! If I sit and wait for 8-12 seconds, the dark screen goes away GDM login dialog shows up. But if I touch the keyboard or the touchpad, it will either freeze or become exceptionally slow.

  • JSP: work with TomCat 5.5.9 and NOT work with TomCat 6.0.16

    Hi all,
    I'm Antony and I have a problem with a .JSP page of my server.
    In my server there are 2 users: "u1" and "u2"; there are 2 TomCat, version 5.5.9 and version 6.0.16. There is Apache WebServer version 2. The 2 TomCat servers have the same configuration files: server.xml and web.xml (in the dir /conf of the main server's root). They not work simultaneously.
    When the user "root" launch the TomCat 5.5.9 all work fine: the server will show correctly the JSP pages of "u1" and the pages of "u2".
    When the user "root" launch the TomCat 6.0.16 the JSP pages of "u1" work fine but the JSP pages of "u2" not work: it seems that there are problems with the path where the server want to search the pages of u2.
    In the server.xml there is this code (for the handle of u2's site):
    <Host name="u2site.com" appBase="/home/u2/public_html/">
      <Alias>www.u2site.com</Alias>
      <Context path="" reloadable="false" docBase="/home/u2/public_html/" debug="0"/>
              <Context path="/manager" debug="0" privileged="true"
                  docBase="/usr/local/jakarta/tomcat/server/webapps/manager">
              </Context>
    </Host>and this code (for the u1's site)
    <Host name="u1site.com" appBase="/home/u1/public_html/">
      <Context path="" reloadable="false" docBase="/home/u1/public_html" debug="1"/>
              <Context path="/manager" debug="0" privileged="true"
                  docBase="/usr/local/jakarta/tomcat/server/webapps/manager">
              </Context>
    </Host>The problems with the JSP pages of u2 are one of the following:
    org.apache.jasper.JasperException: /login2.jsp(4,0) The value for the useBean class attribute com.u2.beans.access.Autenticator is invalid.and this one that appear with the pages that have the inclusion of another JSP page
    /u2page.jsp(3,0) File "/../support/_formatting.jsp" not foundI think that the TomCat know how to find the page that the browser request to Apache WebServer (and that the webserver request to Tomcat by the connector) 'cause for pages that haven't inclusion or call to method in packages all work fine...but the TomCat have problems to locate the pages included or the method located in a JAR (the jars are located in WEB-INF/lib/ of the u2's site).
    How I can resolve this problem with TomCat 6.0.16? I repeat that with TomCat 5.5.9 all work fine...same configuration!
    Any ideas?
    Thank you very much,
    Antony.

    Hi stevejluke, 'cause in the page "/supporto/_formatting.jsp" there are only the definition of some variables it's normal that the output at the browser it's a blank page.
    The problem it's that Tomcat 6.0.16 cannot know how "navigate" the pages beginning from one...it know where is the "x.jsp" page requested directly by Apache WebServer, where is "y.jsp" request directly by Apache, where is "z.jsp" requested directly by Apache but if "x.jsp" request, includes, "y.jsp" Tomcat cannot know where "y.jsp" is located. There is some file where I can "say" this to Tomcat?
    The page "/mostre/elenco_mostre.jsp" includes directly the "/supporto/_formatting.jsp".
    Another thing: in /mostre/elenco_mostre.jsp there is an inclusion directive for /supporto/_formatting.jsp that is so:
    <%@ include file="../supporto/_formatting.jsp"%>you can see that the included file is "../supporto/_formatting.jsp" and NOT "/../supporto/_formatting.jsp"...the "/" at the begin of the path is included by Tomcat!
    In the catalina.out there are this lines, when the page is called:
    Jul 6, 2008 3:15:00 AM org.apache.catalina.core.StandardWrapperValve invoke
    SEVERE: Servlet.service() for servlet jsp threw exception
    org.apache.jasper.JasperException: /elenco_mostre.jsp(3,0) File "/../supporto/_formatting.jsp" not found
      In catalina.out before server start there are this lines:
    Jul 6, 2008 1:43:49 AM org.apache.tomcat.util.digester.SetPropertiesRule begin
    WARNING: [SetPropertiesRule]{Server/Service/Engine/Host/Context} Setting property 'debug' to '1' did not find a matching property.
    Jul 6, 2008 1:43:49 AM org.apache.tomcat.util.digester.SetPropertiesRule begin
    WARNING: [SetPropertiesRule]{Server/Service/Engine/Host/Context} Setting property 'debug' to '0' did not find a matching property.
    Jul 6, 2008 1:43:49 AM org.apache.tomcat.util.digester.SetPropertiesRule begin
    WARNING: [SetPropertiesRule]{Server/Service/Engine/Host/Context} Setting property 'debug' to '1' did not find a matching property.
    Jul 6, 2008 1:43:49 AM org.apache.tomcat.util.digester.SetPropertiesRule begin
    WARNING: [SetPropertiesRule]{Server/Service/Engine/Host/Context} Setting property 'debug' to '0' did not find a matching property.
    Jul 6, 2008 1:43:49 AM org.apache.tomcat.util.digester.SetPropertiesRule begin
    WARNING: [SetPropertiesRule]{Server/Service/Engine/Host/Context} Setting property 'debug' to '1' did not find a matching property.
    Jul 6, 2008 1:43:49 AM org.apache.tomcat.util.digester.SetPropertiesRule begin
    WARNING: [SetPropertiesRule]{Server/Service/Engine/Host/Context} Setting property 'debug' to '0' did not find a matching property.
    Jul 6, 2008 1:43:49 AM org.apache.tomcat.util.digester.SetPropertiesRule begin
    WARNING: [SetPropertiesRule]{Server/Service/Engine/Host/Context} Setting property 'debug' to '1' did not find a matching property.
    Jul 6, 2008 1:43:49 AM org.apache.tomcat.util.digester.SetPropertiesRule begin
    WARNING: [SetPropertiesRule]{Server/Service/Engine/Host/Context} Setting property 'debug' to '0' did not find a matching property.
    Jul 6, 2008 1:43:49 AM org.apache.tomcat.util.digester.SetPropertiesRule begin
    WARNING: [SetPropertiesRule]{Server/Service/Engine/Host/Context} Setting property 'debug' to '1' did not find a matching property.
    Jul 6, 2008 1:43:49 AM org.apache.tomcat.util.digester.SetPropertiesRule begin
    WARNING: [SetPropertiesRule]{Server/Service/Engine/Host/Context} Setting property 'debug' to '0' did not find a matching property.
    Jul 6, 2008 1:43:49 AM org.apache.tomcat.util.digester.SetPropertiesRule begin
    WARNING: [SetPropertiesRule]{Server/Service/Engine/Host/Context} Setting property 'debug' to '1' did not find a matching property.
    Jul 6, 2008 1:43:49 AM org.apache.tomcat.util.digester.SetPropertiesRule begin
    WARNING: [SetPropertiesRule]{Server/Service/Engine/Host/Context} Setting property 'debug' to '0' did not find a matching property.
    Jul 6, 2008 1:43:49 AM org.apache.tomcat.util.digester.SetPropertiesRule begin
    WARNING: [SetPropertiesRule]{Server/Service/Engine/Host/Context} Setting property 'debug' to '0' did not find a matching property.
    Jul 6, 2008 1:43:49 AM org.apache.tomcat.util.digester.SetPropertiesRule begin
    WARNING: [SetPropertiesRule]{Server/Service/Engine/Host/Context} Setting property 'debug' to '0' did not find a matching property.
    Jul 6, 2008 1:43:49 AM org.apache.catalina.startup.Catalina load
    INFO: Initialization processed in 358 ms
    Jul 6, 2008 1:43:49 AM org.apache.catalina.core.StandardService start
    INFO: Starting service Catalina
    Jul 6, 2008 1:43:49 AM org.apache.catalina.core.StandardEngine start
    INFO: Starting Servlet Engine: Apache Tomcat/6.0.16
    Jul 6, 2008 1:43:52 AM org.apache.jk.server.JkMain start
    INFO: Jk running ID=0 time=0/23  config=null
    Jul 6, 2008 1:43:52 AM org.apache.catalina.connector.MapperListener registerEngine
    WARNING: Unknown default host: localhost
    Jul 6, 2008 1:43:52 AM org.apache.catalina.startup.Catalina start
    INFO: Server startup in 2512 msThe file "web.xml" is located in "$Tomcat_home/conf" and it's:
    <?xml version="1.0" encoding="ISO-8859-1"?>
    <web-app xmlns="http://java.sun.com/xml/ns/j2ee"
        xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
        xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee
        http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd" version="2.4">
      <servlet>
        <servlet-name>jsp</servlet-name>
        <servlet-class>org.apache.jasper.servlet.JspServlet</servlet-class>
        <init-param>
          <param-name>fork</param-name>
          <param-value>false</param-value>
        </init-param>
        <init-param>
          <param-name>xpoweredBy</param-name>
          <param-value>false</param-value>
        </init-param>
        <load-on-startup>3</load-on-startup>
      </servlet>
      <servlet-mapping>
        <servlet-name>jsp</servlet-name>
        <url-pattern>*.jsp</url-pattern>
      </servlet-mapping>
      <servlet-mapping>
        <servlet-name>jsp</servlet-name>
        <url-pattern>*.jspx</url-pattern>
      </servlet-mapping>
      <session-config>
        <session-timeout>30</session-timeout>
      </session-config>
      <welcome-file-list>
        <welcome-file>index.html</welcome-file>
        <welcome-file>index.jsp</welcome-file>
      </welcome-file-list>
    </web-app>there are not web.xml file in /WEB-INF/ of the web application.
    Maybe the problem it's that Tomcat want the conf file in "Server/Service/Engine/Host/Context" ? I must move the block HOST of the server.xml file in this path?
    Good Sunday and thank you!
    Antony.

  • Help pls ! JSP not working in tomcat

    Hi techies,
    I have a problem in executing jsp files thru tomcat on windows
    The problem is i have my jsp files in a directory, i use virtual directory concept by setting up context in server.xml file to access my jsp, servlets and html files and some jsp files are working properly, but certain jsp files are not working...
    It gives an error saying " jsp file not found.." even though the file is in the directory
    Can anyone help to come-out of this problem.
    Rgds
    sathish

    Hi,
    if you are trying to map a short name to a jsp page, you should do that in the web.xml file not in the server.xml i think...
    Hope this help...

  • Works in tomcat not in J2EE

    When I run my jsp page that uses JDOM as below it runs fine in tomcat but it does not work in J2EE.. In tomcat I just created a lib directory under WEB-INF and put the jars there and it worked..
    In case of J2ee even if I create war using deploytool and it creates a lib folder by itself with those 2 files in it... It gives the error..
    Error in building: SAX2 driver class org.apache.xerces.parsers.SAXParser not found
    <%@ page contentType="text/html" %>
    <%@page import="java.io.*,org.jdom.*,org.jdom.input.SAXBuilder"%>
    <%
    SAXBuilder builder =new SAXBuilder("org.apache.xerces.parsers.SAXParser");
    Document l_doc=builder.build(new File("c:/message.xml"));
    %>
    <html>
    <body>
    <%=l_doc.getRootElement().getChild("message").getText() %>
    </body>
    </html>
    Can someone please tell me..

    Hi solution,
    I dont know what may be the problem using org.apache.xerces.parsers.SAXParser driver class, but I think your code would work fine by using SAXBuilder costructor without arguments.
    SAXBuilder sb=new SAXBuilder();

  • Works with tomcat not with bea

    hai i am madav
    when i was working with tomcate it was fine but when i deploy in bea portal server with proper additions i am gettin java.io.FileNotFoundException: Response: '401:
    Unauthorized xxx' for url: 'http://feedsind3.cricinfo.com/live/index.xml'
    for below code
    Authenticator.setDefault(new MyAuthenticator());
    URL url = new URL"http://feedsind3.cricinfo.com/live/index.xml");
                   is=url.openStream();
    File f1=new File("c:\\hai2.xml");
              br = new BufferedReader(new InputStreamReader(is));
              bw1 = new BufferedWriter(new FileWriter(f1),5000);
              while((scoresFileUrl=br.readLine())!=null)
                   System.out.println(scoresFileUrl);
                   bw1.write(scoresFileUrl);
                   bw1.flush();
                   bw1.newLine();
                   bw1.close();
                   br.close();
                   is.close();
                   }catch(Exception e){
                   System.out.println(" exception raised in writeToFile "+e);
         RequestDispatcher rd=req.getRequestDispatcher("/livecric.jsp");
    rd.forward(req,res);     
    exception raised in writeToFile java.io.FileNotFoundException: Response: '401:
    Unauthorized xxx' for url: 'http://feedsind3.cricinfo.com/live/index.xml'

    Exactly my problem too. I read somewhere that JDK 1.5 has modified its Authenticator class but I am not able to find an example of how to handle a website that prompts you for userid/password.
    But I scaled back from JDK 1.5 to JDK 1.4 on Weblogic 8.1.5 but that does not work still. So I sense some issues with Weblogic server.
    Can someone help please? Moderators?

  • RequestDispatcher is not working with Tomcat 4.1

    This is JSP's path
    http://localhost:8080/myApp/Date.jsp
    from this jsp i am calling below Servlet
    this is my servlets path
    http://localhost:8080/examples/servlet/SampleServlet
    from the servlet i am trying to forward request to other JSP
    but it sees like RequestDispatcher is not working with Tomcat
    but i can able to call JSP using
    response.sendRedirect("http://localhost:8080/myApp/Date.jsp");
    OR
    response.sendRedirect("/myApp/Date.jsp");
    both works fine , but no combination is working with RiquestDispatcher.forword();
    Any Guess ???.

    yes i have tried with ("/Date.jsp") also .
    it gives me 404 error
    Error description is
    " The requested resource (/Date.jps) is not available"
    i am getting same error for all possible combinations of URL iam giving
    some of other URL's i have tried..
    /examples/Date.jsp
    /myApp/Date.jsp (myApp is my war file name deployed in webapps directory)
    and many more
    thanks for help.

Maybe you are looking for

  • How do I put two songs in one movie

    I was wanting to know how to put two songs in one movie because I am making a holiday movie so I was wanting to know

  • Messenger and Contacts not the same over different devices

    I upgraded to iOS8 on my 5S and iPad 4th gen. Then I updated my MBP to Yosemite Beta - just in case I need to  utilize iCoud Drive.  I'm not using it. On my phone, I noticed that my contacts got jacked up.  First noticed it in my Favorites, where nam

  • [Bug?] iTunes 10.4 and type an 'umlaut' in artist/album etc.

    If i try to edit an artist in the artist field and type a german 'umlaut' like äöü in the input field the autotext in this field will stop working and the autotext is inserted. So I can't edit/assign a artist/album etc. name with a german umlaut with

  • Sun.util.calendar.ZoneInfo error

    I am getting the following error when I try to run a servlet that is supposed to get the current time and convert it automatically to GMT. Error invoking servlet sun.util.calendar.ZoneInfo: sun.util.calendar.ZoneInfo Here is the code: java.util.Date

  • Bridge has mixed menus

    I tried to use the Image Processor from Bridge, but the menu I get is the metadate menu.  I really don't want to mess with opening 30 photos in order to create JPEGs from the PSD files.  What can I do to solve the problem?