RE: DataSource error (DBCP)

2002-12-23 Thread sunil . kumar
i've already done that somehow i compiled :) DBTest.java and where should i place the DBTest.class file. EVERYWHERE I TRIED :(. anyone can answer ? regards and thanks sunil

Re: Server Hangs Up when lookup for jndi name is made. (URGENT)

2002-12-23 Thread Peng Tuck Kwok
Check out the parameter name validationQuery, either remove it or provide it a sql select statement. so that it looks like: parameter namevalidationQuery/name valueselect * from dummytable/value /parameter The table has to be valid and (apparently) cannot return zero rows according to

Re: DataSource error (DBCP)

2002-12-23 Thread Peng Tuck Kwok
Could you post your source code for the java code? Sounds like you are missing javax.sql.* , but can't be sure until someone has a look at it. [EMAIL PROTECTED] wrote: i've already done that somehow i compiled :) DBTest.java and where should i place the DBTest.class file. EVERYWHERE I TRIED

Re: DataSource error (DBCP)

2002-12-23 Thread sunil . kumar
http://jakarta.apache.org/tomcat/tomcat-4.1-doc/jndi-datasource-examples-how i cut and paste the source codes for MYSQL Example... u r right... first error was javax.sql.* missing... but i included all the directories in classpath that error cleared.. this is the jsp file... DBTest is the

Re: global naming resource not available in webapp

2002-12-23 Thread Klaas van der Ploeg
Thanks. I got it working now. But, it still does not work within the DefaultContext. It is only working when I have the ResourceLink in the Context element. According to the docs (http://jakarta.apache.org/tomcat/tomcat-4.1-doc/config/defaultcontext.html) it should be working fine this way.

Howto for JK2 for IIS ?

2002-12-23 Thread Christopher Watson
I've just looked at Robert Sowder's howto for JK2 in Windows and wondered if similar thing exists for IIS I do have a configuration working, and could produce a draft of a possible document, BUT could someone comment in the following queries? 1) There is no isapi_redirector2.dll included

Re: DataSource error (DBCP)

2002-12-23 Thread Peng Tuck Kwok
Hmm, does it work yet or are you still experiencing some problems ? [EMAIL PROTECTED] wrote: http://jakarta.apache.org/tomcat/tomcat-4.1-doc/jndi-datasource-examples-how i cut and paste the source codes for MYSQL Example... u r right... first error was javax.sql.* missing... but i included all

Re: DataSource error (DBCP)

2002-12-23 Thread sunil . kumar
while executing ... http://195.54.247.110:8080/DBTest/test.jsp getting the error message org.apache.jasper.JasperException: Unable to compile class for JSP An error occurred at line: 6 in the jsp file: /test.jsp Generated servlet error: [javac] Compiling 1 source file

How to configure JNDI resource with connection pool?

2002-12-23 Thread Andrew Guts
Hi all, I want to use pooled data source with my application. I guess a factory parameter for the resource shoud be provided. Which one from the class hierarchy? By the way where can I find detailed documentation, describing Tomcat classes, including javadocs? Thank you for support. Andrew

which connector to use?

2002-12-23 Thread Gery Kahn
Hi! I have to understand which connector to use w/ Apache 1.3 and Tomcat 4.1.18 I believe there are 3 options: jk, jk2 and webapp. -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]

Web app specific Listener (was Re: Listener Element in Context: class not found Exception)

2002-12-23 Thread Tobias Dittrich
Hi, thanks for the answer, now I think I know where I got wrong. Listener elements are tomcat server extensions rather than web app elements. But this leads to my next question: how can I define web app sepcific listeners? My goal is to have some application wide global jobs like reading

Re: DataSource error (DBCP)

2002-12-23 Thread Manavendra Gupta
tomcat 4.x doesn't like classes in the root directory - place that class into a package and then try again. - Original Message - From: [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Monday, December 23, 2002 12:42 AM Subject: Re: DataSource error (DBCP) while

Re: DataSource error (DBCP)

2002-12-23 Thread Klaas van der Ploeg
Put your .class files in $CATALINA_HOME/webapps/$YOUR_APP/WEB-INF/classes (preferably in packages under this directory) Use an import statement to include a class in the top of your jsp: %@ page language=java import=some.package.DBTest % Rgrds. Klaas From: [EMAIL PROTECTED] Reply-To: Tomcat

OK Re: ClassCastException Conn=dataSource.getConnection();

