Re: tomcat4.1 for windows,pl

2004-03-24 Thread yuni indrasary
--- Parsons Technical Services [EMAIL PROTECTED] wrote: Try this And give it another try. Thank you very much for the help Doug, but it still give an error message that was start with: Apache Tomcat/4.1.29-Error report HTTP Status 500-Exception report message description The Server

Re: default Locale, how to set or change

2004-03-24 Thread staf wagemakers
On Tue, Mar 23, 2004 at 04:01:04PM -0500, Paul wrote: how does the default Locale get set in Java 1.4 / Tomcat 4.x? having an issue with real numbers displaying with commas instead of period for decimal separator. currently have en_CA locale, but want en_US locale. I usually create a

Re: http://localhost/ works but http://ip address/ doesn't

2004-03-24 Thread Ted Anagnost
Hello Doug, Last thing first. I did find you can set the IP with address=??? in the server.xml. Check for this. Unless you have a specific need to you can remove it. It's not there. Another thing is I tried to ping the computer again from a different external computer and got back no

mod_jk 1.3 and apache 1.3 VirtualHost section

2004-03-24 Thread Michael Kastner
Hello, I got a problem getting the servlets examples and the admin application via mod_jk 1.3 connector to work. I can call the servlets-examples' main page but receive a server error when I want to call a particular servlet example. The jsp-examples work, by the way. First: To me, it

RE: http://localhost/ works but http://ip address/ doesn't

2004-03-24 Thread Christopher Watson
Doug. Is your tomcat on port 80 or port 8080 ... You say If I try http://192.168.1.100:8080/, it works. Does http://192.168.1.100/ (i.e. default http port 80 equivalent to http://192.168.1.100:80/) work ? If both the above work, what is at port 80? IIS ? Apache? and what are you using to

XML format JSP document, and prelude problem

2004-03-24 Thread Keith Hyland
Hi, I'm trying to create jsp documents (ie. all syntax written in valid xml). In order to do this documents must be contained within a jsp:root element, e.g. jsp:root version=2.0 !-- Rest of doc -- /jsp:root For standalone pages this works fine. My problem is that I am also using a prelude

Re: catalina-ant task (deploy) question

2004-03-24 Thread Harry Mantheakis
Brice I may have got you wrong, and I cannot offer any solutions specific to your questions (because I am in a hurry!) but here is how I sorted things out for myself recently, using what I know as the Tomcat 'manager' tasks, but which I assume are the same as what you refer to as the

Re: TC5 Nightly : ClassCastException using Cluster manager

2004-03-24 Thread Remy Maucherat
Aadi Deshpande wrote: As an additional side effect, since this is happening on session expiry the session count keeps getting higher and higher... right now I have 8942 sessions on a single instance! :-) This problem occurs with which Tomcat releases ? -- x Rémy

Re: Tomcat 5 Multiple SSL certificates (virtual hosts)

2004-03-24 Thread D'Alessandro, Arthur
Thanks... Would be nice to utili1 keystore aliases..but that'll work -Original Message- From: Peter Rossbach [mailto:[EMAIL PROTECTED] Sent: Wed Mar 24 02:46:17 2004 To: Tomcat Users List Subject:Re: Tomcat 5 Multiple SSL certificates (virtual hosts) Hello Arthur, I have

Re: mod_jk 1.3 and apache 1.3 VirtualHost section

2004-03-24 Thread staf wagemakers
Hi Michael, You're using Jkmount /servlet which is probably incorrect, you must use the same url as in tomcat. The correct location for the examples servlets is /servlets-examples/servlet: JkMount /servlets-examples/servlet worker1 The idea behind jk is to let apache serve all static content

Re: tomcat4.1 for windows,pl

2004-03-24 Thread Jon Wingfield
I just looked at the code you posted. I think it's a NullPointerException within line 33 of your LoginServlet int kode = Integer.parseInt(request.getParameter(kode)); This will throw an NPE if the kode parameter is not set... Is your MIDLet TextField empty when you get this error? If not, check

Re: Tomcat 5 Multiple SSL certificates (virtual hosts)

2004-03-24 Thread D'Alessandro, Arthur
Was looking for such an attribute.. I'll have to investigate again, thanks. -Original Message- From: Bill Barker [mailto:[EMAIL PROTECTED] Sent: Wed Mar 24 02:11:52 2004 To: [EMAIL PROTECTED] Subject:Re: Tomcat 5 Multiple SSL certificates (virtual hosts) IMHO, using

HTTP Status 404 -- Please Help

