Re: threads in TC 4.1.29

2003-12-29 Thread Riaan Oberholzer
worker threads are ok. Ie threads you create to do a specific task and then they terminate. Monitor threads (that stay active as long as the application is active), is a different story, especially in a clustered environment. Not sure about Tomcat, but we had endless problems in WebLogic using

Servlets not executed

2003-12-29 Thread Teja Jo
Hello everyone, My servlets are not getting executed - though I have deployed them in the webapps directory.It is giving the following exception : java.net.ConnectException Connection refused : connect. Please help. Regards, Teja. - Do you Yahoo!? New Yahoo!

Problem with loading mod_jk2.so

2003-12-29 Thread Pavan Kumar
Hi iam having problem with loading mod_jk2.so on AIX5. There is no exact error message.what i get is only Syntax error on line 1050 of /bis3/bo_home/apache_2.0.48/conf/httpd.conf: Cannot load /bis3/bo_home/apache_2.0.48/modules/mod_jk2.so into server: nothing is reported further..

[Q] : 'Hiding' applications?

2003-12-29 Thread Riaan Oberholzer
I've got a broadband connection at home and am setting up a test application which I want some friends to access test. But I only want that one application visible, not i.e. the Tomcat Manager also. How do I do this? I still want the Manager (and all other apps) visible locally, but not for

Building 5.1 from Source

2003-12-29 Thread Ramakrishna Rallapalli
Hi, I am trying to build 5.1 from source. But unable to run the build script. It looks for a download target in the build.xml file. And its unable to check out the files from CVS erpository. Can anyone help me out? Regards , Ramakrishna

Annoying problem when using new jar files

2003-12-29 Thread Gorka Garay
Hi, This is my very first message for this tomcat users' list, so sorry for every mistakes I am going to make. I have apache+tomcat 4 installed on debian, and everything was working fine untill I tried to add a new .jar file. I have added new jar files before and everything has always worked

Can not include javascript using TC 4.1.29

