Re: Minimal server

2005-05-24 Thread Giuseppe Briotti
== Date: Mon, 23 May 2005 13:15:33 -0700 (PDT) From: Dola Woolfe [EMAIL PROTECTED] To: Tom Cat tomcat-user@jakarta.apache.org Subject: Minimal server == Hi, Perhaps this is a strange question. Basically, I believe that (for many

Re: Re: Minimal server

2005-05-24 Thread ERROR
|| Hej. Du har försökt skicka ett e-mail till Fructus Data AB. Ditt meddelande har inte nått fram till mottagaren. Detta beror troligtvis på att mail-adressen du

RE: Client Authentication certificates

2005-05-24 Thread Philippe Johan
Hi Mark, To answer your questions: - You can create your own Certificate Authority (CA) with no links to any other certificate, institution,... A typical CA certificate is just that: a self-signed certificate (=signed with the private key matching the public key contained inside the

RE: Client Authentication certificates

2005-05-24 Thread Mark Benussi
Thank you ever so much. The certificates will be for a subset of my clients and so I am not that worried. I really appreciate your help. -Original Message- From: Mark Thomas [mailto:[EMAIL PROTECTED] Sent: 23 May 2005 23:13 To: Tomcat Users List Subject: Re: Client Authentication

RE: Client Authentication certificates

2005-05-24 Thread Mark Benussi
Thanks Philip.. ever so much help. I really appreciate this! -Original Message- From: Philippe Johan [mailto:[EMAIL PROTECTED] Sent: 24 May 2005 08:55 To: tomcat-user@jakarta.apache.org Subject: RE: Client Authentication certificates Hi Mark, To answer your questions: - You can

RE: Minimal server

2005-05-24 Thread Peter Crowther
From: Dola Woolfe [mailto:[EMAIL PROTECTED] What I'm primarily thinking about is what the user would need to have/install in order to use the program. And I want the user to simply click on a file and for the program to just run (provided the jre is installed). Tomcat is capable of running

apache-tomcat-mod_jk-ssl

2005-05-24 Thread faisal
hi guyz i ve just configured to use my tomcat 5.5.x running on win2k machine with apache web server 2.0.49 running on fedora core 2 machine. my application are running perfectly well. infact i m noticing a certain level of increase in performance. however, i get into troubles as soon as i take my

Accesing private resources with Tomcat

2005-05-24 Thread Borja Bravo Alférez
Dear Tomcat Users, I have been working on an interesting problem. I need to give access to several servers in a private network. Lets say that there are: http://192.168.1.2/mail http://192.168.1.3/accountWebManager http://192.168.1.4/phpApps

Re: Accesing private resources with Tomcat

2005-05-24 Thread Tim Funk
Tomcat would need to act as a reverse proxy. There is no functionality bundled with tomcat to do this but there might be other servlets which allow this. -Tim Borja Bravo Alférez wrote: Dear Tomcat Users, I have been working on an interesting problem. I need to give access to

RE: Minimal server

2005-05-24 Thread Steve Kirk
OK glad someone else said that because I don't get this either but didn't reply because I assumed I must have misunderstood. Dola, apologies in advance if I have got the wrong end of the stick, but are you saying that you want to install an app on many PCs, and the app does not need to interact

Re: Accesing private resources with Tomcat

2005-05-24 Thread Lionel Farbos
As Tim said, there is nothing bundled with Tomcat to do this, but you can easily write your own proxy to do this. You'll have something like : http://[MyPublicProxy]/mail http://[MyPublicProxy]/accountWebManager http://[MyPublicProxy]/phpApps with mail, accountWebManager, phpApps that are servlets

Re: apache-tomcat-mod_jk-ssl

2005-05-24 Thread Tom Holmes Jr.
I have Tomcat 5.5.9 and Apache 2.0.54 running on Windows 2000, connecting them with mod_jk (not jk2). The only thing I want to do now is have Apache run Tomcat in-process like I did with jk2, is this possible? And if it is, what files do I need to update and configure? Thanks.

Compiling JSP files

2005-05-24 Thread Charles P. Killmer
I am having a problem where one of my jsp files won't compile. Tomcat successfully creates the java file but it never creates the class file and hence never responds to the request for the page. I am looking for what needs to be in the command line in order to manually compile the java file

Re: Compiling JSP files

2005-05-24 Thread Marco Pöhler
You have to add jsp-api.jar to the classpath. hth Marco --- http://www.kontaktlinsen-preisvergleich.de http://www.faq-kontaktlinsen.de Am Dienstag, den 24.05.2005, 08:46 -0500 schrieb Charles P. Killmer: I am having a problem where one of my jsp files won't compile. Tomcat successfully

JNDI Realm Broken

2005-05-24 Thread William Brown
Greetings: We have been using a custom JNDI realm for several months on Tomcat 5.0 without an issue. Yesterday, an application suddenly stopped working with the following error trace during deployment: May 24, 2005 8:46:12 AM org.apache.commons.digester.Digester startElement SEVERE: Begin

RE: Compiling JSP files

2005-05-24 Thread Charles P. Killmer
Thanks. Now I am stuck at: test_jsp.java:55: cannot find symbol symbol : method getAttribute(java.lang.String) location: interface javax.servlet.http.HttpSession USER_ID = session.getAttribute(USER_ID).toString(); ^ What jar file is javax.servlet.http in? I am already

JPDA and Tomcat 5.5.9 Service on Windows

2005-05-24 Thread cam r
Hi all, I am trying to set up debugging on Tomcat while it is running as a Windows service. The requirements of the project negate me from being able to run it as a script. I have tried adding; -Xdebug -Xrunjdwp:transport=dt_socket,address=8000,server=y,suspend=y to the Java Options

Re: Performing an action on form-based login

2005-05-24 Thread Ross Nicoll
We're having more or less the same problem. Is there perhaps a chance of a UserFormLoginListener in a future version of Tomcat? Anyone have any advice on this? Some reliable method for logging out a user would also be extremely useful. On 5/22/05, Torsten Römer [EMAIL PROTECTED] wrote: This

AW: Compiling JSP files

2005-05-24 Thread Bernhard Slominski
Hi Charles, what you can do is to use an ant task for do the precompilation. This is a bit smarter than via the command line I guess. The docu is under http://jakarta.apache.org/tomcat/tomcat-5.5-doc/jasper-howto.html#Web%20Appl ication%20Compilation It's not very well documented, it took me a

Validation Frame work

2005-05-24 Thread raja buddha
Hi all In struts why do we need validation frame work we have java script to do validations. Is there any extra advantage of using the validation frame work raj _ On the road to retirement? Check out MSN Life Events for advice on

Authentication and Re-Authentication on Tomcat 4.1.24 for Authorization

2005-05-24 Thread Robyne Vaughn
In my server.xml, I have a JNDI realm which works for authenticating every user against Microsoft Active Directory. The user requests a URL which I have set up as an alias in my web.xml for a servlet which authenticates the user against the active directory and then does a

RE: Validation Frame work

2005-05-24 Thread Raghupathy,Gurumoorthy
This also does the validation on serverside and it is declarative rather than programatic :) It can be done in a single xml :) no need to write extra code :) html:errors/ does it all for the serverside :) Regards Guru -Original Message- From: raja buddha [mailto:[EMAIL PROTECTED]

Re: Validation Frame work

2005-05-24 Thread David Smith
Because you should never trust the client. They may not be submitting from your form. Javascript is just a nicety to save the user a whole request/response cycle just to find out a field is missing or wrong. Consider it a security issue. -- David raja buddha wrote: Hi all In struts why do

RE: Compiling JSP files

2005-05-24 Thread Charles P. Killmer
I just need a way to quickly determine why this script times out without compiling. I have two scripts that create an admin interface to two different tables. The only difference in the files is the underlying table structure. One works. Even if I delete the _jsp.java and class files before

Re: isapi_redirect performance issues

2005-05-24 Thread ahmed
I did the packet trace and here is some more information: There are more packets with IIS as compared to Apache with IIS the response body is in a separate packet than the packet containing the Status Code 200 and also I see HTTP/1.1 100 Continue messages sent by server to the client. In

Re: struts validation frame work

2005-05-24 Thread Will Hartung
From: Rahul Akolkar [EMAIL PROTECTED] Sent: Monday, May 23, 2005 9:43 PM Not all validations can/should be done client-side. -Rahul To expand, even validations done on the client side must be done again on the server side. Never trust your client. But for client side validation is still a

Re: Minimal server

2005-05-24 Thread Will Hartung
From: Steve Kirk [EMAIL PROTECTED] Sent: Tuesday, May 24, 2005 5:02 AM I don't see how you will do that without installing some kind of dynamic webserver on each PC, whether that be apache-hpptd, tomcat, or other, plus the web application (which needn't be servlets, it could be perl based).

RE: isapi_redirect performance issues

2005-05-24 Thread Derrick Koes
I'm not certain if setting keep-alive will speed things up, but since you have a firewall you should probably use it. From the documentation: socket_keepalive False This directive should be used when you have a firewall between your webserver and the Tomcat engine, who tend to drop inactive

Re: Minimal server

2005-05-24 Thread Dola Woolfe
Yes, I think Will captured what I'm trying to do. Let me give you a slightly more specific description because I would like to hear what you guys have to say. I basically want to write a relatively small application which has nothing to with being a web server. What it will have a significant GUI

RE: Compiling JSP files

2005-05-24 Thread Steve Kirk
Is there a reason why you can't let TC compile the JSP on demand and read the log output? Works for me. Failing that, I suspect your cmd-line classpath has some errors. What does echo %classpath% produce? And are you sure these are right in your classpath (from your previous post below):

RE: Validation Frame work

2005-05-24 Thread Steve Kirk
David is right, JS and serverside validation perform different roles. To expand on his comment a bit more, remember that the requests that your webapp receives could be sent by any HTTP client, not necessarily by a friendly web browser. If someone were so inclined, they could write their own

Re: Performing an action on form-based login

2005-05-24 Thread Torsten Römer
Hi Ross, Ross Nicoll schrieb: We're having more or less the same problem. Is there perhaps a chance of a UserFormLoginListener in a future version of Tomcat? Anyone have any advice on this? Such a listener would be nice... I now went for a filter (as seen in another post) and I am very

RE: Minimal server

2005-05-24 Thread Steve Kirk
Thanks Will - I had not heard of embedded TC before. Interesting, and a nice piece of innovation too. Hence why I misunderstood the thread earlier (sorry). This could be very useful. If I've understood correctly, I can somehow bundle together my existing TC webapp along with the tc-embedded

How to read arguments?

2005-05-24 Thread Jim Henderson
Can someone tell me how to access the values of debug, dataSourceName and dataSourceName from within class EnterpriseCustomUserRealm? I tried using a Context but I missed the boat somewhere. Realm className=com.metafile.tomcat.enterpriseregistry.EnterpriseCustomUserRealm

Re: How to read arguments?

2005-05-24 Thread Mark Thomas
Jim, I am not sure I understand your question. Could you re-phrase it? What I can say is that this Realm is not part of the standard Tomcat distribution. You might be better off talking to whoever supplied you with this Realm. Mark Jim Henderson wrote: Can someone tell me how to access

RE: How to read arguments?

2005-05-24 Thread Jim Henderson
Hi mark! I am the supplier of the Realm! :) I don't know how to access the parameters defined for the realm configuration from within the realm java code. Thanks for responding. Jim -Original Message- From: Mark Thomas [mailto:[EMAIL PROTECTED] Sent: Tuesday, May 24, 2005 2:23 PM To:

