Difficulties with Windows 2000 Installation of Tomcat 4.1

2003-01-22 Thread Bruce Barkstrom
Folks, I downloaded a copy of the Windows .zip file for the Tomcat 4.1 distribution over the weekend. I believe I unzipped it satisfactorily and extracted all of the files into an unoccupied directory. Then, I ran the self-extracting file to create the operational version of the Tomcat server

Tomcat running as an win 2000 service

2003-01-22 Thread Nicolas Piroué
Some help please. How do specify how much memory is allocated to the JVM when I run tomcat as a service. Thanks.

client authentification with tomcat 4.1

2003-01-22 Thread oliver . bruening
hi. have anybody managed to enable client authentification with tomcat 4.1either stand alone or in the combination apache 1.3.x / tomcat 4.1 ? client authentification in the combination apache 1.3.x / tomcat 3.x works fine regards oliver bruening Da E-Mails leicht unter fremdem Namen

RE: Tomcat running as an win 2000 service

2003-01-22 Thread Madhava Reddy
Nicolas, You have an option of specifying how much memory needs to be alloted for JVM. Madhav -Original Message- From: Nicolas Piroué [mailto:[EMAIL PROTECTED]] Sent: Wednesday, January 22, 2003 3:47 AM To: [EMAIL PROTECTED] Subject: Tomcat running as an win 2000 service Some help

RE: Tomcat 5 - 302 issue resolved??? (please please please)

2003-01-22 Thread neal
Ah. Good to know. Didn't even know about that list. :) Thanks. Neal -Original Message- From: Turner, John [mailto:[EMAIL PROTECTED]] Sent: Tuesday, January 21, 2003 8:08 PM To: 'Tomcat Users List' Subject: RE: Tomcat 5 - 302 issue resolved??? (please please please) The BEST PLACE

RE: Tomcat 5 - 302 issue resolved??? (please please please)

2003-01-22 Thread neal
Ah. Do you know then how long it might be until that sort of thing is implemented? I'm *REALLY* looking forward to it! :) Thanks. Neal -Original Message- From: news [mailto:[EMAIL PROTECTED]]On Behalf Of Bill Barker Sent: Tuesday, January 21, 2003 10:46 PM To: [EMAIL PROTECTED]

Re: Difficulties with Windows 2000 Installation of Tomcat 4.1

2003-01-22 Thread Peng Tuck Kwok
First, the little bit of not being able to stop the server, yeah you can stop it, but the tomcate (according to what I read from your email) implies that it is running as a service. If you want to stop it you need to open the win2k service and stop it. Set it to manual so that it doesn't run on

tag lib prob

2003-01-22 Thread Amr Elhusseiny
I'm trying to download a tag lib and make run but it's giving me the following client error: Browser check is unidentified I have done the following to try to make it work 1.. Download jar into yourapp/WEB-INF/lib diectory 2.. place the .tld file into my yourapp/WEB_INF

Re: tag lib prob

2003-01-22 Thread David Durst
I'm trying to download a tag lib and make run but it's giving me the following client error: Browser check is unidentified I have done the following to try to make it work 1.. Download jar into yourapp/WEB-INF/lib diectory 2.. place the .tld file into my yourapp/WEB_INF directory

How do I make a silent installation of Tomcat?

2003-01-22 Thread Morten Bonnin Larsen
Hi Does anybody know how to make a silent installation of jakarta-tomcat-4.1.10-LE-jdk14.exe? I know you can make a /S option but it still tells you that it found the Java Develpment Kit in c:\something Are there other command line parameters for NSIS 1.98? M.

Persistence on session

2003-01-22 Thread Thomas Colin de Verdière
Hi, I do not want my session to persist over shutdown and restart of tomcat is there a way to configure it for all context by default in Tomcat 4.0 (or for a simple webapp). Thomas -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]

Log full of such messages CoyoteAdapter An exception or error occurred..Tomcat 4.1.18

2003-01-22 Thread Andrew Guts
Hello all My catalina.log full of exception messages: 2003-01-21 08:36:06 CoyoteAdapter An exception or error occurred in the container during the request java.lang.IllegalArgumentException: Cookie name Path is a reserved token at javax.servlet.http.Cookie.init(Cookie.java:185) at

RE: tomcatAuthentication=false and getRemoteUser returning null in recent versions of Tomcat

