Admin and Manager applications don't work with modified CATALINA_BASE and startup.sh -security

2004-11-30 Thread David Crecente
Hi all, I have problems to run jakarta-tomcat-4.1.31 with CATALINA_BASE other than CATALINA_HOME using security. I use startup.sh -security. My CATALINA_HOME is /iobox/Sw_comercial/Tomcat/jakarta-tomcat-4.1.31 My CATALINA_BASE is /iobox/servicios/desarrollo/mms My admin.xml is

Re: JK/JK2 connector className?

2004-11-30 Thread Nikola Milutinovic
Thomas Charles Robinson wrote: !-- Define a Coyote/JK2 AJP 1.3 Connector on port 8009 -- Connector className=org.apache.coyote.tomcat4.CoyoteConnector port=8009 minProcessors=5 maxProcessors=75 enableLookups=true redirectPort=8443 acceptCount=10 debug=100

RE: jdbc via ResourceLink in context.xml not working in 5.5.4

2004-11-30 Thread Allistair Crossley
Hi Jeff, If everything is setup the exact way it was ni 5.0.28 that will be your problem. There is a slightly new format for how to define your datasources that looks like this. Resource name=jdbc/EmployeeDB auth=Container type=javax.sql.DataSource username=dbusername

Problems with datasource/DB Connection

2004-11-30 Thread bEn Fries
Hi! I tried to install jUDDI on my Tomcat some weird error appeared as the jUDDY Happyness page showed: + Got a JNDI Context! + Got a JDBC DataSource (dsname=java:comp/env/jdbc/juddiDB) - DB connection was not aquired. (Cannot load JDBC driver class 'org.gjt.mm.mysql.Driver') - SELECT COUNT(*)

RE: Problems with datasource/DB Connection

