Unexpected Jasper Exception

2005-09-12 Thread A. Alonso Dominguez
Hi there! I'm developing a web application covered inside a security manager. The problem is that I left the right permissions to the commons libraries and now the jasper compiler can not initialize the tlds cache. This the exception: org.apache.jasper.JasperException: Unable to initialize

Re: Trying to connect tomcat5 with postgresql database

2005-09-12 Thread pacea
And make sure the driver you downloaded matches your server version. Also, for some reason, my setup wouldn't work until I renamed the driver to postgresql.jar from pg74.216.jdbc3.jar. Hi Rick -- Resource auth=Container description=PostgresSQL Connection Pool

Re: no luck with allowLinking=true

2005-09-12 Thread Hassan Schroeder
Maurice Yarrow wrote: I have simply had no success getting allowLinking=true. / Am running 5.0.28 (tried it in 5.0.30, as well, with same lack of success). / Context path=/getimg docBase=getimg debug=0 reloadable=true crossContext=true Resources

RE: Trying to connect tomcat5 with postgresql database

2005-09-12 Thread Mattier, Ricardo
Where should the context.xml file be placed, and what else should go in this file? I'll rename my jar file to see if that works too? Thanks! Rick Mattier Systems Analyst II Wind River Systems Canton: 781 364-2002 Nashua 603 897-2084 Email: [EMAIL PROTECTED] -Original Message- From:

RE: Trying to connect tomcat5 with postgresql database

2005-09-12 Thread Mattier, Ricardo
I constantly receive this error when datasource.getConnection() is called: root cause org.apache.tomcat.dbcp.dbcp.SQLNestedException: Cannot create JDBC driver of class '' for connect URL 'null' Rick Mattier Systems Analyst II Wind River Systems Canton: 781 364-2002 Nashua 603

problem with tomcat manager's deploy command

2005-09-12 Thread rahul
Hi all, I am trying to use Tomcat Manager's deploy command using Ant script to deploy a web application. The command doesn't work in case there is an entry in tomcat configuration file server.xml for my application like context path=/myAppName . ... ... /context which I am using for

Security problem

2005-09-12 Thread Gunnar Brading
When trying a recently unpacked 5.5.11, started with -security, I get an exception the first time I try to check the root index.jsp. Anyone know what I am doing wrong? Cheers, -- Gunnar Brading SEVERE: Servlet.service() for servlet org.apache.jsp.index_jsp threw exception

Re: Trying to connect tomcat5 with postgresql database

2005-09-12 Thread David Smith
Depends on how you are deploying your app. 1) If deploying as an expanded folder, name the context.xml file after your webapp and place it in conf/Catalina/localhost. For example, if your app is called tutorial, it would have it's Context element in the file

RE: Trying to connect tomcat5 with postgresql database

2005-09-12 Thread Mattier, Ricardo
For now, I placed a test .jsp file in the $CATALINA_HOME/webapps/ROOT directory. I haven't deployed a .war file yet. Rick Mattier Systems Analyst II Wind River Systems Canton: 781 364-2002 Nashua 603 897-2084 Email: [EMAIL PROTECTED] -Original Message- From: David Smith

Re: Trying to connect tomcat5 with postgresql database

2005-09-12 Thread David Haynes
Rick, Until you are comfortable with all this, may I suggest you download the NetBeans IDE (if company policy allows it) and see how they are setting everything up? NetBeans has a good template for a war distributed web-app and gives you a friendly way to deploy your war file to a TomCat

Q: Will tomcat 4.0 work with IIS6 ?

2005-09-12 Thread Birbeck, JR \(John\)
We are implementing Objective version 6 with tomcat 4 and IIS6 on win2003 Server. Is Tomcat 4 going to work with IIS6 on 2003 server? John R Birbeck Corporate Systems Group Email: [EMAIL PROTECTED] Tel:+44 (0)1235 446492 Building R1. Room G-50, Business Information Technology Dept

RE: problem with tomcat manager's deploy command

