Multiple instance for Tomcat

2002-09-04 Thread Wong, Wilson Y
Dear All, I'd a question on the context on each instance. Why it auto added all the subfolders under webapps? And how to prevent this? More is it mean that both of the instance cannot access the other folder, like joe cannot access bill's folder)? Here is the startup screen base on my

Re: error accessing a context-param from web.xml

2002-09-04 Thread Irina Lishchenko
Probably your task is better to accomplish with JNDI Resources, http://localhost:8080/tomcat-docs/jndi-resources-howto.html That is more elegant solution, and that is for what JNDI Resources are designed Or are there any other reasons why do you want to carry out this context-param way? ilis

How to get Excel directly started using response.setContentType(...) from JSP?

2002-09-04 Thread Zsolt Koppany
Hi, I can get Excel directly started from a servlet using two things: 1. response.setContentType(application/vnd.ms-excel); 2. the servlet path ends with result.xls (like /servlet/abc/result.xls?p=1) I can use response.setContentType(...) from JSP too, but I was not able to use a JSP path to

Internal Server Error when changing class file

2002-09-04 Thread Mathew Pole
Hi , During development I have defined the following context to enable reloading of servlets when I change code: !-- Clipsal Context -- Context path=/clipsal docBase=clipsal debug=0 reloadable=true crossContext=true /Context Unfortunately every change

Re: need to restart tomcat when beans are updated (tomcat4.0.4)