2004-11-30 Thread Allistair Crossley
Can you supply Tomcat version. Also, have you put your mySQL drivers JAR into tomcat/common/lib? Cheers, Allistair -Original Message- From: bEn Fries [mailto:[EMAIL PROTECTED] Sent: 30 November 2004 09:26 To: [EMAIL PROTECTED] Subject: Problems with datasource/DB Connection

Re: Problems with datasource/DB Connection

2004-11-30 Thread bEn Fries
Hi! My tomcat version is Apache Tomcat/5.0.28, I haven't put any drivers in to tomcat/common/lib as I used a tomcat ready WAMP installation and as I had a look into the directory there were no file that would remind me of databases in general or mysql. So I searched the internet a bit and

Re: Strange Authentication Behavior

2004-11-30 Thread Nikola Milutinovic
Peter Neu wrote: Hello all, does anyone know what I means when I get this error message: The requested resource (/favicon.ico) is not available. when I try to log in via form authentication. This error occurs when I use Firefox. /favicon.ico is a semi-supported feature, introduced by IE5, if I'm

RE: Runtime.exec security issue?

2004-11-30 Thread andy wix
Any further thoughts on this issue? There must be some reason why this won't run under Tomcat but does work stand-alone. To recap, I am trying to execute the following code on an Xp box with Tomcat 5.0.27: Process proc = runtime.exec(cmd.exe /C shutdown -r -f -m \\myPC -t 50); int exitVal =

RE: Tomcat Requirements?

2004-11-30 Thread Peter Crowther
From: Chris Cherrett [mailto:[EMAIL PROTECTED] I have a client who is claiming that my software is slowing down. I cannot determine why this would be. Profile it - what's slow? Start Admin ToolsPerformance, add: Processor%CPU time MemoryPages/sec Physical DiskAvg Disk Queue Length Are you

Re: Tomcat Requirements?

2004-11-30 Thread Chris Cherrett
Thank you for the suggestions. I had the client do just that this afternoon. Tomcat averaged 15% CPU Mysql spiked the CPU usage to 100% when hit with long queries. Would this be an indication of the need for RAM, or the need for a faster CPU? They are running 360MB of RAM. P3 450 Thanks On

[OT] RE: Tomcat Requirements?

2004-11-30 Thread Peter Crowther
[I'm marking this OT as it's looking increasingly like a database issue] From: Chris Cherrett [mailto:[EMAIL PROTECTED] Tomcat averaged 15% CPU Mysql spiked the CPU usage to 100% when hit with long queries. Bloody. Would you expect that to be the case? Naively, I'd be looking at my

Re: [OT] RE: Tomcat Requirements?

2004-11-30 Thread Quinton Delpeche
On Tuesday 30 November 2004 12:42, Peter Crowther wrote: Bloody. Would you expect that to be the case? Naively, I'd be looking at my database indexing at this point and seeing what was causing mySQL to have problems. I had a similar problem with PostgresQL. Created some indexes and now the

Re: [OT] RE: Tomcat Requirements?

2004-11-30 Thread Chris Cherrett
The queries are very complex in this case. I will look into indexing and see what I can do. Thanks for the help. I will post back to tell you what I come up with. Thanks On November 30, 2004 03:46 am, Quinton Delpeche wrote: On Tuesday 30 November 2004 12:42, Peter Crowther wrote: Bloody.

RE: [OT] RE: Tomcat Requirements?

2004-11-30 Thread Peter Crowther
From: Chris Cherrett [mailto:[EMAIL PROTECTED] The queries are very complex in this case. I will look into indexing and see what I can do. Thanks for the help. I will post back to tell you what I come up with. Best of luck! I find that capturing a workload and replaying it is the only

RE: Problems with datasource/DB Connection

2004-11-30 Thread Allistair Crossley
No, I meant the drivers for mySQL, the database you are trying to connect Tomcat to. You seem to have the right name of the driver, e.g J 3.0 but you have the wrong JARS. You are looking for mysql-connector-java-3.0.16-ga.zip from here. http://dev.mysql.com/downloads/connector/j/3.0.html

JK2 and 404 HTTP Error

2004-11-30 Thread Boulay Arnaud
Title: Tomcat in Cluster Tomcat cluster and LBissue. Says that I have apache HTTP + 2 Tomcats Workers.Each worker is defined in the same lb group and manage the same webapp.- It works fine in optimal context (2 Tomcat + Apache run).- It works fine in 1 tomcat crash.But

Re: Admin and Manager applications don't work with modified CATALINA_BASE and startup.sh -security

2004-11-30 Thread Andoni
Your problem is this one line: java.security.AccessControlException: access denied (java.io.FilePermission /iobox/servicios/desarrollo/mms/webapps/admin/WEB-INF/lib/struts.jar read) Forget about all the rest. You have put the following into catalina.policy: catalina.policy in

Re: Tomcat Requirements?

2004-11-30 Thread Ronald Klop
Is the system using swap? You should tune the java app (Tomcat) to not use more memory than is available without swapping. Ronald. On Mon Nov 29 20:43:07 CET 2004 Chris Cherrett [EMAIL PROTECTED] wrote: I have a client who is claiming that my software is slowing down. I cannot determine why this

Re: org.apache.catalina.connector.Request

2004-11-30 Thread Tim Funk
In the cvs browser, you can view by a specific tag. From there you can easily determine which revision is associated with which version. Next - it will probably be much easier to not use container based authentication based on your requirements. Servlet Filters would probably be much easier.

Reloading context through Code

2004-11-30 Thread Satish Plakote
hi Is is possible to reload the tomcat Context through the Code. rgds Satish - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Tomcat Requirements?

2004-11-30 Thread Tim Funk
When Mysql is at 100%, you go to the Mysql list and ask for help.;) A database at 100% could be any number of reasons: 1) A bad join 2) An inefficient query 3) Not enough memory on the server 4) Not enough memory for Mysql 5) Lack of indexes or poor index choices 6) ... Get a second machine.

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

2004-11-30 Thread Paulo Alvim
Thanks for your answer, Mark... I'm sorry...I was talking about JNDIRealm. We use it to authenticate to ActiveDirectory with the configuration bellow (names changed): Realm className=org.apache.catalina.realm.JNDIRealm debug=0 connectionURL=ldap://plcbhdc:389;

Re: Problems with datasource/DB Connection

2004-11-30 Thread bEn Fries
Thanx! It's finally working! I can't bellieve that I have been so dumb that I missed that jar Thank you very much man! You saved ..errr.. maybe not my life but definatly my master thesis ;-) Ben Allistair Crossley schrieb: No, I meant the drivers for mySQL, the database you are trying to

Re: Tomcat Requirements?

2004-11-30 Thread Peter Lin
which another good reason to put the database on separate box. by isolating tomcat and mysql, you can run tests on each. then you can test the setup together and see what you get. that's how I generally test my applications. peter On Tue, 30 Nov 2004 07:05:59 -0500, Tim Funk [EMAIL PROTECTED]

RE: Problems with datasource/DB Connection

