Re: Includes that Forward

2006-07-07 Thread David Smith
eanly) with a little jsp logic that essentially chooses to render or perform a third tier include. This is purely my opinion though. I'll take the way Tomcat handles the case over the way Resin and Jetty handle it. --David Tim Fennell wrote: Hi, I'm wondering what the expect

Re: Tomcat manager URL configuration for 2 tomcat instances, Apache + mod_jk

2006-07-10 Thread David Smith
;s already stopped). 4. Change JkMount in httpd.conf to JkMount /manager-5028/html* tc5028 5. Do apachectl graceful to make httpd read the new config. When done, the manager for 5.0.28 will be http://localhost/manager-5028/html --David Brian Munroe wrote: I'm still scheming up a way to ha

Re: Tomcat shutdowns unexpectedly - Please help

2006-07-11 Thread David Smith
ook at bug reports for your OS and JDK. --David Arunan Kannan wrote: Hi, Please help me in guiding to find out the root cause of this problem. Tomcat Version: jakarta-tomcat-4.1.31 Server OS: SUN OS 5.8 JDK version: j2sdk1.4.2_11 Initially the tomcat server is running perfectly and there is

Re: url changes

2006-07-11 Thread David Smith
is properly configured. --David Graham Reeds wrote: I am setting up a website. Part of the site is employee blogs. As well as the blogs there will be forums, products, etc. making: http://www.company.com/blogs/employee.name http://www.company.com/forums/ http://www.company.com/products

Re: File isn't found in ROOT directory

2006-07-11 Thread David Smith
B-INF/web.xml, restart tomcat (or just the ROOT webapp if you have the manager webapp up and running), and all should be as expected. --David Pid wrote: what version of tomcat? what have you got defined in the s in your server.xml? McRaven, Brian wrote: I have placed an index.jsp file t

Re: File isn't found in ROOT directory

2006-07-11 Thread David Smith
admin/index.jsp is a placeholder page for the admin webapp, not shipped with tomcat. If you placed it there, the url would be http://localhost:8080/admin/index.jsp. --David McRaven, Brian wrote: I commented out the servlet-mapping but I still get the tomcat page for index.jsp. With my

Re: Accessing a servlet

2006-07-11 Thread David Smith
Did you reload the webapp after making the change? All changes to WEB-INF/web.xml or files in WEB-INF/classes and WEB-INF/lib will require a reload before they become active in tomcat. --David McRaven, Brian wrote: I was able to refer to a book I have and so I dropped the .class extensions

Re: Simple question, but can't figure out answer

2006-07-12 Thread David Smith
f, what error do you get? 3. I take it you have the perl script for serving up images mapped to icc-logo.gif somehow in your config? I'd be interested to see that part of your setup. --David Mead, Jennifer L - VSCM wrote: I already have that. I really don't understand but I be

Re: HTTP Status 503 - Servlet admin.login_jsp is currently unavailable

2006-07-12 Thread David Smith
Did you store the admin webapp in server/webapps where it belongs? Also check your logs. There should be an exception trace just before the place where this was marked as unavailable. --David simon jones wrote: Hi, can anyone help me with this one? Thanks! I've installed tomcat

Re: HTTP Status 503 - Servlet admin.login_jsp is currently unavailable

2006-07-12 Thread David Smith
art tomcat and take a look for messages related to the admin webapp. --David simon jones wrote: Hi David, Ok looks as thought the files are in the correct place: cp -r admin /usr/local/jakarta/jakarta-tomcat-5.5.9/server/webapps There's nothing in tail -f /usr/local/jakarta/jakarta-to

Re: HTTP Status 503 - Servlet admin.login_jsp is currently unavailable

2006-07-13 Thread David Smith
- lib [server jar files here] - webapps manager admin - webapps - ROOT Admittedly I've abbreviated and not included some directories. Also, do you have a catalina.out log file? What does that show. --David simon jones wrote: Hi David,

Re: HTTP Status 503 - Servlet admin.login_jsp is currently unavailable

2006-07-13 Thread David Smith
Look at permissions for admin.xml -- root.root and read/write only by owner? Try doing this: (from /usr/local/jakarta/jakarta-tomcat-5.5.9) chown tomcat.nobody conf/Catalina/localhost/admin.xml chown -R tomcat.nobody server/webapps/admin Then restart tomcat --David simon jones wrote

Re: HowTo configure IP Filter XOR User Login

2006-07-13 Thread David Smith
I know of nothing built-in to tomcat for that. You could implement a request filter to handle the job although it would mean implementing your own authentication. --David [EMAIL PROTECTED] wrote: Hello, I need to configure two different ways to login to an app. The first one is an ip

Re: JDBC Realm error

2006-07-13 Thread David Smith
Why don't you try using the same dbURL you use in the java code -- "jdbc:odbc:DSNName". Also add in the attributes connectionName for the auth username to the database and connectionPassword for the auth password to same. --David Propes, Barry L wrote: I'm not sure i

Re: Tomcat Not An App Server

2006-07-13 Thread David Smith
Have you read the servlet spec and thought about the ServletContextListener for handling the start/shutdown of a component within your app? --David Mike Wannamaker wrote: I know that Tomcat is not really an App Server like JBoss etc... However, if I had a component that was not a web applica

Re: JDBC Realm error

2006-07-13 Thread David Smith
r in my opinion) toss the JDBC-ODBC bridge software and just use a true Oracle JDBC driver with a standard Oracle connection string. --David Propes, Barry L wrote: well, Tomcat didn't like that at all! It tries to come up (the console) and then quickly disappears! -Original Mess

Re: Tomcat5 installation problem

2006-07-14 Thread David Smith
Port 8005 which tomcat uses as a shutdown port is in use by another process. You could change that in server.xml or shutdown the service on 8005 to fix it. --David Oguz Yarımtepe wrote: Hi. I was trying to install Tomcat 5.5.17 to a windowsXP machine with a service pack 2. I followed the

Re: getting "?" instead of "¢"

2006-07-17 Thread David Delbecq
http://htmlhelp.com/reference/html40/entities/latin1.html balaraju mandala wrote: > Hi All, > > I need some help from you. I need to display Cent(¢) symbol on > browser. I am > getting ? symbol instead, what could be the problem, please explain me. > > Thank you. > > balaraju > -

Re: getting "?" instead of "¢"

2006-07-17 Thread David Delbecq
This is not a matter of saving the jsp/html file on server with the good charset, this is a matter of using the correct entity reference (¢) which is supposed to be displayable by any html 2.0 compliant browser. Ronald Klop wrote: On Mon Jul 17 08:55:56 CEST 2006 Tomcat Users List wrote: Hi A

Re: getting "?" instead of "¢"

2006-07-17 Thread David Delbecq
This is not a matter of saving the jsp/html file on server with the good charset, this is a matter of using the correct entity reference (¢) which is supposed to be displayable by any html 2.0 compliant browser. Ronald Klop wrote: On Mon Jul 17 08:55:56 CEST 2006 Tomcat Users List wrote: Hi All

Re: getting "?" instead of "¢"

2006-07-17 Thread David Delbecq
(Sorry for the double post, alias issue) David Delbecq wrote: This is not a matter of saving the jsp/html file on server with the good charset, this is a matter of using the correct entity reference (¢) which is supposed to be displayable by any html 2.0 compliant browser. Ronald Klop wrote: On

Re: Tomcat on a server

2006-07-17 Thread David Smith
Yes, but Tomcat also pools threads and keeps them around between requests, recycling as necessary. The servlet's themselves should avoid class instance variables unless they are reset to some known state at the beggining or end of every request for this reason. --David Alan Meyer

How to log and debug Realm Authentication in 5.5.17?

2006-07-17 Thread David Erickson
log4j.logger.org.apache=ERROR, R log4j.logger.org.apache.catalina.realm=DEBUG,R log4j.logger.org.apache.[Catalina].[localhost]=DEBUG, localhost Thanks, David -- No virus found in this outgoing message. Checked by AVG Free Edition. Version: 7.1.394 / Virus Database: 268.10.1/389 - Release Date: 7/14

Re: Tomcat Not An App Server

2006-07-18 Thread David Gagnon
Hi In server.xml you can add a lifecycle listener with implements org.apache.catalina.LifecycleListener Download tomcat code and check this one as example. className="org.apache.catalina.storeconfig.StoreConfigLifecycleListener"/> Hope this help Regards /David Mike Wannamaker

Re: [OT] Problems with file permissions

2006-07-19 Thread David Smith
o with tomcat, hence the OT marker in the subject. ---David [EMAIL PROTECTED] wrote: Hi Tomcat users! I have a problem with user permissions on my web server - when a file is ftp'd to the webserver the permissions are -rw-r- and browsers trying to access the url are forbidden to vi

Re: [OT] Problems with file permissions

2006-07-19 Thread David Smith
27;s workers are all spawned as unprivileged users (the user 'apache' in my the case of my server) and the OS will deny access if the apache worker doesn't at minimum have read access. --David [EMAIL PROTECTED] wrote: Hi David, Thanks for that and sorry for my ignorance of Apache

Re: out of memory error

2006-07-19 Thread David Tonhofer
MW Janssen wrote: "java.lang.OutOfMemoryError: unable to create new native thread" Are you it isn't just the heap and/or stack that's too small? Try starting the Jvm with one of the extended options line "-Xss500k" "-Xmx100m" (if it is the Sun JVM) -

Re: Tomcat 5.5/Axis 1.4 java.lang.reflect.InvocationTargetException

2006-07-20 Thread David Smith
to figure out what is happening? See the tomcat website for your version of tomcat. --David Luis Rivera wrote: Hi Barry and Tomcat/users/devs, I am hoping an axis/tomcat/dev/user will have a good advise. I am sure more than one user has needed to use axis/tomcat and a JNI interface, so I am

Re: Database Connection Error Cannot create PoolableConnectionFactory

2006-07-20 Thread David Smith
t codebase "jar:file:${catalina.home}/common/lib/mysql-connector-java-3.14.jar!/-" { permission java.net.SocketPermission "127.0.0.1:3306", "connect" ; } --David Bob Hall wrote: Cameron, You wrote: I have a newly installed and configured Ubuntu server running

Re: log rotation

2006-07-21 Thread David Smith
OS's. Unix/Linux seem to handle the sudden disappearance of a file well (or at least better than Windows) and simply create a new one. Just renaming the file without stop/start may be an option for you on *nix systems. --David Mirou, Antoine wrote: Hello, What is the easiest way t

RE: BOOBIES!

2006-07-23 Thread David Short
Please everyone, drop this!!! I don't know about you, but I get far too many emails as it is. Just use this forum as intended and keep the superfluous emails out. Charles, if you're not the original poster, then you shouldn't have jumped in to the original posters defense and hence labeled a low

Re: Tomcat fails to refresh connections when mySQL server on linux is shutdown and restarted

2006-07-24 Thread David Smith
happens when the database server is restarted. --David Seetha Rao wrote: Hi Chris, thanks for the comments. I thought since we have singleton class and creating a connection object there, we will be reusing the same connection object for all database operations. May be my thinking is not correct. Do

Re: Can't figure out directory structure (again:-(

2006-07-24 Thread David Smith
x27;s own xml file in conf/Catalina/localhost. Context definitions in server.xml is discouraged in newer tomcat versions. --David aladdin wrote: I had this all working with some basic jsp pages and a (one) servlet. I went to continue to build on my application, and all of a sudden, it broke

Re: Some tomcat config questions

2006-07-24 Thread David Smith
any way to fix it? If you want to bind tomcat to a specific IP, use the address="1.2.3.4" attribute in the connector. --David Stuart Fox wrote: Hi First post so be kind :) I've just run a nessus scan against one of our servers running tomcat 4.1.30 standalone on linux and its

Re: Links to relative URL's from a JSP

2006-07-24 Thread David Smith
bContent/image.jpg"> to get around these issues with an absolute path to the image. My example assumes a servlet spec 2.4 webapp and container. --David Mike Molina wrote: This thread is related to relative URL within JSP's and how they refer to the local directory structure in

Re: Setting the classpath for my application

2006-07-24 Thread David Smith
'foo.jar' file? 5. Is foo.jar really in WEB-INF/lib or did you do some symlink/shortcut scheme that tomcat might not follow? --David Darren Hall wrote: I wanted to confirm that jar files in the WEB-INF/lib directory were included in the classpath for my application. In r

Re: Tomcat on Win Server 2003?

2006-07-24 Thread David Smith
Can it be installed on Win 2003 Server? Yes. Can't find any ref's? Probably because it's built in Java and as such is intended to be platform independent. Take a look at the downloads page -- there is a download that installs it as a service. --David maya wrote:

Re: Help needed HTTP response header

2006-07-24 Thread David Smith
code and rebuilding. --David Surya Bob wrote: Hi all, I am trying to tighten up our Apache and Tomcat implementation. I want to suppress server type and version to make fingerprinting harder. HTTP response header HTTP/1.1 200 OK Date: Tue, 05 Nov 2002 17:49:51 GMT Server: XXX S

Re: Links to relative URL's from a JSP

