RE: system.conf parameter values

2003-02-04 Thread Filip Hanik
I think you might be on the wrong mailing list. Filip -Original Message- From: Marcelino Cruz [mailto:[EMAIL PROTECTED]] Sent: Tuesday, February 04, 2003 11:28 AM To: Tomcat Users List Subject: system.conf parameter values Hello: I recently downloaded ccm-core-cms-5.0.3 and am in the

RE: can I define a subcontext within a global context?

2003-02-04 Thread Jan-Michael Ong
Thanks very much for your reply. I thought so... but I just needed some confirmation. Regards, Jan-Michael At 01:44 PM 2/4/2003 -0500, Shapira, Yoav wrote: Hi, You would have to do many workarounds and remappings and have robust servlets that handle all sorts of redirection. It would suck.

Re: system.conf parameter values

2003-02-04 Thread Marcelino Cruz
You're right. My apologies. - MC --- - Original Message - From: Filip Hanik [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Tuesday, February 04, 2003 2:27 PM Subject: RE: system.conf parameter values I think you might be on the wrong mailing list. Filip -Original

RE: tomcat realm issue

2003-02-04 Thread Keppel Yin
Hi, I have found the answer to my problem. I simply need to placr the mysql JDC jar file in tomcat\comoon\lib directory. Thanks a lot, -Original Message- From: Keppel Yin [mailto:[EMAIL PROTECTED]] Sent: Tuesday, February 04, 2003 12:36 PM To: Tomcat Users List (E-mail) Subject:

Tomcat 3.3.1 HttpSessionBindingListener not found

2003-02-04 Thread Daniel Lemberg
Hey, I'm running into an odd problem on Tomcat 3.3.1 on Sun, and am hoping somone could help shed some light on the problem. I have a few classes in a JAR file that implement HttpSessionBindingListener. In my test environment on my PC (Tomcat 3.3.1a for Windows), the classes work fine. But on

RE: Can't get Apache 2.0.44 / tomcat 4.1.18 / mod_jk-2.0.43.dll t o work together properly

2003-02-04 Thread Turner, John
Yep, that will be problematic. Since Contexts are related to Hosts, you don't want to make all Contexts available to every Host. At least, I wouldn't. John -Original Message- From: Dave Taylor [mailto:[EMAIL PROTECTED]] Sent: Tuesday, February 04, 2003 2:05 PM To: Tomcat Users

RE: tomcat-apache.conf not created during Tomcat startup

2003-02-04 Thread Turner, John
I think the mentioned tomcat-apache.conf file is actually called mod_jk.conf now, and applies only to using JK. Going forward, you'll want to avoid counting on WARP...its deprecated and no longer actively developed. John -Original Message- From: Bert Catsburg [mailto:[EMAIL

RE: Session lost between HTTPS and HTTP

2003-02-04 Thread Daniel Brown
Cookies can be set 'secure' (Cookie.setSecure(true)). Secure cookies are only sent to servers by browsers over a secure connection. When Tomcat starts a new session, it sets the cookie to be secure if the session is opened over a secure connection. This seems to fit with everything so far

pageContext error ???

2003-02-04 Thread jsp
Im running tomcat 4.1 and I'm building a shopping cart from a book. When browse to the index.jsp page of the app I receive this error... root cause javax.servlet.ServletException at org.apache.jasper.runtime.PageContextImpl.handlePageException(PageContex tImpl.java:533) I know why this

RE: DB Connection Pooling with Tomcat

2003-02-04 Thread Subir Sengupta
I believe that the commons DBCP is bundled with TC 4.1 http://jakarta.apache.org/commons/dbcp.html -Original Message- From: Noncubicle Corp [mailto:[EMAIL PROTECTED]] Sent: Tuesday, February 04, 2003 3:06 AM To: [EMAIL PROTECTED] Subject: DB Connection Pooling with Tomcat Hi, I am

RE: Session lost between HTTPS and HTTP

2003-02-04 Thread Zabel, Ian
Heey, now that's an answer I can deal with! ; ) That's really good to know! I will now do some research on how to configure Tomcat or my app code along these lines. Thank you Ian. -Original Message- From: Daniel Brown [mailto:[EMAIL PROTECTED]] Sent: Tuesday, February 04, 2003 2:54

RE: Can't get Apache 2.0.44 / tomcat 4.1.18 / mod_jk-2.0.43.dll t o work together properly

2003-02-04 Thread Dave Taylor
Okay, all is well. Here's the epilogue: Tomcat's server.xml required a default Host of 192.168.1.100, my server's router-assigned LAN IP address. FYI, this is a home office server, connected to the internet through a Linksys Etherfast Cable/DSL router. Also, just for local testing, I have a

