how to detect the servlet at the start-up

2005-03-17 Thread Xiaoyu Tang
configuration is missing? Thanks a lot for help. Clayton Tang - Do you Yahoo!? Yahoo! Small Business - Try our new resources site!

error at Configure Tomcat and Monitor Tomcat

2005-02-04 Thread Suzanne Tang
I installed Tomcat 5.5 on Windows 2000 using automatic installation. Everything works fine except 'Configure Tomcat' and 'Monitor Tomcat' programs. When I try to use these programs, an Application system error box always pops up with message like An instance of 'Tomcat5' application is already

getRemoteHost return IP address

2004-07-09 Thread Michael Tang
I am using Tomcat 4.0.6 and our customer ran into a weird and hard-to-reproduce problem. From the log, we see within one servlet, HttpServletRequest.getRemoteHost return host name (enableLookups=true in server.xml). However, during the running, one HttpProcessor thread suddenly switch to

Re: getRemoteHost return IP address

2004-07-09 Thread Michael Tang
Tang wrote: : I am using Tomcat 4.0.6 and our customer ran into a weird and : hard-to-reproduce problem. From the log, we see within one servlet, : HttpServletRequest.getRemoteHost return host name (enableLookups=true in : server.xml). However, during the running, one HttpProcessor thread

Re: org.apache.jk.common.ChannelSocket processConnection INFO: connection timeout reached

2004-04-20 Thread Thomas Tang
Hello, I get the same messages in my log, but the application appears to work without a hitch. I was never able to figure out what the cause of this is, or if I should even be concerned with it? One of my programmers tells me this is related when a client abruptly terminates a session. Im not

Re: How to set up JAVA_OPTS while running tomcat as a service

2004-04-02 Thread Thomas Tang
Hi, You would need to specify this prior to starting up Tomcat. Just set your environment variables accordingly and fire up the tomcat afterwards. Thomas Mandy Joss [EMAIL PROTECTED] 04/02/2004 11:54 AM Please respond to Tomcat Users List [EMAIL PROTECTED] To [EMAIL PROTECTED] cc Subject

Re: Apache not starting with Mod_JK

2004-03-17 Thread Thomas Tang
Post up your httpd.conf and jk configurations. Joseph Shraibman [EMAIL PROTECTED] 03/17/2004 03:58 PM Please respond to Tomcat Users List [EMAIL PROTECTED] To Tomcat Users List [EMAIL PROTECTED] cc Subject Re: Apache not starting with Mod_JK Seems strange that apache would complain

RE: why should i run apache to install tomcat4.1.29

2004-02-18 Thread Thomas Tang
The only time you really need Apache web server along with Tomcat is if there are some basic functionality in apache that you need that Tomcat currently doesnt provide. I.E. mod_rewrite, or some other custom module. In theory you can change the source to do X Y and Z but if apache which has a

Re: JkMount and /*/servlet/

2004-02-18 Thread Thomas Tang
Did you try ? JkMount /*/servlet/* local Thomas seph [EMAIL PROTECTED] 02/18/2004 01:01 PM Please respond to Tomcat Users List [EMAIL PROTECTED] To [EMAIL PROTECTED] cc Subject JkMount and /*/servlet/ I'd like to have apache proxy all jsp and servlets to an underlying tomcat, but

