Unable to connect to Access DB using service startup

2005-06-15 Thread John Lindley
Hi everyone, I am trying to connect to an Access database while running Tomcat 5.0.28. I have the ODBC node defined under the System DSN and when I start Tomcat manually, everything works fine. However, when I start Tomcat from the service, everything works fine, except for the page

Connector for apache and tomcat

2005-06-15 Thread Christine Ho
Hi, I am running the apache server 2.x and tomcat 5.5.x on RHEL4. I tried to setup the connector (JK1.2) between them and it didnt work. I know how to do the configuration on apache side. And I have documentation how to modify the Tomcat 4.1.x's server.xml file so that the tomcat can listen to

Re: tomcat does not like cmdline args of wget?

2005-06-15 Thread Holger Klawitter
Why, not? It is always a good idea to start testing the simple things ;) Never mind, I would even been happier to say 'doh' at this point and hence seeing the problem solved :-) You could google for problems with wget authentication. Maybe others have found similar problems. I'll check

Re: tomcat does not like cmdline args of wget?

2005-06-15 Thread Shiro Amada
First I won;t like to say thx for reply my mail. Sorry for didn't tell my OS, I am using Windows OS SP2, and then now I doing java servlet, the problem is I can connect with my MS Access database. I already attact my java file, u can have the look. The coding don't have problem, because that

hosting service: webhype.nl

2005-06-15 Thread Charl Gerber
Has anyone had experience with webhype.nl ? Their prices and service almost seem too good to be true. :) - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Tomcat for Solaris System

2005-06-15 Thread william
Hi, I am new to solaris system and i want to learn jsp in solaris system using tomcat server. where can i get the tomcat server and how to install it in solaris. What is the process of executing jsp in solaris. Tomcat 5.5.9 has been packaged for Solaris and is available from

RE: Redirecting Tomcat to IIS (UNCLASSIFIED)

2005-06-15 Thread Young, Ed CONT Anteon
Classification: UNCLASSIFIED Caveats: NONE Woodchuck, I have completed uninstalled the JK. Re-installed the jk with the file I got from the website below; do you think I could have a issue with the configuration in the server.xml file? -Original Message- From: Woodchuck

RE: Using Catalina API

2005-06-15 Thread Rick
We get a list of sessions from a specific webapp by using the JMX interface, once you get a connection you could get a list of all manager mbeans (webapps) and then invoke the listsessions method on each manager to get a list of sessions.. However.. This only seems to work with the older 1.1.1

RE: Help/Examples setting up security settings

2005-06-15 Thread Gagnon, Joseph M \(US SSA\)
Ah-ha! Everything I had read so far led me to think I needed to put everything under ROOT. I'm glad you guys pointed that out. It makes sense. In the meantime, to make things simpler, I set up another webapp without any of the SPID stuff I was talking about before. It's very simple and contains

Re: Concurrent login detection - how?

2005-06-15 Thread Andre Van Klaveren
I mentioned this issue (killing browser problem) in a previous posting. The only way to prevent this is to invalidate the original session also in the event that a duplicate login was detected. I can see a possible DOS attack problem with this solution though. Maybe you shouldn't invalidate the

Re: Concurrent login detection - how?

2005-06-15 Thread Woodchuck
yes, this boils down to a business policy issue. in my web app the policy is 'one user at any one time'. we track user logins at the database level. we immediately invalidate the existing user session if the same user has just logged in (again). the existing user gets a your session has

Re: Concurrent login detection - how?

2005-06-15 Thread Nikola Milutinovic
Andre Van Klaveren wrote: I mentioned this issue (killing browser problem) in a previous posting. The only way to prevent this is to invalidate the original session also in the event that a duplicate login was detected. I can see a possible DOS attack problem with this solution though. Maybe

Re: [Q] when to share jars

2005-06-15 Thread teknokrat
delbd wrote: Then put those libs in WEB-INF/lib too Le Mardi 14 Juin 2005 14:31, teknokrat a écrit : Charl Gerber wrote: When do you share jars (struts, log4j, jstl, etc) for webapps in the common/lib directory and when does each app need its own copy of the jars? Log4j we've found by

Re: [Q] when to share jars

2005-06-15 Thread Larry Meadors
How many web apps do you have? Put the jar in shared, and you get to restart them all anyway...on each shared jar update. I am sure your users will love that. ;-) Larry On 6/15/05, teknokrat [EMAIL PROTECTED] wrote: delbd wrote: Then put those libs in WEB-INF/lib too And if we need to

RE: Help/Examples setting up security settings2

2005-06-15 Thread Frank Zammetti
Although I don't think this is the source of your problem, it strikes me as odd to be protecting the root of your webapp when this is where the unprotected page are as well (i.e., login.jsp, login_error.html) I would suggest leaving those two in the root of the webapp, and move environment.jsp

