Out of memory

2005-08-11 Thread Yun Yang
. Thanks, Yun Yang - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Tomcat 5.0.28 and JPDA

2005-07-31 Thread Andy Yang
Hi there, I'm just trying to start up a standalone instance of Tomcat 5.0.28 in a Windows XP environment (non-service) with JPDA and I'm getting the following error when I execute: catalina.bat jpda run Error [2] in connect() call! err:: No such file or directory Socket transport failed to init.

email from tomcat

2005-06-14 Thread Jenny Yang
Can anyone tell me how to use email from tomcat? I was given that task to do before my summer internship starts. I did numerous google searches, and checked out Tomcat books at the bookstore. I haven't found anything helpful besides this list. Thanks. Jenny Yang Dream your dreams

Minimum Memory Requirement for TC 5.0.x

2005-01-12 Thread Yang Xiao
Hi all, What is the minimum memory requirement to run TC 5.0.x in a Linux environment? or is there such a thing? I can't find it anywhere, which is kind of amusing. Many thanks, Yang - To unsubscribe, e-mail: [EMAIL PROTECTED

Strange problem

2004-12-10 Thread Yang Xiao
html pages works fine, any ideas? Also, there were no error messages in the log either, a tcpdump indicates the server terminates the connection right after the http requst was sent from the browsers (I tried both IE and firefox) Many thanks!! Yang

Re: off topic - how do i convert an int to char

2004-12-07 Thread Yang Xiao
make a hash or array? On Tue, 7 Dec 2004 10:34:15 -0500, Nilesh Bhattad [EMAIL PROTECTED] wrote: folks, sorry for posting this offtopic qns here.. but would someone plz help me out in converting an int value to char? my requirement is very simple. i'm looping thro a list and for each

Question about memory

2004-05-06 Thread Yang Xiao
are started with -Xms64 -Xmx256 Yang Here's the top output 11:01:35 up 2 days, 15:28, 2 users, load average: 0.65, 0.20, 0.07 381 processes: 379 sleeping, 2 running, 0 zombie, 0 stopped CPU states: cpuusernice systemirq softirq iowaitidle total

RE: Question about memory

2004-05-06 Thread Yang Xiao
Hi, I have development set to false and fork to true, tomcat still doesn't release the memory, any ideas? Thanks, Yang -Original Message- From: Randall Svancara [mailto:[EMAIL PROTECTED] Sent: Thursday, May 06, 2004 11:32 AM To: Tomcat Users List Subject: RE: Question about memory Just

RE: where to define path to workers2.properties

2004-05-06 Thread Yang Xiao
Hi, By default it's your ${serverRoot}/conf dir, but you can do this LoadModule jk2_module modules/mod_jk2.so JkSet config.file /usr/local/apache/conf/workers2.propertie yang -Original Message- From: Stefan Burkard [mailto:[EMAIL PROTECTED] Sent: Thursday, May 06, 2004 3:14 PM

RE: Question about memory