2003-12-29 Thread
Howdy, I am developing a web app using win2k pro + Tomcat In a servlet , the following code works ( file /script/utility.js can be get by IE) sb.append (html\n); sb.append (head\n); sb.append ( getContentTypeMeta(_req) ); sb.append (script language=javascript1.2

Re: Admintool cannot save changes to servers.xml

2003-12-29 Thread [EMAIL PROTECTED]
George Sexton wrote: Do the log files contain no information? Hi George, I tried with a clean installation and this time also checked the log files. As I'm not so familiar with understanding these log files, I've put them all up on http://home.arcor.de/plsdontreply/tomcatlogs/. In the adminlog,

RE: Annoying problem when using new jar files

2003-12-29 Thread Edson Alves Pereira
What´s import XX .*;? -- De: Gorka Garay[SMTP:[EMAIL PROTECTED] Responder:Tomcat Users List Enviada: segunda-feira, 29 de dezembro de 2003 8:19 Para: [EMAIL PROTECTED] Assunto: Annoying problem when using new jar files Hi, This is my very

tomcat5.09 and cocoon 2 0 4

2003-12-29 Thread Billy Kantartzis
hi to all i hope you had a mery xmas and a happy new year. i just downloaded cocoon 204-vm14 i am delploying the war file using the manager aplication and i get false at the running stage. i have also copping the war file under webapps and restarting tomcat. does any one have any idea why cocoon

Re: Can not include javascript using TC 4.1.29

2003-12-29 Thread Riaan Oberholzer
I would advice to always include the context path when constructing url's, certainly when building them manually. Changing the / before the js url influences where Tomcat looks for it. I'm not 100% sure, as I always use the context path (and not relative paths like you do). My guess is you

Re: Annoying problem when using new jar files

2003-12-29 Thread Gorka Garay
That´s the name of the package that I want to import to my jsp from the .jar file =D - Original Message - From: Edson Alves Pereira [EMAIL PROTECTED] To: 'Tomcat Users List' [EMAIL PROTECTED] Sent: Monday, December 29, 2003 1:59 PM Subject: RE: Annoying problem when using new jar files

Re: Annoying problem when using new jar files

2003-12-29 Thread Riaan Oberholzer
Have you tried pre-compiling your jsp's with jasper? Do it from your ant build script. (assuming you use ant). --- Gorka Garay [EMAIL PROTECTED] wrote: That´s the name of the package that I want to import to my jsp from the .jar file =D - Original Message - From: Edson

How can I debug a webapp running in Tomcat?

2003-12-29 Thread Agarwal, Naresh
Hi Is there a way to debug a webapp running in Tomcat. Essentially I want to see the flow the function calls in a web app when it receives a request from the client. thanks, Naresh - To unsubscribe, e-mail: [EMAIL

Re: How can I debug a webapp running in Tomcat?

2003-12-29 Thread Riaan Oberholzer
You can just configure log4j (or commons logging) and log everything you want. If your app uses struts, set the struts logging to debug or trace level and I am sure you'll get a lot of info from that too. --- Agarwal, Naresh [EMAIL PROTECTED] wrote: Hi Is there a way to debug a webapp

What after reloading a context

2003-12-29 Thread Antony Paul
Hi all, What happens to all loaded servlets on reloading a context ?. All servlets are destroyed first then these are initialised after reload before any request is arrived ?. rgds Antony Paul - To unsubscribe, e-mail:

Re: What after reloading a context

2003-12-29 Thread Riaan Oberholzer
The reloading would depend on your configuration for that servlet, in the load-on-startup parameter. If not specified, it would be reloaded when the servlet is called the first time. If specified, it would be reloaded when the context/application is reloaded. --- Antony Paul [EMAIL PROTECTED]

RE: How can I debug a webapp running in Tomcat?

2003-12-29 Thread Dharmesh Shah
Hi Nilesh, There are many ways to see debugging statements. One is to add System.out.println() at various places in your java source files and when you run those files you could see the statements on the Tomcat console. If you are using some logging utility like LOG4J then you can specify the

RE: Annoying problem when using new jar files

2003-12-29 Thread Edson Alves Pereira
Where did you put this jar file with XX? -- De: Gorka Garay[SMTP:[EMAIL PROTECTED] Responder:Tomcat Users List Enviada: segunda-feira, 29 de dezembro de 2003 9:23 Para: Tomcat Users List Assunto: Re: Annoying problem when using new jar files

Re: Annoying problem when using new jar files

2003-12-29 Thread Gorka Garay
Thanks all of you for your answers, but the problem is solved! The thing was that I was trying to import a package with a wrong name! What a stupid mistake I was making! Sorry for this. I feel embarrassed : ( - Original Message - From: Edson Alves Pereira [EMAIL PROTECTED] To:

[OT] custom tags in a page

2003-12-29 Thread Antony Paul
Hi, I wrote two custom tags. One is used only once in the page(msgtag) while the other one is used multiple times(outtag) similar to JSTL c:out. Both classes extends BodyTagSupport. When I looked at the compiled servlet code both tags are called in different ways. Each use of msgtag is made a

Re: Errors when connecting Tomcat to Apache

2003-12-29 Thread annimandary
How do I create the workers.properties? - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

It's Working !!!!! - Need Help - JDBC MySQL Apache 2.0.48 + Tomcat 4.1.29 + Mod_jk2 + Windows 2000 Server ( No IIS)

2003-12-29 Thread Lenny Sorey
Please disregard my last 12/28/2003 request for help. I now have Windows 2000 Server ( No IIS), Tomcat 4.1.29, Apache 2.0.48, Mod_jk2 and MySQL 4.1.0 working together in concert. Man, it's pretty cool when everything works together. I'd like to thanks everyone who answered my requests and

RE: [Q] : 'Hiding' applications?

2003-12-29 Thread Shapira, Yoav
Howdy, You may wish to read up on the RemoteAddress and RemoteHost filter valves (see the Valve configuration reference page). You don't have to setup a separate tomcat instance. Yoav Shapira Millennium ChemInformatics -Original Message- From: Riaan Oberholzer [mailto:[EMAIL

RE: Building 5.1 from Source

2003-12-29 Thread Shapira, Yoav
Howdy, I doubt anyone can help you with tomcat 5.1. I haven't been able to build it either, largely because it doesn't exist ;) Assuming you're talking about 5.0.16 or HEAD, simply follow the BUILDING.txt instructions. You will need all the modules checked out (i.e. catalina, connectors,

RE: Annoying problem when using new jar files

2003-12-29 Thread Shapira, Yoav
Howdy, Don't feel embarrassed, it's a common mistake that not too many people would admit on this list ;) Yoav Shapira Millennium ChemInformatics -Original Message- From: Gorka Garay [mailto:[EMAIL PROTECTED] Sent: Monday, December 29, 2003 8:04 AM To: Tomcat Users List Subject: Re:

RE: Errors when connecting Tomcat to Apache

2003-12-29 Thread Altankov Peter
Try this URL: http://jakarta.apache.org/tomcat/tomcat-4.1-doc/jk2/index.html -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: 29 2003 . 15:26 To: Tomcat Users List Subject: Re: Errors when connecting Tomcat to Apache How do I create the workers.properties?

RE: Context docBase + linux

2003-12-29 Thread Shapira, Yoav
Howdy, Change the permissions on it so that the tomcat user can read it. On unix systems, you can use the chmod command to do this (chmod -R u+rwx /home/webapptest for example). Yoav Shapira Millennium ChemInformatics -Original Message- From: Algirdas M. [mailto:[EMAIL PROTECTED]

RE: getting Server.XML properties in servlets?

2003-12-29 Thread Shapira, Yoav
Howdy, Hmm, that's strange. Do you have other errors in your log? Two other things to try: 1. Use env-entry in your web.xml instead of Environment in server.xml to define these properties. 2. Put the Environment specifically inside your context in server.xml, not inside the global naming

Re: Context docBase + linux

2003-12-29 Thread Antony Schuerewegen
Some confusion i guess, - Original Message - From: Algirdas M. [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Monday, December 29, 2003 12:33 AM Subject: Context docBase + linux Hello, wat was the path name you created /home/webbapptest or user/home/webbapptest or

RE: How can I debug a webapp running in Tomcat?

2003-12-29 Thread Shapira, Yoav
Howdy, Logging, like others said, and a debugger. JSwat is free and easy to integrate with tomcat (http://www.bluemarsh.com/java/jswat/docs/howto-servlet.html) and there are many other debuggers available. Yoav Shapira Millennium ChemInformatics -Original Message- From: Agarwal,

RE: help w/ Tomcat configuration

2003-12-29 Thread Shapira, Yoav
Howdy, I already got the http://localhost:8080/ working, but let me tell you that I barely understand the reason I have to install Tomcat, and thus I feel overwhelmed with all this configurations and settings. Welcome to the java and tomcat world ;) My Company wishes me replace

RE: How to map Absolute URIs to subdirs in Tomcat's 'ROOT' context?

2003-12-29 Thread Shapira, Yoav
Howdy, Your JSPs should have the request getContextPath() as part of the image URL. Tomcat will not think /img is a webapp, it's smart enough to know what is and isn't a context path. And it's too bad you can't have relative image URLs, as that's really the correct solution. Yoav Shapira

RE: is it planned to support EAR files in Tomcat?

2003-12-29 Thread Shapira, Yoav
Howdy, Put your jar with the common code in the common/lib or shared/lib directory of tomcat. Read tomcat's classloader how-to document if you're not sure what these directories are. There are no plans for tomcat to support EARs (as tomcat is not going to be a full J2EE server). Communications

RE: java.lang.OutOfMemoryError

2003-12-29 Thread Shapira, Yoav
Howdy, hm..i see...but I am working on a server with 4GB of RAM,I think it should Your server has 4GB of physical RAM, but by default Java will allocate up to 64MB to the heap. You can modify this by using various -X parameters to the java runtime (read up on the Java VM Options if you're not

RE: New Object Pooling project

2003-12-29 Thread Shapira, Yoav
Howdy, Huh? Have you considered commons-pool? (http://jakarta.apache.org/commons/pool/) Yoav Shapira Millennium ChemInformatics -Original Message- From: David Boyer [mailto:[EMAIL PROTECTED] Sent: Saturday, December 27, 2003 3:02 PM To: [EMAIL PROTECTED] Subject: New Object Pooling

RE: org.xml.sax.SAXParseException

2003-12-29 Thread Shapira, Yoav
Howdy, You get this out of the box, or have you modified manager.xml in any way? Anyways, don't bother with 5.0.14 (even though it should be fine), use 5.0.16 which is stable. Yoav Shapira Millennium ChemInformatics -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]

RE: is it planned to support EAR files in Tomcat?

2003-12-29 Thread Riaan Oberholzer
You could also communicate with JMS. Once you get it up and running, its a pretty smooth way of communicating. You'd have to set up a message broker, of course. Are there any good (free / open source) ones out there? --- Shapira, Yoav [EMAIL PROTECTED] wrote: Howdy, Put your jar with the

RE: Problems with RequestFilterValve

2003-12-29 Thread Shapira, Yoav
Howdy, This could actually be a bug! (This is refreshing and exciting to me, because there's about 1 of these for every 100 supposed bugs that are user errors). (And this is a slow week). ;) Can you come up with a simple unit test in a WAR file that will demonstrate this behavior so that we

RE: is it planned to support EAR files in Tomcat?

2003-12-29 Thread Shapira, Yoav
Howdy, OpenJMS is great. We've been using it in heavy production systems for more than a year now, not a single failure. Yoav Shapira Millennium ChemInformatics -Original Message- From: Riaan Oberholzer [mailto:[EMAIL PROTECTED] Sent: Monday, December 29, 2003 9:46 AM To: Tomcat Users

RE: servlets marked as unavailable

2003-12-29 Thread Shapira, Yoav
Howdy, Technically, once a servlet is marked as unavailable it's pretty much gone for the lifecycle of the container (not just the webapp). Why is it being marked unavailable the first time? You should only have one context reload, and that should occur after all the necessary files have

RE: StringBuffer Factory?

2003-12-29 Thread Shapira, Yoav
Howdy, Definitely not JNDI for this. It's far too heavy. Yoav Shapira Millennium ChemInformatics -Original Message- From: Tim Funk [mailto:[EMAIL PROTECTED] Sent: Saturday, December 27, 2003 9:24 PM To: Tomcat Users List Subject: Re: StringBuffer Factory? While you might gain some

RE: tomcat isn't using Jikes for compiling jsps

2003-12-29 Thread Shapira, Yoav
Howdy, I would set the fork property to true if you're compiling and recompiling large numbers of JSPs (a practice you want to avoid in production if possible). As to whether jasper is using jikes or javac, try setting the logVerbosityLevel to DEBUG and see if you can tell from the messages.

RE: unit testing when application level scoping used

2003-12-29 Thread Shapira, Yoav
Howdy, Cactus works beautifully with regards to servlet context and general environment setup. Should I instantiate a bean with session scope that is expected to be present? Yes, you should instantiate it and place it in the session/application context as needed by your webapp. Another

RE: What after reloading a context

2003-12-29 Thread Shapira, Yoav
Howdy, The servlet instance is destroyed (destroy() method call), then finalized and garbage collected. A new instance of the class is created on startup if specified as a load-on-startup servlet in web.xml, or the first time the servlet is requested otherwise. After the creation of this

RE: Why Tomcat shutdown unprovokedly?

2003-12-29 Thread Shapira, Yoav
Howdy, Strange. You definitely should NOT have a webapp without a web.xml file. Even an empty web.xml (with just the DOCTYPE and web-app /) is fine. Enable more verbose logging of tomcat and your apps. The GC log looks fine. Yoav Shapira Millennium ChemInformatics -Original

List question

2003-12-29 Thread frank . zammetti
Sorry to send to everyone, but I checked the info and FAQ responses and couldn't find an answer... How does one switch to list digest mode? Do I need to unsubscribe and re-subscribe, or is there a specific admin command to do so? Thanks everyone, and sorry again for the general list post.

RE: Problems with RequestFilterValve

2003-12-29 Thread Slavik Markovich
Sorry Yoav, As you know, threading (race-condition) issues are really hard to test and come up with a test case. They are by nature very machine, cpu, etc. dependent. Synchronizing the process method would be a bad idea (bottleneck for all requests) so it looks like there won't be any choice

RE: Admintool cannot save changes to servers.xml

2003-12-29 Thread George Sexton
At this point I only have two ideas. Idea # 1 is that you are starting tomcat with some sort of flags that affect security. Idea # 2 is to use strace to run tomcat and see if you can sort out from the strace logs what is happening. -Original Message- From: news [mailto:[EMAIL PROTECTED]

Login page only via SSL

2003-12-29 Thread Pranas
Hello all gurus, Could somebody explain me how to force Tomcat 4.1 using SSL for strictly only for login page? Thanks, Pranas

Re: Login page only via SSL

2003-12-29 Thread Pranas
Possibly the best way described in : http://java.sun.com/webservices/docs/1.1/tutorial/doc/WebAppSecurity4.html Regards - Original Message - From: Pranas [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Monday, December 29, 2003 5:17 PM Subject: Login page only via SSL

Re: Login page only via SSL

2003-12-29 Thread Duncan Smith
Adding this to your web.xml should work: security-constraint web-resource-collection web-resource-nameSSL/web-resource-name url-pattern/login.jsp/url-pattern /web-resource-collection user-data-constraint transport-guaranteeCONFIDENTIAL/transport-guarantee /user-data-constraint

Re: Admintool cannot save changes to servers.xml

2003-12-29 Thread [EMAIL PROTECTED]
George Sexton wrote: At this point I only have two ideas. Idea # 1 is that you are starting tomcat with some sort of flags that affect security. My starting procedure simply is /opt/jakarta-tomcat-5/bin/startup.sh So, I think there is no flag Idea # 2 is to use strace to run tomcat and see if you

RE: List question

2003-12-29 Thread Shapira, Yoav
Howdy, I think you have to unsubscribe from the normal list and subscribe to the digest list, as they're technically different lists. Send a message to [EMAIL PROTECTED] for instructions. Yoav Shapira Millennium ChemInformatics -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL

RE: Unsubscibing

2003-12-29 Thread Shapira, Yoav
Howdy, I've unsubscribed you. The subscribe/unsubscribe functionality is pretty simple and routine, we have dozens of such transactions every day without a problem, so I'm surprised you had one. And I don't particularly appreciate the reference to partying early, but happy holidays to everyone

RE: Problems with RequestFilterValve

2003-12-29 Thread Shapira, Yoav
Howdy, Synchronizing the process method would be a bad idea (bottleneck for all requests) so it looks like there won't be any choice but to recreate the RE as local variables. There is also a possibility (ugly one) of serializing the array of RE to a byte array and de-serializing it in the

Re: org.xml.sax.SAXParseException

2003-12-29 Thread Bkraabel
I did get tomcat 5.0.14 'out of the box'. I originally tried 5.0.16, but had the same problem, and my instructor suggested trying 5.0.14. I also tried 4.2.something, with the same problem. I did get version 3.1.1a of tomcat to work, however. My instructor thinks I have some xml parser on my

RE: All threads (150) are currently busy, waiting. Increase maxThreads (150) or check the servlet status

2003-12-29 Thread alan sparago
We are using RedHat 9, Kernel 2.4.20-20.9. JVM 1.4.2_01-b06. We are using Postgres and created our own database connection pooling api. I will try setting the environment variable LD_ASSUME_KERNEL=2.4.1. When you refer to a 'thread dump' are you referring to running netstat and viewing the

URL-rewriting

2003-12-29 Thread Mattias Bogeblad
Hi All, I want to be able to use url-rewriting in an application I have. I want to transform urls like http://localhost:8080/infoglueDeliver/products/productX.html to http://localhost:8080/infoglueDeliverDev/ViewPage.action?navigationTitle =products/productX.html I have checked out the

RE: URL-rewriting

2003-12-29 Thread Shapira, Yoav
Howdy, I'm not an expert on Apache's mod-rewrite, so I'll give you one possible pue java solution: a fairly simple filter (a javax.servlet.Filter filter). Map the filter /* and code your redirection rules in java. Actually, you might want to look at the balancer webapp (tomcat 5) which has a

Thread Safe JSP/Servlets

2003-12-29 Thread Merrill Cornish
I understand how to write thread-safe software in general, but I suddenly realized that I don't understand what, if anything, Tomcat shares among different sessions (i.e., different users accessing the same JSP application) and would therefore be thread sensitive. For example, in my servlets,

RE: Thread Safe JSP/Servlets

2003-12-29 Thread Hume, John - NA US HQ Delray
Instance variables in a JSP will be shared among requests, so you could have an issue. Note however, that you have to go out of your way to declare instance variables in a JSP (by putting them in a %! //declaration block % rather than a plain old % //scriptlet block %). All non-declarative

[Q] Tomcat ZoneAlarm?

2003-12-29 Thread Riaan Oberholzer
This is not a Tomcat issue, but I've tried desperately and could find no answer elsewhere... can someone please tell me how to get Tomcat working with ZoneAlarm (free version) as firewall? __ Do you Yahoo!? New Yahoo! Photos - easier uploading and sharing.

Re: [Q] Tomcat ZoneAlarm?

2003-12-29 Thread epyonne
Just allow Tomcat to access the internet. - Original Message - From: Riaan Oberholzer [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Monday, December 29, 2003 01:14 PM Subject: [Q] Tomcat ZoneAlarm? This is not a Tomcat issue, but I've tried desperately and could find no answer

RE: Thread Safe JSP/Servlets

2003-12-29 Thread Merrill Cornish
you have to go out of your way to declare instance variables in a JSP (by putting them in a %! //declaration block % John, After I posted the question, I started browsing the generated _jsp file in earnest. I had decided that % ... % stuff was safe since it gets up in its own method

Re: [Q] Tomcat ZoneAlarm?

2003-12-29 Thread Riaan Oberholzer
It doesn't work... I get a The page cannot be displayed. I try to access it using http://x.x.x.x:8080/; where x.x.x.x is my ip number. I can ping the IP number, so the server is alive... I just can't access Tomcat on it. --- epyonne [EMAIL PROTECTED] wrote: Just allow Tomcat to access the

Re: [Q] Tomcat ZoneAlarm?

2003-12-29 Thread Philipp Taprogge
Hi! Riaan Oberholzer wrote: This is not a Tomcat issue, but I've tried desperately and could find no answer elsewhere... can someone please tell me how to get Tomcat working with ZoneAlarm (free version) as firewall? In general, it is very advisable to know what a firewall does and how it works

Re: [Q] Tomcat ZoneAlarm?

2003-12-29 Thread Riaan Oberholzer
Thanks... I know what a firewall is and what it does. Problem is, with the free version of ZoneAlarm you cannot manually specify ports to allow access on. I know you CAN get it to work, but how I do not know. I need the firewall. It is my home PC on a ADSL connection, permanently connected to the

Connector attribute serverSocketTimeout in server.xml

2003-12-29 Thread Hume, John - NA US HQ Delray
Can anyone point me in the direction of a resource to explain the Connector attribute serverSocketTimeout? I haven't found any reference to it in the jakarta site or this mailing list. Thanks. -john. _ john d. hume 561-266-6256 [EMAIL PROTECTED]

RE: [Q] Tomcat ZoneAlarm?

2003-12-29 Thread Shawn Zernik
Riaan: If you are using windows XP you are better off setting the port with the firewall build into XP. To do this go into network, right click the adapter and you should be able to find the fire wall setting there. you can tell it to deny all except... The except is what you would be

Re: [Q] Tomcat ZoneAlarm?

2003-12-29 Thread epyonne
I am using ZoneAlarm Pro at home and I don't have any problem with Tomcat. I don't know if the free version has this feature or not. You can set ZoneAlarm to the learning mode. That means ZA will allow the application or program that you install to perform its function. Then you can scale back

Re: [Q] Tomcat ZoneAlarm?

2003-12-29 Thread Merrill Cornish
Riaan, I run Tomcat with ZoneAlarm Pro at home and it works. Not only does Tomcat need to be able to access the Internet (even though it's not actually accessing anything outside the localhost) as Phil said, but the browser you are using also needs to be able to access the Internet.

Re: [Q] Tomcat ZoneAlarm?

2003-12-29 Thread Peter Lin
I've used ZoneAlarm in the past. If I remember correctly, you have to select the program and check it for server. If you don't, it blocks inbound traffic. if it is already checked for server, do a right click and it should give you additional properties like blocking all other ports for the

Re[2]: Context docBase + linux

2003-12-29 Thread Algirdas M.
AS wat was the path name you created /home/webbapptest or user/home/webbapptest or /user/home/webbapptest path was /home/webapptest. That's a user webapptest home directory. I've created user /home/webapptest (with WEB-INF/classes, etc.) for java web applications and added in

MOD_JK (Apache+Tomcat)

2003-12-29 Thread Hari Om
Hello, I am using APache 2.0.47 and Tomcat 4.1.27 on SuSE Linux 8.1 I am working on the Connector MOD_JK.SO which I build from the source and put in /modules directory. When I run my Tomcat first and then Apache and then acceess http://My.domian.name/kuki it does not work... it says Page

Newbie with problems during tomcat application install

2003-12-29 Thread Barry Kimelman
My system is a laptop running Linux Redhat 9. I have installed Tomcat 5.0.14 from a binary download distribution. The sample applications work perfectly. I can compile my application with no problems. But when I issue the ant command ant install I receive the following output :

SV: URL-rewriting

2003-12-29 Thread Mattias Bogeblad
Hi and thanx for the suggestion but I want to try the rewrite module first as that offers all flexibility I need. The package I named is a pure java implementation of Apache mod-rewrite so I thought I benefit from it if possible. Anyone else who can contribute? Regards Mattias Bogeblad

Tomcat 5 and class importing problems

2003-12-29 Thread Jeff Greenland
Hello all, sorry this is long, but it takes time to explain, I'm having a frustrating issue with JSP files and trying to import our custom classes. Originally the classes were developed when Tomcat 3 was out and being used, so putting all of our compiled (*.class) files into

IIS6 connection toTomcat on Win 2003 Server

2003-12-29 Thread swalker
Greetings. Windows 2003 server running IIS 6.0. (IIS 5.0 isolation mode) j2sdk1.4.2_03 Jakarta Tomcat 5.0.16 isapi_redirector2.dll New to Java and I did fry finding answers before subscribing. When I found http://www.rit.edu/~ack5504/tomcat-iis6-howto/narantugs-sengee-guide.html I really

RE: IIS6 connection toTomcat on Win 2003 Server

2003-12-29 Thread Jeff Greenland
It *looks* like the guide you followed did not include the changes to web service extensions to allow the ISAPI application to run. In the IIS manager, click on the Web Service Extensions folder. On the right side, click on the Add a new Web service extension link. Type in any Extension name you

manager

2003-12-29 Thread Jonathan Locke
maybe this is already covered on the tomcat website or in some FAQ, but i can't seem to find the answer i'm looking for... i want to turn off all the tomcat administration tools (manager, admin, etc) and the html documentation that's available through the root context... reason being that the

(Probably) Basic Config Problem

2003-12-29 Thread John King
Pardon my newbieness, please. I have installed tomcat 4.1.29 in accrodance with the instructions... or so I believe... When I attempt to run the startup script I get an error logged in the error log file, as follows: tac[root]:/root- $CATALINA_HOME/bin/startup.sh Using CATALINA_BASE:

Re: MOD_JK (Apache+Tomcat)

2003-12-29 Thread Jerry Ford
Hari: You're trying to do too much too soon. Get the Apache - Tomcat connection through mod_jk to work before you try to get your own webapp to work. Use the Tomcat example servlets to verify that mod_jk is correctly installed and functional. If you can run the servlets through Apache

servlet gets smtp relay denied error

2003-12-29 Thread Jerry Ford
I have written a JavaMail servlet to mail documents at user request. (User selects a document from the web page and enters an email address; when the Mail it now button is clicked, the servlet is called and the document sent as an attachment to an email message.) The servlet is deployed as a

RE: IIS6 connection toTomcat on Win 2003 Server

2003-12-29 Thread swalker
isapi_redirect2.dll is/was added/in the Web Service Extensions. My gut feeling is its something in the server.xml, workers2.properties, jk2.properties or some other file(s) I may have left out.. Where does the web.xml fall in to all of this? Web, tomcat and java directories have read execute

Re: servlet gets smtp relay denied error

2003-12-29 Thread Doug Parsons
When I invoke it from a browser on the same network as the server, it works as expected. An email is sent to the specified address, with the attachment. But when I invoke it from a browser outside of my network, the message does not get sent. I don't have first hand experience in this

Did i forget anything when reinstalling TomCat 4.1.27 ?

2003-12-29 Thread Jose Euclides da Silva Junior - DATAPREVRJ
Hi guys, a quick helping hand, please! I have changed the tomcat environment into a new fisical server. I ve used Winzip to compress and extract it. At the new server, the Tomcat's admin page is up, but whenever i call my app, i get this message:The requested resource (/Portal.jsp) is not

RE: IIS6 connection toTomcat on Win 2003 Server

2003-12-29 Thread Jeff Greenland
This is a good resource that I've found: http://virtualict.net/support/kb/iis6-Tomcat5-JK2.html Not sure if it'll help you out or not, but it's worth a shot. Jeff -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Monday, December 29, 2003 7:17 PM To: Tomcat

Re: manager

2003-12-29 Thread Bill Barker
$ cd $CATALINA_HOME/webapps $ rm admin.xml manager.xml $ rm -rf tomcat-docs You could also nuke $CATALINA_HOME/server/webapps for good measure (or to save disk space :), but Tomcat won't find the 'admin' or 'manager' webapps without the xml files. Jonathan Locke [EMAIL PROTECTED] wrote in

Re: (Probably) Basic Config Problem

2003-12-29 Thread Bill Barker
Well, you are running from the source-distro. After you have built Tomcat, you need to set CATALINA_HOME=/usr/local/jakarta-tomcat-4.1.29-src/build or CATALINA_HOME=/usr/local/jakarta-tomcat-4.1.29-src/dist (depending on whether you used the command 'ant' or 'ant dist' to build Tomcat. John

Re: Connector attribute serverSocketTimeout in server.xml

2003-12-29 Thread Bill Barker
Hume, John - NA US HQ Delray [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Can anyone point me in the direction of a resource to explain the Connector attribute serverSocketTimeout? I haven't found any reference to it in the jakarta site or this mailing list. Thanks. It's the

Re: URL-rewriting

2003-12-29 Thread Bill Barker
With TC 5.x, Servlet-mapping happens very early (long before any non-TC specific code has a chance :). With TC 4.1.x, it still happens before the Filters get called, but it is still possible to use a (Tomcat-specific) Valve to do the rewrite. (N.B. Valves get called after the Mapper in TC 5.x,

Re: [OT] custom tags in a page

2003-12-29 Thread Bill Barker
Easy question first: If you don't need BodyTag, don't use it, since it is a potential memory hog. If you need to process it in a loop, use IterationTag instead. (of course this assumes TC 4.x or higher) Hard question last: Without seeing your JSP page, I can't tell you exactly why Jasper

Re: Building 5.1 from Source

2003-12-29 Thread Bill Barker
Yoav is largely correct. If you are using the 5.0.16 source distro, then *nothing* that doesn't ship with requires CVS (which is s nice, for us poor people sitting behind firewalls :). You probably need to modify your 'build.properties' file to point to the correct place for servlet-api-5

Re: 2 way SSL ( client authentication)

2003-12-29 Thread Bill Barker
The ssl-howto has instructions for generating a self-signed Server-cert. You can't use a self-signed client-cert (Ok, I'm lying, but it's for your own good: You can with PureTLS, but for your own good, I'm going to make you look it up yourself :). The client-cert needs to be signed by someone in

Re: [OT] custom tags in a page

2003-12-29 Thread Antony Paul
Thank you for the reply. 'msgtag' don't have attributes. The other tag 'outtag' have attributes and it is invoked in service method itself . No tags are nested. But I cannot understand the logic in creating a separate method call for each tag invocation. In each method it is using same code other

RE: Building 5.1 from Source

2003-12-29 Thread Ramakrishna Rallapalli
I tried setting up the proxy details, but still it could not get files from CVS. Thanks for your reply. I will try out with 5.0.16. -Original Message- From: Bill Barker [mailto:[EMAIL PROTECTED] Sent: Tuesday, December 30, 2003 11:45 AM To: [EMAIL PROTECTED] Subject: Re: Building 5.1

Re: Building 5.1 from Source

2003-12-29 Thread Antony Paul
When I run ant it is running cvs and it fails and continue processing other tasks. I dont have CVS in path. Antony Apul. - Original Message - From: Ramakrishna Rallapalli [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Tuesday, December 30, 2003 11:56 AM Subject: RE:

RE: Building 5.1 from Source

2003-12-29 Thread Ramakrishna Rallapalli
Although the CVS is put in path , still I faced problem in getting the files checkout from CVS. Ramakrishna -Original Message- From: Antony Paul [mailto:[EMAIL PROTECTED] Sent: Tuesday, December 30, 2003 12:09 PM To: Tomcat Users List Subject: Re: Building 5.1 from Source When I run