Re: newbee question on servlet and html

2005-10-12 Thread Anto Paul
On 10/11/05, Developer Developer [EMAIL PROTECTED] wrote: I wrote my first html and servlet and deployed it on tomcat 5.5. The html works okay when i call it from the browser. The servlet too works okay when i call its doget() method by invoking it from the browser. EG:.

Re: Newbee question on servlet and html - Really frustated with this problem.

2005-10-12 Thread Developer Developer
thanks everybody. I could solve the problem. There was a typo in my response text. When I changed the following line response.setContentType(test/html); with response.setContentType(text/html); It jus worked like a charm. thanks ! On 10/10/05, Developer Developer [EMAIL PROTECTED] wrote:

RE: Newbee question on servlet and html - Really frustated with this problem.

2005-10-11 Thread Mauricio Fernandez A.
Did you define your servlet in your WEB-INF/web.xml? Mauricio Fernandez -Mensaje original- De: Developer Developer [mailto:[EMAIL PROTECTED] Enviado el: martes, 11 octubre, 2005 5:23 Para: tomcat-user@jakarta.apache.org Asunto: Newbee question on servlet and html - Really frustated

manager webapp question

2005-10-11 Thread Marcus Franke
Hello, I have a tomcat server which serves some webapps for different purposes. I now would like to have another instance of the the manager webapp just for one of the webapps on this server, that another person can use the manager webapp to administer this one special webapp and not all the

Re: manager webapp question

2005-10-11 Thread Marcus Franke
that question by myself. If I use vhosts in tomcat and I have just the manager and the normal webapp in that one vhost will I see more than one webapp? And how do I secure access to that special vhosts manager webapp? As the normal tomcat-users.xml users with the manager role would be able to login

Re: manager webapp question

2005-10-11 Thread Marcus Franke
On Tue, Oct 11, 2005 at 05:13:33PM +0200, Marcus Franke wrote: On Tue, Oct 11, 2005 at 04:00:24PM +0200, Marcus Franke wrote: Can this be done? And if yes, what do I have to do? Hmm, I guess I can answer that question by myself. If I use vhosts in tomcat and I have just the manager

Re: manager webapp question

2005-10-11 Thread Marcus Franke
that question by myself. If I use vhosts in tomcat and I have just the manager and the normal webapp in that one vhost will I see more than one webapp? Hmm, just tried the config on my local test server and only in the first host I can reach the /manager/html pages, in the second host I created

newbee question on servlet and html

2005-10-10 Thread Developer Developer
I wrote my first html and servlet and deployed it on tomcat 5.5. The html works okay when i call it from the browser. The servlet too works okay when i call its doget() method by invoking it from the browser. EG:. http://localhost:8080/VBeer/BeerSelect However, when i try to invoke the servlet

Newbee question on servlet and html

2005-10-10 Thread Developer Developer
I wrote my first html and servlet and deployed it on tomcat 5.5. The html works okay when I call it from the browser. The servlet too works okay when I call its doget() method by invoking it from the browser. EG:. http://localhost:8080/VBeer/BeerSelect However, when i try to invoke the servlet

Newbee question on servlet and html - Really frustated with this problem.

2005-10-10 Thread Developer Developer
does anybody know how to fix this problem. Invocation of servlet prompts a messagebox posing a questions do you want to save this ? instead of executing it and returing the output in the html document. :( On 10/10/05, Developer Developer [EMAIL PROTECTED] wrote: I wrote my first html and

Re: Newbee question on servlet and html - Really frustated with this problem.

2005-10-10 Thread Frank W. Zammetti
Two questions... (1) Does your servlet implement a doPost() method? Since you are POSTing the form, you need to do that. (2) Is there a typo in your form there? I see: form method=3DPOST action=3DBeerSelect That's not proper... my guess is you want: form method=3DPOST action=3DBeerSelect

Re: Newbee question on servlet and html - Really frustated with this problem.

2005-10-10 Thread Glen Mazza
I think you are getting this error because Tomcat doesn't realize you are trying to activate the servlet. You probably will need to look at your WEB-INF/web.xml of your web application. You'll need a servlet/ entry that defines BeerSelect and a servlet-mapping/ that ties BeerSelect to its

apache question

2005-10-07 Thread peter thesing
Hi All. Perhaps has this question answered in previous mails but i could not find it. I would like to put this question to the list... At home i have 2 webservers running . the one of my partner (iis) on port 80 and mine at port 8000. I would like to continue with Apache2 because it supports

RE: apache question [255819:132349]

2005-10-07 Thread RTE - Meridian Club
[EMAIL PROTECTED] Received: 10/7/2005 5:38 PM To: tomcat-user@jakarta.apache.org Subject: apache question Hi All. Perhaps has this question answered in previous mails but i could not find it. I would like to put this question to the list... At home i have 2 webservers running . the one of my

Re: apache question [255819:132349]

2005-10-07 Thread Lyndon Tiu
-user@jakarta.apache.org Subject: apache question Hi All. Perhaps has this question answered in previous mails but i could not find it. I would like to put this question to the list... At home i have 2 webservers running . the one of my partner (iis) on port 80 and mine at port 8000. I

RE: apache question

2005-10-07 Thread F.O. Bossert
question Hi All. Perhaps has this question answered in previous mails but i could not find it. I would like to put this question to the list... At home i have 2 webservers running . the one of my partner (iis) on port 80 and mine at port 8000. I would like to continue with Apache2 because it supports

Re: Apache Tomcat Virtual Host question

2005-10-06 Thread Aria Bamdad
Hi, I asked this question yesterday and got no hints from anyone. Since then, I have been able to accomplish what I want using multiple instances of Tomcat. However, I would much rather use one instance and serve requests on different Apache port. Does anyone have ANY comments regarding my

Re: Apache Tomcat Virtual Host question

2005-10-06 Thread Nikola Milutinovic
Aria Bamdad wrote: Hi, I asked this question yesterday and got no hints from anyone. Since then, I have been able to accomplish what I want using multiple instances of Tomcat. However, I would much rather use one instance and serve requests on different Apache port. Does anyone have ANY

Re: Apache Tomcat Virtual Host question

2005-10-06 Thread Aria Bamdad
On Thu, 06 Oct 2005 15:33:15 +0200 you said: Aria Bamdad wrote: Hi, I asked this question yesterday and got no hints from anyone. Since then, I have been able to accomplish what I want using multiple instances of Tomcat. However, I would much rather use one instance and serve requests on different

Re: isapi_redirector2.dll question

2005-10-06 Thread Mark Thomas
is fine on my machine, but on the win2k machine (with 256 mb memory), the log file gives the error: Error [jk_isapi_plugin.c(496)]HttpExtensionPOroc: worker is NULL I have rebooted both machines, and the filter DOES have an up arrow listed for its status in both machines. My question is - What

Re: Rép. : SSL question

2005-10-05 Thread Antony GUILLOTEAU
If you want use javax.net.ssl you must have tomcat in a version upper or egal to 5. [EMAIL PROTECTED] 04/10/2005 18:28:59 Hi, thanks! I've got my own TrustManager/HostnameVerifier and it works when I use Apache's SecureWebServer and SecureXmlRpcClient. I'm not using javax.net.ssl, but

Newbie question - Tomcat 5.0 and external Javascript files

2005-10-05 Thread Pigott, Paul
Greetings, I'm having problems executing functions in an external javascript file. It's like the .js file can't be found. I was able to do this under Tomcat 4.0 but for some reason it's not working under Tomcat 5.0. The folder under webapps is /EdiHost and I've got another folder, /js, under

Re: Newbie question - Tomcat 5.0 and external Javascript files

2005-10-05 Thread Darek Czarkowski
You have to specify the full path, this should not work under any of the webservers. DarekC On Wed, 2005-10-05 at 08:03, Pigott, Paul wrote: Greetings, I'm having problems executing functions in an external javascript file. It's like the .js file can't be found. I was able to do this under

Re: SSL question

2005-10-05 Thread Raueber Hotzenplotz
Hi Not exactly sure what you mean. Could you send me a snippet of your web.xml? That would be very nice. Thanks! Greetings from Vienna --- Yassine ELassad [EMAIL PROTECTED] wrote: hi i'm not sure if this will help you but i have hade a quite similar issue : i have passed a full URL a

Re: Newbie question - Tomcat 5.0 and external Javascript files

2005-10-05 Thread Larry Meadors
You may be able to use this instead: src=js/EdiHost.js IDEA will get pissed about it, but it should work (I know it does for images). It is nice, because you can rename your context, and not break your webapp. :) Larry On 10/5/05, Pigott, Paul [EMAIL PROTECTED] wrote: Greetings, I'm

Re: Newbie question - Tomcat 5.0 and external Javascript files

2005-10-05 Thread Hassan Schroeder
Larry Meadors wrote: You may be able to use this instead: src=js/EdiHost.js It is nice, because you can rename your context, and not break your webapp. :) Or, if you're using JSTL, use: src=c:url value=/js/EditHost.js/ which has the added advantage of *not* being a relative path that'll

