RE: EJB in tomcat

2004-11-29 Thread Phillip Qin
EJB needs EJB container. Tomcat is a servlet/jsp container. However, you can find enterprice beans through naming lookup. -Original Message- From: Mark Thomas [mailto:[EMAIL PROTECTED] Sent: November 29, 2004 2:55 PM To: 'Tomcat Users List' Subject: RE: EJB in tomcat Can EJB's be

Re: Tomcat Requirements?

2004-11-29 Thread Peter Lin
unless there's a really good reason, it's generally better to have the database on one system and tomcat on another. once the concurrent query load increases, tomcat will be fighting mysql for cpu and memory resources. peter On Mon, 29 Nov 2004 13:03:36 -0700, Chris Cherrett [EMAIL PROTECTED]

RE: org.apache.catalina.connector.Request

2004-11-29 Thread Anderson, M. Paul
Never mind...I realize now it's in Tomcat 5 and I'm still using Tomcat 4. -Original Message- From: Anderson, M. Paul [mailto:[EMAIL PROTECTED] Sent: Monday, November 29, 2004 3:12 PM To: Tomcat Users List Subject: org.apache.catalina.connector.Request Can anyone tell me which jar

Re: org.apache.catalina.connector.Request

2004-11-29 Thread Ben Souther
servlet-api.jar On Mon, 2004-11-29 at 15:11, Anderson, M. Paul wrote: Can anyone tell me which jar file the org.apache.catalina.connector.Request class is in? I can't find it to add it to my project to allow me to compile my custom realm. Thanks a lot!!

RE: What Connector Should I Use?

2004-11-29 Thread Michal Kwiatek
And when (roughly) is Apache 2.1 due? Michal. -Original Message- From: Mladen Turk [mailto:[EMAIL PROTECTED] Sent: Monday, November 29, 2004 6:14 PM To: Tomcat Users List Subject: Re: What Connector Should I Use? Phillip Qin wrote: Will you suggest that we can now start

RE: org.apache.catalina.connector.Request

2004-11-29 Thread Shapira, Yoav
Hi, It depends on your Tomcat version. For 5.0.28, that class isn't around. In server/lib, you have: org.apache.coyote.Request (in tomcat-coyote.jar), org.apache.catalina.Request, org.apache.catalina.connector.RequestFacade, org.apache.coyote.tomcat5.CoyoteRequest (in its façade), and a couple

Tomcat automatically serializes session on shutdown and startup on Unix

2004-11-29 Thread Pek Lee
Hi there, I have been having some trouble sending this email to this user group. So if you have receive this more than once, sorry! And if you have replied to it, please forward it to me again as I have not receive any respond so far...Thanks!

Re: org.apache.catalina.connector.Request

2004-11-29 Thread Ben Souther
Disregard that (bad information). Sorry. On Mon, 2004-11-29 at 15:17, Ben Souther wrote: servlet-api.jar On Mon, 2004-11-29 at 15:11, Anderson, M. Paul wrote: Can anyone tell me which jar file the org.apache.catalina.connector.Request class is in? I can't find it to add it to my

RE: Tomcat automatically serializes session on shutdown and startup on Unix

2004-11-29 Thread Shapira, Yoav
Hi, In my reply on jakarta-general, I asked whether when you run on windows as a service or from the command line. Running from the command line, there should be no difference between HPUX and windows as far as session persistence goes. Yoav Shapira http://www.yoavshapira.com -Original

RES: [java] RE: bug JDBC Real with CLIENT-CERT

2004-11-29 Thread Paulo Alvim
Thanks, Mark! Could you tell me if my kind of issues (JDBC/Ldap Realm) are there?... Alvim. -Mensagem original- De: Mark Thomas [mailto:[EMAIL PROTECTED] Enviada em: segunda-feira, 29 de novembro de 2004 17:02 Para: 'Tomcat Users List' Assunto: [java] RE: bug JDBC Real with CLIENT-CERT

Re: Form Authentication Trouble with Firefox

2004-11-29 Thread Bob Feretich
I have not examined Tomcat 5. My hosting provider doen't support it, yet. For Tomcat 4.1.21 (and may be the same for Tomcat 5): 1) Download the source tree from the jakarta.apache.org site. 2) AuthenticatorBase can be found at catalina/src/share/org/apache/catalina/authenticator/ 3) After you

RE: [java] RE: bug JDBC Real with CLIENT-CERT

2004-11-29 Thread Mark Thomas
The JDBC stuff is all there and works. I don’t understand how this then fits in with AD/LDAP? Could you enlighten me? I assume you don't mean the JNDI realm (which I haven't done anything with or even tested if CLIENT-CERT will work with) Mark -Original Message- From: Paulo Alvim

RE: Tomcat automatically serializes session on shutdown and startup on Unix

2004-11-29 Thread Pek Lee
Hi Shapira, In Windows, I ran Tomcat as a service. However, in Unix I ran Tomcat from the command line. I would appreciate if you could provide some information about the difference between the 2 modes available to startup/shutdown Tomcat. Cheers, -Pek Lee- Shapira, Yoav [EMAIL PROTECTED]

RE: Tomcat automatically serializes session on shutdown and start up on Unix

2004-11-29 Thread Phillip Qin
You can also start tomcat in your rc.d init script. -Original Message- From: Pek Lee [mailto:[EMAIL PROTECTED] Sent: November 29, 2004 4:37 PM To: Tomcat Users List Subject: RE: Tomcat automatically serializes session on shutdown and startup on Unix Hi Shapira, In Windows, I ran

can't find javac tomcat 5.0.30 jdk1.5.0

2004-11-29 Thread D. Stimits
I've found several clues that suggest this is a common problem, but no fixes. I have jdk installed on linux at /opt/jdk-1.5.0/, it works properly for all users, and in all cases JAVA_HOME is set here. Any attempt to recompile a JSP (I have it set to check for page out of date each hit) results

Re: Tomcat Requirements?

2004-11-29 Thread Parsons Technical Services
Chris, You have two choices: Lighten the load on the server. OR Get a better machine. One simple method to determine load on the Win box is Task Manager. This will give you a feel for processor consumption and memory size. If the only loads are mysql and Tomcat then you are forced to consider

RE: What Connector Should I Use?

2004-11-29 Thread Thomas Charles Robinson
This note here says: IMPORTANT NOTE: The JK connector is now deprecated. Use the Coyote JK 2 connector instead. (http://jakarta.apache.org/tomcat/tomcat-4.1-doc/config/jk.html) So now the question what is supported? (or better still, which documentation should I be reading for current correct

JK/JK2 connector className?

2004-11-29 Thread Thomas Charles Robinson
Hi, I've decided now to try to get tomcat 1.4.30 working with JK. From what I understand (not much at this stage), JK2 is no longer actively supported, hard to configure and all advancements from it will be back-ported to JK thus making JK the best choice today. Right, well my rpm of tomcat4

jdbc via ResourceLink in context.xml not working in 5.5.4

2004-11-29 Thread Jeff Ousley
Hello, I am moving from tomcat 5.0.28 to 5.5.4 and I'm having trouble getting my jdbc driver working in the new tomcat. I have a Resource set up under GlobalNamingResources in server.xml, just as I did in 5.0.28. I also have a corresponding conext xml file (named the same as my test app -

Delivering JSPs without source

2004-11-29 Thread Steve Procter
We have a web application that uses jsps. We want to deliver the application to the customer without source for the jsps. We have done this in the past by putting all of the compiled jsps into a jar file. Recently we had to move the application jar files from webapps/appname/WEB-INF/lib to

WebDAV servlet bug for UTF-8 characters

2004-11-29 Thread Garret Wilson
I have a file with the character RIGHT SINGLE QUOTATION MARK U+2019 in the title. The file is listed fine when I browse to the Tomcat WebDAV enabled directory with a browser. Clicking on the file attempts to browse to the file, with the character UTF-8 encoded as %E2%80%99, but Tomcat

Britta Albrecht/HKG/HELLA ist außer Haus.

2004-11-29 Thread Britta . Albrecht
Ich werde ab 30.11.2004 nicht im Büro sein. Ich kehre zurück am 20.12.2004. Ich werde Ihre Nachricht nach meiner Rückkehr beantworten. In dringenden Fällen wenden Sie sich bitte an Frau Dagmar Ernst (0 29 41/38 67 17, [EMAIL PROTECTED]).

[HttpSession creation: When How]

2004-11-29 Thread Carlos Cajina
Good evening. My question is about HttpSession objects creation and destruction within a Servlet/JSP container. I'm using the JBoss/Tomcat bundle (versions 3.2.3/4.1.29) with a database realm properly configured. Here's how things work so far: 1. User goes to a predefined Welcome File

Error Preventing upgrade to Tomcat 5

2004-11-29 Thread Chris Cherrett
I have tried to solve this now for awhile and can't seem to track it down. The error only happens in Tomcat 5. When I call RequestDispatcher taskDispatcher = req.getRequestDispatcher(taskServices[c]); if (taskDispatcher != null)

subdomain withour restart

2004-11-29 Thread Fedor Smirnoff
Hi, Is there a way to setup subdomains as in user1.domina.co, user2.domain.com without restarting Tomcat5 ? I am using IIS and Tomcat5 through JSAPI plugin. I know I have to restart for first level domains :( but thought maybe there is hope with subdomains? Thanks, Fedor

Re: Multipe Tomcat instances

2004-11-29 Thread David Boyer
I would say one of the benefits is the ability to have sites using different versions of Tomcat and Java. We run two instances on our main server: one hosts our official sites, the other hosts user (student/faculty) sites. This lessens the possibility that any 'untrusted' code on our user sites

Re: [HttpSession creation: When How]

2004-11-29 Thread Dennis Payne
You can use the session.invalidate() if you need to before creating a new session (I did not use this approach). With my system, if the session exists we check for required elements and place them there if they are missing. Every thirty minutes the session automatically invalidates. At that

RE: org.apache.catalina.connector.Request

2004-11-29 Thread Anderson, M. Paul
Sorry for another question...I am using Tomcat 4.1 ... Is there a way to know which version of the org.apache.catalina.connector.Request class is used with this version? I have gone to the Apache CVS Repository but I can't figure out which version revision of JDBCRealm.java goes with this Tomcat

Re: Error Preventing upgrade to Tomcat 5

2004-11-29 Thread Jean-Francois Arcand
From the source, it possible our code need a fix. Can you open a bug and attach a test case? Mainly, this line is failling: 199 // The first scenario occurs when the jsp is not directly under / 200 // example: /utf16/foo.jsp 201 if

Re: help - Java error starting Tomcat 5

2004-11-29 Thread David Stevenson
On Mon, 2004-11-29 at 10:44, Billy Talton wrote: All, I'm attempting to install Tomcat 5 on my Fedora 2 server. The packages appear to install just fine but I get the following error when I try to start the server. I'm using java version 1.4.1_03. Any ideas? [EMAIL PROTECTED]

Re: [HttpSession creation: When How]

2004-11-29 Thread Frank W. Zammetti
Yes, the session is created automagically when a servlet-served resource is accessed (meaning things other than HTML, images, things like that). JSPs and servlets in other words. I seem to remember a config switch to turn this off, but that's how it generally works, and this is usually how

RE: help - Java error starting Tomcat 5

2004-11-29 Thread David Stevenson
On Mon, 2004-11-29 at 10:50, Shapira, Yoav wrote: Hi, What version of Tomcat 5, and from what distribution? It seems like your installation is incomplete or corrupt. Yoav Shapira http://www.yoavshapira.com We have had some corruption issues on Solaris with Tomcat distributions. Because:

Re: Error Preventing upgrade to Tomcat 5

2004-11-29 Thread Chris Cherrett
I have found a work around. It would require that we werite our jsps. If I pass this to my controller it crashes in Tomcat 5 document.frmGeneral.taskService.value = /; This works document.frmGeneral.taskService.value = ; Does this help? Thanks On Monday 29 November 2004 06:23 pm,

Re: JDNI: define my own resource

2004-11-29 Thread David Stevenson
On Mon, 2004-11-29 at 11:36, lydie soler wrote: Hi, I would like to define my own DB classe to be used through JNDI. If anyone has a simple example to give me, it would help me a lot. I would like to create a pool of serializable objects. So I would need to write my own

Re: [HttpSession creation: When How]

2004-11-29 Thread David Stevenson
You could put the following page directive on your login? .jsp page: %@ page session=false % David Stevenson On Mon, 2004-11-29 at 20:35, Frank W. Zammetti wrote: Yes, the session is created automagically when a servlet-served resource is accessed (meaning things other than HTML, images,

License Reason using JRE(RE: Tomcat JRE vs JDK Issue)

2004-11-29 Thread muimi admin
hi, it is that anyone can redistribute a JRE for commercial use, but not a JDK. The latter is a license violation I heard that Sun JDK can redistributed for commercial use with no changes. So if you're creating a shrink-wrapped product, you can't bundle the JDK with it (unless you get a

Form Authentication probem with tomat 4.1.30

2004-11-29 Thread pandu yelamanchili
Hi I am using Form Authentication on Tomcat 4.1.30 and oracle ojdbc14.jar driver. It always fails. When I used debugger in the JDBCRealm class of Tomcat, All my user id / db info is right, but when the username is set on the preparedstatement, it does not work. I always get an empty resultset

Re: Shutdown error Tomcat 5.5.4 and jdk1.5.0 on Fedora

2004-11-29 Thread Bill Barker
Daemon 1.0 is what ships with Tomcat. You need 1.1-dev (aka CVS HEAD). Phill Ashworth [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] I was using the jsvc bundled with Tomcat, I've also tried with the latest from Commons Daemon 1.0 and it makes no difference. Debug posted below if

Re: No more threads

2004-11-29 Thread Quinton Delpeche
On Monday 29 November 2004 15:42, David Teruel wrote: Hello. Thanks for your response. I'd already tried this solution, but if I add the line you recomend, I get this message Interesting. UseTrainGC not supported yet for 32-bit. Could not create the Java virtual machine. What JVM are you

Re: accessing files within webapps

2004-11-29 Thread Quinton Delpeche
On Monday 29 November 2004 16:42, Shapira, Yoav wrote: Hi, Hi, Suggestion: show us what the actual error is, e.g. a stack trace. It's most likely an environment configuration issue as you suggest. But not likely to be a file permissions issue: rather, check that the mail server is

Re: Tomcat Requirements?

2004-11-29 Thread Quinton Delpeche
On Monday 29 November 2004 21:43, Chris Cherrett wrote: I have a client who is claiming that my software is slowing down. I cannot determine why this would be. He is running the following: P3 - 450 with 360MB of RAM with 2 IDE - 7200 RPM drives mirrored Raid 1 with Win2k I have found that

Re: Delivering JSPs without source

2004-11-29 Thread Quinton Delpeche
On Tuesday 30 November 2004 01:32, Steve Procter wrote: We have a web application that uses jsps. We want to deliver the application to the customer without source for the jsps. We have done this in the past by putting all of the compiled jsps into a jar file. Hi, Hate to burst your bubble,

suse 9.1, tomcat5.0.27, mod_jk2, apache 2.0.13 problems

2004-11-29 Thread dawg fan
Hello, We just reloaded many of our front-end servers to suse 9.1 from suse 8.2. This release of suse of course has the new 2.6 kernel with a few other changes. That is the only change as we used the same tomcat 5.0.27, mod_jk2, and apache 2.0.13 configurations from the previous 8.2 server.

Re: suse 9.1, tomcat5.0.27, mod_jk2, apache 2.0.13 problems

2004-11-29 Thread Quinton Delpeche
On Tuesday 30 November 2004 06:29, dawg fan wrote: Hello, Hi, We just reloaded many of our front-end servers to suse 9.1 from suse 8.2. This release of suse of course has the new 2.6 kernel with a few other changes. That is the only change as we used the same tomcat 5.0.27, mod_jk2, and

Re: Delivering JSPs without source

2004-11-29 Thread Quinton Delpeche
On Tuesday 30 November 2004 06:39, you wrote: Ummm - I think you need to read the original message again. He's putting _compiled_ JSPs into the jar - not source. These are .class files, not .jsp or .java. Of course, there are some pretty decent disassemblers out there. Ooops ...sorry,

Re: webdav servlet file path; documentation

2004-11-29 Thread Garret Wilson
Mark, Thanks for giving me a place to start. I've had a half-our glance at the source code; let me know if I'm going in the right direction. Doesn't this simply entail making sure that the ProxyDirContext resources object created in DefaultServlet has the correct file system root? Would that

Re: Delivering JSPs without source

2004-11-29 Thread parviz
I'm a little confused as to what you mean by object repository. You have your Realm in common/lib which is fine. All the other Realm(jdbc,jndi...) exist in common/lib. I'm not clear what your Realm does with your object repository? whats the connection between these two?Does your compiled jsp

Tomcat 5 and win2000l...

2004-11-29 Thread chandrashekhar sf cs
hi i want to install tomcat5 on win2000. i am using jdk1.3. is mandatory jdk1.4?whenever i start tomcat (startup.bat) screen scroll and tomcat stopped. what is wrong with me. any change in server.xml or web.xml? plz help

Tomcat 5 and win2000l...

2004-11-29 Thread chandrashekhar sf cs
hi i want to install tomcat5 on win2000. i am using jdk1.3. is mandatory jdk1.4?whenever i start tomcat (startup.bat) screen scroll and tomcat stopped. what is wrong with me. any change in server.xml or web.xml? plz help

Re: [HttpSession creation: When How]

2004-11-29 Thread Bob Feretich
When Tomcat intercepts an access to a protected resource and redirects to your login form, it saves your initial request by attaching it to the session object. If the login is successful, it retrieves the saved request and redirects to it. If you don't have an active session, it creates one to

Information

2004-11-29 Thread tomcat-user
Important bill! - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

<    1   2