Re: Build error mod_jk 1.2.2o

2006-12-28 Thread Luca Peduto
Hi Rainer, thank you for your reply. It's true, without --enable-jni the build process completes without any issues. Thank you again. Luca On 28/12/06, Rainer Jung <[EMAIL PROTECTED]> wrote: The JNI worker is very close to getting deprecated. Do you really need the "--enable-jni"? ./configure

control JMX beans remotely in Tomcat instance

2006-12-28 Thread chuanjiang lo
hi all, i am trying write a simple applicationto connect to tomcat remotely to view the jmx beans. Is there any articles or tutorials i can look upon for a kickstart? Appreciate any help.

Re: Problem with using Java Bean on apache-tomcat-5.5.20

2006-12-28 Thread Luke Vanderfluit
Hi. 29Dec2006 @ 11:02 [EMAIL PROTECTED] thusly spake > We are planning to upgrade our Apache Tomcat server from 5.0.28 to > 5.5.20. During this process, we found that one of the application is > not working in apache-tomcat-5.5.20 which is working successfully > without any problem in jakart

Problem with using Java Bean on apache-tomcat-5.5.20

2006-12-28 Thread pratapkm
We are planning to upgrade our Apache Tomcat server from 5.0.28 to 5.5.20. During this process, we found that one of the application is not working in apache-tomcat-5.5.20 which is working successfully without any problem in jakarta-Tomcat-5.0.28. Flow of the application is as follows: 1.

Re: Servlet Plugins for Eclipse

2006-12-28 Thread Kristian Rink
athula bogoda schrieb: > Hi All, > Can any one tell how can I download or add plugins for > Eclipse to develop Servlet applications. The Eclipse Web Tools Platform (WTP) provides all you need for that. Check http://mirror.yoxos-eclipse-distribution.de/eclipse.org/technology/phoenix/demos/install

Re: Setup of Tomcat

2006-12-28 Thread Andre Prasetya
everything should be at /bin folder, use startup.bat to start, shutdown.batto shutdown. service.bat to register to windows services. edit server.xml at /conf to change port, add valve, etc... On 12/27/06, Dinesh Kumar <[EMAIL PROTECTED]> wrote: Just downloaded tomcat 6.0.2 for windows. How can

Servlet Plugins for Eclipse

2006-12-28 Thread athula bogoda
Hi All, Can any one tell how can I download or add plugins for Eclipse to develop Servlet applications. Thanks, Athula Send instant messages to your online friends http://uk.messenger.yahoo.com - To start a new topic, e-mail: u

RE: session#getId changes during doGet invocation under heavy load

