Re: Blank Page when using http://192.168.1.100/

2004-11-30 Thread Mark Benussi
I woud like to give you an answer but I experienced similar problems accessing my localhost via IP when using a router. Just thought I would give you an area to look at i.e. I don't think its your Tomcat instance. Original Message Follows From: "Ted Anagnost" <[EMAIL PROTECTED]> Reply-To

Re: Blank Page when using http://192.168.1.100/

2004-11-30 Thread Ted Anagnost
Yes - Original Message - From: "Mark Benussi" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, December 01, 2004 1:34 AM Subject: RE: Blank Page when using http://192.168.1.100/ Are you using a router? Original Message Follows From: "Ted Anagnost" <[EMAIL PROTECTED]>

RE: Blank Page when using http://192.168.1.100/

2004-11-30 Thread Mark Benussi
Are you using a router? Original Message Follows From: "Ted Anagnost" <[EMAIL PROTECTED]> Reply-To: "Tomcat Users List" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Subject: Blank Page when using http://192.168.1.100/ Date: Wed, 1 Dec 2004 00:26:51 -0600 http://localhost/ works http://127.0.

RE: UTF-8 Encoding in Jsp

2004-11-30 Thread Mariano
You should use too: and this scriptlet: request.setCharacterEncoding("UTF-8"); at the beginning. I hope this help you -Mensaje original- De: Arnab Chakravarty [mailto:[EMAIL PROTECTED] Enviado el: martes, 30 de noviembre de 2004 15:28 Para: Tomcat Users List Asunto:

Re: Q: ISAPI filter for JK 1.2.7-beta Visual C++ requirements

2004-11-30 Thread Mladen Turk
David Boyer wrote: I'm attempting to build this from source, and I'm getting several errors related to an undeclared identifier '__FUNCTION__'. Visual C++ 7 supports __FUNCTION__, but VC++ 6.0 does not. Does anyone know if this is an intended change in the build requirements, or am I just doing

Blank Page when using http://192.168.1.100/

2004-11-30 Thread Ted Anagnost
http://localhost/ works http://127.0.0.1/ works http://192.168.1.100/mysite/ works 192.168.1.100 is my internal IP http://192.168.1.100/ displays a BLANK PAGE 1. Why does it display a blank page when using http://192.168.1.100/ 2. What is the proper way to make all of these redirect to 'mysite

Re[2]: JSESSION Internet Explorer

2004-11-30 Thread Alex Korneyev
Hello Arnab Chakravarty, actually it is on 2 servers. can you go into little bit more detail on what you did via virtual hosts on apache side? alex korneyev Tuesday, November 30, 2004, 10:15:31 PM, you wrote: > Are these tomcats on the same machine or different machines. I had

Need Clarification on Tomcat SSL Configuration>....

2004-11-30 Thread raghavendra.raghu
Hi, I have configured the Tomcat SSL Port for HTTPS. Whenever I access the Web Page the Page Refreshes twice. Need Help on this. Thanks & Regards, Raghavendra C N Wipro Technologies, Phone: 91 80 8520408 Extn: 1067 [EMAIL PROTECTED]

Re: Delivering JSPs without source

2004-11-30 Thread Steve Procter
> There is no reason why your app wouldn't be able to find classes from a jar in common/lib -- there's something else going on here. I agree. The following comment in the WebappClassLoader javadoc might be relevant. "IMPLEMENTATION NOTE - Due to limitations in Jasper compilation technology, any

Re: Problems with datasource/DB Connection

2004-11-30 Thread parviz
You need to download: http://dev.mysql.com/get/Downloads/Connector-J/mysql-connector-java-3.0.16-ga.tar.gz/from/http://mysql.mirror.redwire.net/ from: http://dev.mysql.com/downloads/connector/j/3.0.html unzip that file somewhere and copy mysql-connector-java-3.0.16-ga-bin.jar to your tomcatdir

RE: JSESSION Internet Explorer

2004-11-30 Thread Arnab Chakravarty
Are these tomcats on the same machine or different machines. I had the same problem with my tomcat setup and as I was running the 2 tomcats on the same machine. To get rid of the problem I added virtual host in apache conf file for the other tomcat and then it started working fine as there were 2 h

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

2004-11-30 Thread Quinton Delpeche
On Tuesday 30 November 2004 22:58, Venkat & Radha Venkataramanan wrote: > Hello: Hi, > Can somebody tell me what the default admin user id/password is? Thanks. There isn't one. Add a admin user entry to the tomcat-users.xml file and give the user admin and manager roles. Q -- Quinton Delpech

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

2004-11-30 Thread Quinton Delpeche
On Tuesday 30 November 2004 18:05, dawg fan wrote: > Thanks for the response! No problem. > Actually these were fresh reloads. Kewl. > Are you running the same tomcat 5, apache2 versions that I am? Not sure. Tomcat: 5.0.27-9 Apache: 2.0.50-7.2 > -joe Q -- Quinton Delpeche Internal Systems D

RE: Multipe Tomcat instances

2004-11-30 Thread David Boyer
As far as Tomcat 4.x and 5.0.x, Tomcat uses %CATALINA_BASE%/conf/server.xml unless you specifically specify an alternative. Optionally, you can pass '-config fullpath' to the main method of the startup class where fullpath is the full path to your config file. For example: org.apache.catalina.sta

RE: Problems with deployment process using Eclipse + Ant + Tomcat

2004-11-30 Thread Caldarale, Charles R
> From: Nilesh Bhattad [mailto:[EMAIL PROTECTED] > Subject: Problems with deployment process using Eclipse + Ant + Tomcat > > Environment: Eclipse 3.0.0 + MyEclipse + Tomcat 5.5.0 (on a > different server) Have you tried 5.5.4? It's the only level on the 5.5 leg marked stable. - Chuck THIS C

RE: Multipe Tomcat instances

2004-11-30 Thread Ryan Daly
On Mon, 2004-11-29 at 14:53, Shapira, Yoav wrote: > Hi, > I do it this way all the time. The biggest pro is complete separation. > If one app gets whacky (heavy load, OutOfMemoryError, malicious attack), > others are not affected at all. If one app needs to be upgraded or a > bug fix shipped, or

Re: Queries on Embedded Tomcat Server

2004-11-30 Thread Peik Feng
Hi, Just my silly guess, Did you do this: tomcat.startTomcat(); ... Thread.sleep(1); tomcat.stopTomcat(); That is you call stopTomcat() right after you "sleep" ? On Tue, 30 Nov 2004 17:47:26 -0800, Mohamed Rafi S <[EMAIL PROTECTED]> wrote: > > Hi Jean, > >

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

2004-11-30 Thread Parsons Technical Services
With a lot of software that is free to download, the main point is that the end user agrees to the license of the original owner (in this case SUN). If one was to embed or include a package in such a way to circumvent the EULA, then the end user could reverse engineer protected software without

Q: ISAPI filter for JK 1.2.7-beta Visual C++ requirements

2004-11-30 Thread David Boyer
I'm attempting to build this from source, and I'm getting several errors related to an undeclared identifier '__FUNCTION__'. Visual C++ 7 supports __FUNCTION__, but VC++ 6.0 does not. Does anyone know if this is an intended change in the build requirements, or am I just doing something wrong?

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

2004-11-30 Thread muimi admin
Hi, thanks to reply. >>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? I only know the Sun JDK license document. http://java.sun.com/j2se/1.5.0/jdk-1_5_0-license.txt -> C. License to Distr

Help installing the Admin Application

2004-11-30 Thread Venkat & Radha Venkataramanan
Hello: I downloaded the 5.5.5Admin zip file and copied the different files into the appropriate directories. But I don't see the Admin application listed in the Tomcat Web Application Manager. When I click on the first application which is displayed as /, I see the Jakarta default page. When I cl

no examples with mod_jk?

2004-11-30 Thread Thomas Charles Robinson
Hi Again, Sorry about the long email. I've included all my logging with the configs. I've read the documentation and had some clarifications on JK/JK2 but still can't get this to work. What am I doing wrong here? Any help is appreciated and thanks in advance. I'm trying to get tomcat4 (4.1.30) to

Re: Queries on Embedded Tomcat Server

2004-11-30 Thread Mohamed Rafi S
Hi Jean, There is no exception getting thrown, verified this. Immediately after appLoader.startTomcat(), if I give a Thread.sleep(1), then till that duration, I am able to access http://localhost:8080/ successfully without any issue. So, any pointers on how to make this always available ? T

Re: Queries on Embedded Tomcat Server

2004-11-30 Thread Jeanfrancois Arcand
Mohamed Rafi S wrote: 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.star

RE: What Connector Should I Use?

2004-11-30 Thread Thomas Charles Robinson
Thanks for all your comments. It's starting to make some sense now. Still no luck with my configs though :-( On Tue, 2004-11-30 at 14:24, Shapira, Yoav wrote: > 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 certa

Re: Delivering JSPs without source

2004-11-30 Thread David Stevenson
When Tomcat receives a request for .jsp page, isn't the first order of business to compare the date of the .jsp page against the .java file in the working directory, so Tomcat knows whether to re-translate and compile the .jsp page? It would seem that if a web page request comes in for a .jsp pag

Re: Delivering JSPs without source

2004-11-30 Thread Justin Ruthenbeck
Hi Steve, Hopefully I read your question right. There is no reason why your app wouldn't be able to find classes from a jar in common/lib -- there's something else going on here. Do you have duplicate copies of these classes anywhere? Do these classes rely on other classes found only in the

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 com.yourcompany.Y

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

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, the

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

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 Mess

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 fo

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: Don't forget the college fund. PYOFW -Original Message---

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 the

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:

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 in

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 P

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: 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 hel

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 Ap

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 /opt/jdk1.5.0/bin

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 alread

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

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. JAVA_

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 migh

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 (

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 mak

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: To

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 appli

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 run

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.1

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: SetHandler balancer-manager Order deny,allow Allow from localhost You can change sessio

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 ProxyPassR

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 fo

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 > Proxy

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 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 PRO

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: http://jakarta.apache.org/tomca

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 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: 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 to

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 BORGO

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 variab

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: [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: 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

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 http://www.yoavshapira.com

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.

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: "Encounte

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

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 enabl

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,

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 defau

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] >

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 t

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 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 http://www.y

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 an

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 l

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

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 + accurate sorting. I also know this was not specifed in the spec. BUT, is there a way to or

Re: Error Preventing upgrade to Tomcat 5

2004-11-30 Thread karjera
Laba diena. Dėkojame, kad mums parašėte. Jūsų atsiųsta žinutė išsaugota mūsų duomenų bazėje. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

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: Err

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 (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 of Technology SmartJo

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 conf

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 >-Orig

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, e

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 o

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, 2

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

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 Message--

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: 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 Messa

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: 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 exampl

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: 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 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 Message- >From:

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 modules

Mime type not set for welcome files

2004-11-30 Thread Jerome Louvel
I have a web app with the following configuration: xhtml application/xhtml+xml index.xhtml When I request http://myserver/index.xhtml I receive the XHTML web page normally. However, if I request http://myserver/ I receive the file without the correct mime-type s

  1   2   >