pageContext error ???

2003-02-04 Thread B Wiley Snyder
Im running tomcat 4.1 and I'm building a shopping cart from a book. When browse to the index.jsp page of the app I receive this error... root cause javax.servlet.ServletException at org.apache.jasper.runtime.PageContextImpl.handlePageException(PageContex tImpl.java:533) I know why this

Re: WAR format question

2003-02-04 Thread Jim Carlson
Thanks. This answers my question, but I'm still left with the impression that I'll need to go beyond the WAR format if I want to write to a log or flat file DB (i.e., non-temp application file). Also, since containers don't guarantee support for an unpacked WAR (are there any containers

RE: Tomcat 3.3.1 HttpSessionBindingListener not found

2003-02-04 Thread Filip Hanik
Is the javax/servlet/http/HttpSessionBindingListener supported by Tomcat 3.x? If it showed up in a later version of the servlet specification, you might need to upgrade your Tomcat. Filip -Original Message- From: Daniel Lemberg [mailto:[EMAIL PROTECTED]] Sent: Tuesday, February 04,

connection timeout problem -- apache1.3/mod_ssl/mod_jk2/tomcat 4.1.18

2003-02-04 Thread SSchaubach
my session is expiring with the following message: == stderr.log == Feb 4, 2003 12:01:38 PM org.apache.jk.common.ChannelSocket processConnection INFO: connection timeout reached Is there a way to extend the session timout on jk2 ?? here is my worker2.properties (fyi, we are not load balancing

RE: Tomcat 3.3.1 HttpSessionBindingListener not found

2003-02-04 Thread Daniel Lemberg
I'm pretty sure it is; I've seen 3.3.1 bug reports on valueUnbound() not firing properly. Also, it's working in the test environment I set up on my PC, which is Tomcat 3.3.1a for Windows. Unfortunately, the customer says that upgrading Tomcat is not an option due to external considerations.

RE: Tomcat 3.3.1 HttpSessionBindingListener not found

2003-02-04 Thread Larry Isaacs
This means that the class that Class.ForName() is trying to load has a dependency chain that includes a class that has a dependency on HttpSessionBindingListener, i.e. servlet.jar. That class with the servlet.jar dependency is being found in a classloader that is below (i.e. a parent,) of the

RE: WAR format question

2003-02-04 Thread Tim Moore
-Original Message- From: Jim Carlson [mailto:[EMAIL PROTECTED]] Sent: Tuesday, February 04, 2003 3:07 PM To: Tomcat Users List Subject: Re: WAR format question Thanks. This answers my question, but I'm still left with the impression that I'll need to go beyond the WAR

Oracle cursor problem with Tomcat 4.1.12 and Commons BDSF

2003-02-04 Thread Andy Meadows
Configuring Tomcat to provide a JNDI connection pool was no problem. Now, however, we are getting error ORA-01000: maximum cursors opened. Logging shows that any statement and connection that is opened is again closed which, according to everything I read, release the cursors. This is obviously

Re: VirtualHost www.zcompany.com:80 overlaps VirtualHost www.abc.com:80

2003-02-04 Thread Oscar Carrillo
Like I said I'm not an expert on apache configuration, but I have it as my domainname. One of the other messages someone followed up with said it has to be the actual domainname that is going to host the virtual hosts. I'm pretty sure you need to NOT have the asterisk in the VirtualHost * line

Re: Oracle cursor problem with Tomcat 4.1.12 and Commons BDSF

2003-02-04 Thread Sean Dockery
Try explicitly closing your ResultSet variables as well. See if the problem persists. At 13:58 2003-02-04, you wrote: Configuring Tomcat to provide a JNDI connection pool was no problem. Now, however, we are getting error ORA-01000: maximum cursors opened. Logging shows that any statement and

Re[2]: WAR format question

2003-02-04 Thread Jacob Kjome
Hello Jim, Use a framework like Log4j which has lots of different appenders in addition to the FileAppender and RollingFileAppender. If you really want to log to file, then provide a context-param for the location of the files. Then you can override that with server-specific config such as with

Sessions across browser restarts

2003-02-04 Thread Zabel, Ian
In Tomcat 4.0, is it possible to configure if a session is lost when the browser window is closed, or if the user's session persists across browser restarts? In some other languages, it was possible to take the session cookies and set their timeout to a value of 0 or -1 and this would make the

re : Tomcat exits randomly.

2003-02-04 Thread MikeMu
Hey all, I am having troubles with Tomcat exiting randomly. Currently, the tomcat process keeps exiting randomly. Unfortunately, there is nothing put into the logs that shows any type of fault. Basically, it may run for a short period or a long period and then the tomcat process just

Define Resource globally or within Context ?

2003-02-04 Thread Charlie Toohey
I have several groups of webapps -- all webapps in the same group access the same database. I am defining a Resource and ResourceParams in server.xml and using JNDI to acquire a DataSource (I'm using the Jakarta Commons database connection pool). The question is, should I define a

Re: forcing a jsp page to reload/refresh when backend data changes

2003-02-04 Thread Jeff Ousley
Nick, I like this idea. Do you know of any examples that make use of this concept? What code would I use (generically) to have the invisible frame force a resubmit on the viewable frame? Have you ever worked with pushlets? Are they worth messing with? thanks, -jeff --- Nick Sophinos [EMAIL

Tomcat connector of the future? WARP, JK? (Was: Re: tomcat-apache.confnot created during Tomcat startup)

2003-02-04 Thread Bert Catsburg
Hello John, Thanks for your hint. I got the impression that WARP was the Connector of the future. So, I'm wrong. Urgent question to this list then: What is the Connector I should use to be covered for the future? Thanks, Bert Catsburg Turner, John wrote: I think the mentioned

DBCP+TOMCAT 3.2.4 (-4.1.x WORKED OK)

2003-02-04 Thread ps
Greetings, I'm downgrading my web application to work on tomcat 3.2.4 (initially was developed and tested OK on tomcat 4.1.18). I'm using DBCP1.0. problem: I can't get a datasource through JNDI that usually worked fine in tomcat 4.1.x, instead I'm getting an exception! Since I'm not

PageContextImpl.handlePageException

2003-02-04 Thread wiley
Anybody have any idea what this error means and were I can find an answer to Fixing it? exception org.apache.jasper.JasperException at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.ja

RE: Oracle cursor problem with Tomcat 4.1.12 and Commons BDSF

2003-02-04 Thread Tam, Michael
Have seen this problem before. It is the JDBC code. The best solution is to explicitly close RESULTSET, STATEMENT (of any kind), and CONNECTION as soon as you finished using the object ( or else close them in the FINALLY block) Regards, Michael -Original Message- From: Sean Dockery

Why won't anyone help me out??

2003-02-04 Thread Steve Burrus
Well, seeing how no one, so far, has seen fit to respond back to my plea for help/assistance, I will re-post this from late last nite!! I am getting quite desperate the longer that I have to go on without getting this right! Hello again, Filip, I tried to package up the 2 required files,

RE: DBCP+TOMCAT 3.2.4 (-4.1.x WORKED OK)

2003-02-04 Thread Zabel, Ian
I'm assuming you copied the commons-dbcp.jar into 3.2.4's common\lib directory. Did you remember to also copy commons-collections.jar which dbcp needs? Ian. -Original Message- From: ps [mailto:[EMAIL PROTECTED]] Sent: Tuesday, February 04, 2003 4:35 PM To: Tomcat Users List Subject:

RE: DBCP+TOMCAT 3.2.4 (-4.1.x WORKED OK)

2003-02-04 Thread Zabel, Ian
Whoops, and commons-pool.jar? -Original Message- From: ps [mailto:[EMAIL PROTECTED]] Sent: Tuesday, February 04, 2003 4:35 PM To: Tomcat Users List Subject: DBCP+TOMCAT 3.2.4 (-4.1.x WORKED OK) Greetings, I'm downgrading my web application to work on tomcat 3.2.4 (initially was

RE: Tomcat 3.3.1 HttpSessionBindingListener not found

2003-02-04 Thread Daniel Lemberg
Yep, adding servlet.jar to the classpath did the trick! Thanks! -Original Message- From: Larry Isaacs [mailto:[EMAIL PROTECTED]] Sent: Tuesday, February 04, 2003 3:14 PM To: Tomcat Users List Subject: RE: Tomcat 3.3.1 HttpSessionBindingListener not found This means that the class that

Re: WAR format question

2003-02-04 Thread Will Hartung
From: Jim Carlson [EMAIL PROTECTED] Sent: Tuesday, February 04, 2003 12:06 PM Subject: Re: WAR format question Thanks. This answers my question, but I'm still left with the impression that I'll need to go beyond the WAR format if I want to write to a log or flat file DB (i.e., non-temp

Re: error page for error code 500?

2003-02-04 Thread Dodd Gatsos
I just tested it out and I get the same problem. I am currently capturing and using a custom error page for 500 errors when Tomcat is not responding. Ie. - I am using Apache's ErrorDocument 500 http://whatever in the httpd.conf. This works fine. I was also able to capture Tomcat's 404

RE: Tomcat connector of the future? WARP, JK? (Was: Re: tomcat-apache.conf not created during Tomcat startup)

2003-02-04 Thread Turner, John
JK is proven, stable, and used by many. JK2 is pretty much, most likely, and used by many. I don't use it, so I can't say for sure. I will probably be using it soon. JK2 is getting most (all?) of the effort from the dev team, and will continue to do so. CoyoteConnector, in its current form,

RE: Why won't anyone help me out??

2003-02-04 Thread Tim Moore
You need to use the fully qualified class name in the useBean tag. I don't mean to be rude, but probably the reason you're not getting much help is because the concept of packages is really basic Java, and this isn't really a list for teaching really basic Java. -- Tim Moore / Blackboard Inc. /

Tomcat Manager/Administrator and server.xml file.

2003-02-04 Thread Jim Henderson
Can someone confirm the following observations (Tomcat 4.1.18 under Win2K and JDK 1.4.1)? Given: an application is deployed by copying is WAR file to the webapps directory and Tomcat is started. (server.xml file is out-of-the-box content, no modifications.) Then, by using Tomcat Administrator to

RE: Why won't anyone help me out??

2003-02-04 Thread Jacob Hookom
Steve, have you ever looked at coldfusion? www.macromedia.com/coldfusion | -Original Message- | From: Steve Burrus [mailto:[EMAIL PROTECTED]] | Sent: Tuesday, February 04, 2003 3:36 PM | To: [EMAIL PROTECTED] | Subject: Why won't anyone help me out?? | | | Well, seeing how no one, so

RE: Why won't anyone help me out??

2003-02-04 Thread Ron Day
Have you considered another occupationmaybe a Diplomat !! Ron -Original Message- From: Steve Burrus [mailto:[EMAIL PROTECTED]] Sent: Tuesday, February 04, 2003 3:36 PM To: [EMAIL PROTECTED] Subject: Why won't anyone help me out?? Well, seeing how no one, so far, has seen fit to

FW: IIS and tomcat 4.1.18 integration

2003-02-04 Thread Mark Clarke
Hi all, I have been searching high and low for a proper tutorial or explanation on how to integrate IIS with tomcat. The one on the apache site refers to files that don't exist in my download of tomcat4.1.18. Also I am thoroughly confused by the connector storey. This is what I

Re: Define Resource globally or within Context ?

2003-02-04 Thread Sean Dockery
I believe that I read somewhere that connection pooling is done at the level that the connection is declared. (Can anyone confirm or dispute this information?) If you define a JNDI-deployed JDBC DataSource globally, connections will be pooled for all web applications. If you define a

web.xml error-page not working for 500 errors

2003-02-04 Thread Jay Wright
I have configured my webapp to serve up error pages via the web.xml file: error-page error-code500/error-code location/general_error.html/location /error-page error-page error-code404/error-code location/general_error.html/location /error-page

Re: forcing a jsp page to reload/refresh when backend data changes

2003-02-04 Thread Sean Dockery
Other alternatives which you should consider... 1) Deploy an applet that displays the information that you expect to change. Then you can manage how often the applet checks for changes and refreshes its own view. The implication is that your users will require to have a JRE installed. 2)

Re: problem using Tomcat 3.3.1

2003-02-04 Thread Liquid
When i connecting Tomcat by mod_proxy, its the same. Hej, i find another error by debiging aplication. Look, what is it? - java.net.SocketException: Software caused connection abort at java.net.PlainSocketImpl.socketAccept(Native Method) at

RE: IIS and tomcat 4.1.18 integration

2003-02-04 Thread Turner, John
JK = mod_jk (Apache) = isapi_redirector.dll (IIS) JK2 = mod_jk2 (Apache) = isapi_redirector2.dll (IIS) JK and JK2 are protocols for connecting a web server to Tomcat. Tomcat has Connectors. These are written in Java and accept requests from various sources depending on configuration. The

RE: IIS and tomcat 4.1.18 integration

2003-02-04 Thread Turner, John
I might add that the docs on the Tomcat site refer to files that don't exist in your download of Tomcat 4.1.18 because you have to create them, if by files you're referring to the .properties files. John -Original Message- From: Mark Clarke [mailto:[EMAIL PROTECTED]] Sent: Tuesday,

Re: Oracle cursor problem with Tomcat 4.1.12 and Commons BDSF

2003-02-04 Thread Andy Meadows
Doing that. Actually, further testing reveals that the problem occurs with the statement. If an exception occurs while the statement is being prepared, then an exception is thrown. However, it would appear that this exception is thrown after a cursor is opened (internally) and that cursor is

RE: Why won't anyone help me out??

2003-02-04 Thread Steve Burrus
Hi Jakob, I just gotta respond back to your posting w. the obvious question of you: Why do you necessarily recommend to me that I start to check out Macromedia's Cold Fusion product??! How would that help me get over this problem with being able to execute a jsp/servlet in the Tomcat container?

Re: Sessions across browser restarts

2003-02-04 Thread Sean Dockery
In your web.xml file, add the following block: webapp ... !-- Define the default session timeout for your application, in minutes. From a servlet or JSP page, you can modify the timeout for a particular session dynamically by using

Tomcat 4.1.18 will not start for me

2003-02-04 Thread John-P King
I am trying to get tomcat version 4.1.18 to run on a Windows 2000 server. But after installing the JDK and then the tomcat server I cannot get it to startup. When I try to start it a command window pops up and then goes away without any text written to the window. I looked at the log files and

Exception

2003-02-04 Thread Wileynet
Im receiving this error when I load my index.jsp page into the browser. Has anyone ever seen an error like this, can you PLEASE point me in the right direction to solving this ? javax.servlet.ServletException at org.apache.jasper.runtime.PageContextImpl.handlePageException(PageContex

RE: Why won't anyone help me out??

2003-02-04 Thread jsp
Because he's another charming tech personality that is obviously telling you to go use coldfusion instead of tomcat. I guess he thinks he's above all your silly little mortal questions. -Original Message- From: Steve Burrus [mailto:[EMAIL PROTECTED]] Sent: Tuesday, February 04, 2003

RE: Why won't anyone help me out??

2003-02-04 Thread Jacob Hookom
It's a much simpler framework to use for dynamic content as opposed to jsp/servlets. I think dabbling in coldfusion may help you understand the parts of a web application a little better than jumping into JSP/Servlets. The other alternative to Servlets is to look at the standard taglibs can

Re: PageContextImpl.handlePageException

2003-02-04 Thread Sean Dockery
Look at line 251 in $TOMCAT_HOME/_work/appname/org/apache/jsp/index_jsp.java to see what caused the exception. At 14:22 2003-02-04, you wrote: root cause javax.servlet.ServletException at org.apache.jasper.runtime.PageContextImpl.handlePageException(PageContex tImpl.java:533)

RE: Sessions across browser restarts

2003-02-04 Thread Zabel, Ian
Thanks for the response. I believe that just controls the timeout of the session on the server, and maybe the timeout of the cookies. To be more specific, I am asking about the timeout of the jsessionid cookie on the client. Is it possible to control these separately, i.e., set session-timeout to

Re: DBCP+TOMCAT 3.2.4 (-4.1.x WORKED OK)

2003-02-04 Thread Sean Dockery
Weird that your envCtx.lookup is done on /jdbc/ngincaredb. I've never seen it done on an absolute path before. :-) Please provide all of the parameters that you are declaring under the ResourceParams section. (I don't want to know your username and password--I just want to know the entire

RE: PageContextImpl.handlePageException

2003-02-04 Thread jsp
Hi thanks for the reply, this is the cause. if (pageContext != null) pageContext.handlePageException(t); Im just trying to find out whats causing this thought maybe someone Would have an idea besides my own incompetence. Thanks -Original Message- From: Sean Dockery

RE: pageContext error ???

2003-02-04 Thread Jacob Hookom
You might want to check your page declaration if you have your isErrorPage or errorPage declarations setup incorrectly. It might be trying to throw an exception to a page that does not exist or cannot be found. -Jacob Hookom | -Original Message- | From: jsp [mailto:[EMAIL PROTECTED]] |

How to configure number of sessions, threads or connections of the server?

2003-02-04 Thread Ming Zhao
Hi, I met a problem on my server's configuration. On my website, the user can simulate the manufacturing systme (java bean) online. If I run the simulation offline (with the JBuilder), it's no problem to run for the real time from year 1990 to now. When I put it online, it can only run for short

RE: PageContextImpl.handlePageException

2003-02-04 Thread PELOQUIN,JEFFREY (HP-Boise,ex1)
What were you expecting pageContext.handlePageException(t) to do? I had always thought it purpose was to throw a servlet exception. In which case it it working the way it should. Also what is the definition of t? -Original Message- From: jsp [mailto:[EMAIL PROTECTED]] Sent: Tuesday,

RE: PageContextImpl.handlePageException

2003-02-04 Thread Sean Dockery
That may not be *the* cause. It may just be a symptom of the cause. You should follow your root cause stack until you are satisfied that you discovered the real cause. At 15:47 2003-02-04, you wrote: Hi thanks for the reply, this is the cause. if (pageContext != null)

RE: Tomcat 3.3.1 HttpSessionBindingListener not found

2003-02-04 Thread Larry Isaacs
This confirms that the problem class is on your CLASSPATH. However, putting servlet.jar on the CLASSPATH is not a good solution. Now servlet.jar can't see any classes in the TOMCAT_HOME/lib/common classloader that it could previously. You've traded one symptom for different symptoms which may be

RE: PageContextImpl.handlePageException

2003-02-04 Thread jsp
Yes, it's working just great. I guess I worded it wrong. T looks to me just Like some place stored in memory to shoot out the error... } catch (Throwable t) { out = _jspx_out; if (out != null out.getBufferSize() != 0) out.clearBuffer(); if (pageContext != null)

RE: PageContextImpl.handlePageException

2003-02-04 Thread jsp
This is the page causing the error. Im getting warmer. Thanks for all the help. I think I just need to read more %@ page import=com.bfg.customer.Customer % %@ page import=com.bfg.cart.Cart % %@ page import=javax.servlet.http.Cookie % %@ page import=sun.misc.BASE64Decoder % % { Cart cart

Re: web.xml error-page not working for 500 errors

2003-02-04 Thread Sean Dockery
I would speculate that the 500 status code is being set inside the default exception handling code--which probably fall outside the error-page forwarding mechanism. Instead of triggering an exception, what happens when you use HttpSessionResponse.setStatus(500) in a servlet? I would not

RE: problem using Tomcat 3.3.1

2003-02-04 Thread Larry Isaacs
-Original Message- From: Liquid [mailto:[EMAIL PROTECTED]] Sent: Tuesday, February 04, 2003 5:17 PM To: Tomcat Users List Subject: Re: problem using Tomcat 3.3.1 When i connecting Tomcat by mod_proxy, its the same. It may be similar, but it can't be the same because

RE: Sessions across browser restarts

2003-02-04 Thread Filip Hanik
The difference between the types of cookies I am talking about I think are actually called browser-session cookies, which means that the browser keeps the cookies in memory for the life of the browser, or in the second case, writes them to disk for retrieval later. read up on the servlet spec,

RE: PageContextImpl.handlePageException

2003-02-04 Thread Carl Trusiak
A little much for a jsp page, I'd factor this into a class. However, change this to: try { Cart cart = (Cart) pageContext.getAttribute(cart, PageContext.SESSION_SCOPE); if (cart == null) { cart = new Cart(); pageContext.setAttribute(cart, cart, PageContext.SESSION_SCOPE); }

RE: PageContextImpl.handlePageException

2003-02-04 Thread Carl Trusiak
A little much for a jsp page, I'd factor this into a class. However, change this to: try { Cart cart = (Cart) pageContext.getAttribute(cart, PageContext.SESSION_SCOPE); if (cart == null) { cart = new Cart(); pageContext.setAttribute(cart, cart, PageContext.SESSION_SCOPE); }

RE: PageContextImpl.handlePageException

2003-02-04 Thread Carl Trusiak
A little much for a jsp page, I'd factor this into a class. However, change this to: try { Cart cart = (Cart) pageContext.getAttribute(cart, PageContext.SESSION_SCOPE); if (cart == null) { cart = new Cart(); pageContext.setAttribute(cart, cart, PageContext.SESSION_SCOPE); }

RE: Why won't anyone help me out??

2003-02-04 Thread Steve Burrus
Ron, you know, at least I hope to God that you do, that your rather snide comment to me (which you saw fit to send me TWICE, I guess to make your point to me twice!) is going to elicit a response back from me of some nature!!! Now, how on earth do you personally think that my language/wording

RE: PageContextImpl.handlePageException

2003-02-04 Thread Carl Trusiak
A little much for a jsp page, I'd factor this into a class. However, change this to: %@ page import=com.bfg.customer.Customer % %@ page import=com.bfg.cart.Cart % %@ page import=javax.servlet.http.Cookie % %@ page import=sun.misc.BASE64Decoder % % try { Cart cart = (Cart)

RE: PageContextImpl.handlePageException

2003-02-04 Thread Carl Trusiak
Sorry all for the multiple posts, Yahoo kept giving me an erro and I didn't think they sent. --- Carl Trusiak [EMAIL PROTECTED] wrote: A little much for a jsp page, I'd factor this into a class. However, change this to: try { Cart cart = (Cart) pageContext.getAttribute(cart,

RE: Why won't anyone help me out??

2003-02-04 Thread Januski, Ken
Actually most of the responders here are charming, considerate and extremely knowledgeable. I think the gist of the responses is that the current poster is not. People don't expect that all users will be knowledgeable or charming. But they at least expect consideration. Messages with subjects like

RE: Tomcat 3.3.1 HttpSessionBindingListener not found

2003-02-04 Thread Filip Hanik
also, when you load the stuff, also try Thread.currentThread().getContextClassloader().loadClass() which might work better than Class.forName() Filip -Original Message- From: Larry Isaacs [mailto:[EMAIL PROTECTED]] Sent: Tuesday, February 04, 2003 3:01 PM To: Tomcat Users List

RE: PageContextImpl.handlePageException

2003-02-04 Thread jsp
With your code I get a syntax error it looks like... org.apache.jasper.JasperException: Unable to compile class for JSP An error occurred at line: 6 in the jsp file: /jsp/cust/AutoLogin2.jsp Generated servlet error: [javac] Compiling 1 source file E:\Program Files\Apache Group\Tomcat

Re: PageContextImpl.handlePageException

2003-02-04 Thread Will Hartung
From the spec for handlePageException(): This method is intended to process an unhandled page level exception by redirecting the exception to either the specified error page for this JSP, or if none was specified, to perform some implementation dependent action. Seems to me that throwing a

RE: Tomcat 3.3.1 HttpSessionBindingListener not found

2003-02-04 Thread Carl Trusiak
HttpSessionBindingListener was introduced with Servlet 2.3. Tomcat 3.3 is based on Servlet 2.2. The servlet.jar you added into your classpath must be for 2.3. I don't think you can be sure of any behavior with this configuration. If you want to use HttpSessionBindingListener you should upgrade

RE: PageContextImpl.handlePageException

2003-02-04 Thread Carl Trusiak
Did you add the try to the top? I threw that in quick, ensure your brackets matchup properly and try again. --- jsp [EMAIL PROTECTED] wrote: With your code I get a syntax error it looks like... org.apache.jasper.JasperException: Unable to compile class for JSP An error occurred at line: 6

RE: Why won't anyone help me out??

2003-02-04 Thread Larry Meadors
I thought this list is for people who want to contribute to tomcat use / development. If you want to beat each other up, take it off-list. It is not helping anyone. Larry [EMAIL PROTECTED] 02/04/03 16:26 PM Ron, you know, at least I hope to God that you do, that your rather snide comment

RE: Why won't anyone help me out??

2003-02-04 Thread Steve Burrus
Ken, this is the constant whiner, and I sincerely apologize to you and others for my less-than-desirable manner in which I seem to have posted my pleas for help both now and in the past!!! I will certainly admit that I have a lot to learn about manners, as others do also (I won't name names!).

RE: Sessions across browser restarts

2003-02-04 Thread Sean Dockery
I am not sure, but this how I believe Tomcat handles JSESSIONID cookies. JSESSIONID cookie is pushed to clients when a new session is requested via HttpRequest.getSession (or %@page session=true %) is used. The cookie always has a lifetime of zero, which means that it will be destroyed when

Re: Sessions across browser restarts

2003-02-04 Thread Will Hartung
From: Zabel, Ian [EMAIL PROTECTED] Sent: Tuesday, February 04, 2003 2:35 PM Subject: RE: Sessions across browser restarts I believe that just controls the timeout of the session on the server, and maybe the timeout of the cookies. To be more specific, I am asking about the timeout of the

RE: Why won't anyone help me out??

2003-02-04 Thread Carl Trusiak
Good, now on to your original question. When you reference the JSP bean, add the fully qualified class name to it(package and class name ex: java.lang.String). Since you didn't specify the package, JSP trys to add the package of your page to the front of the class anme and load it. --- Steve

RE: PageContextImpl.handlePageException

2003-02-04 Thread jsp
Thanks for you help Carl but that didn't work either. The thing is Im new to jsp. I got this book , .. MYSQL and JSP web Applications by samspublishing.com . The code should work fine. I think I've just set up my environment wrong or something. Its funny too, the last Three books I've bought,

RE: Tomcat 3.3.1 HttpSessionBindingListener not found

2003-02-04 Thread Larry Isaacs
To set the record straight, the servlet 2.3 spec did add some new listeners. However, HttpSessionBindingListener wasn't one of them. It was already present in servlet 2.2. You will find it in Tomcat 3.x's servlet.jar. Cheers, Larry -Original Message- From: Carl Trusiak [mailto:[EMAIL

RE: PageContextImpl.handlePageException

2003-02-04 Thread Wendell Holmes
Are you meaning Customer c = Customer.findCustomer(email); or Customer c=customer.findCustomer(email); ?? Wendell Holmes, MCSE Edulog Testing Dept. xt. 3186 -Original Message- From: jsp [mailto:[EMAIL PROTECTED]] Sent: Tuesday, February 04, 2003 4:51 PM To: 'Tomcat

RE: Tomcat Manager/Administrator and server.xml file.

2003-02-04 Thread Jim Henderson
No one is going to byte ha? -Original Message- From: Jim Henderson [mailto:[EMAIL PROTECTED]] Sent: Tuesday, February 04, 2003 3:47 PM To: [EMAIL PROTECTED] Subject: Tomcat Manager/Administrator and server.xml file. Can someone confirm the following observations (Tomcat 4.1.18 under

Re: Why won't anyone help me out??

2003-02-04 Thread Dodd Gatsos
Steve, Did you include this tag in your JSP page? %@ page import=org.burrus.test.LDAPAuthBean % As you can see from the error output, it is looking in the package: org.apache.jsp for the LDAPAuthBean, which suggests that you're missing this tag. Any class outside of java.lang, and a few others

RE: Tomcat 3.3.1 HttpSessionBindingListener not found

2003-02-04 Thread Carl Trusiak
I stand corrected Thanks:) --- Larry Isaacs [EMAIL PROTECTED] wrote: To set the record straight, the servlet 2.3 spec did add some new listeners. However, HttpSessionBindingListener wasn't one of them. It was already present in servlet 2.2. You will find it in Tomcat 3.x's servlet.jar.

RE: [OFFTOPIC] MySQL Exception - Need Suggestions

2003-02-04 Thread Sexton, George
Probably something in the JDBC driver, or in the chain of code is setting AutoCommit and this is causing it error out. -Original Message- From: Geoff Peters [mailto:[EMAIL PROTECTED]] Sent: 03 February, 2003 8:58 AM To: [EMAIL PROTECTED] Subject: [OFFTOPIC] MySQL Exception - Need

URI for x.jsp outside of webapps???

2003-02-04 Thread Trevor Hurst
Okay, I'm almost there. I've got the connectors to work properly and all of the JSP examples work that are inside of ${tomcat}/webapps from Apache2 server. The only problem I am having is how do I configure the server to load x.jsp pages from the doc_root that apache uses? For example: If I

RE: URI for x.jsp outside of webapps???

2003-02-04 Thread Filip Hanik
Context path=/examples docBase=/data/docs/html/secure Change the path=/examples to path=/secure Filip -Original Message- From: Trevor Hurst [mailto:[EMAIL PROTECTED]] Sent: Tuesday, February 04, 2003 4:44 PM To: Tomcat Users List Subject: URI for x.jsp outside of webapps??? Okay, I'm

Re: URI for x.jsp outside of webapps???

2003-02-04 Thread Trevor Hurst
Woops, stupid.. I overlooked that when I changed everything around. Thanks for the extra pair of eyes Filip! Cheers, -- Trev Filip Hanik wrote: Context path=/examples docBase=/data/docs/html/secure Change the path=/examples to path=/secure Filip -Original Message-

RE: web.xml error-page not working for 500 errors

2003-02-04 Thread Jay Wright
Thanks Sean! The error-page exception-type was EXACTLY what I needed. Much appreciated. Jay -Original Message- From: Sean Dockery [mailto:[EMAIL PROTECTED]] Sent: Tuesday, February 04, 2003 3:11 PM To: Tomcat Users List Subject: Re: web.xml error-page not working for 500 errors

Class loading problem

2003-02-04 Thread Jay Wright
I'm seeing some odd behavior where after I redeploy a webapp (not a war) I bounce the server and try to access a jsp page. When I do so, one of the taglibs throws an exception because a class cannot be loaded. I'll then need to bounce tomcat (4.0.4) one or two more times before everything

Re: Graphics (CEWOLF) using tomcat4.0.3

2003-02-04 Thread Mark Eggers
Iain, a quick question . . . . Are you running an X Server on your Linux machine? If not, you'll either need to upgrade to jdk 1.4.x or run a virtual frame buffer in order to use graphics. HTH /mde/ just my two cents . . . . __ Do you Yahoo!?

<    1   2   3   >