2006-12-28 Thread Caldarale, Charles R
> From: Peter Coppens [mailto:[EMAIL PROTECTED] > Subject: session#getId changes during doGet invocation under > heavy load > > THe problem I run into is that, under heavy load, during the > doGet invocation for the login request the session attached > to the request is changed by some other thr

RE: Tomcat Status, Administration and Manager not working

2006-12-28 Thread Caldarale, Charles R
> From: dl [mailto:[EMAIL PROTECTED] > Subject: RE: Tomcat Status, Administration and Manager not working > > .. but unfortunately the other two links > still do not work .. same error reports Both the Status and Tomcat Manager links refer to servlets within the manager app, and both paths, by d

Re: sendRedirect scheme

2006-12-28 Thread Rainer Jung
You can use the following config params in the connector element for the connector you are using (see http://tomcat.apache.org/tomcat-5.5-doc/config/http.html): - protocol - proxyName - proxyPort - redirectPort - scheme - secure Regards, Rainer Siddhartha Subramanian s

RE: Virtual Hosts [mostly solved]

2006-12-28 Thread Caldarale, Charles R
> From: Gormley, Josh [mailto:[EMAIL PROTECTED] > Subject: RE: Virtual Hosts [mostly solved] > > * Not having to modify server.xml directly. According to the Tomcat > docs, you shouldn't modify this file. I think you may have misconstrued something in the docs. There's nothing wrong with

RE: Virtual Hosts [mostly solved]

2006-12-28 Thread Caldarale, Charles R
> From: Mark Eggers [mailto:[EMAIL PROTECTED] > Subject: RE: Virtual Hosts [mostly solved] > > For a root context, I usually set up an > application.xml file in conf/Catalina// with > the appropriate path="" in the Context element That's incorrect for all recent versions of Tomcat. You must not

Re: Build error mod_jk 1.2.2o

2006-12-28 Thread Rainer Jung
The JNI worker is very close to getting deprecated. Do you really need the "--enable-jni"? ./configure --with-apxs=/usr/sbin/apxs --sysconfdir=/etc should work. Regards, Rainer Luca Peduto schrieb: > Hi all, > I'm trying to build mod_jk 1.2.20 on my linux machine but I obtain > this error mess

session#getId changes during doGet invocation under heavy load

2006-12-28 Thread Peter Coppens
Tomcat fans, I am using the 6.0.2 tomcat beta and doing some stress testing with a servlet app for which a form login has been declared and that does repeated login/logout's (session invalidate). THe problem I run into is that, under heavy load, during the doGet invocation for the login request

RE: Tomcat plugin in eclipse environment

2006-12-28 Thread Suchitha Koneru \(sukoneru\)
Thank you Asensio, for the information. I am currently trying out the WTP plug in, but found limitations , in its usage. We need to follow a pre defined directory structure for using it, also Iam not able to debug the code by setting break points. Using the WST for eclipse, were you able to debug

Re: Not having to restart tomcat

2006-12-28 Thread Gregor Schneider
well, i've never tried out intentionally, however, i'd believe tomcat can handle this since - the session is handled (and stored) in the servlet-container - it's stored in the client either with cookies or url-rewriting as long as you don't "clone" -> copy the session but refer to it via getSess

RE: Tomcat Status, Administration and Manager not working

2006-12-28 Thread dl
Thanks .. changed valve to "127.0.0.1" .. restarted server .. Now Tomcat Administration launches .. but unfortunately the other two links still do not work .. same error reports Status and Tomcat Manager In Tomcat Administration page I can see .. Context (/admin) Context (/manager) (plus other

RE: Virtual Hosts [mostly solved]

2006-12-28 Thread Mark Eggers
You may find that the default host loads all of the web applications. In order to solve this, make sure that each of the contexts are not some subdirectory of another context. You can use an absolute path to place this structure outside of your Tomcat installation. For large structures I th

RE: Tomcat plugin in eclipse environment

2006-12-28 Thread Asensio, Rodrigo
Sysdeo sucks, if you get WST of eclipse (http://www.eclipse.org/webtools/) you have a great eclipse integration, its free and it allows you have several servers in you ide (jboss, bea, tomcat, etc.) regards From: Suchitha Koneru (sukoneru) [mailto:[EMAIL PROTE

RE: Virtual Hosts [mostly solved]

2006-12-28 Thread Gormley, Josh
With the help of several people on this list, I've been able to get my server configured [mostly] the way I wanted it configured. Here's my solution, hopefully it will be helpful to others Goals: * One instance of Tomcat running behind Apache * Multiple VirtualHosts, each pointing to its own

RE: Tomcat Status, Administration and Manager not working

2006-12-28 Thread Caldarale, Charles R
> From: dl [mailto:[EMAIL PROTECTED] > Subject: Tomcat Status, Administration and Manager not working > > conf\Catalina\localhost\admin.xml > and > server\webapps\admin\admin.xml The latter .xml file isn't actually used; only the one in conf/Catalina/localhost is significant. > .. valves were

Tomcat Status, Administration and Manager not working

2006-12-28 Thread dl
I have installed apache-tomcat-5.5.20.zip ... into c:\apache-tomcat-5.5.20 I also installed apache-tomcat-5.5.20-admin.zip. Then in two admin.xml files .. conf\Catalina\localhost\admin.xml and server\webapps\admin\admin.xml .. valves were uncommented to allow access to "localhost". Launch

Tomcat plugin in eclipse environment

2006-12-28 Thread Suchitha Koneru \(sukoneru\)
Hello Tomcat users, I am trying to use the sysdeo plug in in eclipse env , to start/stop tomcat, so that debugging web applications , would be possible. I have the following problem , when trying to use the sysdeo plugin version (tomcat_3.2.0.beta3). I have set up the eclipse environment as per th

Re: [ANN] Apache Tomcat JK 1.2.20 Web Server Connector released

2006-12-28 Thread Mladen Turk
Matteo Turra wrote: I cannot find the isapi_redirect.msi file to install properly isapi filter on windows like in previous release (ie. 1.2.15) and I have to edit manually the windows registry. Why? It was so useful. There isn't one any more. The reason is quite simple: I don't have InstallS

RE: [ANN] Apache Tomcat JK 1.2.20 Web Server Connector released

2006-12-28 Thread Matteo Turra
Are you sure Martin? I remember the msi file did configure jakarta virtual directory, isapi filter and put this keys in the registry : [HKEY_LOCAL_MACHINE\SOFTWARE\Apache Software Foundation\Jakarta Isapi Redirector] @="" [HKEY_LOCAL_MACHINE\SOFTWARE\Apache Software Foundation\Jakarta Isapi R

Build error mod_jk 1.2.2o

2006-12-28 Thread Luca Peduto
Hi all, I'm trying to build mod_jk 1.2.20 on my linux machine but I obtain this error message during make: jk_jni_worker.c: In function 'open_jvm1': jk_jni_worker.c:817: error: 'JDK1_1InitArgs' undeclared (first use in this function) jk_jni_worker.c:817: error: (Each undeclared identifier is repo

RE: Questions about connector

2006-12-28 Thread Caldarale, Charles R
> From: Vinicius Carvalho [mailto:[EMAIL PROTECTED] > Subject: Questions about connector > > Here's a snippet of our connector properties under server.xml > > maxThreads="1800" minSpareThreads="50" maxSpareThreads="150" > enableLookups="false" redirectPort="8443" debug="0" >

error-page http status 408

2006-12-28 Thread rg
I am using Tomcat 5.5.17 on Windows. I have a problem setting a 408 error-page in my web.xml on form based authentication. I am using servlet spec defined authentication for my webapp: FORM Authentication /login.jsp /error.jsp Step 1) In a web browser, load the login.

RE: Help Me on Servlet in Tomcat 5.0

2006-12-28 Thread Caldarale, Charles R
> From: athula bogoda [mailto:[EMAIL PROTECTED] > Subject: Help Me on Servlet in Tomcat 5.0 > > But confused where should i should put it and run > on my local machine typing http://localhost/ 1) Read the servlet spec: http://jcp.org/aboutJava/communityprocess/final/jsr154/index.html 2) Read t

Re: Virtual Hosts

2006-12-28 Thread Mikolaj Rydzewski
Gormley, Josh wrote: As a side question, is this possible to do without modifying the server.xml file every time I want to add a new host? I've read that it's bad practice to modify the server.xml file much like it's bad practice to modify the httpd.conf file in Apache. In Apache, I have a vhos

RE: Virtual Hosts

2006-12-28 Thread Gormley, Josh
Thanks Mikolaj. I'm going to try out having multiple appBases and deploy as the ROOT in each. I haven't tried that yet. As a side question, is this possible to do without modifying the server.xml file every time I want to add a new host? I've read that it's bad practice to modify the server.x

Re: Virtual Hosts

2006-12-28 Thread Mikolaj Rydzewski
ben short wrote: I have used something like the following with mod proxy. This goes in your apache config file ServerName www.domainname.co.uk ServerAlias www.domainname.com ProxyPass / http://192.168.100.20:8080/yourwebapp/ ProxyPassReverse / http://192.168.100.20:8080/youwebapp/ This will no

Re: Virtual Hosts

2006-12-28 Thread Mikolaj Rydzewski
ben short wrote: I have used something like the following with mod proxy. This goes in your apache config file ServerName www.domainname.co.uk ServerAlias www.domainname.com ProxyPass / http://192.168.100.20:8080/yourwebapp/ ProxyPassReverse / http://192.168.100.20:8080/youwebapp/ ProxyRequest

Re: Virtual Hosts

2006-12-28 Thread ben short
I have used something like the following with mod proxy. This goes in your apache config file ServerName www.domainname.co.uk ServerAlias www.domainname.com ProxyPass / http://192.168.100.20:8080/yourwebapp/ ProxyPassReverse / http://192.168.100.20:8080/youwebapp/ ProxyRequests off ErrorLog log

Re: Virtual Hosts

2006-12-28 Thread Mikolaj Rydzewski
Gormley, Josh wrote: Does anybody have a good tutorial on how to do this with Apache sitting in front of Tomcat? I'd like to have a single server with multiple one-to-one domainname-to-webapp apps running in Tomcat such that I can hot deploy one webapp in Tomcat without affecting the other we

RE: Virtual Hosts

2006-12-28 Thread Gormley, Josh
Does anybody have a good tutorial on how to do this with Apache sitting in front of Tomcat? I'd like to have a single server with multiple one-to-one domainname-to-webapp apps running in Tomcat such that I can hot deploy one webapp in Tomcat without affecting the other webapps. Apache VirtualH

Re: [ANN] Apache Tomcat JK 1.2.20 Web Server Connector released

2006-12-28 Thread Martin Gainty
Hi Matteo Can you accomplish this same objective by registering the applicable dll's regsvr32 -i isapi_redirect.dll regsvr32 -i nsapi_redirect.dll Anyone else? M --- This e-mail message (including attachments, if any) is int

Re: Help Me on Servlet in Tomcat 5.0

2006-12-28 Thread Dinesh Kumar
Try this link, they have some good tutorials: http://www.coreservlets.com/Apache-Tomcat-Tutorial/ THIS LINK IS GOOD - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additi

RE: Not having to restart tomcat

2006-12-28 Thread Asensio, Rodrigo
reloading the webapp will be the solution. but if you dont have sessions persisting into DB your users will loose the session. am I right ? From: Gregor Schneider [mailto:[EMAIL PROTECTED] Sent: Thu 12/28/2006 1:46 AM To: Tomcat Users List Subject: Re: Not havi

Questions about connector

2006-12-28 Thread Vinicius Carvalho
Hello there! We have a Jboss 4.0.1sp1 (tomcat 5.0). Checking the connector status at the web-console some "strange" behavior is noticed. We have some requests that are either in Servicing or Keep-Alive, that lasts for over 4 hours (165.000.000 ms). We decided to kill the remote user, and still the

Re: Help Me on Servlet in Tomcat 5.0

2006-12-28 Thread EDMOND KEMOKAI
Try this link, they have some good tutorials: http://www.coreservlets.com/Apache-Tomcat-Tutorial/ On 12/28/06, athula bogoda <[EMAIL PROTECTED]> wrote: Hi All, Can any body give me guidence to run my first servlet on Tomcat 5.0. This is my file... import java.io.*; import javax.servlet.*; imp

Help Me on Servlet in Tomcat 5.0

2006-12-28 Thread athula bogoda
Hi All, Can any body give me guidence to run my first servlet on Tomcat 5.0. This is my file... import java.io.*; import javax.servlet.*; import javax.servlet.http.*; public class HelloWorld extends HttpServlet { public void doGet(HttpServletRequest request, HttpServletResponse response)

RE: [ANN] Apache Tomcat JK 1.2.20 Web Server Connector released

2006-12-28 Thread Matteo Turra
I cannot find the isapi_redirect.msi file to install properly isapi filter on windows like in previous release (ie. 1.2.15) and I have to edit manually the windows registry. Why? It was so useful. Matteo TURRA -Original Message- From: Rainer Jung [mailto:[EMAIL PROTECTED] Sent: gioved

Re: Not having to restart tomcat

2006-12-28 Thread Gregor Schneider
read the docs http://tomcat.apache.org/tomcat-5.5-doc/deployer-howto.html#Deploying%20on%20a%20running%20Tomcat%20server cheers greg -- what's puzzlin' you, is the nature of my game gpgp-fp: 79A84FA526807026795E4209D3B3FE028B3170B2 gpgp-key available @ http://pgpkeys.pca.dfn.de:11371 -

Not having to restart tomcat

2006-12-28 Thread Khurram H Khan
Hello, How can I have tomcat load classes without restarting it? -- Regards, Khurram Khan - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [