Re: Very Strange 404 to JSP with getRequestDispatcher().forward()

2015-12-24 Thread Marc Boorshtein
> > > > Your request wrappers store their own reference to a > HttpServletRequest in addition to the one stored by the > ServletRequestWrapper class. > > > My guess is that your issue will be solved if you either override > ServletRequestWrapper.setRequest() to update your request field, or > use

Re: Very Strange 404 to JSP with getRequestDispatcher().forward()

2015-12-24 Thread Konstantin Kolinko
2015-12-24 18:12 GMT+03:00 Marc Boorshtein : >> >> You have to provide the actual source code. >> >> There is an example in the examples webapp that performs forwarding to >> a JSP and it works, >> >> \webapps\examples\WEB-INF\classes\ServletToJsp.java >> >> > So the good news is that I got it to w

Re: Very Strange 404 to JSP with getRequestDispatcher().forward()

2015-12-24 Thread Marc Boorshtein
> > You have to provide the actual source code. > > There is an example in the examples webapp that performs forwarding to > a JSP and it works, > > \webapps\examples\WEB-INF\classes\ServletToJsp.java > > So the good news is that I got it to work by getting rid of any of the methods that were overi

Re: Very Strange 404 to JSP with getRequestDispatcher().forward()

2015-12-24 Thread Konstantin Kolinko
2015-12-24 17:37 GMT+03:00 Marc Boorshtein : > All, > > I'm having a very strange issue with > request.getServletContext().getRequestDispatcher().forward(). It gives me > a 404 on a JSP page that if I go to directly, works fine. This is with > tomcat 8.0.30 on OSX o

Very Strange 404 to JSP with getRequestDispatcher().forward()

2015-12-24 Thread Marc Boorshtein
All, I'm having a very strange issue with request.getServletContext().getRequestDispatcher().forward(). It gives me a 404 on a JSP page that if I go to directly, works fine. This is with tomcat 8.0.30 on OSX on JDK : ava version "1.7.0_65" Java(TM) SE Runtime Environment (bui

Very strange problem with forms ...

2008-02-11 Thread Rafal Markut
Hello, I know that this list isn't for web developping but I have impression that maybe tomcat makes problems so I'm writting here ... I made very simple web application. Namely on the main page there is list of records (list.jsp). I can create new record, edit and delete. So when user clic

Re: A Randome Very Strange Tomcat Crash

2007-05-09 Thread Len Popp
(oops, sorry for the previous truncated message) It shouldn't crash, it's supposed to serialize all the ODBC calls so you can use it in a multi-threaded program. (ref. the JDBC FAQ: http://java.sun.com/products/jdbc/reference/faqs/index.html ) I've used it in a webapp, for testing during developm

Re: A Randome Very Strange Tomcat Crash

2007-05-09 Thread Len Popp
But it shouldn't crash, it's supposed to serialize all the ODBC calls so you can use it in a multi-threaded program. (ref. the JDBC FAQ: http://java.sun.com/products/jdbc/reference/faqs/index.html) I've used it in a webapp, for testing during development, with no problems other than poor performan

Re: R: A Randome Very Strange Tomcat Crash

2007-05-09 Thread Tim Funk
Access databases don't work well for webservers - even with IIS. SO you should switch databases. If concurrency is *very* low - you could try throwing synchronization blocks around all database code to limit only one database user at a time. (This is not recommended) -Tim Massimiliano PASQUAL

R: A Randome Very Strange Tomcat Crash

2007-05-09 Thread Massimiliano PASQUALONI
o change the db?!?! -Messaggio originale- Da: Tim Funk [mailto:[EMAIL PROTECTED] Inviato: mercoledì 9 maggio 2007 12.40 A: Tomcat Users List Oggetto: Re: A Randome Very Strange Tomcat Crash You are using the Jdbc-odbc bridge. That JDBC-ODBC bridge is not meant to be used on a web server or multi threa

Re: A Randome Very Strange Tomcat Crash

2007-05-09 Thread David Delbecq
C [ntdll.dll+0x2f350] C [ODBC32.dll+0x34c16] C [ODBC32.dll+0x320d] C [ODBC32.dll+0x23482] C [ODBC32.dll+0x235bc] C [JdbcOdbc.dll+0x4d18] j sun.jdbc.odbc.JdbcOdbc.error(JJJ[B[B[B)I+0 j sun.jdbc.odbc.JdbcOdbc.createSQLException(JJJ)Ljava/sql/SQLException;+63 j sun.jdbc.odbc.JdbcOdbc.standard

Re: A Randome Very Strange Tomcat Crash

2007-05-09 Thread Tim Funk
You are using the Jdbc-odbc bridge. That JDBC-ODBC bridge is not meant to be used on a web server or multi threaded environment. -Tim Massimiliano PASQUALONI wrote: Hy Everyone! I'm develop my first application in jsp. Isn't a real "application", it's an "system integration" job that join 2

A Randome Very Strange Tomcat Crash

2007-05-09 Thread Massimiliano PASQUALONI
Hy Everyone! I'm develop my first application in jsp. Isn't a real "application", it's an "system integration" job that join 2 application, a tree menu and a report viever. Many time at day my Tomcat crash, and I don't understand if there are some problems in the server, or if the code cause th

RE: very strange. SOLVED

2006-05-24 Thread Asensio, Rodrigo
Users List Subject: RE: very strange It is getting better! It works with tomcat 5.5.12 up to 15, but not with 17 -Original Message- From: Asensio, Rodrigo [mailto:[EMAIL PROTECTED] Sent: Tuesday, May 23, 2006 10:28 AM To: Tomcat Users List Subject: RE: very strange Nop, Im using DBCP with a

RE: very strange

2006-05-23 Thread Asensio, Rodrigo
It is getting better! It works with tomcat 5.5.12 up to 15, but not with 17 -Original Message- From: Asensio, Rodrigo [mailto:[EMAIL PROTECTED] Sent: Tuesday, May 23, 2006 10:28 AM To: Tomcat Users List Subject: RE: very strange Nop, Im using DBCP with a huge Oracle, there is a lot of

RE: very strange

2006-05-23 Thread Asensio, Rodrigo
: Tomcat Users List Subject: Re: very strange Asensio, Rodrigo ha scritto: > I have a webapp in server A and when I hit a button, It opens a new > window ( window.open() ) calling my servlet or any jsp in server B. It > works few times..but there is a moment that stop working, my tomcat > d

Re: very strange

2006-05-23 Thread Antonio Petrelli
Asensio, Rodrigo ha scritto: I have a webapp in server A and when I hit a button, It opens a new window ( window.open() ) calling my servlet or any jsp in server B. It works few times..but there is a moment that stop working, my tomcat didnt receive not even the request. The users see a blank scr

very strange

2006-05-23 Thread Asensio, Rodrigo
Hi guys, I have a nice problem! windows 2003 server tomcat 5.5 jdk 1.5 Scenario: I have a webapp in server A and when I hit a button, It opens a new window ( window.open() ) calling my servlet or any jsp in server B. It works few times..but there is a moment that stop working, my tomcat didnt rec

Asking again: Tomcat silently stops working, very strange exceptions in catalina.out

2006-03-01 Thread Leon Rosenberg
Hi, noone has an idea or has experienced similar behaviour? Recapitulation: At some stage tomcat starts throwing exception which actually can't happen, mostly telling me that beans aren't found in session scope, in jsps which could only be called after a bean has been put into the session scope.

Re: Tomcat silently stops working, very strange exceptions in catalina.out

2006-02-28 Thread Leon Rosenberg
On 2/28/06, Filip Hanik - Dev Lists <[EMAIL PROTECTED]> wrote: > >javax.servlet.jsp.JspException: No bean found under attribute key result > > this is a regular struts exception, it is expecting a bean in one of the > scopes (request,page,session), but it is not there. 'The funny thing is, that t

Re: Tomcat silently stops working, very strange exceptions in catalina.out

2006-02-28 Thread Filip Hanik - Dev Lists
>javax.servlet.jsp.JspException: No bean found under attribute key result this is a regular struts exception, it is expecting a bean in one of the scopes (request,page,session), but it is not there. your second error seems to be a result of a client disconnecting http://tomcat.apache.org/tomc

Tomcat silently stops working, very strange exceptions in catalina.out

2006-02-28 Thread Leon Rosenberg
Hi, I'm seeing a strange behaviour of tomcat (once more :-)) which I can't explain. At some point of time and without a recognizable reason beans start to vanish from the request scope. The catalina.out is then full of exceptions like: StandardWrapperValve[controller]: Servlet.service() for servl