Re: Minimal server

2005-05-24 Thread PA
On May 23, 2005, at 22:15, Dola Woolfe wrote: Can this be done? I basically want to program to have a thread that listens to some port and launches a servlet when a request is made. Sure. But perhaps something like Jetty, or Simple would be more appropriate.

Re: How to read arguments?

2005-05-24 Thread David Smith
You might want to check the Tomcat source for an example, but I believe Tomcat uses getter/setter bean methods to transfer that info to an instance of the object after creating it. So for instance, the attribute debug would be set by calling newRealmInstance.setDebug(992) ; --David Jim

Re: HttpSessionListener

2005-05-24 Thread Randy George
Hello, I have two identical Tomcat 5.5.9 servers setup on two different Windows servers. On one the HttpSessionListener which I am using to count active sessions works fine. However on the second it appears that the HttpSessionListener is never notified of sessionCreated or

Re: HttpSessionListener

2005-05-24 Thread Randy George
Hello, I have two identical Tomcat 5.5.9 servers setup on two different Windows servers. On one the HttpSessionListener which I am using to count active sessions works fine. However on the second it appears that the HttpSessionListener is never notified of sessionCreated or

RE: How to read arguments?

2005-05-24 Thread Jim Henderson
David - You are right! Thank you! Simple getters and setters. -Original Message- From: David Smith [mailto:[EMAIL PROTECTED] Sent: Tuesday, May 24, 2005 3:04 PM To: Tomcat Users List Subject: Re: How to read arguments? You might want to check the Tomcat source for an example, but I

redeploy of webapp loses GlobalNamingResource DataSource

2005-05-24 Thread bob_b
I have a globally named db pool resource that I use across multiple contexts to access a particular database. When I redeploy a webapp in Tomcat 5.0.28, I am losing the DataSource and getting a pooled connection fails with the following (truncated) message: org.apache.commons.dbcp

Help with Tomcat 5.5.x on redhat-release-3ES-7.4

2005-05-24 Thread Gary Zhu
Hi all, When trying to start tomcat 5.5.4(tried 5.5.7 and 5.5.9) on OS redhat-release-3ES-7.4, I always get the following error: '/catalina.sh: /usr/local/tomcat/bin/setclasspath.sh: line 74: syntax error near unexpected token `do '/catalina.sh: /usr/local/tomcat/bin/setclasspath.sh: line 74: `

Re: Help with Tomcat 5.5.x on redhat-release-3ES-7.4

2005-05-24 Thread Jason Bainbridge
On 5/24/05, Gary Zhu [EMAIL PROTECTED] wrote: Hi all, When trying to start tomcat 5.5.4(tried 5.5.7 and 5.5.9) on OS redhat-release-3ES-7.4, I always get the following error: '/catalina.sh: /usr/local/tomcat/bin/setclasspath.sh: line 74: syntax error near unexpected token `do

RE: redeploy of webapp loses GlobalNamingResource DataSource

2005-05-24 Thread Steve Kirk
From the look of the stacktrace, which mentions org.postgresql.Driver.parseURL as the point where the initial exception was thrown, maybe the URL attribute in your Context's Resource or ResourceParams might either contain a wrong value or a typo. This might be leading to a parsing exception, even

Re: Compiling JSP files

2005-05-24 Thread Mark Leone
Steve Kirk mentioned this in his list of files you need to have in your classpath, but I'll repeat it as a direct answer to your question. The file servlet-api.jar provides the implementation of the javax.servlet.http package. If you put that in your classpath, it should get rid of the

Re: Mysterious failures

2005-05-24 Thread Grant Ingersoll
Thanks for the ideas. I cranked my debugging up to 99. There are a couple of things that I see, but don't know if they are serious: 1. SEVERE: The scratchDir you specified: /development/jakarta-tomcat-5.0.28/work/Catalina/localhost/admin is unusable. -- I never set this, I am assuming

RE: Minimal tomcat

2005-05-24 Thread meshkp
You can use Tomcat with just JRE. Check out latest Tomcat build it uses eclipse's class loader. Thus nothing new to build. :)_ -Original Message- From: Dola Woolfe [mailto:[EMAIL PROTECTED] Sent: Monday, May 23, 2005 4:27 PM To: Tom Cat Subject: Minimal tomcat Hi, Perhaps this is a

Re: Tomcat Training

2005-05-24 Thread Parsons Technical Services
I am in VA and the local Community College does a seminar on it. I am not aware of any formal training. I would suggest Google. Doug - Original Message - From: Tim Sodergren [EMAIL PROTECTED] To: 'Tomcat Users List' tomcat-user@jakarta.apache.org Sent: Monday, May 23, 2005 2:47 PM

Re: Can mulitple domains share one web app?

2005-05-24 Thread Parsons Technical Services
Sorry for the delay. Been off-line. It would be in Tomcat. http://jakarta.apache.org/tomcat/tomcat-5.0-doc/config/host.html#Host%20Name%20Aliases Doug - Original Message - From: Randy Paries [EMAIL PROTECTED] To: 'Tomcat Users List' tomcat-user@jakarta.apache.org; [EMAIL PROTECTED]

Re: JPDA and Tomcat 5.5.9 Service on Windows

2005-05-24 Thread 毛建明
hi cam, this url maybe useful for you. http://www.pauaware.co.nz/tomcatntservice.htm maojm On 5/24/05, cam r [EMAIL PROTECTED] wrote: Hi all, I am trying to set up debugging on Tomcat while it is running as a Windows service. The requirements of the project negate me from being able to