2002-12-23 Thread shawn
I see now. Thanks. My confusion was this in server.xml !-- Tomcat Root Context -- !-- Context path= docBase=ROOT debug=0/ -- so I had Context path= docBase=root debug=5 reloadable=true crossContext=true... instead of Context path=/root docBase=root

RE: Error in autocompiling JSP files in 4.1.12 standalone

2002-12-23 Thread Deepa Raja
Hi Kailash, I had same problem and mailed tomcat group. I was told that this is due to the version of jdk. Please upgrade your j2sdk to 1.4.1.01 and it should sort your compilation problem. Thanks Deepa -Original Message- From: Kailash Kalyani [mailto:[EMAIL PROTECTED]] Sent: Sunday,

sample workers2.properties file

2002-12-23 Thread Deepa Raja
Could some one send a sample workers2.properties file used by mod_jk2. Thanks Deepa This email has been scanned for all viruses by the MessageLabs SkyScan service. For more information on a proactive anti-virus service

RE: Error in autocompiling JSP files in 4.1.12 standalone

2002-12-23 Thread Jason Pyeron
it looks like Kailash is running v1.4.1 rel 01 I have two guesses as to why the errors are occuring: 1: more than one jdk installed 2: for jdk 1.4.x classpath should not be set, further it should use \ not / under windows. my recommendation is to Start-Find [all local drives] java*.exe

a sure way to work with tomcat under windows NT/2000/XP

2002-12-23 Thread Jason Pyeron
this seems to be a recurring theme here: these steps I give out to my clients, if they are followed without variation then tomcat will run happilly. Downloads: 1: download jdk 1.4.1_01 from http://java.sun.com/webapps/download/Display?BundleId=7150 2: download tomcat 4.1.12 from

Is the web.xml file mandatory?

2002-12-23 Thread Raj
Hi all, I am new to Tomcat. I used Java Web Server all these days. I have a few servlets and a few HTML pages. In one HTML page, when I submit a form, I want a servlet to do the action part. My question is, where do I put my servlet .class files, and is the web.xml that defines my webapp

Servlet problem

2002-12-23 Thread Dishan Fernando
Hi all Hi new to this group., but i want to know is how to config. servlet as a wellcome file thx Regards D i s h a n -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]

Installation Tomcat Configuration on Windows 2000 server

2002-12-23 Thread Tan Pei Leng
Dear all, does any know about where(url/ doc) to get the guide of the above subject? I need that urgently. Previously, I installed Tomcat on Windows 2000 Professional; and deployed jspservlets into it. It has been running well, no need to restart Tomcat service frequently, unless I

[ANNOUNCE] Pager Tag Library v2.0 released

2002-12-23 Thread James Klicman
The Pager Tag Library v2.0 has been released. This version includes many new features and is compatible with Tomcat 4.1.x and higher. Features of this release include: * New pg:pager attributes: index, items, export and scope. * New tags: pg:page, pg:first, pg:last and pg:skip. *

Re: ClassCastException Conn=dataSource.getConnection();

2002-12-23 Thread Andy Meadows
It's because jdbc is not a datasource, it's a container (or something similar. I have not the time to look it up). In your server.xml/web.xml files you should have a resource that's probably named jdbc/myConnection. Your code should read dataSource2=(DataSource)ctx.lookup(

RE: a sure way to work with tomcat under windows NT/2000/XP

2002-12-23 Thread Kingsley Omon-Edo
Hello Jason, My name is Kinsley and I am new to Tomcat. I have successfully installed the Jakarta Tomcat on Windows 2000 Advanced Server. It seems to be OK for now as I have not done so much with it. I noticed that there are some differences between your procedures and the one I followed.

Multiple Tomcat-IIS redirection.

2002-12-23 Thread Nir Bregman
Hi. I have a problem to redirect IIS to Tomcat installation in case i have more than one Tomcat installation on my computer. I'm working on win2000, and have two separated Tomcat installations on a single machine. I need IIS redirect filters to be installed - one filter for each Tomcat. The

RE: Server Hangs Up when lookup for jndi name is made. (URGENT)

2002-12-23 Thread Ashruf Hussain
Hi Peng and All, Looks like it should have worked, even with empty sql query string. Here are some more clarifications that arouse to my mind: 1. Ok we write a valid query, suppose, a 'select *' query, what is the purpose of this query, how does pooling related it, does it check by running

Re: sample workers2.properties file

