Get an English name

2007-06-29 Thread 吴熊敏
Hi,all I'd like to get an english name(a young and sunshine name). I'm male. Can anyone help me? Any advice will be appreciated! 吴熊敏 [EMAIL PROTECTED] - To start a

Re: Get an English name

2007-06-29 Thread 吴熊敏
I like the name of one of my friends.His english name is 'KEN' I think it's very good. On Fri, 29 Jun 2007 14:19:58 +0800 吴熊敏 [EMAIL PROTECTED] wrote: Hi,all I'd like to get an english name(a young and sunshine name). I'm male. Can anyone help me? Any advice will

HTML error pages

2007-06-29 Thread Ingo Siebert
Hi, i'm using Tomcat 5.5 and run a JAX-WebService application. In general, if an error occurs at my application i will send back an SOAP-fault. So far so fine. But my problem is now, that sometimes occurs an JVM/Tomcat exception (i.e. out of heap-space) and in this case, Tomcat sends back a

How to Invalidate(or not to svae sesion when tomcat gets shut down)

2007-06-29 Thread rajuchn
Hi When tomcat gets shutdown/Restarted,it is stroing and reloading the sessions as and when it gets restarted.Because of which,user is able to access the application from the same window, which was opened beofre the Tomcat restarted. I request you to convey me how to invalidate the sessions

Re: Re[2]: Get an English name

2007-06-29 Thread Li
Please watch your mouth. This group is used to discuss topics regarding tomcat. On 6/29/07, 吴熊敏 [EMAIL PROTECTED] wrote: it's none of your bisiness!!! you son of a bitch!! On Fri, 29 Jun 2007 15:10:53 +0800 Li [EMAIL PROTECTED] wrote: hi, it's out of topic. Please use your private email

Re: Get an English name

2007-06-29 Thread Li
hi, it's out of topic. Please use your private email ... On 6/29/07, 吴熊敏 [EMAIL PROTECTED] wrote: I like the name of one of my friends.His english name is 'KEN' I think it's very good. On Fri, 29 Jun 2007 14:19:58 +0800 吴熊敏 [EMAIL PROTECTED] wrote: Hi,all I'd like to get an english

Re: Re[2]: Get an English name

2007-06-29 Thread Agarlita Dan
agree with Li On Jun 29, 2007, at 10:21 AM, Li wrote: Please watch your mouth. This group is used to discuss topics regarding tomcat. On 6/29/07, 吴熊敏 [EMAIL PROTECTED] wrote: it's none of your bisiness!!! you son of a bitch!! On Fri, 29 Jun 2007 15:10:53 +0800 Li [EMAIL PROTECTED]

Re: Tomcat 6 classloader leak in Commons Pool

2007-06-29 Thread Diego Rodríguez Martín
Sorry, you are right, it is in org.apache.tomcat.util.modeler.BaseModelMBean, and resource attribute it is retaining is an org.apache.commons.dbcp.BasicDataSource Diego Caldarale, Charles R escribió: From: Diego Rodríguez Martín [mailto:[EMAIL PROTECTED] Subject: Re: Tomcat 6 classloader

Re: Tomcat 6 classloader leak in Commons Pool

2007-06-29 Thread Diego Rodríguez Martín
Hi, I have tried what you suggested but it doesn't release the context properly. The method in Registry is unregisterComponent (unregister doesn't exist) ObjectName on = new

Using Tomcat 5.5.23 with jdk 1.6.0_1

2007-06-29 Thread Christopher Hartung
Hi there, we are using Tomcat 5.5.23 with jdk 1.6.0_1. But sometimes we get errors like this: # # An unexpected error has been detected by Java Runtime Environment: # # SIGSEGV (0xb) at pc=0x002a958a666a, pid=8528, tid=1082333536 # # Java VM: Java HotSpot(TM) 64-Bit Server VM (1.6.0-b105

Re: What is Tomcat 6 status?

2007-06-29 Thread Johnny Kewl
I just take a very pragmatic view. TC6 besides implementing new specs which I believe are targeted more at application servers than anything else, involved a major structural revamp. Although I havnt found any problems with it, I treat it as new, and prefer to run production stuff on 5.5.23.