2006-07-24 Thread David Smith
lesheets/catalogue.css"/> --David Mike Molina wrote: I'm beginning to see my problem is a bit more complex than I had mentioned. Here is the situtation: I have two JSP's, login.jsp and catalogue.jsp. Login JSP calls a servlet to do some processing. If it is successful

Re: ResponseWrapper and sendRedirect not working

2006-07-25 Thread David Smith
viously I'm not familiar with the exact API of your code, but you get the idea. If the cookie isn't present or invalid, send a redirect to the login page. Otherwise chain on to the next step in the request process. --David Mani Balasubramani wrote: Chris, This is the complete seque

Re: Where is my Tomcat

2006-07-25 Thread David Smith
gt; To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > Martin, $ echo $JAVA_HOME /usr/lib/jvm/java-1.5.0-sun/ $ sudo /usr/share/tomcat5/bin/startup.sh Using CATALINA_BASE: /usr/share/tomcat5 Using CATALINA_HOME: /usr/share/tomcat5 Using CATALINA_TMPDIR: /usr/share/tomcat5/temp Using JAVA_HOME: /usr/lib/jvm/java-1.5.0-sun/ $ /etc/init.d/tomcat5 start Starting Tomcat 5 servlet engine using Java from /usr/lib/j2se/1.4: with the following catalina_out log The JAVA_HOME environment variable is not defined correctly This environment variable is needed to run this program NB: JAVA_HOME should point to a JDK not a JRE I get the above error even though JAVA_HOME points to the JDK but tomcat insists on using /usr/lib/j2se/1.4 not /usr/lib/jvm/java-1.5.0-sun/ any help Martin? Take a look at the shell script used to start the service (/etc/init.d/tomcat5) and see how it determines the JDK. Is it honoring the JAVA_HOME environment variable or digging around on it's own for something else? --David - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Install tomcat on a linux (suse) V-Server (Strato)

2006-07-26 Thread David Smith
Output is redirected to catalina.out in the logs directory. Take a look at that for details on what is/isn't happening. --David heinz rübezahl wrote: Hi, i tried to install a tomcat server on a linux (suse) V-Server of strato. But it doesn't work! I had sucess at windows but anywa

[OT?] is there a way to map an application URL on tomcat like: http://a.com/app1 to http://app1.a.com/

2006-07-26 Thread David Gagnon
tomcat application? For sure it means using a kind of proxy to convert http://a.com/app1 to http://yourcomagny.saassupplier.com but I have no Idea how this can be done. Any idea ? Thanksfor your help ! /David - To start

Re: Bandwidth Profiler?

2006-07-26 Thread David Kerber
A dialup modem usually works well for this! Michael Partheil wrote: Hi! I'm looking for a way to locally simulate a slow network connection with Apache Tomcat 5.5.9 running on Mac OS X 10.4.6 and Java 1.4.2. I need this to test how my web application works for users with slow internet con

Re: Initial configuration problems

2006-07-27 Thread David Smith
manager webapp right out of the box, ONLY adding a username, password, and a role of manager to tomcat-users.xml. --David Andy Kanter wrote: I have been monitoring the emails on this list and have tried to interpret the documentation for Tomcat 5.5.17 on the web, but I am a total novice with

Re: Tomcat and MySQL error

2006-07-27 Thread David Smith
ot;www.old-domain.com" shows up. Can be done with 'grep -R www.old-domain.com *' in Unix or use the Search tool in Windows and search for files containing the string 'www.old-domain.com'. --David DK wrote: Hello all, I am new to this configuration and working on an exisitng

Re: apache not talking to tomcat w/ mod_jk

2006-07-27 Thread David Smith
If this is the case, move your jsp to a location in webapps/ROOT of tomcat and try it again. --David Ian Caswell wrote: I set mod_jk to log level debug, and saw it was telling apache "2No.Host.matches.server.name". Did some googling, and some sites say it's a permissions iss

Re: What are the advantages on tomcat5.5.17 over the tomcat4.1.29

2006-07-27 Thread David Smith
(comparable to apache httpd these days) I'm sure there are other advantages not listed here. Google again and take a read through the tomcat docs. --David Raju Balugu wrote: Hi All, I subscribed to this list recently...and hopes somebody may asked this question..also but i am in ne

[OT?] is there a way to map an application URL on tomcat like: http://a.com/app1 to http://app1.a.com/

