RHEL, mysql 4.1.9 tomcat 5028, form authentication login failure.

2005-01-27 Thread Pawson, David
After chasing for a day, a nasty arose I thought others might like to know of. rhel has /etc/hosts localhost entry as 127.0.0.1 localhost.localdomain localhost If you use form authentication, with server.xml entries such as Realm className=org.apache.catalina.realm.JDBCRealm

Re: RHEL, mysql 4.1.9 tomcat 5028, form authentication login failure.

2005-01-27 Thread David Smith
matching it up with the host field in the mysql.user table. I suppose you could use 'x'@'localhost%', but what's to stop some fool from naming his system 'localhost-spoof.mydomain.com' and attempting a hack. --David Pawson, David wrote: After chasing for a day, a nasty arose I thought others

RE: RHEL, mysql 4.1.9 tomcat 5028, form authentication login failure.

2005-01-27 Thread Pawson, David
-Original Message- From: David Smith Or grant privileges on the database to 'x'@'localhost' and 'x'@'localhost.localdomain'. Then give both accounts the same password. It won't matter which one mysql sees because they'll both work. Thanks, easier than

Re: Tomcat 5.5 Package installation Administration

2005-01-27 Thread David Smith
The admin webapp should be placed in $TOMCAT_HOME/server/webapps right next to the manager webapp instead of in the general $TOMCAT_HOME/webapps directory. The admin.xml file is written to look for it here. --David Edmon Begoli wrote: Susan, Download the admin package available on the Tomcat

Re: Dynamic Connection

2005-01-26 Thread David Smith
from the session and use it as needed. Just be sure you only store the DS in the session -- don't store the connections. I'm sure there are other ideas out there as well. --David micky none wrote: Hi Friends, I want to dynamically configure the database,username and password settings,instead

Re: Dynamic Connection

2005-01-26 Thread David Smith
are. --David micky none wrote: Thanks David, I am already using the Datasource class to vreate a connection.For eg. Context ctx = (Context) init.lookup(java:comp/env); ds = (DataSource) ctx.lookup(jdbc/abc); The problem is that to know which database is selected I am trying to do exactly what

RE: tomcat

2005-01-25 Thread David Harland
Hi, I am using Apache 2x and Tomcat 5x. How do I set a virual host to have it default to a specific web app under tomcat. What is the easiest way to do this. eg www.test.com virtualhost default page to /test/index.jsp under tomcat. www.test2.com virtualhost default page to /test2/index.jsp

RE: Apache2.0.52, Tomcat 5.5.4 and jk1.2.8

2005-01-25 Thread David Short
undestandable. David Short wrote: Does anyone have this configuration working, or similar? If so, would you mind posting your httpd.conf, workers.properties and anything else you changed? - To unsubscribe, e-mail: [EMAIL

RE: Apache2.0.52, Tomcat 5.5.4 and jk1.2.8

2005-01-25 Thread David Short
, Tomcat 5.5.4 and jk1.2.8 Try this: http://www.redhat.com/docs/manuals/rhaps/jonas-guide/s1-load-balancing.html Helped me to got it to work on Linux. Should not be much different on win. Thank you, Edmon Begoli David Short wrote: I got Apache 2.0.52, Tomcat 5.5.4 and Mod_jk 1.2.8 working

RE: Apache2.0.52, Tomcat 5.5.4 and jk1.2.8

2005-01-25 Thread David Short
To: Tomcat Users List Subject: Re: Apache2.0.52, Tomcat 5.5.4 and jk1.2.8 Try this: http://www.redhat.com/docs/manuals/rhaps/jonas-guide/s1-load-balancing.html Helped me to got it to work on Linux. Should not be much different on win. Thank you, Edmon Begoli David Short wrote: I got Apache 2.0.52

Re: precompilation and JSTL

2005-01-24 Thread David Smith
in your web.xml per the docs. Restart the context and your done. --David Tim Funk wrote: Is your web.xml using the 2.4 declaration? -Tim Marcus Beyer wrote: Tim Funk schrieb: I finally solved my (first) problem: I had a wrong lib (J2EE 1.3) in my class path. So there was some kind of version

Apache2.0.52, Tomcat 5.5.4 and jk1.2.8

2005-01-24 Thread David Short
Does anyone have this configuration working, or similar? If so, would you mind posting your httpd.conf, workers.properties and anything else you changed? - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands,

Re: What is it mean that Java code does not belong in well designed JSP pages?

2005-01-23 Thread David Johnson
The intent of JSP is that it is primarily HTML with just enough Java to make things work. Ideally, you can hand a JSP to a web designer who is not a programmer and they can make a pretty web page that works. In some shops this works. As a productivity booster, this works in some shops. But in

RE: [ANN] Apache Jakarta Tomcat 5.5.7-alpha Released

2005-01-21 Thread Pawson, David
Lionel Farbos wrote: Question : What is the reference or stable version for servlet 2.4 ? Is it Tomcat 5.0.28 or Tomcat 5.5.4 ? I don't understand why you implement 2 versions (2 branches) for this servlet API ...?

tomcat

2005-01-20 Thread David Harland
Hi, How do you set up a VirtualHost so that virtual host forwards its requests onto an application in tomcat. Thanks Dave. __ Do you Yahoo!? The all-new My Yahoo! - Get yours free! http://my.yahoo.com

File upload location.

2005-01-18 Thread Pawson, David
I've an servlet running from /tc5028/webapps/repository and I'm storing client data in /tc5028/webapps/repository/data/ I'm curious what strategy people adopt when upgrading. I'm thinking of moving up to java 1.5 and the more recent tomcat, do people overwrite the tc installation or move

RE: File upload location.

2005-01-18 Thread Pawson, David
-Original Message- From: Francois JEANMOUGIN That's why I use catalina.base and catalina.home (CATALINA_BASE and CATALINA_HOME) as described in RUNNING.txt so that tomcat installation is independent of webapps installtion. I just have to take care about syntax

Tomcat Startup/Shutdown and mod_jk Issues

2005-01-18 Thread David Rickard
start-up; but could it be from some other cause?] -- David Rickard Software Engineer TechBooks/GTS Your Single Source Solution! Los Angeles CA * York, PA * Boston,MA * New Delhi, India Visit us on the World Wide Web http://www.techbooks.comhttp://www.techbooks.com [EMAIL PROTECTED] 5650 Jillson St

