Re: Yet another try: mod_jk 1.2.18 release candidate ready to test

2006-07-20 Thread GB Developer
Any reason the section titling on that page is so confusing? "Changes from the released JK 1.2.18" makes me think I'm looking at the changes that have been made *since* 1.2.18 and will be included in some, as yet un-numbered, future release. If that's actually correct... you mean I have to ma

RE: How does Tomcat detect whether a browser accepts cookies

2006-06-22 Thread GB Developer
Just because it's fun to have that one last kick at the dead horse... You really can't rely on any cookie being set, can you? I mean most users are simply not this savvy (or stupid, depending on how you feel about it), but I can set my browser to prompt for every cookie, and I as the (idiot?) use

RE: Tomcat's scalability

2006-06-19 Thread GB Developer
#x27;s instance is having both > Tomcat+JVM installed in separate directories. Both Tomcats > running on separate ports. > > BJ Biernatowski > Application Developer, e-Business > > -Original Message- > From: GB Developer [mailto:[EMAIL PROTECTED] > Sent: Monday, June 19

RE: Interfaces and cast problems in Tomcat

2006-06-19 Thread GB Developer
What does the following tell you? interfaz_dbms.cacheable temp; temp = interfaz_dbms.cache.getReferencia().Buscar(id,n.getTipo()); // add this code below... if (temp!=null) { System.out.println("class >" + temp.getClass() + "<"); } // back to your code... n= (materia

RE: Tomcat's scalability

2006-06-19 Thread GB Developer
How do you propose to add a 'separate instance of Tomcat' without 'adding a separate JVM'? Or do you/others mean by 'instance of tomcat' = 'a separate physical server with single instance of JVM/Tomcat' ? > > So far it sounds that the approach of adding separate > instance of Tomcat and using

RE: Tomcat java processes eat processor.

2006-06-19 Thread GB Developer
We use a slightly modified version of what was posted to this list a long time back. It lets us look at a running website and quite easily see which of our pages have got themselves 'stuck'. http://marc.theaimsgroup.com/?l=tomcat-user&m=109455426721082&w=2 (It's at the bottom of that page.) Fu

RE: Template tool

