Re: RE: Character Encodig/ CodePage Problem

2004-12-01 Thread esters
Hi, the HTML code is generated by a servlet and the Character encoding has been set with the follwing code-snippet: res.setContentType("text/html; charset=iso-8859-1"); Even the Browser says it is the encoding. The result after testing various Codepages : charset=utf-8 the only difference

common image practice?

2004-12-01 Thread D. Stimits
I'm looking for a "good" or "best" practice to deal with site-wide logo type files...things that will never change, and that every app will want access to. This is on linux, but enabling sym links just seems to be an admin/backup complexity, and duplicating logos in every project also seems wro

tomcat5.5 configuration issue

2004-12-01 Thread vishal nalwa
Hi all, I have developed a JSP application. It is working fine on my machine(with tomcat5.5 & JRE 1.5 ,win2000). But when this application run on client side (with tomcat5.5 & JRE1.5,winNT) it is showing unexpected behaviour it is showing the following error. org.apache.jasper.JasperException: U

Tomcat 5.0.28 Jasper compiler error SimpleMenuItem?

2004-12-01 Thread Jerry Rodgers
Hi, I have a jsp page that I am trying to run on Tomcat that works in Weblogic. It appears Tomcat is generating code when compiling the JSP that isn't aware of the type of class the org.apache.struts.tiles.beans.SimpleMenuItem is - it looks like at run time it thinks it is a String. my J

Re: Moving from 4.1.27 to 5.0.28?

2004-12-01 Thread Quinton Delpeche
On Wednesday 01 December 2004 15:08, Bjørn T Johansen wrote: > I am thinging of upgrading our prod Tomcat server from 4.1.27 to 5.0.28 (or > is 5.5.4 a safer bet?) and I was wondering if there would be any problems > when upgrading? Anything particular I should think of? My advice is to redo your

Re: JSTL/JSP/regexp Question

2004-12-01 Thread Tim Funk
1) Allow run time expressions in the attribute declaration 2) Don't run any of the ExpressionEvaluatorManager.evaluate() statements in your doEndTag() since all the variables were already evaluated. An added advantage is now you can have settings of other primitives in your tag. -Tim Jack Lauman

Re: JSTL/JSP/regexp Question

2004-12-01 Thread Jack Lauman
Tim: I already have both 2.3/2.4 web.xml files. If I switch to the 2.4 format what do I need to do with lines of code like this "private transient String smtpEL;" in the tag source? I haven't seen any docs on how to convert taglibs from 1.0 using EL to 1.1 where the EL is done by JSP 2.0. Wha

Re: JSTL/JSP/regexp Question

2004-12-01 Thread Tim Funk
If your webapp's web.xml is a 2.4 webapp. Then tomcat will do the EL translations before the value is passed to your custom tag. You won't have to use ExpressionEvaluatorManager because it would have been done for you. -Tim Jack Lauman wrote: Tim: This app is deployed with JBoss 3.2.7RC1/Tomcat

RE: Character Encodig/ CodePage Problem

2004-12-01 Thread Allistair Crossley
do your jsps have these directives at the very top (although they ought to be these values by default, certainly in servlet 2.4 spec - but I see you are using Tomcat 4, so maybe it was different then). <%@ page contentType="text/html;charset=ISO-8859-1" %> <%@ page pageEncoding="ISO-8859-1" %>

Re: Deployment problem

2004-12-01 Thread QM
On Wed, Dec 01, 2004 at 09:36:28AM -0800, Dustin wrote: : For example, an app that : had a path of /stuff now has a path of /srv/stuff. : : I was able to get it working in tomcat 4 (the solution : seemed like a hack to me tho), but I am having : problems getting it to work in tomcat 5. Perhaps yo

Re: Moving from 4.1.27 to 5.0.28?

2004-12-01 Thread QM
On Wed, Dec 01, 2004 at 07:32:42PM +0100, Bj?rn T Johansen wrote: : - upgrade to 5.0.28 is a good thing... : - shouldn't be any/much problem doing this As long as your app code is clean (e.g. doesn't rely on features deprecated in servlet spec 2.4, doesn't rely on features specific to Tomcat 4

Re: [dbcp] Call Oracle stored procedure via DBCP?

2004-12-01 Thread Shankar Unni
Sergey Karpov wrote: During a call of stored procedure through DBCP there is a mistake of reduction of type: java.lang.ClassCastException That's because you're assuming that dbcp returns you a naked vendor JDBC Connection object. It doesn't - it returns you a pooled connection wrapper with forwar

Re: compiling mod_proxy_ajp

2004-12-01 Thread Elihu Smails
thanks, I pasted in Mladen's example without looking at it closely. The coffee is really kicking in. This is the configuration that works for me BalancerMember ajp://x.x.x.x:8009/servlets-examples BalancerMember ajp://y.y.y.y:8009/servlets-examples ProxyPass balancer://myc

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

2004-12-01 Thread Mark Thomas
Keep an eye on http://jakarta.apache.org/tomcat/tomcat-5.5-doc/changelog.html. An entry will appear here once it is fixed. I can't see an easier way then two WARs. If anyone else has any bright ideas... Mark > -Original Message- > From: Paulo Alvim [mailto:[EMAIL PROTECTED] > Sent: Wedn

RE: Delivering JSPs without source

2004-12-01 Thread Woodchuck
hihi, i have gotten into the habit of precompiling my jsps and then obfuscating everything. while not 100% bullet-proof (but then again, nothing is in theory), i think this is a reasonably decent solution for source security. woodchuck --- "Shapira, Yoav" <[EMAIL PROTECTED]> wrote: > > Hi, >

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

2004-12-01 Thread Paulo Alvim
Thanks, Mark... Please let us know when you have more infs about TC5 and JNDI Realm/CLIENT-CERT, ok? Just to be sure: Since I can have just one login-config per application, I will have to work with two WARs (one for each configuration)...if I need to have both "form based" and "cert based" auth

Re: compiling mod_proxy_ajp

2004-12-01 Thread Filip Hanik - Dev
how about you correct the spelling :) Filip - Original Message - From: "Elihu Smails" <[EMAIL PROTECTED]> To: "Tomcat Users List" <[EMAIL PROTECTED]> Sent: Wednesday, December 01, 2004 2:17 PM Subject: Re: compiling mod_proxy_ajp when I try to set up balancing, I get the following Apac

Re: compiling mod_proxy_ajp

2004-12-01 Thread Elihu Smails
when I try to set up balancing, I get the following Apache startup errors: Invalid command 'BalacerMember', perhaps mis-spelled or defined by a module not included in the server configuration Here is the output from "apachectl -l" core.c mod_log_config.c mod_setenvif.c mod_proxy.c proxy

Character Encodig/ CodePage Problem

2004-12-01 Thread S.Esters
Hi, the problem concerns the displaying of german Umlaute such as äöü The OS is NW65 out of the box with Apache 2.0.49 and tomcat 4.1.28, JVM 1.4.2_02. The german Umlaute in the servlet generated HTML-Code is not displayed properly even though the character-encoding in the Web-Browser is iso-8859-

RE: How/Where do I get security advisories for tomcat ?

2004-12-01 Thread Jeff Ong
Thanks for the information Yoav. Regards, Jeff Ong IBM Toronto Lab, Toronto, CANADA - Message from "Shapira, Yoav" <[EMAIL PROTECTED]> on Wed, 1 Dec 2004 14:55:17 -0500 - To: "Tomcat Users List" <[EM

RE: How/Where do I get security advisories for tomcat ?

2004-12-01 Thread Shapira, Yoav
Hi, CERT is about as official as you can get, yeah. Yoav Shapira http://www.yoavshapira.com >-Original Message- >From: Jeff Ong [mailto:[EMAIL PROTECTED] >Sent: Wednesday, December 01, 2004 2:43 PM >To: [EMAIL PROTECTED] >Subject: How/Where do I get security advisories for tomcat ? > >

Re: Queries on Embedded Tomcat Server

2004-12-01 Thread DJohnson
My guess is that when running Tomcat embedded within your application, Tomcat provides no non-daemon Threads. The JVM will shut down when the last non-daemon Thread exits, so when your Main method completes, the JVM shuts down. This makes sense, when you consider that embedding Tomcat in an a

Tomcat 5.0.x on USS / EBCDIC environments

2004-12-01 Thread Rich
Hello everyone, Has anyone had any luck running Tomcat 5.0.x on USS? I realize this is everyone's favorite question that comes up about twice a year. We're looking at upgrading from 4.0.4 on USS to 5.0.x. I've searched the mailing list archives and via google quite a bit but can't seem to fin

How/Where do I get security advisories for tomcat ?

2004-12-01 Thread Jeff Ong
Is there an official channel/website where security advisories for tomcat are releases/posted ? I saw some advisories on www.cert.org. Is www.cert.org the official source for these security advisories ? ___ Regards, Jeff Ong IBM Toronto Lab, Toronto, CANADA

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

2004-12-01 Thread Mark Thomas
I haven't looked at the JNDI realm at all. There is an outstanding bug against this and CLIENT-CERT for TC4 so I will get to it eventually (I'll port the fix to TC5 if it needs it). The spec states that you can have no more than 1 login-config per application. If a fix is needed, you are going to

REALM and Tomcat 5 problems

2004-12-01 Thread Søren Blidorf
I have setup my realm as I am used to on tomcat 4, but now I get the following error: type Status report message The time allowed for the login process has been exceeded. If you wish to continue you must either click back twice and re-click the link you requested or close and re-open your brow

RE: Content-Type rewriting in jakarta-tomcat-connectors

2004-12-01 Thread Shapira, Yoav
Hi, >Anything I can do to increase the probability of this happening? Like, >filing a bug report or feature request or whatever it should be called? >Note that this also happens if you run Tomcat as a standalone HTTP/HTTPS >server.. You can file a bug report which would decrease the probability

Web App Installation Problem

2004-12-01 Thread Razzakul H Chowdhury
I have installed the Tomcat 4.1.3 in Windows 2000 workstation. I am having difficulties in running Servlet for any other Web Apps installed through the Manager. To track the error I have copied the folders and files (keeping the directory structure intact) inside folder “..\webapps\myservlet” . The

RE: Configuring session parameters

2004-12-01 Thread Shapira, Yoav
Hi, One idea would be to read the Servlet Specification, specifically the chapter about the Deployment Descriptor. In Servlet Spec v2.4, section SRV.13.1, page 128, the session-timeout configuration parameter is described. Tomcat 4.x implements Servlet Spec v2.3, not v2.4, but that particular pa

Re: Content-Type rewriting in jakarta-tomcat-connectors

2004-12-01 Thread Eirik Øverby
Hi again, Shapira, Yoav wrote: Hi, Well that's the thing.. It was tested, worked, but then the "other end" changed their stuff in a way that turned out to be incompatible. In any Gotta love it ;) I was actually of the impression that 5.0.29 was *not* a beta release; possibly because it is the on

Re: Delivering JSPs without source

2004-12-01 Thread Justin Ruthenbeck
At 09:11 PM 11/30/2004, you wrote: > It would seem that if a web page request comes in for a .jsp page, Tomcat would have no file to compare the date against in your scheme of putting the compiled .jsp page in a .jar file only. This is only done for non-compiled jsp files that are served by the Js

Configuring session parameters

2004-12-01 Thread Al Gidden
In other app servers I have used, you can configure things about the HTTP session. In our case, we had configured a time for all inactive sessions to timeout. So, a user would make a page request with a session that the server had timed-out and our code would know to take them to another page in

RE: Content-Type rewriting in jakarta-tomcat-connectors

2004-12-01 Thread Shapira, Yoav
Hi, >Well that's the thing.. It was tested, worked, but then the "other end" >changed their stuff in a way that turned out to be incompatible. In any Gotta love it ;) >I was actually of the impression that 5.0.29 was *not* a beta release; >possibly because it is the only current version availab

Re: JSTL/JSP/regexp Question

2004-12-01 Thread Jack Lauman
Tim: This app is deployed with JBoss 3.2.7RC1/Tomcat 5.0.28. The JDK is 1.4.2_06. The custom tag libraries were developed using JSTL 1.0. I'm not sure how to convert them. Can you use a 1.0 tag in 1.1? Below is an example of an SMTP mail tag the I'm using. Will this work in 1.1 or does it ne

Re: Content-Type rewriting in jakarta-tomcat-connectors

2004-12-01 Thread Eirik Øverby
Shapira, Yoav wrote: Hi, After upgrading from tomcat 4.1 to 5.0, a critical application here has It'd be a shame if the upgrade wasn't tested first in a test/QA environment ;( Well that's the thing.. It was tested, worked, but then the "other end" changed their stuff in a way that turned out to

Re: Queries on Embedded Tomcat Server

2004-12-01 Thread Mohamed Rafi S
Hi, Even when I dont do a appLoader.stopTomcat();, it goes down and is no longer accessible. Thanks, Mohamed Rafi S Hi, Just my silly guess, Did you do this: tomcat.startTomcat(); ... Thread.sleep(1); tomcat.stopTomcat(); That is you call stopTomcat() right af

Re: Moving from 4.1.27 to 5.0.28?

2004-12-01 Thread Bjørn T Johansen
oki, thx :) The conclusion would be..: - upgrade to 5.0.28 is a good thing... - shouldn't be any/much problem doing this BTJ Mike Curwen wrote: We've recently been writing the 'next version' of our main application, and the decision was made to target TC 5.0.x, up from 4.1.x. We experience

RE: Content-Type rewriting in jakarta-tomcat-connectors

2004-12-01 Thread Shapira, Yoav
Hi, >After upgrading from tomcat 4.1 to 5.0, a critical application here has It'd be a shame if the upgrade wasn't tested first in a test/QA environment ;( >In 5.0.29, this comes out as > >Content-Type: application/xml;charset=utf-8 It's also interesting that you chose a beta version of Tomcat

Re: class file has wrong version?

2004-12-01 Thread Chris Cherrett
Hello All, It worked! Thank you all so much for the help! Thanks Again! On December 1, 2004 10:20 am, Jeff Hoffmann wrote: > Chris Cherrett wrote: > > I am trying to deploy with a client and am getting an error that I have > > never seen before. Any ideas where to start? > > > > bad class > >

Re: Content-Type rewriting in jakarta-tomcat-connectors

2004-12-01 Thread Eirik Øverby
Hi, Follow-up: The same happens when using Tomcat stand-alone - i.e. no Apache and no jk. /Eirik Eirik Øverby wrote: Hi, no, it is not related at all to the oft-discussed UTF-8 issues. This simply has to do with how the connector splits up the Content-Type string and then sews it together withou

Re: Fedora Core 3

2004-12-01 Thread Mark Eggers
I'm using the following on Fedora Core 3 as a development environment with no problems. Apache 2.052 Tomcat 5.028 Java 1.4.2_06 mod_jk2 (I know it's unsupported) Please note that a Fedora Core 3 install or upgrade from Fedora Core 2 will install the GNU Java compiler. This can create some issues

Re: Content-Type rewriting in jakarta-tomcat-connectors

2004-12-01 Thread Eirik Øverby
Hi, no, it is not related at all to the oft-discussed UTF-8 issues. This simply has to do with how the connector splits up the Content-Type string and then sews it together without adding a space after the ;. /Eirik Arnab Chakravarty wrote: Eirik, Does it have anything to do with UTF-8 encoding s

RE: Content-Type rewriting in jakarta-tomcat-connectors