2002-12-23 Thread Anthony Marlowe
Hi Deepa, Here is one that is running on Mac OS X. workers2.properties Description: Binary data The paths will be different. Tony On Monday, Dec 23, 2002, at 11:20 Europe/Berlin, Deepa Raja wrote: Could some one send a sample workers2.properties file used by mod_jk2. Thanks Deepa

off-topic: reports

2002-12-23 Thread Felipe Schnack
Anyone know a good and easy to use framework to generate pdf reports? I just need simple formatting (fonts, tables, etc) and some simple charts (pie and bar reports) -- Felipe Schnack Analista de Sistemas [EMAIL PROTECTED] Cel.: (51)91287530 Linux Counter #281893 Centro Universitário Ritter

RE: mod_jk...again

2002-12-23 Thread Justin L. Spies
Jerry, I've never tried building mod_jk from source as the files always existed on the Jakarta website. Although I don't see it here, are you looking to perform a customized compile? If not, is there another reason to compile from source instead of using the binaries? I've never had any

RE: why can't tomcat 4.1.17 can't find javamail?

2002-12-23 Thread Cox, Charlie
is your bean in WEB-INF/classes(or lib) or in the same directory as mail.jar? did you review the classloading document to make sure your classses/libs are in the correct places? http://jakarta.apache.org/tomcat/tomcat-4.1-doc/class-loader-howto.html Charlie -Original Message- From:

RE: Is the web.xml file mandatory?

2002-12-23 Thread Shapira, Yoav
Hi, Welcome ;) The deployment descriptor (web.xml) is necessary. Many of your questions will be answered here: http://jakarta.apache.org/tomcat/tomcat-4.1-doc/appdev/index.html There are also many books and tutorials online regarding servlets, webapps, etc. You might find those useful ;)

RE: Unhandled Exceptions in 4.1.18

2002-12-23 Thread Shapira, Yoav
Howdy, I have been taking a look at the source for 4.1.18 - and have noticed a few problems with three classes in the org.apache.catalina.mbeans package... Have you actually run into runtime problems? This case shouldn't be that hard to test: come up with a resource string that would generate

Re: Servlet problem

2002-12-23 Thread Jacob Kjome
You can't do that directly. Set up an html file or a jsp file with a redirect to the servlet you want. I believe this will be possible in Servlet-2.4 (Tomcat 5), but not in Servlet-2.3 (Tomcat 4.x.x). Jake At 02:21 PM 12/23/2002 +0600, you wrote: Hi all Hi new to this group., but i want

RE: a sure way to work with tomcat under windows NT/2000/XP

2002-12-23 Thread Jacob Kjome
You should set up your variables under System instead of User because if you run Tomcat as a service, the User variables will not be read. Also, Tomcat doesn't care about the system classpath. J2EE_HOME is fine to set if you need that for something else. Tomcat doesn't need it. Also,

RE: a sure way to work with tomcat under windows NT/2000/XP

2002-12-23 Thread Kingsley Omon-Edo
Thanks for the advice. I will implement these changes right away and keep you posted. Kingsley Omon-Edo, Developer, MTech Communications Ltd -Original Message- From: Jacob Kjome [mailto:[EMAIL PROTECTED]] Sent: Monday, December 23, 2002 3:17 PM To: Tomcat Users List Subject: RE: a

Re: off-topic: reports