Re: Newbie question - Tomcat 5.0 and external Javascript files

2005-10-05 Thread Larry Meadors
Yeah, i just hate the tag inatag / / stuff. Messy. ;-) Larry On 10/5/05, Hassan Schroeder [EMAIL PROTECTED] wrote: Larry Meadors wrote: You may be able to use this instead: src=js/EdiHost.js It is nice, because you can rename your context, and not break your webapp. :) Or, if

Apache Tomcat Virtual Host question

2005-10-05 Thread Aria Bamdad
Hi, Sorry if this has been asked before but I can't find any such example.. I have Apache talking to Tomcat and everything works fine. My situation is as follows: I am using Apache VirtualHost directive to set different document roots depending on the PORT number the request comes in. So, I

isapi_redirector2.dll question

2005-10-05 Thread John MccLain
an up arrow listed for its status in both machines. My question is - What are the ways a worker is NULL can occur, and how do I fix this error??? John McClain Senior Software Engineer TCS Healthcare [EMAIL PROTECTED] (530)886-1700x235 Skepticism is the first step toward truth

Re: Easy Servlet Question

2005-10-04 Thread Partheeban Boopathy
What is u r declaration in web.xml file. If you give any alias name then you have to use that in u r URL. http://localhost:8080/app/anyaliasname. Parthi On 10/3/05, Andrew Pierce [EMAIL PROTECTED] wrote: Hello. I realize this is about the stupidest question I could ask but, I've scoured