2004-12-01 Thread Arnab Chakravarty
Eirik, Does it have anything to do with UTF-8 encoding support (using different charsets - Chinese or Japanese) on jsp page and would break (not displaying the non-english characters) on tomcat 5.0.29. Arnab -Original Message- From: Eirik Øverby [mailto:[EMAIL PROTECTED] Sent: Wednesd

Content-Type rewriting in jakarta-tomcat-connectors

2004-12-01 Thread Eirik Øverby
Hi, After upgrading from tomcat 4.1 to 5.0, a critical application here has stopped working as expected. Upon replying to incoming requests, it would usually spit out the following - just like the servlet says: Content-Type: application/xml; charset=utf-8 In 5.0.29, this comes out as Content-Type:

Deployment problem

2004-12-01 Thread Dustin
We have recently changed the deployment of our apps to contain a prefix in each path to identify the request as a tomcat (5.0.27) request. For example, an app that had a path of /stuff now has a path of /srv/stuff. I was able to get it working in tomcat 4 (the solution seemed like a hack to me tho

Re: JSTL/JSP/regexp Question

2004-12-01 Thread Tim Funk
Ideally you'd be using tomcat5. (and jdk1.4) Then you can use JSTL functions like below ... match my.Foo boolean match(java.lang.String, java.lang.String) -- package my; public class Foo { public static boolean match(String s, Strin

RE: Tomcat 5.0.27/Apache 2.0.40 with mutible developers

2004-12-01 Thread Allistair Crossley
http://jakarta.apache.org/tomcat/tomcat-5.5-doc/config/host.html section User Web Applications may help. > -Original Message- > From: Dwayne Ghant [mailto:[EMAIL PROTECTED] > Sent: 01 December 2004 17:31 > To: Tomcat Users List > Subject: Re: Tomcat 5.0.27/Apache 2.0.40 with mutible devel

Re: Tomcat 5.0.27/Apache 2.0.40 with mutible developers

2004-12-01 Thread Dwayne Ghant
Dwayne Ghant wrote: Hello All, I have successfully set up tomcat/ apache /mod_jk Just one quick question I need all the developers to have access like http:///~username And I need tomcat to automatically pick up the developers accounts so they can write web-applications. I got everything else worki

Re: class file has wrong version?

2004-12-01 Thread Chris Cherrett
we are using tomcat 4 and the jdk is 4.1.X. If I remove our project from the webapps directory everything is fine. On December 1, 2004 10:17 am, Allistair Crossley wrote: > Hi > > Your JAVA_HOME needs to be set to JDK 5.0 > > Allistair > > > -Original Message- > > From: Chris Cherrett [ma

Re: class file has wrong version?

2004-12-01 Thread Jeff Hoffmann
Chris Cherrett wrote: I am trying to deploy with a client and am getting an error that I have never seen before. Any ideas where to start? bad class file: /usr/local/tomcat/webapps/tsiware/WEB-INF/classes/ConnectionPool/ConnectionPool.class class file has wrong version 49.0, should be 48.0 Pleas

RE: class file has wrong version?

2004-12-01 Thread Shapira, Yoav
Hi, If you compile a class with J2SE 5.0 (class file version 49.0), you can't run it with JDK 1.4 (class file version 48.0), unless you specifically told the compiler -target 1.4. This is a mismatch between your compile-time and run-time JVM versions. Yoav Shapira http://www.yoavshapira.com >-

RE: class file has wrong version?

2004-12-01 Thread Allistair Crossley
Hi Your JAVA_HOME needs to be set to JDK 5.0 Allistair > -Original Message- > From: Chris Cherrett [mailto:[EMAIL PROTECTED] > Sent: 01 December 2004 17:10 > To: Tomcat Users List > Subject: class file has wrong version? > > > I am trying to deploy with a client and am getting an error

class file has wrong version?

2004-12-01 Thread Chris Cherrett
I am trying to deploy with a client and am getting an error that I have never seen before. Any ideas where to start? bad class file: /usr/local/tomcat/webapps/tsiware/WEB-INF/classes/ConnectionPool/ConnectionPool.class class file has wrong version 49.0, should be 48.0 Please remove or make sure

Re: JSTL/JSP/regexp Question

2004-12-01 Thread Nikola Milutinovic
Jack Lauman wrote: I'm using the following code to return results from drop down menues and user input text. It works fine as long as the text is an exact case sensitive match to the data record. What I want to do is evaluate the output the results of a user input search based on 'param.field'

JSTL/JSP/regexp Question

2004-12-01 Thread Jack Lauman
I'm using the following code to return results from drop down menues and user input text. It works fine as long as the text is an exact case sensitive match to the data record. What I want to do is evaluate the output the results of a user input search based on 'param.field' in figure 3. i.e.

Tomcat 5.0.27/Apache 2.0.40 with mutible developers

2004-12-01 Thread Dwayne Ghant
Hello All, I have successfully set up tomcat/ apache /mod_jk Just one quick question I need all the developers to have access like http:///~username And I need tomcat to automatically pick up the developers accounts so they can write web-applications. I got everything else working fine just need th

Re: Fedora Core 3

2004-12-01 Thread Elihu Smails
I have Tomcat 5.5.4, Java 1.5.0 and Apache 2.1 running on a Fedora Core 3 box. I have not seen any problems to date.. --- Justin Crabtree <[EMAIL PROTECTED]> wrote: > Allistair Crossley wrote: > > i have seen some 5.0.28 installations on fedora > core 2 if that helps! if you do decide to upgrad

Re: weird tomcat5.0.30 behaviour with jar in WEB-INF/classes

2004-12-01 Thread Simone Pierazzini
On Wed, 1 Dec 2004 11:27:01 -0500, Shapira, Yoav <[EMAIL PROTECTED]> wrote: > > Hi, > > >> regardless of the directory being lib or classesseems like a bug > to > >> me as any file in the classpath should just be a file as a jar file > >> should have to be added to the classpath like it's a d

RE: weird tomcat5.0.30 behaviour with jar in WEB-INF/classes

2004-12-01 Thread Shapira, Yoav
Hi, >> regardless of the directory being lib or classesseems like a bug to >> me as any file in the classpath should just be a file as a jar file >> should have to be added to the classpath like it's a directory. > >I agree That's overly simplified. Unlike the classpath for a normal console

Re: Fedora Core 3

2004-12-01 Thread Justin Crabtree
Allistair Crossley wrote: i have seen some 5.0.28 installations on fedora core 2 if that helps! if you do decide to upgrade to version 3 and get tomcat 5 working, *please* let this list know about it so it can be added to the list of supported platforms and help others. -Original Message---

Re: weird tomcat5.0.30 behaviour with jar in WEB-INF/classes

2004-12-01 Thread Simone Pierazzini
> Right, thought you were creating your own URLClassLoader instance to > locate your jars dynamically (not getting the current). Barring that > and looking at your post and then looking at one of Yoavs, then my guess > is the ClassLoader in tomcat is for what ever reason doing something like: > if

Re: Queries on Embedded Tomcat Server

2004-12-01 Thread Jean-Francois Arcand
Mohamed Rafi S wrote: Hi Jean, Jeanfrancois ;-) 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

RE: Fedora Core 3

2004-12-01 Thread Allistair Crossley
i have seen some 5.0.28 installations on fedora core 2 if that helps! if you do decide to upgrade to version 3 and get tomcat 5 working, *please* let this list know about it so it can be added to the list of supported platforms and help others. > -Original Message- > From: Matt Bathje [

jsp-debugging: breakpoints wont work!

2004-12-01 Thread Timo . Roessner
hi, i am trying to enable jsp-debugging with eclipse 3, lomboz 3.0.0 and tomcat 5.5.4 (both working as an eclipse plugin). What happens so far is: i write an jsp using lomboz, the jsp is converted to a servlet and stored / copied to a folder called j2src in the eclipse workspace (the folder j2src

JkCoyoteHandler/mod_jk won't serve examples (was: no examples with mod_jk?)

2004-12-01 Thread Thomas Charles Robinson
Hi, Can anyone please help me? I've been looking at this for a couple of weeks now and still have had no success t. On Wed, 2004-12-01 at 02:08, Thomas Charles Robinson wrote: > Hi Again, > > Sorry about the long email. I've included all my logging with the > configs. I've read the document

Re: Fedora Core 3

2004-12-01 Thread Matt Bathje
I'm using tomcat 5.0 (I think 5.0.25 specifically right now) but I was more just wondering in general as I've seen no mention of FC3 yet. If tomcat 5.0.x has problems in FC3 it wouldn't be a huge deal, because once I upgraded to the new OS I would have to retest the app anyway, so a Tomcat upgr

Re: weird tomcat5.0.30 behaviour with jar in WEB-INF/classes

2004-12-01 Thread Wade Chandler
Simone Pierazzini wrote: On Wed, 01 Dec 2004 09:49:33 -0500, Wade Chandler <[EMAIL PROTECTED]> wrote: I never try to use relative paths in getResource. I always do this getResource("/pippo.jar"); Also, I usually pick a class in my package that I know will certainly be in my web-app classes folde

RE: Windows service and multiple instances

2004-12-01 Thread Allistair Crossley
that not entirely the case, as the service.bat examines CATALINA_HOME. if the env variable is set to 1 installation, teh 2nd service install will use that value also. modify service.bat in each installation. you could try remarking out this part rem if not "%CATALINA_HOME%" == "" goto gotHome

Re: Fedora Core 3

2004-12-01 Thread Elihu Smails
what version of tomcat? --- Matt Bathje <[EMAIL PROTECTED]> wrote: > Hey all - > > I searched around on mail-archive and google for a > bit and couldn't find > anybody mentioning that they upgraded their Tomcat > machines to use > Fedora Core 3 yet. > > Has anybody done so? Any issues with J

RE: Windows service and multiple instances

2004-12-01 Thread Shapira, Yoav
Hi, You can use the service.bat wrapper to install as many copies of the Tomcat windows service as you'd like. Yoav Shapira http://www.yoavshapira.com >-Original Message- >From: Wouter De Vaal [mailto:[EMAIL PROTECTED] >Sent: Wednesday, December 01, 2004 10:38 AM >To: [EMAIL PROTECTED]

Re: Windows service and multiple instances

2004-12-01 Thread Mladen Turk
Wouter De Vaal wrote: Hi, I've read enough about having multiple tomcat instances. However when using windows, the installer won't create a second windows service for starting and stopping the second tomcat installation. Has anyone have a solution/suggestion for this? cd %TOMCAT1_HOME%\bin servic

RE: Windows service and multiple instances

2004-12-01 Thread Hubble, Christopher
You need to install the second service manually. How you do this depends on which version of Tomcat you're running. Chris -Original Message- From: Wouter De Vaal [mailto:[EMAIL PROTECTED] Sent: Wednesday, December 01, 2004 10:38 AM To: [EMAIL PROTECTED] Subject: Windows service and multi

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

2004-12-01 Thread Paul Christmann
We use ant build scripts (launched from eclipse, anthill, command prompts, just about anywhere) to deploy webapps to Tomcat and it works fine for us. But we did have difficulties when we started doing so. We are currently using Tomcat 5.0.28; we've done it for a long time on Tomcat 4.1; we've

RE: weird tomcat5.0.30 behaviour with jar in WEB-INF/classes

2004-12-01 Thread Shapira, Yoav
Hi, >yes... and no. >when you ask for non-jar resources, the returned url points to the >correct path (inside context directory, and tomcat doens't need to >copy them). >When you ask for jar resources, the returned url points to a directory >inside $CATALINA_HOME/work, but Tomcat does not copy an

Windows service and multiple instances

2004-12-01 Thread Wouter De Vaal
Hi, I've read enough about having multiple tomcat instances. However when using windows, the installer won't create a second windows service for starting and stopping the second tomcat installation. Has anyone have a solution/suggestion for this? Regards, Wouter de Vaal ---

RE: ssl configuration. 5.0.28

2004-12-01 Thread Allistair Crossley
my pleasure, i always make them and sometimes things work that way ;) > -Original Message- > From: Pawson, David [mailto:[EMAIL PROTECTED] > Sent: 01 December 2004 15:23 > To: Tomcat Users List > Subject: RE: ssl configuration. 5.0.28 > > > > > -Original Message- > Fro

Re: weird tomcat5.0.30 behaviour with jar in WEB-INF/classes

2004-12-01 Thread Simone Pierazzini
> > Hi, > > I use URLClassLoader to create class loaders that manage jars in WEB- > > INF/classes > > In WEB-INF/classes I have many jars that are incompatible each other > > (they have different classes with the same name inside). > > > > Wouldn't it be much easier to unjar and re-jar with only t

RE: Moving from 4.1.27 to 5.0.28?

2004-12-01 Thread Mike Curwen
We've recently been writing the 'next version' of our main application, and the decision was made to target TC 5.0.x, up from 4.1.x. We experience no major difficulties in making that move, thouogh there can be a few gotchas. The one thing we noticed that changed (for the better) was error page

Fedora Core 3

2004-12-01 Thread Matt Bathje
Hey all - I searched around on mail-archive and google for a bit and couldn't find anybody mentioning that they upgraded their Tomcat machines to use Fedora Core 3 yet. Has anybody done so? Any issues with Java or Tomcat after the upgrade? Thanks, Matt ---

Re: weird tomcat5.0.30 behaviour with jar in WEB-INF/classes

2004-12-01 Thread Simone Pierazzini
On Wed, 1 Dec 2004 10:11:49 -0500, Shapira, Yoav <[EMAIL PROTECTED]> wrote: > > Hi, > > >it should be but it isn't because tomcat does not make a copy, and the > >returned url is unresolvable. > > So you're saying the jar in $CATALINA_HOME/work is physically different > than the one in your WEB-

RE: ssl configuration. 5.0.28

2004-12-01 Thread Shapira, Yoav
Hi, >Now how do I close down the http://localhost/ port, >just remove the port 80 connector? Yeah. > Another tiny step forward. That's how progress is made, right? Neil Armstrong et al... Yoav Shapira http://www.yoavshapira.com This e-mail, including any attachments, is a confidential bu

RE: ssl configuration. 5.0.28

2004-12-01 Thread Pawson, David
actually, I notice you are using keystoreFile. are you certain when you ran keystore that you used -keystore parameter? it might well be that. i generated my key without using -keystore which tomcat looks at by default. try getting that working first. On win2k, so the defau

RE: Webapps Folder

2004-12-01 Thread Venkat & Radha Venkataramanan
Yoav: The admin application is to be installed in the Jakarta_Home/Server/webapps directory, right? The reason I am asking you this is after installing it there, it is not listed in the Applications list on the Tomcat Manager application and if I do "http://127.0.0.1:8080/admin/"; I get the respo

RE: ssl configuration. 5.0.28

2004-12-01 Thread Pawson, David
-Original Message- From: Allistair Crossley correction to my last post about SSL page returning squares .. I was requesting http. https://localhost:8443/ works for my suggestions with default tomcat page. And works for me I was concentrating on

RE: weird tomcat5.0.30 behaviour with jar in WEB-INF/classes

2004-12-01 Thread Cox, Charlie
> -Original Message- > From: Simone Pierazzini [mailto:[EMAIL PROTECTED] > Sent: Wednesday, December 01, 2004 9:37 AM > To: [EMAIL PROTECTED] > Subject: weird tomcat5.0.30 behaviour with jar in WEB-INF/classes > > Hi, > I use URLClassLoader to create class loaders that manage jars in WEB

Re: weird tomcat5.0.30 behaviour with jar in WEB-INF/classes

2004-12-01 Thread Simone Pierazzini
On Wed, 01 Dec 2004 09:49:33 -0500, Wade Chandler <[EMAIL PROTECTED]> wrote: > I never try to use relative paths in getResource. I always do this > getResource("/pippo.jar"); Also, I usually pick a class in my package > that I know will certainly be in my web-app classes folder or one of > it's

RE: Webapps Folder

2004-12-01 Thread Shapira, Yoav
Hi, We are trying to distinguish those webapps which are tightly coupled with the Tomcat server and its implementation from normal user webapps. For all intents and purposes, users should ignore server/webapps and never touch it. Put all your apps and do your development in $CATALINA_HOME/webapps

RE: Multipe Tomcat instances

2004-12-01 Thread Ryan Daly
OK. I understand the separation point. I think as long as I can start separate instances by referencing a separate server.xml file, I'll do it that way. If I need to upgrade one web app, then I can split it out then. Thanks for the input. It's appreciated. -- On Wed, 2004-12-01 at 09:05, Shap

RE: weird tomcat5.0.30 behaviour with jar in WEB-INF/classes

2004-12-01 Thread Shapira, Yoav
Hi, >yes, I know, but I've to use those jars, and I didn't developed them :( OK ;) Unfortunate, but that happens... >it should be but it isn't because tomcat does not make a copy, and the >returned url is unresolvable. So you're saying the jar in $CATALINA_HOME/work is physically different th

Webapps Folder

2004-12-01 Thread Venkat & Radha Venkataramanan
Hello: I am new to Tomcat and so forgive me if this question comes across as very elementary. I see that there are two webapps folders, one under Jakarta_HOME\Server and one under JAKARTA_HOME. The Manager Application is installed under Jakarta_HOME\Server\webapps while other applications a

Re: weird tomcat5.0.30 behaviour with jar in WEB-INF/classes

2004-12-01 Thread Simone Pierazzini
On Wed, 1 Dec 2004 09:47:12 -0500, Shapira, Yoav <[EMAIL PROTECTED]> wrote: > > Hi, > > >I use URLClassLoader to create class loaders that manage jars in WEB- > >INF/classes > >In WEB-INF/classes I have many jars that are incompatible each other > >(they have different classes with the same name

RE: ssl configuration. 5.0.28

2004-12-01 Thread Allistair Crossley
actually, I notice you are using keystoreFile. are you certain when you ran keystore that you used -keystore parameter? it might well be that. i generated my key without using -keystore which tomcat looks at by default. try getting that working first. Allistair. > -Original Message- >

RE: ssl configuration. 5.0.28

2004-12-01 Thread Allistair Crossley
correction to my last post about SSL page returning squares .. I was requesting http. https://localhost:8443/ works for my suggestions with default tomcat page. > -Original Message- > From: Pawson, David [mailto:[EMAIL PROTECTED] > Sent: 01 December 2004 14:38 > To: Tomcat Users List >

RE: ssl configuration. 5.0.28

2004-12-01 Thread Allistair Crossley
i just downloaded 5.0.30, uncommented the SSL Connector, generated a key with keytool -genkey -alias tomcat -keyalg RSA and started tomcat and the messages show 8443 is running. i requset localhost:8443 and I get a sequence of 10 squares, but it's certainly no 404 error. my connector is the ou

Re: weird tomcat5.0.30 behaviour with jar in WEB-INF/classes

2004-12-01 Thread Wade Chandler
Simone Pierazzini wrote: Hi, I use URLClassLoader to create class loaders that manage jars in WEB-INF/classes In WEB-INF/classes I have many jars that are incompatible each other (they have different classes with the same name inside). Suppose I want to load the following files as resources from a

RE: weird tomcat5.0.30 behaviour with jar in WEB-INF/classes

2004-12-01 Thread Shapira, Yoav
Hi, >I use URLClassLoader to create class loaders that manage jars in WEB- >INF/classes >In WEB-INF/classes I have many jars that are incompatible each other >(they have different classes with the same name inside). I comment on the actual problem below, but if you don't mind me asking: why? Th

Re: Axis and Tomcat

2004-12-01 Thread Trond G. Ziarkowski
Hi, Perhaps for development you can use an unpacked WAR, set reloadable=true, and only upload the relevant classes/jars as needed, instead of the whole WAR... I have this setup in dev environment, but I make weekly releases to the production server, sometimes twice a week depending on how many

RE: ssl configuration. 5.0.28

2004-12-01 Thread Pawson, David
className is a common attribute of the Connector element. look at the common attributes table in http://jakarta.apache.org/tomcat/tomcat-5.0-doc/config/http.html Sorry. Missed that. can you post what you have used for the SSL Connector? (No, its not commented out :-)

weird tomcat5.0.30 behaviour with jar in WEB-INF/classes

2004-12-01 Thread Simone Pierazzini
Hi, I use URLClassLoader to create class loaders that manage jars in WEB-INF/classes In WEB-INF/classes I have many jars that are incompatible each other (they have different classes with the same name inside). Suppose I want to load the following files as resources from a classLoader: - pippo.txt

Re: Moving from 4.1.27 to 5.0.28?

2004-12-01 Thread Wade Chandler
Shapira, Yoav wrote: Hi, I'd say go to 5.0.28 first. One major revision at a time ;) TOC? Table of Contents? Yoav Shapira http://www.yoavshapira.com -Original Message- From: Wade Chandler [mailto:[EMAIL PROTECTED] Sent: Wednesday, December 01, 2004 8:35 AM To: Tomcat Users List Sub

  1   2   >