Re: Using Tomcat 5.5.23 with jdk 1.6.0_1

2007-06-29 Thread Li
Defaultly tomcat 5.5 only support up to JDK5. If you wanna run your application which was written by JDK 6, you can use Tomcat 6 + JDK 6. If you really wanna use Tomcat 5.5 with JDK 6 in Linux, you may have to check if you need copy the tools.jar from JDK6 to tomcat common/lib. It should work.

Re: Re[2]: Get an English name

2007-06-29 Thread [ G ]
Agree with Li. It is very annoying. This is not the first time he/she use the mailing list as 'chatroom' On 6/29/07, Agarlita Dan [EMAIL PROTECTED] wrote: agree with Li On Jun 29, 2007, at 10:21 AM, Li wrote: Please watch your mouth. This group is used to discuss topics regarding tomcat.

Deploying war files to path not the same as the war file name.

2007-06-29 Thread ben short
Hi, We use maven to build our war files. The war file names are as follows... appname-1.0.war. Currently I rename the file to ROOT.war then deploy it via the tomcat manager app. Is it possible to leave the war file name alone but deploy it as the ROOT webapp? Regards Ben Short

Tomcat adding files

2007-06-29 Thread coder5436uk
I have an install of tomcat and I wish to add a default header and footer to each page, any one know how to do this ? I am running files which come out with simple text, I want to include them all in a site template without having to change the code in each page. eg. simple page %= hello

Re: unzip a jar file from a war file to tomcat/webapp

2007-06-29 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Paul, Paul Hammes wrote: I have to unzip the jar at the time of deployment because of the size of the war file. the jar file contains 20mb of images. So I can safe several mb to transfer to the server where the application will run. What types of

Re: Using Tomcat 5.5.23 with jdk 1.6.0_1

2007-06-29 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Li, Li wrote: Defaultly tomcat 5.5 only support up to JDK5. If you wanna run your application which was written by JDK 6, you can use Tomcat 6 + JDK 6. Still, Tomcat shouldn't segfault the VM due to a version incompatibility. My guess is that

RE: Using Tomcat 5.5.23 with jdk 1.6.0_1