2004-03-24 Thread chanho
I have setup Tomcat 5 with Apache 2, Java SDK 2 and JK2. However, I got the following error when try to run a test.jsp. HTTP Status 404 - /test.jsp type Status report message /test.jsp description The requested resource (/test1.jsp) is not available. Apache Tomcat/5.0.19 Here is my setting:

HTTP Status 404 -- Please Help

2004-03-24 Thread chanho
I have setup Tomcat 5 with Apache 2, Java SDK 2 and JK2. However, I got the following error when try to run a test.jsp. HTTP Status 404 - /test.jsp type Status report message /test.jsp description The requested resource (/test1.jsp) is not available. Apache Tomcat/5.0.19 Here is my setting:

HTTP Status 404 -- Please Help

2004-03-24 Thread chanho
I have setup Tomcat 5 with Apache 2, Java SDK 2 and JK2. However, I got the following error when try to run a test.jsp. HTTP Status 404 - /test.jsp type Status report message /test.jsp description The requested resource (/test1.jsp) is not available. Apache Tomcat/5.0.19 Here is my setting:

HTTP Status 404 -- Please Help

2004-03-24 Thread chanho
I have setup Tomcat 5 with Apache 2, Java SDK 2 and JK2. However, I got the following error when try to run a test.jsp. HTTP Status 404 - /test.jsp type Status report message /test.jsp description The requested resource (/test1.jsp) is not available. Apache Tomcat/5.0.19 Here is my setting:

HTTP Status 404 -- Please Help

2004-03-24 Thread chanho
I have setup Tomcat 5 with Apache 2, Java SDK 2 and JK2. However, I got the following error when try to run a test.jsp. HTTP Status 404 - /test.jsp type Status report message /test.jsp description The requested resource (/test1.jsp) is not available. Apache Tomcat/5.0.19 Here is my setting:

Re: HTTP Status 404 -- Please Help

2004-03-24 Thread staf wagemakers
you've to install the jsp in tomcat not in the apache docroot. -- Staf Wagemakers email: staf at patat.org homepage: http://staf.patat.org On Wed, Mar 24, 2004 at 06:41:18PM +0800, [EMAIL PROTECTED] wrote: I have setup Tomcat 5 with Apache 2, Java SDK 2 and JK2. However, I

Re: HTTP Status 404 -- Please Help