2002-12-23 Thread Marco Baiguera
I found (yet not tried) jasperReports, or iText to generate pdf. - Original Message - From: Felipe Schnack [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Monday, December 23, 2002 1:43 PM Subject: off-topic: reports Anyone know a good and easy to use framework to

Running tomcat 4.0.4 with j2sdk1.4.1 on redhat 7.3 dual processror gives out of memory error in syslog messages

2002-12-23 Thread Venkat Reddy Valluri
Hi, I am sorry, Iam posting this question again, as I didn't get any response for this question I am running tomcat 4.0.4 on redhat 7.3 dual processor machine(2-4-18-3SMP) with j2sdk1.4.1 for my web application, The problem is after couple of hours(6 or 7 hours after 7 or more

tomcat + ssi for servlets

2002-12-23 Thread Jubair Hasan
Hello Im having trouble getting Tomcat to run servlets within .shtml files. I did as instucted below (shown on http://jakarta.apache.org/tomcat/tomcat-4.1-doc/ssi-howto.html) Rename $CATALINA_BASE/server/lib/servlets-ssi.renametojar to $CATALINA_BASE/server/lib/servlets-ssi.jar. Remove the XML

Tomcat 4.1.18 and Acutate Portal

2002-12-23 Thread mmartinez
I am using Tomcat 4.0.6 and Actuate Portal 6.0. It works file but if I install Tomcal 4.1.xx, it can not compile the classes. Does anyone uses Actuate Portal and Tomcal 4.1.xx Mariano Martinez Systems Analyst mailto:[EMAIL PROTECTED] Fax: (847) 267-8625 Ph: (847) 572-5435 -- To unsubscribe,

Tags

2002-12-23 Thread Lindomar
I don't know if this question is off-topic...but... I'm looking for a simple example of tag in jsp, for example hello World, today is ... But i can't find this, i found complex examles that works fine, but i don't understand yet, so i need get a simple example for understand the behavior this

Re: DataSource error (DBCP)

2002-12-23 Thread sunil . kumar
that's cool!!! worked. bringing attention to my old problem like i'm unable to compile DBTest.java (i compiled the same in another machine where oracle 9i is running, and copied to the machine where tomcat is running :)) I tried to compile DBTest.java and ended up an error Type

Session not persistent - Was AIX JVM Bug?

2002-12-23 Thread Andy Meadows
On two separate boxes running AIX 4.3.3 and Java for AIX 1.3.1 (distributed by IBM), I have run into a problem where session state is not being persisted and it would seem that the servlet context is failing too. My problem exists solely on AIX. Using Tomcat 4.1.x on Windows 2000 and RedHat Linux

Mod_jk - won't execute jsp or servlets

2002-12-23 Thread Denise Mangano
Thanks to all your help, I've gotten over some bumps. As it stands I can access any static pages in the Tomcat directory without having to type port 8080 ( i.e. I can access http://localhost/examples/servlets/index.html. However, whenever I try to execute a servlet or JSP it hangs indefinitely.

server.xml external includes

2002-12-23 Thread Gery Kahn
I want to create external xml file w/ Host tags inside and to include it to the Tomcat's server.xml How to do it? -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]

RE: Mod_jk - won't execute jsp or servlets

2002-12-23 Thread PELOQUIN,JEFFREY (HP-Boise,ex1)
You may have posted this already but I could not find it in among all the emails over the weekend but could you post/repost your workers.properties file as well as the connector from your server.xml you setup to accept JK/ajp1.3 connections For the workers.properies you need to make sure that you

How to find Tomcat port from init()?

2002-12-23 Thread kruger.stephen
Hi all, Is there any way to know the servlet base url and port number so I can , for example, start a Jini registry from the init() method of HttpServlet, since I need this information to calculate the codebase property. I could have an initialisation parameter in my web.xml file for that

RES: Still can't get JNDI DataSource

2002-12-23 Thread Iran Marcius
Well, I tried to use this configuratio but didn't work (I was expecting that). Any other hints? If helps, I'm trying to get my Datasource inside a context that is configured inside a virtual host. Does it metter? iran -Mensagem original- De: Iran Marcius [mailto:[EMAIL PROTECTED]]

RE: Mod_jk - won't execute jsp or servlets

2002-12-23 Thread Denise Mangano
Hello :) Here is the content of my workers.properties file: worker.list=worker1 worker.worker1.type=ajp13 worker.worker1.host=www.ptpweb.com worker.worker1.port=8009 In my server.xml file I have left everything as the defaults. Right now there are only two connectors that are NOT commented out

Mod_jk/Tomcat issue?

2002-12-23 Thread Ben Ricker
We saw a strange production issue this morning that seems to be related to Apache/mod_jk but I wanted to see if anyone can shed some lght on it. First, the environment: 2 Redhat 7.3 Linux server talking to 2 Sun Solaris 8 Tomcat 4.0.6 servers. Each server has 2 separate Tomcat instances for a

RE: Mod_jk - won't execute jsp or servlets

2002-12-23 Thread Denise Mangano
Sorry - the server.xml file I posted was not the correct current (default) one - I had made some changes to try to trouble shoot, and sent the wrong one by mistake.. The one connected to this email - is the correct one. Thanks. Denise Mangano Help Desk Analyst Complus Data Innovations, Inc.

Re: Mod_jk - won't execute jsp or servlets

2002-12-23 Thread Milt Epstein
On Mon, 23 Dec 2002, Denise Mangano wrote: Thanks to all your help, I've gotten over some bumps. As it stands I can access any static pages in the Tomcat directory without having to type port 8080 ( i.e. I can access http://localhost/examples/servlets/index.html. However, whenever I try to