2007-06-29 Thread Caldarale, Charles R
From: Li [mailto:[EMAIL PROTECTED] Subject: Re: Using Tomcat 5.5.23 with jdk 1.6.0_1 Defaultly tomcat 5.5 only support up to JDK5. If you wanna run your application which was written by JDK 6, you can use Tomcat 6 + JDK 6. Not true. JDK 6 is fully upward compatible with JDK 5. If you

Re: tomcat crashes

2007-06-29 Thread Filip Hanik - Dev Lists
looks like it is a VM thread that is crashing, not a tomcat thread.what are your command line options to the JVM? could be a GC bug, Filip daniel steel wrote: all, i am not sure if this a bug or OS problem or our install problem (this is the first ever crash). at one of our new installs

Re: Using Tomcat 5.5.23 with jdk 1.6.0_1

2007-06-29 Thread Filip Hanik - Dev Lists
if you have the whole dump we can look into it deeper, my guess is that its a JVM bug or a combo of JVM/OS Filip Christopher Hartung wrote: Hi there, we are using Tomcat 5.5.23 with jdk 1.6.0_1. But sometimes we get errors like this: # # An unexpected error has been detected by Java

Re: Update Tomcat 5 - 6 .. JDBC driver problem

2007-06-29 Thread gregory hans
i using tomcat6 right now and i put my jdbc in my lib directory and that's okay. can you post your error to me so i can figure what's going on. David Smith [EMAIL PROTECTED] wrote: In tomcat 6, the new common/lib is simply lib as I understand it. Could you post your config? The error you

Re: Update Tomcat 5 - 6 .. JDBC driver problem

2007-06-29 Thread Martin Gainty
MySQL Connector/J doc says The JDBC URL format for MySQL Connector/J is as follows, with items in square brackets ([, ]) being optional: jdbc:mysql://[host][,failoverhost...][:port]/[database] » [?propertyName1][=propertyValue1][propertyName2][=propertyValue2]... If the hostname is not

An unrecoverable stack overflow has occurred.

2007-06-29 Thread Tim Miller
I get the following error periodically which causes my Tomcat service to stop. There do not seem to be any exceptions listed in my log files, only the An unrecoverable stack overflow has occurred. error listed in the jakarta_service_mmdd.log file. I am running tomcat5.5.23 on a windows 2000

Re: RE: unzip a jar file from a war file to tomcat/webapp

2007-06-29 Thread gregory hans
what kind of format the images?is jpg?why you have to compress the image file, the size is rather the same before compressed. Paul Hammes [EMAIL PROTECTED] wrote: I have to unzip the jar at the time of deployment because of the size of the war file. the jar file contains 20mb of images. So I

Re: tomcat crashes

2007-06-29 Thread daniel steel
filip, JVm has the default options that is shipped out with tomcat distribution. the crash happens in the initial testing even before we apply our custom production changes. thanks bharat Filip Hanik - Dev Lists [EMAIL PROTECTED] wrote: looks like it is a VM thread that is

Re: Get an English name

2007-06-29 Thread David Smith
1. Lighten up. The delete key works wonders if you haven't found it by now. 2. Li posted a private email to him to a public forum with bad language. Private emails require a private response. That's just bad nettiquite on Li's part. 3. I agree this is very off topic and should have least been

Trouble with java.util.Timer in Tomcat 5.5

2007-06-29 Thread David kerber
I have an app running in Tomcat 5.5.12, with jre 1.5.0_12 (explicitly specified in the service configuration), on windows 2000 server. I have one class that is initialized by a servletContextListener, in the contextInitialized event. This class uses java.util.Timer and java.util.TimerTask

RE: Trouble with java.util.Timer in Tomcat 5.5

2007-06-29 Thread Propes, Barry L
wouldn't be a memory leak issue would it? -Original Message- From: David kerber [mailto:[EMAIL PROTECTED] Sent: Friday, June 29, 2007 9:41 AM To: Tomcat Users List Subject: Trouble with java.util.Timer in Tomcat 5.5 I have an app running in Tomcat 5.5.12, with jre 1.5.0_12 (explicitly

Re: An unrecoverable stack overflow has occurred.

2007-06-29 Thread Martin Gainty
Tim-- what happens when you double the JAVA_OPTS ThreadStackSize from -XX:ThreadStackSize=512 to -XX:ThreadStackSize=1024 http://java.sun.com/javase/technologies/hotspot/vmoptions.jsp Anyone else? M-- This email message and any files transmitted with it contain confidential information intended

Re: Update Tomcat 5 - 6 .. JDBC driver problem

2007-06-29 Thread David Smith
That's good info, but only barely related to the question at hand and they said they had it working in tomcat 5.5.23 -- just failing in tomcat 6. Given it works in one version of tomcat and not another, I highly doubt the mysql jdbc url is at fault. The OP needs to post portions of their

Out of Office AutoReply: An unrecoverable stack overflow has occurred.

2007-06-29 Thread Rene de Vries

Re: An unrecoverable stack overflow has occurred.

2007-06-29 Thread Tim Miller
I gave that a shot, it didn't seem to matter. after a couple of minutes of normal flow through the app, it crashed again. I did find the following info that i wasn't previously aware of. Every time it crashes, this file is produced in the system32 dir : # # An unexpected error has been

RE: Trouble with java.util.Timer in Tomcat 5.5

2007-06-29 Thread Propes, Barry L
just a thought. You know the intricacies of that app much better than I. I don't know what other apps or systems it touches or interacts with, but you might check to see if they have scheduled services or jobs that could interfere. -Original Message- From: David kerber [mailto:[EMAIL

Re: Trouble with java.util.Timer in Tomcat 5.5

2007-06-29 Thread David kerber
I've considered that, and I can't absolutely rule it out, but I was careful writing my code, the code is pretyy simple, and I don't see any indication of a memory leak in my system memory usage as time goes by. If there is one, it's pretty subtle. I guess I could start gc logging just to be

How do I set maxage on the JSESSIONID cookie?

2007-06-29 Thread Jesse Barnum
I would like to have a session ID cookie that has a max age of 48 hours, so that if a user comes back to my site after closing their browser, they will still have the same session on the server. How can I configure Tomcat to set the max age of the session ID cookie to anything other than

RE: Null

2007-06-29 Thread Propes, Barry L
are you initializing variables for each column in the DB, or likely not if you're using that array approach? -Original Message- From: PTS [mailto:[EMAIL PROTECTED] Sent: Wednesday, June 27, 2007 9:33 PM To: Tomcat Users List Subject: Re: Null In several of the fields of the database

Re: An unrecoverable stack overflow has occurred.

2007-06-29 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Tim, Tim Miller wrote: I gave that a shot, it didn't seem to matter. after a couple of minutes of normal flow through the app, it crashed again. Wow, you're talking about a REAL crash: # # An unexpected error has been detected by HotSpot

Old Chestnut (http - https) causing some confusion

2007-06-29 Thread Lyallex
Hi Java 1.5.0_10 Tomcat 5.5.17 I've just spent the past couple of hours reading past postings to this list at marc.info The subject I'm interested in is the efficient use of ssl/https. I have managed to get the 'redirection' to https working with the following entry in web.xml (amongst other

java.net.BindException: Address already in use

2007-06-29 Thread Bruno Vilardo
Hello All, Linux 2.6.9-55.ELsmp tomcat.version=5.5.9 java version = 1.5 We have an application that uses Tomcat and Java (Sorry I am newbie to this topic). This morning our Tomcat server stopped and When we try to startup, it says it is started but I can not connect to the Tomcat Admin Page

Re: What is Tomcat 6 status?

2007-06-29 Thread Michael Jouravlev
On 6/29/07, Johnny Kewl [EMAIL PROTECTED] wrote: As for not including every concievable library and framework, thank goodness or else it would be huge. TC supports a huge array of frameworks. Many people dont use tags, some like Struts, others prefer a pure MVC model... etc etc. Struts is not

Re: How do I set maxage on the JSESSIONID cookie?

2007-06-29 Thread Jesse Barnum
Well, you can set the max age on a cookie to something 0, which means that it will persist for that amount of time, even if the user's browser window is closed. I'm just trying to figure out if there is a way to tell Tomcat to set that property on the cookies that it creates to store the

RE: how to pop up a window requested by server

2007-06-29 Thread Asensio, Rodrigo
A very simple solution to implement a 'push' concept with your UI 100% html/ajax is having a hidden applet to use as client and send messages to the current page or another hidden iframe who refresh the main chat program. Is what Charles is saying but with the UI done in html Regards Rodrigo

Re: Tomcat adding files

2007-06-29 Thread Tim Funk
Look at projects such as tiles. An alternative is to use jsp preludes. Which allow you to add stuff to the beginning or end of all jsp pages. For example: put this in web.xml: jsp-config jsp-property-group url-pattern*.jsp/url-pattern

Re: Old Chestnut (http - https) causing some confusion

2007-06-29 Thread Tim Funk
What you'll really want is to ditch the transport guarantee clause in web.xml and create a filter which will be smart enough to force/unforce you from SSL. For example: doFilter(...) { boolean isSSLRequired = magicYesNo(request); if (isSSLRequired !request.isSecure()) {

Re: How do I set maxage on the JSESSIONID cookie?

2007-06-29 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 All, Jesse Barnum wrote: Well, you can set the max age on a cookie to something 0, which means that it will persist for that amount of time, even if the user's browser window is closed. I'm just trying to figure out if there is a way to tell

Re: Old Chestnut (http - https) causing some confusion

2007-06-29 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Tim, Tim Funk wrote: What you'll really want is to ditch the transport guarantee clause in web.xml and create a filter which will be smart enough to force/unforce you from SSL. Why do this when the security-constraint already allows you to

RE: What is Tomcat 6 status?

2007-06-29 Thread Caldarale, Charles R
From: Hassan Schroeder [mailto:[EMAIL PROTECTED] Subject: Re: What is Tomcat 6 status? I don't believe that's true. The JSP spec defines Tag Libraries, and an Expression Language (EL) that's used by the JSTL -- but I don't see a definition of the JSTL features in either JSP 2.0 or 2.1...

Re: java.net.BindException: Address already in use

2007-06-29 Thread Tim Funk
1) You kill tomcat. kill -9 2) Then figure out why tomcat is still running (kill -3 to create a stack trace) In reality - you want to get the stacktrace before you run the kill -9 -Tim Bruno Vilardo wrote: Hello All, Linux 2.6.9-55.ELsmp tomcat.version=5.5.9 java version = 1.5 We have an

Re: What is Tomcat 6 status?

2007-06-29 Thread Hassan Schroeder
On 6/29/07, Michael Jouravlev [EMAIL PROTECTED] wrote: Struts is not part of JSP 2.1 spec, but JSTL is. Therefore I don't understand why Tomcat 6 implements some JSP 2.1 features like standard JSP actions, and does not implement JSTL, which is PART OF JSP SPEC. I don't believe that's true.

Re: Old Chestnut (http - https) causing some confusion

2007-06-29 Thread Tim Funk
security-constraint only works to say I want pages to be encrypted. Not the latter. The typical complaint is a developer wishes to encrypt the login process and nothing else. security-constraint only guarantees that your pages are secure - but does nothing to get you away from ssl. Of

Re: 2 webapps using shared jar (ClassLoader problem)

2007-06-29 Thread Kevin Wilhelm
Nobody any idea on this? :( - Original Message - From: Kevin Wilhelm [EMAIL PROTECTED] To: users@tomcat.apache.org Sent: Thursday, June 28, 2007 2:34 PM Subject: 2 webapps using shared jar (ClassLoader problem) I deployed a shared jar file on Tomcat that is to be used by two Spring

RE: Null

2007-06-29 Thread gb1071nx
Sigh. -Original Message- From: domenico di leo [mailto:[EMAIL PROTECTED] Sent: Friday, June 29, 2007 1:10 PM To: Tomcat Users List Subject: Re: Null Obviovusily you don't compare two string in this way! if (null == rs.getString(col_foo)) The right manner is: if

RE: 2 webapps using shared jar (ClassLoader problem)

2007-06-29 Thread Caldarale, Charles R
From: Kevin Wilhelm [mailto:[EMAIL PROTECTED] Subject: Re: 2 webapps using shared jar (ClassLoader problem) Nobody any idea on this? :( You already figured out the problem: classes from different webapps cannot access each other - no ifs, ands, or buts. Anything that is to be accessed

Re: java.net.BindException: Address already in use

2007-06-29 Thread Bruno Vilardo
Hello Everyone!!! Thanks for the response TIM.. I guess we found what was going on.. THere was another person working with Tomcat and he was restarting Tomcat at the same time I was shutdown it. So after I called this person, we were able to startup Tomcat Successfully. Thanks everyone.

Re: Null

2007-06-29 Thread domenico di leo
Obviovusily you don't compare two string in this way! if (null == rs.getString(col_foo)) The right manner is: if (rs.getString(col_foo).equals(null)){ .. } Your problem is Java not database On 29/06/07, Propes, Barry L [EMAIL PROTECTED] wrote: are you initializing variables for each

RE: Null

2007-06-29 Thread Gary Evesson
It's a classic! You should submit the conversation to http://worsethanfailure.com/. Gary Evesson Decentrix Inc -Original Message- From: gb1071nx [mailto:[EMAIL PROTECTED] Sent: Friday, June 29, 2007 12:13 PM To: Tomcat Users List Subject: RE: Null Sigh. -Original Message-

Re: How do I set maxage on the JSESSIONID cookie?

2007-06-29 Thread Eric Berry
You will probably have to write a valve for this. I had to write one to set the session cookie's domain so that it's a site wide domain. I posted the code to this mailing list a while back. If you do a search you should be able to find it, if not let me know I'll see if I can get a hold of it.

Re: Old Chestnut (http - https) causing some confusion

2007-06-29 Thread Tim Funk
It doesn't hurt -Tim Christopher Schultz wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Tim, Tim Funk wrote: security-constraint only works to say I want pages to be encrypted. Not the latter. Oh, of course. I hadn't really thought of that ;) The typical complaint is a developer

Re: Old Chestnut (http - https) causing some confusion

2007-06-29 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Tim, Tim Funk wrote: security-constraint only works to say I want pages to be encrypted. Not the latter. Oh, of course. I hadn't really thought of that ;) The typical complaint is a developer wishes to encrypt the login process and nothing

RE: Update Tomcat 5 - 6 .. JDBC driver problem

2007-06-29 Thread Leonardo Augusto
Hi, Tomcat 5.5.x, 6.0.13 ! Resource name=jdbc/Name auth=Container type=javax.sql.DataSource factory=org.apache.tomcat.dbcp.dbcp.BasicDataSourceFactory username=XXX password=XXX driverClassName=com.mysql.jdbc.Driver url=jdbc:mysql://domain.com:3306/BASE?autoReconnect=true maxActive=10

Strange problem with virtual host

2007-06-29 Thread Toby Hobson
Hi guys, I'm experiencing some really strange behaviour with a new virtual host that I have created. Here's a little bit of background: I have two virtual hosts within my Engine: www.esuri-apartment.com and www.falconsoftware.co.uk. I also have the default localhost host. Everything works

Re: Strange problem with virtual host

2007-06-29 Thread Hassan Schroeder
On 6/29/07, Toby Hobson [EMAIL PROTECTED] wrote: Hi guys, I'm experiencing some really strange behaviour with a new virtual host that I have created. Here's a little bit of background: If the following is an actual copy/paste of your server.xml, you really need a better (XML-aware!) editor

Re: Strange problem with virtual host

2007-06-29 Thread Toby Hobson
Haha - well it was opened in vim (over an SSH terminal), then I removed all the comments - I'll admit it's not the prettiest xml :-) - Original Message From: Hassan Schroeder [EMAIL PROTECTED] To: Tomcat Users List users@tomcat.apache.org; Toby Hobson [EMAIL PROTECTED] Sent: Friday, 29

RE: Strange problem with virtual host

2007-06-29 Thread Caldarale, Charles R
From: Toby Hobson [mailto:[EMAIL PROTECTED] Subject: Re: Strange problem with virtual host Haha - well it was opened in vim (over an SSH terminal), then I removed all the comments - I'll admit it's not the prettiest xml :-) It's not just not pretty - it's completely erroneous. As

Re: Strange problem with virtual host

2007-06-29 Thread Toby Hobson
Sorry, that's the last time i'll try cut and paste in vim Here's the actual file: !-- Example Server Configuration File -- !-- Note that component elements are nested corresponding to their parent-child relationships with each other -- !-- A Server is a singleton element that represents

RE: Strange problem with virtual host

2007-06-29 Thread Caldarale, Charles R
From: Caldarale, Charles R [mailto:[EMAIL PROTECTED] Subject: RE: Strange problem with virtual host From: Toby Hobson [mailto:[EMAIL PROTECTED] Subject: Re: Strange problem with virtual host Here's the actual file: The one sent in the most recent message has only two Host

Re: Strange problem with virtual host

2007-06-29 Thread Toby Hobson
Third time lucky ... !-- Example Server Configuration File -- !-- Note that component elements are nested corresponding to their parent-child relationships with each other -- !-- A Server is a singleton element that represents the entire JVM, which may contain one or more Service

Re: Strange problem with virtual host

2007-06-29 Thread Toby Hobson
I've just realised that the last two host elements have appbase attributes, not appBase Sorry :-( by the way, is there a DTD or schema for server.xml? - Original Message From: Toby Hobson [EMAIL PROTECTED] To: Tomcat Users List users@tomcat.apache.org Sent: Friday, 29 June, 2007

RE: Strange problem with virtual host

2007-06-29 Thread Caldarale, Charles R
From: Toby Hobson [mailto:[EMAIL PROTECTED] Subject: Re: Strange problem with virtual host I've just realised that the last two host elements have appbase attributes, not appBase That will do it. By the way, you also have a mixture of line terminators; the original used just line feeds,

Re: How do I set maxage on the JSESSIONID cookie?

2007-06-29 Thread Jesse Barnum
Eric, I found your code, so I'll try to modify it for my needs. I've never written a valve before, so wish me luck! Chris, this is an internal application which will not be accessed by more than 7 people, so the server session timeout will be 48 hours. The idea is for the application to be

Failure to file Listener

2007-06-29 Thread russ_2007
I have a web application. The application uses a Portlet and Java Server Faces. The web.xml looks like this ?xml version=1.0 encoding=UTF-8? web-app xmlns=http://java.sun.com/xml/ns/j2ee; xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance; version=2.4

setting up and configuring Apache TomCat6.0.13 to be used for .JSP developement

2007-06-29 Thread Josh Fern
I am trying to set up Apache Tomcat6.0.13 for jsp development. I have followed all instructions I can find for installation. I installed java jdk1.6.0_01. I set the port for Tomcat to 80, the JavaHome environment variable to C:\Program Files\Java\jdk1.6.0_01 and the ClassPath to

[SOLVED] Re: How do I set maxage on the JSESSIONID cookie?

2007-06-29 Thread Jesse Barnum
Eric, that worked - your code was very helpful, thanks. I wound up doing it as a Filter instead of a Valve, so that it would not be tied to Tomcat. Here is the code in case anybody else would find it useful: --Jesse Barnum, President, 360Works http://www.360works.com (770) 234-9293

order of web app initialization.

2007-06-29 Thread suchitha koneru
Hello Tomcat users , Iam using Tomcat 5.520 . I have three web application contexts Context A, B and C. I have a requirement because of which Context A should start Before B and C. All the web applications contexts are placed as WARS under Tomcat/webapps. How can we indicate the order

Re: [SOLVED] Re: How do I set maxage on the JSESSIONID cookie?

2007-06-29 Thread Martin Gainty
Curious as to why you're writing a Filter Are you modifying Request Headers or the Request itself? Thx, M-- This email message and any files transmitted with it contain confidential information intended only for the person(s) to whom this email message is addressed. If you have received this

Re: Using Tomcat 5.5.23 with jdk 1.6.0_1

2007-06-29 Thread Li
Hi Caldarale, Thanks for your comments. I had the same compatibility problem on Fedora, by copying the tool.jar - although it is not a good idea- it worked out. Anyway, thanks for your comments. Regards Li On 6/29/07, Caldarale, Charles R [EMAIL PROTECTED] wrote: From: Li [mailto:[EMAIL

Re: Using Tomcat 5.5.23 with jdk 1.6.0_1

2007-06-29 Thread Martin Gainty
FYI: surname follows the familiar so if my name was 'Cat Dog' you would say Hi Cat (familiar) or Hello Mr Dog (formal) Glad to hear that worked for you.. 'Cat Dog' This email message and any files transmitted with it contain confidential information intended only for the person(s) to whom this

Re: Failure to file Listener

2007-06-29 Thread russ_2007
For the good of the group: The issue was the fact the jar files for myfaces were not loaded on the server. russ_2007 wrote: I have a web application. The application uses a Portlet and Java Server Faces. The web.xml looks like this ?xml version=1.0 encoding=UTF-8? web-app

Re: order of web app initialization.

2007-06-29 Thread David Smith
There is no guarantee of any order in initializing contexts. You would better spend your time designing webapps B and C to deal with the possibility webapp A isn't running. Or at least design them to deal with the possibility that they may start out of order. This has also been answered on

CGIServlet

2007-06-29 Thread Robert J. Carr
I'd like to use some basic CGI in my webapp but I don't want to rely on server admins to set it up per the directions of the how to (found at http://tomcat.apache.org/tomcat-5.5-doc/cgi-howto.html). When I follow those directions, everything works fine, however I'd like to put the CGIServlet

WebdavServlet

2007-06-29 Thread Robert J. Carr
I'd like to add the webdav servlet to my own web application. I can do this and it works, but it treats the root of my webapp as the root of the dav share. I would like to have my webapp do more than webdav, so I was hoping I could specify that only a portion of my webapp is visible to dav. I