2006-07-27 Thread David Gagnon
r.com but I have no Idea how this can be done. Any idea ? Thanksfor your help ! /David - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [

Re: tomcat , wondoze , Unable to find a javac compiler;

2006-07-27 Thread David Smith
resulting window has two halves. The top is the user's environment, the bottom is the system. The System variables should include JAVA_HOME. CLASSPATH need not be set or can be set to something unrelated to tomcat. --David Randy Paries wrote: unfortuntaly i have to setup tomcat on wi

Re: Apache - Tomcat connector

2006-07-27 Thread David Smith
Easy answer: mod_jk Mod-jk2 lost all support and its features have been back-ported to mod_jk . --David Atul Govande wrote: Hi , I am new to tomcat as well as Apache. I got both thing working independently and now I am trying to connect two together. I was looking different documentation

Re: Back to 404 problem: The requested resource (/Sisc/servlet/servle ts/PesquisaTabPeriferica) is not available

2006-07-27 Thread David Smith
And what do the logs show regarding the problem servlets? --David [EMAIL PROTECTED] wrote: Dear All, I implemented the suggestions from the list but the 404 problem still persists. I have an application called Sisc Under Sisc there are package1 package2 package3... and a new package called

Re: Out Of Memory - String Operation

2006-07-28 Thread David Delbecq
Viks wrote: Hi, My app is running out of app. Code does a lot of string opeartion.It involves fetching records from DB Initially i was using string objects- Program used to finish in about 40-45 min with ~95 cpu usage String concatenation like this String c = a+b; is done in

Re: [OT?] is there a way to map an application URL on tomcat like: http://a.com/app1 to http://app1.a.com/

2006-07-28 Thread David Gagnon
right ? Best regards /David Peter Crowther wrote: From: Hassan Schroeder [mailto:[EMAIL PROTECTED] http://yourcompany.saassupplier.com. This is called a "virtual host"; it requires DNS entries to point that URL to your server, that's all. The simplest way

Re: Tomcat using only 1 cpu

2006-07-28 Thread David Rees
On 7/27/06, Guilherme Silveira <[EMAIL PROTECTED]> wrote: If running CpuTest once gives you 25% its a OS/java problem. If it gives you 100%... its tomcat's fault... This particular problem is not likely to be Tomcat's fault, it's most likely a synchronization/perfromance bug in the applicat

Re: [OT?] is there a way to map an application URL on tomcat like: http://a.com/app1 to http://app1.a.com/

2006-07-28 Thread David Gagnon
Yes but for each URL: http://vhost1.site.com http://vhost2.site.com I need a host entry in server.xml, so in this case 2 host defined in server.xml. Is there a way to have only 1 host defined and using alias or something like this ? Thanks /David Hassan Schroeder wrote: On 7/28/06, David

Can GlobalNamingResources be accessed without a ResourceLink

2006-07-31 Thread David Uctaa
ption, because at the very least, I need to set some server-level environment variables that the applications read. So, is there a way for me to get around having to create a for each application I want to install? didn't work for me. Thanks, David Uctaa

Re: Can GlobalNamingResources be accessed without a ResourceLink

2006-07-31 Thread David Uctaa
Worked like a charm. I never claimed to be an expert. Or even to know what the hell I was doing :) Thanks much! On 7/31/06, Hassan Schroeder <[EMAIL PROTECTED]> wrote: On 7/31/06, David Uctaa <[EMAIL PROTECTED]> wrote: > I am running Tomcat 5.5.16, and I have a couple of Dat

Re: Tomcat 5.5.17 can connect to any webserver without mod_jk ?is this true?

2006-07-31 Thread David Smith
the howto, it looks like you already found one. There are other docs on the web. Word of Warning: Be careful with the proxy setup in your Apache or IIS service that it doesn't become an open proxy. --David Raju Balugu wrote: Hi Mark ,I have a doubt on this again ,I got one more link sta

Re: Tomcat Upgrade

2006-07-31 Thread David Smith
Start with a read through the docs, comparing them to the 4.0.x docs. --David [EMAIL PROTECTED] wrote: Andrew, Our application is currently employed Tomcat 4.0.6. I'd like this to be upgraded to version 4.1.12. Is there documentation which explains a step by step process of how to

Re: Initializing Parameter

2006-07-31 Thread David Smith
(). 2. Add the listener to your web.xml in a attribute. 3. Deploy your app and the contextInitialized() method below will be executed once each time the webapp is started. The servlet spec itself and the servlet api javadocs have complete information on implementing this. --David Ryan O'

Re: org.apache.tomcat.dbcp.dbcp.SQLNestedException: Cannot create JDBC driver of class '' for connect URL 'null'

2006-07-31 Thread David Smith
Is your SQL JDBC driver in common/lib? It has to be there for tomcat to set it up as a resource. Also drop the tag from your context definition. Not needed when the resource is defined inside the tag and may confuse tomcat. --David Aynalem, Seblewengel (Trawick) wrote: Hi there: I am

Re: org.apache.tomcat.dbcp.dbcp.SQLNestedException: Cannot create JDBC driver of class '' for connect URL 'null'

2006-07-31 Thread David Smith
The stack traces mention that the tag is in web.xml (and apparently not well formed xml to boot). Please remove it. It should only be in context.xml with a tag in web.xml. If there are further stack traces, could you post your new context.xml and web.xml? --David Aynalem, Seblewengel

Re: org.apache.tomcat.dbcp.dbcp.SQLNestedException: Cannot create JDBC driver of class '' for connect URL 'null'

2006-07-31 Thread David Smith
Hmmm connection refused. Is your server listening for connections at jdbc:sqlserver://localhost:1433 ? Can you verify it independently? --David Aynalem, Seblewengel (Trawick) wrote: Thanks a lot... I do need to have a space in context.xml file. That solved the problem with xml

Re: Initializing Parameter

2006-07-31 Thread David Kerber
runtime. Ryan O'Hara wrote: One more question: What is the best method for retrieving the values? Thanks again. -Ryan On Jul 31, 2006, at 2:47 PM, David Smith wrote: ServletContextListener is a new feature of servlet spec 2.4 (tomcat 5.0.x, 5.5.x). The essential parts are:

Re: Initializing Parameter

2006-07-31 Thread David Smith
just cast the result to the type it's supposed to be (String, Array, Hashtable, etc., ...) since getAttribute() returns type Object for everything. --David - To start a new topic, e-mail: users@tomcat.apache.org To un

Re: org.apache.tomcat.dbcp.dbcp.SQLNestedException: Cannot create JDBC driver of class '' for connect URL 'null'

2006-07-31 Thread David Smith
t like tomcat would. --David Aynalem, Seblewengel (Trawick) wrote: Sorry to ask this... how do you verify server connection independently. This is my first time configuring doing database connection. Thanks a lot, -Original Message- From: David Smith [mailto:[EMAIL PROTECTED] Sent: Mon

Re: Servlet that needs ROOT access

2006-08-01 Thread David Smith
long as you have very tight control over what commands are executed that way. --David Paul McMahon wrote: Is it possible to run Tomcat as non ROOT (desirable as I see from FAQs/other threads), but have a servlet that needs ROOT access? Or is the solution to have the servlet application

Re: Tomcat 5.5.17 can connect to any webserver without mod_jk ?is this true?

2006-08-01 Thread David Smith
/1.3 protocol. Think if it as incorporating the functions of mod_jk into mod_proxy. --David Raju Balugu wrote: Thanks to David Smith and Mark Thomas . What is the difference between mod_proxy_ajp and mod_proxy?Could you please give details on that? Regards Raju On 8/1/06, Mark Thomas

Re: org.apache.tomcat.dbcp.dbcp.SQLNestedException: Cannot create JDBC driver of class '' for connect URL 'null'

2006-08-01 Thread David Smith
ening with connections to the database. It's good at showing net connection on a Windows box in real time. --David Aynalem, Seblewengel (Trawick) wrote: Thanks David. I am able to connect to SQL Server 2000. Actually Tomcat 5.5.17 and SQL Server 2000 is on the same machine that I am working on.

Re: org.apache.tomcat.dbcp.dbcp.SQLNestedException: Cannot create JDBC driver of class '' for connect URL 'null'

2006-08-01 Thread David Smith
I think you have your answer. The SQL Server is not setup to listen on 1433 or not running. Address this and things should start working. --David Aynalem, Seblewengel (Trawick) wrote: Thanks David, Raju and Johnny for your time and valuable suggestions. To David's question: I ch

Re: Someone Please: Why Is Tomcat Looking In The Wrong Directory?

2006-08-01 Thread David Smith
I'm responding to the first message in the thread, but have read all of it. A thought: How are you opening this file? Hopefully it's via ServletContext.getResourceAsStream( "/myapp/conf/myapp.properties" ) ; --David Robinson, Eric wrote: Hello all, When I start t

Re: Someone Please: Why Is Tomcat Looking In The Wrong Directory?

2006-08-01 Thread David Smith
vlets, etc., ...) are being served up from the proper location, it could be the result of bugs in your third party webapp. Maybe it's reliant on a hard coded path or a relative path to the current directory at the time tomcat was started. --David Robinson, Eric wrote: Sorry, I cannot answe

Re: Someone Please: Why Is Tomcat Looking In The Wrong Directory?

2006-08-01 Thread David Smith
Hmmm. and the plot thickens. Have you asked the vendor about this issue? Can they offer any insights as to how they access the myapp.properties file? --David Robinson, Eric wrote: David, I do not know if the 3rd party app has hard-coded paths. I grepped for tomcat in the app

Re: Dynamically add Filter to webapp without declaring in web.xml

2006-08-01 Thread David Smith
Depending on your version of tomcat, ServletContextListener may be an excellent standard way to go. There was a thread just a few days ago on that. --David Harakiri wrote: Hello, is it possible to dynamically add a Filter for a web app using the tomcat ? If so, is there an example how to

Re: [OT?] Servlet, redirect and progress-monitoring?

2006-08-02 Thread David Smith
s and possibly implement a listener to clean-up any abandon threads when the session is destroyed. --David Kristian Rink wrote: Hi all, being aware that this is not a question strictly tomcat-relevant, lacking a really good mailing-list for discussions closer to the J2EE background itself, I hop

Re: place to put taglib descriptors

2006-08-03 Thread David Smith
The only way a tld should be in WEB-INF/lib is if it's in the META-INF of the jar containing the taglib classes. They can be in let's say WEB-INF/tlds and then added to web.xml in a tag, one per tag. --David Marten Lehmann wrote: Hello, currently (in a 2.4 container) I

Re: Unable to compile the Jsp in Tomcat

2006-08-03 Thread David Smith
e time the second request hits, the process has a chance to complete. Does this sound about right? I've never seen this in my projects, so I don't know what to suggest except for maybe precompiling your jsps as a work-around. --David devteam_matsys wrote: Hi, I am usi

Is there a way so specify a wildcard in host/alias to avoid dealing with bunch of virtual hosts?

2006-08-03 Thread David Gagnon
gards /David Gagnon - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: >>Tomcat 4<<: org.apache.commons.dbcp.SQLNestedException: Cannot create JDBC driver of class '' for connect URL 'null'

2006-08-03 Thread David Smith
CP pooling is where you put dbcp.jar. It'll have to be in common/lib right next to the hsqldb.jar. --David Roy Kiesler wrote: I have been trying for 2 days now to setup a simple connection pool in Tomcat 4.0.6 for a Hypersonic database with the ever-so-popular error in the subject. I

Tomcat SSL question

2006-08-03 Thread David Miller
vers are running on the same machine. Thanks, David

Re: Tomcat SSL question

2006-08-03 Thread David Miller
lhost:8443/my-secured-webapp David On 8/3/06, Mark Thomas <[EMAIL PROTECTED]> wrote: David Miller wrote: > When I run my app using Tomcat only (without apache httpd) I specify the > ports for secure and non-secure pages; http://localhost:8080/my-app or > https://localhost:844

Re: place to put taglib descriptors

2006-08-04 Thread David Smith
You could place them in the META-INF of the jar files they go with. Otherwise, no auto-configure locations that I know of. What's the problem with configuring them in web.xml? --David Marten Lehmann wrote: Hello, They can be in let's say WEB-INF/tlds and then added to web.xml

Re: Tomcat SSL question

2006-08-04 Thread David Miller
Thanks Filip, It's now working as I thought it should. I did what you said as well as manually configuring a worker and adding said worker to a virtual host for port 443. Oh and special thanks to Li. David On 8/4/06, Filip Hanik - Dev Lists <[EMAIL PROTECTED]> wrote: set "

Re: Classpath problem

2006-08-07 Thread David Smith
The quick answer: Do not mess with classpath. Tomcat has a very specific classloader hierarchy. See http://tomcat.apache.org/tomcat-5.5-doc/class-loader-howto.html for details. If this does not answer your question, please post a more detailed message with specifics. --David Julien

Re: apache Tomcat webserver problem

2006-08-07 Thread David Smith
de of that, check to make sure your Windows XP firewall and ZoneAlarm both allow connections on port 8080. --David Rahul Sood wrote: hello I am using TomCat5.5, I have Windows xp professional, i have zonealarm..and everything in it looks fine..i have not tried pinging tomcat ..thats strang

Re: Restarting Tomcat causes application to be displayed across all instances

2006-08-07 Thread David Smith
Tomcat does not explicitely use any specific classpath outside of it's own. It even ignores the system set CLASSPATH variable. Check your config settings and webapp for references to ~/cvs/fable/* directory. --David Ryan O'Hara wrote: I think I found a promising lead to what is g

Re: Problem with java.library.path

2006-08-07 Thread David Smith
F/lib. In $CATALINA_HOME/shared/lib if you are using it accross multiple webapps. --David Minh Tu Thanh Tran wrote: Hi, I want to use methods of an external library (jpl.jar file) inside a java Bean class. But I got this error message from Tomcat 5.5.17 log file: Aug 7, 2006

Code performance question #1

2006-08-07 Thread David Kerber
I have a couple of questions about the performance of my code, but I'm going to ask them in separate threads. The first one is, if I have this loop: for ( ii = 0; ii < data.length; ii++ ) { where data is defined as byte[] , is the .length property evaluated each time through the loop,

Re: Code performance question #1

2006-08-07 Thread David Kerber
By the way, this code is in a servlet running under 5.5.12, if it matters. David Kerber wrote: I have a couple of questions about the performance of my code, but I'm going to ask them in separate threads. The first one is, if I have this loop: for ( ii = 0; ii < data.le

Code performance question #2

2006-08-07 Thread David Kerber
This code is part of a servlet running in TC 5.5.12, jre ver 1.5.0.6. I use this code to break out individual data fields from a line which is structured as "a=1&b=2&c=3&d=4&e=5". It is executed for over 2 million data lines per day, so this routine is executed over 10 mi

Re: Code performance question #1

2006-08-07 Thread David Kerber
s per hour = 166.667 operation per minute = 2.777 operations per second. Given 100.000.000 operations per second your processor can manage, the performance benefit would be zero. On 8/7/06, David Kerber <[EMAIL PROTECTED]> wrote: I have a couple of questions about the performance of my co

Re: Code performance question #2

2006-08-07 Thread David Kerber
plit" method I could use? Or am I completely missing the point of what you are suggesting? Dave Peter Crowther wrote: From: David Kerber [mailto:[EMAIL PROTECTED] It is executed for over 2 million data lines per day, so this routine is executed over 10 million times per day. [snip

Re: Code performance question #2

2006-08-07 Thread David Kerber
don't you tokenize it into string pairs, store the pairs and works with them? leon On 8/7/06, David Kerber <[EMAIL PROTECTED]> wrote: This code is part of a servlet running in TC 5.5.12, jre ver 1.5.0.6. I use this code to break out individual data fields from a line which is stru

Re: Code performance question #2

2006-08-07 Thread David Kerber
Peter Crowther wrote: From: David Kerber [mailto:[EMAIL PROTECTED] Is there a more efficient "split" method I could use? Or am I completely missing the point of what you are suggesting? I think you've slightly missed the point. I assume you're calling your functio

Re: Code performance question #2

2006-08-07 Thread David Kerber
a get sent to the servlet (in, for example the query string)? The data is sent via an HTTP POST request, with the query string lightly encrypted. Peter Crowther wrote: From: David Kerber [mailto:[EMAIL PROTECTED] Is there a more efficient "split" method I could use? Or am I

Re: Taglibs ; error in a JSP using expression langluage

2006-08-08 Thread David Smith
One other possibility -- which servlet spec version do you have specified in your web.xml? If web.xml declares an older version of the servlet spec, these ${} expressions may not be available. --David Pid wrote: which version of tomcat are you using? is Expression Language enabled? as it

Re: stress ROOT application instead my application

2006-08-08 Thread David Smith
That's because you are setting up Apache to view your ecommerce site as the root, but tomcat is still using the ROOT webapp as the root. Dump the ROOT webapp, rename ecommerce to ROOT and reconfigure Apache to your webapp (now named ROOT). --David jeusdi wrote: Helo World, I

Re: tomcat JSP Servlet Apache JK2

2006-08-08 Thread David Smith
Typical cause is a config error in your mod_jk setup or your jsp file located in the wrong place. Please post details of your Apache, mod_jk, and tomcat setups for a more helpful answer. --David jeusdi wrote: Hello, I've configured Apache Web Server with mod_jk2 to communicate it

Re: Code performance question #2

2006-08-08 Thread David Kerber
Pid wrote: David Kerber wrote: Pid wrote: here's another obvious question: if you're in a servlet, and you're getting an & separated string from somewhere, where is the "somewhere" that you're getting it from? does the servlet activate and collec

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