2004-11-30 Thread Allistair Crossley
np. good luck with that :) -Original Message- From: bEn Fries [mailto:[EMAIL PROTECTED] Sent: 30 November 2004 12:26 To: Tomcat Users List Subject: Re: Problems with datasource/DB Connection Thanx! It's finally working! I can't bellieve that I have been so dumb that I missed

Re: Form Authentication Trouble with Firefox

2004-11-30 Thread Peter Neu
Hi Bob, I looked through the source of AuthenticatorBase but could not find the checkUserData method. It seems the whole thing has changed to some degree in the last few releases. Seems like I can't serve any Firefox clients. Regards, Peter Bob Feretich schrieb: I have not examined Tomcat 5. My

RE : Problems with datasource/DB Connection

2004-11-30 Thread VAN DER MARLIERE FREDERIC
Hi, I guess you downloaded the archive file mysql-connector-java-3.0.16-ga.zip and unzipped it on your hard drive. So go to the directory mysql-connector-java-3.0.16-ga and you'll find the archive mysql-connector-java-3.0.16-ga-bin.jar, which contains the driver class you want to use. Note that

Mime type not set for welcome files

2004-11-30 Thread Jerome Louvel
I have a web app with the following configuration: mime-mapping extensionxhtml/extension mime-typeapplication/xhtml+xml/mime-type /mime-mapping welcome-file-list welcome-fileindex.xhtml/welcome-file /welcome-file-list When I request http://myserver/index.xhtml I

Re: compiling mod_proxy_ajp

2004-11-30 Thread Elihu Smails
Well, here is the error that I get... /home/markw/code/apache21/httpd-trunk/srclib/apr/libtool --silent --mode=link gcc -g -O2 -pthread -L/home/markw/openssl/lib -o httpd modules.lo -export-dynamic server/libmain.la modules/aaa/libmod_authn_file.la modules/aaa/libmod_authn_default.la

RE: jdbc via ResourceLink in context.xml not working in 5.5.4

2004-11-30 Thread Shapira, Yoav
Hi, If your resource is setup just like 5.0.28, it'll fail. There are no more nested parameter elements, instead they are attributes of the Resource element. Please consult the Tomcat 5.5 documentation for details and examples. Yoav Shapira http://www.yoavshapira.com -Original

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

2004-11-30 Thread Shapira, Yoav
Hi, I heard that Sun JDK can redistributed for commercial use with no changes. You heard? ;) Can you please point to an official confirmation of this? Is lisence reason not that unable to redestribute full JDK but also that unable(or difficult) to extract part of JDK ? No. Only the

Re: Need a working example of Tomcat 5 clustering