2004-05-06 Thread Yang Xiao
-Original Message- From: Wade Chandler [mailto:[EMAIL PROTECTED] Sent: Thursday, May 06, 2004 2:55 PM To: Tomcat Users List Subject: Re: Question about memory Yang Xiao wrote: Hi, I have development set to false and fork to true, tomcat still doesn't release the memory

RE: Question about memory

2004-05-06 Thread Yang Xiao
-Original Message- From: Wade Chandler [mailto:[EMAIL PROTECTED] Sent: Thursday, May 06, 2004 6:34 PM To: Tomcat Users List Subject: Re: Question about memory Yang Xiao wrote: -Original Message- From: Wade Chandler [mailto:[EMAIL PROTECTED] Sent: Thursday, May 06

RE: Mod_JK2 not sure if correctly setup!

2004-05-04 Thread Yang Xiao
The actual content of your workers2.properties and jk2.properties file would be helpful to us, don't you think? -Original Message- From: JimmiSeven Productions Inc. [mailto:[EMAIL PROTECTED] Sent: Tuesday, May 04, 2004 1:01 PM To: [EMAIL PROTECTED] Subject: Mod_JK2 not sure if correctly

RE: Mod_JK2 not sure if correctly setup!

2004-05-04 Thread Yang Xiao
Hi, Everything looks fine, do you have the AJP connector defined in the server.xml file? yang -Original Message- From: JimmiSeven Productions Inc. [mailto:[EMAIL PROTECTED] Sent: Tuesday, May 04, 2004 1:46 PM To: Tomcat Users List Subject: Re: Mod_JK2 not sure if correctly setup! Yes

RE: servlet.http?

2004-04-23 Thread Yang Xiao
Hi You need to include the servlet-api.jar under $CATALINA_HOME/common/lib in your classpath. Yang -Original Message- From: Kalin Mintchev [mailto:[EMAIL PROTECTED] Sent: Friday, April 23, 2004 4:03 AM To: [EMAIL PROTECTED] Subject: servlet.http? hi all... this is my first question

RE: [newbie] tomcat5+apache2 virtual hosting

2004-04-22 Thread Yang Xiao
Wow, correct me if I'm wrong, but doesn't test.jsp have to be somewhere under $CATALINA_HOME/ROOT no matter how you configure your virtual host in Apache? Yang -Original Message- From: Mark Page [mailto:[EMAIL PROTECTED] Sent: Thursday, April 22, 2004 1:48 PM To: Tomcat Users List

Catalina.sh startup options

2004-04-21 Thread Yang Xiao
Hi list, Can someone point me to a link with the complete catalina.sh startup options and their descriptions? I'm trying to figure out some of the parameters I have seen people using, but can't find any documentation for it. Thanks, Yang

RE: Catalina.sh startup options

2004-04-21 Thread Yang Xiao
Sorry, I found those are the java options, not Catalina.sh specific. -Original Message- From: Yang Xiao [mailto:[EMAIL PROTECTED] Sent: Wednesday, April 21, 2004 11:14 AM To: Tomcat Users List Subject: Catalina.sh startup options Hi list, Can someone point me to a link

RE: differences between java -s Vs java -X when the JVM is r unning

2004-04-21 Thread Yang Xiao
I think it might be java -server got cut off to java -s Try ps -elf see if that's the case, I don't see a -s option for java. Yang -Original Message- From: Software [mailto:[EMAIL PROTECTED] Sent: Wednesday, April 21, 2004 11:40 AM To: Tomcat Users List Subject: differences between java

Virtual host setup

2004-04-20 Thread Yongsheng Yang
Hello , I want to setup several virtual hosts in a single Tomcat. I want to use Name-based approach. For this approach, several virtual hosts share a single IP address. So I have to bind different web services to same address? for instance, the address of www.1.com and www.2.com is same and point

RE: Connecting the HTTP Server and Tomcat

2004-04-19 Thread Yang Xiao
Hi, The jsvc utility in commons-daemon is just for this purpose, it allows you to specify a user TC should run as, and if you read the INSTALL.txt and Tomcat5.sh under native/ you will know it's very easy to change the startup method. Yang -Original Message- From: SH Solutions [mailto

RE: Classpath problems with tomcat on Linux 9

2004-04-19 Thread Yang Xiao
Hi, You need the %@ page import=package % directive to tell it where to look for it. Yang -Original Message- From: Andy Wadsworth [mailto:[EMAIL PROTECTED] Sent: Monday, April 19, 2004 3:11 PM To: Tomcat Users List Subject: Re: Classpath problems with tomcat on Linux 9 Still no luck

RE: How to really destroy a Session

2004-04-16 Thread Yang Xiao
That's if it's a session cookie, is it? You can always use the Cookie API to force the cookie to expire. -Original Message- From: Mike Curwen [mailto:[EMAIL PROTECTED] Sent: Friday, April 16, 2004 9:56 AM To: 'Tomcat Users List' Subject: RE: How to really destroy a Session The cookie is

RE: Load balancing with apache2, mod_jk2 tomcat 5.0

2004-04-15 Thread Yang Xiao
the differnet tomcat servers, and does not have anything to do with load balancing. Thanks, -Tom --- Yang Xiao [EMAIL PROTECTED] wrote: Hi, Did you restart the Apache2 server? My understanding is JK only reloads it only if the section you modified in workers.properties has ver defined. Also, check your

RE: Load balancing with apache2, mod_jk2 tomcat 5.0

2004-04-15 Thread Yang Xiao
timcatid values to the jvmRoute property, correct? Engine name=Catalina defaultHost=localhost debug=0 jvmRoute=psahammerhead -Tom --- Yang Xiao [EMAIL PROTECTED] wrote: This is pretty much what I have and it works fine. [logger] level=DEBUG [config:] debug=0 debigEnv=0 [uriMap:] info

Access Manager and Admin utilities with load balancing enabled

2004-04-15 Thread Yang Xiao
jvmRoute=tomcat1 but I can no longer access the admin and manager utilities, please help. Yang

RE: looking for jk2

2004-04-15 Thread Yang Xiao
http://www.reliablepenguin.com/clients/misc/tomcat/ -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Thursday, April 15, 2004 11:18 AM To: [EMAIL PROTECTED] Subject: looking for jk2 I'm running Tomcat 4.1.18 and apache 1.3 on linux Mandrake 9.0 I'm trying to

RE: auto generation of mod_jk.conf in tomcat 5

2004-04-15 Thread Yang Xiao
workersConfig=/usr/local/tomcat/conf/workers.properties / That's all there is to it. Yang -Original Message- From: Emerson Cargnin [mailto:[EMAIL PROTECTED] Sent: Thursday, April 15, 2004 12:35 PM To: Tomcat Users List Subject: auto generation of mod_jk.conf in tomcat 5 When we used tomcat 3.2.3

RE: Load balancing with apache2, mod_jk2 tomcat 5.0

2004-04-15 Thread Yang Xiao
page, kind of strange. Yang -Original Message- From: Thomas D. Zeimet [mailto:[EMAIL PROTECTED] Sent: Thursday, April 15, 2004 4:55 PM To: Tomcat Users List Subject: RE: Load balancing with apache2, mod_jk2 tomcat 5.0 Does the shm play a role in this? I note that you have the following

Tomcat 5 Manager utility + JVM Route

2004-04-14 Thread Yang Xiao
Hi list, I've configured jvmRoute using the following directive in the server.xml file for load balancing Engine name=Standalone defaultHost=localhost debug=0 jvmRoute=tomcat1 but I can no longer access manager utility anymore, does anyone know why and how I can still access it? Thanks, Yang

RE: Load balancing with apache2, mod_jk2 tomcat 5.0

2004-04-14 Thread Yang Xiao
Hi, I think you need to further define the workers with {ajp13:psahammerhead:8009] channel=channel.socket:psahammerhead:8009 group=lb ... etc hope this helps. Yang -Original Message- From: Thomas D. Zeimet [mailto:[EMAIL PROTECTED] Sent: Wednesday, April 14, 2004 10:17 AM To: [EMAIL

RE: Load balancing with apache2, mod_jk2 tomcat 5.0

2004-04-14 Thread Yang Xiao
Hi, Did you restart the Apache2 server? My understanding is JK only reloads it only if the section you modified in workers.properties has ver defined. Also, check your jk.log and Catalina.log files for errors. Yang -Original Message- From: Thomas D. Zeimet [mailto:[EMAIL PROTECTED] Sent

RE: Apache2+Jk2+Tomcat5

2004-04-13 Thread Yang Xiao
-Original Message- From: QM [mailto:[EMAIL PROTECTED] Sent: Monday, April 12, 2004 8:18 PM To: Tomcat Users List Subject: Re: Apache2+Jk2+Tomcat5 On Mon, Apr 12, 2004 at 07:37:31PM -0400, Yang Xiao wrote: : I'm trying to get Apache 2.0.49/JK2/Tomcat 5.0.19 to work : I was able to get

RE: JK2 JNI link bug [Was: Re: Apache2+Jk2+Tomcat5]

2004-04-13 Thread Yang Xiao
-Original Message- From: Nikola Milutinovic [mailto:[EMAIL PROTECTED] Sent: Tuesday, April 13, 2004 1:49 AM To: Tomcat Users List Subject: JK2 JNI link bug [Was: Re: Apache2+Jk2+Tomcat5] Yang Xiao wrote: Hi list, I'm trying to get Apache 2.0.49/JK2/Tomcat 5.0.19 to work I was able

RE: JK2 JNI link bug [Was: Re: Apache2+Jk2+Tomcat5]

2004-04-13 Thread Yang Xiao
Hem, unfortunately, I tried that, which worked, but then tomcat complains about another XML library not being linked. I'm building Apache from scratch now... please help. Yang -Original Message- From: Nikola Milutinovic [mailto:[EMAIL PROTECTED] Sent: Tuesday, April 13, 2004 3:02 PM

Apache2+Jk2+Tomcat5

2004-04-12 Thread Yang Xiao
Hi list, I'm trying to get Apache 2.0.49/JK2/Tomcat 5.0.19 to work I was able to get JK2 to compile and placed the mod_jk2.so and libjkjni.so in /usr/local/apache/modules But when I start the Tomcat server, I'm getting this error INFO: APR not loaded, disabling jni components:

RE: Tomcat (4.1) doesn't answer

2004-04-08 Thread Yang Xiao
sometimes. Try #service iptables stop Yang - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Apache with JK ApacheConfig Class not found!

2004-04-08 Thread Yang Xiao
Hi list, I'm trying to configure JK 1.2.5 with Apache 2.0.49 and Tomcat 5.0.19, and I have added the following lines to the server.xml file: Under Server container Listener className=org.apache.ajp.tomcat5.config.ApacheConfig modJk=/usr/local/apache/modules/mod_jk.so / and under Host Listener

RE: Apache with JK ApacheConfig Class not found!

2004-04-08 Thread Yang Xiao
Argh, found through the old archives, it's changed to org.apache.jk.config.ApacheConfig Yang -Original Message- From: Yang Xiao [mailto:[EMAIL PROTECTED] Sent: Thursday, April 08, 2004 2:16 PM To: 'Tomcat Users List' Subject: Apache with JK ApacheConfig Class not found! Hi list, I'm

Please help! Error reading server.xml

2003-09-18 Thread Yang Soon Chiao
Dear Alll, Anyone have any ideas of this? ERROR reading /usr/local/jakarta-tomcat-4.1.27/conf/server.xml At line 24 /Server/Listener/ className=org.apache.catalina.mbeans.ServerLifecycleListener debug=0 Catalina.start:java.lang.ClassNotFoundException:

Error reading server xml

2003-09-17 Thread Yang Soon Chiao
Everything work fine but suddently it comes out with this error message. Please advice. Thanks. ERROR reading /usr/local/jakarta-tomcat-4.1.27/conf/server.xml at line 24 /Server/Listener/ className=org.apache.catalina.mbeans.ServerLifecycleListener debug=0

Error reading server xml

2003-09-17 Thread Yang Soon Chiao
: Re: Error reading server xml do you have a type somewhere, your to classes are different org.apache.catalina.mbenas.ServerLifecycleListener look at the spelling of mbean Filip - Original Message - From: Yang Soon Chiao [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED

Re: cannot start tomcat

2003-09-15 Thread Yang Soon Chiao
- how did you install it? Yoav Shapira Millennium ChemInformatics -Original Message- From: Yang Soon Chiao [mailto:[EMAIL PROTECTED] Sent: Friday, September 12, 2003 3:49 AM To: [EMAIL PROTECTED] Subject: cannot start tomcat using Tomcat 4.1.27 with Red Hats 8.0 and J2SDK 1.4.1 and I

Question on Follow Sym Link

2003-09-13 Thread John Z Yang
Dear all: I have seen this question floating around, but just can't dig the answer out. Does anyone know how to let Tomcat follow symbolic links? Just like the FollowSymLink option in Apache configuration. I need to redirect the ROOT directory. I remember the older version of Tomcat does this,

Error Report

2003-09-13 Thread John Z Yang
Hi, Is there a way to send a customized error report when our servlet or Tomcat run into something wrong? Instead of sending all the detailed stack dump, a more friendly message to our customers might be better. I would appreciate it very much if someone can give me some pointers on how to

cannot start tomcat

2003-09-12 Thread Yang Soon Chiao
using Tomcat 4.1.27 with Red Hats 8.0 and J2SDK 1.4.1 and I got this error messages when starting tomcat. I attached my server.xml. Below is the errormessage i get from catalina.out: ERROR reading

Re: Simple question on Unicode URL in Tomcat

2003-06-03 Thread John Z Yang
Dear all: I have a simple question regarding to the Unicode URL support in Tomcat. If I pass a Unicode URL to Tomcat, can it retrieve the targeted content? Some of our web pages are named under double byte characters. We have tried various ways but all have failed. If you have a work around,

Does Tomcat support Unicode URL

2003-06-03 Thread John Z Yang
We still have not figure out a way to resolve doublebyte URL's with Tomcat. I.E. if we have an jsp or htm file name which is in Unicode, it seems that tomcat has no way to load that page. We tried to encode the characters with % URL encoding, but seems not working. Can anyone help? Thanks. John

Simple question on Unicode URL in Tomcat

2003-06-02 Thread John Z Yang
Dear all: I have a simple question regarding to the Unicode URL support in Tomcat. If I pass a Unicode URL to Tomcat, can it retrieve the targeted content? Some of our web pages are named under double byte characters. We have tried various ways to make it work but all failed. If you have a work

Tomcat 4.1.8 and httpd-2.0.40-11

2003-02-17 Thread Xue-Feng Yang
Hi all, I tried to connect Tomcat 4.1.8 and Apache2(httpd-2.0.40-11 ) with jk2 on my redhat 8.0 box, where apach2 was installed when I installed Redhat 8.0. I use JDK 1.4.1. When I used ant to build native, I met some errors. I fixed one error: [so]

Re: Tomcat 4.1.18 and httpd-2.0.40-11

2003-02-17 Thread Xue-Feng Yang
Hi all, I tried to connect Tomcat 4.1.18 and Apache2(httpd-2.0.40-11 ) with jk2 on my redhat 8.0 box, where apach2 was installed when I installed Redhat 8.0. I use JDK 1.4.1. When I used ant to build native, I met some errors. I fixed one error: [so]

Help needed with Tomcat support for Double Byte Chars

2002-11-25 Thread John Z Yang
Hi, We are using Tomcat3.3.1 and Oracle on Linux. When we enter DoubleByte Chars (CJK, GB2312) in jsp form input, Tomcat turns the characters into 's. The only way we can get around this problem now is to set the IE browser to check the temporary files everytime. Does anyone knows how to

please unsubscribe me from the list,thanks

2002-11-22 Thread yang huijuan
_ The new MSN 8: advanced junk mail protection and 2 months FREE* http://join.msn.com/?page=features/junkmail -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]

How to configure tomcat to forbid indexing of a directory

2002-11-18 Thread John Z Yang
Dear all: I am puzzled that in Apache the httpd.conf has a directive Options Indexes to turn directory mapping on and off, but for tomcat there seems no way to block the user from viewing the directory structure unless you create an index.jsp file. Can anyone give me a pointer to the

unable to read uploaded document

2002-10-11 Thread Yang
. Did anybody know how to work this issue? Thanks in advance! Yang __ Do you Yahoo!? Faith Hill - Exclusive Performances, Videos More http://faith.yahoo.com -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail

Where is the examples for Tomcat 4.03 linux/rpm?

2002-03-17 Thread Xue-Feng Yang
Where is the examples for Tomcat 4.03 linux/rpm? __ Find, Connect, Date! http://personals.yahoo.ca -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list:

mod_webapp.so problem

2002-03-16 Thread Xue-Feng Yang
OS: RedHat 7.1 Apache: RedHat default installation, apache-1.3.20-16 Tomcat: 4.01 [warn] Loaded DSO modules/mod_webapp.so uses plain Apache 1.3 API, this module might crash under EAPI! (please recompile it with -DEAPI) Any suggestion?

Is there a forum for Jboss/Tomcat?

2002-03-08 Thread Xue-Feng Yang
I am looking for a forum for Jboss/Tomcat. If anyone knows a link, please let me know. __ Find, Connect, Date! http://personals.yahoo.ca -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL

RE: SSL problem with tomcat 4.0.2

2002-02-20 Thread Xue-Feng Yang
, Tomcat cannot actually rely on any keystore except the default one, which on W2K seems to appear as C:\\Documents and Settings\\YOURUSERNAME\\.keystore HTH, Scott -Original Message- From: Xue-Feng Yang [mailto:[EMAIL PROTECTED]] Sent: Wednesday, February 20, 2002 2:25 PM

where to configure ?

2002-01-23 Thread Yang wanqiang
hi! I have a web application developed on Redhat7.1+Apache+Tomcat+mysql, Now I can input http://host/App/index.jsp or http://host/app/ or http://host/index.jsp in IE to enter my application, but what I want is just input http://host and then I can start my application. Where I can

newbie install error

2001-08-16 Thread Chuq Yang
. TIA. Chuq Chuq Yang UNIX Administrator Bigfoot Communications LLC [EMAIL PROTECTED]

Re: newbie install error

2001-08-16 Thread Chuq Yang
Rob, I just tried that, but I'm getting the same error. Any other thoughts? Chuq On Thu, 16 Aug 2001, Rob S. wrote: Exception in thread main java.lang.NoClassDefFoundError: org/apache/tools/ant/Main This is a problem with 'ant', another Jakarta subproject. Have you set an

Does Tomcat work with MS proxy server?

2001-06-12 Thread Sam Yang
Hi, I am trying to use Tomcat 3.2.1 on my NT 4 server with IIS 4 and Microsoft Proxy Server installed. Now Tomcat is working fine with iis via localhost so I can access http://127.0.0.1/examples/jsp/index.html or http://127.0.0.1:8080/examples/jsp/index.html. But I can't make it accessible

RE: response.sendRedirect vs. requestDispatcher.forward

2001-05-30 Thread A Yang
to be another servlet, you may redirect to an ASP or a static page. New request and response are created. It seems strange that the session is not maintained, though, since both requests come from the same browser. Perhaps it's a bug? Un saludo, Alex. A Yang wrote: Hi All

response.sendRedirect vs. requestDispatcher.forward

2001-05-29 Thread A Yang
Hi All, Does anyone know offhand whether the Java Servlet specification requires a new HttpSession to be created when using HttpServletResponse.sendRedirect()? In a servlet, I was using: getServletConfig().getServletContext().getRequestDispatcher(/Result.jsp).forward(req, resp); at the end of

RE: ***** URGENT: UNSUBSCRIBING FROM THE TOMCAT-USER LIST *****

2001-05-16 Thread Yang,Chun
The problem with my mailer (MS Outlook) is that I don't see a return-path line. One odd thing is that unsubscribe doesn't seem to work EVEN if one has sent the unsubscribe request via his/her subscribing address. I know for sure it has failed on me. I am positive about my subscribing address

Re: Compilation error of tomcat3.2.1 integrating with apache1.3.19

2001-05-04 Thread Wei Yang
for jk_jni_worker.c because of no such variable defined error for handle. Regards, Yang Wei - Original Message - From: Marc-henri PAMISEUX [EMAIL PROTECTED] To: [EMAIL PROTECTED]; [EMAIL PROTECTED] Sent: Friday, May 04, 2001 6:15 PM Subject: Re: Compilation error of tomcat3.2.1 integrating

Compilation error of tomcat3.2.1 integrating with apache1.3.19

2001-05-03 Thread Wei Yang
will be appreciated. Thanks in advance. Yang Wei

Build error

2001-04-26 Thread Shih Chin Yang
Hi! I just downloaded Tomcat 3.2.1 source, then followed the README to build, unfortunately I got the following error message BUILD FAILED /usr/local/shih/jakarta/jakarta-tomcat/build.xml:94: Cannot use classic compiler, as it is not available A common solution is to set the environment

Re: Build error

2001-04-26 Thread Shih Chin Yang
are on unix, use the command echo $JAVA_HOME to see its definition. I think the JAVA_HOME environment variable is not used by jdk at all. Barbara Baughman On Thu, 26 Apr 2001, Shih Chin Yang wrote: Hi! I just downloaded Tomcat 3.2.1 source, then followed the README to build, unfortunately

Re: Caching a servlet? Sessions in IE?

2001-03-26 Thread A Yang
Have you tried setting the cache and expire headers? Try addding: response.setHeader("Cache-Control","no-cache"); //HTTP 1.1 response.setHeader("Pragma","no-cache"); //HTTP 1.0 response.setDateHeader ("Expires", 0); //prevents caching at the proxy server I have the following:

Caching a servlet? Sessions in IE?

2001-03-25 Thread A Yang
Hi, This is a weird one that we can only reproduce in IE. Netscape works fine. I'm using Tomcat 3.2.1 with Apache via mod_jk. I have a "Main Menu" servlet that forwards the user through a series of JSP/servlet sequences based on a parameter that identifies which "item" was selected in the Main

Configuring mod_jk

2001-03-23 Thread A Yang
Hello Everyone, I was just wondering if anyone could help make sure I've got mod_jk configured properly. Assuming my host name is www.myhost.com and I have a servlet context called /tomcat. In my httpd.conf, I have my DocumentRoot set to the /tomcat document root (for the sake of testing). I

Checking for timed-out sessions

2001-03-23 Thread A Yang
Hi, Can anyone tell me what the proper convention for checking for invalidated sessions is? Do people really write code checking for whether the session is valid EVERY time they are about to refer to one? And if so, do they just examine the LastAccessedTime and create a new session accordingly?

Re: referer

2001-03-01 Thread paxson yang
Carlos wrote: can any body say me how can i in a JSP page detect which is the referer page? from which page comes the visit? thanks Carlos - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email:

Question about sessions

2001-02-16 Thread A Yang
If I instantiate a javabean from a JSP: jsp:useBean id="myBean" class="com.mycorp.somebean" scope="session" jsp:setProperty name="myBean" property="*"/ /jsp:useBean and hand off control to a servlet where I retrieve the session using: HttpSession session = req.getSession(false); Shouldn't

Running Tomcat as non-root

2001-02-06 Thread A Yang
Hello All, Can anyone tell me how to set up directory permissions to permit running Tomcat as a non-root user? According to previous posts in the mailing list, I should be using 'su - nobody' when kicking off Tomcat, but nobody doesn't have authorities to write to usr/local. What is the best

Re: Running Tomcat as non-root

2001-02-06 Thread A Yang
/usr/local/tomcat doesn't necessarily have to be owned by root. The only thing you need to so is make sure that whichever user you run tomcat as has write permissions to the logs, conf and work directories (those are the only ones Tomcat writes to I think). I was a little iffy about

ClassCastException

2001-02-05 Thread Yang,Chun
Hello all, I am encountering a ClassCastException when compiling a JSP page in the following scenario: 1) a servlet MyInitServlet creates an object MyObject and saves it to the context by getServletContext().setAttribute("myobj", MyObject); 2) a JSP page tries to

RE: ClassCastException

2001-02-05 Thread Yang,Chun
Nope, MyObject is not defined as an inner class and is already in a .java file by itself. Any more thoughts on this one ? -Original Message- From: Shahed Ali [SMTP:[EMAIL PROTECTED]] Sent: Monday, February 05, 2001 6:22 PM To: [EMAIL PROTECTED]

starting Tomcat with nobody in RH Linux

2001-02-03 Thread A Yang
Hello all, There has been a fair bit written about starting up Tomcat under a non-root account, but I'm too much of a Linux admin newbie that I'm having trouble putting it all into context. I have Apache running under nobody, but I'm having trouble getting Tomcat to. I try to startup Tomcat

starting Tomcat with nobody in RH Linux

2001-02-03 Thread A Yang
Hello all, There has been a fair bit written about starting up Tomcat under a non-root account, but I'm too much of a Linux admin newbie that I'm having trouble putting it all into context. I have Apache running under nobody, but I'm having trouble getting Tomcat to. I try to startup Tomcat

when do i need and how can I update(deploy )

2001-01-24 Thread dong yang
the war file? thx Andre Yang __ Do You Yahoo!? Gesendet von Yahoo! Mail - http://mail.yahoo.de - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands

how class reloading without shutdown-startup

2001-01-24 Thread dong yang
the class, shall I edit the web.xml file? or even redeploy the war file? thx Andre Yang __ Do You Yahoo!? Gesendet von Yahoo! Mail - http://mail.yahoo.de

unable to open tablibrary

2001-01-18 Thread Yang,Chun
Can someone please shed some light on this one ? I know, I know. This _should_ have been posted to the taglib user mailing list and it has been! The problem is there doesn't seem to be a lot of traffic on that mailing list and I haven't received any meaningful help/suggestion.. Thanks for

Large Scale Tomcat use

2001-01-12 Thread A Yang
Hi, I was just curious - if I wanted to architect a multi-tier web app environment, what would be the best approach in terms of scalability, performance and security: 1. Apache -- Firewall -- Standalone Tomcat -- Firewall -- DB 2. Apache -- Firewall -- Apache/Tomcat -- Firewall -- DB 3.

the archive

2001-01-11 Thread Yang,Chun
Please bear with my ignorance. But what is the URL for the mailing list archive ? I subscribed through the page http://jakarta.apache.org/site/mail.html and didn't see any link pointing to the archive... Thanks. - To