2004-03-24 Thread chanho
thx, I want to install JSP on my Apache document directory, is it possible. sorry I am newbie in JSP, please explain me more detail about what I have done wrong. - Original Message - From: staf wagemakers [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Wednesday, March 24, 2004 6:55 PM

RE: HTTP Status 404 -- Please Help

2004-03-24 Thread Adam Fowler
Aye, Just set up a context in Tomcat that points to the same directory as Apache is using. WARNING: Be sure to add a Directory Directive in Apache to Deny anyone from accessing the WEB-INF directory where your web.xml file (amongst other things) are kept. Adam. -Original Message- From:

realms - password digest schemas

2004-03-24 Thread Bartosz Lewandowski
Hi All, I have to migrate with user accounts from ldap server to db server. Until now I was using JNDIRealm, now I have to move DataSourceRealm. In the ldap directory user passwords are stored in {foo}passwd schema, where foo could be crypt, md5 or sha. Existing realms assume hardcoded digest

java.lang.NoClassDefFoundError: javax/mail/Address

2004-03-24 Thread Honza Spurn
Hi there, this is little bit about java, so it should not be here at the first view. I'm sorry for it. But on the second view: This error is seen when I want to initialize object that use some classes from javax.mail package for example javax.mail.Message). I don't have import javax.mail.Address

Re: HTTP Status 404 -- Please Help

2004-03-24 Thread chanho
I have add the line Context path= docBase=/usr/local/apache2/htdocs debug=0 reloadable=true crossContext=true/ to server.xml, but it still doesn't work, what do I need to do more for set the context. And please give me more information about the second point you state as I have no idea what is

Re: java.lang.NoClassDefFoundError: javax/mail/Address

2004-03-24 Thread Alex
activation.jar mailapi.jar make sure these are in your $CATALINA_HOME$/common/lib On Wed, 24 Mar 2004, [Windows-1252] Honza Spurný wrote: Date: Wed, 24 Mar 2004 12:33:17 +0100 From: [Windows-1252] Honza Spurný [EMAIL PROTECTED] Reply-To: Tomcat Users List [EMAIL PROTECTED],

RE: HTTP Status 404 -- Please Help

2004-03-24 Thread Adam Fowler
That path should actually have your context path in it. I.e. / not Adam. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: 24 March 2004 11:36 To: Tomcat Users List Subject: Re: HTTP Status 404 -- Please Help I have add the line Context path=

Re: Error Tomcat

2004-03-24 Thread Aquison - A. Angeloni Cia Ltda.
Because one JDK (1.3.0) is delivered for Progress Instalation, and i'm try running tomcat for this version. I've another question, Tomcat 4.1 runs with Java 1.3.0? Tks. Aquison - Original Message - From: Yansheng Lin [EMAIL PROTECTED] To: 'Tomcat Users List' [EMAIL PROTECTED] Sent:

RE: method=post but doGet() called - external redirects

2004-03-24 Thread Liviu Ionescu
When Tomcat sees a request for 'http://localhost:8080/mycontext' it sends back a response to redirect to 'http://localhost:8080/mycontext/'. This is so that relative links to things like images and stylesheets work correctly. If the browser conformed to the HTTP/1.1 RFC, it would

RE: method=post but doGet() called - external redirects

2004-03-24 Thread Adam Fowler
I am assuming you have a servlet at /mycontext-app/ ? Can't you just map the servlet instead to /mycontext ? Or am I missing something? Alternatively, is it possible to change your clients to add that extra / so: /mycontext/?x=a Adam. -Original Message- From: Liviu Ionescu

RE: method=post but doGet() called - external redirects

2004-03-24 Thread Liviu Ionescu
I am assuming you have a servlet at /mycontext-app/ ? that's correct. Can't you just map the servlet instead to /mycontext ? as far as I know I can't, the servlet for mycontext-app belongs to a separate webapp/context, while /mycontext in the root context. if we would have an

RE: HttpSession Replication in Tomcat Cluster not working with EJ B's!

2004-03-24 Thread Suraj Prabhu
Andy, I agree with your point about a SFSB being an extension of a client. But then, if I store the 'state' alone in the httpsession and update the state by using a new SFSB everytime, the whole concept of SFSB's are lost. I would rather use a stateless session bean and use httpsession for

Re: mod_jk 1.3 and apache 1.3 VirtualHost section

2004-03-24 Thread Michael Kastner
Hello Staf, dankuwel. Then I must have gotten it all wrong. If I recall the documentation properly - /servlet/* is supposed to work as a pattern for all directory paths where a directory called servlet is the _last_ directory in the path. Being followed by the ServletName. However, I can't

problem with tomcat 4.1.30, apache 2...

2004-03-24 Thread Dionisio Ruiz de Zarate
Hello i have one great problem. I am trying for solvig it during one week and i canot solve it. i have one linux machie (suse 9) with the 1.4.2_03 jdk instaled. the machine has the apache 2.0.48. i have download and install the tomcat 4.1.30 and i have the connectors source download and compile

Re: Error Tomcat

2004-03-24 Thread Tim Funk
Tomcat 4.X will run fine on jdk1.3 -Tim Aquison - A. Angeloni Cia Ltda. wrote: Because one JDK (1.3.0) is delivered for Progress Instalation, and i'm try running tomcat for this version. I've another question, Tomcat 4.1 runs with Java 1.3.0? Tks. Aquison

Re: Problem in Welcome-file-list and security

2004-03-24 Thread Tim Funk
Security constraints are in the incoming URL. [ Also welcome files *should*(but not required) be single files - not files buried under a directory. Good: welcome-filecowbell.jsp/welcome-file Bad: welcome-filemore/cowbell.jsp/welcome-file ] -Tim shanmugampl wrote: Hi, I am using 5.0.19 I

Re: HTTP Status 404 -- Please Help

2004-03-24 Thread staf wagemakers
The path is IMHO correct. The context below should work. Anyway, to find out why is doesn't work I would first test it with the tomcat built-in webserver (on port 8080). If it doesn't work on tomcat it will certainly not work on apache. So if you surf to http://localhost:8080/test.jsp do you

URL redirect problem, even with 'RequestDispatcher' servlet !

2004-03-24 Thread Hertenstein Alain
Hi all, This question has already been asked before, but the solutions found in the archives don't seem to work properly. I have a web site running on IIS and Tomcat 4.1.24 under the root context, let's say http://www.mysite.com When people access the URL, it automatically redirects to the

Re: URL redirect problem, even with 'RequestDispatcher' servlet !

2004-03-24 Thread Tim Funk
/ is also known as the default servlet. So your servlet will also need to server all static content too. -Tim Hertenstein Alain wrote: Hi all, This question has already been asked before, but the solutions found in the archives don't seem to work properly. I have a web site running on IIS

Re: problem with tomcat 4.1.30, apache 2...

2004-03-24 Thread staf wagemakers
What have you specified in your workers.properties? Normally you should have: worker.list=ajp13 ... worker.ajp13.port=8009 worker.ajp13.host=localhost worker.ajp13.type=ajp13 ... The ajp13 connector must be enabled in your server.xml. Try to telnet localhost 8009 to be sure. kind regards, --

Re: problem with tomcat 4.1.30, apache 2...

2004-03-24 Thread Dionisio Ruiz de Zarate
i have those lines in my workers.properties file worker.list=ajp13 worker.ajp13.port=8009 worker.ajp13.host=localhost worker.ajp13.type=ajp13 What have you specified in your workers.properties? Normally you should have: worker.list=ajp13 ... worker.ajp13.port=8009

iframe - dynamicaly generated pages

2004-03-24 Thread Rostislav Svoboda
Hi pple I make an information system: dbase(data) + tomcat(processing in servlets) + browser(html GUI) = The COOL I use iframe src=path/udp.html where udp.html is dynamicaly generated in a servlet and depends on an user logged in. (it displays navigation tree) It seems like I need to have a

Re: HTTP Status 404 -- Please Help

2004-03-24 Thread Chan Ho
thx very much, it works now. I put the Context path=... outside the Host.. - Original Message - From: staf wagemakers [EMAIL PROTECTED] To: 'Tomcat Users List' [EMAIL PROTECTED] Sent: Wednesday, March 24, 2004 9:05 PM Subject: Re: HTTP Status 404 -- Please Help The path is

Re: problem with tomcat 4.1.30, apache 2...

2004-03-24 Thread staf wagemakers
ok, looks good. Are you sure that the ajp13 connector is enabled in tomcat? Try to telnet to localhost port 8009, and see if you get a response. $ telnet localhost 8009 Trying 127.0.0.1... Connected to stafbox. Escape character is '^]'. If you get connection refused or something like that, the

RE: Configuration Help

2004-03-24 Thread LILES, DAVID (CONTRACTOR)
Ok, I've changed the server.xml file so that engine and at least one host reference localhost. The ultimate goal is to have Tomcat support multiple individual web applications and not have multiple context configurations for one host. Before, when the server.xml file was configured to use the

SSL Certificate

2004-03-24 Thread Reis, Tom
Is there a way to view a Verisign SSL certificate after it is imported into the .keystore file. It appears to be running but I wanted to check the dates to make sure that everything is good because I just renewed the certificate and I want to make sure that Tomcat is using this one.

RE: SSL Certificate

2004-03-24 Thread D'Alessandro, Arthur
keytool -list -v -Original Message- From: Reis, Tom [mailto:[EMAIL PROTECTED] Sent: Wednesday, March 24, 2004 9:37 AM To: Tomcat Users List (E-mail) Subject: SSL Certificate Is there a way to view a Verisign SSL certificate after it is imported into the .keystore file. It

Tomcat configuration

2004-03-24 Thread Reis, Tom
I am running Tomcat 4.03 on a windows 2K server with JDK1.3.1. I am confused on configuration and was hoping someone could clarify or point to documentation on it. I am confused on memory configuration do I change the memory configuration for java or for Tomcat. I am also not sure how to

Tomcat/Apache Port Settings

2004-03-24 Thread neil.2.robinson
I need to be able to run Apache HTTP Server and Apache Tomcat at the same time, but they are both on port 8080. How can I change the configuration of one of either the HTTP server or Tomcat to resolve this? Thanks

JSP suggestion

2004-03-24 Thread Edson Alves Pereira
Hello folks, i´d like to build a default jsp header to all my jsp´page, in this header i would put all taglibs and imports i need, but i in doubt about which is the best way to do it. Sould i make all others page extends this header page or do a @ page import in every page? Any idea?

RE: Apache+Tomcat + MOD_JK on different machine

2004-03-24 Thread Hari Om
Thanks again Randall and Henry for your reply... appreciate that! When I try http://my_web_server/abc, it shows HTTP 400-Bad Request BUT when I try http://my_web_server/pqr, it shows HTTP 404 - File Not Found BUT when I try http://my_web_server, it works fine...which means that APACHE IS NOT

Re: JSP suggestion

2004-03-24 Thread Adam Buglass
I use jsp:include page=header.jsp flush=true / HTH. Adam. On Wed, 2004-03-24 at 14:46, Edson Alves Pereira wrote: Hello folks, id like to build a default jsp header to all my jsppage, in this header i would put all taglibs and imports i need, but i in doubt about which is the best way

Re: Tomcat/Apache Port Settings

2004-03-24 Thread Michael Kastner
Hello Neil, under regular circumstances the HTTP server port should be set to listen on port 80. So you might want to change this setting in your httpd.conf file. Pretty much at the start of your httpd.conf file there should be a line like this: Listen *:80 or in your case Listen *:8080

Re: Tomcat configuration

2004-03-24 Thread Adam Brundrett
Hmm...not sure on Windows but on unix you set an environment variable called CATALINA_OPTS. Set the Xmx and Xms parameters to the amount of memory you want to dedicate to the heap. On our web server where we have 2GB ram I have: CATALINA_OPTS=-Xms=750m -Xmx=750m Tomcat then picks up this

Request character encoding

2004-03-24 Thread Victor Anyakin
Hello to all List Readers, Could you please tell, how HttpServletRequest CharacterEncoding is set? My JVM has default character encoding set to cp1251, JSP pages are set to be encoded in UTF-8 (by corresponding directives), and it seems that browsers return form data encoded also in UTF-8,

RE: Tomcat configuration

2004-03-24 Thread Dean Searle
If you want Tomcat to start as a service in Windows 2k you can use this program by Davis Boyer called Tomcat Service Manager at http://web.bvu.edu/staff/david/index.jsp?section=softwaresubsection=tcservcfgpage=overview I use this for both Tomcat 4.1 and Tomcat 5. This utility also let you set

Re: problem with tomcat 4.1.30, apache 2...

2004-03-24 Thread Dionisio Ruiz de Zarate
i make teklnet to the localhost 8009 and: server:/# telnet localhost 8009 Trying ::1... Connected to localhost. Escape character is '^]'. the connection is not refused whit the same configuration, the same configuration files, i have put the tomcat 4.1.27 and its mod_jk.so file and it runs

How to deploy a web application under Tomcat 5

2004-03-24 Thread Bachler, Elisabeth (Elisabeth)
Hello, I have installed Tomcat 5 under Solaris. Everything works fine. I now want to create my own application (MyApp) with the WEB-INF directory and so on. I do know there is a procedure to follow (you cannot just create the MyApp directory under the webapps dir!). I have read what the Tomcat

Esoteric class loading question/loading constraints/loader constraints

2004-03-24 Thread Eric M. Kascic
I am somewhat stupified by some class loading results I am seeing from Tomcat. If I put some class X that refers to class Y in my servlet jar, the WebappClassLoader loads X. I DO NOT put class Y in my servlet.jar. Instead, I put class Y in a jar that is put in common/lib. When Y is finally

Tomcat 4.1.30 + Apache 2.0.48: How to setup default codepage?

2004-03-24 Thread Sergei Dneprov
I use Windows 2000 Server SP 4 running Tomcat 4.1.30 as service. Apache 2.0.48 is ran on same server and connected to Tomcat via ajp13 using mod_jk-2.0.43.dll. How can I setup default codepage for web application, which use jsp and servlet pages. I know that contentType can be inserted

Re: JSP suggestion

2004-03-24 Thread Keith Hyland
Or you can specify a prelude.jspf file in your web.xml (I think this may only work with servlet spec 2.4 servers) (The prelude is added to the top of the file, the coda is added to the end of the file) jsp-config jsp-property-group display-nameallFiles/display-name

Where to find mod_jk2 for redhat?

2004-03-24 Thread Andy Grove
Hi, I'm using Apache 2.0.46 and Tomcat 4.1.29 on Red Hat Enterprise Linux and I am looking for the correct mod_jk2.so to use. There are no linux binary releases on the Jakarta site and the library that I use successfully on another redhat server gives me this error when starting Apache:

RE: Where to find mod_jk2 for redhat?

2004-03-24 Thread Dale, Matt
Try this HOWTO on building the connector http://cymulacrum.net/writings/tomcat5/book1.html -Original Message- From: Andy Grove [mailto:[EMAIL PROTECTED] Sent: 24 March 2004 16:01 To: [EMAIL PROTECTED] Subject: Where to find mod_jk2 for redhat? Hi, I'm using Apache 2.0.46 and Tomcat

Re: JSP suggestion

2004-03-24 Thread Tim Funk
It depends what you are trying to accomplish. If you are trying for common functionality at the beginning of a page - it might be better to have a custom tag at the beginnign of all your files which does the stuff you need. Otherwise (IMO) - standard imports (@file include) stink. Only import

RE: Esoteric class loading question/loading constraints/loader constraints

2004-03-24 Thread Caldarale, Charles R
From: Eric M. Kascic [mailto:[EMAIL PROTECTED] Subject: Esoteric class loading question/loading constraints/loader constraints Based upon my understanding of how the JVM tries to ensure type safety across ClassLoaders, StandardClassLoader loading the second version of class X should fail

Re: catalina-ant task (deploy) question

2004-03-24 Thread Brice Ruth
Thanks, Harry. I'll take a look at this and see what I can come up with ... Thanks again. Harry Mantheakis wrote: Brice I may have got you wrong, and I cannot offer any solutions specific to your questions (because I am in a hurry!) but here is how I sorted things out for myself recently,

RE: getContext Problem

2004-03-24 Thread Shapira, Yoav
Hi, For getContext() to work across contexts, you need to set crossContext=true on your context definition. This has negative security implications which is why this attribute is false by default. getRealPath of course has its own problems, namely crashing in a packed WAR. Yoav Shapira

RE: How to deploy a web application under Tomcat 5

2004-03-24 Thread Shapira, Yoav
Hi, Read the First Webapp guide: http://jakarta.apache.org/tomcat/tomcat-5.0-doc/appdev/index.html, especially the deployment organization. You can simply create these directories as you need. Yoav Shapira Millennium Research Informatics -Original Message- From: Bachler, Elisabeth

Tomcat 5 URL not displaying

2004-03-24 Thread LILES, DAVID (CONTRACTOR)
Can anyone tell me why I can not get the following URL to display despite having a host entry in my server.xml file? http://dev.dynamichostings.com I have Tomcat 5 installed on a Windows 2000 server with IIS 5. I have configured the isapi_redirector2.dll at the root server level and created a

RE: Esoteric class loading question/loading constraints/loader constraints

2004-03-24 Thread Shapira, Yoav
Hi, Your understanding is wrong: there can be one class X for each classloader. Your practice of using multiple classes with the same fully-qualified name in the same application is questionable, as it can easily lead to human errors. Yoav Shapira Millennium Research Informatics -Original

RE: Tomcat configuration

2004-03-24 Thread Shapira, Yoav
Howdy, change the heap size. Do I put a statement in the server.xml or is it something else. Is there documentation that tells you how to configure Tomcat. Thanks. Read the commented part of $CATALINA_HOME/bin/catalina.sh or catalina.bat that talks about JAVA_OPTS. It's not done in server.xml.

Re: How to deploy a web application under Tomcat 5

2004-03-24 Thread Chong Yu Meng
I have a tutorial on my site that you can use : http://cymulacrum.net/writings/tomcat5/book1.html Shapira, Yoav wrote: Hi, Read the First Webapp guide: http://jakarta.apache.org/tomcat/tomcat-5.0-doc/appdev/index.html, especially the deployment organization. You can simply create these

where to place the context for the default web application

2004-03-24 Thread Angelov, Rossen
Hi, According to the Server Configuration Reference, it is not recommended to place Context elements directly in the server.xml My question is where to place the context element for the default web application and how to name it because the context path in this case is a zero-length string?

JNDI Data Source in GlobalNamingResources for Tomcat 4.1.12

2004-03-24 Thread Li, Qiang
Is there anyone know how to set up JNDI datasource in GlobalNamingResources for Tomcat4.1.12? Qiang Li OMNI Information Technology Unit Washington State Department of Corrections (360)570-6921 - To unsubscribe, e-mail:

Tomcat 4.1.30 + Apache 2.0.48: How to setup default codepage?

2004-03-24 Thread Dneprov Sergei
I use Windows 2000 Server SP 4 running Tomcat 4.1.30 as service. Apache 2.0.48 is ran on same server and connected to Tomcat via ajp13 using mod_jk-2.0.43.dll. How can I setup default codepage for web application, which use jsp and servlet pages. I know that contentType can be inserted

RE: where to place the context for the default web application

2004-03-24 Thread Shapira, Yoav
Hi, The default web application is simply the one whose path (not docBase) is . You can name it and its context file anything you want, e.g. myapp.xml, and use whatever docBase you want. Yoav Shapira Millennium Research Informatics -Original Message- From: Angelov, Rossen

RE: where to place the context for the default web application

2004-03-24 Thread Angelov, Rossen
I called it default.xml and placed it under $CATALINA_HOME/conf/[enginename]/[hostname]/ directory. Looks like it's working. Thanks a lot, Ross -Original Message- From: Shapira, Yoav [mailto:[EMAIL PROTECTED] Sent: Wednesday, March 24, 2004 11:16 AM To: Tomcat Users List Subject: RE:

Tomcat 3.2.3 windows service

2004-03-24 Thread Dmitriy .
Hi I have Tomcat 3.2.3 and tried running it as a service on my Win2000 server and got the following error: --- The Jakarta service is starting. The Jakarta service could not be started. The service did not report an error. More help is available by typing NET HELPMSG 3534. -

RE : JSP suggestion

2004-03-24 Thread Hertenstein Alain
As for Servlet 2.3 specifications, you could easily create a Servlet Filter which would intercept all your requests based on your url-pattern (defined in web.xml), and which would do something like : RequestDispatcher reqDispatcher = request.getRequestDispatcher(header.jsp);

RE : URL redirect problem, even with 'RequestDispatcher' servlet !

2004-03-24 Thread Hertenstein Alain
How can my servlet serve static (or even dynamic) content in my case ? A forward doesn't seem to do the work (see my code below, since a forward would call the servlet again, which would do the forward again and so on...). -Message d'origine- De : Tim Funk [mailto:[EMAIL PROTECTED]

Re: RE : URL redirect problem, even with 'RequestDispatcher' servlet !

2004-03-24 Thread Tim Funk
To serve static content: 1) Read the resource using getResourceAsStream() and print it out OR 2) Extend the default servlet (from tomcat) and when you wish to serve static content call the super.doXXX() of what you need. -Tim Hertenstein Alain wrote: How can my servlet serve static (or even

Re: Configuration Help

2004-03-24 Thread Adrian Lanning
server.xml looks fine as far as I can tell. Here's what you should do: 1. Verify Tomcat host is working correctly. To verify that you've got tomcat working correctly with your domain name change your dev.dynamichostings.com host's appBase to be the same as localhost's and then try:

Server.xml - Connector configuration problem

2004-03-24 Thread armalai
Windows 2000 Timcat4.x Below is my Sever.xml connector configuration. Connector className=org.apache.coyote.tomcat4.CoyoteConnector port=8080 minProcessors=25 maxProcessors=200 enableLookups=true redirectPort=8443 acceptCount=1 debug=0 connectionTimeout=2

RE: Server.xml - Connector configuration problem

2004-03-24 Thread Shapira, Yoav
Hi, My Questions: 1.How do i determine how many concurrent users can hit my application.? You analyze the business requirements for the system, and then you run a stress test tool like JMeter to see how many concurrent users your system can handle before becoming unresponsive or crashing. You

RE: Configuration Help

2004-03-24 Thread LILES, DAVID (CONTRACTOR)
Oh My Gosh! Adrian, Apparently what was missing was the subfolder named dev.dynamichostings.com with the blank context. Everything else apparently was configured correctly. Once I created those items it worked immediately. If you would be so kind as to please verify this

Re: Server.xml - Connector configuration problem

2004-03-24 Thread armalai
Hi Shapira, Yoav, Thank you very much!!!Please see my comments... I'm using Jmeter and JProfiler right now. 1.According to Jprofiler my application does handle the memory part well.Like it does releases the object count. 2.In Jmeter right now i'm able to handle 75 concurrent users.How do i

Tomcat-SOAP configuration problem

2004-03-24 Thread Vijay Lakshminarayanan
Hi. I have installed Tomcat successfully (I think) and am now trying to deploy a web-service through the command prompt. This is a sample example file (CalcClient - popular one on the web) and when I try to deploy, I get messages which look like this - C:\Program

NullPointer in ScrollabeResultSet using oracle drivers on tomcat 4.1.29

2004-03-24 Thread Hans
Hi all, I've got an urgent problem (haven't we all) and I really really could use some help. I am experiencing the problem described in detail in: http://www.mail-archive.com/[EMAIL PROTECTED]/msg05036.html Which is in short, nullpointer exceptions when using resultset.close();

RE: tomcat certificate

2004-03-24 Thread Mark Thomas
This works for me. Can you post the equivalent sections of your configuration files so I can compare them to mine? Thanks, Mark -Original Message- From: Idoia Murua Belacortu [mailto:[EMAIL PROTECTED] Sent: Wednesday, March 24, 2004 7:51 AM To: Tomcat Users List Subject: RE:

RE: Server.xml - Connector configuration problem

2004-03-24 Thread Shapira, Yoav
Hi, 2.In Jmeter right now i'm able to handle 75 concurrent users.How do i increase the users? By increasing the memory allocated to your JVM (-Xmx) along with your hardware to match. By increasing and maxThreads number as well. 3.I have the JVM options, -Xms 256 -Xmx 512 and My RAM is 512K is

Re: Server.xml - Connector configuration problem

2004-03-24 Thread Robert Hall
Hello, Shapira, Yoav wrote: (in part) Also please try to be accurate when you specify these numbers: you have 512MB, not 512K of RAM available. You're using -Xms256m and -Xmx512m as java vm options. Note that the latter is someone misleading: you're telling the JVM it can use 512MB of RAM for

RE: How to deploy a web application under Tomcat 5

2004-03-24 Thread Bachler, Elisabeth (Elisabeth)
THanks for your response, the problem is that I don't have a clue about how to create a WAR application. Mine is empty for the moment since I have no files. I only need Tomcat to recognize the structure MyApp | --- WEB-INF | classes lib web.xml DO you happen

RE: How to deploy a web application under Tomcat 5

2004-03-24 Thread Mike Curwen
It seems to be a requirement of 4.x to have a web.xml file that contains at *least*: webapp /webapp Maybe the same is true with 5.x ? -Original Message- From: Bachler, Elisabeth (Elisabeth) [mailto:[EMAIL PROTECTED] Sent: Wednesday, March 24, 2004 2:09 PM To: 'Tomcat Users List'

RE: How to deploy a web application under Tomcat 5

2004-03-24 Thread Shapira, Yoav
Hi, THanks for your response, the problem is that I don't have a clue about how to create a WAR application. A WAR file is a type of jar file (which in turn is a type of zip file). You can create a WAR file using java's jar command or Ant's war task. files. I only need Tomcat to recognize the

RE: How to deploy a web application under Tomcat 5

2004-03-24 Thread Shapira, Yoav
Hi, It seems to be a requirement of 4.x to have a web.xml file that contains at *least*: webapp /webapp Maybe the same is true with 5.x ? Yes. Yoav Shapira This e-mail, including any attachments, is a confidential business communication, and may contain information that is confidential,

RE: How to deploy a web application under Tomcat 5

2004-03-24 Thread Bachler, Elisabeth (Elisabeth)
THanks for the tutorial. I am not using LINUX though. I am on Solaris. Nevertheless, in the conf/server.xml file I haven't found the line: Context path= docBase=ROOT debug=0 Therefore I don't know if I have to go on or not. -Original Message- From: Chong Yu Meng [mailto:[EMAIL

RE: How to deploy a web application under Tomcat 5

2004-03-24 Thread Bachler, Elisabeth (Elisabeth)
I don't quite understand what you are saying. My problem is that I don't know how to create a WAR file with the basic structure in it. I have to do it manually but I don't know how. COuld you tell me where to find the information?. Once I have this WAR file, I suppose I only have to put it under

embedded tomcat 5 and classloading

2004-03-24 Thread Yanick Duchensne
To embed Tomcat 5, Ive followed the explanations at the following: http://www.onjava.com/pub/a/onjava/2002/04/03/tomcat.html I register the manager webapp that comes with the Tomcat embedded distribution as follows: tc.registerWAR(/manager, new URL(file:/ + dir + /webapps/manager));

Re: How to deploy a web application under Tomcat 5

2004-03-24 Thread Ben Souther
Go to www.google.com. type creating a war file (without the quotes) Click on the Google Search Button. The first link you see will be: http://access1.sun.com/techarticles/simple.WAR.html On Wednesday 24 March 2004 03:23 pm, Bachler, Elisabeth (Elisabeth) wrote: I don't quite understand

Re: How to deploy a web application under Tomcat 5

2004-03-24 Thread James Black
Bachler, Elisabeth (Elisabeth) wrote: I don't quite understand what you are saying. My problem is that I don't know how to create a WAR file with the basic structure in it. I have to do it manually but I don't know how. COuld you tell me where to find the information?. Once I have this WAR file,

Re: Configuration Help

2004-03-24 Thread Adrian Lanning
Works for me! Glad you got it working. Cheers on deciding to compile a doc. As for where to put it...there's a tomcat wiki at http://wiki.apache.org/jakarta-tomcat/Tomcat that would be a likely place. If you have some advice for IIS users on connecting to Tomcat using JK2 you should let the jk

RE: Apache+Tomcat + MOD_JK on different machine

2004-03-24 Thread Randall Svancara
So, did you ever get this working then?? -Original Message- From: Hari Om [mailto:[EMAIL PROTECTED] Sent: Wednesday, March 24, 2004 7:52 AM To: [EMAIL PROTECTED]; Randall Svancara; [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Subject: RE: Apache+Tomcat + MOD_JK on different machine Thanks

  1   2   >