Re: Easy Servlet Question

2005-10-04 Thread Ben Souther
this is about the stupidest question I could ask but, I've scoured the web, etc. and cannot get an easy example of making servlets actually work with Tomcat. I have written a few Hello World servlets and gotten them to work with Resin but I cannot get even the most simple servlet to work with Tomcat

SSL question

2005-10-04 Thread Raueber Hotzenplotz
Hi I've got a servlet which works fine when using http. But when I want to access it through https I get a certificate unknown exception. Why does https://localhost:8443 work in a browser but accessing my servlet (with java client) not? Do I need to make my servlet SSL aware? Using another

Re: SSL question

2005-10-04 Thread Yassine ELassad
hi i'm not sure if this will help you but i have hade a quite similar issue : i have passed a full URL a param Vlaue in my web.xml something like http://localhost:8080/MyServlet both http and :8080 are specifying a differnt port number than the ssl port so if you are performing such a call you

Rép. : SSL question

2005-10-04 Thread Antony GUILLOTEAU
Many articles talk about how access https using java client throws HttpsURLConnection. You must use : - your own TrustManager (implements javax.net.ssl.X509TrustManager) - your own KeyManager (implements javax.net.ssl.X509KeyManager) - your own HostnameVerifer(implements

Re: Rép. : SSL question

2005-10-04 Thread Raueber Hotzenplotz
Hi, thanks! I've got my own TrustManager/HostnameVerifier and it works when I use Apache's SecureWebServer and SecureXmlRpcClient. I'm not using javax.net.ssl, but instead com.sun.net.ssl - couldn't make it work with javax.net.ssl. Is the code below necessary for the servlet as well? Thought

Easy Servlet Question

2005-10-03 Thread Andrew Pierce
Hello. I realize this is about the stupidest question I could ask but, I've scoured the web, etc. and cannot get an easy example of making servlets actually work with Tomcat. I have written a few Hello World servlets and gotten them to work with Resin but I cannot get even the most simple

Re: Easy Servlet Question

2005-10-03 Thread Andrew Pierce
OK. This was a bit of a simple one. Found my answer with the help of a couple of folks on IRC. Please disregard. Andrew Pierce wrote: Hello. I realize this is about the stupidest question I could ask but, I've scoured the web, etc. and cannot get an easy example of making servlets actually

Re: Newb question - How to install TomCat on MacOS Tiger 10.4

2005-10-01 Thread Werner Punz
Thomas K. Cheriyan Jr. wrote: Hey guys, Im trying to get the latest version of TomCat on my laptop which has has MacOS Tiger 10.4. I have also installed the latest version of Java. I read the installation guide on the Jakarta site as well as many others online and they haven't worked at

Newb question - How to install TomCat on MacOS Tiger 10.4

2005-09-30 Thread Thomas K. Cheriyan Jr.
Hey guys, Im trying to get the latest version of TomCat on my laptop which has has MacOS Tiger 10.4. I have also installed the latest version of Java. I read the installation guide on the Jakarta site as well as many others online and they haven't worked at all. If somebody is an expert at this

Re: Newb question - How to install TomCat on MacOS Tiger 10.4

2005-09-30 Thread Fadil
Hi, What's the problem ? Send us the log, if there is. Witch version of tomcat ?jdk ? do you set the JAVA_HOME=/Library/Java/Home in your env ? do you update os ? Fadil On 9/30/05, Thomas K. Cheriyan Jr. [EMAIL PROTECTED] wrote: Hey guys, Im trying to get the latest version of TomCat on my

Re: Question about tomcat startup ConcurrentModificationException

2005-09-28 Thread Maurice Yarrow
match, but a couple of classes that are in jmx.jar are missing from mx4j.jar. I presume these are classes req'd by others in the package but are not called directly by tomcat. So you are suggesting that I replace the tomcat/bin/jmx.jar with the mx4j.jar ? If so, then I have a stupid question

Re: Question about tomcat startup ConcurrentModificationException

2005-09-27 Thread Jilles van Gurp
The fix is to replace the mx4j jar file in the release (bin/jmx.jar) with the fixed version (latest 2.1.x) which has been available for a long time now from the mx4j project site. You might also search this mailinglist. This must be one of the more frequently raised topics. I know I found the

Question about tomcat startup ConcurrentModificationException

2005-09-26 Thread Maurice Yarrow
Hello Tomcat people When tomcat is restarted, it occasionally (1 in 25 times) gets the below exception. (tomcat 5.0.28, on Fedora Core 1) What is the significance of this? Thanks Maurice INFO: Starting Coyote HTTP/1.1 on http-8080 Sep 26, 2005 9:29:19 AM

Re: Question about tomcat startup ConcurrentModificationException

2005-09-26 Thread Tim Funk
Search bugzilla. There is a bug report about ConcurrentModificationException - it has to do with mx4j having a race condition. The bug describes a fix. -Tim Maurice Yarrow wrote: Hello Tomcat people When tomcat is restarted, it occasionally (1 in 25 times) gets the below exception.

jsvc question

2005-09-23 Thread Andrew Stueve
I am new to Tomcat, and this is basic question. I have jsvc setup to start Tomcat, and then run as user wwwadmin on port 80. When I execute, I get two processes running, a parent running as root, and the child as the wwwadmin user. Is this normal? I thought the root process was supposed

RE: help with stupid cvs proxy question ??

2005-09-22 Thread Bovy, Stephen J
C:\tomcat-sourceant checkout Buildfile: build.xml checkout: [echo] If the checkout fails, run `cvs -d :pserver:[EMAIL PROTECTED]:/ home/cvspublic login` and try again. The password for the anonymous CVS access i s `anoncvs` [cvs] cvs [checkout aborted]: connect to cvs.apache.org:2401

Tomcat Session Replication Question

2005-09-21 Thread Ryan McDonald
Can somebody tell me if there is a way to determine when session replication is complete after a new tomcat instance joins the cluster? When updating our cluster we usually restart one tomcat instance at a time. What we noticed is if we restart the second one too quickly after the first

Newbie question. /manager only gives the directory listing

2005-09-18 Thread tomcat
Hi all, I have been using Tomcat for some time now, but I still feel like a newbie in most regards. At least when it comes to configuring it. Tomcat has been working great, together with Apache 2, for several months now. But now, I find myself wanting to use the manager webapp for the first time.

Re: Newbie question. /manager only gives the directory listing

2005-09-18 Thread Peter Johnson
Jimi, try /manager/html PJ [EMAIL PROTECTED] wrote: Hi all, I have been using Tomcat for some time now, but I still feel like a newbie in most regards. At least when it comes to configuring it. Tomcat has been working great, together with Apache 2, for several months now. But now, I find

Re: Newbie question. /manager only gives the directory listing

2005-09-18 Thread tomcat
Ah, it worked like a charm! Thanks a bunch, Peter! :) /Jimi Quoting Peter Johnson [EMAIL PROTECTED]: Jimi, try /manager/html [EMAIL PROTECTED] wrote: Hi all, I have been using Tomcat for some time now, but I still feel like a newbie in most regards. At least when it comes to