2003-01-22 Thread Ignacio J. Ortega
Jacob, However, I've tested both Tomcat-4.1.18 and Tomcat-4.1.19 and both seem to ignore the tomcatAuthentication=false. add request.tomcatAuthentication=true to jk2.properties, it should work this way.. Saludos, Ignacio J. Ortega -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED]

RE: Opening Files Outside Context

2003-01-22 Thread Gladwell, Ricardo X -ND
I know for a fact the path is correct - when I run exactly the same code with exactly the same file path it works... When I attempt to open the same file path in Tomcat I get a FileNotFoundException. The path is networked and on a different drive (h:) from the Tomcat and when I moved the target

Apache with SSL + Tomcat, problems retrieving SSL_CLIENT_CERT

2003-01-22 Thread Félix J.García Clemente
Hi all, I am trying retrieve the client certificate from a servlet: Object ostrX509 = request.getAttribute(javax.servlet.request.X509Certificate); if (ostrX509 == null) { is null!! but I can get the cipher suite: String cipherSuite = (String)

Tomcat LE 4.1.10 launch time from a CD

2003-01-22 Thread Franck Delahaye
Hi here, I have developped a CDROM application that contains the Tomcat 4.1.10 LE distribution. The Tomcat server is started from the CD by double clicking on a start.bat file. On my Windows 2000 which runs on a Pentium 4, 1.6 Ghz with 520 Mb RAM, the Tomcat Launch time is some 5 seconds. On

How to tune Tomcat launch time ?

2003-01-22 Thread Franck Delahaye
Hi here, I have developped a CDROM application that contains the Tomcat 4.1.10 LE distribution. The Tomcat server is started from the CD by double clicking on a start.bat file. On my Windows 2000 which runs on a Pentium 4, 1.6 Ghz with 520 Mb RAM, the Tomcat Launch time is some 5 seconds. On

SESSION BETWEEN TWO CONTEXT

2003-01-22 Thread Laxmikanth M.S.
Hi All, well and wish the same.. I have two contexts in tomcat... In context1 I put some session variables...how to access these variables in context2...should I put in session or in application variable...does tomcat provide some way to declare varibales for all context withing Host Element

how do i make a context automatically reload jsp files then theychange?

2003-01-22 Thread Alexander Piavka
all i have found is reloadable option, the manuals says: Set to true if you want Catalina to monitor classes in /WEB-INF/classes/ and /WEB-INF/lib for changes, and automatically reload the web application if a change is detected. This feature is very useful during application development, but it

RE: how do i make a context automatically reload jsp files then they change?

2003-01-22 Thread Rommel Sharma
Also try putting the following sub-element for your context (in server.xml) to reload your context after a specified interval. In the example below I am specifying auto-reloading after every 3 seconds Loader className=org.apache.catalina.loader.WebappLoader

Re: Non-persisting session manager for 4.1.x?

2003-01-22 Thread shanmugampl
If you want to disable persisting session info in SESSIONS.ser for a context, use the Manager element with empty string as value for the pathname attribute in server.xml. Manager element should occur within the Context element. Example configuration for examples context Context path =

RE: Difficulties with Windows 2000 Installation of Tomcat 4.1

2003-01-22 Thread Turner, John
From what it sounds like, you installed Tomcat twice, once as a service, once as a user-level application, and are trying to use the user-level application shortcuts to manage the service, which won't happen. My HOWTO describes the whole process in detail: http://www.johnturner.com/howto If you

RE: REBOOT MACHINE

2003-01-22 Thread Mauricio Matias
At 18:08 22/1/2003 +1100, you wrote: What's actually happening when you try to shutdown? Ie: error messages? Or just nothing. I receive an error message Is tomcat running as a service or via the command line? Service Generally speaking if the env params are wrong they'll spit an error

AW: client authentification with tomcat 4.1

2003-01-22 Thread Stratmann, Holger
have anybody managed to enable client authentification with tomcat 4.1either stand alone or in the combination apache 1.3.x / tomcat 4.1 ? I did it stand-alone and have not experienced ANY problems. client authentification in the combination apache 1.3.x / tomcat 3.x works fine aamof,

Problem with Unix Sockets jk2/Apache2/Tomcat4.1

2003-01-22 Thread Morgan, Bill
Hello, I've searched around and have not found an answer to my question so I'm hopeful that I'm not asking something that has been asked 100 times before. If I am, I would appreciate being pointed in the proper direction. I am running: Apache 2.0.43 Tomcat 4.1.18 Jk2 connector Linux RedHat V8

RE: how do i make a context automatically reload jsp files then theychange?

2003-01-22 Thread Alexander Piavka
Also try putting the following sub-element for your context (in server.xml) to reload your context after a specified interval. In the example below I am specifying auto-reloading after every 3 seconds Loader className=org.apache.catalina.loader.WebappLoader

Non persistence session for Tomcat 4.0

2003-01-22 Thread Thomas Colin de Verdière
I read the answer for subject Non-persisting session manager for 4.1.x? so does Manager pathname = / in the Host works for Tomcat 4.0. I confirm it works for Context but don't for Host, is there another way to do it? Thomas -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional

RE: Problem with Unix Sockets jk2/Apache2/Tomcat4.1

2003-01-22 Thread Brzezinski, Paul J
Are you getting error in catalina.out in $CATALINA_HOME/logs? If so, could you post them? Someone else recently posted a similar RFA in the last week -- same topic, similar build characteristics. : -Original Message- : From: Morgan, Bill [mailto:[EMAIL PROTECTED]] : Sent:

RE: Strange Class Loading problem

2003-01-22 Thread Cox, Charlie
you can not have any class in /common/lib that needs to access a class in /WEB-INF/lib because /common is shared between all webapps. When trying to find a class, the classloader will query up the classloader heirarchy, but not down. See the classloader doc which explains this in more detail.

context reloading with allowLinking does not work in 4.1.18 for jsp

2003-01-22 Thread Alexander Piavka
I have a context for jsp, inside the context root tree there are also links to directories on other file systems, i.e links which point outside from the context root tree (this is so since i need one jsp context for many users,so each link points to some user directory there he/she can place

request.setCharacterEncoding(charset) problem?

2003-01-22 Thread Vermeulen, Francis
Hi, we are using Tomcat 4.1.12 in a Windows 2000 development environment and Tomcat 4.0.3 in a Solaris production environment. We have a JSP page that handles search queries and is supposed to be internationalized. The JSP page makes sure to set the UTF-8 charset so that the browser wil use this

RE: Opening Files Outside Context

2003-01-22 Thread Jacob Kjome
I believe it has been discussed before that Java cannot see network drives. Jake At 10:07 AM 1/22/2003 +, you wrote: I know for a fact the path is correct - when I run exactly the same code with exactly the same file path it works... When I attempt to open the same file path in Tomcat I

Help: Tomcat swallowOutput, system.err, catalina.out and my log

2003-01-22 Thread Sarah Grimley
We are trying to have our errors (SYSTEM.ERR, SYSTEM.OUT) sent to web-app specific logs, instead of catalina.out. We thought that the following would work, but seqreq_log_XXX only ends up with Java errors, everything else goes to catalina.out: !-- Tomcat seqreq Context -- Context

RE: Memory Allocation

2003-01-22 Thread Shapira, Yoav
Howdy, Whoa there ;) Be very careful about some things: - The amount of memory tomcat takes on startup is variable. This changes with tomcat version, OS version, JDK version, configured webapps and their listeners / filters / load-on-startup servlets, any Loggers/Valves/Realms configured for

STRUTS

2003-01-22 Thread José Moreira
hello im trying to install struts i copied the war files to the webapps dir the lib/* to the webapps/struts-example/lib and i get this : HTTP Status 500 - type Exception report message description The server

OT: sendRedirect URL not in browser history

2003-01-22 Thread Mark
When using sendredirect() from a servlet, the URL of the redirected page doesn't show in the browser's (IE 6.02) history/back button list. For example, in our login servlet: public void doPost(HttpServletRequest request, HttpServletResponse response) throws

log4j xml time stamp and extention

2003-01-22 Thread Madhava Reddy
Hi, Finally I am in the process of using Log4j. I am using log4j.xml.DOMConfigurator. In the configuration xml file, I am supplying a file name. How do I specify addition of time stamp to file name and an extention, just like we do in server.xml Logger tag? Thanks in advance.. Madhav

[OFF-TOPIC] RE: log4j xml time stamp and extention

2003-01-22 Thread Shapira, Yoav
Howdy, This is the tomcat user list, not the log4j list. Please post log4j questions there or at least indicate this by adding [OFF-TOPIC] to your subject. The answer is to use a pattern layout that includes the time, such as TTCC or ISO8601. See the log4j javadoc for

RE: [OFF-TOPIC] RE: log4j xml time stamp and extention

2003-01-22 Thread Madhava Reddy
Howdy, This is the tomcat user list, not the log4j list. Please post log4j questions there or at least indicate this by adding [OFF-TOPIC] to your subject. hmm... Sorry for that.. The answer is to use a pattern layout that includes the time, such as TTCC or ISO8601. See the log4j javadoc for

MySQL Hell

2003-01-22 Thread Mehdi . Nejad
Hello all, i have been breaking my brain trying to get connection pooling, using Tomcat 4.1.12's build in dbcp, with mySQL 3.23. I have followed the instructions on the how this should be done, and I am getting an exception when I try to get a connection .. (like many other people it seems)..

RE: Tomcat running as an win 2000 service

2003-01-22 Thread Hari Venkatesan
Take a look at the following site. It gives you a feeler of how to do it. Once you run the batch file, it updates the Win2000 registry entries for you. From there you can play with it. http://www.mattkelli.com/tech/tomcat/ntservice.htm -Original Message- From: Nicolas Piroué

RE: MySQL Hell

2003-01-22 Thread Barney Hamish
I'd suggest looking at the comments in the examples for DBCP about how the examples need to be run. The required JDBC driver needs to be pre-loaded for it to work. If you have any further questions you should probably send them to the commons mailing list. Hamish -Original Message-

RE: MySQL Hell

2003-01-22 Thread Jason Pyeron
We have encountered strange results when drivers are loaded in the WEB-INF folders we reccommend having the sysadmin putting them in the TOMCAT_HOME/common/lib folder -jason pyeron On Wed, 22 Jan 2003, Barney Hamish wrote: I'd suggest looking at the comments in the examples for DBCP about

RE: Opening Files Outside Context

2003-01-22 Thread Ignacio J. Ortega
Ricardo, I know for a fact the path is correct - when I run exactly the same code with exactly the same file path it works... When I attempt to open the same file path in Tomcat I get a FileNotFoundException. The path is networked and on a different drive (h:) from the Tomcat and when I

Best Practice for Searching Archive?

2003-01-22 Thread John Ruffin
Where can I find a comprehensive archive for tomcat? The information in this email is confidential and may be legally privileged. It is intended solely for the addressee, and access by anyone else is unauthorized. If you are

Re: MySQL Hell

2003-01-22 Thread mwm
Not really related, but I thought I'd mention that the driver has been renamed to com.mysql.jdbc.Driver. (The one you're using remains as a wrapper for backwards compatibility.) Mike. - Original Message - From: Jason Pyeron [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent:

RE: Memory Allocation

2003-01-22 Thread Hari Venkatesan
Shapira, Thanks for your suggestion. When you startup Tomcat with -Xms10m and -Xmx10m it does a lot of Full GC before it can bring up and finally settles down to use 7.2megs using a debugger. Without a debugger tomcat still comes up after doing a lot of Full GC's. I have just one application in

RE: Best Practice for Searching Archive?

2003-01-22 Thread Shapira, Yoav
Howdy, My fav is AIMS: http://marc.theaimsgroup.com/?w=2 I wish more people would do what you're doing, that is actually bother to search the archives before posting questions that have been answered a million times ;) Yoav Shapira Millennium ChemInformatics -Original Message- From:

RE: Memory Allocation

2003-01-22 Thread Shapira, Yoav
Hi, No Realms have been defined. I use Win2k, Tomcat 4.1.12 and JDK 1.3.1_06. Have you tried this across different JVM? I'd be curious about that. Without Using jprobe or OptimizeIt is there a way to check how much memory has been used. Runtime.getRuntime().freeMemory();

RE: Memory Allocation

2003-01-22 Thread Hari Venkatesan
Hi, I can try with IBM's version and also with sun's JVM1.4.1_01 and let you know about it. Thanks for your input. Hari -Original Message- From: Shapira, Yoav [mailto:[EMAIL PROTECTED]] Sent: Wednesday, January 22, 2003 10:36 AM To: Tomcat Users List Subject: RE: Memory Allocation

How to implement this

2003-01-22 Thread Henry
Hi FRIENDS: can anybody give me a concept about implement ONE SIGNIN at the same time? if I use servlet or jsp to implement it the way I consider about is below: 1 record the sessionId and userId in some media(db), then we'll know who is login and who is not 2 use a demon program to determine

Resion to Tomcat Conversion

2003-01-22 Thread Edgar Dollin
A few more notes about my experiences switching from Resin to Tomcat 4.1.18. I am enjoying the enforcement of standards. I know a lot more about what is going on and really see the effects of configuration and code changes. The performance of Tomcat for development is far superior to Resin.

Re: MySQL Hell

2003-01-22 Thread Mehdi . Nejad
Thanks for your advice on which groups to try Barney - it was very useful to someone out there... jason, that worked - all I had to do was put the classes and jars in ~/common/classes and common/lib respectively Many thanks, Med

Re: How to implement this

2003-01-22 Thread Lajos Moczar
Heny - If you are referring to single-signon, all you have to do is uncomment the single-signon value in server.xml and restart. That way, when a user logs in to one webapp, the roles will automatically be applicable to any other webapp on the server. Tomcat will create a cookie names

Re: MySQL Hell

2003-01-22 Thread Jason Pyeron
you dont want to put 'your' classes there only shared libraries. hope things work well On Wed, 22 Jan 2003 [EMAIL PROTECTED] wrote: Thanks for your advice on which groups to try Barney - it was very useful to someone out there... jason, that worked - all I had to do was put the classes and

request.setCharacterEncoding(charset) problem? - The solution!

2003-01-22 Thread Vermeulen, Francis
Hi, this is a continuation of my earlier mail concerning the ineffectiveness of the request.setCharacterEncoding(charset) method on my development platform. I've found the cause of this and it is something worth noting if you plan to develop internationalized JSP's or servlets. It turns out that

Re-name mod_jk2-2.0.43.so to mod_jk2.so?

2003-01-22 Thread pcampaigne
Is it necessary to re-name mod_jk2-2.0.43.so to mod_jk2.so when I use this connector with apache 2.0.43 and tomcat4-4.1.18? thanks, Phil

RE: Re-name mod_jk2-2.0.43.so to mod_jk2.so?

2003-01-22 Thread Turner, John
No, as long as your LoadModule line in httpd.conf matches. John -Original Message- From: pcampaigne [mailto:[EMAIL PROTECTED]] Sent: Wednesday, January 22, 2003 11:10 AM To: Tomcat Users List Subject: Re-name mod_jk2-2.0.43.so to mod_jk2.so? Is it necessary to re-name

iis, tomcat, jstl, locale issue.

2003-01-22 Thread Jason Pyeron
Looking for other users experience on this issue. iis 4 and 5 tomcat 4.1.12 problem: DateFormat / fmt:formatDate fail to function, it just does a toString(), on the date. this only happens when certain parameters are passed to the JSP and the browser header Accept-Language: en-us is sent. It

Re: Strange Class Loading problem

2003-01-22 Thread Mauro Daniel Ardolino
Well...I do not have any other good ideas for the moment. I suppose you are putting your .class files inside the directories with the name of the package they are belonging to. I mean, if the package of the class is mypkg, the .class files must be inside

RE: request.setCharacterEncoding(charset) problem?

2003-01-22 Thread Daniel Brown
Francis, The HTML (4.01) spec says that browsers 'may' use the page encoding as the encoding to use when submitting form data. If you're assuming UTF-8, then you might want to consider something like the following, FORM accept-charset=UTF-8 ... ... /FORM to force conforming browsers do the

Anyone VIRTUAL WEBAPP?

2003-01-22 Thread David Keyes
I am working on a project that involves creating a web application. Within our build environment, the webapp does not exist in the standard webapp structure. For example, we have servlets/jsp/html/images/etc in various directories that need to be merged into the standard webapp structure (we

RE: Opening Files Outside Context

2003-01-22 Thread Gladwell, Ricardo X -ND
Thanks Ignacio, That's probably the best suggestion so far. I'm running Windows XP and when I attempted to run the service as myself (i.e. with my network access) the same problem arose. So, I tried running the service as 'NT AUTHORITY\NetworkService' it simply failed to start. In the meantime

Re[2]: tomcatAuthentication=false and getRemoteUser returning null in recent versions of Tomcat

2003-01-22 Thread Jacob Kjome
Thanks Ignacio, Works perfectly in Tomcat-4.1.19even with mod_jk, although it is a little confusing to have the config relating to mod_jk in jk2.properties but, oh well, It works :-) BTW, I used request.tomcatAuthentication=false not request.tomcatAuthentication=true Just wanted to clarify

session serialization

2003-01-22 Thread Vladimer Shioshvili
I am sure this question has been asked before, i am trying to find an answer, but not much luck yet. how can i disable session serialization? thanks vlad Vladimer Shioshvili QRC Division of Macro International Inc. 7315 Wisconsin Avenue, Suite 400W Bethesda, MD 20814 Phone:

Re: Configuring error page in web.xml

2003-01-22 Thread Chandra Gottipati
I validated the web.xml file with XMLSpy and it says the file is valid! - Original Message - From: Jacob Kjome [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Tuesday, January 21, 2003 8:55 PM Subject: Re: Configuring error page in web.xml Find an IDE to validate your

Re: Anyone VIRTUAL WEBAPP?

2003-01-22 Thread Jason Pyeron
not the same, but have a need similar: we have a file organization /c:/foo/bar/publicfiles and /d:/foo/bar/publicfiles/photos we would like to symlink this into the context, but our filesystem does not support it, was hoping to do it in the config. On Wed, 22 Jan 2003, David Keyes wrote: I

ErrNo=61

2003-01-22 Thread Ravindra K. Bhat
Hi: My ModJK log shows the following error: (I have Tomcat 4.0.6 w/ Apache 2.0.43 on NT)... [Wed Jan 22 08:57:20 2003] [jk_connect.c (177)]: jk_open_socket, connect() failed errno = 61 [Wed Jan 22 08:57:20 2003] [jk_ajp_common.c (626)]: In jk_endpoint_t::ajp_connect_to_endpoint, failed errno =

RE: Anyone VIRTUAL WEBAPP?

2003-01-22 Thread Tim Moore
Maybe just use a filter mapped to /* ? -- Tim Moore / Blackboard Inc. / Software Engineer 1899 L Street, NW / 5th Floor / Washington, DC 20036 Phone 202-463-4860 ext. 258 / Fax 202-463-4863 -Original Message- From: David Keyes [mailto:[EMAIL PROTECTED]] Sent: Wednesday, January 22,

Re: MySQL Hell

2003-01-22 Thread Jacob Kjome
Hello Mehdi, If you are using DBCP connection pooling, your driver *must* exist in CATALINA_HOME/common/lib. This is because the DBCP libraries exist in common/lib and the fact that classes from common/lib do not have access to the child classloader in WEB-INF/lib. However, your classes in

Re: Re-name mod_jk2-2.0.43.so to mod_jk2.so?

2003-01-22 Thread Jacob Kjome
Hello pcampaigne, It depends on the name you use with LoadModule. Load the name of the module that you want. Choose whatever name you want for the module. Jake Wednesday, January 22, 2003, 10:09:43 AM, you wrote: p Is it necessary to re-name mod_jk2-2.0.43.so to mod_jk2.so when I use this

tomcat not starting after reboot or from cron

2003-01-22 Thread Lott, Carey
Has anybody had a problem with tomcat (4.0.4) starting after a reboot? Or problems starting it from the root crontab? I have no problems at all starting tomcat manually. Everything works fine that way. To automate the startup after a reboot, I am using init.d with the startup script in

RE: mod_jk performance

2003-01-22 Thread Ricky Leung
I had the same problem so if you look carefully, you can see the script changed to a sub-directory and was still trying to access ./libtool. The easiest way without modifying the script for me was just creating a link in that directory to point to the parent's libtool. I had to create 2 links in

RE: tomcat not starting after reboot or from cron

2003-01-22 Thread Turner, John
If you can do it manually, from a log in session, but not automatically from startup or from cron, I'm 99% sure it's because environment variables like JAVA_HOME and CATALINA_HOME are not being set for the startup and cron environments. Without those, you won't get anything. They're probably

Re: tomcat not starting after reboot or from cron

2003-01-22 Thread Larry Meadors
I had a similar problem, and changed catalina.sh to do this at the start: source /etc/profile This was where I was setting CATALINA_HOME, and JAVA_HOME. When the script got run at startup, those vars were not yet set... Larry [EMAIL PROTECTED] 01/22/03 10:20 AM Has anybody had a problem with

RE: tomcat not starting after reboot or from cron

2003-01-22 Thread Shapira, Yoav
Howdy, We have some tomcat instances that restart nightly from a crontab, without a problem. They're all tomcat 4.0.6-LE on Solaris 2.8. None use apache as the front end. None run as root. Each runs as its own user, and the restart job is in that user's crontab. We've had no problems with

Re[2]: Configuring error page in web.xml

2003-01-22 Thread Jacob Kjome
Hello Chandra, Ok, then I'm not sure what the issue is? Are you saying that it started up fine before you edited the web.xml and after you added the stuff you mentioned, it failed? I would suggest removing the error-page stuff and only put that in your webapp's web.xml, not the conf/web.xml.

Re: tomcat not starting after reboot or from cron

2003-01-22 Thread p niemandt
I suspect it has something to do with your environmental variables: Quite likely the java_home catalina_home has not been set at the time the script executes. When doing it from the console, as you are already logged on, it will work fine. You could try to export the variables just before running

RE: tomcat not starting after reboot or from cron

2003-01-22 Thread Ricky Leung
Do you mind sharing your Tomcat restart script with us? I want to do the same but perhaps on a weekly basis. One of the problems I am worried about is that Tomcat isn't stopping, so I would need to wait for it to end or kill it before I restart it. Any help would be appreciated. Thanks. Ricky

RE: tomcat not starting after reboot or from cron

2003-01-22 Thread Lott, Carey
I was actually wondering about that concerning the startup environment, but I didn't think it would be an issue for cron since it was the root crontab. I'll add it to the script and see what happens. Thanks!! -Original Message- From: Turner, John [mailto:[EMAIL PROTECTED]] Sent:

Failed ErrNO=61

2003-01-22 Thread Ravindra K. Bhat
Hi, Any ideas on how to solve the following error in Mod_jk.log: [Wed Jan 22 08:57:20 2003] [jk_connect.c (177)]: jk_open_socket, connect() failed errno = 61 [Wed Jan 22 08:57:20 2003] [jk_ajp_common.c (626)]: In jk_endpoint_t::ajp_connect_to_endpoint, failed errno = 61 Thanks Ravi -- To

RE: Caucho Resin to Tomcat Conversion

2003-01-22 Thread Edgar Dollin
Tomcat has better low end hosting support and there are no licensing fees. My business is moving to smaller sites with fairly complex intranet development. Edgar Subject: RE: Caucho Resin to Tomcat Conversion From: Shapira, Yoav Yoav.Shapira () mpi ! com Date: 2003-01-21 14:16:35

RE: tomcat not starting after reboot or from cron

2003-01-22 Thread Lott, Carey
Y'all were right. You were absolutely right! It was the environment variables. Once I placed the variables at the beginning of the script and exported them, the cron worked perfectly. Thanks Again -Original Message- From: Lott, Carey [mailto:[EMAIL PROTECTED]] Sent: Wednesday,

RE: tomcat not starting after reboot or from cron

2003-01-22 Thread Shapira, Yoav
Howdy, I can't share the exact script due to intellectual property law issues ;) But it's trivial, basically doing: export CATALINA_HOME=/foo/bar $CATALINA_HOME/bin/shutdown.sh sleep 60 $CATALINA_HOME/bin/startup.sh That's it. One of the problems I am worried about is that Tomcat isn't

Porblem editing httpd.conf

2003-01-22 Thread pcampaigne
After I added the following line to httpd.conf, the httpd server vails to start: LoadModule mod_jk2-2.0.43.so I get a syntax error at startup. What am I doing wrong here. I am trying to tell it to load the jk2 connector module. using tomcat4-4.1.18 and httpd 2.0.43 Thanks, Phil

Has anybody tried using the NSAPI redirector

2003-01-22 Thread Sankaranarayanan (Ganesh) Ganapathy
Hi All, Does it work against the SunONE webserver? Also does anybody have prebuild binaries. Does apache intend to make the prebuilt binaries for these available as well? Thanx in advance for any help. --Ganesh -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands,

RE: Porblem editing httpd.conf

2003-01-22 Thread Turner, John
Tell it where: LoadModule modules/mod_jk2-2.0.43.so John -Original Message- From: pcampaigne [mailto:[EMAIL PROTECTED]] Sent: Wednesday, January 22, 2003 1:03 PM To: Tomcat Users List Subject: Porblem editing httpd.conf After I added the following line to httpd.conf, the

mod_jk2-2.0.43.so with Apache 2.0.44?

2003-01-22 Thread Andrzej Jan Taramina
Anyone know if the current mod_jk2-2.0.43.so module will work with the recently posted Apache Apache 2.0.44 release? Thanks! Andrzej Jan Taramina Chaeron Corporation: Enterprise System Solutions http://www.chaeron.com -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional

RE: tomcat not starting after reboot or from cron

2003-01-22 Thread Ricky Leung
Thanks for the info. For the information, Tomcat usually stops, but occasionally, it doesn't. This seems to happen when there are some lockwaits on the db and Tomcat is just sitting there waiting for it to return. And yes, we are tracking on it to see why this is happening so we can have this

RE: tomcat not starting after reboot or from cron

2003-01-22 Thread Lott, Carey
Ricky, Actually, for my startup script that is in init.d, all I am doing is linking to catalina.sh. An ls -al of it look like this: lrwxrwxrwx 1 root staff 53 Nov 12 09:01 tomcat - /bto/appl/apache/jakarta-tomcat-4.0.4/bin/catalina.sh I have then placed a link to this in the

RE: mod_jk2-2.0.43.so with Apache 2.0.44?

2003-01-22 Thread Turner, John
From http://httpd.apache.org/: No changes in configuration or third-party modules are necessary to upgrade from 2.0.42 or later, and we will make every effort to maintain this easy upgrade path in future 2.0 releases. John -Original Message- From: Andrzej Jan Taramina [mailto:[EMAIL

tomcat/apache on different servers

2003-01-22 Thread Brad Straw
Up to now I have always configured tomcat and apache on the same box. However, I have need to separate them to 2 physical boxes. My questions are: 1) Does the workers.properties file reside on the apache http server box; 2) Do you then replace the localhost entry in

RE: tomcat/apache on different servers

2003-01-22 Thread Turner, John
1) Does the workers.properties file reside on the apache http server box; Yes. 2) Do you then replace the localhost entry in worker.ajp13.host=localhost to worker.ajp13.host=tomcatserver; Yes. 3) Or should you connect them and simply use the proxy capabilities from apache? Given

RE: Re[2]: tomcatAuthentication=false and getRemoteUser returning null in recent versions of Tomcat

2003-01-22 Thread Ignacio J. Ortega
Jacob, BTW, I used request.tomcatAuthentication=false not request.tomcatAuthentication=true Ooops, sorry, of course if you want tomcatAuthentication=false, you need to put request.tomcatAuthentication=false not true :, next time i will edit my CutPaste first i promise ..;) Saludos,

RE: Porblem editing httpd.conf

2003-01-22 Thread Andy Eastham
John, Do you not need to name it too, ie LoadModule jk2_module modules/mod_jk2-2.0.43.so Thats what's in my working set up anyway. Andy -Original Message- From: Turner, John [mailto:[EMAIL PROTECTED]] Sent: 22 January 2003 18:07 To: 'Tomcat Users List' Subject: RE: Porblem editing

please help - strange messages in tomcat 4.1.18

2003-01-22 Thread Raiden
Hello, I apologize for reposting this question again, but I have received no response yet, and these messages are filling up my log files. My catalina.out logs are full of the following messages: Jan 21, 2003 10:31:41 AM org.apache.jk.common.ChannelSocket processConnection INFO: server has been

RE: Porblem editing httpd.conf

2003-01-22 Thread Turner, John
Oops, you're right. My bad. Good eye. John -Original Message- From: Andy Eastham [mailto:[EMAIL PROTECTED]] Sent: Wednesday, January 22, 2003 1:58 PM To: Tomcat Users List Subject: RE: Porblem editing httpd.conf John, Do you not need to name it too, ie LoadModule

RE: Re[2]: tomcatAuthentication=false and getRemoteUser returning null in recent versions of Tomcat

2003-01-22 Thread Aleix Vergés
Hola Ignacio, He estado probando exactamente lo que vosotrois comentais, pero Tomcat me sigue pidiendo que entre login i password. Alguna idea? Gracias Aleix -Mensaje original- De: Ignacio J. Ortega [mailto:[EMAIL PROTECTED]] Enviado el: miércoles, 22 de enero de

Resources for a Context

2003-01-22 Thread David Keyes
I am confused about what exactly Resource entries are supposed to accomplish in Tomcat. I have the following entry in my server.xml file for Tomcat 4.0.6: Context path=/myapp docBase=C:/test/ Resources className=org.apache.naming.resources.FileDirContext docBase=c:/dev/proj1/web /

RE: Resources for a Context

2003-01-22 Thread Shapira, Yoav
Howdy, I assume you've read this, right? http://jakarta.apache.org/tomcat/tomcat-4.1-doc/jndi-resources-howto.htm l Context path=/myapp docBase=C:/test/ Resources className=org.apache.naming.resources.FileDirContext docBase=c:/dev/proj1/web / Resources

  1   2   >