RE: email from tomcat

2005-06-15 Thread Jef Sullivan
Something that I found concerning this same issue is SendMail. Google for SendMail and you might find what you are looking for. Jef Sullivan -Original Message- From: Paul Singleton [mailto:[EMAIL PROTECTED] Sent: Tuesday, June 14, 2005 12:19 PM To: Tomcat Users List Subject:

RE: Help/Examples setting up security settings2

2005-06-15 Thread Gagnon, Joseph M \(US SSA\)
See my comments/questions below. -Original Message- From: Frank Zammetti [mailto:[EMAIL PROTECTED] Sent: Wednesday, June 15, 2005 11:37 AM To: tomcat-user@jakarta.apache.org Subject: RE: Help/Examples setting up security settings2 Although I don't think this is the source of your

RE: Help/Examples setting up security settings2

2005-06-15 Thread Gagnon, Joseph M \(US SSA\)
Let's try that again so that you can see it. See my comments/questions below. -Original Message- From: Frank Zammetti [mailto:[EMAIL PROTECTED] Sent: Wednesday, June 15, 2005 11:37 AM To: tomcat-user@jakarta.apache.org Subject: RE: Help/Examples setting up security settings2 Although I

Re: Help/Examples setting up security settings2

2005-06-15 Thread Frank Zammetti
Although I don't think this is the source of your problem, it strikes me as odd to be protecting the root of your webapp when this is where the unprotected page are as well (i.e., login.jsp, login_error.html) [Gagnon, Joseph M] What can I say, I don't know much about what I'm doing. That is a

java.lang.NoClassDefFoundError: sun/tools/javac/Main

2005-06-15 Thread Anoop kumar V
I am using Tomcat 4.1.30 standalone and am repeatedly facing this issue of java.lang.NoClassDefFoundError: sun/tools/javac/Main whenever I try to serve up a jsp from a specific folder within webapps. I know that this is a classpath issue - but i have checked my JAVA_HOME and it is pointing

Re: probem using mod_jk

2005-06-15 Thread Sander de Boer
Hi Rui, I have that same problem. But I can't find any error log. My Tomcat version: 4.1.30 Cheers, Sander - Original Message - From: Rui Alberto [EMAIL PROTECTED] To: tomcat-user@jakarta.apache.org Sent: Monday, June 13, 2005 8:51 PM Subject: probem using mod_jk Hi all, I'm using

RE: java.lang.NoClassDefFoundError: sun/tools/javac/Main

2005-06-15 Thread Martín Cabrera
Are you sure you have the %JAVA_HOME%\lib\tools.jar?...this jar contains the java compiler that tomcats needs in order to compile jsps pages. Hope this helps. Martín. -Mensaje original- De: Anoop kumar V [mailto:[EMAIL PROTECTED] Enviado el: Miércoles, 15 de Junio de 2005 01:30 p.m.

Startup class in Tomcat 5.x

2005-06-15 Thread Sethuraman, Prabhu \(Cognizant\)
Folks, Is there a way in which we can write a startup class in Tomcat. Similar to what we have in Weblogic? I am aware of the approach of writing a servlet and setting load-on-startup to 1. But wanted to confirm if this is really the only way out. Cheers, Prabhu S This e-mail and any files

RE: Help/Examples setting up security settings2

2005-06-15 Thread Øyvind Johansen
The /Simple_JSP part of the URL should be left out. Always start typing from the web-app folder. (because, who knows when you want to rename the webapp?) If you remove the /Simple_JSP part of the URLs in the web.xml, I think it will work, additionally, you should try not setting restricted access

RE: Help/Examples setting up security settings2

2005-06-15 Thread Øyvind Johansen
The /Simple_JSP part of the URL should be left out. Always start typing from the web-app folder. (because, who knows when you want to rename the webapp?) If you remove the /Simple_JSP part of the URLs in the web.xml, I think it will work, additionally, you should try not setting restricted access

Tomcat 4.1.30 uses 100% CPU on Windows 2000

2005-06-15 Thread Damon Henderson
I am having and issue with Tomcat 4.1.30 running on Windows 2000 Server. From time to time I will get horrible application performance JSP pages that normally take 2-3 seconds to display will take upwards of 45 seconds to display if at all. When I investigate on the server I notice the Tomcat.exe

RE: Connector for apache and tomcat

2005-06-15 Thread luc_boudreau
Please refer to message 128209 for a complete howto. Request it by sending an email to : [EMAIL PROTECTED]

Webdav on Tomcat 5.0.28 fails

2005-06-15 Thread Padmanabhan, Sheeba
Hi, Our Webdav Server works fine with Tomcat 4.0. But when it is configured to use it through Tomcat 5.0, it just won't work. The Webfolders, Office Appilications - all are failing. Am I missing any configuration settings specific to 5.0? Any help would be much appreciated. Thanks

mod_jk 1.2.13 logging - bug in mod_jk?

2005-06-15 Thread Ryszard Lach
Hi. After upgrading mod_jk to 1.2.13 I'm observing a strange change in my mo_jk.log. I'm almost sure, that not all entries appear in my log, there is an extra empty line between every log line and dates displayed in log entries are not ordered, as they were before upgrade, e.g.: [Wed Jun 15

Re: Webdav on Tomcat 5.0.28 fails

2005-06-15 Thread Mark Thomas
What URL mapping are you using? For MS clients /* works better than /. Mark Padmanabhan, Sheeba wrote: Our Webdav Server works fine with Tomcat 4.0. But when it is configured to use it through Tomcat 5.0, it just won't work. The Webfolders, Office Appilications - all are failing. Am I missing

Re: failure delivery

2005-06-15 Thread Mark Thomas
I think the two are unrelated although I'll be happy if that isn't the case ;) I have blocked the ultralingua address so these messages should be no more. It is worth noting that I never received a message from ultralingua although I post to the list several times a day. The lesson here is if

Re: java.lang.NoClassDefFoundError: sun/tools/javac/Main

2005-06-15 Thread Anoop kumar V
Yes - I am sure - This is a line in the setclasspath.bat set CLASSPATH=%JAVA_HOME%\lib\tools.jar And my other webapps which have jsp work. But for some reason this jsp which is in the struts-blank.war gives this exception. Anoop On 6/15/05, Martín Cabrera [EMAIL PROTECTED] wrote: Are you

Shell command to stop and start a webapp without using the manager?

2005-06-15 Thread wlbettens
Hi all, I'd like to know if there's a shell command to stop and start separate web applications. With our configuration, we are unable to use the manager. * We are running Tomcat 5.5 and Apache 2 with the JK Connector (mod_jk) on RedHat Linux. * We have several virtual hosts. When we used 1

Re: Startup class in Tomcat 5.x

2005-06-15 Thread David Smith
The servlet spec is your friend: http://www.jcp.org/en/jsr/detail?id=154 Among other things, SRV.10 of the spec describes the use of event listeners like javax.servlet.ServletContextListener for handling events like when a webapp starts or stops. Completely portable to all servlet 2.4 spec

Connection pool information in TC 5

2005-06-15 Thread Sethuraman, Prabhu \(Cognizant\)
Folks, Per what I have observed, Tomcat Admin console does not have the facility for me to get to know about the number of active connections to a DB for a Connection pool defined in server.xml. Is that correct? If yes, is writing a page using JMX a time consuming task? Any alternatives? Let

RE: Help/Examples setting up security settings

2005-06-15 Thread Frank W. Zammetti
Although I don't think this is the source of your problem, it strikes me as odd to be protecting the root of your webapp when this is where the unprotected page are as well (i.e., login.jsp, login_error.html) I would suggest leaving those two in the root of the webapp, and move environment.jsp

RE: Help/Examples setting up security settings1

2005-06-15 Thread fzlists
Although I don't think this is the source of your problem, it strikes me as odd to be protecting the root of your webapp when this is where the unprotected page are as well (i.e., login.jsp, login_error.html) I would suggest leaving those two in the root of the webapp, and move environment.jsp

RE: Connector for apache and tomcat

2005-06-15 Thread Christine Ho
Thanks. I have tried it and I still cant make it work. But it is better than before. I got HTTP status 404 - /jsp-eg/index.html. In error.log in apache, I got the following: [Wed Jun 15 15:33:04 2005] [emerg] No JkShmFile defined in httpd.conf. LoadBalancer will not function properly! No

RE: Tomcat 4.1.30 uses 100% CPU on Windows 2000

2005-06-15 Thread Sethuraman, Prabhu \(Cognizant\)
Damon, Have your tried doing a pre-compilation of your JSPs. I am not sure if this would solve your problem but this definitely helps a lot. You can do this, even if your webapp is going to reside in a .war file. Just incase you have not done this yet, give a try and let see if its gonna help

Re: java.lang.NoClassDefFoundError: sun/tools/javac/Main

2005-06-15 Thread Anto Paul
Another point is that I compiled using JDK1.5_01 but the tomcat4.1.30 I am using points to jdk1.4.2. On Tomcat5.5 (pointing to jdk1.5) this worked like a charm - I just dropped the war in webapps and the jsp was displayed. Can anybody give me some pointers as to how I can

Re: email from tomcat

2005-06-15 Thread Nikola Milutinovic
Jef Sullivan wrote: Something that I found concerning this same issue is SendMail. Google for SendMail and you might find what you are looking for. Interesting, but I suspect the original poster would need to sink teeth into JavaMail API, anyway. Nix.