Re: JkMount and /*/servlet/

2004-02-18 Thread Thomas Tang
Ive seen cases where one JkMount setting conflicts with another JkMount setting. Try moving the first JkMount setting to the bottom or remove it totally even. See if that works. Thomas seph [EMAIL PROTECTED] 02/18/2004 01:25 PM Please respond to Tomcat Users List [EMAIL PROTECTED] To

Re: jsp deployment

2004-02-13 Thread Thomas Tang
Hi all, Do the logs give any indication as to where Tomcat is looking for the jsp files? A 404 error does not sound like a permissions problem. It sounds like a context setting might be off somewhere. Thomas Jerry Ford [EMAIL PROTECTED] 02/13/2004 11:03 AM Please respond to Tomcat Users

Re: jsp deployment

2004-02-13 Thread Thomas Tang
Cut and paste your context settings. Thomas Jerry Ford [EMAIL PROTECTED] 02/13/2004 11:33 AM Please respond to Tomcat Users List [EMAIL PROTECTED] To Tomcat Users List [EMAIL PROTECTED] cc Subject Re: jsp deployment Hmmm...when I go to http://localhost/mywebapp, it works fine. When

RE: jsp deployment

2004-02-13 Thread Thomas Tang
/web-app Thomas Tang wrote: Cut and paste your context settings. Thomas Jerry Ford [EMAIL PROTECTED] 02/13/2004 11:33 AM Please respond to Tomcat Users List [EMAIL PROTECTED] To Tomcat Users List [EMAIL PROTECTED] cc Subject Re: jsp deployment Hmmm...when I go to http://localhost

Re: Workaround for JK Bug

2004-02-13 Thread Thomas Tang
Is this issue only in the binary release or all releases? I have jk 1.2.4 with apache 1.3.29 compiled from source on solaris but have not observed this problem. David Rees [EMAIL PROTECTED] 02/13/2004 02:12 PM Please respond to Tomcat Users List [EMAIL PROTECTED] To Tomcat Users List

Re: Forms Authentication

2004-01-07 Thread Tang Wern Chait
I too need to access login page directly because, of Apache redirection to Tomcat, cannot find the login page directly. Let's say, main_page.htm is a secure page. Typing the url 'http://localhost/webapplication/main_page.htm' should bring up the login page. But it just gives me 'Error

Apache redirection to Tomcat, but with JDBC security realms

2004-01-06 Thread Tang Wern Chait
Has anyone tried Apache redirection to Tomcat, on Java code that makes uses of JDBD security realms? Assuming the redirection from Apache to Tomcat works fine when I type 'http://localhost/examples/servlets/index.html' But for my own code, I include url 'alerts.do' inside

questions related to context root configuration on tomcat 4.1.27 ...

2003-09-08 Thread Kenneth Tang
Hi, I have questions related to context root configuration on tomcat 4.1.27. For our company's web application, we put our application specific files under WEB-INF. During startup, our application checks if those files are there and startup our application based on

questions related to context root configuration on tomcat 4.1.27 ...

2003-09-08 Thread Kenneth Tang
Hi, I have questions related to context root configuration on tomcat 4.1.27. For our company's web application, we put our application specific files under WEB-INF. During startup, our application checks if those files are there and startup our application based on

Re: UTF-8 problems

2003-08-03 Thread Tang Guangyu
This problem was caused by your browser. The browser will use its own encoding to encode form values post back. You need set proper encoding to request - request.setEncoding(BROWSER_ENCODING). Or you can write a filter to simplify your work. - Original Message - From: Nathan Coast [EMAIL

Re: Tomcat startup problems

2003-08-03 Thread Tang Guangyu
It seems caused by a wrong user realm configuration. Check server.xml under %TOMCAT_HOME%/conf, remove or correct user realm part. - Original Message - From: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Sunday, August 03, 2003 8:26 AM Subject: Tomcat startup problems Hello, I am

Re: web.xml:session-timeout error

2003-07-27 Thread Tang Guangyu
Please pay attention to position of session-config tag of web.xml. In Servlet2.3 DTD, session-config should be placed after servlet tag. Check http://java.sun.com/dtd/web-app_2_3.dtd for more detail. - Original Message - From: john-paul delaney [EMAIL PROTECTED] To: Tomcat Users List

Re: [FileUpload]

2003-07-24 Thread Tang
It seems no way to save file field automatically in IE. My solution is let user upload each file to server temporary, I will create a file list for them so they can edit each file (to delete or what else). I will save all files to file system when user decided to submit all. It is same as

Re: War files don't work

2003-07-24 Thread Tang
Hi, all you need to do is place WAR file into webapps directory, Tomcat will unpack for you. If you don't pack web application into WAR file. You should copy web application directory into webapps directory and config context parameter. You can check tomcat-docs for more configuration details.

Re: Help needed in configuring tomcat 4.1.24

2003-07-24 Thread Tang
Hi, your server.xml file isn't a well form xml file, so XML parser reports error. It seems no way to place a comment block into a tag. So you should remove !--WEB_PORT-- tag from server.xml when done. - Original Message - From: René Vangsgaard ML [EMAIL PROTECTED] To: 'Sarika Inamdar '

Re: tomcat web application manager question

2003-07-24 Thread Tang
Q1. Format of war file is same as jar file. So you can use jar to pack web application into war. For example, you want to pack examples to war, change to webapps/examples directory, enter 'jar cf examples.war *', it is done. Q2. JSP only can be run at J2EE Web Container, like Tomcat, iPlanet,

Re: tomcat startup problem

2003-07-24 Thread Tang
Open catalina.log in e:/tomcat4.1/logs directory for detail. I guess some wrong in server.xml config file. - Original Message - From: Gayathrie Gunawardene [EMAIL PROTECTED] To: [EMAIL PROTECTED] Cc: [EMAIL PROTECTED]; [EMAIL PROTECTED]; [EMAIL PROTECTED] Sent: Tuesday, July 22, 2003 2:14

Re: Tomcat deployment under Unix

2003-07-24 Thread Tang Guangyu
Add unpackWARs=true to Host parameter in server.xml. (Host unpackWARS=true ...) Restart Tomcat, it will work. BTW, using jar tool to check your WAR file format, (jar tf myapp.war) Are you transfer war file to unix host with binary mode? - Original Message - From: Blanchet Samuel [EMAIL

Creating a custom realm [I don't know how]

2003-07-23 Thread Hung Tang
Hi there, How do I create my own custom realm and plug it into Tomcat for my web application? I created CustomRealm that implements Realm. But when I added a realm element in my context.xml and loaded up my application, it complained that CustomRealm could not be found (ClassNotFoundException).

method to retrieve the port number specified in conf/server.xml

2003-07-17 Thread Alan Tang
redirectPort=8443 acceptCount=10 debug=0 connectionTimeout=6 / I appreciate your comments! Alan Tang Lucent Technologies.

passing parameters to another JSP page

2003-06-20 Thread Alan Tang
Could anybody tell me what's wrong here? Does Tomcat need a special configuration to support passing parameters to another JSP page, or I need to use a latter version of Tomcat? Thanks much! - Alan S. Tang Lucent Technologies [EMAIL PROTECTED]

Re: passing parameters to another JSP page

2003-06-20 Thread Alan Tang
Stefan, Thanks so much for your response! It works. I spent almost a whole day trying to figure it out but failed! RGS, Alan Tang - Original Message - From: Stefan Radzom [EMAIL PROTECTED] To: 'Tomcat Users List' [EMAIL PROTECTED] Sent: Friday, June 20, 2003 9:56 PM Subject: RE: passing

Internal server error only on first run tomcat 4.x + apache 2.0x + modjk2 + winxp

2003-03-29 Thread Henry Tang
Hi, I am getting this error below only on the first service for apache. After this error, all other pages served will be fine. Error is produced after the server hangs for a while around 2 minutes. Anyone experiencing the same problem? thanks henry Internal Server Error The server encountered

Re: javabean constructors

2003-03-16 Thread Henry Tang
http://java.sun.com/products/jsp/tags/11/syntaxref1115.html read above. - Original Message - From: Michael Ni [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Saturday, March 15, 2003 7:51 PM Subject: javabean constructors can someone explain to me how contructors work with java beans in

enctype=MULTIPART/FORM-DATA problem apache 2.0? modjk2?

2003-03-16 Thread Henry Tang
hi, I am not sure what is going on but the code i wrote that allows you to upload pictures to server using enctype=muiltipart/form-data post method behaves differently between in linux apache 1.3 and tomcat 4.12 with web app and winxp tomcat 4.13, mod_jk2 and apache 2.x. The image uploaded to

Re: javabean question

2003-03-15 Thread Henry Tang
if i have a C:\Tomcat 4.1\webapps\ROOT\WEB-INF\classes\database\DBConstants.class that i want to use in my file, C:\Tomcat 4.1\webapps\ROOT\WEB-INF\classes\database\DBPoolBean.java how do i import the DBConstants bean to my DBPoolBean? they are in the same package, database, by the way.

Re: javabean help

2003-03-14 Thread Henry Tang
import the package import package.name -henry SEE MY ONLINE STORE! http://www.yucreation.com/home/istore/ - Original Message - From: Michael Ni [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent:

Re: Mod_jk on WinXP (revisited)

2003-03-06 Thread Henry Tang
All i know is that you don't need to do that for apache 2.0 - Original Message - From: Denise Mangano [EMAIL PROTECTED] To: 'Tomcat Users List' [EMAIL PROTECTED] Sent: Thursday, March 06, 2003 9:52 AM Subject: RE: Mod_jk on WinXP (revisited) OK... I tried AddModule mod_jk.c and the

Re: A question regarding accessing parameters after the ? in a URL

2003-03-06 Thread Henry Tang
try + - Original Message - From: Mufaddal Khumri [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Thursday, March 06, 2003 5:41 AM Subject: Re: A question regarding accessing parameters after the ? in a URL When I do a getParameterNames() . i get the id back ... but

Re: when are the java files compiled?

2003-03-06 Thread Henry Tang
You need to compile it manually. If you are making it as some sort of package make sure it falls within the proper path If it is a jar file, you can put it in lib directory. This is how mine is done. You will then need to restart your tomcat and it shoudl work henry - Original Message

Re: when are the java files compiled?

2003-03-06 Thread Henry Tang
does anyone have a good example using a javabean to establish connection to a datebase. im trying to figure out the best way to reuse code. i can try one of the following methods: Check out test java files that came with mysql or postgres. I know mysql has one. You can easily covert it for

Re: Tomcat on WinXP (Solved??)

2003-03-05 Thread Henry Tang
mine worked without the environments you mentioned, but i would put it in because i had to do it to get my mod_jk2 to work.. Not sure why either and i think that was what caused my mod_jk2 not working.. will investigate later. - Original Message - From: Denise Mangano [EMAIL PROTECTED]

Re: Important - Apache-Tomcat Module Choice

2003-03-04 Thread Henry Tang
webapp is definitely easier to implement, but i think it only supports non windows based sever for current releases. So i think mod_jk is the way to go since mod_jk2 is so hard to set it up..Anyone got it running? - Original Message - From: Selvaraj N [EMAIL PROTECTED] To: Tomcat Users

Re: Important - Apache-Tomcat Module Choice

2003-03-04 Thread Henry Tang
) -Original Message- From: Henry Tang [mailto:[EMAIL PROTECTED] Sent: Tuesday, March 04, 2003 12:56 PM To: Tomcat Users List; [EMAIL PROTECTED] Subject: Re: Important - Apache-Tomcat Module Choice webapp is definitely easier to implement, but i think it only supports non windows based

jk2 apache 1.3 and tomcat 4.1

2003-03-03 Thread Henry Tang
Hi, Has anyone got this jk2 connector to work wtih apache 1.3 and tomcat 4.1 If you did could i see your worker2.properties. Also is this right for jk2 for apache setup. in the httpd.conf you have to add loadmodule for jk2 and also add mod_jk.c file? thanks -henry

Re: 3.3.1 Standalone and Client-Auth

2003-02-12 Thread Alex Tang
On Tue, Feb 11, 2003 at 10:42:33PM -0800, Bill Barker wrote: Alex Tang [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... Hi folks. I was wondering if it's possible to get client certificate information from tomcat (3.3.1) when running STANDAL

3.3.1 Standalone and Client-Auth

2003-02-11 Thread Alex Tang
Hi folks. I was wondering if it's possible to get client certificate information from tomcat (3.3.1) when running STANDALONE (e.g. NOT using mod_jk or an external webserver). I can setup tomcat so that it requires client-auth properly, however I don't seem to be able to programmatically get at

Fw: Help for integration between Tomcat 4.1 and Apache 2.0

2003-01-26 Thread Tang Dong
- Original Message - From: Tang Dong To: [EMAIL PROTECTED] Sent: Sunday, January 26, 2003 11:42 PM Subject: Help for integration between Tomcat 4.1 and Apache 2.0 Hi, I get problem when try to integrate tomcat 4.1 with apache 2.0. The log file says: [Sun Jan 26 23:33:07

help -- tomcat naming service problem

2002-09-18 Thread c tang
Hi, I updated from tomcat4.0.3 to tomcat4.1.10 and have problem to disable naming service. To connect to Borland appserver, I have to disable tomcat naming service by issue the following command, catalina run -nonaming. However, when I tried to do the same for tomcat4.1.10, an exception is

charset fail to set browser encoding

2002-06-14 Thread Kenneth Tang
Hi, I am new in using Tomcat. I got a problem in displaying i18n char in jsp page. I got a simple jsp page as below: html head META http-equiv=Content-Type content=text/html; charset=gb2312 /head font face=Verdana, Arial, Helvetica, sans-serifbfont size=3×¢²á/font/b/font The charset have

mod_webapp.so download

2002-05-03 Thread Donald Tang
anybody have mod_webapp.so compiled with the -DEAPI flags successfully? i've been trying to do so for the last few hours and have run into a host of problems...where is it available for download..? thanks. -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL

RE: mod_webapp.so download

2002-05-03 Thread Donald Tang
of operating systems in which you can find the binary of mod_webapp.so. Hope this helps u out. ..Raj -- On Fri, 3 May 2002 04:54:14Donald Tang wrote: anybody have mod_webapp.so compiled with the -DEAPI flags successfully? i've been trying to do so for the last few hours and have run into a host

Apache and Tomcat and mod_webapp issues.

2002-05-01 Thread Donald Tang
I am having trouble getting Tomcat and Apache to work together. Apache is segfaulting like crazy, and I am assuming this has something to do with the problem. When I try to load any page that is designated as an webapp (/examples/ for example), nothing is returned by the request. With Tomcat

error running filter in tomcat4.0.2

2002-02-21 Thread c tang
Hi, I am running tomcat4.0.2 on winnt. I tried to run xmlfilter(http://www.servletsuite.com/) and got an error during startup. The author suggested to get a patch for tomcat. Any ideas? 2002-02-21 11:13:21 StandardContext[/xmlfilter]: Exception starting filter XMLFilter

Re: jsptl help ???

2002-01-21 Thread c tang
. Fernando - Original Message - From: c tang [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Friday, January 18, 2002 12:07 PM Subject: jsptl help ??? Hi, I looked at jsptl and it is not obvious how to do what you suggested about without using scriptlet. Could you help

problem when running tiles-template example

2002-01-07 Thread c tang
Hi all, I downloaded tiles (nov 2, 2001 build) and deployed the examples in tomcat4.01. The tiles-doc and tiles-channel applications work fine. The problem is with the tiles-template, which returns a empty page. Here is the output in tomcat log for tiles-template: 2002-01-07 09:40:08

tomcat4 naming context

2001-11-14 Thread c tang
Hi all, I am writing an app in which a web component accesses ejbs in an appserver (borland appserver). The appserver has its naming service running and all ejb register with it. If the naming service in tomcat is running, lookup for ejbs will fail. This is not an option. If the naming

Re: Tomcat running but problem with IIS

2001-06-26 Thread Hoang Tang
unsubscribe _ Get your FREE download of MSN Explorer at http://explorer.msn.com

NoSuchMethodError exception when executing Element.normalize

2001-06-12 Thread c tang
URL url = new URL(location); Hi there, I've been trying to deploy my app into tomcat. It works fine for tomcat3.1, however, I got a exception error, java.lang.NoSuchMethodError, when deploying it into tomcat3.2.1. The exception occurrd in root.normalize() line. Here is a piece of

Error when shutdown tomcat

2001-03-16 Thread Tang, Jinan
Hi, When I run the shutdown.bat I got the following errors: ... Is the error comes from the configuration or a bug in the tomcat? Thanks. J. Tang

RE: where does one find instructions on configuring IIS with tomcat as a servlet runner?

2001-01-30 Thread Jun Tang
Here is one: http://jakarta.apache.org/tomcat/jakarta-tomcat/src/doc/tomcat-iis-howto.html -Original Message-From: Betty Chang [mailto:[EMAIL PROTECTED]]Sent: Friday, January 26, 2001 10:13 PMTo: [EMAIL PROTECTED]Subject: where does one find instructions on configuring IIS

Re: WML Generation from JSP broken!!!!

2000-11-29 Thread Alex Tang
Is there a way to get the compiler to ignore the "?xml version="1.0"?" syntax? Otherwise this means that serving any page that is XML compliant (WML, XHTML, etc) now requires a complete rewrite of all JSP files to run in 4.0. Thanks. ...alex... "Craig R. McClanahan" wrote: Davanum

XML, DTD, Tomcat

2000-10-30 Thread Alex Tang
Hi folks. I've got a servlet (actually a couple) that are doing some XML parsing (Mainly SAX, some DOM). The only problem I seem to be having is that when if I have a XML file that looks like this: ?xml version="1.0" encoding="UTF-8"? !DOCTYPE taglist SYSTEM "taglist.dtd" Tomcat