Re: AW: Tomcat 5.5.9 connection pooling

2005-07-18 Thread Chris. Grobmeier

Hi Peter,
i've had this problem in a project long ago. I left the company befor  i 
solved this,

but meanwhile i am quite sure this was not a problem of Tomcat, but of
using ResultSet wrong.
Maybe this is your problem too.

ResultSet is a connection to the database- if you iterate over ResultSet 
when

the connection has allready be closed you get this error.

Check for this errors:

db.getConnection();
ResultSet rs = Statement...
db.closeConnection():

while(rs.hasNext())

Hope this helps,
Chris


[EMAIL PROTECTED] wrote:


Here is the exception that is thrown. As you can see my
connection seems to be already closed. But why? Can this
be configured somewhere?
 




-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: osType is null

2005-07-18 Thread Chris. Grobmeier



onSubmit=fillOS();

function fillOS()
{
   document.logonform.osType.value = navigator.userAgent;
   setCursor('wait');
}

This is not tomcat related i would daresay, but it's easily possible 
(wtih firefox and opera)  to manipulate
the userAgent in the browser. Everyone could leave the browser 
identification empty.


Try
navigator.platform
too, if you want to get another chance to identify the os type of the user.

Chris.

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



JkUnMount is unknown to apache

2005-07-13 Thread Chris. Grobmeier

Hi all,
i am using tomcat 4.1.30, jk1.x and apache 1.3.x.

In my vhost i have

JkMount /* api13
JkUnMount /forum/* api13

Goal is not to forward domain.de/forum to tomcat.
Problem is that apachectl configtest tells me that JkUnMount
directive is unknown. I can't start Apache with this.

Does somebody know what i made wrong? JkMount
works as expected and i used JkUnMount like described in the documentation.

Regards + Thx,
Chris

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: JkUnMount is unknown to apache

2005-07-13 Thread Chris. Grobmeier

 Which jk version are you using?

Hi,
dpkg --list | grep apache
tells me:

libapache-mod- 3.3a-4woody1   Apache connector for Tomcat servlet engine

I have Version 3.3a- is this possible? I am really confused now.
Regards,
Chris


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: JkUnMount is unknown to apache

2005-07-13 Thread Chris. Grobmeier
I think this is mod-webapp, and not mod-jk. Try to find 
libapache-mod-jk-[version] for Debian.


I tried this and finally i did dpkg --list and searched manually.
all i could get is this information again:

libapache-mod-jk   3.3a-4woody1   Apache connector for Tomcat 
servlet engine


Any other hints? Is there a file in which the current version is written?

Thank you,
Chris

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: JkUnMount is unknown to apache

2005-07-13 Thread Chris. Grobmeier


hope this is useful, this info is based on a Tomcat 5.5.9, Apache 2.0.5 on 
Solaris 9


 


thank this is useful. I have grep'ed the logfiles, i have version:
mod_jk/1.1.0
This is quite bad i guess :-) have to upgrade
Cheers
Chris

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Host Context Configuration

2005-06-30 Thread Chris. Grobmeier

Hi!

what happens if u remove the standard root-app ??

i checked this out and realized that deep links work.
I guess my problem is not in tomcat, but in my Struts-Configuration.
It seems my default-page forward forwards to the wrong host.

thanks anoop for the tip!  this was exactly the hint i needed.
regards
chris




   




 




-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Host Context Configuration

2005-06-29 Thread Chris. Grobmeier

Hello,
its me again. I am trying to configure my tomcat to receive domain.de 
and map it to the correct context.

Apache-Configuration looks OK.

In my Localhost-Engine (is this ok? i guess so) i have a seconde host:

Host   name=domain.de
   appBase=/etc/tomcat4/webapps/domain_webapp
   autoDeploy=true   
   Aliaswww.domain.de/Alias

   Context path= docBase=/etc/tomcat4/webapps/domain_webapp.war /
/Host
.
Problem is, when i type domain.de in my browser, the standard root-app 
of tomcat

appears. It would be nice if you have any suggestions for me.
If have read these documents (thx to colby):
http://jakarta.apache.org/tomcat/tomcat-4.1-doc/config/context.html
http://jakarta.apache.org/tomcat/tomcat-4.1-doc/config/host.html

but it seems i haven't got the point yet.

Thanx in advance and have a good n8!
Chris



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]