Is it Tomcat buffer problem ?

i am developing a web-application which is hosted on tomcat server.
it is creating domains and users at another remote domain server.
localy it is working fine..
but when i test it online..
the problem is,
sometimes it works fine ,the domains are being creted at remote server..
but sometimes it delivers error that domain at remote server can not be created.
Is it due to fact that theat some errornous code in the buffer of application have older versions of applications causing the error ?

http://forum.java.sun.com/thread.jspa?threadID=678715&tstart=0

Similar Messages

  • Apache webserver can't find tomcat - mod_jk problem?

    Hi
    I have recently upgraded HP-UX apache software
    FROM
    Apache webserver: 2.0.55
    Apache tomcat : 5.5.9
    TO
    Apache webserver: 2.0.55
    Apache tomcat : 5.5.9
    I have 2 tomcats running, one JVM for a daytime service and another for a nighttime service.
    So while 1 tomcat is down, the other is up, apache always running.
    However, since I have upgraded, I see the following error messages in jk.log:
    [Mon Nov 20 07:00:41 2006] [error] ajp_connection_tcp_get_message::jk_ajp_common
    .c (949): ERROR: can't receive the response message from tomcat, network problems or tomcat is down (127.0.0.1:8059), err=-232
    The tomcat in question is up - and the messages returned are 500 responses - server configuration issue.
    Get several a day.
    Basically using mod_jk to bind the tomcat installations to apache webserver.
    What is new though in mod_jk 1.2.10 is that a shared memory file is specified. I am wondering what happens to this memory that is used to load balance the workers when tomcats are bounced.
    Issues go away after a bounce of apache - but after each tomcat has been stopped once - messages start to fail intermittently after that.
    Done some googling but do not see any solutions - so here's hoping!
    Thanks.

    Noticed my deliberate mistake!
    From
    Apache 2.0.32
    Tomcat 3
    Still no joy with with this in terms of finding a solution to why the newer version of apache cannot find tomcat after it has been bounced.
    mod_jk.so version 1.2.9 introduced the shared memory for the workers, which as far as I can is the main config change in the 2 versions of apache that came from HP.
    So rolled back to the old version of apache with the new version of tomcat - and everything works fine!

  • Re-executing a function in IP web: buffer problem

    Hello everybody,
    we have performed 2 changes to our application:
    1. for performance reasons we replaced a FOX function with an IP exit function and
    2. to limit the number of entires appearing in F4 (000's) in the web application when selecting mater data for filtering we inserted a new InfoObject for the selection with only a few (about 10) master data entries and then passed the variable values to the original infoobject
    Both changes work well but there is a nasty side effect.
    The INITIAL execution of the query (variable pop-up) and filtering in the web application works fine. The user enters data manually and executes a function performing some caluculations (was FOX, is now an IP exit function).
    After this initial execution of the function it is not possible to re-execute the function. If e.g. the user performs a few more manual changes and then tries to execute the function again nothing happens. Only be logging off and on again (i.e. a new session) the user can execute the function again.
    Cache mode for the query (in RSRT) is set to 0 (=inactive).
    It is obviously a  buffer problem (some sort of delta/plan buffer conflict) and I have had this before but I cannot recall how to solve it ... its the age!
    Grateful for any assistance
    Edited by: Martin Helmstein on Nov 10, 2010 11:07 AM
    Clarification: if the user repeats inputting data under the INITIAL filter selection state and executes the function again it works. The problem only occurs if the user changes the filters (drop down boxes in the web application), inputs data and attempts to execute the function with this new selection.

    Hi Martin,
    One easy way of solving is to include the WAD command TRANSFER_STATE at the end of all the Planning function / Sequence commands attached to the Button.
    This will refresh the WAD layout without having to reenter the variable values if any.
    The other Option is to reset all the variables associated with the execution of Planning function after every execution.
    This can be included under Web template Properties so this happens after every refresh of the layout.
    Hope this helps.
    Regards.
    Shafi.

  • OO ALV buffer problem

    Hello all,
    When a workflow work item is executed, a function module is called that displays a screen.  The workitem calls a function module that displays an ALV on a screen.  The same ALV is displayed for 3 different workitems.
    I am changing the field catalog based on certain criteria to set an individual field to be editable/non-editable.  I can see that the edit field in the field catalog contains the appropriate value, but the grid does not reflect what is in the field catalog.
    The first workitem displays the ALV correctly.
    The second and third workitems display the ALV using fieldcat values from the first workitem.  The fieldcat contains the correct values when the grid is displayed using method "set_table_for_first_display".
    If I log off of SAP and log back on, the second workitem ALV displays with the correct value.  But the third workitem now display with the fieldcat values from the second workitem.
    If I log off of SAP and log back on, the third workitem ALV displays with the correct value.
    Any thought on what I need to do to correct this problem?
    This is the logic that creates and displays the ALV in the PBO of the screen of the function module.
    clear: il_fieldcat, l_layout.
      refresh: il_fieldcat.
      free: il_fieldcat.
      submit balvbufdel and return.                         " clear ALV buffer
      submit bcalv_buffer_del_shared and return. " clear ALV buffer
    *            Create an instance for the event handler
      create object gr_event_handler .
    *          Create an instance of the container displayed on screen 1400
      create object w_custom_container_1400
             exporting container_name = w_container_1400.
    *            Create an instance of the grid displayed in the container
      create object w_grid_1400
             exporting i_parent = w_custom_container_1400.
    * Build fieldcat - edit enabled.
      perform build_fieldcat_1400 changing il_fieldcat.
    *         >>  call method w_alv->set_frontend_fieldcatalog  after modifying the field ctalog <<
      call method w_grid_1400->set_frontend_fieldcatalog
       exporting
          it_fieldcatalog  =   il_fieldcat.
    * Disable generic ALV toolbar functions
      perform exclude_tb_functions_1400 changing lt_exclude.
    *  Set layout options:
      l_layout-grid_title = 'ZFXXU003'.
      l_layout-zebra      = 'X'.
      l_layout-edit_mode  = 'X'.  
      set handler gr_event_handler->handle_user_command for w_grid_1400 .
      set handler gr_event_handler->handle_toolbar      for w_grid_1400 .
      set handler gr_event_handler->handle_menu_button  for w_grid_1400 .
      set handler gr_event_handler->handle_data_changed for w_grid_1400 .
      data: w_is_variant type disvariant.
      w_is_variant-report = sy-cprog.
      w_is_variant-variant = '/DEFAULT'.
      call method w_grid_1400->set_table_for_first_display
        exporting
          i_buffer_active      = 'X'
          i_bypassing_buffer   = 'X'
          is_layout            = l_layout
          it_toolbar_excluding = lt_exclude
          i_save               = 'A'       " enable save option
          is_variant           = w_is_variant
        changing
          it_fieldcatalog      = il_fieldcat
          it_outtab            = il_outtab.
    * set editable cells to ready for input
      call method w_grid_1400->set_ready_for_input
        exporting
          i_ready_for_input = 1.
    * Register ENTER to raise event DATA_CHANGED.
      call method w_grid_1400->register_edit_event
        exporting
          i_event_id = cl_gui_alv_grid=>mc_evt_enter.
      create object w_event_receiver_1400.
      set handler w_event_receiver_1400->handle_data_changed
                  for w_grid_1400.
    Edited by: Bruce Tjosvold on Dec 8, 2010 4:21 PM
    Edited by: Bruce Tjosvold on Dec 8, 2010 4:24 PM
    Edited by: Bruce Tjosvold on Dec 8, 2010 5:04 PM

    Hi Bruce,
    You should avoid the creation of the ALV everytime that you need to change the fieldcatalog by calling the method "set_table_for_first_display". Instead, you should call the "refresh_table_display" method.
    Regarding the code that you provide to us, it should be something like this:
    if ...
    * Build fieldcat - edit enabled.
      perform build_fieldcat_1400 changing il_fieldcat.
    call method w_grid_1400->set_table_for_first_display
        exporting
          i_buffer_active      = 'X'
          i_bypassing_buffer   = 'X'
          is_layout            = l_layout
          it_toolbar_excluding = lt_exclude
          i_save               = 'A'       " enable save option
          is_variant           = w_is_variant
        changing
          *it_fieldcatalog      = il_fieldcat* "Here you are specifying your first catalog
          it_outtab            = il_outtab.
    else.
       call method w_grid_1400->refresh_table_display
    *     EXPORTING
    *     IS_STABLE =
    *     I_SOFT_REFRESH =
         EXCEPTIONS
          finished = 1
          OTHERS = 2 .
    endif.
    If you want at this point change the catalog, you should modify the values of it_fieldcat and update it on the existing ALV
      call method w_grid_1400->set_frontend_fieldcatalog
       exporting
          it_fieldcatalog  =   il_fieldcat.
    Best regards,
    Eric

  • Oracle Tomcat Connection Problem

    Dear all,
    We have Oracle as the back end and Java-Jsp-Struts as the front end for our project.For the last few days we are facing a strange problem and although we tried a lot we were not able to find even the cause of the problem
    We have Oracle server and Webserver running on seperate machine. As this is a webbased solution , clients can take the pages by putting the URL in the browser. The problem is that the connection to the database is lost sometimes and we need to restart our apache tomcat service to get the connection again. Once it is restarted the pages work fine for sometime and after sometime the problem comes again. Sometimes the problem occures frequently and sometimes rarely.
    Please help us as we tried a lot to troubleshoot but failed.
    Whenever we are loosing connection, the database or listener seem to have no problem as they are running perfectly fine. Is there something that should be done in Tomcat for oracle connections? Or if multiple users are accessing the database at the same time is there something to do sothat the webserver is able to handle these multiple connections and update operations?
    The error messages that we get are:
    The network adapter could not establish the connection
    or The TNS Listener could not resolve the SID given in the connection descriptor
    If the error is the second one then sometimes it will vanish after sometime even without restarting thr tomcat service . But for the first one we must restart the service
    All suggessions are welcome.
    Regards,
    Cochu.

    Hi,
    Thanks for your valuable suggession, but when I
    tried to ping from webserver to db server, it was
    pinging all the time and I am sure that the LAN
    Connection is alright.
    Regards,
    Cochu.No, the fact that Oracle works at all says that your network connection between servers is not the problem.
    When you say "connection to Oracle", it sounds like you literally mean a single connection to Oracle. You open the connection on startup, so if it's stale or lost or dropped you have to restart the web app. Is this true?
    If it is, your solution is to use a database connection pool and rewrite the database code in such a way that you get a fresh connection out of the pool when request comes in, use it, and immediately close it in the same scope, returning it to the pool. Scope should be within a single transaction in a single method. You should keep a connection open only for as long as you need it for a request.
    %

  • 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

  • VISA Read function Read buffer problem in serial communication

    Hi,  I use VISA write and read function in serial communication app, the device continuously sends 0x00 if it is not receive a request from Labview program running on PC.
    And the request sent by labview is programmable. I met a weird problem, each time the request changes, the VISA read buffer output port still shows the last request firstly, from second time, shows the right request.
    It works like: Req code: ... 50, 51,51,51,50....;  VISA Read buffer: ...50, 50, 51, 51, 51, 51, 50....
    Please refer to the program.
    Attachments:
    readOne_test.vi ‏21 KB

    How are you running this?  You don't have a while loop around it.  Is it part of a larger VI?  Please don't tell me you are using the run continuously button.
    You don't have any wait statement between you VISA Write and your bytes at port.  So it is very likely the receive buffer is still empty since you didn't give your VI time to wait for the device to turn around and give a reply.  If you read 0 bytes, your VISA read string will be empty.  How does your decoder subVI (which you didn't include) handle an empty string?

  • Tomcat startup problem

    Hi all!!
    I'm using a BOE XI 3.1 SP2 with Apache Tomcat Was, in a Windows 2003 VMware image...
    I'm having problems starting tomcat.... It's really slow... and I don't know what to do.
    I've tried to modify the tomcat configuration, adding more maximum memmory pool... and I have the same problem
    any idea???
    thanks to all!!

    I typically set my tomcat memory in the tomcat configuration/java options tab to 384 min/max
    I do this because my BM's are set to only run on 768 memory. Also I turn off any unused services in the CMC and make sure they do not start by default (pm services, voyager etc). By default tomcat tries to grab up to 1 gig memory and if your VM doesn't have that available you will see slowness. Also to note tomcat 5.5 in general is much slower than the old 5.0 version that was in XIR2.
    Regards,
    Tim

  • ABAP Buffer Problem - URGENT

    Hi All
    I have the following ABAP problem.
    I wrote a program that delimits(Just editing the end date) the Qualification and Person relationship in HRP1001.
    The problem is that I update the database directly, and all appears to be working fine but it appears that the Buffer for infotype 1001 does not get updated and therefore if you view the data in transaction PPPD it still displays the previous end date and not the updated end date.
    Is there a way to refresh the buffer for infotype 1001 so that the data in PPPD reflects the actual database data?
    Help will be greatly appreciated and rewarded….
    Kind regards

    Hi All
    I have the following ABAP problem.
    I wrote a program that delimits(Just editing the end date) the Qualification and Person relationship in HRP1001.
    The problem is that I update the database directly, and all appears to be working fine but it appears that the Buffer for infotype 1001 does not get updated and therefore if you view the data in transaction PPPD it still displays the previous end date and not the updated end date.
    Is there a way to refresh the buffer for infotype 1001 so that the data in PPPD reflects the actual database data?
    Help will be greatly appreciated and rewarded….
    Kind regards

  • Jsp & custom tag buffer problem

    Hi all,
    I have a tag that reads one of the txt file and renders the output on the JSP.
    The problem is, when I refresh the same page in it duplicates the output and append it to the previous output every time (mostly).
    I know there is no that there is no exception occurred, bcoz i have checked the log files. I am using tomcat 5.5.9
    I tired to use out.flush() but it gave me same thing.
    Any help would be appreciated.
    Thank you.
    The code:
    JspWriter out = pageContext.getOut();
    URL header = new URL(url);
    BufferedReader in = new BufferedReader
    (new InputStreamReader(header.openStream()));
    String inputLine;
    while ((inputLine = in.readLine()) != null){
    System.out.println(inputLine);
    fileContent = fileContent + inputLine;
    in.close();
    out.print(fileContent);
    out.flush();

    code_box wrote:
    You are genius. Tell that to the forum elite! Seriously, it's just a matter of practice. I've been using Java since 1998 so I better be able to spot that!
    A very basic mistake from me and you spotted it right away...As you get more experience you'll spot them esaily yourself, but as you write more and more complex code, the mistakes you DO make will be much harder to figure out. :)
    Thanks a lot. It resolved the problem.
    Cheers mate,
    /md.Any time. Good luck!

  • WebLogic 8.1 and Tomcat connection problem

    I am using Tomcat 4.0.6 for my JSPs and WebLogic for my EJBs.
    Everything worked fine under WebLogic 6.1 but I am trying
    to upgrade to WebLogic 8.1 and it is not working.
    I can also connect to WebLogic 8.1 from a standalone class
    but not using Tomcat. What is wrong?
    This is the basic code I am using to connect:
    Hashtable ht = new Hashtable(4);
    ht.put(Context.INITIAL_CONTEXT_FACTORY,
    "weblogic.jndi.WLInitialContextFactory");
    ht.put(Context.PROVIDER_URL,"t3://localhost:7009");
    InitialContext ic = new InitialContext(ht);
    Object obj = ic.lookup("NsbInfoHome");
    NsbInfoHome home = ( NsbInfoHome) PortableRemoteObject.
    narrow(obj, NsbInfoHome.class);
    NsbInfo nsbInfo = home.create();
    NsbMemberPrimaryInfo info = nsbInfo.getMemberPrimaryInfo(1);
    And this is the error
    java.lang.NullPointerException
    at weblogic.rmi.internal.StubGenerator.getStubOnClient(StubGenerator.java:694)
    at weblogic.rmi.internal.StubGenerator.getStubClass(StubGenerator.java:666)
    at weblogic.rmi.internal.StubGenerator.generateStub(StubGenerator.java:712)
    at weblogic.rmi.internal.StubGenerator.generateStub(StubGenerator.java:699)
    at weblogic.rmi.extensions.StubFactory.getStub(StubFactory.java:76)
    at weblogic.jndi.WLInitialContextFactoryDelegate.newRootNamingNodeStub(WLInitialContextFactoryDelegate.java:486)
    at weblogic.jndi.WLInitialContextFactoryDelegate.newRemoteContext(WLInitialContextFactoryDelegate.java:449)
    at weblogic.jndi.WLInitialContextFactoryDelegate.newContext(WLInitialContextFactoryDelegate.java:345)
    at weblogic.jndi.WLInitialContextFactoryDelegate.getInitialContext(WLInitialContextFactoryDelegate.java:308)
    at weblogic.jndi.WLInitialContextFactoryDelegate.getInitialContext(WLInitialContextFactoryDelegate.java:234)
    at weblogic.jndi.WLInitialContextFactory.getInitialContext(WLInitialContextFactory.java:135)
    at javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:672)
    at javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:250)
    at javax.naming.InitialContext.init(InitialContext.java:226)
    at javax.naming.InitialContext.<init>(InitialContext.java:202)
    at org.apache.jsp.testWL2$jsp._jspService(testWL2$jsp.java:81)
    at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:107)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
    at org.apache.jasper.servlet.JspServlet$JspServletWrapper.service(JspServlet.java:201)
    at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:381)
    at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:473)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:247)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:193)
    at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:243)
    at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
    at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
    at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
    at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:190)
    at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
    at org.apache.catalina.valves.CertificatesValve.invoke(CertificatesValve.java:246)
    at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)
    at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
    at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
    at org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2347)
    at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:180)
    at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
    at org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.java:170)
    at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)
    at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:170)
    at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)
    at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:468)
    at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)
    at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
    at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
    at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:174)
    at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
    at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
    at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
    at org.apache.catalina.connector.http.HttpProcessor.process(HttpProcessor.java:1027)
    at org.apache.catalina.connector.http.HttpProcessor.run(HttpProcessor.java:1125)
    at java.lang.Thread.run(Thread.java:536)
    --------------- nested within: ------------------
    weblogic.utils.AssertionError: ***** ASSERTION FAILED *****[ Failed to
    generate class for weblogic.jndi.internal.ServerNamingNode_WLStub ] -
    with nested exception:
    [java.lang.NullPointerException]
    at weblogic.rmi.internal.StubGenerator.generateStub(StubGenerator.java:716)
    at weblogic.rmi.internal.StubGenerator.generateStub(StubGenerator.java:699)
    at weblogic.rmi.extensions.StubFactory.getStub(StubFactory.java:76)
    at weblogic.jndi.WLInitialContextFactoryDelegate.newRootNamingNodeStub(WLInitialContextFactoryDelegate.java:486)
    at weblogic.jndi.WLInitialContextFactoryDelegate.newRemoteContext(WLInitialContextFactoryDelegate.java:449)
    at weblogic.jndi.WLInitialContextFactoryDelegate.newContext(WLInitialContextFactoryDelegate.java:345)
    at weblogic.jndi.WLInitialContextFactoryDelegate.getInitialContext(WLInitialContextFactoryDelegate.java:308)
    at weblogic.jndi.WLInitialContextFactoryDelegate.getInitialContext(WLInitialContextFactoryDelegate.java:234)
    at weblogic.jndi.WLInitialContextFactory.getInitialContext(WLInitialContextFactory.java:135)
    at javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:672)
    at javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:250)
    at javax.naming.InitialContext.init(InitialContext.java:226)
    at javax.naming.InitialContext.<init>(InitialContext.java:202)
    at org.apache.jsp.testWL2$jsp._jspService(testWL2$jsp.java:81)
    at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:107)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
    at org.apache.jasper.servlet.JspServlet$JspServletWrapper.service(JspServlet.java:201)
    at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:381)
    at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:473)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:247)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:193)
    at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:243)
    at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
    at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
    at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
    at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:190)
    at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
    at org.apache.catalina.valves.CertificatesValve.invoke(CertificatesValve.java:246)
    at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)
    at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
    at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
    at org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2347)
    at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:180)
    at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
    at org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.java:170)
    at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)
    at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:170)
    at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)
    at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:468)
    at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)
    at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
    at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
    at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:174)
    at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
    at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
    at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
    at org.apache.catalina.connector.http.HttpProcessor.process(HttpProcessor.java:1027)
    at org.apache.catalina.connector.http.HttpProcessor.run(HttpProcessor.java:1125)
    at java.lang.Thread.run(Thread.java:536)
    Any ideas how to fix this?
    Thanks,
    Dan

    Hi,
    I work under a sligthly different seeting like Dan used (Java Client instead of JSPs, but same context properties), but the problem is exactly the same: weblogic.rmi.internal.StubGenerator.getStubOnClient() results in a NullPointerException.
    What does this method actually do? I provided the weblogic.jar in the client's runtime environment; is it possible that the method asks for something else on the client side that I have to provide (only guessing...)
    PS: I found the error myself. Its the Eclipse 3.0 IDE that won't work together with the factory class of BEA for some obscure reason. Switching to another IDE solved the problem...
    Message was edited by c_web at Dec 1, 2004 6:03 AM

  • TOMCAT server problem at startup

    Hello
    I use apache-tomcat-4.1.37. When I start tomcat I get an long
    error-output in catalina.out. Can anybody help me to fix this?
    Sorry for this long error-posting!
    Jan 13, 2006 12:18:54 AM org.apache.catalina.core.StandardHostDeployer install
    INFO: Installing web application at context path /webdav from URL
    file:/srv/www/tomcat5/base/webapps/webdav
    Jan 13, 2006 12:18:54 AM org.apache.coyote.http11.Http11Protocol start
    INFO: Starting Coyote HTTP/1.1 on http-8080
    Jan 13, 2006 12:18:54 AM org.apache.jk.common.ChannelSocket init
    INFO: JK2: ajp13 listening on /0.0.0.0:8009
    Jan 13, 2006 12:18:54 AM org.apache.jk.server.JkMain start
    INFO: Jk running ID=0 time=0/21 config=/usr/share/tomcat5/conf/jk2.properties
    Jan 13, 2006 12:18:55 AM org.apache.catalina.startup.Catalina start
    INFO: Server startup in 3422 ms
    Jan 13, 2006 12:19:24 AM org.apache.coyote.http11.Http11Protocol pause
    INFO: Pausing Coyote HTTP/1.1 on http-8080
    Jan 13, 2006 12:19:25 AM org.apache.catalina.core.StandardService stop
    INFO: Stopping service Catalina
    Jan 13, 2006 12:19:25 AM org.apache.catalina.core.StandardHostDeployer remove
    INFO: Removing web application at context path /admin
    Jan 13, 2006 12:19:25 AM org.apache.catalina.logger.LoggerBase stop
    INFO: unregistering logger Catalina:type=Logger,path=/admin,host=localhost
    Jan 13, 2006 12:19:25 AM org.apache.catalina.core.StandardHostDeployer remove
    INFO: Removing web application at context path /webdav
    Jan 13, 2006 12:19:25 AM org.apache.catalina.core.StandardHostDeployer remove
    INFO: Removing web application at context path /servlets-examples
    Jan 13, 2006 12:19:25 AM org.apache.catalina.core.StandardHostDeployer remove
    INFO: Removing web application at context path /jsp-examples
    Jan 13, 2006 12:19:25 AM org.apache.catalina.core.StandardHostDeployer remove
    INFO: Removing web application at context path /balancer
    Jan 13, 2006 12:19:25 AM org.apache.catalina.core.StandardHostDeployer remove
    INFO: Removing web application at context path /tomcat-docs
    Jan 13, 2006 12:19:25 AM org.apache.catalina.core.StandardHostDeployer remove
    INFO: Removing web application at context path /umin
    Jan 13, 2006 12:19:25 AM org.apache.catalina.core.StandardHostDeployer remove
    INFO: Removing web application at context path /servlet
    Jan 13, 2006 12:19:25 AM org.apache.catalina.core.StandardHostDeployer remove
    INFO: Removing web application at context path
    Jan 13, 2006 12:19:25 AM org.apache.catalina.core.StandardHostDeployer remove
    INFO: Removing web application at context path /manager
    Jan 13, 2006 12:19:25 AM org.apache.catalina.logger.LoggerBase stop
    INFO: unregistering logger Catalina:type=Logger,host=localhost
    Jan 13, 2006 12:19:25 AM org.apache.catalina.logger.LoggerBase stop
    INFO: unregistering logger Catalina:type=Logger
    Jan 13, 2006 12:19:25 AM org.apache.coyote.http11.Http11Protocol destroy
    INFO: Stopping Coyote HTTP/1.1 on http-8080
    Jan 13, 2006 12:19:28 AM org.apache.coyote.http11.Http11Protocol init
    INFO: Initializing Coyote HTTP/1.1 on http-8080
    Jan 13, 2006 12:19:28 AM org.apache.catalina.startup.Catalina load
    INFO: Initialization processed in 1249 ms
    Jan 13, 2006 12:19:28 AM org.apache.catalina.core.StandardService start
    INFO: Starting service Catalina
    Jan 13, 2006 12:19:28 AM org.apache.catalina.core.StandardEngine start
    INFO: Starting Servlet Engine: Apache Tomcat/5.0
    Jan 13, 2006 12:19:28 AM org.apache.catalina.core.StandardHost start
    INFO: XML validation disabled
    Jan 13, 2006 12:19:28 AM org.apache.catalina.core.StandardHost getDeployer
    INFO: Create Host deployer for direct deployment ( non-jmx )
    Jan 13, 2006 12:19:28 AM org.apache.catalina.core.StandardHostDeployer install
    INFO: Processing Context configuration file URL
    file:/etc/tomcat5/base/Catalina/localhost/balancer.xml
    Jan 13, 2006 12:19:29 AM org.apache.catalina.core.StandardHostDeployer install
    INFO: Processing Context configuration file URL
    file:/etc/tomcat5/base/Catalina/localhost/admin.xml
    Jan 13, 2006 12:19:30 AM org.apache.commons.digester.Digester error
    SEVERE: Parse Error at line 1062 column 94: Element type "message-resources"
    must be declared.
    org.xml.sax.SAXParseException: Element type "message-resources" must be
    declared.
    at
    org.apache.xerces.util.ErrorHandlerWrapper.createSAXParseException(Unknown
    Source)
    at org.apache.xerces.util.ErrorHandlerWrapper.error(Unknown Source)
    at org.apache.xerces.impl.XMLErrorReporter.reportError(Unknown Source)
    at org.apache.xerces.impl.XMLErrorReporter.reportError(Unknown Source)
    at
    org.apache.xerces.impl.dtd.XMLDTDValidator.handleStartElement(Unknown Source)
    at org.apache.xerces.impl.dtd.XMLDTDValidator.emptyElement(Unknown
    Source)
    at
    org.apache.xerces.impl.XMLNSDocumentScannerImpl.scanStartElement(Unknown
    Source)
    at
    org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(Unknown
    Source)
    at
    org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown
    Source)
    at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
    at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
    at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
    at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)
    at org.apache.commons.digester.Digester.parse(Digester.java:1647)
    at
    org.apache.struts.action.ActionServlet.parseModuleConfigFile(ActionServlet.java:708)
    at
    org.apache.struts.action.ActionServlet.initModuleConfig(ActionServlet.java:670)
    at org.apache.struts.action.ActionServlet.init(ActionServlet.java:329)
    at
    org.apache.webapp.admin.ApplicationServlet.init(ApplicationServlet.java:105)
    at javax.servlet.GenericServlet.init(GenericServlet.java:256)
    at
    org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1044)
    at
    org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:876)
    at
    org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:4017)
    at
    org.apache.catalina.core.StandardContext.start(StandardContext.java:4337)
    at
    org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:823)
    at
    org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:807)
    at
    org.apache.catalina.core.StandardHost.addChild(StandardHost.java:595)
    at
    org.apache.catalina.core.StandardHostDeployer.addChild(StandardHostDeployer.java:903)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at
    sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at
    sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:324)
    at
    org.apache.commons.beanutils.MethodUtils.invokeMethod(MethodUtils.java:216)
    at org.apache.commons.digester.SetNextRule.end(SetNextRule.java:216)
    at org.apache.commons.digester.Rule.end(Rule.java:230)
    at org.apache.commons.digester.Digester.endElement(Digester.java:1130)
    at
    org.apache.catalina.util.CatalinaDigester.endElement(CatalinaDigester.java:76)
    at org.apache.xerces.parsers.AbstractSAXParser.endElement(Unknown
    Source)
    at
    org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanEndElement(Unknown
    Source)
    at
    org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(Unknown
    Source)
    at
    org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown
    Source)
    at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
    at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
    at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
    at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)
    at org.apache.commons.digester.Digester.parse(Digester.java:1666)
    at
    org.apache.catalina.core.StandardHostDeployer.install(StandardHostDeployer.java:488)
    at
    org.apache.catalina.core.StandardHost.install(StandardHost.java:863)
    at
    org.apache.catalina.startup.HostConfig.deployDescriptors(HostConfig.java:483)
    at
    org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:427)
    at org.apache.catalina.startup.HostConfig.start(HostConfig.java:983)
    at
    org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:349)
    at
    org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119)
    at
    org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1091)
    at org.apache.catalina.core.StandardHost.start(StandardHost.java:789)
    at
    org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1083)
    at
    org.apache.catalina.core.StandardEngine.start(StandardEngine.java:478)
    at
    org.apache.catalina.core.StandardService.start(StandardService.java:480)
    at
    org.apache.catalina.core.StandardServer.start(StandardServer.java:2313)
    at org.apache.catalina.startup.Catalina.start(Catalina.java:556)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at
    sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at
    sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:324)
    at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:287)
    at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:425)
    Jan 13, 2006 12:19:30 AM org.apache.commons.digester.Digester error
    SEVERE: Parse Error at line 1064 column 17: The content of element type
    "struts-config" must match
    "(data-sources?,form-beans?,global-forwards?,action-mappings?)".
    org.xml.sax.SAXParseException: The content of element type "struts-config"
    must match "(data-sources?,form-beans?,global-forwards?,action-mappings?)".
    at
    org.apache.xerces.util.ErrorHandlerWrapper.createSAXParseException(Unknown
    Source)
    at org.apache.xerces.util.ErrorHandlerWrapper.error(Unknown Source)
    at org.apache.xerces.impl.XMLErrorReporter.reportError(Unknown Source)
    at org.apache.xerces.impl.XMLErrorReporter.reportError(Unknown Source)
    at org.apache.xerces.impl.dtd.XMLDTDValidator.handleEndElement(Unknown
    Source)
    at org.apache.xerces.impl.dtd.XMLDTDValidator.endElement(Unknown
    Source)
    at
    org.apache.xerces.impl.XMLNSDocumentScannerImpl.scanEndElement(Unknown
    Source)
    at
    org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(Unknown
    Source)
    at
    org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown
    Source)
    at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
    at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
    at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
    at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)
    at org.apache.commons.digester.Digester.parse(Digester.java:1647)
    at
    org.apache.struts.action.ActionServlet.parseModuleConfigFile(ActionServlet.java:708)
    at
    org.apache.struts.action.ActionServlet.initModuleConfig(ActionServlet.java:670)
    at org.apache.struts.action.ActionServlet.init(ActionServlet.java:329)
    at
    org.apache.webapp.admin.ApplicationServlet.init(ApplicationServlet.java:105)
    at javax.servlet.GenericServlet.init(GenericServlet.java:256)
    at
    org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1044)
    at
    org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:876)
    at
    org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:4017)
    at
    org.apache.catalina.core.StandardContext.start(StandardContext.java:4337)
    at
    org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:823)
    at
    org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:807)
    at
    org.apache.catalina.core.StandardHost.addChild(StandardHost.java:595)
    at
    org.apache.catalina.core.StandardHostDeployer.addChild(StandardHostDeployer.java:903)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at
    sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at
    sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:324)
    at
    org.apache.commons.beanutils.MethodUtils.invokeMethod(MethodUtils.java:216)
    at org.apache.commons.digester.SetNextRule.end(SetNextRule.java:216)
    at org.apache.commons.digester.Rule.end(Rule.java:230)
    at org.apache.commons.digester.Digester.endElement(Digester.java:1130)
    at
    org.apache.catalina.util.CatalinaDigester.endElement(CatalinaDigester.java:76)
    at org.apache.xerces.parsers.AbstractSAXParser.endElement(Unknown
    Source)
    at
    org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanEndElement(Unknown
    Source)
    at
    org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(Unknown
    Source)
    at
    org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown
    Source)
    at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
    at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
    at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
    at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)
    at org.apache.commons.digester.Digester.parse(Digester.java:1666)
    at
    org.apache.catalina.core.StandardHostDeployer.install(StandardHostDeployer.java:488)
    at
    org.apache.catalina.core.StandardHost.install(StandardHost.java:863)
    at
    org.apache.catalina.startup.HostConfig.deployDescriptors(HostConfig.java:483)
    at
    org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:427)
    at org.apache.catalina.startup.HostConfig.start(HostConfig.java:983)
    at
    org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:349)
    at
    org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119)
    at
    org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1091)
    at org.apache.catalina.core.StandardHost.start(StandardHost.java:789)
    at
    org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1083)
    at
    org.apache.catalina.core.StandardEngine.start(StandardEngine.java:478)
    at
    org.apache.catalina.core.StandardService.start(StandardService.java:480)
    at
    org.apache.catalina.core.StandardServer.start(StandardServer.java:2313)
    at org.apache.catalina.startup.Catalina.start(Catalina.java:556)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at
    sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at
    sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:324)
    at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:287)
    at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:425)
    Jan 13, 2006 12:19:31 AM org.apache.catalina.core.StandardHostDeployer install
    INFO: Processing Context configuration file URL
    file:/etc/tomcat5/base/Catalina/localhost/manager.xml
    Jan 13, 2006 12:19:31 AM org.apache.catalina.core.StandardHostDeployer install
    INFO: Installing web application at context path /umin from URL
    file:/usr/share/tomcat5/webapps/umin
    Jan 13, 2006 12:19:31 AM org.apache.catalina.core.StandardHostDeployer install
    INFO: Installing web application at context path /servlet from URL
    file:/usr/share/tomcat5/webapps/servlet
    Jan 13, 2006 12:19:31 AM org.apache.catalina.core.StandardHostDeployer install
    INFO: Installing web application at context path from URL
    file:/srv/www/tomcat5/base/webapps/ROOT
    Jan 13, 2006 12:19:31 AM org.apache.catalina.core.StandardHostDeployer install
    INFO: Installing web application at context path /jsp-examples from URL
    file:/srv/www/tomcat5/base/webapps/jsp-examples
    Jan 13, 2006 12:19:31 AM org.apache.catalina.core.StandardHostDeployer install
    INFO: Installing web application at context path /servlets-examples from URL
    file:/srv/www/tomcat5/base/webapps/servlets-examples
    Jan 13, 2006 12:19:31 AM org.apache.catalina.core.StandardHostDeployer install
    INFO: Installing web application at context path /tomcat-docs from URL
    file:/srv/www/tomcat5/base/webapps/tomcat-docs
    Jan 13, 2006 12:19:31 AM org.apache.catalina.core.StandardHostDeployer install
    INFO: Installing web application at context path /webdav from URL
    file:/srv/www/tomcat5/base/webapps/webdav
    Jan 13, 2006 12:19:31 AM org.apache.coyote.http11.Http11Protocol start
    INFO: Starting Coyote HTTP/1.1 on http-8080
    Jan 13, 2006 12:19:32 AM org.apache.jk.common.ChannelSocket init
    INFO: JK2: ajp13 listening on /0.0.0.0:8009
    Jan 13, 2006 12:19:32 AM org.apache.jk.server.JkMain start
    INFO: Jk running ID=0 time=1/21 config=/usr/share/tomcat5/conf/jk2.properties
    Jan 13, 2006 12:19:32 AM org.apache.catalina.startup.Catalina start
    INFO: Server startup in 3422 ms
    Environment variables are all set ok.
    I cannot know why i got these many errors.
    i have into the WEB-INF folder the file build.xml, i typed asant to compile the xml file, and build was succesful
    anyway, i;m going to do what is this: http://maestric.com/en/doc/java/spring/mvc
    but when accessing http://localhost:8080/springmvc/list_cars.html
    i got an error, it is not displayed what is in that example
    help me please
    Thanks

    well, no, i downloaded the apache-tomcat version 4, i'm not mixing versions, but i had apache tomcat 6, probably the log is from there. today i tried again starting that application, here is the log:
    2008-09-07 00:10:53 HostConfig[localhost]: Deploying configuration descriptor admin.xml
    2008-09-07 00:10:55 HostConfig[localhost]: Deploying configuration descriptor manager.xml
    2008-09-07 00:10:55 WebappLoader[manager]: Deploying class repositories to work directory C:\apache-tomcat-4.1.37\work\Standalone\localhost\manager
    2008-09-07 00:10:55 ContextConfig[manager]: Configured an authenticator for method BASIC
    2008-09-07 00:10:55 StandardManager[manager]: Seeding random number generator class java.security.SecureRandom
    2008-09-07 00:10:55 StandardManager[manager]: Seeding of random number generator has been completed
    2008-09-07 00:10:55 StandardWrapper[manager:default]: Loading container servlet default
    2008-09-07 00:10:55 StandardWrapper[manager:invoker]: Loading container servlet invoker
    2008-09-07 00:10:55 HostConfig[localhost]: Deploying web application directory ROOT
    2008-09-07 00:10:55 StandardHost[localhost]: Installing web application at context path from URL file:C:\apache-tomcat-4.1.37\webapps\ROOT
    2008-09-07 00:10:55 WebappLoader[]: Deploying class repositories to work directory C:\apache-tomcat-4.1.37\work\Standalone\localhost\_
    2008-09-07 00:10:55 StandardManager[]: Seeding random number generator class java.security.SecureRandom
    2008-09-07 00:10:55 StandardManager[]: Seeding of random number generator has been completed
    2008-09-07 00:10:55 StandardWrapper[:default]: Loading container servlet default
    2008-09-07 00:10:55 StandardWrapper[:invoker]: Loading container servlet invoker
    2008-09-07 00:10:55 HostConfig[localhost]: Deploying web application directory springmvc
    2008-09-07 00:10:55 StandardHost[localhost]: Installing web application at context path /springmvc from URL file:C:\apache-tomcat-4.1.37\webapps\springmvc
    2008-09-07 00:10:55 WebappLoader[springmvc]: Deploying class repositories to work directory C:\apache-tomcat-4.1.37\work\Standalone\localhost\springmvc
    2008-09-07 00:10:55 WebappLoader[springmvc]: Deploy class files /WEB-INF/classes to C:\apache-tomcat-4.1.37\webapps\springmvc\WEB-INF\classes
    2008-09-07 00:10:55 WebappLoader[springmvc]: Deploy JAR /WEB-INF/lib/commons-logging.jar to C:\apache-tomcat-4.1.37\webapps\springmvc\WEB-INF\lib\commons-logging.jar
    2008-09-07 00:10:55 WebappLoader[springmvc]: Deploy JAR /WEB-INF/lib/jstl.jar to C:\apache-tomcat-4.1.37\webapps\springmvc\WEB-INF\lib\jstl.jar
    2008-09-07 00:10:55 WebappLoader[springmvc]: Deploy JAR /WEB-INF/lib/servlet-api.jar to C:\apache-tomcat-4.1.37\webapps\springmvc\WEB-INF\lib\servlet-api.jar
    2008-09-07 00:10:55 WebappLoader[springmvc]: Deploy JAR /WEB-INF/lib/spring-webmvc.jar to C:\apache-tomcat-4.1.37\webapps\springmvc\WEB-INF\lib\spring-webmvc.jar
    2008-09-07 00:10:55 WebappLoader[springmvc]: Deploy JAR /WEB-INF/lib/spring.jar to C:\apache-tomcat-4.1.37\webapps\springmvc\WEB-INF\lib\spring.jar
    2008-09-07 00:10:55 WebappLoader[springmvc]: Deploy JAR /WEB-INF/lib/standard.jar to C:\apache-tomcat-4.1.37\webapps\springmvc\WEB-INF\lib\standard.jar
    2008-09-07 00:10:56 StandardManager[springmvc]: Seeding random number generator class java.security.SecureRandom
    2008-09-07 00:10:56 StandardManager[springmvc]: Seeding of random number generator has been completed
    2008-09-07 00:10:56 StandardWrapper[springmvc:default]: Loading container servlet default
    2008-09-07 00:10:56 Initializing Spring FrameworkServlet 'springmvc'
    2008-09-07 00:10:57 StandardContext[springmvc]: Servlet /springmvc threw load() exception
    javax.servlet.ServletException: Servlet.init() for servlet springmvc threw exception
         at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:908)
         at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:768)
         at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:3484)
         at org.apache.catalina.core.StandardContext.start(StandardContext.java:3710)
         at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:777)
         at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:760)
         at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:538)
         at org.apache.catalina.core.StandardHostDeployer.install(StandardHostDeployer.java:265)
         at org.apache.catalina.core.StandardHost.install(StandardHost.java:731)
         at org.apache.catalina.startup.HostConfig.deployDirectories(HostConfig.java:649)
         at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:379)
         at org.apache.catalina.startup.HostConfig.start(HostConfig.java:808)
         at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:335)
         at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:120)
         at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1156)
         at org.apache.catalina.core.StandardHost.start(StandardHost.java:697)
         at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1148)
         at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:311)
         at org.apache.catalina.core.StandardService.start(StandardService.java:450)
         at org.apache.catalina.core.StandardServer.start(StandardServer.java:2213)
         at org.apache.catalina.startup.Catalina.start(Catalina.java:484)
         at org.apache.catalina.startup.Catalina.execute(Catalina.java:371)
         at org.apache.catalina.startup.Catalina.process(Catalina.java:134)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:324)
         at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:151)
    ----- Root Cause -----
    org.springframework.beans.factory.CannotLoadBeanClassException: Error loading class [springmvc.web.HelloWorldController] for bean with name '/hello_world.html' defined in ServletContext resource [WEB-INF/springmvc-servlet.xml]: problem with class file or dependent class; nested exception is java.lang.UnsupportedClassVersionError: springmvc/web/HelloWorldController (Unsupported major.minor version 49.0)
         at org.springframework.beans.factory.support.AbstractBeanFactory.resolveBeanClass(AbstractBeanFactory.java:1163)
         at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.predictBeanType(AbstractAutowireCapableBeanFactory.java:581)
         at org.springframework.beans.factory.support.AbstractBeanFactory.isFactoryBean(AbstractBeanFactory.java:1364)
         at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:406)
         at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:735)
         at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:369)
         at org.springframework.web.servlet.FrameworkServlet.createWebApplicationContext(FrameworkServlet.java:332)
         at org.springframework.web.servlet.FrameworkServlet.initWebApplicationContext(FrameworkServlet.java:266)
         at org.springframework.web.servlet.FrameworkServlet.initServletBean(FrameworkServlet.java:236)
         at org.springframework.web.servlet.HttpServletBean.init(HttpServletBean.java:126)
         at javax.servlet.GenericServlet.init(GenericServlet.java:213)
         at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:880)
         at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:768)
         at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:3484)
         at org.apache.catalina.core.StandardContext.start(StandardContext.java:3710)
         at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:777)
         at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:760)
         at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:538)
         at org.apache.catalina.core.StandardHostDeployer.install(StandardHostDeployer.java:265)
         at org.apache.catalina.core.StandardHost.install(StandardHost.java:731)
         at org.apache.catalina.startup.HostConfig.deployDirectories(HostConfig.java:649)
         at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:379)
         at org.apache.catalina.startup.HostConfig.start(HostConfig.java:808)
         at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:335)
         at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:120)
         at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1156)
         at org.apache.catalina.core.StandardHost.start(StandardHost.java:697)
         at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1148)
         at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:311)
         at org.apache.catalina.core.StandardService.start(StandardService.java:450)
         at org.apache.catalina.core.StandardServer.start(StandardServer.java:2213)
         at org.apache.catalina.startup.Catalina.start(Catalina.java:484)
         at org.apache.catalina.startup.Catalina.execute(Catalina.java:371)
         at org.apache.catalina.startup.Catalina.process(Catalina.java:134)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:324)
         at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:151)
    Caused by: java.lang.UnsupportedClassVersionError: springmvc/web/HelloWorldController (Unsupported major.minor version 49.0)
         at java.lang.ClassLoader.defineClass0(Native Method)
         at java.lang.ClassLoader.defineClass(ClassLoader.java:539)
         at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:123)
         at org.apache.catalina.loader.WebappClassLoader.findClassInternal(WebappClassLoader.java:1787)
         at org.apache.catalina.loader.WebappClassLoader.findClass(WebappClassLoader.java:1049)
         at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1507)
         at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1386)
         at org.springframework.util.ClassUtils.forName(ClassUtils.java:230)
         at org.springframework.beans.factory.support.AbstractBeanDefinition.resolveBeanClass(AbstractBeanDefinition.java:371)
         at org.springframework.beans.factory.support.AbstractBeanFactory.resolveBeanClass(AbstractBeanFactory.java:1157)
         ... 38 more
    2008-09-07 00:10:57 StandardWrapper[springmvc:invoker]: Loading container servlet invoker
    2008-09-07 00:10:57 HostConfig[localhost]: Deploying web application directory tomcat-docs
    2008-09-07 00:10:57 StandardHost[localhost]: Installing web application at context path /tomcat-docs from URL file:C:\apache-tomcat-4.1.37\webapps\tomcat-docs
    2008-09-07 00:10:57 WebappLoader[tomcat-docs]: Deploying class repositories to work directory C:\apache-tomcat-4.1.37\work\Standalone\localhost\tomcat-docs
    2008-09-07 00:10:57 StandardManager[tomcat-docs]: Seeding random number generator class java.security.SecureRandom
    2008-09-07 00:10:57 StandardManager[tomcat-docs]: Seeding of random number generator has been completed
    2008-09-07 00:10:57 StandardWrapper[tomcat-docs:default]: Loading container servlet default
    2008-09-07 00:10:57 StandardWrapper[tomcat-docs:invoker]: Loading container servlet invoker
    2008-09-07 00:10:57 HostConfig[localhost]: Deploying web application directory webdav
    2008-09-07 00:10:57 StandardHost[localhost]: Installing web application at context path /webdav from URL file:C:\apache-tomcat-4.1.37\webapps\webdav
    2008-09-07 00:10:57 WebappLoader[webdav]: Deploying class repositories to work directory C:\apache-tomcat-4.1.37\work\Standalone\localhost\webdav
    2008-09-07 00:10:57 StandardManager[webdav]: Seeding random number generator class java.security.SecureRandom
    2008-09-07 00:10:57 StandardManager[webdav]: Seeding of random number generator has been completed
    2008-09-07 00:10:57 StandardWrapper[webdav:default]: Loading container servlet default
    2008-09-07 00:10:57 StandardWrapper[webdav:invoker]: Loading container servlet invoker
    2008-09-07 00:16:11 StandardHost[localhost]: Removing web application at context path /admin
    2008-09-07 00:16:11 StandardHost[localhost]: Removing web application at context path /webdav
    2008-09-07 00:16:11 StandardHost[localhost]: Removing web application at context path /examples
    2008-09-07 00:16:11 StandardHost[localhost]: Removing web application at context path /springmvc
    2008-09-07 00:16:11 StandardHost[localhost]: Removing web application at context path /tomcat-docs
    2008-09-07 00:16:11 StandardHost[localhost]: Removing web application at context path
    2008-09-07 00:16:11 StandardHost[localhost]: Removing web application at context path /manager
    2008-09-07 00:16:20 HostConfig[localhost]: Deploying configuration descriptor admin.xml
    2008-09-07 00:16:21 HostConfig[localhost]: Deploying configuration descriptor manager.xml
    2008-09-07 00:16:21 WebappLoader[manager]: Deploying class repositories to work directory C:\apache-tomcat-4.1.37\work\Standalone\localhost\manager
    2008-09-07 00:16:21 ContextConfig[manager]: Configured an authenticator for method BASIC
    2008-09-07 00:16:21 StandardManager[manager]: Seeding random number generator class java.security.SecureRandom
    2008-09-07 00:16:21 StandardManager[manager]: Seeding of random number generator has been completed
    2008-09-07 00:16:21 StandardWrapper[manager:default]: Loading container servlet default
    2008-09-07 00:16:21 StandardWrapper[manager:invoker]: Loading container servlet invoker
    2008-09-07 00:16:21 HostConfig[localhost]: Deploying web application directory ROOT
    2008-09-07 00:16:21 StandardHost[localhost]: Installing web application at context path from URL file:C:\apache-tomcat-4.1.37\webapps\ROOT
    2008-09-07 00:16:21 WebappLoader[]: Deploying class repositories to work directory C:\apache-tomcat-4.1.37\work\Standalone\localhost\_
    2008-09-07 00:16:21 StandardManager[]: Seeding random number generator class java.security.SecureRandom
    2008-09-07 00:16:21 StandardManager[]: Seeding of random number generator has been completed
    2008-09-07 00:16:21 StandardWrapper[:default]: Loading container servlet default
    2008-09-07 00:16:21 StandardWrapper[:invoker]: Loading container servlet invoker
    2008-09-07 00:16:21 HostConfig[localhost]: Deploying web application directory tomcat-docs
    2008-09-07 00:16:21 StandardHost[localhost]: Installing web application at context path /tomcat-docs from URL file:C:\apache-tomcat-4.1.37\webapps\tomcat-docs
    2008-09-07 00:16:21 WebappLoader[tomcat-docs]: Deploying class repositories to work directory C:\apache-tomcat-4.1.37\work\Standalone\localhost\tomcat-docs
    2008-09-07 00:16:21 StandardManager[tomcat-docs]: Seeding random number generator class java.security.SecureRandom
    2008-09-07 00:16:21 StandardManager[tomcat-docs]: Seeding of random number generator has been completed
    2008-09-07 00:16:21 StandardWrapper[tomcat-docs:default]: Loading container servlet default
    2008-09-07 00:16:21 StandardWrapper[tomcat-docs:invoker]: Loading container servlet invoker
    2008-09-07 00:16:22 HostConfig[localhost]: Deploying web application directory webdav
    2008-09-07 00:16:22 StandardHost[localhost]: Installing web application at context path /webdav from URL file:C:\apache-tomcat-4.1.37\webapps\webdav
    2008-09-07 00:16:22 WebappLoader[webdav]: Deploying class repositories to work directory C:\apache-tomcat-4.1.37\work\Standalone\localhost\webdav
    2008-09-07 00:16:22 StandardManager[webdav]: Seeding random number generator class java.security.SecureRandom
    2008-09-07 00:16:22 StandardManager[webdav]: Seeding of random number generator has been completed
    2008-09-07 00:16:22 StandardWrapper[webdav:default]: Loading container servlet default
    2008-09-07 00:16:22 StandardWrapper[webdav:invoker]: Loading container servlet invoker
    2008-09-07 00:16:43 StandardHost[localhost]: Removing web application at context path /admin
    2008-09-07 00:16:43 StandardHost[localhost]: Removing web application at context path /webdav
    2008-09-07 00:16:43 StandardHost[localhost]: Removing web application at context path /examples
    2008-09-07 00:16:43 StandardHost[localhost]: Removing web application at context path /tomcat-docs
    2008-09-07 00:16:43 StandardHost[localhost]: Removing web application at context path
    2008-09-07 00:16:43 StandardHost[localhost]: Removing web application at context path /manager
    2008-09-07 09:45:05 HostConfig[localhost]: Deploying configuration descriptor admin.xml
    2008-09-07 09:45:07 HostConfig[localhost]: Deploying configuration descriptor manager.xml
    2008-09-07 09:45:07 WebappLoader[manager]: Deploying class repositories to work directory C:\apache-tomcat-4.1.37\work\Standalone\localhost\manager
    2008-09-07 09:45:07 ContextConfig[manager]: Configured an authenticator for method BASIC
    2008-09-07 09:45:07 StandardManager[manager]: Seeding random number generator class java.security.SecureRandom
    2008-09-07 09:45:07 StandardManager[manager]: Seeding of random number generator has been completed
    2008-09-07 09:45:07 StandardWrapper[manager:default]: Loading container servlet default
    2008-09-07 09:45:07 StandardWrapper[manager:invoker]: Loading container servlet invoker
    2008-09-07 09:45:07 HostConfig[localhost]: Deploying web application directory ROOT
    2008-09-07 09:45:07 StandardHost[localhost]: Installing web application at context path from URL file:C:\apache-tomcat-4.1.37\webapps\ROOT
    2008-09-07 09:45:07 WebappLoader[]: Deploying class repositories to work directory C:\apache-tomcat-4.1.37\work\Standalone\localhost\_
    2008-09-07 09:45:07 StandardManager[]: Seeding random number generator class java.security.SecureRandom
    2008-09-07 09:45:07 StandardManager[]: Seeding of random number generator has been completed
    2008-09-07 09:45:07 StandardWrapper[:default]: Loading container servlet default
    2008-09-07 09:45:07 StandardWrapper[:invoker]: Loading container servlet invoker
    2008-09-07 09:45:07 HostConfig[localhost]: Deploying web application directory tomcat-docs
    2008-09-07 09:45:07 StandardHost[localhost]: Installing web application at context path /tomcat-docs from URL file:C:\apache-tomcat-4.1.37\webapps\tomcat-docs
    2008-09-07 09:45:07 WebappLoader[tomcat-docs]: Deploying class repositories to work directory C:\apache-tomcat-4.1.37\work\Standalone\localhost\tomcat-docs
    2008-09-07 09:45:07 StandardManager[tomcat-docs]: Seeding random number generator class java.security.SecureRandom
    2008-09-07 09:45:07 StandardManager[tomcat-docs]: Seeding of random number generator has been completed
    2008-09-07 09:45:07 StandardWrapper[tomcat-docs:default]: Loading container servlet default
    2008-09-07 09:45:07 StandardWrapper[tomcat-docs:invoker]: Loading container servlet invoker
    2008-09-07 09:45:07 HostConfig[localhost]: Deploying web application directory webdav
    2008-09-07 09:45:07 StandardHost[localhost]: Installing web application at context path /webdav from URL file:C:\apache-tomcat-4.1.37\webapps\webdav
    2008-09-07 09:45:07 WebappLoader[webdav]: Deploying class repositories to work directory C:\apache-tomcat-4.1.37\work\Standalone\localhost\webdav
    2008-09-07 09:45:07 StandardManager[webdav]: Seeding random number generator class java.security.SecureRandom
    2008-09-07 09:45:07 StandardManager[webdav]: Seeding of random number generator has been completed
    2008-09-07 09:45:07 StandardWrapper[webdav:default]: Loading container servlet default
    2008-09-07 09:45:07 StandardWrapper[webdav:invoker]: Loading container servlet invoker
    2008-09-07 09:53:36 HostConfig[localhost]: Deploying web application directory springmvc
    2008-09-07 09:53:36 StandardHost[localhost]: Installing web application at context path /springmvc from URL file:C:\apache-tomcat-4.1.37\webapps\springmvc
    2008-09-07 09:53:36 WebappLoader[springmvc]: Deploying class repositories to work directory C:\apache-tomcat-4.1.37\work\Standalone\localhost\springmvc
    2008-09-07 09:53:36 WebappLoader[springmvc]: Deploy class files /WEB-INF/classes to C:\apache-tomcat-4.1.37\webapps\springmvc\WEB-INF\classes
    2008-09-07 09:53:36 WebappLoader[springmvc]: Deploy JAR /WEB-INF/lib/commons-logging.jar to C:\apache-tomcat-4.1.37\webapps\springmvc\WEB-INF\lib\commons-logging.jar
    2008-09-07 09:53:36 WebappLoader[springmvc]: Deploy JAR /WEB-INF/lib/jstl.jar to C:\apache-tomcat-4.1.37\webapps\springmvc\WEB-INF\lib\jstl.jar
    2008-09-07 09:53:36 WebappLoader[springmvc]: Deploy JAR /WEB-INF/lib/servlet-api.jar to C:\apache-tomcat-4.1.37\webapps\springmvc\WEB-INF\lib\servlet-api.jar
    2008-09-07 09:53:36 WebappLoader[springmvc]: Deploy JAR /WEB-INF/lib/spring-webmvc.jar to C:\apache-tomcat-4.1.37\webapps\springmvc\WEB-INF\lib\spring-webmvc.jar
    2008-09-07 09:53:36 WebappLoader[springmvc]: Deploy JAR /WEB-INF/lib/spring.jar to C:\apache-tomcat-4.1.37\webapps\springmvc\WEB-INF\lib\spring.jar
    2008-09-07 09:53:36 WebappLoader[springmvc]: Deploy JAR /WEB-INF/lib/standard.jar to C:\apache-tomcat-4.1.37\webapps\springmvc\WEB-INF\lib\standard.jar
    2008-09-07 09:53:37 StandardManager[springmvc]: Seeding random number generator class java.security.SecureRandom
    2008-09-07 09:53:37 StandardManager[springmvc]: Seeding of random number generator has been completed
    2008-09-07 09:53:37 StandardWrapper[springmvc:default]: Loading container servlet default
    2008-09-07 09:53:37 Initializing Spring FrameworkServlet 'springmvc'
    2008-09-07 09:53:37 StandardContext[springmvc]: Servlet /springmvc threw load() exception
    javax.servlet.ServletException: Servlet.init() for servlet springmvc threw exception
         at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:908)
         at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:768)
         at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:3484)
         at org.apache.catalina.core.StandardContext.start(StandardContext.java:3710)
         at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:777)
         at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:760)
         at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:538)
         at org.apache.catalina.core.StandardHostDeployer.install(StandardHostDeployer.java:265)
         at org.apache.catalina.core.StandardHost.install(StandardHost.java:731)
         at org.apache.catalina.startup.HostConfig.deployDirectories(HostConfig.java:649)
         at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:379)
         at org.apache.catalina.startup.HostConfig.run(HostConfig.java:941)
         at java.lang.Thread.run(Thread.java:534)
    ----- Root Cause -----
    org.springframework.beans.factory.CannotLoadBeanClassException: Error loading class [springmvc.web.HelloWorldController] for bean with name '/hello_world.html' defined in ServletContext resource [WEB-INF/springmvc-servlet.xml]: problem with class file or dependent class; nested exception is java.lang.UnsupportedClassVersionError: springmvc/web/HelloWorldController (Unsupported major.minor version 49.0)
         at org.springframework.beans.factory.support.AbstractBeanFactory.resolveBeanClass(AbstractBeanFactory.java:1163)
         at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.predictBeanType(AbstractAutowireCapableBeanFactory.java:581)
         at org.springframework.beans.factory.support.AbstractBeanFactory.isFactoryBean(AbstractBeanFactory.java:1364)
         at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:406)
         at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:735)
         at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:369)
         at org.springframework.web.servlet.FrameworkServlet.createWebApplicationContext(FrameworkServlet.java:332)
         at org.springframework.web.servlet.FrameworkServlet.initWebApplicationContext(FrameworkServlet.java:266)
         at org.springframework.web.servlet.FrameworkServlet.initServletBean(FrameworkServlet.java:236)
         at org.springframework.web.servlet.HttpServletBean.init(HttpServletBean.java:126)
         at javax.servlet.GenericServlet.init(GenericServlet.java:213)
         at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:880)
         at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:768)
         at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:3484)
         at org.apache.catalina.core.StandardContext.start(StandardContext.java:3710)
         at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:777)
         at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:760)
         at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:538)
         at org.apache.catalina.core.StandardHostDeployer.install(StandardHostDeployer.java:265)
         at org.apache.catalina.core.StandardHost.install(StandardHost.java:731)
         at org.apache.catalina.startup.HostConfig.deployDirectories(HostConfig.java:649)
         at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:379)
         at org.apache.catalina.startup.HostConfig.run(HostConfig.java:941)
         at java.lang.Thread.run(Thread.java:534)
    Caused by: java.lang.UnsupportedClassVersionError: springmvc/web/HelloWorldController (Unsupported major.minor version 49.0)
         at java.lang.ClassLoader.defineClass0(Native Method)
         at java.lang.ClassLoader.defineClass(ClassLoader.java:539)
         at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:123)
         at org.apache.catalina.loader.WebappClassLoader.findClassInternal(WebappClassLoader.java:1787)
         at org.apache.catalina.loader.WebappClassLoader.findClass(WebappClassLoader.java:1049)
         at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1507)
         at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1386)
         at org.springframework.util.ClassUtils.forName(ClassUtils.java:230)
         at org.springframework.beans.factory.support.AbstractBeanDefinition.resolveBeanClass(AbstractBeanDefinition.java:371)
         at org.springframework.beans.factory.support.AbstractBeanFactory.resolveBeanClass(AbstractBeanFactory.java:1157)
         ... 23 more
    2008-09-07 09:53:37 StandardWrapper[springmvc:invoker]: Loading container servlet invoker
    2008-09-07 09:53:37 StandardHost[localhost]: Removing web application at context path /admin
    2008-09-07 09:53:37 StandardHost[localhost]: Removing web application at context path /webdav
    2008-09-07 09:53:37 StandardHost[localhost]: Removing web application at context path /examples
    2008-09-07 09:53:37 StandardHost[localhost]: Removing web application at context path /springmvc
    2008-09-07 09:53:37 StandardHost[localhost]: Removing web application at context path /tomcat-docs
    2008-09-07 09:53:37 StandardHost[localhost]: Removing web application at context path
    2008-09-07 09:53:37 StandardHost[localhost]: Removing web application at context path /manager
    2008-09-07 09:53:44 HostConfig[localhost]: Deploying configuration descriptor admin.xml
    2008-09-07 09:53:46 HostConfig[localhost]: Deploying configuration descriptor manager.xml
    2008-09-07 09:53:46 WebappLoader[manager]: Deploying class repositories to work directory C:\apache-tomcat-4.1.37\work\Standalone\localhost\manager
    2008-09-07 09:53:46 ContextConfig[manager]: Configured an authenticator for method BASIC
    2008-09-07 09:53:46 StandardManager[manager]: Seeding random number generator class java.security.SecureRandom
    2008-09-07 09:53:46 StandardManager[manager]: Seeding of random number generator has been completed
    2008-09-07 09:53:46 StandardWrapper[manager:default]: Loading container servlet default
    2008-09-07 09:53:46 StandardWrapper[manager:invoker]: Loading container servlet invoker
    2008-09-07 09:53:46 HostConfig[localhost]: Deploying web application directory ROOT
    2008-09-07 09:53:46 StandardHost[localhost]: Installing web application at context path from URL file:C:\apache-tomcat-4.1.37\webapps\ROOT
    2008-09-07 09:53:46 WebappLoader[]: Deploying class repositories to work directory C:\apache-tomcat-4.1.37\work\Standalone\localhost\_
    2008-09-07 09:53:46 StandardManager[]: Seeding random number generator class java.security.SecureRandom
    2008-09-07 09:53:46 StandardManager[]: Seeding of random number generator has been completed
    2008-09-07 09:53:46 StandardWrapper[:default]: Loading container servlet default
    2008-09-07 09:53:46 StandardWrapper[:invoker]: Loading container servlet invoker
    2008-09-07 09:53:46 HostConfig[localhost]: Deploying web application directory springmvc
    2008-09-07 09:53:46 StandardHost[localhost]: Installing web application at context path /springmvc from URL file:C:\apache-tomcat-4.1.37\webapps\springmvc
    2008-09-07 09:53:46 WebappLoader[springmvc]: Deploying class repositories to work directory C:\apache-tomcat-4.1.37\work\Standalone\localhost\springmvc
    2008-09-07 09:53:46 WebappLoader[springmvc]: Deploy class files /WEB-INF/classes to C:\apache-tomcat-4.1.37\webapps\springmvc\WEB-INF\classes
    2008-09-07 09:53:46 WebappLoader[springmvc]: Deploy JAR /WEB-INF/lib/commons-logging.jar to C:\apache-tomcat-4.1.37\webapps\springmvc\WEB-INF\lib\commons-logging.jar
    2008-09-07 09:53:46 WebappLoader[springmvc]: Deploy JAR /WEB-INF/lib/jstl.jar to C:\apache-tomcat-4.1.37\webapps\springmvc\WEB-INF\lib\jstl.jar
    2008-09-07 09:53:46 WebappLoader[springmvc]: Deploy JAR /WEB-INF/lib/servlet-api.jar to C:\apache-tomcat-4.1.37\webapps\springmvc\WEB-INF\lib\servlet-api.jar
    2008-09-07 09:53:46 WebappLoader[springmvc]: Deploy JAR /WEB-INF/lib/spring-webmvc.jar to C:\apache-tomcat-4.1.37\webapps\springmvc\WEB-INF\lib\spring-webmvc.jar
    2008-09-07 09:53:46 WebappLoader[springmvc]: Deploy JAR /WEB-INF/lib/spring.jar to C:\apache-tomcat-4.1.37\webapps\springmvc\WEB-INF\lib\spring.jar
    2008-09-07 09:53:46 WebappL

  • Tomcat Installation Problem

    I am using Win98 and jdk version 1.3.1_03. For JAVA_HOME, i set it by typing "set JAVA_HOME=c:\jdk1.3.1_03" and CATALINA_HOME, "set CATALINA_HOME=c:\jakart~1" (my tomcat is installed in this directory) in command prompt.
    When i do jakart~1\bin\startup, the command prompt window shows this:
    Out of environment space
    Out of environment space
    Out of environment space
    Out of environment space
    Out of environment space
    Out of environment space
    Out of environment space
    Out of environment space
    Using CATALINA_BASE:
    Using CATALINA_HOME: c:\jakart~1
    Using CATALINA_TMPDIR:
    Using JAVA_HOME: c:\jdk1.3.1_03
    Out of environment space
    Out of environment space
    Out of environment space
    Bad command or file name
    I have went to http://www.moreservlets.com/Using-Tomcat-4.html#DOS-Memory to check out how to change DOS memory settings. I couldn't find install_dir/bin/startup.bat as i don't have an install_dir directory in my tomcat folder. Can anybody tell me how do i fix this problem?

    Here is another solution from MS support site:
    "Out of Environment Space" Running Batch File or Command Prompt
    The information in this article applies to:
    Microsoft Windows Millennium Edition
    SYMPTOMS
    When you start a batch file or use a command prompt, you may receive the following error message:
    Out of environment space
    CAUSE
    The default space for environment variables is 256 bytes by default. More environment variables are being set than can fit in 256 bytes.
    RESOLUTION
    To work around this issue, use one of the following methods:
    Method 1
    Right-click the MS-DOS Prompt shortcut, and then click Properties.
    Click the Memory tab.
    In the Initial Environment box, set the initial environment size you want (from 256 to 4,096 bytes, in 256-byte increments).
    Click OK.
    Method 2
    Edit the Autoexec.bat file to include any environment variables that you need to set, and then reboot the computer. The changes are incorporated into the registry and the environment variable size is increased.
    MORE INFORMATION
    Windows Millennium Edition ignores Config.sys statements to increase the environment variable size.
    For a list of command-line options, type command.com /?.

  • Tomcat / MySQL problem

    Simple Tomcat / MySQL code works well on the development server (Windows) but crashes on the production server (Linux).
    It finds and loads the driver, then fails to create a connection with
    java.security.AccessControlException: access denied (java.net.SocketPermission localhost resolve)Driver is mysql-connector-java-3.0.14-production-bin.jar in ${catalina.home}/common/lib.
    MySQL is version 3.23.58.
    Tomcat version 4.1.29.
    Java version 1.4.2_02.
    Operating system is RedHat 9 with Plesk 7.
    This looks like a Tomcat security issue but catalina.policy grants all permissions to ${catalina.home}/common/lib/-.
    Granting specific permissions has made no difference:
    grant codeBase "file:${catalina.home}/common/lib/mysql-connector-java-3.0.14-production-bin.jar" {
      permission java.net.SocketPermission "localhost:3306", "listen,connect,accept,resolve";
    };The code is straight from the Java tutorial, presented three ways:
    1. in a bean, called from a JSP
    2. inline in a JSP
    3. in a JAR, as an executable class
    All of these work in Windows. Only No 3 works in Linux (which suggests the issue is not with Java security). Other JSP pages work fine.
    I have not found a MySQL driver preinstalled on the system. I first added mysql-connector-java-3.1.10-bin.jar but this failed because it could not read charset mappings. I have
    now reverted to mysql-connector-java-3.0.14-production-bin.jar. Adding the JAR in application/WEB-INF/lib does not help.
    I wonder if there is a class loader issue but I cannot find any other JARs that conflict.
    Could Tomcat be trying to connect on a different port? It makes no difference whether or not the port number (3306) is included in the URL.
    Granting permissions for IP addresses and domain names makes no difference (so far). Besides, the error message is specific about localhost.
    Can anyone help, please?
    Many thanks
    Robin

    Spot on! I am not at all clear whether the root cause of the problem is Tomcat, MySQL, Java or whatever ... Until I understand more, everything is suspect.
    I have been asking myself what can cause this Access denied / SocketPermission error?
    - mis-configuration of the permission: codebase, url, port ?
    - in the wrong policy file? catalina.policy or java.policy ?
    - faulty installation of something?
    - incompatible versions ?
    The code all works well on the development machine, which runs Windows 2000. Running it on the Linux machine causes problems.
    I do not have full control of the configuration of the Linux machine but I am able to restart Tomcat when needed.
    Some specific questions:
    I know from the stack trace which Java function is being called:
    java.sql.DriverManager.getConnection()The MySQL driver is checking for socket permission when it tries to get a connection and throws:
    java.security.AccessControlException: access denied (java.net.SocketPermission localhost resolve) - How do I tell what parameters are being passed to getConnection() without installing the source code?
    - How do I tell for sure which policy file governs the check?
    Many thanks
    Robin

  • Tomcat configure problem

    hi here comes a jsp newbie. i just install the tomcat follow some instruction on web. but when i run the tomcat, it returns some error, can anyone kindly help me on about it? i am using tomcat 4.1 under windows2000 system.
    here i give out the error warning.
    ==========
    C:\>C:\j2sdk1.4.0_01\bin\java.exe -jar -Duser.dir="C:\Program Files\Apache Group
    \Tomcat 4.1" "C:\Program Files\Apache Group\Tomcat 4.1\bin\bootstrap.jar" start
    May 20, 2003 9:29:43 AM org.apache.commons.modeler.Registry loadRegistry
    INFO: Loading registry information
    May 20, 2003 9:29:43 AM org.apache.commons.modeler.Registry getRegistry
    INFO: Creating new Registry instance
    May 20, 2003 9:29:45 AM org.apache.commons.modeler.Registry getServer
    INFO: Creating MBeanServer
    May 20, 2003 9:29:47 AM org.apache.coyote.http11.Http11Protocol init
    SEVERE: Error initializing endpoint
    java.net.BindException: Address already in use: JVM_Bind:8080
    at org.apache.tomcat.util.net.PoolTcpEndpoint.initEndpoint(PoolTcpEndpoi
    nt.java:280)
    at org.apache.coyote.http11.Http11Protocol.init(Http11Protocol.java:150)
    at org.apache.coyote.tomcat4.CoyoteConnector.initialize(CoyoteConnector.
    java:1117)
    at org.apache.catalina.core.StandardService.initialize(StandardService.j
    ava:579)
    at org.apache.catalina.core.StandardServer.initialize(StandardServer.jav
    a:2246)
    at org.apache.catalina.startup.Catalina.start(Catalina.java:511)
    at org.apache.catalina.startup.Catalina.execute(Catalina.java:400)
    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)
    Catalina.start: LifecycleException: Protocol handler initialization failed: jav
    a.net.BindException: Address already in use: JVM_Bind:8080
    LifecycleException: Protocol handler initialization failed: java.net.BindExcept
    ion: Address already in use: JVM_Bind:8080
    at org.apache.coyote.tomcat4.CoyoteConnector.initialize(CoyoteConnector.
    java:1119)
    at org.apache.catalina.core.StandardService.initialize(StandardService.j
    ava:579)
    at org.apache.catalina.core.StandardServer.initialize(StandardServer.jav
    a:2246)
    at org.apache.catalina.startup.Catalina.start(Catalina.java:511)
    at org.apache.catalina.startup.Catalina.execute(Catalina.java:400)
    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)
    Catalina.stop: LifecycleException: This server has not yet been started
    LifecycleException: This server has not yet been started
    at org.apache.catalina.core.StandardServer.stop(StandardServer.java:2213
    at org.apache.catalina.startup.Catalina.start(Catalina.java:543)
    at org.apache.catalina.startup.Catalina.execute(Catalina.java:400)
    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)
    ==============
    appreciate in advance..

    here i wanna to stop the tomcat. it returns error too,
    so what is the problem again. following error warning shows
    C:\>C:\j2sdk1.4.0_01\bin\java.exe -jar -Duser.dir="C:\Program Files\Apache Group
    \Tomcat 4.1" "C:\Program Files\Apache Group\Tomcat 4.1\bin\bootstrap.jar" stop
    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)

Maybe you are looking for

  • [CS4 Win] Weird 'Bug' giving overset text in duplicate object - stumped!

    Hi all, I am experiencing a perculiar 'bug' in InDesign CS4 (Windows). I have a triangular text frame rotated by 45° with a 0.2mm inset. This frame contains two words who's point size is just big enough to fit the text in the frame without it overset

  • How do I sum across the same table in multiple sheets?

    So I'm trying to figure out an annoying problem. I have a largish (100's) amount of data with each collection being a table in a sheet, one sheet per data collection. This means I have 100's of sheets, each with the same table name and layout. Each s

  • Z10 10.2.1.537

    We missed in new update the indicator for unread massages on screen saver

  • Why is Character Palette flashing on & off on my screen?

    When working in Pages, suddenly the Character Palette became non-functioning...I saved my document, then closed the program, but the non-functioning Character Palette continued to show. I then tried a re-boot-shut down the computer & restarted it. It

  • Issue concerning command procedures and resultant selection set

    I have created acommand procedure which returns a set of records (correctly). I would like to use the ID from the set as a link to a detail page. The ID is corectly returned to me.  However, when I try to create the detail page it appears to only be