CLASSPATH setting in Windows with JDBC from mySQL

2003-06-05 Thread Joe
Hi all, does anyone know how I should set the Class Path Variable in Windows in order for JSP to search for the library? I've already tried the following methods but it cannot find the driver when I tried to load an jsp page: Method 1 I've currently install the JDBC driver on my

log4j not working

2003-06-05 Thread harm
Hi all, I'm trying to use the Log4J package in my webapplication. Therefore I placed the file log4j.properties in WEB-INF/classes which looks like this: log4j.rootLogger = DEBUG, stdout, rolling log4j.appender.stdout = ConsoleAppender log4j.appender.stdout.layout=org.apache.log4j.PatternLayout

RE: CLASSPATH setting in Windows with JDBC from mySQL

2003-06-05 Thread Tom Lyle
If you put the jar file in {tomcat directory}\common\lib it will be available to all your web apps. Theres no need to play around with your CLASSPATH variable. Tom -Original Message- From: Joe [mailto:[EMAIL PROTECTED] Sent: 05 June 2003 08:43 To: [EMAIL PROTECTED] Subject:

RE: Different shutdown behavior of httpConnector in TC403 (graceful) and TC406 (reckless)

2003-06-05 Thread Ralph Einfeldt
I think that the waay of TC406 is better. This way you can have both solutions. If you have threads that do something important that has to be finished before termination, just don't define them as daemon threads. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]

security of server.xml

2003-06-05 Thread Mohamed Tagari
Hi, Is there any way of taking the password and username for connecting to a database out of the server.xml, and placing it in code before the lookup is done on this?? As having the username and password as plain text is not very secure.. // java code Context init = new InitialContext();

Tomcat bug? WinXp, IE6, Tomcat 4.1.24, JSPTags

2003-06-05 Thread Graham Reeds
I dunno if this is the correct mailing since I have only just joined, but... I am using Tomcat 4.1.24, the JDK 1.3.1.08. Unfortunately I can't change the version numbers since our client is using this version. I am new to Java and currently feeling my way round JSP Tags and the found what I

Solved

2003-06-05 Thread Rohit Peyyeti
Hello: I was finally able to link Apache 1.3 with tomcat 4.1! Problem looks to be with mod_jk version which I was running (which I think is about 4 to 5 months old). This mod_jk works (and still works) very fine with tomcat 3.2 and apache 1.3 version on one of my other machines. It somehow

Re: Tomcat bug? WinXp, IE6, Tomcat 4.1.24, JSPTags

2003-06-05 Thread Dominic Parry
What is the page Title? could you give the whole error output? - Original Message - From: Graham Reeds To: Tomcat Users List Sent: Thursday, June 05, 2003 11:55 AM Subject: Tomcat bug? WinXp, IE6, Tomcat 4.1.24, JSPTags I dunno if this is the correct mailing since I have

Java Bean Question

2003-06-05 Thread Joe
Hi people, i have some confusion with Java Bean Search Path. When i created a bean and put into my /Webapps/test/WEB-INF/classes/bean.class and use it by jsp:useBean id=beanid class=bean / i won't be able to retrieve it. It will return a

Re: Tomcat bug? WinXp, IE6, Tomcat 4.1.24, JSPTags

2003-06-05 Thread Graham Reeds
Okay this the relevant section of my taglib.tld file: tag nameheader/name tagclasstagext.HeadTag/tagclass bodycontentJSP/bodycontent infoSimple Example/info attribute namepageTitle/name requiredtrue/required rtexprvaluetrue/rtexprvalue /attribute

RE: Tomcat bug? WinXp, IE6, Tomcat 4.1.24, JSPTags

2003-06-05 Thread James Lewis
Umm, you'll have to post the whole exception, as the JasperException is wrapping the underlying one. (especially the root cause bit). Cheers, james -Original Message- From: Graham Reeds [mailto:[EMAIL PROTECTED] Sent: 05 June 2003 11:49 To: Tomcat Users List Subject: Re: Tomcat bug?

Re: Tomcat bug? WinXp, IE6, Tomcat 4.1.24, JSPTags

2003-06-05 Thread Graham Reeds
Okay the entire fault (enjoy) : HTTP Status 500 - type Exception report message description The server encountered an internal error () that prevented it from fulfilling this request. exception org.apache.jasper.JasperException at

Activate SSL in Tomcat 4.1.24

2003-06-05 Thread Abid Ali Teepo
Hello I have a problem activating SSL in tomcat 4.1.24 on win2k. The problem is that despite following all the instructions and using the keytool to import the certificate into the keystore, and uncommenting as well as updating the fields in the xml with filename and password. Nothing seem to

Re: Tomcat bug? WinXp, IE6, Tomcat 4.1.24, JSPTags

2003-06-05 Thread Graham Reeds
root cause javax.servlet.ServletException at org.apache.jasper.runtime.PageContextImpl.handlePageException(Page ContextImp l.java:536) at org.apache.jsp.login_jsp._jspService(login_jsp.java:90) What's your page doing at line 90 of the generated servlet login_jsp.java? This

Tomcat 3.2.2 and SSL

2003-06-05 Thread Rajarathinam PARTHASARTHY
Hi , We are using tomcat 3.2.2. Now we want to setup SSL for tomcat3.2.2 I have created the keys and set the following in the server.xml Connector className=org.apache.tomcat.service.PoolTcpConnector Parameter name=handler

Shutdown problem

2003-06-05 Thread Therese Hermansson
I have a problem with tomcat 3.3.1a installed in a Solaris environment. When I use the shutdown.sh-script the java process is left alive. This happens if I have two instances of the same webapplication installed in the webapps-directory(with different names). If I remove one of the

RE: Tomcat 3.2.2 and SSL

2003-06-05 Thread Abid Ali Teepo
I guess the https protocol is running on port 8443, and not on 8080, as you are trying. Try https://localhost:8443 and se if it works Regards, Abid -Original Message- From: Rajarathinam PARTHASARTHY [mailto:[EMAIL PROTECTED] Sent: 31. mai 2003 13:46 To: Tomcat Users List Subject:

RE: Tomcat 3.2.2 and SSL

2003-06-05 Thread Rajarathinam PARTHASARTHY
First I have tried as https://localhost:8443 and then https://localhost:8080. In both the case I could not get the default page. Sorry for not mentioning this. Thanks for sending reply. Still looking for the solution. -Original Message- From: Abid Ali Teepo [mailto:[EMAIL PROTECTED]

RE: Activate SSL in Tomcat 4.1.24

2003-06-05 Thread Adi Katz
First shot with this kind of error: check the port number that you are using 443 or 8443 IE wil default https to 443 but if in server.xml 8443 is defined then you should try something like this: https://localhost:8443/ Hope it will help Adi -Original Message- From: Abid Ali Teepo

mail/Session problem

2003-06-05 Thread Ayhan Peker
Hi all I am trying to use mail/Session resource as a global resource my server.xml is like GlobalNamingResources ResourceParams name=mail/Session parameter namemail.smtp.host/name valuebabel.image-data.com/value

RE: Activate SSL in Tomcat 4.1.24

2003-06-05 Thread Abid Ali Teepo
Thanks for answering. This is the URL i use when i get the error The page cannot be displayed Do you have any suggestions as to how i can debug this ? I mean are there any settings in the tomcat that i can use to see what happens ? Regards Abid -Original Message- From: Adi Katz

RE: Activate SSL in Tomcat 4.1.24

2003-06-05 Thread Adi Katz
when tomcat starts you should be able to see among the massages which port is used. send me your server.xml file and web.xml file and I will have a look -Original Message- From: Abid Ali Teepo [mailto:[EMAIL PROTECTED] Sent: 05 June 2003 13:34 To: Tomcat Users List Subject: RE: Activate

RE: Activate SSL in Tomcat 4.1.24

2003-06-05 Thread Adi Katz
check the files in the logs directory. you might find some helpful inf there -Original Message- From: Abid Ali Teepo [mailto:[EMAIL PROTECTED] Sent: 05 June 2003 13:34 To: Tomcat Users List Subject: RE: Activate SSL in Tomcat 4.1.24 Thanks for answering. This is the URL i use when i

Re: problem with updating an web app through manager app (linux work, win no)

2003-06-05 Thread Jacob Kjome
I have noticed this behavior sporadically. Did you do a remove or an undeploy. The latter is the correct one if you used deploy. install and remove work together and deploy and undeploy work together. Make sure not to mix them up. You may get unpredictable behavior. This really ought to

[NOTIFICATION DE NON REMISE] [NON DELIVERY NOTIFICATION]

2003-06-05 Thread filtermaster
Ce message a ete verifie par le systeme de filtrage de notre serveur de messagerie. Le message original a ete remplace par celui-ci pour la raison suivante : *** A suspicious file (executable code) was found in the message ! EN RAISON DU RISQUE DE TRANSMISSION DE VIRUS, notre systeme de

RE: Tomcat Manager deploy and undeploy

2003-06-05 Thread Jacob Kjome
At 02:48 PM 6/5/2003 -0400, you wrote: There is nothing wrong with both of you. My interpretation is inaccurate. It should be: 1. *Tomcat Manager* deployed myapp from myapp.war 2. *Tomcat* unpacked myapp.war because unpackWar=true in server.xml Tomcat wouldn't unpack myapp.war even if

Same session across applications

2003-06-05 Thread shanmugampl
Hi All, I have around 10 applications deployed. My requirement is to have a same session for all the 10 applications. I am ready to change the Tomcat code if necessary. I have enabled SingleSignOn. What i require is, if the SingleSignOn Id is the same then the already created session should

Startup error

2003-06-05 Thread Luc Foisy
I am getting the following error in my catalina.out Error: failed /usr/java/j2sdk1.4.0_03/jre/lib/i386/client/libjvm.so, because libstdc++-libc6.1-1.so.2: cannot open shared object file: No such file or directory I am using RedHat 9.0 Which package do I need to install to get this to function?

RE: Catalina Command Line Options

2003-06-05 Thread Shapira, Yoav
Howdy, But is there a working variable substitution system ? I've read that port=${server.port} should work, but i did not manage to make it work, any sample/doc/idea ? Whatever you read is wrong if it talks about tomcat 4.x. To change ports, edit server.xml. If you are using embedded tomcat,

RE: Counting Threads

2003-06-05 Thread Shapira, Yoav
Howdy, Search the archives. I posted a SystemThreadList.java utility several times to this list, and it does everything you want. Yoav Shapira Millennium ChemInformatics -Original Message- From: Billy Ng [mailto:[EMAIL PROTECTED] Sent: Wednesday, June 04, 2003 1:48 AM To: Tomcat Users

RE: Fail to load webapp's jar files using Tomcat 4.1.x

2003-06-05 Thread Shapira, Yoav
Howdy, Are you sure the account running the tomcat server has write access to $CATALINA_HOME/work? Yoav Shapira Millennium ChemInformatics -Original Message- From: Jochen Schweflinghaus [mailto:[EMAIL PROTECTED] Sent: Wednesday, June 04, 2003 8:49 AM To: [EMAIL PROTECTED] Subject: Fail

Re: Fail to load webapp's jar files using Tomcat 4.1.x

2003-06-05 Thread Dorin Ciuca
Do you have a directory named temp in your $CATALINA_BASE ? If you don't have it, you should create it. Dorin - Original Message - From: Jochen Schweflinghaus [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Wednesday, June 04, 2003 3:48 PM Subject: Fail to load webapp's jar files using

RE: Question about JavaBeans

2003-06-05 Thread Shapira, Yoav
Howdy, It gave me error.) What error? Also I have some doubts to clarify. 1) Do I need to have the WEB-INF folder in every context directory? No. One WEB-INF per webapp, under the webapp docBase. 2) Do I need to create a web.xml at this stage where I just making use of this

RE: NotSerializableException on webapp restart

2003-06-05 Thread Shapira, Yoav
Howdy, You're probably putting non-Serializable objects as session attributes... Yoav Shapira Millennium ChemInformatics -Original Message- From: Boris Folgmann [mailto:[EMAIL PROTECTED] Sent: Wednesday, June 04, 2003 6:14 AM To: Tomcat Users List Subject: NotSerializableException on

RE: is session id unique across webapps ?

2003-06-05 Thread Angus Mezick
Hmm, I just read those two thread and I didn't see a final solution. Is getJvmRoute() unique across tomcat instances running on 5 web servers all serving the same app using a JDBC session manager. I know session id is unique within a webapp but what about over a cluster of webapps that don't use

RE: is session id unique across webapps ?

2003-06-05 Thread Schwartz, David (CHR)
I thought it was based on the browser ID + number - therefore always unique. -Original Message- From: Angus Mezick [mailto:[EMAIL PROTECTED] Sent: Wednesday, June 04, 2003 9:28 AM To: Tomcat Users List Subject: RE: is session id unique across webapps ? Hmm, I just read those two thread

Re: JSTL and EL question - SOLVED

2003-06-05 Thread Nikola Milutinovic
- Original Message - From: Schwartz, David (CHR) [EMAIL PROTECTED] To: 'Tomcat Users List' [EMAIL PROTECTED] Sent: Wednesday, June 04, 2003 1:55 PM Subject: RE: JSTL and EL question - SOLVED I'm still having problems. Can you please post a complete sample along with web.xml sample?

RE: JSTL and EL question - SOLVED

2003-06-05 Thread Schwartz, David (CHR)
can you also send the taglib line from the top of jsp? -Original Message- From: Nikola Milutinovic [mailto:[EMAIL PROTECTED] Sent: Wednesday, June 04, 2003 9:32 AM To: Tomcat Users List Subject: Re: JSTL and EL question - SOLVED - Original Message - From: Schwartz, David (CHR)

Re:error when shutting down tomcat

2003-06-05 Thread Geralyn M Hollerman
Sandeep wrote: i hav installed tomcat on a hp-ux server. i hav abs no probs using it. but it gives an error when i shut it down using ./shutdown.sh. after 2 or 3 tries it shuts down properly. the error msg is as follows :- $./shutdown.sh Using CATALINA_BASE:

.htaccess / access restriction

2003-06-05 Thread Henning Heil
Hi everybody! I am wondering a bit how I can get a simple access control for a dir under tomcat. I am talking about a dir directly under the root-context - is there something similar to .htaccess? Other possibilities? Thanks for your help, Henning

RE: is session id unique across webapps ?

2003-06-05 Thread Angus Mezick
From ManagerBase.java: I worry that jvmRoute is not unique across servers in a cluster if using JDBC store instead of sticky sessions. public Session createSession() { // Recycle or create a Session instance Session session = createEmptySession(); // Initialize the

Re: .htaccess / access restriction

2003-06-05 Thread Florent Zara
Henning Heil wrote: I am wondering a bit how I can get a simple access control for a dir under tomcat. I am talking about a dir directly under the root-context - is there something similar to .htaccess? Other possibilities? Look for Realm How-to in the Tomcat Documentation.

Re: Re: Different shutdown behavior of httpConnector in TC403 (graceful) and TC406 (reckless)

2003-06-05 Thread Frank . Strecker
Okay, I see that point. Since the worker threads who perform the very work to respond a request are deamons, there seems to be a hard and unconfigured timeout effective in TC406. TC403 and TC406 show different behaviors when stopping. Both would require certain application coding, but which one

changing tomcat configuration on the fly

2003-06-05 Thread Adi Katz
Hello, I am interested in changing the server.xml and web.xml files through servlets and then reload them. So for example I can add JNDI entries in server.xml without the nedd to stop/start tomcat again. Something very similar is done in the admin app ( shipped with tomcat ). Does anybody have a

Re: changing tomcat configuration on the fly

2003-06-05 Thread Dominic Parry
you can find it in the Tomcat source. Just look in the source for the admin app. - Original Message - From: Adi Katz To: [EMAIL PROTECTED] Sent: Wednesday, June 04, 2003 4:08 PM Subject: changing tomcat configuration on the fly Hello, I am interested in changing the

Jk2 - BAD packet signature

2003-06-05 Thread Gareth Nolan
Hi, Can anyone help me the above error. I'm running apache 2.0.45 / tomcat 4.1.24 on a redhat 8 box and I'm trying to get the jk2 connector to work using channel socket (connector-4.1.24). No matter which port I use (configured in workers2.properties - 8009, 8019) I get a bad packet signature.

RE: Restarting Tomcat without restarting Apache

2003-06-05 Thread softspt
Protective Marking: UNCLASSIFIED Thanks for the replies; sounds like I needn't have worried so much :-) * This Email and any files transmitted with it is intended solely for the use of the individual or entity to whom

Re: JSTL and EL question - SOLVED

2003-06-05 Thread Jeff Knox
I never thought about putting the tablib in the web.xml file. I like that! As for referencing the tablibs on individual pages there are four differentlibraries you can use depending on what you need to do on the page. The core library is: [EMAIL PROTECTED] prefix=c

Limiting login attempts

2003-06-05 Thread Nowakowski, Jeff
Hi, Is there any way to limit the number of login attempts using the security realm stuff? We're using form-based login. We'd like to limit a user to N attempts and then display a message saying that their account has been locked out. -Jeff

Re: NotSerializableException on webapp restart

2003-06-05 Thread Boris Folgmann
Shapira, Yoav schrieb: Howdy, You're probably putting non-Serializable objects as session attributes... Yes, you are right. For tracking all logged in users I store a reference to every users HttpSession in his user object which is itself in the session context. HttpSession is

RE: NotSerializableException on webapp restart

2003-06-05 Thread Shapira, Yoav
Howdy, Yes, you are right. For tracking all logged in users I store a reference to every users HttpSession in his user object which is itself in the session context. HttpSession is org.apache.catalina.session.StandardSessionFacade in tomcat and this class does not implement

RE: Limiting login attempts

2003-06-05 Thread DAVIES, GARETH [AG-Contractor/1000]
Jeff, We have recently done this using Security Filter (securityfilter.org) and a custom realm. The realm's authenticate method(s) delegates to a business tier object that handles authentication/authorization, including locking out users after N attempts. Gareth Davies -Original

mod_jk windows 2000 pro

2003-06-05 Thread JB97782
Hi all, I am new to using apache and tomcat. I have installed both on a Windows 2000 pro PC. I installed apache v2.0.42 and tomcat v4.1.18. I followed John Turners instructions for getting mod_jk working (http://www.johnturner.com/howto/winxp-howto.html) but I can not get tomcat to serv pages

jar ressource pb

2003-06-05 Thread mourad jaber
Hi, I'm trying to understand the folowing problem : I've got some xml files into the jar file of my webapp. when I use a stand alone java application to retreive that ressource by using ClassLoader.getSystemClassLoader().getResource(myfile.xml) it works... but it doesn't work any more ( I get

Modified ROOT

2003-06-05 Thread ColinB
As I understand it, at first startup the Tomcat server expands the ROOT.war file in the webapps directory. But I need to modify a file that is within the expanded (default) ROOT archive and also add a new file. I could probably do this by manually expanding the ROOT.war and then modify/adding the

RE: jar ressource pb

2003-06-05 Thread Shapira, Yoav
Howdy, Use the thread context class loader instead of the system classloader. ClassLoader tcl = Thread.currentThread().getContextClassLoader(); tcl.getResource(...); This will work on both the servlet container and command-line applications. See the docs page Classloader HOW-TO for more

Re: jar ressource pb

2003-06-05 Thread Jacob Kjome
because they are in the WebappClassLoader which the system class loader cannot see. Either use: MyClass.class.getResource(/package/path/to/resource/myfile.xml); or MyClass.class.getClassLoader().getResource(package/path/to/resource/myfile.xml); or if your resource files exist in WEB-INF or

Re: jar ressource pb [solved]

2003-06-05 Thread mourad jaber
I reply myself, because I just find the solution by using : this.getClass().getClassLoader().getResource(myFile.xml) mourad jaber wrote: Hi, I'm trying to understand the folowing problem : I've got some xml files into the jar file of my webapp. when I use a stand alone java application to

WEB-INF with War Files

2003-06-05 Thread Tyson Lowery
Hi all, I have 3 different files for my web deployment - app.jar, app.war, and app.properties. Can I use a WEB-INF structure when using a war file? I have placed the war file in Tomcat's webapps directory. I have then created a directory called apps with a WEB-INF subdirectory, which has two

script permissions changing?

2003-06-05 Thread Jiann-Ming Su
We're running Tomcat 4.1.24. For some unknown reason, the permissions on the shell scripts in the bin/ change; it simply loses the executable bit. I didn't experience this with 4.1.12. Any idea why this would happen? -- Jiann-Ming Su [EMAIL PROTECTED] 404-712-2603 Development Team Systems

Re: JSTL and EL question - SOLVED

2003-06-05 Thread Jeff Knox
I thought I liked the idea of having the taglib in the web.xml file. When I try it I'm getting This absolute uri (http://java.sun.com/jstl/core) cannot be resolved in either web.xml or the jar files deployed with this application. Do I have to download it somewhere in order to use it in the

Re: Different shutdown behavior of httpConnector in TC403 (graceful)and TC406 (reckless)

2003-06-05 Thread Tim Funk
If your need daemon threads to perform some type of cleanup. You'll need to - Create a non-deamon thread for the sole purpose of ensuring the JVM stays up - Create a LifeCycleListener (or other appropriate listener) to listen for tomcat startup and shutdown events - On shutdown, you'll need a

Re: .htaccess / access restriction

2003-06-05 Thread Tim Funk
See web.xml's for the manager app and admin app. -Tim Henning Heil wrote: Hi everybody! I am wondering a bit how I can get a simple access control for a dir under tomcat. I am talking about a dir directly under the root-context - is there something similar to .htaccess? Other possibilities?

RE: JSTL and EL question - SOLVED

2003-06-05 Thread Schwartz, David (CHR)
I get the same error! -Original Message- From: Jeff Knox [mailto:[EMAIL PROTECTED] Sent: Wednesday, June 04, 2003 11:35 AM To: Tomcat Users List Subject: Re: JSTL and EL question - SOLVED I thought I liked the idea of having the taglib in the web.xml file. When I try it I'm getting

Re: changing tomcat configuration on the fly

2003-06-05 Thread Tim Funk
There is no way to change web.xml on the fly. Except by - - putting a new web.xml in its place - stop the app - start the app As for changes to server.xml. This can be done via JMX. See the code to the admin app on how make changes. -Tim Adi Katz wrote: Hello, I am interested in changing the

Re: mod_jk windows 2000 pro

2003-06-05 Thread John Turner
Any special reason you didn't use Apache 2.0.45? John On Wed, 4 Jun 2003 10:53:44 -0400, [EMAIL PROTECTED] wrote: Hi all, I am new to using apache and tomcat. I have installed both on a Windows 2000 pro PC. I installed apache v2.0.42 and tomcat v4.1.18. I followed John Turners instructions

RE: WEB-INF with War Files

2003-06-05 Thread Shapira, Yoav
Howdy, You need a web.xml in the WEB-INF directory. You don't have write permission normally to files on the classpath, including your own property file. A .war file is just the congolomeration of everything under your docBase jarred together. If you expand it (jar xvf app.war) and remove it,

RE: Alternate password encyption code?

2003-06-05 Thread Jeff Sexton
Nice! Thanks! Jeff Sexton The ODS Companies [EMAIL PROTECTED] On Tue, 3 Jun 2003, Extance, Paul wrote: We've already done this as part of the Jaffa (jaffa.sourceforge.net) open source project. For more details see... The Source Code @

RE: Different shutdown behavior of httpConnector in TC403 (graceful) and TC406 (reckless)

2003-06-05 Thread Shapira, Yoav
Howdy, One possible way it to use Runtime#addShutdownHook(Thread hook) ... Try to stay container-independent and therefore as portable as possible, by not using tomcat-specific listeners, unless necessary. Yoav Shapira Millennium ChemInformatics -Original Message- From: Tim Funk

Re: mod_jk windows 2000 pro

2003-06-05 Thread JB97782
I actually installed apache several months ago. Yesterday I downloaded apache 2.0.46 but the installation said I had to uninstall the old apache first. I didn't want to have to re-configure everything all over again. It took me a while to get apache to work the first time, I don't want to

Re: Fail to load webapp's jar files using Tomcat 4.1.x

2003-06-05 Thread Jochen Schweflinghaus
Gee, yes it was the missing temp directory. This was not used in tomcat 4.0.x versions and of course I wasn't reading the 'Install and Run' documentation too carefully. Now I really feel embarrassed having asked that Question - hope you don't mind. Thank you very much for you help !

Re: mod_jk windows 2000 pro

2003-06-05 Thread John Turner
The configuration should be the same...I can't think of anything in httpd.conf that would be different between the two versions. You'll have to give us more info than it doesn't work. What you're trying to do, your configuration files, what is the exact error message you receive, the content

Integrate JasperReport in JSP !

2003-06-05 Thread Mubaraka Arif
hello, Its been few days , I downloaded JasperReports and JasperEdit. I copied all the required jars of JasperReport into Tomcat's /WEB-INF/lib. Aslo, I used JasperEdit to create the report design and it generated an xml file. Now, JasperReports loads this xml file and allows to view the

Re: mod_jk windows 2000 pro

2003-06-05 Thread JB97782
I don't receive an error per se other than the The page cannot be found message when I try to access the tomcat examples/jsp/index.html on port 80. But when I explicitly use port 8080 everything works just fine. By that I mean the html page loads and all the java examples are served and work

Re: mod_jk windows 2000 pro

2003-06-05 Thread John Turner
I didn't see the attachments come through on the list. There's probably an easy answer. The first things I would check: - apache.exe -t returns Syntax OK. If it doesn't, tell us what it says. - you have a workers file called workers.properties, and it has the contents and only the contents

connection pooling

2003-06-05 Thread Nadia Kunkov
Hi, I'm using Tomcat 4.0.4 and I'm wondering if setting up a connection pooling will give me a capability to set up some time intervals according to which my pool manager will check if connections are active and recycle them if they are not. Does Tomcat have this capability? ( is there

RE: connection pooling

2003-06-05 Thread Shapira, Yoav
Howdy, Tomcat uses DBCP by default for connection pooling, although you can use other packages as well. DBCP supports evicting idle connections with a configurable timeout on how long the connection must be idle before eviction. DBCP also supports configurable validation queries (checking for

Re: mod_jk windows 2000 pro

2003-06-05 Thread JB97782
Hi John, everything looks fine, including the Syntax OK response to apache.exe -t. I don't know why the files didn't come thru. Here is my mod_jk.conf. There were some lines that looked a little different than yours. For example my Alias /manager line has two dots in the path name. Not sure

Connectors mod_webapp vs mod_jk2

2003-06-05 Thread Ronnie Tartar
I successfully implented the mod_webapp connector, thanks especially for the document on: http://www.codesta.com/knowledge/technical/tomcat_warp_apache/page_01.jsp But I could not successfully install the mod_jk2 connector with multiple ssl vhosts (IP Based). I did get it working with the

Re: mod_jk windows 2000 pro

2003-06-05 Thread John Turner
OK. Please change JkLogLevel to debug. Stop Apache. Stop Tomcat. Wait about 10 or 15 seconds. Start Tomcat, wait another 10 or 15 seconds. Start Apache. Then request one of the examples JSP on port 80, and let us know what the lines in mod_jk.log and Apache's log files say. Apache's

Re: mod_jk windows 2000 pro

2003-06-05 Thread JB97782
apache error.log: [Wed Jun 04 12:17:04 2003] [error] [client 10.126.9.25] File does not exist: C:/Program Files/Apache Group/Apache2/htdocs/examples [Wed Jun 04 13:01:28 2003] [notice] Parent: Received shutdown signal -- Shutting down the server. [Wed Jun 04 13:01:28 2003] [notice] Child 636:

SSL Tomcat with proxy

2003-06-05 Thread Daniel Zhang
Hi, All - I've installed and configured Tomcat 4.1.12 with SSL(self-signed certificates) on two Linux RedHat 8.0 machines to do some SOAP stuff. It works well(those two Linux machines are INSIDE company's Intranet). However, when I installed SSL on a public domain Linux machine, I can't

RE: Oracle Type 4 Driver

2003-06-05 Thread Schwartz, David (CHR)
here's my web.xml... web-app servlet servlet-nameHelloWorld/servlet-name servlet-classHelloWorld/servlet-class /servlet servlet-mapping servlet-nameHelloWorld/servlet-name url-pattern/HelloWorld/url-pattern

RE: I cannot get Tomcat4.1.24 to run as a service using JRockit. Has anyone done this?

2003-06-05 Thread Victor Popiol
Hi Brendan. I have the same problem. Have you found a solution? Regards Victor -Original Message- From: Brendan [mailto:[EMAIL PROTECTED] Sent: Friday, May 30, 2003 3:40 PM To: Tomcat Users List; [EMAIL PROTECTED] Subject: I cannot get Tomcat4.1.24 to run as a service using JRockit.

tomcat manager deploy and undeploy

2003-06-05 Thread Phillip Qin
Did anyone solve Cannot remove document base for path /mywebapp? My environment is Redhat 7.2 Apache 2.0.46 Tomcat 4.1.24 J2sdk 1.4.1_01 I deployed my webapp using Catalina-ant Deploy task. War file was uploaded to work/Standalone/myhost/manager and unpacked into webapps/mywebapp. I

Logging help please

2003-06-05 Thread Tim Shaw
Hi, Does anyone have a link to a FAQ or HOW-TO for using commons-logging with Tomcat 4.1.x please? I've read the obvious ones at apache.org and sun.com, and tried all sorts before having to back out and go to a wrapper around ServletContext.log (which doesn't give me levels and files etc). I

Re: tomcat manager deploy and undeploy

2003-06-05 Thread Jim Lynch
I do an ant remove before I do the deploy. That works for me. Jim. Phillip Qin wrote: Did anyone solve Cannot remove document base for path /mywebapp? - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands,

Re: changing tomcat configuration on the fly

2003-06-05 Thread Tim Shaw
I wonder whether you actually want this approach at all. Depending on why you want to modify JNDI entries, and whether this is for the entire server or just a specific web-app ... If I need to change my JNDI entries (generally values and additions during development), I modify the context.xml

RE: Logging help please

2003-06-05 Thread Phillip Qin
Commons-logging is a wrapper. Try use log4j or jdk 1.4 logger for the underlying logger -Original Message- From: Tim Shaw [mailto:[EMAIL PROTECTED] Sent: June 4, 2003 1:42 PM To: Tomcat Users List Subject: Logging help please Hi, Does anyone have a link to a FAQ or HOW-TO for using

Taglib declaration - illegal character \64 (was Re: Oracle Type 4 Driver)

2003-06-05 Thread Jason Bainbridge
On Thu, 5 Jun 2003 01:16, Schwartz, David (CHR) wrote: [javac] C:\tomcat\work\Standalone\localhost\myfirst\index_jsp.java:42: illegal character: \64     [javac] [EMAIL PROTECTED] prefix=c uri=http://java.sun.com/jstl/core;     [javac]  ^     [javac] 1 error That's very strange I was going

RE: tomcat manager deploy and undeploy

2003-06-05 Thread Phillip Qin
But remove will not remove your Context entry in server.xml. Another question: When I use ant remove, struts.jar in /mywebapp/WEB-INF/lib is not deleted. Everything else is cleared. -Original Message- From: Jim Lynch [mailto:[EMAIL PROTECTED] Sent: June 4, 2003 1:40 PM To: Tomcat Users

Re: Counting Threads

2003-06-05 Thread Billy Ng
Too bad, I am using Tomcat 4 Billy Ng - Original Message - From: Tim Funk [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Wednesday, June 04, 2003 3:57 AM Subject: Re: Counting Threads Tomcat 5 will let you do this via JMX. -Tim Billy Ng wrote: Hi folks,

RE: Taglib declaration - illegal character \64 (was Re: Oracle Type 4 Driver)

2003-06-05 Thread Schwartz, David (CHR)
Jason, When I do... %@ taglib prefix='c' uri='http://java.sun.com/jstl/core' % I get... org.apache.jasper.JasperException: This absolute uri (http://java.sun.com/jstl/core) cannot be resolved in either web.xml or the jar files deployed with this application at

Re: Taglib declaration - illegal character \64 (FAQ)

2003-06-05 Thread Jason Bainbridge
Can you try creating a temp directory in your CATALINA_HOME and then try again? Seems it is a common cause of similar errors as I just read here: http://www.thejspbook.com/faq/details.jsp?id=1023 Not exactly the kind of thing that one would look for with such an error but hopefully it works.

RE: tomcat manager deploy and undeploy

2003-06-05 Thread Phillip Qin
Remove didn't delete struts.jar only happens on Windows box. Linux is OK. -Original Message- From: Phillip Qin [mailto:[EMAIL PROTECTED] Sent: June 4, 2003 2:03 PM To: 'Tomcat Users List' Subject: RE: tomcat manager deploy and undeploy But remove will not remove your Context entry in

RE: changing tomcat configuration on the fly

2003-06-05 Thread Adi Katz
Hello Tim, I have only one app and users should be able to register a database with the app. so: 1) I dont know in advance what kind of data base it will be 2) data supplied by the end user regarding the database / url etc. should be written to the right files ( server.xml ). 3) In order for

Re: Logging help please

2003-06-05 Thread Tim Shaw
Sorry, but that was what I tried first. My problem seems to be with the mechanics of using JDK1.4 logging within Tomcat (with or without the commons wrapper) - I can get it to work fine outside (where I 'control' the VM, ClassLoader etc). Thanks tim Phillip Qin wrote: Commons-logging is a

RE: Taglib declaration - illegal character \64 (FAQ)

2003-06-05 Thread Schwartz, David (CHR)
yes. I have the temp folder already. -Original Message- From: Jason Bainbridge [mailto:[EMAIL PROTECTED] Sent: Wednesday, June 04, 2003 2:12 PM To: Tomcat Users List Subject: Re: Taglib declaration - illegal character \64 (FAQ) Can you try creating a temp directory in your CATALINA_HOME

Re: mod_jk windows 2000 pro

2003-06-05 Thread John Turner
Apache isn't mapping your VirtualHost, and its corresponding Alias of the /examples directory. Thus, the JkMount isn't getting picked up for /examples, either. Are you sure that your mod_jk.conf file is being included in Apache's httpd.conf? Do you have any other VirtualHost definitions in

RE: Logging help please

2003-06-05 Thread Phillip Qin
- Can you define different levels for different app in your logging.properties? - I don't think change properties on the fly will affect the loaded apps. - I never have commons-logging working with my log4j. -Original Message- From: Tim Shaw [mailto:[EMAIL PROTECTED] Sent: June 4, 2003

  1   2   >