RE: Mod_jk - won't execute jsp or servlets

2002-12-23 Thread PELOQUIN,JEFFREY (HP-Boise,ex1)
In the attached server.xml, active ajp13 is - !-- Define an AJP 1.3 Connector on port 8009 -- Connector className=org.apache.ajp.tomcat4.Ajp13Connector port=8009 minProcessors=5 maxProcessors=75 acceptCount=10 debug=0 / the one you show below is actually commented out in the file That

Re: DataSource error (DBCP)

2002-12-23 Thread sunil . kumar
sorry for replicating the same query!!! anyone can help TIA bringing attention to my old problem like i'm unable to compile DBTest.java (i compiled the same in another machine where oracle 9i is running, and copied to the machine where tomcat is running :)) I tried to compile DBTest.java and

Re: mod_jk...again

2002-12-23 Thread Jerry Ford
Justin: My only objective is to get a working copy of mod_jk. I downloaded a binary from John Turner's how-to page (I cannot find binary connectors on the jakarta website---what URL do you have for them?) but I have so far been unable to make it work. I now think it's my configuration, not

RE: Mod_jk - won't execute jsp or servlets

2002-12-23 Thread Hamilton, Andrew
Denise, I am basically doing what you are trying to do. I'm running Apache/SSL with Tomcat using the mod_jk connector. Here are my configs. These are working on my server which is Solaris but the flavor shouldn't matter. I hope these help you get it going. Regards, Drew -Original

RE: Mod_jk - won't execute jsp or servlets

2002-12-23 Thread Denise Mangano
Tomcat is up and running - I can view and execute examples by using :8080. If the port that Tomcat is listening on is set by workers.properties, then that would be port 8009. Where Apache is expecting it to listen on I am not sure. The email I sent was correct - the uncommented ports are those

RE: Mod_jk - won't execute jsp or servlets

2002-12-23 Thread Denise Mangano
My apologies - I sent the updated server.xml right after. I had actually originally followed John's how-to but couldn't even get to the static pages in my webapps directory. So based on someon else's suggestion, I opted not to use the mod_jk.conf file and instead place directives directly

RE: Mod_jk - won't execute jsp or servlets

2002-12-23 Thread Milt Epstein
-Original Message- From: Denise Mangano [mailto:[EMAIL PROTECTED]] Sent: Monday, December 23, 2002 11:16 AM To: 'Tomcat Users List' Subject: RE: Mod_jk - won't execute jsp or servlets Hello :) Here is the content of my workers.properties file: worker.list=worker1

RE: Mod_jk - won't execute jsp or servlets

2002-12-23 Thread Denise Mangano
Drew, Thanks - I will look at the files and compare. Denise Mangano Help Desk Analyst Complus Data Innovations, Inc. -Original Message- From: Hamilton, Andrew [mailto:[EMAIL PROTECTED]] Sent: Monday, December 23, 2002 11:44 AM To: Tomcat Users List Subject: RE: Mod_jk - won't execute

RE: Mod_jk - won't execute jsp or servlets

2002-12-23 Thread Milt Epstein
On Mon, 23 Dec 2002, Denise Mangano wrote: Tomcat is up and running - I can view and execute examples by using :8080. OK, that means Tomcat standalone is working (as controlled by the Coyote Http Connector onport 8080) If the port that Tomcat is listening on is set by

RE: Mod_jk - won't execute jsp or servlets

2002-12-23 Thread PELOQUIN,JEFFREY (HP-Boise,ex1)
have you tried using the non-coyote ajp onnector that is provided in the server.xml? All the Tomcat Docs say the coyote one is for use with JK2. While i thought I have seen on this list that people use it with JK, you may be in a weird niche. -Original Message- From: Denise Mangano

Re: Tags

2002-12-23 Thread Jacob Kjome
Hello Lindomar, http://jakarta.apache.org/tomcat/tomcat-4.1-doc/appdev/index.html Jake Monday, December 23, 2002, 8:08:10 AM, you wrote: L I don't know if this question is off-topic...but... L I'm looking for a simple example of tag in jsp, for example hello World, today is ... L But i can't

ssl configuration in tomcat

2002-12-23 Thread Davendra Kumar
hi everyone... i hope anyone can help me in this problem i 've installed Apache Tomcat 4.1.12LE and j2sdk1.4.1 .Yesterday i tried configuring SSL in tomcat for my login page. so i followed the steps provided in the documentation. the documentation said choose JSSE an installed extension by