2002-09-04 Thread Phillip
yeah it is true, In context path, reloadable=true says that classfiles which can be servlets, beans or others get updated when they are changed. Phillip - Original Message - From: Ashish Kulkarni [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Wednesday, September 04,

Replacement 401 pages

2002-09-04 Thread Ben Walding
Greetings all, Maybe someone can answer the following conundrum for me! I've replaced my 401 page with a servlet reference using the error-page section of the web.xml. I'd like the servlet to display different content based on what was accessed. At present I have to use javascript

Windows HowTo for TC 4.1.10 + Apache 2.0.40 + mod_jk2

2002-09-04 Thread Robert L Sowders
Here is a short HowTo to get it all installed and working on Win2k. Sorry all I have is a Word document. Give it a try, feedback is appreciated. Probably lots of typo's in it. Let me know. ftp://pokey.wr.usgs.gov/pub/rsowders/Apache2_Win2k_TC4.1.10_JSDK1.4.zip -- To unsubscribe, e-mail:

RE: Windows HowTo for TC 4.1.10 + Apache 2.0.40 + mod_jk2

2002-09-04 Thread Mladen Turk
Good work! One exception: You don't need JVM in the [wm] section for jk2 to work. If ommited it will be found from the Registry. MT. -Original Message- From: Robert L Sowders [mailto:[EMAIL PROTECTED]] Sent: Wednesday, September 04, 2002 11:11 AM To: Tomcat Users List Subject:

RE: global.jsa

2002-09-04 Thread Barney Hamish
load-on-startup in your WEB-INF/web.xml is the element. Have a look in the servlet specifications for a fuller description. Hamish -Original Message- From: neal [mailto:[EMAIL PROTECTED]] Sent: Tuesday, September 03, 2002 8:43 PM To: Tomcat Users List Subject: RE: global.jsa

RE: error accessing a context-param from web.xml

2002-09-04 Thread jon wingfield
The error you are getting is the JSP parser mistaking the data %= application.getInitParameter( as the value for the driver parameter of the sql:setDataSource tag. Then it reports a parsing error as the next parameter is sees is jdbc.driver with no '=', and hence no value, after it. If you

Tomcat startup problem

2002-09-04 Thread Sujoy Ghosh
Hi , I can't start Tomcat 4.0.3 ; while starting using service tomcat4 start its showing Started [OK] but actually it isn't.Under logs/catalina.out I found following error; Exception during startup processing java.lang.reflect.InvocationTargetException: java.lang.NoClassDefFoundError:

Tomcat4 startup problem

2002-09-04 Thread Sujoy Ghosh
Hi , I can't start Tomcat 4.0.3 ; while starting using service tomcat4 start its showing Started [OK] but actually it isn't.Under logs/catalina.out I found following error; Exception during startup processing java.lang.reflect.InvocationTargetException: java.lang.NoClassDefFoundError:

Re: Tomcat4 startup problem

2002-09-04 Thread Jeff Turner
On Wed, Sep 04, 2002 at 09:44:31AM -, Sujoy Ghosh wrote: Hi , I can't start Tomcat 4.0.3 ; while starting using service tomcat4 start its showing Started [OK] but actually it isn't.Under logs/catalina.out I found following error; Exception during startup processing

Re: PLEASE! Tomcat compilation error

2002-09-04 Thread Peter Goode
Try putting tyrex jar into TDK_HOME/common/lib Andres Hernandez wrote: this appear while i compile tomcat 4.0 -- build-main: [echo] - Java-utils - [echo] -- puretls.present = ${puretls.present}

SIGSEGV error and SCO OpenServer

2002-09-04 Thread William Wragg
Hi, I am trying to install Tomcat 4.0.4 on a SCO OpenServer 5.0.5 box with Java SDK 1.2.2 (This is the newest SDK release available for this platform) I can run Tomcat 3.3.1 on the system but Tomcat 4.0.4 gives the following error in the $CATALINA_HOME/logs/catalina.out file: SIGSEGV 11*

RE: Windows HowTo for TC 4.1.10 + Apache 2.0.40 + mod_jk2

2002-09-04 Thread Andy Eastham
Robert, This is excellent. I'm going to give it all another go later this week with the aid of your work. My only comment is that I'd replace: Set system environment variables for Java home. C:\java with Set system environment variables for Java home.

.Tomcat log files consuming 90% space..

2002-09-04 Thread Phillip
Hi, I am facing a problem that my tomcat log files size are getting to big at online server. These files are jasper.log and mod_jk.log. I could be able to clear jasper.log file by changing verbosity level to warn in server.xml Now it does not grow but how to stop mod_jk.log. It has consumed 80%

Re: specify session timeout

2002-09-04 Thread Phillip
It can be done at web.xml Pleae find this part session-config session-timeout 30 /session-timeout /session-config This time is in minutes. Phillip - Original Message - From: randie ursal [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED]

Executing Windows Scripts ?

2002-09-04 Thread Stuart Stephen
Hi, I doubt that there is a way to do this, but you never know. We are running Tomcat/Apache/Win2K Server and wish to convert a Microsoft .ppt file format into something that could be viewable on the web. The idea is that the user uploads the file and then we do some background processes

RE: Executing Windows Scripts ?

2002-09-04 Thread Steven Sporen
Why don't you call into PowerPoint's COM objects directly from Tomcat? -Original Message- From: Stuart Stephen [mailto:[EMAIL PROTECTED]] Sent: 04 September 2002 12:23 To: [EMAIL PROTECTED] Subject: Executing Windows Scripts ? Hi, I doubt that there is a way to do this, but you

RE: Executing Windows Scripts ?

2002-09-04 Thread Stuart Stephen
How would I go about doing that? I didn't know that you could? -Original Message- From: Steven Sporen [mailto:[EMAIL PROTECTED]] Sent: 04 September 2002 11:24 To: Tomcat Users List Subject: RE: Executing Windows Scripts ? Why don't you call into PowerPoint's COM objects directly from

RE: Executing Windows Scripts ?

2002-09-04 Thread Andreas Mohrig
This would by bye bye to portability, but you can call commands using Runtime.getRuntime().exec(command); Executes the specified command and arguments in a separate process. (From the java documentation, look for the Runtime object.) Andreas Mohrig -Original Message- From:

migration questions

2002-09-04 Thread Richard Chamberlain
Hello Everyone, A quick warning that I'm a complete Tomcat newbie.. We're currently using resin because when we originally evaluated Tomcat was a nightmare in reloading classes, I'm hoping things have improved. I'm currently suffering problems because I'm using resin with apache and trying to

Re: Replacement 401 pages

2002-09-04 Thread Tim Funk
See section 9.8 of the spec: A web application may specify that when errors occur, other resources in the application are used. These resources are specified in the deployment descriptor. If the location of the error handler is a servlet or a JSP, the following request attributes can be set: -

Re: migration questions

2002-09-04 Thread Anthony Geoghegan
Yes but it's normally something like: www.example.com/servlet/~richard so that Apache can forward the request with anything like www.example.com/servlet to Tomcat. Best Regards, Anthony Geoghegan. J2EE Developer CPS Ireland Ltd. - Original Message - From: Richard Chamberlain [EMAIL

Re: Re: Tomcat4 startup problem

2002-09-04 Thread Sujoy Ghosh
Hi Jeff, Thanks for your reply. At least now I cld get hold of some clue. But can you pls. do me some more help ? I have downloaded the jndi112.zip from the said URL , unpacking which produced two folder lib examples . Can you pls. guide me where to put those files ?? Also do I need to

RE: Connectors to WebServers

2002-09-04 Thread Turner, John
A search in the list archives will bring up many answers to your questions. This question gets asked at least twice a day, every day. Which one you choose is up to you. Mod_jk seems to be the preferred connector at this time. It depends on your environment and needs. Mod_webapp has

Anyone else have problems migrating apps to tomcat4.1.9.

2002-09-04 Thread Colic, Alex
Hi, I have a web application that has been working fine in tomcat 4.0.1 for a couple of months now. I want to move over to 4.1.9+ to get a couple of features. I like the new management console and the improved jndi database access. I installed tomcat and moved my app over to the web apps

Re: Re: Tomcat stops automatically

2002-09-04 Thread Jeff Turner
On Tue, Sep 03, 2002 at 06:11:40AM -, Sujoy Ghosh wrote: Hi Jeff, Thanks for your help.As you said I have got only two logs to check jasper servlet -- where there is no clue for this Tomcat stoppage. I reckon there's vital logs full of informative error messages *somewhere* :P If

RE: Executing Windows Scripts ?

2002-09-04 Thread Turner, John
Powerpoint already does this. File-Save As HTML will take you through an entire wizard for saving the Powerpoint file as HTML files with GIF or JPEG images. In addition, all of the Powerpoint viewers are here: http://office.microsoft.com/downloads/default.aspx?Product=PowerPointVersio

RE: Executing Windows Scripts ?

2002-09-04 Thread Turner, John
JACOB: http://danadler.com/jacob/ John Turner [EMAIL PROTECTED] -Original Message- From: Stuart Stephen [mailto:[EMAIL PROTECTED]] Sent: Wednesday, September 04, 2002 6:28 AM To: Tomcat Users List Subject: RE: Executing Windows Scripts ? How would I go about doing that? I

Apache + Tomcat multiple instances

2002-09-04 Thread Vincent . Gaboriau
Hi all, I already run Apache 2.0.40 + 2 instances of Tomcat 4.0.3 under Windows 2000. To get the 2 instances running, I made 2 server.xml, 2 worker directory, 2 temp directory and 2 webapps directory. So it looks like 2 installations of Tomcat on one machine. To run the instances, I modified the

RE: Tomcat startup problem

2002-09-04 Thread Turner, John
I've never seen that error before, but unless you have a specific need for 4.0.3 and JDK 1.2.2, my advice would be to upgrade both Tomcat and your JDK, and don't use the RPMs (all due respect to the creator of the RPM). tomcat: 4.0.4, binary not RPM JDK: 1.3.1 or 1.4.0 The binary install of

mod_webbapp.so upload

2002-09-04 Thread Bicnic
Hello, I realised à webmail in JSP/Servlet on Linux RedHat 7.2 / Apache 1.3.26 / Tomcat 4.0.1 and I've a problem... I can't upload file to the server. This is a bug of the connector mod_webapp.so (method toRead() return char between -128 to 127 instead of 0 to 255

HTTP 404 - File not found Tomcat4.0.4 - Apache2.0.40

2002-09-04 Thread Heligon Sandra
Hi, I am working with Apache2.0.40, Tomcat4.0.4 and mod_jk on WindowsNT. The default configuration works well, I can access to tomcat's examples through the url http://localhost/examples. Then I stop Tomcat, I place a war file in the CATALINA_HOME/webapps

RE: migration questions

2002-09-04 Thread Turner, John
For your case with the tilde, this is handled by a Listener element within the Host container in server.xml. See: http://jakarta.apache.org/tomcat/tomcat-4.1-doc/config/host.html, bottom of the page. John Turner -Original Message- From: Richard Chamberlain [mailto:[EMAIL

RE: HTTP 404 - File not found Tomcat4.0.4 - Apache2.0.40

2002-09-04 Thread Vincent . Gaboriau
Hi, I think the command : JkMount /yourNewApp/* yourTomcatWorkerName is not present in your httpd.conf. Vincent. -Message d'origine- De : Heligon Sandra [mailto:[EMAIL PROTECTED]] Envoyé : mercredi 4 septembre 2002 14:48 À : '[EMAIL PROTECTED]' Objet : HTTP 404 - File not

RE: HTTP 404 - File not found Tomcat4.0.4 - Apache2.0.40

2002-09-04 Thread Turner, John
That wouldn't (or shouldn't) effect a previously working Tomcat examples installation. John -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Wednesday, September 04, 2002 8:57 AM To: Tomcat Users List Subject: RE: HTTP 404 - File not found Tomcat4.0.4 -

JAASRealm SecurityException unable to instantiate LoginConfiguration

2002-09-04 Thread James Krygowski
Hey All- I'm trying to get the standard JAASMemoryLoginModule in Tomcat 4.1.9beta to work and haven't had much success. After tinkering with JAASRealm and adding the following exception catch block: LoginContext loginContext = null; try { loginContext = new

RE: Tomcat, JVMs and performance help please

2002-09-04 Thread Shapira, Yoav
Hi, Why don't you download all the ones that will run on your platform and compare performance for each one? That would be more accurate then reading reports. For example, I used the Volano Report at http://www.volano.com/report/index.html in the past, but now that it doesn't include JDK 1.4

tomcat shutdown problem

2002-09-04 Thread Anand Parikh
I am using Tomcat 4.0.4 with JDK 1.3 on Debian Linux 2.2.6. Tomcat starts OK with startup.sh and I can see the home page. On shutdown with shutdown.sh, there are no error messages on the xterm. Subsequent startup does not succeed and I cannot see the home page. There is no conflict with the

RE: How to get Excel directly started using response.setContentType(...) from JSP?

2002-09-04 Thread Shapira, Yoav
Hi, Both of these depend on your user's configuration to some extent. For example, I personally have the .xls extension configured to bring up the question (save or open). Be careful not to forget that handling of responses based on content type or extension is completely controllable by the

RE: HTTP 404 - File not found Tomcat4.0.4 - Apache2.0.40

2002-09-04 Thread Vincent . Gaboriau
Oups, that's right! The exemple's context should run. Can you (Sandra) look at your tomcat logs? -Message d'origine- De : Turner, John [mailto:[EMAIL PROTECTED]] Envoyé : mercredi 4 septembre 2002 14:53 À : 'Tomcat Users List' Objet : RE: HTTP 404 - File not found Tomcat4.0.4 -

Re: Anyone else have problems migrating apps to tomcat4.1.9.

2002-09-04 Thread Jeff_Mychasiw
Sorry I have no solution, but I am glad you asked this question. We are developing our first Struts app on 4.0.4. When I tried the app in 4.1.9, I could not get the jsp:includes to compile as well. At this time we will stick with Jboss/Tomcat 4.0.4 Bundle during development. In addition, we

Re: Anyone else have problems migrating apps to tomcat4.1.9.

2002-09-04 Thread Remy Maucherat
[EMAIL PROTECTED] wrote: Sorry I have no solution, but I am glad you asked this question. We are developing our first Struts app on 4.0.4. When I tried the app in 4.1.9, I could not get the jsp:includes to compile as well. At this time we will stick with Jboss/Tomcat 4.0.4 Bundle during

RE: HTTP 404 - File not found Tomcat4.0.4 - Apache2.0.40

2002-09-04 Thread Heligon Sandra
I installed again Tomcat, in order to start with a blank directory. and it works. In fact the JkMount /yourNewApp/* yourTomcatWorkerName was included in the httpd.conf because I used the Tomcat's auto configuration. I suppose that my application.war was not good. I had a copy and with this copy I

Url Mapping with mod_jk

2002-09-04 Thread Anthony Milbourne
Hi I know this question was asked in Feb but it didn't seem to get a full reply back then - so I'm asking again. I have one instanve of Apache 1.3 talking over mod_jk to one instance of Tomcat 4.0.4. Apache has 2 virtualhosts set up for the 2 webapps deployed on Tomcat. Both virtualhosts need

RE: HTTP 404 - File not found Tomcat4.0.4 - Apache2.0.40

2002-09-04 Thread Vincent . Gaboriau
So, you don't have any problem anymore. Tomcat log file: apache_log - ? (I don't have this log in my configuration) catalina_log - The activity of your Tomcat server. You can see if your Tomcat start and stop and the threads created and stoped. localhost_access - You can

Re: Url Mapping with mod_jk

2002-09-04 Thread Tim Funk
Try something like this ... NameVirtualHost 172.16.24.99 VirtualHost schmoopy1 DocumentRoot /usr/local/schmoopy1/docs ServerName schmoopy1.joedog.org ServerAlias schmoopy1 JkMount /*.jsp sometomcat /VirtualHost VirtualHost schmoopy2 DocumentRoot /home/schmoopy2/stuff

Build Tomcat 4.1.10

2002-09-04 Thread Nome real
Hi, I trying to build Tomcat-4.1.10 but it's complaining about jakarta-tomcat-jasper. I couldn't find this package anywhere. Where could I download it ? Thanks -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]

Re: Apache 2.0.40 + mod_jk + Tomcat 4.1.9 + Load Balancing

2002-09-04 Thread Pascal Forget
bwinders wrote: I think it would be great if you were to provide the howto! When might you update your web site? I will send an email to the list when itès ready, hopefully before the week-end. Pascal -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands,

RE: Url Mapping with mod_jk

2002-09-04 Thread Turner, John
How is this not handled with a Host and Context element? Apache config: VirtualHost one.host.com JkMount /*.jsp AJP13 VirtualHost two.host.com JkMount /*.jsp AJP13 Tomcat: Host name=one.host.com Context path= docBase=one Host name=two.host.com Context path= docBase=two Host one files go

RE: HTTP 404 - File not found Tomcat4.0.4 - Apache2.0.40

2002-09-04 Thread Heligon Sandra
Yes, I found the problem. In fact I stopped Tomcat to place a new .war in the webbapps directory, then start again Tomcat in order to generate the mod_jk.conf-auto but I don't stop and start again Apache. So the httpd.conf was not updated. Thanks for your help. -Original Message- From:

Re: Tomcat running cgi?

2002-09-04 Thread Stephan Orme
In theory, yes. Go to the web.xml config file (/Library/WebServer/tomcat/conf/web.xml on my machine) and you will see commented out *2* sections dealing with CGI - you also have to rename a file. It's all detailed in the web.xml file. In practice, I haven't been able to get included CGI's to

virtualhost - tomcat4.1.9

2002-09-04 Thread Richard Chamberlain
Hello, I posted this earlier problem earlier in my migration post but I've got some more details so I thought I'd post them. To recap I'm trying to get a webapp (well a simple set of jsp pages) running in Tomcat in a virtualhost. The same set of files were all ok in resin. I'm using the admin

problems with browser cache

2002-09-04 Thread Christian J. Dechery
How can I prevent the broswer from using the cache when loading a JSP with a 100% certainty? I'm experiencing a reaaally weird cache problem... I have a page that includes items in table, and when an item is included it reloads itself so the new item can be shown, but sometimes the new

RE: problems with browser cache

2002-09-04 Thread Durham David Cntr 805CSS/SCBE
Try using response.setHeader(Cache-control, no-cache) and response.setHeader(expires, -1); That should work. -Original Message- From: Christian J. Dechery [mailto:[EMAIL PROTECTED]] Sent: Wednesday, September 04, 2002 9:28 AM To: [EMAIL PROTECTED] Subject: problems with browser

RE: Apache 2.0.40 + mod_jk + Tomcat 4.1.9 + Load Balancing

2002-09-04 Thread Milhomem, Marcus
I am having this problem on my apache startup can someone help me? Invalid command 'JkMount', perhaps mis-spelled or defined by a module not included in the server configuration I already check the name and the module and path are correct. Thank You -Original Message- From:

Invalid command JkMount (WAS: RE: Apache 2.0.40 + mod_jk + Tomcat 4.1.9 + Load Balancing)

2002-09-04 Thread Turner, John
What version of apache? What version of tomcat? What connector are you using? John Turner -Original Message- From: Milhomem, Marcus [mailto:[EMAIL PROTECTED]] Sent: Wednesday, September 04, 2002 10:18 AM To: Tomcat Users List Subject: RE: Apache 2.0.40 + mod_jk + Tomcat 4.1.9

Re: problems with browser cache

2002-09-04 Thread Tim Funk
Added a bogus parameter to the URL which guarantees a unique URL. ex: A HREF=foo.jsp?bogus=%System.currentTimeMillis()%Foo/A Christian J. Dechery wrote: How can I prevent the broswer from using the cache when loading a JSP with a 100% certainty? I'm experiencing a reaaally weird cache

RE: Invalid command JkMount (WAS: RE: Apache 2.0.40 + mod_jk + Tomcat 4.1.9 + Load Balancing)

2002-09-04 Thread Milhomem, Marcus
I am using the conector mod_jk, apache 1.3.20-60, tomcat 4.0.3 thank you -Original Message- From: Turner, John [mailto:[EMAIL PROTECTED]] Sent: Wednesday, September 04, 2002 7:47 AM To: 'Tomcat Users List' Subject: Invalid command JkMount (WAS: RE: Apache 2.0.40 + mod_jk + Tomcat 4.1.9

how to use Jasper

2002-09-04 Thread Peter Kerekes
I'd like to compile my JSP pages before putting on the server. Can you tell me how to use Jasper for this? thanks a lot. __ Do you want a free e-mail for life ? Get it at http://www.email.ro/ -- To unsubscribe, e-mail:

RE: Invalid command JkMount (WAS: RE: Apache 2.0.40 + mod_jk + To mcat 4.1.9 + Load Balancing)

2002-09-04 Thread Turner, John
Are you loading mod_jk.so in your httpd.conf? Which mod_jk are you using? Tomcat version doesn't matter with mod_jk, but Apache version does. John -Original Message- From: Milhomem, Marcus [mailto:[EMAIL PROTECTED]] Sent: Wednesday, September 04, 2002 11:04 AM To: Tomcat Users

RE: global.jsa - Struts

2002-09-04 Thread neal
Micael, You've mentioned Struts a couple of times and I admit I am curious. I did look into Struts but to be honost I wasn't all that impressed by what (I think) I saw. It seemed like it was just offering a lot of lightweight wrappers around the API. Case in point, the Cookie utility class

RE: how to use Jasper

2002-09-04 Thread Turner, John
You can use ant, with a call to jspc: http://jakarta.apache.org/ant/manual/OptionalTasks/jspc.html John -Original Message- From: Peter Kerekes [mailto:[EMAIL PROTECTED]] Sent: Wednesday, September 04, 2002 11:11 AM To: Tomcat Users List Subject: how to use Jasper I'd like to

RE: Invalid command JkMount (WAS: RE: Apache 2.0.40 + mod_jk + To mcat 4.1.9 + Load Balancing)

2002-09-04 Thread Milhomem, Marcus
I am using the mo_jk-3.3-ap13-eapi.so, I downloaded the binary. Thank You Marcus -Original Message- From: Turner, John [mailto:[EMAIL PROTECTED]] Sent: Wednesday, September 04, 2002 8:08 AM To: 'Tomcat Users List' Subject: RE: Invalid command JkMount (WAS: RE: Apache 2.0.40 + mod_jk +

RE: Invalid command JkMount (WAS: RE: Apache 2.0.40 + mod_jk + To mcat 4.1.9 + Load Balancing)

2002-09-04 Thread Turner, John
OK, this would go a lot quicker if you could be more forthcoming with specific information. Do you have a LoadModule line in httpd.conf? Can you post the relevant portions of your httpd.conf? John -Original Message- From: Milhomem, Marcus [mailto:[EMAIL PROTECTED]] Sent:

RE: global.jsa - Struts

2002-09-04 Thread micael
The point is not for you to use struts. The point is that struts employs a lot of things you say you want to learn about. Look at struts and you will see employed what you are tyring to understand, viz. how to initialize a servlet with web.xml at startup. If you think you can write a whole

RE: global.jsa - Struts

2002-09-04 Thread micael
I guess what I am saying is that if you don't know how to initialize a servlet with web.xml you are totally incapable of this point at assessing the value of struts or any other similar application, and I am suggesting struts ONLY so that you can look at it as an employment and example of the

RE: global.jsa - Struts

2002-09-04 Thread Felipe Schnack
My opinion about development: you really should use only tags in JSP, and never write java code in a jsp file. You should always separate design from implementation. About Struts: yeah, we need lots of taglibs to avoid writing Java code in JSP. So, taglibs for standard APIs are welcome. But

Re: RE: how to use Jasper

2002-09-04 Thread Peter Kerekes
thanks You can use ant, with a call to jspc: http://jakarta.apache.org/ant/manual/OptionalTasks/jspc.html John -Original Message- From: Peter Kerekes [mailto:[EMAIL PROTECTED]] Sent: Wednesday, September 04, 2002 11:11 AM To: Tomcat Users List Subject: how to use

Re: Apache 2.0.40 + mod_jk + Tomcat 4.1.9 + Load Balancing

2002-09-04 Thread TOMITA_ALEX_NONLILLY
I will appreciate it too. thanks.. Alex bwinders [EMAIL PROTECTED] 03/09/2002 07:41 p.m. Please respond to Tomcat Users List To: Tomcat Users List [EMAIL PROTECTED] cc: Subject:Re: Apache 2.0.40 + mod_jk + Tomcat 4.1.9 + Load Balancing I think

RE: Invalid command JkMount (WAS: RE: Apache 2.0.40 + mod_jk + To mcat 4.1.9 + Load Balancing)

2002-09-04 Thread Milhomem, Marcus
Ok, I think you are right, so here we go: Module Version: mod_jk-3.3-ap13-eapi.so (downloaded the binary) Apache Version: 1.3.20-60 Tomcat Version: 4.0.3 Httpd.conf: # Apache no longer needs to be started with '-D modules' switches (with # the exception of mod_ssl, which has a lot of

RE: mod_jk for Tomact 4.0.4/Apache 2.0

2002-09-04 Thread Manoj Kithany
Hi Kishore, THANKS for information! I installed m4 and all other tools(libtool, autoconf,,,) I also tried running ./buildconf.sh on which it created configure file. I also executed ./configure but when I execute make it shows following errors - wonder why?:

RE: Invalid command JkMount (WAS: RE: Apache 2.0.40 + mod_jk + To mcat 4.1.9 + Load Balancing)

2002-09-04 Thread Turner, John
OK, there you go. You are missing key parts of mod_jk configuration in httpd.conf (or you have them and didn't post them). - a JkMount directive needs AJP13 as the second parameter: JkMount /examples/*.jsp ajp13 (the syntax here is send this URL to this connector...your line says send

Re: error accessing a context-param from web.xml

2002-09-04 Thread Michael R. Schwab
Thanks ilis and jon, I'll take a look at JNDI. Michael On Wed, Sep 04, 2002 at 10:34:10AM +0100, jon wingfield wrote: The error you are getting is the JSP parser mistaking the data %= application.getInitParameter( as the value for the driver parameter of the sql:setDataSource tag. Then it

RE: global.jsa - Struts

2002-09-04 Thread neal
Good to know. Thanks for your thoughts on Struts. Yeah, I'll check out those taglibs in the Jakarta lirary taglibs. I already found some great functionality in their commons library. :) Yeah, for MVC implementation I was simply talking about a servelt that takes an action parameter to

Successful Integration of Tomcat/Apache 2 on Win32?

2002-09-04 Thread craig franke
Has anyone out there successfully integrated Tomcat 4.0.4 or Tomcat 4.1.9 with Apache 2.0.39 on a Win2K Server? So far when I try to restart Apache, I get the following error returned: Cannot load C:/Apache2/modules/mod_jk.dll into server: The specified module could not be found along with

RE: global.jsa - Struts

2002-09-04 Thread jeff . guttadauro
If you're looking for a very basic MVC implementation, you can use a small part of what Struts offers and be able to save the time you would spend writing your own. You do pretty much exactly what you wrote in your second paragraph. Set up your struts-config.xml file to define your actions and

RE: Successful Integration of Tomcat/Apache 2 on Win32?

2002-09-04 Thread Turner, John
Where did you get your mod_jk.dll? As far as I know, the mod_jk.dll file for 2.0.39 is not the same as the mod_jk.dll file for 2.0.40, hence you may be using the .40 DLL instead of the .39 DLL. Apache 2.0.39-40 and Tomcat 4.0.4 is a known-working configuration, according to previous posts on

RE: Successful Integration of Tomcat/Apache 2 on Win32?

2002-09-04 Thread craig franke
I tried using both http://jakarta.apache.org/builds/jakarta-tomcat-connectors/jk2/nightly/win32/mod_jk2.dll and http://jakarta.apache.org/builds/jakarta-tomcat/release/v3.3/bin/win32/i386/mod_jk.dll These were the only two copies of mod_jk that I could find in the build tree. Most of the

Apache Tomcat

2002-09-04 Thread Rui Fernandes
Why not to use Tomcat alone? What offers the integration of Apache with Tomcat for a pure Java/XML/HTML web site?

Re: global.jsa - Struts

2002-09-04 Thread Eddie Bush
Struts is *the* de-facto standard MVC framework. The problem is that there is a slight bit of initial learning curve, and it's hard to see the benefit until *after* you've used it (my opinion). You really should give it a go -- it's tons better than having to implement something analagous

RE: global.jsa - Struts

2002-09-04 Thread Felipe Schnack
Yes, actually I just pass to a servlet the name of the action and any extra parameters the specific action handler needs. On Wed, 2002-09-04 at 13:00, neal wrote: Good to know. Thanks for your thoughts on Struts. Yeah, I'll check out those taglibs in the Jakarta lirary taglibs. I already

RE: Successful Integration of Tomcat/Apache 2 on Win32?

2002-09-04 Thread Turner, John
OK. As far as I know, neither of those will work. I don't know about mod_jk2.dll, but that is not the same as mod_jk.dll, and the configuration is completely different. I doubt the other mod_jk.dll will work with Apache 2. I don't use Tomcat on Windows myself, but from previous traffic on

Re: global.jsa - Struts

2002-09-04 Thread Eddie Bush
neal wrote: Micael, You've mentioned Struts a couple of times and I admit I am curious. I did look into Struts but to be honost I wasn't all that impressed by what (I think) I saw. It seemed like it was just offering a lot of lightweight wrappers around the API. Case in point, the Cookie

RE: Apache Tomcat

2002-09-04 Thread Turner, John
Nothing. Tomcat is great at what it does. Apache is great at what it does. Some people have situations that require both, for various reasons. Maybe there is an existing site, and dynamic content via Tomcat is a retrofit. Maybe their application has a large amount of static content (an

Tomcat 4.1.9: URL behavior

2002-09-04 Thread grenoml
If I type in a URL such as: http://localhost:8080/cocoon/samples I receive a Resource Not Found error. But, if I type in the URL like this: http://localhost:8080/cocoon/samples/ with a slash at the end it finds the page properly. Why is this? It doesn't do it for all URL's. It's

Re: apache tomcat response

2002-09-04 Thread R_Kannan
- Forwarded by R Kannan/TMs/TCSMUMBAI/TCS on 09/04/02 05:17 PM - John Turner

Configuring Tomcat 3.2.4 for use with a SecurityManager

2002-09-04 Thread defender
All, Is it just add the -security option in startup batch file? And if I want people can only access the webapps/joe/examples folder which come from port 8080 and webapps/joe/examples folder which come from port 8443, is it just like showed as below? grant codeBase

[mod_jk, autogen and additional parameters]

2002-09-04 Thread Thorsten Huber
Hi again, sorry, forgot formatting: - Forwarded message from Thorsten Huber [EMAIL PROTECTED] - Hi, I'm running Apache 1.3.26 and Tomcat 4.0.4 with mod_jk and autogenerating of mod_jk.conf enabled. So far it works. Now I have to put some additional parameters like ServerAdmin or

mod_jk, autogen and additional parameters

2002-09-04 Thread Thorsten Huber
Hi, I'm running Apache 1.3.26 and Tomcat 4.0.4 with mod_jk and autogenerating of mod_jk.conf enabled. So far it works. Now I have to put some additional parameters like ServerAdmin or DirectoryIndex to the VirtualHost section of mod_jk.conf. Is there a way to set such parameters in the

RE: specify session timeout

2002-09-04 Thread Chakradhar Tallam
u can specify it in web.xml like... !-- Session Configuration -- session-config session-timeout20/session-timeout /session-config hope that helps. -Original Message- From: randie ursal [mailto:[EMAIL PROTECTED]] Sent: Wednesday, 4 September 2002 12:12 PM To: Tomcat

RE: mod_jk, autogen and additional parameters

2002-09-04 Thread Turner, John
Hmmm...excellent question. You could use the append parameter in your Listener element to append to another file instead of overwriting it. You could put the Apache directives that Tomcat doesn't auto-generate into the first file, and let Tomcat's auto-generated file be appended to it. I've

Re: Errors for building mod_jk

2002-09-04 Thread Peter T. Abplanalp
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Wed, Sep 04, 2002 at 04:46:39PM +, Manoj Kithany wrote: please do not cross-post to tomcat-user and tomcat-dev although i can see how you might think this problem could be posted to both. i would suggest you try tomcat-user first and then

Tomcat service -- it won't start

2002-09-04 Thread Pearsall, Kyle
I attempted to start Apache Tomcat 4.0.4 from the services panel in Windows. But a message came up... The Apache Tomcat service on Local Computer started and then stopped. Some services stop automatically if they have no work to do, for example, the Performance Logs and Alerts service. I

Re: General HTML/jsp question, any one

2002-09-04 Thread garrett smith
To convert the string to xml compliant string, you could use a custom tag to convert to quot;, to lt;, et c. instead of having an input tag, you could have a custom tag such as filtered-input. This custom tag would replace with quot; You could try to use single-quotes for attributes, but

Tomcat and SSL

2002-09-04 Thread Reis, Tom
Trying to incorporate SSL into Tomcat 4.04. I have it working but my question concerns configuring the web.xml for a particular web application. I know to use the auth-method as CLIENT-CERT but I am uncertain as what to put in the web-resource-collection. I should say I am very confused.

RE: General HTML/jsp question, any one

2002-09-04 Thread Rui Fernandes
I think you are generating you html by concatenation of strings or so. If you generate it as you should (as if it was a XML DOM object, to be serialized after) this would not happen. - Original Message - From: garrett smith [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent:

Errors for building mod_jk

2002-09-04 Thread Manoj Kithany
Hi Experts, Greetings! I am using APache(1.3) and Tomcat (4.0.4) on IBM AIX (5.1) System. I am havin high time in integrating APache and Tomcat. Binary mod_jk is NOT available for IBM AIX System - so I try to build it using following procedure but get ERRORS. I tried to execute

  1   2   >