HttpSession usage

2005-01-17 Thread Pawson, David
I need to maintain state across two form submissions; the first one requires that a user confirm an int and string; the second one records a small amount of metadata, user information and transaction information. Am I right in thinking that HttpSession getAttribute and putAttribute are the right

RE: HttpSession usage

2005-01-17 Thread Pawson, David
Sounds to me like you need to do some reading on JSP/Servlets, any book will explain sessions to you and provide examples. There are numerous online resources too. No problem, nice to know I'm reading the right stuff though! You don't need to worry about identifying the

RE: Tomcat service crashes unexpectedly, no trace in logs

2005-01-17 Thread David Vandaele
indicators I can use to be sure this is either a Jvm XOR a Tomcat problem ? David -Original Message- From: Greg Lappen [mailto:[EMAIL PROTECTED] Sent: vrijdag 14 januari 2005 22:25 To: Tomcat Users List Subject: Re: Tomcat service crashes unexpectedly, no trace in logs David, I have been

RE: HttpSession usage

2005-01-17 Thread Pawson, David
-Original Message- From: Christoph Kutzinski check the API. You can probably use: request.|*isRequestedSessionIdFromCookie http://java.sun.com/j2ee/1.4/docs/api/javax/servlet/http/Ht tpServletRequest.html#isRequestedSessionIdFromCookie%28%29*() Looks good

request.getParameter(), works on get, not on post

2005-01-17 Thread Pawson, David
With an input form form method=get action=/repository/ckDoc name=form enctype=multipart/form-data label for=reposoArchive number:/label input name=reposno id=reposno

RE: request.getParameter(), works on get, not on post

2005-01-17 Thread Pawson, David
-Original Message- From: Allistair Crossley [mailto:[EMAIL PROTECTED] Sent: 17 January 2005 14:11 To: Tomcat Users List Subject: RE: request.getParameter(), works on get, not on post yeah you need to use a special request processing api for posted

Still having OutOfMemory Problems (Tomcat 4.1.31)

2005-01-17 Thread David Johnson
HI all. Well I'm still getting my out of memory problem fairly consistently (again) using Tomcat 4.1.31 with my Struts application. When I look st the memory usage, it says tomcat is using about 110k of memory for the VM, but that's just looking at the task manager. Tomcat is installed as a

Re: Tomcat5 java.lang.OutOfMemoryError

2005-01-17 Thread David Johnson
Can you post a link to the archives? On Tue, 11 Jan 2005 16:31:40 -0800 (PST), Ryan Stewart [EMAIL PROTECTED] wrote: I posted a how-to on this just yesterday I think. Try the archives. It's typically a good idea to check there before you post. -Original Message- From: SARMIENTO

Tomcat 4.1.31 Out of Memory Follow up

2005-01-17 Thread David Johnson
Hi again I've searched through the registry as well, and at HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Apache Tomcat 4.1.31\Parameters it DOES show the -Xmx=512M and -Xms=128M that are set in my installService.bat. It does not, however seem to be actually USING that much memory. Is

RE: Still having OutOfMemory Problems (Tomcat 4.1.31)

2005-01-17 Thread David Vandaele
like the service() method or something. David -Original Message- From: David Johnson [mailto:[EMAIL PROTECTED] Sent: maandag 17 januari 2005 18:52 To: Tomcat Users List Subject: Still having OutOfMemory Problems (Tomcat 4.1.31) HI all. Well I'm still getting my out of memory problem

Re: Tomcat 4.1.31 Out of Memory Follow up

2005-01-17 Thread David Johnson
stop -out %TOMCAT_LOG% -err %TOMCAT_ERR_LOG% On Mon, 17 Jan 2005 13:05:02 -0500, David Johnson [EMAIL PROTECTED] wrote: Hi again I've searched through the registry as well, and at HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Apache Tomcat 4.1.31\Parameters it DOES show the -Xmx=512M

Re: Still having OutOfMemory Problems (Tomcat 4.1.31)

2005-01-17 Thread David Johnson
-Xverbosegc -Djava.endorsed.dirs=%TOMCAT_ENDORSED% -Dcatalina.home=%TOMCAT_HOME% -start org.apache.catalina.startup.BootstrapService -params start -stop org.apache.catalina.startup.BootstrapService -params stop -out %TOMCAT_LOG% -err %TOMCAT_ERR_LOG% On Mon, 17 Jan 2005 13:08:05 -0500, David Johnson

Re: [OT] Consulting Position in Costa Mesa, CA,

2005-01-14 Thread David Smith
Call me an optimist, but that error looks like standard, old, ordinary, everyday mail server trouble -- nothing to get excited about. Besides, I sent a message declining and didn't get that error. --David Mladen Turk wrote: Ben Souther wrote: I'm forwarding this message from a recruiter

Tomcat service crashes unexpectedly, no trace in logs

2005-01-14 Thread David Vandaele
2000ProSP4, bi-processor Xeon machine. Any help/advice/ideas is really welcome and appreciated ! Kind regards, David - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Tomcat Won't Shutdown

2005-01-14 Thread David Rickard
to stop Tomcat (other than system reboot), to see if we can get it to restart gracefully? 3) Is there a way to fix Tomcat, short of re-installing it? -- David Rickard Software Engineer TechBooks/GTS Your Single Source Solution! Los Angeles CA * York, PA * Boston,MA * New Delhi, India Visit us

Re: Shutdown port

2005-01-12 Thread David Smith
From what I understand from other postings, no. However, the shutdown port is bound to the localhost interface so only a connection from 127.0.0.1 will work. Joe Schmoe client out in internet land can't shutdown your tomcat service. --David Frank Parato wrote: Is there a way to remove

RE: servlet help

2005-01-12 Thread David da Guia Carvalho
in portuguese he can help you When I finish the translation I post to you again... (if you need any help to especific parts mail me!) Configurando Apache + Jakarta-TOMCAT + Connector MOD_JK Por: David da Guia Carvalho Data: 09-09-2004 Consideramos que o leitor possua o seguinte ambiente: Apache 1.3 ou

Classloader/Resource handling differences between 5.0 and 5.5?

2005-01-10 Thread David Ramsey
I saw an offhand comment from Yoav about differences between 5.0 and 5.5 in resource loading and class loading. He mentioned some change was made due to Windows usage of file handles. Under 5.0.x and JDK 1.4.2_06 under Windows 2000 SP4, our web application works fine. However, under JDK 5 and

Users Rigths

2005-01-07 Thread David da Guia Carvalho
to the global manarger or admin. (Kind a especific manager and admin per aplication... if possible even a restricted set of tools)   I dont know if I'm going to the wrong direction... and tips are very welcome... Best regards, -- David da Guia Carvalho Animus

Re: Hiding the context URL in Apache with mod_jk

2005-01-06 Thread David Nillesen
On Thu, 2005-01-06 at 08:58 +0100, Mladen Turk wrote: David Nillesen wrote: JkMount /examples/*.jsp ajp13 This means that the URL in a client is http://purple.example.com/examples/index.jsp I'd actually like to map that into the URL: http://purple.example.com/index.jsp Search

Tomcate 4.1.27 as a Service - Follow up to OOM problem

2005-01-06 Thread David Johnson
Hi again all I found the following when trying to find out how to REinstall tomcat as a service and to add options like the -Xmx512M what I need The batch file hates the fact that my Tomcat is located in c:\Program Files Any thoughts on how to get this to run? Thanks, Dave #

Re: Out of Memory when compiling JSP (Struts app on Tomcat 4.1.27)

2005-01-06 Thread David Johnson
Cool. Thanks the question is how do I get all of these options working when tomcat runs as a service... On Thu, 6 Jan 2005 15:28:30 -, Dale, Matt [EMAIL PROTECTED] wrote: It could also be that the Permanent Generation has filled up, look up the docs on how to increase that or start

Re: Tomcate 4.1.27 as a Service - Follow up to OOM problem

2005-01-06 Thread David Boyer
If the path contains spaces you could try enclosing it in double quotes: @SET TOMCAT_HOME=C:\Program Files\Tomcat4 [EMAIL PROTECTED] 01/06 9:38 am Hi again all I found the following when trying to find out how to REinstall tomcat as a service and to add options like the -Xmx512M what I

RE: Can anyone see this message?

2005-01-06 Thread David Short
yes -Original Message- From: Troy Simpson [mailto:[EMAIL PROTECTED] Sent: Thursday, January 06, 2005 3:02 PM To: tomcat Subject: Can anyone see this message? Thanks, Troy - To unsubscribe, e-mail: [EMAIL PROTECTED] For

Re: Ugh. IIS + Tomcat + multiple virtual hosts

2005-01-05 Thread David Boyer
Are you using JK or JK2 as the redirector in IIS? You might want to indicate what version of IIS as some people have reported trouble using JK in IIS 6 unless they run in IIS 5 isolation mode. I use JK2 with multiple virtual hosts, and each host is handled by a different worker. I'm sure JK can

Re: Ugh. IIS + Tomcat + multiple virtual hosts

2005-01-05 Thread David Boyer
Resend correcting a typo: [channel.socket:web1:8010] port=8010 host=web1.bvu.edu [ajp13:web1:8010] channel=channel.socket:web1:8010 [uri:web1.bvu.edu/servlet/*] worker=ajp13:web1:8010 [channel.socket:web2:8009] port=8009 host=web2.bvu.edu [ajp13:web2:8009]

Re: Ugh. IIS + Tomcat + multiple virtual hosts

2005-01-05 Thread David Boyer
2005 11:24:21 -0600, David Boyer wrote Resend correcting a typo: [channel.socket:web1:8010] port=8010 host=web1.bvu.edu [ajp13:web1:8010] channel=channel.socket:web1:8010 [uri:web1.bvu.edu/servlet/*] worker=ajp13:web1:8010 [channel.socket:web2:8009] port=8009 host=web2.bvu.edu [ajp13:web2:8009

Hiding the context URL in Apache with mod_jk

2005-01-05 Thread David Nillesen
is wrong. I think I need something like the old Jserv mapping where i can say: (in fictional hopeful syntax) JKMount /*.jsp ajp13:examples/ Is there anything like this? Or is there a better way to do this? Thanks, Dave -- David Nillesen Systems Administrator University of New England Phone

RE: Speed issues with SQL Server 2000 and JTDS

2005-01-04 Thread David Boyer
in there. Thanks Charles -Original Message- From: David Boyer [mailto:[EMAIL PROTECTED] Sent: Monday, January 03, 2005 9:05 AM To: tomcat-user@jakarta.apache.org; Charles P. Killmer Subject: RE: Speed issues with SQL Server 2000 and JTDS You could try using something like jProfiler to see

Re: kaffe and tomcat 5.5.4

2005-01-03 Thread David Goodenough
could use iptables to redirect the port David thank you, Ryan Harris snip/ - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: kaffe and tomcat 5.5.4

2005-01-03 Thread David Goodenough
not quite sure why you wanted to do it? David - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

RE: Speed issues with SQL Server 2000 and JTDS

2005-01-03 Thread David Boyer
You could try using something like jProfiler to see where the bottleneck is. I don't see anything unusual in your code example, although it looks like the only thing it does is create the connection. I use jTDS and it works fine without doing anything exceptional. [EMAIL PROTECTED] 01/03

Re: using Thread object in Tomcat

2005-01-03 Thread David Boyer
Rather than creating a class that extends Thread you should create a class that implements Runnable and construct a new Thread using your Runnable. You'd extend Thread if you were adding some extended functionality to the Thread class, otherwise use Runnable. [EMAIL PROTECTED] 01/03 10:11 am

Tomcat 5.0.28 running Windows 2003 Server CPU to 100%

2005-01-03 Thread David Bilodeau
a root cause. I bet someone, somewhere, has run across this on a thread on this forum and can point me to it? I've been searching some but have not found much yet that is recent. Regards, David Bilodeau Enterprise Marketing Sales Automation Verizon Data Services, Inc. 919 Hidden Ridge

Re: how to tell if Jikes is being run??

2004-12-31 Thread David Boyer
When you use Jikes or any other out-of-process compiler, you're spawning a full heavy-weight system process for each compilation. That overhead seems to offset at least some of the performance advantage of using jikes. You should be able to see the jikes instance running in whatever you use to

Re: Does Windows needs special settings?

2004-12-30 Thread David Boyer
Are you using startup.bat to start Tomcat when you receive this error? %CATALINA_HOME%\bin\bootstrap.jar needs to be in the classpath when starting tomcat. This gets set in catalina.bat which is involed by startup.bat. It shouldn't be necessary to do anything special on Windows. [EMAIL

Re: [OT] Java developer friendly Linux distro

2004-12-21 Thread David Goodenough
recent version of SableVM runs Eclipse and Tomcat. Given that most of the problems were not in the JVM but in the class library, that bodes well for gcj running both shortly. David - To unsubscribe, e-mail: [EMAIL PROTECTED

Re: Difficulty connecting to DB2 for iSeries from Tomcat 5.0.28

2004-12-21 Thread David Uctaa
No matter what i do, the JNDI lookup is returning null. What causes a JNDI lookup to return null when the resource is defined in the GlobalNamingResources section of server.xml? Should I put the resources into NamingResources in my context.xml? On Mon, 20 Dec 2004 13:52:29 -0500, David Uctaa

Re: Difficulty connecting to DB2 for iSeries from Tomcat 5.0.28

2004-12-21 Thread David Uctaa
, including upper/lower case) On Tue, 21 Dec 2004 13:39:07 -0500, Phillip Qin [EMAIL PROTECTED] wrote: What is the resourcelink in your context.xml? -Original Message- From: David Uctaa [mailto:[EMAIL PROTECTED] Sent: December 21, 2004 12:27 PM To: [EMAIL PROTECTED] Subject: Re

Re: Difficulty connecting to DB2 for iSeries from Tomcat 5.0.28

2004-12-21 Thread David Uctaa
=Container scope=Shareable type=javax.sql.DataSource / Is there any warning or exception in catalina.out or any other log files? -Original Message- From: David Uctaa [mailto:[EMAIL PROTECTED] Sent: December 21, 2004 1:52 PM To: Tomcat Users List Subject: Re: Difficulty connecting

Re: Difficulty connecting to DB2 for iSeries from Tomcat 5.0.28

2004-12-21 Thread David Uctaa
has to be the same. -Original Message- From: David Uctaa [mailto:[EMAIL PROTECTED] Sent: December 21, 2004 3:26 PM To: Tomcat Users List Subject: Re: Difficulty connecting to DB2 for iSeries from Tomcat 5.0.28 Resource type=com.ibm.as400.access.AS400JDBCConnectionPoolDataSource auth

Difficulty connecting to DB2 for iSeries from Tomcat 5.0.28

2004-12-20 Thread David Uctaa
I am running Tomcat 5.0.28 on Win XP SP1. We have DB2 running on 2 iSeries servers. When I attempt to look up a DataSource from JNDI to get a connection from it, the JNDI lookup is returning null. I am using IBM's JTOpen library for the JDBC drivers, and I am attempting to use Tomcat to manage

Re: Difficulty connecting to DB2 for iSeries from Tomcat 5.0.28

2004-12-20 Thread David Uctaa
GlobalResource seems to be not nested properly. aka_sergio --- David Uctaa [EMAIL PROTECTED] wrote: I am running Tomcat 5.0.28 on Win XP SP1. We have DB2 running on 2 iSeries servers. When I attempt to look up a DataSource from JNDI to get a connection from it, the JNDI lookup

LC-Poli !

2004-12-19 Thread David
http://iis13 Lc-POLI Programs On Line International A votre service pour la mise en relation directe http://iis13.domicile.fr/christlaur/help/index.htm Lc-POLI Service Gratuit Pour les Particuliers et Associations but non

Re: CSR in Tomcat 5.0

2004-12-17 Thread David Wall
certfilegiventoyoubyCA -keystore yourkeystorefilename Good luck, David - Original Message - From: Richard Panek [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED]; [EMAIL PROTECTED] Sent: Friday, December 17, 2004 9:30 AM Subject: RE: CSR in Tomcat 5.0 Ben, The command line doesn't work

RE: Reloading JSP's and other resources

2004-12-16 Thread Durham David R Jr Contr 805 CSPTS/SCE
There is a FAQ: http://jakarta.apache.org/tomcat/faq/windows.html#lock Awesome. The faq indicates that when: Context ... antiResourceLocking=false /Context the project files are copied to the temp directory and ran from there. Does Tomcat still pick up changes to

RE: [OT] cannot connect a sqlserver

2004-12-16 Thread David Boyer
For the sake of clarifcation, this is only necessary when restoring to an instance of SQL server that is different from the one on which the backup was created. On your production server, you can use SQL Enterprise Manager to generate the necessary SQL script to create the users and roles

RE: [OT] cannot connect a sqlserver

2004-12-16 Thread David Boyer
PROTECTED] 12/16/2004 10:03:14 AM David, Thanks for the clarification. Can you elaborate on how you can use SQL Enterprise Manager to generate necessary SQL script to create the users and roles specific to that database, and to apply the object-level permissions or point me to the docs? I have

RE: sending a JSP page by email

2004-12-16 Thread Graff, David
Sorry about the double ... this got lost in the lower message response: http://bijou.dyndns.org/weblog/computer/software/SendingMailFromJavaServlets .html or http://tinyurl.com/5lukz Enjoy. -Original Message- From: Graff, David [mailto:[EMAIL PROTECTED] Sent: Thursday, December 16

RE: Reloading JSP's and other resources

2004-12-16 Thread Durham David R Jr Contr 805 CSPTS/SCE
I am not really an expert but I think it is beter if you modify your application at another location and then redeploy it on the server. Heh, I think I know what you're saying. Yes, I modify the application at a different location than deployment. Just for example, code that I'm working

RE: sending a JSP page by email

2004-12-16 Thread Graff, David
Hey kids, I had run into this a while back. I've got a link here to what I did. It's rough and ready so don't expect too much out of it, but it should be enough to get you runnning. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Thursday, December 16, 2004

RE: Reloading JSP's and other resources

2004-12-16 Thread Durham David R Jr Contr 805 CSPTS/SCE
I am not really an expert but I think it is beter if you modify your application at another location and then redeploy it on the server. I guess you're saying that this feature is mainly so that you can develop out of the same directory that tomcat is using as a docbase ... That would

RE: Reloading JSP's and other resources

2004-12-16 Thread Durham David R Jr Contr 805 CSPTS/SCE
May be it's possible to solve your propblem in more convinient way, as I said I'm not the biggest expert over here. Honestly, my problem is solved. I'm just kind of thought-lingering on this feature a bit. - Dave - To

RE: [OT] HTTP Sniffers

2004-12-15 Thread Durham David R Jr Contr 805 CSPTS/SCE
If you're talking about Response Headers, mozilla's firefox browser has a plug-in called web-developer. https://update.mozilla.org/extensions/moreinfo.php?application=firefoxi d=60 Under the 'information' menu, there is an option to view response headers. - Dave -Original

RE: Reloading JSP's and other resources

2004-12-15 Thread Durham David R Jr Contr 805 CSPTS/SCE
As far as I know you should have only one antiResourceLocking or antiJARLocking true but not both. Why would that be, and what exactly do those settings mean? I've read the config docs on the site, but I'm wondering what Tomcat actually *does* to implement these features. - Dave

Re: [newbie] Container Managed Security - preventing direct access to .jsp

2004-12-15 Thread David Smith
. The remaining three would help take care of the case where the jsp needs some data from the controller and will die a horrible death without it. I don't have code to share for these suggestions -- just trying to give you some ideas to work with. --David Robert Taylor wrote: I'm not trying to re

Re: Myth or Best practice : %@ page session=false %

2004-12-15 Thread David Boyer
You can look in the code of the generated servlet to see what the differences are when using either true or false with the session directive. [EMAIL PROTECTED] 12/15/2004 8:17:55 AM %@ page session=false % Hello people I wanted to enquire from the experts about something that I had read. Is

Reloading JSP's and other resources

2004-12-15 Thread Durham David R Jr Contr 805 CSPTS/SCE
Hi, To make changes to my deployed application, I run an Ant script that compiles classes and copies JSP's, images, CSS, etc. in to my latest-build directory. As of Tomcat 5.0.18, changes to JSP's, CSS and other files were picked up by Tomcat and displayed in my browser. However, since

RE: Reloading JSP's and other resources

2004-12-15 Thread Durham David R Jr Contr 805 CSPTS/SCE
Ok, it looks like setting antiResourceLocking=false solves this problem, which kind of makes sense. Is there a good explanation on the tomcat site or elsewhere for this behavior? - Dave -Original Message- From: Durham David R Jr Contr 805 CSPTS/SCE Sent: Wednesday, December 15

RE: new isapi_redirector2.dll

2004-12-14 Thread David Boyer
\isapi\jk_isapi_plugin.c(237) : error C2059: syntax error : ')' jk_jni_aprImpl.c -Original Message- From: David Boyer [mailto:[EMAIL PROTECTED] Sent: Friday, November 19, 2004 5:01 PM To: [EMAIL PROTECTED] Subject: new isapi_redirector2.dll I noticed there have been some commits since

Re: Tomcat5.5/xp/starting problem Please help me

2004-12-13 Thread David Smith
-name param-valuesrc.tcs.beans.ApplicationResources/param-value /init-param Your second init-param block is opened with an ending tag. --David [EMAIL PROTECTED] wrote: Hi, I am getting following error while starting tomcat .. beasides i have a lot of other issues can anyone look

Re: Tomcat 5.0.28 won't start??????????????

2004-12-09 Thread David Smith
On the exception reported -- run your server.xml file and all your context.xml files through an xml validator. It'll point out where you have some invalid xml syntax. --David Shapira, Yoav wrote: Hi, Runing tomcat 5.0.27 I get this error list below for the first time. I think is because I

Connector debug

2004-12-07 Thread David Dankwerth
Hello I am trying to enable the debug on the AJP connector. (Tomcat 5.0.28) My server.xml contains : Connector port=8009 enableLookups=false redirectPort=8443 debug=11 protocol=AJP/1.3 / However , i cant see anything in the log. Any idea ? Thanks David

Re: Connector debug

2004-12-07 Thread David Dankwerth
Hi Thanks for the answer , i am trying to see what the tomcat side of the connection does rather than what mod_jk does. Are you saying that tomcat 5.5 docs may be more useful ? Thanks David D Allistair Crossley wrote: debug attributes don't do much and are gone in 5.5. to get debugging

Re: Connector debug

2004-12-07 Thread David Dankwerth
the maxThreads trash hold. Any idea how can i find these details ? Thanks David Allistair Crossley wrote: no tomcat 5.5. docs won't help you. what are you trying to find out? the only way I think you could hope to get tomcat-side ajp logging is via a log4j config, however a tomcat dev is prob. best

Re: Connector debug

2004-12-07 Thread David Dankwerth
Thanks for the help ill have a go at one of these profilers Thanks again David D Allistair Crossley wrote: something like JProfiler or JProbe could help, they show the request processors and which state the threads are in. they even colour them in. Allistair. -Original Message- From

RE: Admin and Manager applications don't work withmodifiedCATALINA_BASE and startup.sh -security

2004-12-07 Thread David Crecente
java.security.AllPermission; } Then grow it up until something breaks again. Andoni. - Original Message - From: David Crecente [EMAIL PROTECTED] Newsgroups: gmane.comp.jakarta.tomcat.user Sent: Tuesday, November 30, 2004 9:03 AM Subject: Admin and Manager applications don't work with modified

re: IIS replacement

2004-12-07 Thread David Boyer
Actually, I've been using the JK2 ISAPI connector with IIS 6.0 (in worker process mode) just fine. If I'm not mistaken, I've also had the JK ISAPI connector running under IIS 6.0. I think the key is loading the filter at the site level and not at the global level, and making sure the site has its

Re: FW: Tomcat 5 notably slower than tomcat 4

2004-12-03 Thread David Stevenson
Try JDK 1.4.2_06. It has less bugs. Might be faster. David Stevenson On Thu, 2004-12-02 at 22:25, Dan Foreman wrote: Hi, While upgrading application servers from Tomcat 4.0.5 to Tomcat 5.0.29 I am noticing slower browser response when hitting the tomcat 5 servers. We use tomcat

Re: JSP pages not refreshing

2004-12-03 Thread David Stevenson
The equivalent of touch on Windows: 1. Open JSP page. 2. Add space. Remove space. 3. Press Save. David Stevenson On Fri, 2004-12-03 at 03:11, Mayuresh Kshirsagar wrote: Hi Folks, I am on windows. have apache, tomcat and java. I have a test website up and running on my test machines. I

Re: Stopping creation of sessions

2004-12-03 Thread David Stevenson
Did you try: %@ page session=false % http://java.sun.com/products/jsp/tags/12/syntaxref1210.html David Stevenson On Fri, 2004-12-03 at 07:32, Mark O'Driscoll wrote: My application uses FOP to create pdf documents on the fly. The xsl description for docn creation includes a directive

RE: Tomcat/Java and SMP

2004-12-03 Thread David Boyer
So these are 10 separate boxes? I think the clarification is necessary because application server in the context of java usually refers to the J2EE or (sometimes) servlet container. Are you taling about 10 instances of tomcat each running on their own box? [EMAIL PROTECTED] 12/3/2004 11:20:55

Tomcat Connections And Memory Usage

2004-12-03 Thread David Rickard
? If not, is the connection limit determined by the front-end web server? or by machine resource limits? How do we determine how much memory Tomcat is using per connection? -- David Rickard Software Engineer TechBooks/GTS Your Single Source Solution! Los Angeles CA * York, PA * Boston,MA * New Delhi, India Visit

Re: Tomcat Connections And Memory Usage

2004-12-03 Thread David Boyer
? If not, is the connection limit determined by the front-end web server? or by machine resource limits? How do we determine how much memory Tomcat is using per connection? -- David Rickard Software Engineer TechBooks/GTS Your Single Source Solution! Los Angeles CA * York, PA * Boston,MA * New Delhi, India Visit us

Re: Where do I get mod_jk

2004-12-03 Thread David Boyer
Under Tomcat Web Server Connectors: http://jakarta.apache.org/site/binindex.cgi [EMAIL PROTECTED] 12/3/2004 3:44:10 PM for Apache-1.3.33 for a redhat linux server? If you can send me the direct link for the tarball or the rpm for redhat linux it would be greatly appreciated. I am only

RE: Where do I get mod_jk

2004-12-03 Thread David Boyer
-Original Message- From: David Boyer [mailto:[EMAIL PROTECTED] Sent: Friday, December 03, 2004 4:50 PM To: [EMAIL PROTECTED] Subject: Re: Where do I get mod_jk Under Tomcat Web Server Connectors: http://jakarta.apache.org/site/binindex.cgi [EMAIL PROTECTED] 12/3/2004 3:44:10 PM

RE: Where do I get mod_jk

2004-12-03 Thread David Boyer
tend to use mod_jk as a dynamic module. [EMAIL PROTECTED] 12/3/2004 4:55:16 PM David, in the very same directory that I found the buildconf.sh script, I also found a configure script! Which do you suggest I use. I think me doing the ProxyPass stuff is 50/50 compared to this tarball you found

Re: HP-UX misbehaving AGAIN

2004-12-03 Thread David Boyer
Just because the server has 4GB of RAM doesn't mean the JVM is free to take whatever it needs. Increasing the initial and maximum heap sizes. For example, passing the -Xms64m argument to the JVM when starting Tomcat will set the initial heap size to 64MB. Passing -Xmx128m will set the maximum

Re: logging swallow output

2004-12-03 Thread David Stevenson
Is your Log4j configured to use a ConsoleAppender? That might possibly explain it. http://jakarta.apache.org/commons/httpclient/logging.html David Stevenson On Fri, 2004-12-03 at 08:22, Roberto Cosenza wrote: I did mean swallowOutput=true My typo. Problem still there, strange... (I'm

Re: tomcat not sending all output

2004-12-03 Thread David Stevenson
value of one minute and an additional limiting factor (ServerInfoTimeout) of two minutes. Either setting can cause Internet Explorer to reset the socket. David Stevenson On Fri, 2004-12-03 at 09:28, Jiang, Peiyun wrote: I have a servlet that is doing a lot of work. After the work is done, I

RE: xercesImpl.jar xerces.jar TC 5.0.19

2004-12-03 Thread David Stevenson
with their software. David Stevenson On Fri, 2004-12-03 at 11:58, Shapira, Yoav wrote: Hi, I'm working with Apache Tomcat/5.0.19. In the \Tomcat 5.0\common\endorsed\ directory, I've got 2 libraries : xerces.jar (I think it's an old Xerces, I didn't put myself there : someone else need

RE: ssl configuration. 5.0.28

2004-12-02 Thread Pawson, David
-Original Message- From: Shapira, Yoav Now how do I close down the http://localhost/ port, just remove the port 80 connector? Yeah. And the next tiny step: To make the entire site use https, no port mentioned, Two more changes, to use 443 instead

<    1   2   3   4   5   6   7   8   9   10   >