javax.sql.datasource

2002-12-23 Thread sunil . kumar
hi all, where i can find out javax.sql.datasource (in which .jar file) TIA best regards sunil -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]

RES: Mod_jk - won't execute jsp or servlets

2002-12-23 Thread Denise Mangano
I don't know what else to say But YAY! :-P Milt - it looks like the timeout was what was doing it. Weird thing is - I didn't edit that. Unless I did something by mistake that is the way that it was shipped!! Everything is working great!! I can access all static pages as well as execute

RE: Mod_jk - won't execute jsp or servlets

2002-12-23 Thread PELOQUIN,JEFFREY (HP-Boise,ex1)
Denise, Since this week I was scheduled to update our HP-UX apache to latest version which does include mod_jk support, I did the install this morning. My installation with tomcat 4.1.18 does work with the default connectionTimeout=0. I would be interested to know if you change it back to 0, if

Re: Tags

2002-12-23 Thread Paul Campbell
This book has good examples and explanations. See Chapter 14 At 12:08 PM 12/23/2002 -0200, you wrote: I don't know if this question is off-topic...but... I'm looking for a simple example of tag in jsp, for example hello World, today is ... But i can't find this, i found complex examles that

Re: Tags

2002-12-23 Thread Matt Harris
What book? Paul Campbell wrote: This book has good examples and explanations. See Chapter 14 At 12:08 PM 12/23/2002 -0200, you wrote: I don't know if this question is off-topic...but... I'm looking for a simple example of tag in jsp, for example hello World, today is ... But i can't

Re: RES: Mod_jk - won't execute jsp or servlets

2002-12-23 Thread Jerry Ford
Denise: Yes, please :) I am still in the sinking boat.---Apache works fine by itself, Tomcat works fine by itself (example servlets all work, as well as my own HelloWorld), but Apache-Tomcat through mod_jk does not work. At the moment, I can't even display the HTML pages in the examples.

RE: install vs. deploy

2002-12-23 Thread Zabel, Ian
mkdir dir=${build.home}/META-INF/ copy file=${basedir}/context.xml todir=${build.home}/META-INF/ and now it's ok. However, since Ant creates META-INF directory automatically (and even puts MANIFEST.MF into it) I wonder if what I did is unnecessary and whether there's some property or

RE: Mod_jk - won't execute jsp or servlets

2002-12-23 Thread Denise Mangano
Jeff, Wow, this is very strange. You got me curious as well, and I did change it back to 0 (mind you I was very scared to) . Oddly enough, everything still works. I even tried executing some of the examples that I hadn't accessed yet to make sure it wasn't working from classes that were built

RE: Mod_jk - won't execute jsp or servlets

2002-12-23 Thread PELOQUIN,JEFFREY (HP-Boise,ex1)
I am guessing you had it working at some point in the past but tomcat and apache did not get both get restarted in the right order, Tomcat must be fully up before you start apache A restart scenario we use since tomcat does not always shutdown nicely on HP-UX: stop apache stop tomcat execute ps

RE: RES: Mod_jk - won't execute jsp or servlets

2002-12-23 Thread PELOQUIN,JEFFREY (HP-Boise,ex1)
Jerry here are extracts of what I just used, I use 17080 instead of 8009 make sure that the ps is properly defined in the workers.properties for NT ps=\ server.xml !-- Define a Coyote/JK2 AJP 1.3 Connector on port 8009 -- Connector className=org.apache.coyote.tomcat4.CoyoteConnector

RE: Mod_jk - won't execute jsp or servlets

2002-12-23 Thread Jeff Tulley
Denise, What version of Tomcat are you using? One thing to remember is that the CoyoteConnector JkHandler in Tomcat 4.1.(7?) up to about 4.1.14 looked into jk2.properties file for its configuration, ignoring the port value specified in server.xml. Then what it did was assume you wanted some

RE: [OT] Mod_jk - won't execute jsp or servlets

2002-12-23 Thread PELOQUIN,JEFFREY (HP-Boise,ex1)
My own experience is that if apache comes up before tomcat, you will have an 80% or greater chance of failure and need to do a manual restart of both tomcat and apache. On the flip side, if you have apache and tomcat up and running nicely and do a tomcat restart, I need to restart apache 10% to

with the URL Re: Tags

