Tomcat won't pick up my classes

2002-05-24 Thread Glen Verran
Hi there I am using Tomcat 4.0.3 full on Windows 2000. I wrote a small jsp that references a class that I wrote in java. When the jsp gets called, an error is returned that it cannot find the class I am specifying. I copiied my java class file into the WEB_INF/classes path off my ROOT folder

RE: mod_webapp speed

2002-05-24 Thread Michael Forster
Hi, You might want to download JMeter and test your application so that you have some concrete numbers. It's even worse: Average transfer times of one jsp, including images: Mod_webapp: 3556 ms HTTP Connector: 212 ms Mike -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For

Re: Apcahe's CPU goes to 100%

2002-05-24 Thread Cammy Ng
Hi, I have this problem too, but no one seems to answer this problem, I believe it is the mod_jk connector problem. Hope someone will find the solution for this. Thanks Cammy - Original Message - From: Rajesh Mishra [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Wednesday, May 22, 2002

clean-up when stoping tomcat

2002-05-24 Thread Michael Reutter
Hi! I use tomcat 3.3.1! How can I tell tomcat, to run some code (delete temporary files in some directories) when shuting down (is there something like a ContextListener - like a SessionListener)? thanks michael -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands,

Re: Apcahe's CPU goes to 100%

2002-05-24 Thread Costas Stergiou
Many of use have posted this problem here but I see that nobody can come up with an answer... - Original Message - From: Cammy Ng [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Thursday, May 23, 2002 9:39 AM Subject: Re: Apcahe's CPU goes to 100% Hi, I have this

Re: Linux - high cpu usage/seg faults - SOLVED

2002-05-24 Thread Joakim Ryden
It was a rookie thing. :( The two servers were of course not identical. :) The problem machine did not have the libc compat libs installed. The funny thing is that IBM's jdk didn't give any indications about this whatosever. When I installed the sun jdk the catalina log immediately showed the

Re: mime-types?

2002-05-24 Thread Michael Reutter
Am Donnerstag, 23. Mai 2002 19:26 schrieben Sie: your browser needs to be mime-typed AND your tomcat application needs to be mime-typed you can set tomcat's mime-types in your web.xml file. search google for tomcat web.xml mime types As far as your browser -- many browsers are not

Re: Tomcat won't pick up my classes

2002-05-24 Thread RaymondPau
Did you try restarting Tomcat after putting the class file in the correct place? Glen Verran

Re: clean-up when stoping tomcat

2002-05-24 Thread Phillip Morelock
does using a servlet's destroy method not guarantee enough finality? a hack might be to have a servlet's destroy method wait for a time period and then do your cleanup (if you want to ensure your other servlets have been destroyed). It's a hack, but it might work. If there's a better answer, I

tomcat 2nd instance stopping when i log out - on Solaris.

2002-05-24 Thread chas
I have a second Tomcat instance (v 4.x) running on Solaris. I log in, set the environment variables for CATALINA_HOME, CATALINA_BASE and JAVA_HOME, start the 2nd Tomcat instance and all works well. But when I log out, the 2nd instance stops. :( I've tried running it as a background process ()

Session in JSP

2002-05-24 Thread Wiwi Wiwi
Hi all. Can anyone tell me how to create a session in JSP instead of servlet, and read the value of the attribute that stored in the session using JSP? Thanks. wiwi _ Send and receive Hotmail on your mobile device:

RE: Openssl

2002-05-24 Thread Lee Chin Khiong
IS IT POSSIBLE TO DESCRIBE IN DETAIL WITH EXAMPLE. I STILL DON'T GET YOU -Original Message- From: KUMAR,PANKAJ (HP-Cupertino,ex1) [mailto:[EMAIL PROTECTED]] Sent: Friday, May 24, 2002 1:39 AM To: 'Tomcat Users List' Subject: RE: Openssl You can do this in one of the two ways:

compile or not?

2002-05-24 Thread Anibal Constante Brito
Hello: I dont understand somthing, I a beginner of Java programming and Tomcat. I read in some tutorial that when a wirte a servlet, just put the .java in \WEB-INF\classes and the tomcat compile this .java in .class, but I tried to do this useless. I have windows XP and my CLASSPATH:C:\Program

Re: Apcahe's CPU goes to 100%

2002-05-24 Thread Cammy Ng
I like Tomcat a lot personally, however, if I cannot get any solution of this problem, I think I need to start testing other commercial software like Jrun, etc. Since they have there own connector, it may solve this problem. . I was spending 2 months and look over the internet everywhere,(all

Servlets

2002-05-24 Thread Anibal Constante Brito
Hello: I dont understand somthing, I a beginner of Java programming and Tomcat. I read in some tutorial that when a wirte a servlet, just put the .java in \WEB-INF\classes and the tomcat compile this .java in .class, but I tried to do this useless. I have windows XP and my CLASSPATH:C:\Program

JavaBeans

2002-05-24 Thread Anibal Constante Brito
I have the same problem of other, I read a some tutorial too and... public class UserData { String username; String email; int age; public void setUsername( String value ) {... I put in UserData.java and compiled and put in the same directory \WEB-INF\classes, and when call

Re: Tomcat won't pick up my classes

2002-05-24 Thread Glen Verran
Yes I did, and still no luck. The error message that I am getting from compiler is: C:\tomcat\work\localhost\_\Relations\jsp\Logon$jsp.java:56: Class org.apache.jsp.LogonData not found. LogonData user = null; ^ I currently have my classes in

Re: Apcahe's CPU goes to 100%

2002-05-24 Thread Costas Stergiou
I have exactly the same experience on this. Actually, If this problem is not solved you cannot use tomcat load-balancing features; thus you cannot setup a real production stable environment!! ajp12 does not have this problem though (I think because it does not keep open sockets). After some

Re: Session in JSP

2002-05-24 Thread RaymondPau
HI Wiwi, You don't have to explicitly create a session object in JSP. A new session will be started for every new connection. You will be able to access the session object using the implicit Session Object. Refer to the Javadoc for HttpSession at:

Re: Tomcat won't pick up my classes

2002-05-24 Thread RaymondPau
Hi Glen, From the error message, your class LogonData is part of the org.apache.jsp packages. If that is right, you will need to put the class file LogonData.class in c: \tomcat\webapps\ROOT\WEB_INF\classes\org\apache\jsp That is if you jsp is in the ROOT context. Regards, Raymond Pau

Re: Tomcat won't pick up my classes

2002-05-24 Thread Phillip Morelock
you need to import the bean before you can use it - finally remembered this. it's been discussed a lot on this list. i think -- or maybe i'm remembering something else. try making a line at the top of your jsp that says: %@ page language=java contentType=text/html import=LogonData % If you put

Re: Tomcat won't pick up my classes

2002-05-24 Thread Phillip Morelock
From the error message, your class LogonData is part of the org.apache.jsp packages. If that is right, you will need to put the class file LogonData.class in c: \tomcat\webapps\ROOT\WEB_INF\classes\org\apache\jsp Sorry to be a pedant, but this is not true. Tomcat looks for classes that

Re: Session in JSP

2002-05-24 Thread chuck amadi
Wiwi Wiwi wrote: Hi all. Can anyone tell me how to create a session in JSP instead of servlet, and read the value of the attribute that stored in the session using JSP? Thanks. wiwi _ Send and receive Hotmail on your

Re: Apcahe's CPU goes to 100%

2002-05-24 Thread David Cassidy
please post it ! I have seen this with ajp12 (not using ajp13) D Costas Stergiou wrote: I have exactly the same experience on this. Actually, If this problem is not solved you cannot use tomcat load-balancing features; thus you cannot setup a real production stable environment!! ajp12 does

Re: Linux - high cpu usage/seg faults - SOLVED

2002-05-24 Thread David Cassidy
Was the reason you tried the IBM JDK because of performance ? I'm rather interrested in knowing if there is any difference in speed... Ta D Joakim Ryden wrote: It was a rookie thing. :( The two servers were of course not identical. :) The problem machine did not have the libc compat libs

RE: Tomcat won't pick up my classes

2002-05-24 Thread Stefan Langer
Hello C:\tomcat\work\localhost\_\Relations\jsp\Logon$jsp.java:56: Class org.apache.jsp.LogonData not found. LogonData user = null; I think you have to specify the fully qualified classname. SO if LogonData is in the package com.yourcompany.LogonData try jsp:useBean id=user

Re: Apcahe's CPU goes to 100%

2002-05-24 Thread Cammy Ng
Please Post it. Thanks - Original Message - From: David Cassidy [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Friday, May 24, 2002 12:58 AM Subject: Re: Apcahe's CPU goes to 100% please post it ! I have seen this with ajp12 (not using ajp13) D Costas Stergiou

Re: how can I put my classes in packages?

2002-05-24 Thread Phillip Morelock
I'm going to post this to the list because a few people have asked off-list about how to make packages for their classes. Once you learn to do this, and put all your classes in packages, it clears up a lot of basic problems, such as the mysterious why can't my JSP find my class? problem. It's

Re: Apcahe's CPU goes to 100%

2002-05-24 Thread Costas Stergiou
ok, just reposting an older message: [helium]/#gdb httpd 24550 GNU gdb 5.0-aix43-010414 Copyright 2000 Free Software Foundation, Inc. GDB is free software, covered by the GNU General Public License, and you are welcome to change it and/or distribute copies of it under certain

RE: JDBC trouble

2002-05-24 Thread Lee Chin Khiong
WHY DON'T YOU TRY TO PUT THE .JAR FILE IN $CATALINA_HOME/COMMON/LIB AND YOUR .JSP IN $CATALINA_HOME/WEBAPPS/ROOT/YOUR_JSP_FOLDER/YOUR_JSP.JSP -Original Message- From: Mauricio Tia Ni Gong Lin [mailto:[EMAIL PROTECTED]] Sent: Friday, May 24, 2002 4:57 AM To: [EMAIL PROTECTED] Subject:

RE: Getting USERNAME/PASSWORD from HTTP headers

2002-05-24 Thread Oscar Jiménez Ribera
request.getUserPrincipal().getName() if you use an auth-method -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]

tomcat + SSL + certificate

2002-05-24 Thread cpeyruqueou
Hello, I try to use tomcat with ssl mode but it doesn't use my certificate. The certificate that the browser receive is a certificate generated by tomcat. For information I am on unix solaris system with tomcat4.0.3 and I do this: $JAVA_HOME/bin/keytool -genkey -alias tomcat -keyalg RSA I put

Re: JavaBeans

2002-05-24 Thread Charles Baker
--- Anibal Constante Brito [EMAIL PROTECTED] wrote: I have the same problem of other, I read a some tutorial too and... public class UserData { String username; String email; int age; public void setUsername( String value ) {... I put in UserData.java and compiled

Re: Servlets

2002-05-24 Thread Charles Baker
--- Anibal Constante Brito [EMAIL PROTECTED] wrote: Hello: I dont understand somthing, I a beginner of Java programming and Tomcat. I read in some tutorial that when a wirte a servlet, just put the .java in \WEB-INF\classes and the tomcat compile this .java in .class, but I tried to do

undefined symbol apt_pool_create when loading mod_jk2.so

2002-05-24 Thread Steinar Bang
Platform: Intel PIII, RedHat 7.2, apache 2.0.35 from the RPM in URL http://ftp.falsehope.com/home/gomez/apache2/, mod_jk2 from the RPM in http://jakarta.apache.org/builds/jakarta-tomcat-4.0/release/v4.0.3/rpms/ When I try starting apache, I get the following

Overriding $CATALINA_BASE/work

2002-05-24 Thread Mark Annal
Hi there, I would like to override the working directory Tomcat uses ($CATALINA_BASE/work by default). I have tried adding a workDir=blah attribute to the Context and DefaultContext tags in server.xml but it appears to have no effect. I tried this within the Tomcat-Apache service since I am

mappings not working with mod_webapp.so, Apache 1.3.23, Tomcat 4.0.3

2002-05-24 Thread Ian Zapczynski
Hello all, I am unable to access my Tomcat web application via Apache. When I try, I get a 404 error and the Apache error log shows that it is looking for the application under my document root. I have: Apache version 1.3.23 Tomcat 4.03 mod_webapp.so from

RE: mappings not working with mod_webapp.so, Apache 1.3.23, Tomcat 4.0.3

2002-05-24 Thread Andy Eastham
Ian, Have you got addModule after loadModule in your httpd.conf file? I've got: # Tomcat / Catalina connector LoadModule webapp_module modules/mod_webapp.so AddModule mod_webapp.c then: # Tomcat connections ANE 20010813 WebAppConnection conn warp 127.0.0.1:8008 WebAppDeploy

Re: mappings not working with mod_webapp.so, Apache 1.3.23, Tomcat 4.0.3

2002-05-24 Thread Ian Zapczynski
Hello Andy and all, I received the same results with or without the AddModule line. When I have the AddModule line in there, I get the following on Apache startup: [warn] module mod_webapp.c is already added, skipping I removed it to avoid the error, but placing it back, my mappings to the

JSP Session

2002-05-24 Thread Mauricio Tia Ni Gong Lin
Hi, Does it must use JavaBeans in order to use session among several jsp files? Is there any simpler solution? I want to maintain a persistent database connection in all jsp files. For example: Create a database object in first jsp file and retrieve it in other jsp files Regards, Mauricio

rookie question

2002-05-24 Thread Mihael Knezevic
hi, i'm quite new to this tomcat and servlet/webapp thing. i'm having trouble deploying my application. what is the basic/smallest web.xml file? what must it contain? i'm having no trouble with the examples, so tomcat is running ok. thanx for your help. -- To unsubscribe, e-mail:

RE: mappings not working with mod_webapp.so, Apache 1.3.23, Tomcat 4.0.3

2002-05-24 Thread Iñaki Agirrezabala
Hi When I was testing tomcat with apache for the first time I had a similar problem. I found a hint in a now forgotten web forum: http://apache.server/examples would not work http://apache.server/examples/ did it's work That was a great day for me ;-D Maybe it will help you too. Iñaki

Re: mappings not working with mod_webapp.so, Apache 1.3.23, Tomcat 4.0.3

2002-05-24 Thread Ian Zapczynski
*smack* Yes, this was my problem. I can't believe I never even tried that. :) Thanks, -Ian Iñaki Agirrezabala wrote: Hi When I was testing tomcat with apache for the first time I had a similar problem. I found a hint in a now forgotten web forum: http://apache.server/examples would

RE: serving servlets from jar files

2002-05-24 Thread Young Neil
When I change the web.xml setting to servlet servlet-nameDateServlet/servlet-name servlet-classcom.test.date.DateServlet/servlet-class /servlet I get: 2002-05-24 09:02:06 StandardWrapper[/cediac01:org.apache.catalina.INVOKER.DateServlet]: Marki ng servlet org.apache.catalina.INVOKER.DateServlet

Setting Content Type and Content Length in Filters

2002-05-24 Thread Madock Chiwenda
Hi, I have been struggling to get PDF output using filters and JSPs in vain. I can get the right output from the tomcat 4.0.3 but header info is incorrect or missing, causing the browsers (IE, Netscape and Opera) to fail to launch a Adobe Acrobat Plugin. I am successful to get the output using

templating system?

2002-05-24 Thread Vincent Stoessel
Hello All, I was wondering if there were any projects out there that provided any kind of database-html templating. I need the ability quickly create web pages that allow users to create/retrieve/update/delete rows from tables that I will be creating. I am doing this with tomcat jsp/javabeans

RE: rookie question

2002-05-24 Thread Young Neil
http://www.onjava.com/pub/a/onjava/2001/04/19/tomcat.html This site has some good information on a basic setup...it has a bare bones web.xml file as part of the example. -Neil -Original Message- From: Mihael Knezevic [mailto:[EMAIL PROTECTED]] Sent: Friday, May 24, 2002 8:07 AM To:

RE: mod_webapp speed

2002-05-24 Thread Sexton, George
By any chance, do you have enableLookup=true in your server.xml file? -Original Message- From: Michael Forster [mailto:[EMAIL PROTECTED]] Sent: 24 May, 2002 12:35 AM To: 'Tomcat Users List' Subject: RE: mod_webapp speed Hi, You might want to download JMeter and test your application

RE: mod_webapp speed

2002-05-24 Thread Michael Forster
Hi, By any chance, do you have enableLookup=true in your server.xml file? Yes, I have. But I have it on both connectors, and disabling it make no difference. Mike -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]

Re: Tomcat won't pick up my classes

2002-05-24 Thread Eric Everman
Is your jsp part of the ROOT application? Each app has its own copy of /WEB-INF/classes /WEB-INF/lib. Also, if you are placing classes directly in the /classes folder, the class file must be placed in nested folders matching the package name of the class - this is probably why some people

RE: tomcat and jce

2002-05-24 Thread Ganey, Todd
Yes it works for me. I have had Tomcat 4.0.X with JCE work in JDK1.3 (with the JCE jars in the appropriate places) and right now I have it working in JDK1.4 . I don't have any suggestions as I have no clue where your program gives up the ghost. But if your problem has to do with getting the

Re: rookie question

2002-05-24 Thread Dennis Muhlestein
For complete web-app details, just check the dtd from sun http://java.sun.com/dtd/ . I have a basic web.xml that just has: web-app /web-app On Fri, 2002-05-24 at 07:07, Mihael Knezevic wrote: hi, i'm quite new to this tomcat and servlet/webapp thing. i'm having trouble deploying my

2 tomcat 3.2.3 instances which bind 2 IP address

2002-05-24 Thread Zhu John-Y17379
Hello, I installed 2 tomcat 3.2.3 instances which bind 2 IP address by following the Larry's instruction. The sever.xml for Tomcat 1 like: !-- Normal HTTP -- Connector className=org.apache.tomcat.service.PoolTcpConnector Parameter name=handler

XML Information

2002-05-24 Thread Brandon Cruz
I know this is not specifically about Tomcat, but I have seen many posts on the list from people that are using XML based applications. We are building an application that takes form data (about 4 pages worth) and stores it in a very large XML file. This data needs to be used later to render

Re: JavaBeans

2002-05-24 Thread Eric Everman
Could this be a package issue as well (see Tomcat can't find my classes)? Classes places in the /classes folder must be in nested folders matching the package name. When you reference this class, you must use the package name, for instance: jsp:useBean id=user

Re: templating system?

2002-05-24 Thread Richard Johnstone
I don't know about that but I use a base servlet which has all the borders etc for the page. You can then have a generic class which converts a vector/result set to display a query in HTML format [EMAIL PROTECTED] 05/24/02 03:13pm Hello All, I was wondering if there were any projects out

Re: XML Information

2002-05-24 Thread Vincenzo Marchese
Brandon Cruz wrote: I know this is not specifically about Tomcat, but I have seen many posts on the list from people that are using XML based applications. We are building an application that takes form data (about 4 pages worth) and stores it in a very large XML file. This data needs to be

Help! Need connection pooling for tc4.

2002-05-24 Thread Mariano . Kamp
Hi, we are about to deploy an application to production and just learned that tomcat 4.0.3 doesn't seem to pool connections. Is there any connection pool (datasource style) available? As it is an intrantet application we are about to deploy and we already know that we

AW: Help! Need connection pooling for tc4.

2002-05-24 Thread Ralph Einfeldt
Have a look at http://www2.gvsu.edu/~millerjr/ResearchPaper.html -Ursprüngliche Nachricht- Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Gesendet: Freitag, 24. Mai 2002 17:50 An: Tomcat Users List Betreff: Help! Need connection pooling for tc4. Is there any connection

Re: JSP Session

2002-05-24 Thread Eric Everman
If the connection (or other object) is to be shared by the entire application, use the application scope. As always, you must be aware of threading issues because any JSP or servlet can access these objects at any time. Eric At 08:11 AM 5/24/2002, you wrote: Hi, Does it must use JavaBeans

Antwort: AW: Help! Need connection pooling for tc4.

2002-05-24 Thread Mariano . Kamp
Hallo Ralph, thanks for your hint, but I haven't found any reference to tomcat or using a connection pool datasource style ... The problem is, WebSphere does have something like this and the suits are just waiting for an opportunity to move our application to WebSphere. Our application does

RE: serving servlets from jar files

2002-05-24 Thread Eric Everman
I would check: -The servlet jar file *must be in /webapps/cediac01/WEB-INF/lib -Look thru you DataServlet import list, is there anything not part of the standard java distribution? (The servlet date classes *are* available to servlets) -Is there a class that DateServlet references that is part

Re: templating system?

2002-05-24 Thread Rick Yoesting
Vincent, Have you looked at the Jakarta sub-projects Struts or Velocity? Perhaps one of these could be just what you're looking for. Rick On Friday, May 24, 2002, at 09:41 AM, Richard Johnstone wrote: I don't know about that but I use a base servlet which has all the borders etc for the

Re: Help! Need connection pooling for tc4.

2002-05-24 Thread David Hewlett
I use poolman successfully with tomcat. Get the source and compile it there is an important bug corrected that is not included in the last distribution! Regards, David. On Friday 24 May 2002 3:50 pm, you wrote: Hi, we are about to deploy an application to production and just learned

Re: templating system?

2002-05-24 Thread Vincent Stoessel
Yeah, I took a brief look at struts and velocity. They are impressive but may be a little too elaborate for what I am trying to do. But maybe I will look a little closer. Rick Yoesting wrote: Vincent, Have you looked at the Jakarta sub-projects Struts or Velocity? Perhaps one of these

Connection Pooling Solution

2002-05-24 Thread Les Hughes
Hi all, Having felt the pain in getting connection pooling to work with TC 4.0.3 I've knocked up a simple howto. This is for TC 4.0.3 JDK 1.4, mySQL 4.0 Alpha so YMMV. Enjoy, Les I Downloaded: Tomcat 4.0.3 LE JDK 1.4 Build mySQL4.0.1 alpha mm.mysql 2.0.14 Jakarta-Commons projects DBCP

Re: clean-up when stopping tomcat

2002-05-24 Thread Larry Meadors
Another option might be the Runtime.getRuntime().addShutdownHook() method. From JDK 1.3: A shutdown hook is simply an initialized but unstarted thread. When the virtual machine begins its shutdown sequence it will start all registered shutdown hooks in some unspecified order and let them run

Re: templating system?

2002-05-24 Thread Jacob Kjome
Hello Vincent, Check out Barracuda at http://barracuda.enhydra.org/ Barracuda uses XMLC ( http://xmlc.enhydra.org/ ) to do DOM manipulation to get the data where you need it in your document. Actually, it extends XMLC and provides another level of abstraction. You can use a templating system

http session synchronization

2002-05-24 Thread Jim Clayson
Hi, A quote from the servlet spec(2.2): 'Multiple servlets executing request threads may have active access to a single session object at the same time. The Developer has the responsibility to synchronize access to resources stored in the session as appropriate.' Does tomcat synchronize

Re: templating system?

2002-05-24 Thread peter lin
what about JSTL sql tags? or dbtags in jakarta taglibs? peter lin VS Hello All, VS I was wondering if there were any projects out there that provided any kind of database-html templating. I need the ability quickly create VS web pages that allow users to create/retrieve/update/delete

Using ANT - Crash course needed

2002-05-24 Thread Donie Kelly
Hi all Is there any good docs out there apart from the apache ones which will get me up to speed with ant quickly. Could somebody answer the following questions... a) Can ant be used to do installs like copying files - editing properties etc... b) Can ant check that the file list has made it

Re: Help! Need connection pooling for tc4.

2002-05-24 Thread Jacob Kjome
Hello Mariano, I use BitMechanic's JDBCPool http://www.bitmechanic.com/projects/jdbcpool/ It works great and is very fast. I have also been trying to use Tomcat standard pooling mechanism, but haven't been very successful. I'll be sticking with BitMechanic for now. Jake Friday, May 24, 2002,

RE: Apcahe's CPU goes to 100%

2002-05-24 Thread Rossen Raykov
Hi there, I'm having very similar problem on Solaris 8 JDK 1.3.1_01and Tomcat 4.0.3. It was even worst with JDK 1.3.1_03-b03 since java was crashing with bug report info. I spend sometime to investigate the problem and I discovered the following: 1. apaches CPU usage grows as it is possible; 2.

Re: templating system?

2002-05-24 Thread Tom Oinn
Vincent Stoessel wrote: Hello All, I was wondering if there were any projects out there that provided any kind of database-html templating. I need the ability quickly create web pages that allow users to create/retrieve/update/delete rows from tables that I will be creating. I am

Re: Using ANT - Crash course needed

2002-05-24 Thread Larry Meadors
[EMAIL PROTECTED] 05/24/02 10:12AM a) Can ant be used to do installs like copying files... Yes. Look at the Copy task: http://jakarta.apache.org/ant/manual/CoreTasks/copy.html ...editing properties etc. Not sure what you want to do here... b) Can ant check that the file list has made it

[OT] Re: Using ANT - Crash course needed

2002-05-24 Thread Drew Sudell
Donie Kelly writes: Hi all Is there any good docs out there apart from the apache ones which will get me up to speed with ant quickly. Could somebody answer the following questions... There are pointers to a number of articles, examples, FAQs etc on Ant on the resources page for the

RE: Openssl

2002-05-24 Thread KUMAR,PANKAJ (HP-Cupertino,ex1)
From: Lee Chin Khiong [mailto:[EMAIL PROTECTED]] IS IT POSSIBLE TO DESCRIBE IN DETAIL WITH EXAMPLE. I STILL DON'T GET YOU Okay. I will document the steps at the earliest and circulate it to tomcat user list ( whenever the demands of my paid day job allows me to do so ) And yes,

Incomplete RPM Tomcat Distribution?

2002-05-24 Thread Keith Irwin
Folks-- I've recently been struggling with Tomcat's default connection pool mechanism as have many people of late. What I discovered was this: The binary tarball distribution of Tomcat 4.0.3 contains the necessary jars (tyrex, the tyrex hooks in naming-factory.jar, a later version of jdbc

Re: Antwort: AW: Help! Need connection pooling for tc4.

2002-05-24 Thread Phillip Morelock
http://examples.oreilly.com/jserverpages/ There is a GREAT SQL abstraction package that gives the appearance of a DataSource. This package rocks. fillup On 5/24/02 9:02 AM, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Hallo Ralph, thanks for your hint, but I haven't found any reference

Re: JavaBeans

2002-05-24 Thread Phillip Morelock
On 5/24/02 7:39 AM, Eric Everman [EMAIL PROTECTED] wrote: Could this be a package issue as well (see Tomcat can't find my classes)? Classes places in the /classes folder must be in nested folders matching the package name. When you reference this class, you must use the package name, for

I am trying to find the answer to this one for the last few days : Pl hep

2002-05-24 Thread Sankaranarayanan (Ganesh) Ganapathy
Hi All, I am resending this mail for the nth time hoping to get an answers from the experts here. Anyway my question is if the following is a supported config: I want to run multiples instances of embedded Tomcat all against the same base directory. Is such a configuration supported?

Re: JSP Session

2002-05-24 Thread Phillip Morelock
Putting a database connection into each session is a very bad idea. If you get 10 users with open sessions, this means you'll have 10 open, idle database connections most of the time. If you have 20 sessions...I'll put it this way -- I have an application that has been running for months with

RE: [OT] Re: Using ANT - Crash course needed

2002-05-24 Thread Donie Kelly
Hi all Thanks for your input on Ant. When I asked about the file list issue I was wondering if we could specify a file list that we expected to be in the war and that it would just do a double check at the end to verify we had all files... We currently have problems with make system and this can

[Proposal] Tomcat and Cactus (Repost)

2002-05-24 Thread Vincent Massol
I'm reposting in the secret hope that I got no response to this email I sent last week because no one saw it in the flood of Tomcat emails ! If I get no answer this time, I will understand that no one finds this of interest and will try again in 6 months - 1 year :-) Thanks -Vincent Hi

RE: http status 500 internal error when loading localhost:8080

2002-05-24 Thread Whitcomb, Roger
Can you load ANY Tomcat examples or Doc? Is this the default index.jsp in the Tomcat installation? Did you set JAVA_HOME in your system environment? Is Tomcat running as a service or from the command line? I have not had problems like this on Win2k with Tomcat 4.0.3, but I was running the

Re: [Proposal] Tomcat and Cactus (Repost)

2002-05-24 Thread Phillip Morelock
I'm not familiar with Cactus, but integrated testing/debugging of any official kind would be quite nice. fillup On 5/24/02 10:15 AM, Vincent Massol [EMAIL PROTECTED] wrote: I'm reposting in the secret hope that I got no response to this email I sent last week because no one saw it in the

RE: I am trying to find the answer to this one for the last few days : Pl hep

2002-05-24 Thread Larry Isaacs
What is officially supported is documented in section 4 of the RUNNING.txt document: http://jakarta.apache.org/tomcat/tomcat-4.0-doc/RUNNING.txt or http://jakarta.apache.org/tomcat/tomcat-4.1-doc/RUNNING.txt If you want to deviate from this, I recommend you go ahead and try it. Then post if

RE: 2 tomcat 3.2.3 instances which bind 2 IP address

2002-05-24 Thread Whitcomb, Roger
What OS are you running? If *nix, then generally to access low-number ports you need root user permissions. There have been other postings to this mailing-list about this in the last few weeks. I believe that is why you are getting permission errors. Roger Whitcomb Computer Associates

context manager app in server.xml

2002-05-24 Thread Dan K.
Hi, Does anyone know what the privileged attribute mean for a Context entry for the manager app in server.xml? Context path=/manager docBase=manager debug=0 privileged=true/ Thanks, Dan -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail:

RE: Incomplete RPM Tomcat Distribution?

2002-05-24 Thread Jason Corley
Keith, You may get some discussion going on this list but I think this may be one you want to transfer to tomcat-dev. My suspicion is that the tyrex packages are available either as a separate package (from the tyrex distributors or http://www.jpackage.org/) or indeed there is some licensing

Sessions how to use?

2002-05-24 Thread Scott C Strecker
I am trying to utilize Session Tracking in a servlet under tomcat 4.0.3. When I try a simple example I get the following error in my log file. java.lang.NoClassDefFoundError: org/apache/tomcat/util/http/ServerCookie at org.apache.tomcat.util.http.Cookies.addCookie(Cookies.java:180,

loading application scope variables ?

2002-05-24 Thread Richard Diaz
where/how do I run my servlet that loads my application scope variableson the start up of Tomcat ? thanks =) Rich __ Do You Yahoo!? LAUNCH - Your Yahoo! Music Experience http://launch.yahoo.com -- To unsubscribe, e-mail: mailto:[EMAIL

Re: Sessions how to use?

2002-05-24 Thread Phillip Morelock
please provide source code, or maybe at least the relevant lines. what is the fully qualified class name of your servlet? also if you send source code please include any import or package statement lines. fillup On 5/24/02 11:03 AM, Scott C Strecker [EMAIL PROTECTED] wrote: I am trying to

Re: loading application scope variables ?

2002-05-24 Thread Phillip Morelock
search google for tomcat load-on-startup web.xml hit I'm feeling lucky...then Find (ctrl-f or cmd-f) the phrase load-on-startup on that page. the rest of it is not relevant. fillup On 5/24/02 11:13 AM, Richard Diaz [EMAIL PROTECTED] wrote: where/how do I run my servlet that loads my

Can't find any SSL implementation error

2002-05-24 Thread carlos1 . rivera
I have the JSSE_HOME set to the lib directory of the JRE1.4 and the classes in the classpath am I missing something like modifying the java.security file in any way. ___ Carlos Javier Rivera Vazquez GE Network Solutions 1990 West Nasa Blvd. Melbourne,

Re: Sessions how to use?

2002-05-24 Thread Scott C Strecker
I am using the example program from the O'Reilly book Java Servlet Programming by Jason Hunter. The code/servlet will run once and then hang. The log file contains the error about the class ServletCookie that I mention previous. Scott CODE

RE: I am trying to find the answer to this one for the last few days : Pl hep

2002-05-24 Thread Sankaranarayanan (Ganesh) Ganapathy
Hi Larry, Thanx for writing. I am just trying to understand from tomcat developers like you if there is anything in the way Tomcat4.0.3 works today that forbids such a configuration - why the official configurations supported mandates that every tomcat instance have its own base directory.

Re: Sessions how to use?

2002-05-24 Thread Phillip Morelock
java.lang.NoClassDefFoundError: org/apache/tomcat/util/http/ServerCookie at org.apache.tomcat.util.http.Cookies.addCookie(Cookies.java:180, Compiled Code) That's odd -- I can't find this package in the tomcat source distribution. Weird. Maybe this is in the servlet api package?

[REPOST] Tomcat 3.2.3 running as a service in Win2k

2002-05-24 Thread Evans, Sean
To all, I have been attempting to get Tomcat 3.2.3 to run a service in Win2k without any luck. The service installs but will not start and generates no error. The servlet will run standalone on the same machine and seems to be working correctly. This is the first time I have ever worked with

RE: [REPOST] Tomcat 3.2.3 running as a service in Win2k

2002-05-24 Thread Wagoner, Mark
If at all possible, I would move to Tomcat 4. The installation program has a run as service option. That way it is configured for you. -Original Message- From: Evans, Sean [mailto:[EMAIL PROTECTED]] Sent: Friday, May 24, 2002 3:23 PM To: '[EMAIL PROTECTED]' Subject: [REPOST] Tomcat

  1   2   >