2006-06-15 Thread GB Developer
Velocity can do 'templates as Strings'. > -Original Message- > From: Michael Rimov [mailto:[EMAIL PROTECTED] > Sent: Wednesday, June 14, 2006 6:38 PM > To: 'Tomcat Users List' > Subject: RE: Template tool > > > > > does it can handle templates from String or has to > be templ

RE: Re: Directory listing... what happened ?

2006-04-18 Thread GB Developer
ask in an ubuntu-related forum for help on permanently disabling your apache server, or, connect your apache server to tomcat with mod_jk. If you're unsure of how to do the first, you probably will feel more pain trying the second (so do that first thing). > -Original Message- > From

RE: Re: Directory listing... what happened ?

2006-04-17 Thread GB Developer
buried in your stacktrace: SEVERE: Error initializing endpoint java.net.BindException: Address already in use:80 Combine this with your previous statement "... until I rebooted my computer" Most likely there is a version of Apache web server that was enabled with your ubuntu installation, t

RE: manikandan mvk wants to chat

2006-04-07 Thread GB Developer
inside mail.google.com, if you can see the 'google chat' "portlet" (or whatever we're calling them these days), type in an email address that isn't currently on your google talk list (but *is* in your inbox) and one of the options that appears is "invite to chat". Whoever you invite, is sent an

RE: Servlet problem/Data Source Problem

2006-02-21 Thread GB Developer
Did you look in the catalina.out file for any thrown Exceptions? You are try/catching and then System.out.println'ing them. You should have seen a SQLException trace of some sort, read inline below... > -Original Message- > From: Mark Whitby [mailto:[EMAIL PROTECTED] > Sent: Tuesday, Fe

RE: Servlet problem

2006-02-20 Thread GB Developer
> Can anyone tell me where I'm going wrong? what filip said, but also... >From your servlet source code, make sure not to expect a server-side operation, such as: dispatcher.forward(request, response); to result in a client-side 'refresh' to the 'specified' page (searchnone.jsp, when you obtai

RE: Logging session timeouts

2006-02-09 Thread GB Developer
Well let's just think about that for a second. Filter: a filter is called each and every time you make a web request. So even if the filter is highly efficient, if you make 1000 requests in a session, you (that is, the container) will invoke the filter's doFilter method 1000 times. Listener: A

RE: Help me

2006-02-09 Thread GB Developer
The error reported is: org.apache.jasper.JasperException: Unable to compile class for JSP Generated servlet error: Only a type can be imported. org.apache.commons.fileupload.DiskFileUpload resolves to a package And the JSP page is: <%@ page import="org.apache.commons.fileupload.DiskFileUpload

RE: kindly help : where Business Logic(BL) files are been put?

2006-02-01 Thread GB Developer
Two things: 1) format of your import statement (from your first email) <%@ page import="primeReports/bl/MemGrossBl"%> should be: <%@ page import="primeReports.bl.MemGrossBl.*" %> periods, not slashes. end it with a .*, if you are importing every class within the package, or (better) fu

RE: Connection Pool Woes

2006-01-23 Thread GB Developer
That it's registered with JNDI does not help. But perhaps what is really meant is "configure your pool through Tomcat's built-in support for DBCP (which uses JNDI)". Then you'd get whatever management of the pool that Tomcat brings (for example, when the webapp is shutdown, it will .close() the p

RE: PreparedStatement w/ Connection Pooling

2006-01-13 Thread GB Developer
I've looked at the CVS HEAD for PoolingConnection... http://cvs.apache.org/viewcvs.cgi/jakarta-commons/dbcp/src/java/org/apache/c ommons/dbcp/PoolingConnection.java?view=markup public synchronized PreparedStatement prepareStatement(String sql) throws SQLException { try { return(PreparedS

RE: Single Thread is deprecated?

2006-01-06 Thread GB Developer
> -Original Message- > From: Duan, Nick [mailto:[EMAIL PROTECTED] > Sent: Friday, January 06, 2006 5:14 PM > To: Tomcat Users List > Subject: RE: Single Thread is deprecated? > > Typo due to my laziness. I knew someone was going to catch > this. Actually the sentence should read: ... b

RE: tomcat sends certain files with missing chunks

2006-01-05 Thread GB Developer
This APR documentation? http://tomcat.apache.org/tomcat-5.5-doc/apr.html Where on that page might I find a reference to this "dumb bug", or any indication that APR might be responsible for serving files with holes in the middle of them and that disabling sendfile is the cure? > -Original M

RE: Tomcat and iptables?

2005-12-16 Thread GB Developer
on linux, it's $CATALINA_HOME/logs/catalina.out > -Original Message- > From: Martin Gainty [mailto:[EMAIL PROTECTED] > Sent: Friday, December 16, 2005 11:18 AM > To: Tomcat Users List > Subject: Re: Tomcat and iptables? > > > Sebastian- > send us the logs specifically stdout_MMD

RE: File Download not working for anchor tags

2005-11-30 Thread GB Developer
Display and generation are two separate issues and I'm confused about which is which for the OP. does the anchor tag link to an actual real file on the filesystem somewhere, like: click to download or are you linking to a dynamically generated file, as from a servlet: click to download in the

RE: reading file in ServletContextListener

2005-11-28 Thread GB Developer
whoops. I meant to say "/" is the root of the filesystem and _not_ having a slash would mean "the current directory", so that would be "where tomcat has been started from". And you want neither of those. > -----Original Message- > From: GB Develop

RE: reading file in ServletContextListener

2005-11-28 Thread GB Developer
the javadoc for org.xml.sax.InputSource indicates it can take an InputStream. parser.parse( new InputSource( context.getResourceAsStream("/WEB-INF/classes/friends.xml") ) ); You might also get away with the following: parser.parse( context.getRealPath("/WEB-INF/friends.xml"); );

RE: How do I acces the Underlying Connection of a Data Source?

2005-11-09 Thread GB Developer
onnection on > the data source returns a non-null value. > > > GB Developer wrote: > > does the org.apache.tomcat wrapped dbcp still expose > > getInnermostDelegate() ? > > > > > >>Connection c = dc.getInnermostDelegate(); > >>log(c.getClass()

RE: How do I acces the Underlying Connection of a Data Source?

2005-11-09 Thread GB Developer
does the org.apache.tomcat wrapped dbcp still expose getInnermostDelegate() ? > Connection c = dc.getInnermostDelegate(); > log(c.getClass().getName() + ": " + c); > -Original Message- > From: Robert Upshall [mailto:[EMAIL PROTECTED] > Sent: Wednesday, November 09, 2005 10:34 AM > To:

RE: Inner class session attributes not supported?

2005-11-03 Thread GB Developer
> -Original Message- > From: Ernesto Garcia [mailto:[EMAIL PROTECTED] > Sent: Thursday, November 03, 2005 9:00 AM > To: users@tomcat.apache.org > Subject: Inner class session attributes not supported? > > > I define a static inner class inside my JSP ... and then put it in the session.

RE: Tomcat-Apache slow PDF response

2005-10-31 Thread GB Developer
> -Original Message- > From: Guy Knights [mailto:[EMAIL PROTECTED] > Sent: Sunday, October 30, 2005 7:38 PM > To: Tomcat Mailing List > Subject: Tomcat-Apache slow PDF response > > > - compiling and installing the latest mod_jk connector (1.2.6) and > testing this with a test copy of a

RE: JDBC Realm Configuration

2005-10-28 Thread GB Developer
> -Original Message- > From: Vicente Couto [mailto:[EMAIL PROTECTED] > Sent: Friday, October 28, 2005 12:34 PM > To: Tomcat Users List > Subject: Re: JDBC Realm Configuration > > > GB Developer, look at the exceptions: > > java.sql.SQLException:

RE: JDBC Realm Configuration

2005-10-28 Thread GB Developer
> -Original Message- > From: Vicente Couto [mailto:[EMAIL PROTECTED] > Sent: Thursday, October 27, 2005 3:18 PM > To: Tomcat Users List > Subject: JDBC Realm Configuration > > > But when i put the JDBC realm in server.xml file tomcat > throws a lot of exceptions Such as? -

RE: Trouble finding Datsource Resource with DataSourceRealm

2005-10-20 Thread GB Developer
engine' element. And then in my host, I use a resourcelink to reference (and rename) the globalresource to what my application is expecting. still puzzled why I couldn't get the other setup to work. > -Original Message- > From: GB Developer [mailto:[EMAIL PROTECTED] &

RE: Trouble finding Datsource Resource with DataSourceRealm

2005-10-20 Thread GB Developer
I should have mentioned, I have a ContextListener that contains the following: --- initCtx = new InitialContext(); envCtx = (Context) initCtx.lookup("java:comp/env"); logger.info("*** loading Data Source"); try { ds = (DataSource) e

Trouble finding Datsource Resource with DataSourceRealm

2005-10-19 Thread GB Developer
My Tomcat's having trouble finding the JNDI Datasource to use for a DataSourceRealm. Details: Tomcat 5.0.28 Java 1.4.2_04-b05 on Linux partial server.xml: factory org.apache.commons.dbcp.BasicDataSourceFactory usernam

RE: Unsubscribe DON'T WORK!

2005-10-19 Thread GB Developer
I have an idea, perhaps it's correct. It looks like a mail server admin has got their spam filter cranked past "MAX". >From your returned email: > The Postfix program > > <[EMAIL PROTECTED]>: host > asf.osuosl.org[140.211.166.49] > said: 552 spam score (7.0) exceede

RE: How to search in Tomcat Mailing list archive?

2005-10-13 Thread GB Developer
I kinda like : http://marc.theaimsgroup.com/?l=tomcat-user&r=1&w=2 Doesn't seem to have anything from today. Must be the new email address. > -Original Message- > From: Philip Chang [mailto:[EMAIL PROTECTED] > Sent: Thursday, October 13, 2005 2:20 PM > To: users@tomcat.apache.org > Subje

RE: Tomcat 4.1.31 hangs after 2 days .. any idea on what going on .. ?... please help

2005-10-13 Thread GB Developer
You could try getting a thread dump. KILL -3 is the pid of your tomcat process. The output of this command should be in catalina.out, or wherever you have (re)directed stderr. Look into this output for threads you've created (or tomcat processing threads) that seem to be hung up on code you've