2002-12-23 Thread Paul Campbell
http://pdf.coreservlets.com/ At 09:31 AM 12/23/2002 -0800, you wrote: This book has good examples and explanations. See Chapter 14 At 12:08 PM 12/23/2002 -0200, you wrote: I don't know if this question is off-topic...but... I'm looking for a simple example of tag in jsp, for example hello World,

Re: with the URL Re: Tags

2002-12-23 Thread Lindomar
Ok, thanks for all the messages!! Lindomar. - Original Message - From: Paul Campbell [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Monday, December 23, 2002 15:55 Subject: with the URL Re: Tags Venha para a VilaBOL! O melhor lugar para você construir seu site.

RE: Robert Sowder's howto for JK2 in Windows

2002-12-23 Thread Rafael Fernandez
Thank you! In just 5 minutes I got mod Jk2 running and I didn't had to go through all that hassle that other people go through! -Original Message- From: Robert L Sowders [mailto:[EMAIL PROTECTED]] Sent: Monday, December 23, 2002 1:30 AM To: Tomcat Users List Subject: Re: Robert

RE: RES: Mod_jk - won't execute jsp or servlets

2002-12-23 Thread Denise Mangano
Jerry, I did not user mod_jk.conf. Instead I removed the Include statement and placed the directives inside httpd.conf itself. I went ahead and attached my files, but it looks like you have a couple of sets to compare to already... In my httpd.conf I did not place everything just at the bottom

Reading property files from a package hierarchy in Tomcat4.1.12

2002-12-23 Thread Shrotriya, Sumit
Hi All, I am trying to read a property file from a package hierarchy. i.e. I have a service(that I don't have much control over) that reads a property file for a location such as com/sample/property/some.prop This worked fine when I was using Tomcat 3.3 but does not work with

Sealing Violation due to inclusion of LifeCycle?

2002-12-23 Thread Randy Secrist
I have been building classes inherited from the org.apache.catalina.realmbase package, and have been struggling with where to put them. One of the reason's I have been doing this is to expose TC's realm implementation within my web applications. The best solution I have found so far is to

Re: How to configure JNDI resource with connection pool?

2002-12-23 Thread Craig R. McClanahan
On Mon, 23 Dec 2002, Andrew Guts wrote: Date: Mon, 23 Dec 2002 10:55:16 +0200 From: Andrew Guts [EMAIL PROTECTED] Reply-To: Tomcat Users List [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Subject: How to configure JNDI resource with connection pool? Hi all, I want to use

virtual host problems...

2002-12-23 Thread Nick Stuart
Ok, I have tomcat and apache running together nicely but am having a problem getting the virtual hosting for it to work. Right now when I go to: VirtualHost vort112 ServerName vort112 Alias /examples /usr/local/tomcat/webapps/examples Directory /usr/local/tomcat/webapps/examples

Re: Web app specific Listener (was Re: Listener Element in Context:class not found Exception)

2002-12-23 Thread Craig R. McClanahan
On Mon, 23 Dec 2002, Tobias Dittrich wrote: Date: Mon, 23 Dec 2002 09:59:08 +0100 From: Tobias Dittrich [EMAIL PROTECTED] Reply-To: Tomcat Users List [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Subject: Web app specific Listener (was Re: Listener Element in Context:

Re: javax.sql.datasource

2002-12-23 Thread Craig R. McClanahan
On Mon, 23 Dec 2002 [EMAIL PROTECTED] wrote: Date: Mon, 23 Dec 2002 16:58:18 + From: [EMAIL PROTECTED] Reply-To: Tomcat Users List [EMAIL PROTECTED] To: 'Tomcat Users List' [EMAIL PROTECTED] Subject: javax.sql.datasource hi all, where i can find out javax.sql.datasource (in which

RE: virtual host problems...

2002-12-23 Thread PELOQUIN,JEFFREY (HP-Boise,ex1)
Nick, you may need something like Directory /usr/local/tomcat/webapps/examples Options Indexes FollowSymLinks DirectoryIndex index.html index.htm index.jsp Order allow,deny Allow from all /Directory in order tell apache that people our allow into this directory

RE: virtual host problems...

2002-12-23 Thread Denise Mangano
Are you getting a Forbidden message from Apache server? I ran into that problem as well, and Bill Barker was kind enough to respond. This was his post: You need 775 (or at least 5 on the last digit). Apache requires x permissions (which, for a directory means list rather than execute on *nix

RE: a sure way to work with tomcat under windows NT/2000/XP

2002-12-23 Thread Jason Pyeron
On Mon, 23 Dec 2002, Jacob Kjome wrote: : :You should set up your variables under System instead of User because if they are :you run Tomcat as a service, the User variables will not be read. Also, :Tomcat doesn't care about the system classpath. J2EE_HOME is fine to set :if you need that

Re: Sealing Violation due to inclusion of LifeCycle?

2002-12-23 Thread Craig R. McClanahan
On Mon, 23 Dec 2002, Randy Secrist wrote: Date: Mon, 23 Dec 2002 11:25:51 -0700 From: Randy Secrist [EMAIL PROTECTED] Reply-To: Tomcat Users List [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Subject: Sealing Violation due to inclusion of LifeCycle? I have been building

Re[2]: a sure way to work with tomcat under windows NT/2000/XP

2002-12-23 Thread Jacob Kjome
Hello Jason, Monday, December 23, 2002, 12:44:02 PM, you wrote: JP this list is designed to be 'fool proof'? not efficient. Huh? What are you saying herewhat is your point??? Jake -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL

Re[2]: a sure way to work with tomcat under windows NT/2000/XP (sorrymisread)

2002-12-23 Thread Jason Pyeron
sorry, misread the post (skippied over the first reply) . On Mon, 23 Dec 2002, Jacob Kjome wrote: Hello Jason, Monday, December 23, 2002, 12:44:02 PM, you wrote: JP this list is designed to be 'fool proof'? not efficient. Huh? What are you saying herewhat is your point??? Jake -- To

Tomcat and Jboss

2002-12-23 Thread Edu
I don't know if this is about Tomcat, Jboss, or something else. I created a EJB pack and deployed at the server (Jboss). Made a java program client to test it and all is Ok. But when I try to use a jsp page to use the service, I get a java.lang.ClassCastException message. I can get the context ,

unwanted output of sql

2002-12-23 Thread Adam Nowalsky
hi, all. running tomcat 4.1.12 on a windows xp machine. sometimes when i run a query and the resultset contains 0 rows, tomcat will return the contents of my executed sql statement to the browser, including any other jsp in the page. if it matters, i am using the dbtags library for my

RE: virtual host problems...

2002-12-23 Thread Nick Stuart
It appears that this did the trick. I figured it was something like this but wasn't sure what to look at. I didn't see this in the mod_jk.conf file that was generated so I didn't think it needed it, but apparently it does! Thanks a lot for the info. -Nick On Mon, 2002-12-23 at 13:38,

Re: Object Pooling

2002-12-23 Thread Felipe Schnack
I'm rewriting this reply, maybe I wasn't clear enough :-) My application have two types of objects that are constantly created and destroyed. I believe that they could be pooled in some way (maybe using commons pooling package. These types are: 1- Objects that handle user interaction.

jk2 reconfiguration blues

2002-12-23 Thread Mark Gastel
Hi All, Iamattemptingtodynamicallydisableajk2workerbyupdatingtheworkers2.propertiesfileandhittingthe/jkstatusurl. Itseemstobere-reading the configuration file (it detects the change) yet the status of the workers never change. Has anyone had any success with this? I have attached my jk2 log

Tomcat Standalone SSL and client certificates?

2002-12-23 Thread Jason Pyeron
oh I got a good one here all, in tomcat-docs/ssl-howto.html under section Introduction to SSL, I quote: In certain cases, the server may also request a Certificate from your web browser, asking for proof that you are who you claim to be. This is known as Client Authentication, although in

Re: Sealing Violation due to inclusion of LifeCycle?

2002-12-23 Thread Tomcat User
The fundamental documentation on how class loaders work in Tomcat is: http://jakarta.apache.org/tomcat/tomcat-4.1-doc/class-loader-howto.html If you look at the directory structure of a standard Tomcat distribution, you'll see that the org.apache.catalina.* classes (from catalina.jar) are

[ot] request / suggestion

2002-12-23 Thread Jason Pyeron
please have the list server put the list name in the subject, example: [Tomcat-User] SSL Mode Re: [Tomcat-User] SSL Mode -jason pyeron -- -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- - - - Jason Pyeron

Re: Urgently Required

2002-12-23 Thread Gary Gwin
Kural, The role should already be configured in web.xml by the application deployer. If the user registers himself with a given role, then the user and that role need to be added to the user repository. If you are using tomcat-users.xml, then you need to add the user and role to that file.

  1   2   >