2004-11-30 Thread Filip Hanik - Dev
use Pen as a load balancer instead siag.nu/pen Filip - Original Message - From: Steve Burns [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Monday, November 29, 2004 12:28 PM Subject: Need a working example of Tomcat 5 clustering Has anyone gotten clustering to work? In an example I

RE: can't find javac tomcat 5.0.30 jdk1.5.0

2004-11-30 Thread Shapira, Yoav
Hi, The 5.0.30 fix is simple and should not have to do with this problem. I'm compiling JSPs fine using 5.0.30 on Solaris 8, with both JDK 1.4.2 and 5.0. Where is your JAVA_HOME set? Yoav Shapira http://www.yoavshapira.com -Original Message- From: D. Stimits [mailto:[EMAIL PROTECTED]

RE: What Connector Should I Use?

2004-11-30 Thread Shapira, Yoav
Hi, The 4.1 docs, like the 4.1 release, are old. The note in those docs is now wrong (though it was correct for a while, and certainly when posted). Consult the new connector docs at http://jakarta.apache.org/tomcat/connectors-doc. Yoav Shapira http://www.yoavshapira.com -Original

Re: compiling mod_proxy_ajp

2004-11-30 Thread Mladen Turk
Elihu Smails wrote: Well, here is the error that I get... My configure line is as follows: ./configure --prefix=/opt/apache --with-ssl=/home/markw/openssl --with-mpm=worker --enable-so --enable-proxy-ajp --enable-ssl --disable-cgi --disable-cgid --disable-autoindex --disable-auth --disable-access

RE: Reloading context through Code

2004-11-30 Thread Shapira, Yoav
Hi, Yes, it's possible. You walk down the container hierarchy of the org.apache.catalina classes, starting with the factory like ServerFactory.getServer, then Service, Engine, Host, etc, and call the stop/start methods as needed. Yoav Shapira http://www.yoavshapira.com -Original

UTF-8 Encoding in Jsp

2004-11-30 Thread Arnab Chakravarty
Hi all, I need to make my all jsp files compatible with UTF-8 Encoding and even though I am using the directives: %@ page pageEncoding=UTF-8% %@ page contentType = text/html;charset=UTF-8% in the jsp files, cannot make it work. Using tomcat version 5. Is there any config changes I need to make

RE: subdomain withour restart

2004-11-30 Thread Shapira, Yoav
Hi, At this point, not without restarting Tomcat. There's not much of a difference between top-level and second-level domains from this perspective. Yoav Shapira http://www.yoavshapira.com -Original Message- From: Fedor Smirnoff [mailto:[EMAIL PROTECTED] Sent: Monday, November 29,

Tomcat and chkrootkit

2004-11-30 Thread Nick Goupinets
Hi everybody, I tried checking my system (Slackware 9.1) with chkrootkit. The check generated the following: Checking `lkm'... You have 106 process hidden for ps command Warning: Possible LKM Trojan installed When running the detailed search for LKM modules, chkrootkit reported a whole bunch

Re: Reloading context through Code

2004-11-30 Thread Tim Funk
Or as a shortcut, look at the Manager webapp and see what it does to reload a Context. -Tim Shapira, Yoav wrote: Hi, Yes, it's possible. You walk down the container hierarchy of the org.apache.catalina classes, starting with the factory like ServerFactory.getServer, then Service, Engine, Host,

RE: Tomcat 5 and win2000l...

2004-11-30 Thread Shapira, Yoav
Hi, For Tomcat 5.0, JDK 1.3 is supported, including on Windows 2000. The behavior you're seeing is normal: the startup window launches tomcat and then goes away. If you'd like it to stick around, run catalina.bat run instead of startup.bat. Yoav Shapira http://www.yoavshapira.com

RE: Tomcat and chkrootkit

2004-11-30 Thread Shapira, Yoav
Hi, For the Tomcat ones, these are threads that are mistakenly reported as processes by the ps (and other, such as top) commands. It's really one JVM process with many threads. This is expected and normal. For MySQL, the situation might be the same but I'm not sure, so hopefully others can

Referencing a resource from another resource

2004-11-30 Thread Alexandre Borgoltz
Hi, I wrote my own resource (with its factory) and would like it to use another resource defined in the same GlobalNamingResources/ (in this case, a datasource). But I can't seem to do it since at resource loading time, the context is not yet available! What should I do? Alexandre BORGOLTZ Head

RE: Error Preventing upgrade to Tomcat 5

2004-11-30 Thread Phillip Qin
I thought it is a nice feature of Tomcat 5 since it hides the index.jsp from http://localhost/index.jsp so that =the main link becomes http://localhost. -Original Message- From: Chris Cherrett [mailto:[EMAIL PROTECTED] Sent: November 29, 2004 8:30 PM To: Tomcat Users List Subject: Re:

Re: Error Preventing upgrade to Tomcat 5

2004-11-30 Thread karjera
Laba diena. Dkojame, kad mums parate. Js atsista inut isaugota ms duomen bazje. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Ordering loading order of webapps

2004-11-30 Thread Alexandre Borgoltz
Hi all, I know in 4.1 there no way to specify the order the webapps get loaded (I would like a webapp to be started before the others). I even had to write a small patch to allow a order= attribute in Context/ + accurate sorting. I also know this was not specifed in the spec. BUT, is there a

RE: Ordering loading order of webapps

2004-11-30 Thread Shapira, Yoav
Hi, No, there's no way to do it in 5.x either. It's fragile design. If you want it, implement a patch yourself as you've done for 4.x. Yoav Shapira http://www.yoavshapira.com -Original Message- From: Alexandre Borgoltz [mailto:[EMAIL PROTECTED] Sent: Tuesday, November 30, 2004 9:44

RE: org.apache.catalina.connector.Request

2004-11-30 Thread Anderson, M. Paul
I am creating a custom realm because I want to take advantage of Tomcat's implementation to prevent users from accessing some directories. The only real addition I'm adding to the realm is storing passwords using a salted hashing scheme so I'm only overriding the authenticate method although I'd

Re: Ordering loading order of webapps

2004-11-30 Thread Alexandre Borgoltz
Sad. It's fragile design What do you mean? implement a patch yourself as you've done for 4.x I could, but this is so ugly. And the patch is version-dependent. Instead, I'm trying to implement the common part (that the webapps depend on and that thus needs to be loaded first) as a resource and

RE: org.apache.catalina.connector.Request

2004-11-30 Thread Shapira, Yoav
Hi, Much of the Tomcat 4.x code is in the CVS module jakarta-tomcat-4.0. The jakarta-tomcat-catalina, jakarta-tomcat-jasper, etc were separated out for Tomcat 5.0. It's kind of interesting how you've chosen to spend all this time doing development work on an old branch. Yoav Shapira

RE: Ordering loading order of webapps

2004-11-30 Thread Shapira, Yoav
Hi, It's fragile design What do you mean? It's fragile because it's not portable. Other containers of the present and future won't support this feature because it's not in the Spec. The Spec won't have this feature because it encourages coupling of web applications, which are supposed to be

RE: org.apache.catalina.connector.Request

2004-11-30 Thread Anderson, M. Paul
I've been on and off this topic for the last couple of months and have just gotten back to it. I also didn't realize there were significant differences between Tomcat 4 and 5 until recently. It's all been worth the experience of learning a little about how Tomcat works and should make it easier

Re: compiling mod_proxy_ajp

2004-11-30 Thread Elihu Smails
Thanksthat worked !! You will have to add --enable-proxy to configure. I also suggest that you add --enable-proxy-http and --enable-proxy-balancer too. MT. - To unsubscribe, e-mail: [EMAIL PROTECTED] For

Re: compiling mod_proxy_ajp

2004-11-30 Thread Remy Maucherat
On Tue, 30 Nov 2004 15:25:43 +0100, Mladen Turk [EMAIL PROTECTED] wrote: Elihu Smails wrote: You will have to add --enable-proxy to configure. I also suggest that you add --enable-proxy-http and --enable-proxy-balancer too. Too many flags ;) Can you lobby to have them enabled by default,

RE: locale-encoding-mapping not working?

2004-11-30 Thread Shapira, Yoav
Hi, pdf , I get the impression that this should be doable for my entire web-app via the web.xml, i.e. its locale-encoding-mapping attributes. I tried this in many variants (details in http://issues.apache.org/bugzilla/show_bug.cgi?id=32296), but with no success. Reading the mailing-list, it

Re: compiling mod_proxy_ajp

2004-11-30 Thread Mladen Turk
Remy Maucherat wrote: On Tue, 30 Nov 2004 15:25:43 +0100, Mladen Turk [EMAIL PROTECTED] wrote: Elihu Smails wrote: You will have to add --enable-proxy to configure. I also suggest that you add --enable-proxy-http and --enable-proxy-balancer too. Too many flags ;) Can you lobby to have them

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

2004-11-30 Thread dawg fan
Thanks for the response! Actually these were fresh reloads. Are you running the same tomcat 5, apache2 versions that I am? -joe - Original Message - From: Quinton Delpeche [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: Re: suse 9.1, tomcat5.0.27, mod_jk2, apache 2.0.13 problems

Removing a webapp that crashed on startup?

2004-11-30 Thread Michael Schuerig
During development I sometimes have the case that my webapp crashes on startup. If that happens, I stop Tomcat, remove from CATALINA_BASE everything that's related to my app, and start Tomcat again. Simply removing the rogue app from the Manager doesn't work, it raises an exception:

Re: Ordering loading order of webapps

2004-11-30 Thread Alexandre Borgoltz
Any patch would be container-specific, which is even worse than version-dependent. I agree patching is not a good solution. And I also agree webapps should not depend on each others. More, I already am using a home-made framework handling dependencies between the components of my application.

RE: Removing a webapp that crashed on startup?

2004-11-30 Thread Shapira, Yoav
Hi, What manager command are you trying? The manager's stop command is not the one to use here, since as it says the context was never started. But depending on when in the startup the context crashed, the manager's undeploy command might be useful to you. Yoav Shapira

RE: Ordering loading order of webapps

2004-11-30 Thread Shapira, Yoav
Hi, the components of my application. Thus I'm not sure Tapestry would help -I'll have a closer look at it anyway. I didn't mean Tapestry, I meant HiveMind. My bad. *Order of load for Resources can be configured in tomcat? how? Cannot be configured. I didn't mean to imply otherwise, and I

Re: [ANN] Jakarta Tomcat Connectors 1.2.7-beta released

2004-11-30 Thread David Boyer
Cool! I'm anxious to try the wildchar uri matching. the regular expressions I'm using with JK2 aren't very complex, so this looks like it will do the trick. [EMAIL PROTECTED] 11/30/2004 9:24:44 AM The Apache Jakarta Tomcat team is proud to announce the immediate availability of Jakarta

Re: [HttpSession creation: When How]

2004-11-30 Thread Carlos Cajina
Good morning. Thanks a lot for the shared thoughts and ideas about HttpSession management. Last night I decided to give the Servlet Spec a second try and here's what I think is relevant to this topic: - A session is considered new untils a client joins it [calls to HttpSession.isNew() return

Re: UTF-8 Encoding in Jsp

2004-11-30 Thread Andoni
Hello, First and foremost I would say: be absolutely sure that it is the JSP's fault. I hope you are not getting some data from a database and trying to show it? Be sure that your editor is saving the JSP in UTF-8 format. Add the flag: -Dfile.encoding=UTF-8 to the CATALINA_OPTS environment

Re: Ordering loading order of webapps

2004-11-30 Thread Alexandre Borgoltz
To have resources talk to each other, one way would be via your own resource factory, which Tomcat does let you do quite easily. This is exactly what I am doing... But my factory cannot reach other resources (nothing available yet in the InitialContext...) :(( Thank you anyway. Alexandre

Re: Delivering JSPs without source

2004-11-30 Thread Steve Procter
Sorry if this wasn't clear; the source code is not delivered. It is the compiled jsp files which are placed into the jar file. --Steven Quinton Delpeche wrote: On Tuesday 30 November 2004 01:32, Steve Procter wrote: We have a web application that uses jsps. We want to deliver the application

Re: Delivering JSPs without source

2004-11-30 Thread Steve Procter
Authentication uses a database to store user information, and the database is accessed via an object mapping package. --Steven parviz wrote: I'm a little confused as to what you mean by object repository. You have your Realm in common/lib which is fine. All the other Realm(jdbc,jndi...) exist in

Re: compiling mod_proxy_ajp

2004-11-30 Thread Mladen Turk
Remy Maucherat wrote: On Tue, 30 Nov 2004 15:25:43 +0100, Mladen Turk [EMAIL PROTECTED] wrote: Elihu Smails wrote: You will have to add --enable-proxy to configure. I also suggest that you add --enable-proxy-http and --enable-proxy-balancer too. Too many flags ;) Actually one only needs to use:

Re: Delivering JSPs without source

2004-11-30 Thread sven morales
Hi, If I understood your issue, you have some required jars installed at tomcatX/server/lib because of some reason you can not have it at yourapp/WEB-INF/lib? And your issue is this is not accessable from your apps, which seems to be the correct behaviour per the:

Re: compiling mod_proxy_ajp

2004-11-30 Thread Elihu Smails
2 questions... 1. Is there anything that must be configured in Apache to get Apache to talk to Tomcat? 2. Is mod_proxy_ftp required for mod_proxy_ajp ? Thank you. --- Mladen Turk [EMAIL PROTECTED] wrote: Remy Maucherat wrote: On Tue, 30 Nov 2004 15:25:43 +0100, Mladen Turk [EMAIL

Re: compiling mod_proxy_ajp

2004-11-30 Thread Mladen Turk
Elihu Smails wrote: 2 questions... 1. Is there anything that must be configured in Apache to get Apache to talk to Tomcat? ProxyPass /servlets-examples ajp://localhost:8009/servlets-examples ProxyPassReverse /servlets-examples ajp://localhost:8009/servlets-examples Just like http proxy :). Or..

Re: compiling mod_proxy_ajp

2004-11-30 Thread Remy Maucherat
On Tue, 30 Nov 2004 19:55:21 +0100, Mladen Turk [EMAIL PROTECTED] wrote: Elihu Smails wrote: 2 questions... 1. Is there anything that must be configured in Apache to get Apache to talk to Tomcat? ProxyPass /servlets-examples ajp://localhost:8009/servlets-examples ProxyPassReverse

Mod_jk and upgrading jdk

2004-11-30 Thread Martin Whelan
Hi All, I am running Apache/1.3.23 along with Tomcat 4.1.12 and jdk 1.3.1_04 Can I reliably upgrade the jdk to 1.4 without having to recompile mod_jk? The OS is Redhat 7.2. Because it is a LIVE server I'd prefer not to get it wrong, I can do without the phonecalls from worried clients. thanks

Re: compiling mod_proxy_ajp

2004-11-30 Thread Mladen Turk
Remy Maucherat wrote: On Tue, 30 Nov 2004 19:55:21 +0100, Mladen Turk [EMAIL PROTECTED] wrote: Elihu Smails wrote: 2 questions... 1. Is there anything that must be configured in Apache to get Apache to talk to Tomcat? ProxyPass /servlets-examples ajp://localhost:8009/servlets-examples

Re: compiling mod_proxy_ajp

2004-11-30 Thread Mladen Turk
Remy Maucherat wrote: Great :) Questions ! :) - Max: Max number of concurrent requests ? - You don't need ProxyPass in this case ? - What are the sticky names which should be used for sessions ? Also: location /balancer-manager SetHandler balancer-manager Order deny,allow Allow from

Re: Mod_jk and upgrading jdk

2004-11-30 Thread Mark Lowe
It should be fine. mod_jk is a native library, if you leaving apache alone then this wont effect the jk module. tomcat 4.1 should run fine with 1.4 Mark On Tue, 30 Nov 2004 19:15:35 +, Martin Whelan [EMAIL PROTECTED] wrote: Hi All, I am running Apache/1.3.23 along with Tomcat 4.1.12

Re: Mod_jk and upgrading jdk

2004-11-30 Thread Martin Whelan
Mark, Thanks for that. I was put off initially by some possible parameters which specified the path to some java includes when building it. Martin Mark Lowe wrote: It should be fine. mod_jk is a native library, if you leaving apache alone then this wont effect the jk module. tomcat 4.1 should

Re: can't find javac tomcat 5.0.30 jdk1.5.0

2004-11-30 Thread D. Stimits
Shapira, Yoav wrote: Hi, The 5.0.30 fix is simple and should not have to do with this problem. I'm compiling JSPs fine using 5.0.30 on Solaris 8, with both JDK 1.4.2 and 5.0. Where is your JAVA_HOME set? The jdk is in /opt/jdk1.5.0/, and the JAVA_HOME is set to /opt/jdk1.5.0. All other java

RE: can't find javac tomcat 5.0.30 jdk1.5.0

2004-11-30 Thread Shapira, Yoav
Hi, Try to set JAVA_HOME and CATALINA_HOME explicitly in your $CATALINA_HOME/bin/catalina.sh file, to see if that makes a difference. Yoav Shapira http://www.yoavshapira.com -Original Message- From: D. Stimits [mailto:[EMAIL PROTECTED] Sent: Tuesday, November 30, 2004 3:09 PM To:

Re: Mod_jk and upgrading jdk

2004-11-30 Thread Mark Lowe
Yeah I know you can compile with the jni stuff, I never have. In fact you might want to check that out first , if you use jni library for starting tomcat up with apache. If you don't use this mod_jk should be fine. I've never got those building with java options works and have had to use the

Re: Error Preventing upgrade to Tomcat 5

2004-11-30 Thread Jeanfrancois Arcand
Chris Cherrett wrote: I have found a work around. It would require that we werite our jsps. If I pass this to my controller it crashes in Tomcat 5 document.frmGeneral.taskService.value = /; This works document.frmGeneral.taskService.value = ; Does this help? Yes. I will still fix the problem (bad

Re: Removing a webapp that crashed on startup?

2004-11-30 Thread Michael Schuerig
On Tuesday 30 November 2004 17:09, Shapira, Yoav wrote: What manager command are you trying? The manager's stop command is not the one to use here, since as it says the context was never started. But depending on when in the startup the context crashed, the manager's undeploy command might

Re: can't find javac tomcat 5.0.30 jdk1.5.0

2004-11-30 Thread D. Stimits
Shapira, Yoav wrote: Hi, The 5.0.30 fix is simple and should not have to do with this problem. I'm compiling JSPs fine using 5.0.30 on Solaris 8, with both JDK 1.4.2 and 5.0. Where is your JAVA_HOME set? The logs say it cannot find (linux fedora core 2, jdk1.5.0) in /opt/jdk1.5.0/bin/javac.

Re: compiling mod_proxy_ajp

2004-11-30 Thread Elihu Smails
Cool, I don't quite have Apache and Tomcat talking, but I think I am close. My next question. I have Apache communicating with the browser via dual SSL. Now the channel between Apache and Tomcat must be SSL so that Tomcat can get the client cert. What must be done to the mod_proxy_ajp in order

Note on Tomcat 5.0.30's admin webapp

2004-11-30 Thread Shapira, Yoav
Hi, I inadvertently introduced a bug into Tomcat 5.0.30's admin webapp: http://issues.apache.org/bugzilla/show_bug.cgi?id=32445. Thankfully, this bug is easily addressed without any code changes. You only need a small fix to the struts-config.xml file as explained in the bug report. Amy's

Re: can't find javac tomcat 5.0.30 jdk1.5.0

2004-11-30 Thread D. Stimits
Shapira, Yoav wrote: Hi, Try to set JAVA_HOME and CATALINA_HOME explicitly in your $CATALINA_HOME/bin/catalina.sh file, to see if that makes a difference. This was one of the first things I tried. I explicitly set JAVA_HOME and CATALINA_HOME as a test. It is looking for javac in

Re: compiling mod_proxy_ajp

2004-11-30 Thread Elihu Smails
got it. I put the proxy directives in the SSL virtual host. --- Elihu Smails [EMAIL PROTECTED] wrote: Cool, I don't quite have Apache and Tomcat talking, but I think I am close. My next question. I have Apache communicating with the browser via dual SSL. Now the channel between Apache

Re: Removing a webapp that crashed on startup?

2004-11-30 Thread Chris Cherrett
It sounds like it is referencing the complied version of the code in the tomcat/work/Catalina/localhost folder. I would delete your app folder from within this structure and see if it goes away. There is no danger in deleting these files as tomcat will recreate them when needed. I hope this

What's the defaukt Admin user id/password

2004-11-30 Thread Venkat Radha Venkataramanan
Hello: Can somebody tell me what the default admin user id/password is? Thanks. VENKAT RADHA VENKATARAMANANPhone: 1-201-358-0001 324 St. Mary Street Hillsdale, NJ 07642 [EMAIL PROTECTED]

RE: What's the defaukt Admin user id/password

2004-11-30 Thread Shapira, Yoav
Hi, RTFM: http://jakarta.apache.org/tomcat/tomcat-5.0-doc/manager-howto.html#Confi guring%20Manager%20Application%20Access. Yoav Shapira http://www.yoavshapira.com -Original Message- From: Venkat Radha Venkataramanan [mailto:[EMAIL PROTECTED] Sent: Tuesday, November 30, 2004 3:58 PM

SOLUTION Re: can't find javac tomcat 5.0.30 jdk1.5.0

2004-11-30 Thread D. Stimits
D. Stimits wrote: Shapira, Yoav wrote: Hi, Try to set JAVA_HOME and CATALINA_HOME explicitly in your $CATALINA_HOME/bin/catalina.sh file, to see if that makes a difference. This was one of the first things I tried. I explicitly set JAVA_HOME and CATALINA_HOME as a test. It is looking for javac

RE: What's the defaukt Admin user id/password

2004-11-30 Thread Venkat Radha Venkataramanan
Hello: I did read the tomcat-users.xml but none of the username/password works. I opened up the Tomcat Administration page and entered the username/password. Thanks for your help. -Original Message- From: D. Stimits [mailto:[EMAIL PROTECTED] Sent: Tuesday, November 30, 2004 4:11 PM To:

JSESSION Internet Explorer

2004-11-30 Thread Alex Korneyev
Hello all, i am hoping someone has seen the following behavior. TomcatA sends a redirect to TomcatB on the backend, I can see that TomcatB receives a JSESSIONID that was originally assigned to it by TomcatA; i.e. cookie = JSESSIONID=6EF95FA9AA98E608C555E28875F57054; I rewrite reset

RE: What's the defaukt Admin user id/password

2004-11-30 Thread Ron Day
sorry, but some people are too important to send helpful replies. There is no default id/password for either the manager or admin apps. You set up your own in the conf/tomcat-users.xml: for tomcat/tomcat as id/password use: role rolename=manager/ role rolename=admin/ user username=tomcat

OT Re: What's the defaukt Admin user id/password

2004-11-30 Thread Parsons Technical Services
Where shall I start: Without people like Yoav there would be no Tomcat. If I was in better financial shape, I would gladly contribute. The time and effort he and others have contributed has saved me considerable time, money and hairloss. If the poster had done a little research, he would have

Re: OT Re: What's the defaukt Admin user id/password

2004-11-30 Thread Parsons Technical Services
Venkat, Don't be sorry. You did not cause it. From time to time people need to kick the cat and with today's animal laws it's safer to flame somebody on a mailing list. Go to http://jakarta.apache.org/tomcat/faq/ It has links to the archives as well as other resources. Doug - Original

Re: What's the defaukt Admin user id/password

2004-11-30 Thread erh
On Tue, Nov 30, 2004 at 03:25:27PM -0600, Ron Day wrote: sorry, but some people are too important to send helpful replies. Have you even looked at the URL that Yoav mentioned? It describes _EXACTLY_ what you need to do and why you need to do it. It even gives an example of a line to add

Queries on Embedded Tomcat Server

2004-11-30 Thread Mohamed Rafi S
Hi All, I need to run a Embedded Tomcat server in my application. For this, I checked the sample code and docs, and did the needful. My application's main class is ApplicationLoader.java, and in the main() method of my ApplicationLoader.java, I am doing a appLoader.startTomcat(). However,

Problems with deployment process using Eclipse + Ant + Tomcat

2004-11-30 Thread Nilesh Bhattad
Googled, serached thro tomcat FAQs, tried as much as I could and now I'm posting some qns -- Environment: Eclipse 3.0.0 + MyEclipse + Tomcat 5.5.0 (on a different server) I'm not able to setup a smooth deployment process from my eclipse workspace over to Tomcat server which is located on a

Re: Delivering JSPs without source

2004-11-30 Thread David Stevenson
One person suggested putting all your logic in .java files. Make your .jsp's like this: % page import=com.yourcompany.YourJavaClass % % YourJavaClass.YourJavaMethod ( request, response, config, application, session, out ) ; % YourJavaClass.java contains: package

  1   2   >