2005-09-12 Thread Caldarale, Charles R
From: rahul [mailto:[EMAIL PROTECTED] Subject: problem with tomcat manager's deploy command If I remove this context tag from server.xml then the deploy command works fine. But I want to keep this information in server.xml and at the same time use tomcat manager's deploy command from

user authetication on MySql db issue need some help!

2005-09-12 Thread Yassine ELassad
hi list, iam about to set my user to a database instead of file and i am now trying to get that done on a mysql rdbms i created the following tables : mysql use authority; Database changed mysql show tables; +-+ | Tables_in_authority | +-+ | user_roles

Asking Again: What's the best way to mix html jsp

2005-09-12 Thread David Thielen
Hi; I have websites which are 95% html and 5% jsp/jsf. Any suggestions on the best way to mix this? What I have always done to date is put the jsp/jsf stuff under the Tomcat webapps dir and the rest under the IIS inetpub/wwwroot dir. It's a little disjointed during development but seems to work

Asking again: Final questions: Default pages

2005-09-12 Thread David Thielen
Hi; I have multiple domains on my website (IIS). I would like to do the following. When a user goes to http://www.windward.net/cart.jsp or http://www.windwardreports.com/cart.jsp that it then loads the jsp page in the root of a specific webapp of mine. In other words, all requests for a .jsp

RE: Asking Again: What's the best way to mix html jsp

2005-09-12 Thread Allistair Crossley
Hi, It works just as great keeping your web application a self-contained unit, you can still serve HTML from IIS if you really want by setting the document root for the site, or using virtual folders. you'd also for absolute certainty put an exlusion mask in uriworkers.properties for static

RE: Asking again: Final questions: Default pages

2005-09-12 Thread Allistair Crossley
Hi, Just don't bother putting the domain in the mapping from IIS to Tomcat, e.g /*.jsp=ajp13 would capture both domain requests and forward to Tomcat. Allistair. -Original Message- From: David Thielen [mailto:[EMAIL PROTECTED] Sent: 12 September 2005 17:03 To: 'Tomcat Users List'

How to get an URL embedded filename suggestion to work in Tomcat as it does in Apache

2005-09-12 Thread Ron Cozad
This url is not working, but it works with Apache http server. http://my.company.com/cgi-bin/program1.cgi/filename.txt?parameter1=123 Next url does work with tomcat but of course the browser proposes program1.cgi as the name instead of filename.txt, as desired in the first url.

RE: Asking again: Final questions: Default pages

2005-09-12 Thread David Thielen
Hi; What I am trying to do is beable to have a url of www.windward.net/cart.jsp instead of www.windward.net/stroe/cart.jsp. Is there any way to get the servlet name out of the url for the default servlet? Thanks - dave -Original Message- From: Allistair Crossley [mailto:[EMAIL

RE: Asking again: Final questions: Default pages

2005-09-12 Thread Allistair Crossley
Hi, The part you are terming the servlet name is actually the web application name. As far as I am aware the only way to do what you need is - Run the store web application as ROOT - Implement a URL rewriting system Allistair. -Original Message- From: David Thielen [mailto:[EMAIL

Re: user authetication on MySql db issue need some help!

2005-09-12 Thread Wade Chandler
--- Yassine ELassad [EMAIL PROTECTED] wrote: hi list, iam about to set my user to a database instead of file and i am now trying to get that done on a mysql rdbms i created the following tables : mysql use authority; Database changed mysql show tables; +-+ |

set different JRE versions on Tomcat 5.x

2005-09-12 Thread Olena Mitovska
How Tomcat 5.0.28 running on IIS (OS windows XP) can be configured to use different JVM ( JRE versions) for J2EE applications running on the server? There are a bunch of existing applications that were compiled using 1.4 version, while our new apps use 1.5. We need to be able to set JRE version

Re: no luck with allowLinking=true

2005-09-12 Thread Maurice Yarrow
Hassan Thank you for thinking about this and suggesting the context fragment that you have successfully used. I had tried such a fragment a little while back, without success, but tried it again just now exactly as you had indicated. I tried placing it in

Re: no luck with allowLinking=true

2005-09-12 Thread Hassan Schroeder
Maurice Yarrow wrote: Neither configuration worked to allow symlinks. Also, as I indicated in my first letter, I even set up a completely new 5.0.30 complete deployment to test this issue, but the results were the same. That's good, eliminating as many variables as possible. And if that

Re: tomcat 5.0.24 crashes silently when clustering turned on

2005-09-12 Thread Mike Noel
Which platform/OS? I've no experience on Win, but I never experienced a tomcat crash on unix/linux. Nevertheless five comments: This is running on RHEL 3.2.3-39 and Java 1.4.2. 0) jk2 is no longer under development. The only active connector development for apache is mod_jk and mod_proxy

Re: web.xml, url-pattern

2005-09-12 Thread Mark Thomas
Trond Hersløv wrote: But, if I try using wildcards, eg. url-pattern/*foxer/url-pattern it doesent work anymore. Correct. Wildcards are not supported for mapping paths. Read the servlet spec for more details. If I try to map the servlet so that it seems like a jsp-page

Re: isapi_redirector or isapi_redirector2?

2005-09-12 Thread Mark Thomas
Tracy Spratt wrote: Again, if I am mistaken, please correct me, but this is what I have recently come to understand. The isapi_redirect2.dll is part of the JK2 connector, along with the corresponding conf files. JK2 was deprecated in 2004 because of insufficient interest by both developers and

Re: set different JRE versions on Tomcat 5.x

2005-09-12 Thread Mark Thomas
Olena Mitovska wrote: How Tomcat 5.0.28 running on IIS (OS windows XP) can be configured to use different JVM ( JRE versions) for J2EE applications running on the server? There are a bunch of existing applications that were compiled using 1.4 version, while our new apps use 1.5. We need to be

Re: no luck with allowLinking=true

2005-09-12 Thread Maurice Yarrow
Hello Hassan Thanks again: however: (1) tomcat is started by root who superusers tomcat process to be owned by user tomcat, as you can see from ps: 1415 tomcat /opt/j2sdk1.4.2_05/bin/java -Djava.endorsed.dirs=/opt/tomcat/comm,etc... (2) Tomcat owns the link:

Memory leak in Tomcat

2005-09-12 Thread Ingrid Morterud Rosvall
Hello. We are running an application on Tomcat 4.1.30, and java 1.4.2. Our application is using the struts framework with jsp's, and cocoon to render the xml's. There seems to be a major memory leak at startup - the application seems to constantly be using between 40 - 45 mb of the memory. We

Re: Memory leak in Tomcat

2005-09-12 Thread Wade Chandler
--- Ingrid Morterud Rosvall [EMAIL PROTECTED] wrote: Hello. We are running an application on Tomcat 4.1.30, and java 1.4.2. Our application is using the struts framework with jsp's, and cocoon to render the xml's. There seems to be a major memory leak at startup - the application

RE: Memory leak in Tomcat

2005-09-12 Thread Michael Oliver
Ingrid, I am not on the tomcat developer committer list so my reply is just an FYI from my own experience. I saw unstable performance myself in a very similar deployment of Struts applications similar to yours. I too thought there was a memory leak and there may be, but I don't think it is in

RE: Memory leak in Tomcat

2005-09-12 Thread Mark
Hi, Can you share how much memory do you have and how much used by tomcat and what JAVA_OPTs do you have. Thanks a lot, Mark. --- Michael Oliver [EMAIL PROTECTED] wrote: Ingrid, I am not on the tomcat developer committer list so my reply is just an FYI from my own experience. I saw

RE: Memory leak in Tomcat

2005-09-12 Thread Ingrid Morterud
Hi, On my test environment I am just on 64 Mb of memory. I know I can increase that - but that still will not fix my initial problem. My application is using 40 - 45 Mb - and that is more than I thought it should use. At the moment I have no JAVA_OPTS. Thanks for trying to help. :-)

Problems delivering images / tomcat 5

2005-09-12 Thread Leon Rosenberg
Hi, I have a strange behaviour with delivering images from our tomcats. I've just checked the manager on all machines and was quite surprised to see following entries: S 130223 ms 104 KB 0 KB xxx.xxx.xxx.xxx www.xxx.de GET /dating/img/be2/be2Logout.gif HTTP/1.1 I mean 130 seconds is a lot for

Re: tomcat 5 - apache 2 - ldap

2005-09-12 Thread sudip shrestha
But, you will run into problems if you use JNDIRealm with SSL (ldap with ssl - Container Managed Security)use mozilla-java sdk if you prefer to do this way. http://www.mozilla.org/directory On 7/27/05, Nili Adoram [EMAIL PROTECTED] wrote: What about single sign-on for web applications

RE: Memory leak in Tomcat

2005-09-12 Thread Wade Chandler
--- Ingrid Morterud [EMAIL PROTECTED] wrote: Thanks for the quick reply. You might be right in us not understanding the java heap. Still - then we are even more at a loss on how to fix the problem than if we really had understood how it works. We are running on a test server with

problems setting up tomcat on debian sarge

2005-09-12 Thread Jim Buttafuoco
Hi all, I am trying to setup tomcat 4.1 (comes with debian sarge in contrib) inside a vserver also running debian sarge. I am getting the following error after I login into the adminstration tool, the sample apps and the manage tool both seems to be working. I am new to java and tomcat so

RE: web.xml, url-pattern

2005-09-12 Thread Trond Hersløv
Hi Thanks a lot for clarifying that. At the bottom you say: the servlet spec. Im reading The J2EE 1.4 Tutorial, for Sun Java System Application Server Platform. Isnt Tomcat the referential project for this technologi? Can you please be so kind and explain what the servlet spec. has to do with

Re: web.xml, url-pattern

2005-09-12 Thread Mark Thomas
Trond Hersløv wrote: Can you please be so kind and explain what the servlet spec. has to do with configuring the deployment descriptor. The servlet specification defines the format of the deployment descriptor and this therefore the definitive reference for what is, and is not, allowed.

Re: web.xml, url-pattern

2005-09-12 Thread Hassan Schroeder
Trond Hersløv wrote: Can you please be so kind and explain what the servlet spec. has to do with configuring the deployment descriptor. Chapter SRV.13: Deployment Descriptor Could you give me a link to the servlet spec? Download from:

RES: ClassNotFoundException - common/lib works, shared/lib gets exception

2005-09-12 Thread Paulo Alvim
Hi Rich, Did you have any answer? I'm with the same problem using TC559... -Mensagem original- De: Rich Mayfield [mailto:[EMAIL PROTECTED] Enviada em: sabado, 7 de maio de 2005 14:53 Para: tomcat-user@jakarta.apache.org Assunto: ClassNotFoundException - common/lib works, shared/lib gets

Re: problems setting up tomcat on debian sarge

2005-09-12 Thread pacea
Which JDK are you using? Hi all, I am trying to setup tomcat 4.1 (comes with debian sarge in contrib) inside a vserver also running debian sarge. I am getting the following error after I login into the adminstration tool, the sample apps and the manage tool both seems to be

Re: problems setting up tomcat on debian sarge

2005-09-12 Thread Jim Buttafuoco
good questions, all I did was have apt-get install tomcat4 + all needed packages. I know I have kaffe installed. here is a list from dpkg of what I have installed. let me know if I should look for and/or install another package. thanks for you help Jim ii gjdoc 0.7.3-1

Re: Issue with the admin webapp

2005-09-12 Thread Toby Vidler
Hi All, I am also experiencing issues with this and am wondering if what is happening is intended behaviour or not. Have replicated this using Tomcat 5.5.7 and 5.5.9 on Windows. When I use the Tomcat Admin webapp the server.xml is overwritten without any of our customised preexisting