Another Jasper precompile question

2005-09-07 Thread Sonja Löhr
Hi! I also use (or try to use) that tomcat-delivered jspc-task with tomcat 5.5.9. My problem is that whenever there is a character reference (like #160;) in a jsp file, the compiled jsp contains nonsense at that location, and compile errors follow in javac. Is there a fix/update available or

cluster listener question

2005-09-07 Thread John MccLain
When our application starts up, it removes admin information about old user sessions from our database; We store information such as locks and session state in our DB. BUT, if we are running in a cluster and Tomcat stars up, we do NOT want this to occur EXCEPT for on the first server in the

Re: Another JSP precompile question (KMM140684V88743L0KM)

2005-09-06 Thread eBay Deutschland Customer Support
Hallo, unter Ihrer E-Mail-Absenderadresse tomcat-user@jakarta.apache.org liegt uns leider keine Anmeldung vor. Ich bitte Sie, uns Ihre Anfrage noch einmal von der E-Mail-Adresse zu senden, die bei uns registriert ist. Aus datenschutzrechtlichen Gruenden duerfen wir nur dann persoenliche

Question on cluster recognition

2005-09-06 Thread John MccLain
When our application starts up, it removes admin information about old user sessions from our database; We store information such as locks and session state in our DB. BUT, if we are running in a cluster and Tomcat stars up, we do NOT want this to occur EXCEPT for on the first server in the

Another JSP precompile question

2005-09-05 Thread Sonja Löhr
Hi! I just read about your Jasper2 precompiling... Do you do it via ant? I tried tomcat's JspC task (tomcat 5.5.9), but jasper generates rubbish wherever a character reference like #160; is encountered. Compile errors follow. A bug, isn't it? Is there a solution/upgrade/fix available? How comes

Re: JSF Please Help with a simple question thanks ???

2005-09-03 Thread David Haynes
Drive Suite 700 Los Angeles, CA 90045 Tel: (310) 957-3930 Fax: (310) 957-3917 e-mail: [EMAIL PROTECTED] It's not really a question of Tomcat using MyFaces or JSF RI - they are really independent technologies which can work together. You choose which one you want to use based upon your needs

RE: JSF Please Help with a simple question thanks ???

2005-09-02 Thread Bovy, Stephen J
Does Tomcat 5.x have a JSF implementation Does JSF have to be installed separately Stephen Bovy Computer Associates 6100 Center Drive Suite 700 Los Angeles, CA 90045 Tel: (310) 957-3930 Fax: (310) 957-3917 e-mail: [EMAIL PROTECTED]

Re: JSF Please Help with a simple question thanks ???

2005-09-02 Thread David Haynes
Bovy, Stephen J wrote: Does Tomcat 5.x have a JSF implementation Does JSF have to be installed separately Stephen Bovy Computer Associates 6100 Center Drive Suite 700 Los Angeles, CA 90045 Tel: (310) 957-3930 Fax: (310) 957-3917 e-mail: [EMAIL PROTECTED]

RE: JSF Please Help with a simple question thanks ???

2005-09-02 Thread Bovy, Stephen J
Angeles, CA 90045 Tel: (310) 957-3930 Fax: (310) 957-3917 e-mail: [EMAIL PROTECTED] -Original Message- From: David Haynes [mailto:[EMAIL PROTECTED] Sent: Friday, September 02, 2005 6:48 PM To: Tomcat Users List Subject: Re: JSF Please Help with a simple question thanks ??? Bovy, Stephen J wrote

Real basic question - scope

2005-09-01 Thread David Shapiro
I have a jsp page that uses a class I wrote to connect to a database (mysql) and pull up some information based on what the user fills in one of three text boxes. I understand why if I fill in a text box once and press submit I get my result, but I do not understand why if I press enter again

Re: Real basic question - scope

2005-09-01 Thread Anto Paul
On 9/1/05, David Shapiro [EMAIL PROTECTED] wrote: I have a jsp page that uses a class I wrote to connect to a database (mysql) and pull up some information based on what the user fills in one of three text boxes. I understand why if I fill in a text box once and press submit I get my

JNDI/Tomcat question from newbie

2005-09-01 Thread Hyatt, Gordon
Hello All, I'm a newbie to database pooling via JNDI and I have a JNDI/Tomcat question (more of a best practices/most scalable/fastest performance/least resource consumption type of question). Each time the JNDI resource (pooled database connection) is needed, should a complete JNDI lookup

Re: JNDI/Tomcat question from newbie

2005-09-01 Thread David Smith
in any method that get's one. --David Hyatt, Gordon wrote: Hello All, I'm a newbie to database pooling via JNDI and I have a JNDI/Tomcat question (more of a best practices/most scalable/fastest performance/least resource consumption type of question). Each time the JNDI resource (pooled database

RE: Real basic question - scope

2005-09-01 Thread David Shapiro
AM To: Tomcat Users List Subject: Re: Real basic question - scope On 9/1/05, David Shapiro [EMAIL PROTECTED] wrote: I have a jsp page that uses a class I wrote to connect to a database (mysql) and pull up some information based on what the user fills in one of three text boxes. I understand

Re: Real basic question - scope

2005-09-01 Thread Anto Paul
On 9/2/05, David Shapiro [EMAIL PROTECTED] wrote: It is just a jsp page Pretty much html accept for the class for processing the mysql query. It uses basic jsp to display the rs data in a table with a little bit of css to snaze it up. It will be useful if you post the relevant JSP/Java

Character encoding question

2005-08-29 Thread Richard Jones
Hi All, I am having problems with Scandinavian characters on my system and am attempting to isolate the problem; any help would be greatly appreciated. The problem manifests when forms are posted containing Scandinavian characters. In some cases these characters are de/encoded correctly and in

Character Encoding question

2005-08-29 Thread Richard Jones
Hi All, I am having problems with Scandinavian characters on my system and am attempting to isolate the problem; any help would be greatly appreciated. The problem manifests when forms are posted containing Scandinavian characters. In some cases these characters are de/encoded correctly and in

Re: Character encoding question

2005-08-29 Thread Anto Paul
On 8/29/05, Richard Jones [EMAIL PROTECTED] wrote: Hi All, I am having problems with Scandinavian characters on my system and am attempting to isolate the problem; any help would be greatly appreciated. This is what I did to work with Tomcat. a, Set up Tomcat first: To support UTF encoded

Re: Character Encoding question

2005-08-29 Thread Manfred Steurer
Just a guess: Check the format of the .jsp-files. I had similar problems and solved them by converting the jsp-files to UTF-8. - Manfred Richard Jones wrote: Hi All, I am having problems with Scandinavian characters on my system and am attempting to isolate the problem; any help would be

Re: Character encoding question

2005-08-29 Thread Richard Jones
Hi, I am having problems with Scandinavian characters on my system and am attempting to isolate the problem; any help would be greatly appreciated. This is what I did to work with Tomcat. a, Set up Tomcat first: To support UTF encoded data send as part of URI one has to set the

Re: Character encoding question

2005-08-29 Thread Anto Paul
The setCharacterEncoding() must be called on the request before any getParameter() method is invoked on it. There may be some filters that is processing the request in the filter chain before the setCharacter encoding filter. Also what is the character encoding used by the OS ?. URIEncoding

Re: Character encoding question

2005-08-29 Thread Richard Jones
Hi, The setCharacterEncoding() must be called on the request before any getParameter() method is invoked on it. There may be some filters that is processing the request in the filter chain before the setCharacter encoding filter. Yeah, I think this was the problem with the

admin install question suggestion

2005-08-29 Thread Peter Kennard
This may come under the category of first time user usability testing. - I installed Tomcat on my box and it runs fine. - The admin webapp is in a separate download so one can safely install it (proper) BUT :) From my naive user (and valuable in usability testing) POV I don't know the

Re: newbie with a short question

2005-08-26 Thread Brian Cook
a process that you can not recreate in java? If I have misunderstood entirely which seems likely then you may want to repost the question formated in accordance with the posting guilds lines listed above. Posts to support forums should always include a detailed step by step lise of the process

RE: newbie with a short question

2005-08-26 Thread Robert Harper
: Re: newbie with a short question Couple of things 1. You will get better responses on this list if you review the posting guide at. This post is way to vague to get specific answers. So most people are not going to respond to it. http://jakarta.apache.org/site/mail.html 2. If I follow

Re: newbie with a short question

2005-08-26 Thread Hassan Schroeder
nick sturm wrote: ok, I have done the two things on that page: renamed the serverlet and deleted the comments around the cgi section of the web.xml config file. Uh, you probably want to *read* those comments :-) -- specifically !-- executableName of the exectuable used to run the -- !--

Re: jndi question

2005-08-25 Thread Brian Cook
. Allistair. -Original Message- From: Brian Cook [mailto:[EMAIL PROTECTED] Sent: 23 August 2005 17:23 To: Tomcat Users List Subject: Re: jndi question Ok but do you have the resource defined in context.xml? If you go to Tomcat Dir/conf/Cataliana/localhost/ do you see a file

RE: jndi question

2005-08-25 Thread Allistair Crossley
: 25 August 2005 14:39 To: Tomcat Users List Subject: Re: jndi question Sean, One thing that stands out in your message is that the conext.xml file was placed in the META-INF folder. Is it also in Tomcat Folder/conf/Catalina/localhost/ as the module name? i.e. If the context path

Re: jndi question

2005-08-25 Thread haim
Hi I had the same problem and I managed to make this work when following this post http://forums.devshed.com/archive/t-120081 The only problem is that it works when a deploy a war file. When I try using this out of Eclipse (I am running tomcat using sysdeo plug-in) it makes problems. Let

Re: jndi question

2005-08-25 Thread Sean Rowe
methods are contextname.xml as you say, and also META-INF/context.xml within the webapp itself. Allistair. -Original Message- From: Brian Cook [mailto:[EMAIL PROTECTED] Sent: 23 August 2005 17:23 To: Tomcat Users List Subject: Re: jndi question Ok but do you have the resource defined

Re: jndi question

2005-08-25 Thread Brian Cook
[mailto:[EMAIL PROTECTED] Sent: 23 August 2005 17:23 To: Tomcat Users List Subject: Re: jndi question Ok but do you have the resource defined in context.xml? If you go to Tomcat Dir/conf/Cataliana/localhost/ do you see a file with the name of the module ending with .xml? If so is the resource

Re: jndi question

2005-08-25 Thread Sean Rowe
. -Original Message- From: Brian Cook [mailto:[EMAIL PROTECTED] Sent: 23 August 2005 17:23 To: Tomcat Users List Subject: Re: jndi question Ok but do you have the resource defined in context.xml? If you go to Tomcat Dir/conf/Cataliana/localhost/ do you see a file with the name

RE: jndi question

2005-08-25 Thread Caldarale, Charles R
From: Sean Rowe [mailto:[EMAIL PROTECTED] Subject: Re: jndi question tomcat 5, and jdk 1.5 Which Tomcat 5? The configuration for the 5.0 series is not necessarily the same as in 5.5. - Chuck THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY MATERIAL and is thus

Re: jndi question

2005-08-25 Thread Sean Rowe
right! sorry, it's 5.5.9 Caldarale, Charles R wrote: From: Sean Rowe [mailto:[EMAIL PROTECTED] Subject: Re: jndi question tomcat 5, and jdk 1.5 Which Tomcat 5? The configuration for the 5.0 series is not necessarily the same as in 5.5. - Chuck THIS COMMUNICATION MAY CONTAIN

Re: jndi question

2005-08-25 Thread Brian Cook
I thought of that but his code samples and configs are consitant with both the 5.0 and 5.5 docs. Which Tomcat 5? The configuration for the 5.0 series is not necessarily the same as in 5.5. - To unsubscribe, e-mail:

Re: jndi question

2005-08-25 Thread Brian Cook
still valid. The 2 other methods are contextname.xml as you say, and also META-INF/context.xml within the webapp itself. Allistair. -Original Message- From: Brian Cook [mailto:[EMAIL PROTECTED] Sent: 23 August 2005 17:23 To: Tomcat Users List Subject: Re: jndi question Ok but do

Re: jndi question

2005-08-25 Thread Sean Rowe
: Brian Cook [mailto:[EMAIL PROTECTED] Sent: 23 August 2005 17:23 To: Tomcat Users List Subject: Re: jndi question Ok but do you have the resource defined in context.xml? If you go to Tomcat Dir/conf/Cataliana/localhost/ do you see a file with the name of the module ending with .xml? If so

Re: jndi question

2005-08-25 Thread Sean Rowe
within the webapp itself. Allistair. -Original Message- From: Brian Cook [mailto:[EMAIL PROTECTED] Sent: 23 August 2005 17:23 To: Tomcat Users List Subject: Re: jndi question Ok but do you have the resource defined in context.xml? If you go to Tomcat Dir/conf/Cataliana/localhost/ do

Re: jndi question

2005-08-25 Thread Brian Cook
are contextname.xml as you say, and also META-INF/context.xml within the webapp itself. Allistair. -Original Message- From: Brian Cook [mailto:[EMAIL PROTECTED] Sent: 23 August 2005 17:23 To: Tomcat Users List Subject: Re: jndi question Ok but do you have the resource defined

Re: newbie with a short question

2005-08-25 Thread nick sturm
the batch file. thanks, sorry I'm very new to this. -n On 8/24/05, Caldarale, Charles R [EMAIL PROTECTED] wrote: From: Allistair Crossley [mailto:[EMAIL PROTECTED] Subject: RE: newbie with a short question First I cause an open/save prompt with response.addHeader(Content-Disposition

newbie with a short question

2005-08-24 Thread nick sturm
I am new to any web server, but hopefully this question is easilly answered: If I wanted to make a link to execute a .bat file locally on the server when a link is pressed, how would I do so? I am making a pan/tiltable webcam and hope to use the siple controls shown here: http

RE: newbie with a short question

2005-08-24 Thread Allistair Crossley
it without a content type as a open/save. You'd do this in a servlet. Allistair -Original Message- From: nick sturm [mailto:[EMAIL PROTECTED] Sent: 24 August 2005 17:21 To: Tomcat Users List Subject: newbie with a short question I am new to any web server, but hopefully this question

RE: newbie with a short question

2005-08-24 Thread Caldarale, Charles R
From: Allistair Crossley [mailto:[EMAIL PROTECTED] Subject: RE: newbie with a short question First I cause an open/save prompt with response.addHeader(Content-Disposition, attachment; filename=somebat.bat); Then I use the response.getOutputStream() and stream the bat file down

Re: jndi question

2005-08-24 Thread Sean Rowe
, it's still valid. The 2 other methods are contextname.xml as you say, and also META-INF/context.xml within the webapp itself. Allistair. -Original Message- From: Brian Cook [mailto:[EMAIL PROTECTED] Sent: 23 August 2005 17:23 To: Tomcat Users List Subject: Re: jndi question Ok

Re: jndi question

2005-08-23 Thread Brian Cook
, sean Dirk Weigenand wrote: Sean, --- Ursprüngliche Nachricht --- Von: Sean Rowe [EMAIL PROTECTED] An: Tomcat Users List tomcat-user@jakarta.apache.org Betreff: Re: jndi question Datum: Mon, 22 Aug 2005 09:24:10 -0500 Thanks for responding Dirk. I've practically memorized

Re: jndi question

2005-08-23 Thread Sean Rowe
[EMAIL PROTECTED] An: Tomcat Users List tomcat-user@jakarta.apache.org Betreff: Re: jndi question Datum: Mon, 22 Aug 2005 09:24:10 -0500 Thanks for responding Dirk. I've practically memorized the documentation on the link you sent: // Obtain our environment naming context Context initCtx = new

RE: jndi question

2005-08-23 Thread Allistair Crossley
: Re: jndi question Brian, thank you for replying. I was afraid my topic was dead. If you could look at my first post, I listed all the files that you have suggested I take a look at. I have done everything you have suggested, but am still getting errors. The error I am getting now

Re: jndi question

2005-08-23 Thread Sean Rowe
(NullPointerException npE) { // log somewhere } Does that work for you? Allistair -Original Message- From: Sean Rowe [mailto:[EMAIL PROTECTED] Sent: 23 August 2005 16:29 To: Tomcat Users List Subject: Re: jndi question Brian, thank you for replying. I was afraid my topic was dead. If you

RE: jndi question

2005-08-23 Thread Allistair Crossley
16:41 To: Tomcat Users List Subject: Re: jndi question no, that didn't help. thanks though. could this maybe be a class problem? am i using the wrong jar files? i can list the files i'm using if anyone thinks it might be the problem Allistair Crossley wrote: Hi

Re: jndi question

2005-08-23 Thread Sean Rowe
[mailto:[EMAIL PROTECTED] Sent: 23 August 2005 16:41 To: Tomcat Users List Subject: Re: jndi question no, that didn't help. thanks though. could this maybe be a class problem? am i using the wrong jar files? i can list the files i'm using if anyone thinks it might be the problem Allistair

  1   2   3   4   5   6   7   8   9   10   >