RE: Tomcat Service on Windows.

2006-06-13 Thread Gohil, Jayesh
Hey thanks guys. I got it.I changed through windows service properties -Original Message- From: Filip Hanik - Dev Lists [mailto:[EMAIL PROTECTED] Sent: Wednesday, June 14, 2006 11:40 AM To: Tomcat Users List Subject: Re: Tomcat Service on Windows. you can manipulate the user that exe

Re: Tomcat Service on Windows.

2006-06-13 Thread Filip Hanik - Dev Lists
you can manipulate the user that executes a service with the windows service tools, search around a little on microsoft.com and you will surely find it Gohil, Jayesh wrote: I think I could not convey my message properly. By logon name I mean the user account it uses and not the name of the s

help getting jsvc up and running on sles9 on ibm pseries (power5)

2006-06-13 Thread Christian Andersson
Hi there, I have a small problem that I'. hoping that you can help me solve. I want to be able to run tomcat on a server that we have available at a hosting firm. I can get tomcat up and running on it witohut problem, as long as I don't try to use jsvc.. and I need jsvc sicne I don't want to run

problems with unsubscribing

2006-06-13 Thread Kris Reese
OK -- I've been trying to unsubscribe from the mailing list, many many many many times now by sending a blank e-mail to [EMAIL PROTECTED] but it's not working. Can anybody tell me what is going on here? Thank you. - To sta

RE: Configure Resource in context.xml does not work as expected

2006-06-13 Thread Vijaya
Hello Renaud, Can you post the context.xml? I have the same problem. For development sake, I have added the resource in server.xml whereas in production machine, I will not have the access to the server.xml. Thanks, Vijaya -Original Message- From: Renaud Waldura [mailto:[EMAIL PROTECTED]

RE: Tomcat Service on Windows.

2006-06-13 Thread Gohil, Jayesh
I think I could not convey my message properly. By logon name I mean the user account it uses and not the name of the service.As by default it uses local sysytem account , but I want it to use My Doamin login account... -Original Message- From: Filip Hanik - Dev Lists [mailto:[EMAIL PRO

Re: Tomcat Service on Windows.

2006-06-13 Thread Filip Hanik - Dev Lists
you're better off using a different wrapper than the one that comes with Tomcat, this one allows for thread dumps and more customizations http://people.apache.org/~fhanik/wrapper.html In the wrapper.conf file you can change the name for your NT service Gohil, Jayesh wrote: Hi, Can anyone tel

Tomcat Service on Windows.

2006-06-13 Thread Gohil, Jayesh
Hi, Can anyone tell me how to change the login name of Tomact NT Service on windows.As it uses System account whereas I want it to use my domain login. Kindly reply asap. Thanks. Regards, Jayesh Gohil Build/SCM Engineer. L10NBRIDGE Technologies Pvt. Ltd. EXTN : 7523

Re: Problem with tag library calling

2006-06-13 Thread Alex Turner
This is still an issue - I'm trying to get a client to live... This syntax error really doesn't help me actualy fix the problem Please help somebody... This is a disaster right now. Alex. On 6/12/06, Alex Turner <[EMAIL PROTECTED]> wrote: It looks like it's generating the following functi

Re: JSPs will not load with virtual domain/Context Issue

2006-06-13 Thread Dave Kennell
Well, Your context idea was a step in the right direction. I hate to be a bother however now as long as the JSP is in the root. It works great. But as soon as I try to goto www.test.com/admin it cannot find any of the classes that my JSPs have in them. Ive tried adding multiple variations of c

RE: License query for jstl.jar

2006-06-13 Thread Simon Kitching
> -Original Message- > From: Mark Thomas [mailto:[EMAIL PROTECTED] > Sent: Wednesday, June 14, 2006 1:23 PM > To: Tomcat Users List > Subject: Re: License query for jstl.jar > > Simon Kitching wrote: > > Actually, every file I've looked at in the jakarta taglibs project > > DOES have

Re: Tomcat 5.5.17 protected pages JSP examples with valid user and invalid role results in msg 403.

2006-06-13 Thread [EMAIL PROTECTED]
Hi, Reinhard, - Error 403 seems completely suitable from your words I think that normal error page, configured in web.xml tag will be more logical. - Browsers always store Login Info until the browser windows is closed (No session here, this applies only to basic-auth!) With form auth: y

Re: License query for jstl.jar

2006-06-13 Thread Mark Thomas
Simon Kitching wrote: > Actually, every file I've looked at in the jakarta taglibs project DOES have > the standard ASL2.0 licensing embedded in it, and in addition they all > contain an Apache Foundation copyright statement: > http://svn.apache.org/repos/asf/tomcat/servletapi/servlet2.4-jsp2.0-tc5

RE: License query for jstl.jar

2006-06-13 Thread Simon Kitching
> -Original Message- > From: Mark Thomas [mailto:[EMAIL PROTECTED] > Sent: Wednesday, June 14, 2006 12:42 PM > To: Tomcat Users List > Subject: Re: License query for jstl.jar > > IANAL... Understood; I'm grateful for your comments anyway.. > > Simon Kitching wrote: > > Unfortunately

Re: License query for jstl.jar

2006-06-13 Thread Mark Thomas
IANAL... Simon Kitching wrote: > Unfortunately, in order to satisfy both my companies' lawyers and the > client's lawyers I think I would need to show that this jar is indeed built > from ASL-licensed code. This is *not* ASL licenced code. > Does anyone have a link to a page from Sun that shows

RE: License query for jstl.jar

2006-06-13 Thread Simon Kitching
> -Original Message- > From: Mark Thomas [mailto:[EMAIL PROTECTED] > Sent: Wednesday, June 14, 2006 11:32 AM > To: Tomcat Users List > Subject: Re: License query for jstl.jar > > Simon Kitching wrote: > > However it isn't clear to me whether the license for this > jar in fact > > all

Re: License query for jstl.jar

2006-06-13 Thread Mark Thomas
Simon Kitching wrote: > However it isn't clear to me whether the license for this jar in fact allows > this to be checked in. > The jar has > Implementation-Vendor: Sun Microsystems, Inc. > and > Implementation-Version: 1.1.0-D13 The Servlet expert group used the Apache repository to develop

Re: Newbie - Document Access Problem

2006-06-13 Thread Mark Thomas
What OS are you using? - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Invoking web services via Tomcat

2006-06-13 Thread Mark Thomas
[EMAIL PROTECTED] wrote: > Hello, > > I've used Tomcat to build web services and it is terrific. > Thanks a lot to all the Tomcat developers. > > I need to call out from a servlet to a remote web service. > I know I can do this by piecing together a HTTP POST, > but I wonder if there are some fun

RE: where is the best place to secure a working tutorial for a web application with struts and tomcat? I am a newbie

2006-06-13 Thread Tim Lucia
Struts comes with one. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Tuesday, June 13, 2006 5:17 PM To: users@tomcat.apache.org; [EMAIL PROTECTED] Subject: where is the best place to secure a working tutorial for a web application with struts and tomcat? I am

Re: StringIndexOutOfBoundsException .... any ideas?

2006-06-13 Thread Mark Thomas
When starting a new thread (ie sending a message to the list about a new topic) please do not reply to an existing message and change the subject line. To many of the list archiving services and mail clients used by list subscribers this makes your new message appear as part of the old thread. Thi

Re: Installation problem

2006-06-13 Thread Mark Thomas
Bill Sandham wrote: > I am trying to install Tomcat 5.5. Installation gets to about 80% complete > and then it seems to just “hang”. Final action on list is “Using Jvm: > C:\Program Files\Java\jre1.5.0_07\bin\client\jvm.dll”. No error messages > apparent. Try: - using the .zip distro - checking th

Re: Axis application running on Tomcat 4.1.31 in Windows XP as NT Service cannot access network units

2006-06-13 Thread Mark Thomas
Marcos Guerrero Gomez wrote: > We have disabled the windows XP firewall, and we have changed the user > credentials to start the service with the same user as the logged user > (that is able to open the network units through the windows explorer) > but the behavior doesn't change. > Any suggestions

License query for jstl.jar

2006-06-13 Thread Simon Kitching
Hi, File jstl.jar has been checked in here: http://svn.apache.org/repos/asf/tomcat/servletapi/servlet2.4-jsp2.0-tc5.x/js r152/examples/WEB-INF/lib/ and here: http://svn.apache.org/repos/asf/tomcat/tc6.0.x/trunk/webapps/examples/WEB-IN F/lib/ This jar is used for running example code in Tomcat

Re: Problem clustering with multiple nodes

2006-06-13 Thread Filip Hanik - Dev Lists
How do you "go to another server"? are you using a load balancer? ie, is your session cookie passed correctly when you switch server. Filip Troy Davidson wrote: I am trying to get a horizontal and vertical cluster working. There are three servers with two instances on Tomcat on each one. Th

Re: Using Ant install with Tomcat 5.5

2006-06-13 Thread Martin Gainty
Hey Jeff- Ant is primarily a Nix utility which has been ported to DOS so relative pathnames like '/fu/bar/fubar' always work but DOS paths like 'C:\Program Files\Way Too Many Spaces\Big Long ProgramName With Spaces.exe doesnt work the workaround is dir /X (give me short name) so in the case of

Using Ant install with Tomcat 5.5

2006-06-13 Thread Jeff Macomber
Hi All, I am attempting to install a web app using the ant task install. It is failing when I use this: but succeeding when I do this: The only difference is the "path". In Tomcat 5.0 this works fine but not in tomcat 5.5. Is this a bug? Am I doing something incorrectly

Re: Where is mod_jk.so?

2006-06-13 Thread Edmon Begoli
Bradley, I may be wrong but I am not sure if your mod_jk actually got compiled. mod_jk.so should be placed where the rest of your modules are. Here is the description of the compilation process on Red Hat and where mod_jk.so should end up: http://blogs.ittoolbox.com/eai/software/archives/compi

Re: authentication problem deploying app to tomcat via ant

2006-06-13 Thread Anne Wilson
D'oh! Turns out that the ant script (which I inherited - a minor excuse) was importing a properties file that set the very same properties I tried to define in the script, e.g., "tomcat.manager.username". Great minds name alike, I guess. Properties being immutable, my changes were ignored.

where is the best place to secure a working tutorial for a web application with struts and tomcat? I am a newbie

2006-06-13 Thread carrie . latimer
Carrie Latimer Florida's Turnpike Enterprise Tolls Data Center Main 561.488.5361 SC 247.5361 Fax 561.470.6615 Mobile: 561.239.6189 Nextel: 158*763*109 [EMAIL PROTECTED] - To start a new topic, e-mail: users@tomcat.apache.org

Problem clustering with multiple nodes

2006-06-13 Thread Troy Davidson
I am trying to get a horizontal and vertical cluster working. There are three servers with two instances on Tomcat on each one. The six Tomcat instances are to share session data amongst themselves. The vertical clustering works fine. I can log into the app on a server and if I stay on that

mod_jk timeout question

2006-06-13 Thread FM
Hello, Is there a way to set a timeout for mod_jk ? Something tomcat crashes and httpd stops responding because every connection tries to connect to tomcat (with mod_jk) but there is no time out. I try this setting in worker.properties : worker.tomcat5.type=ajp13 worker.tomcat5.port=8009 worker.to

RE: Example Balancer Rules and Information

2006-06-13 Thread Ryan Clark
I have already set it up with Apache and it causes other issues with a document transfer mechanism which is part of the webapp (this is a Documentum Webtop setup if anyone knows that application). I can do nothing about them and a support call has been raised with the supplier. This solution mea

HELP Wanted with attachment

2006-06-13 Thread Tom Miller
Summarry: I have five webased web site with java application. One application per web site. Here is my current enviroment: OS = Linux RedHat 4.0 Appache 2.0.50 Connector JK 1.2.6 Tomcat 5.5.4 I am currently have each website and application run on one machine. I also have some machine with

HELP Wanted

2006-06-13 Thread Tom Miller
Summarry: I have five webased web site with java application. One application per web site. Here is my current enviroment: OS = Linux RedHat 4.0 Appache 2.0.50 Connector JK 1.2.6 Tomcat 5.5.4 I am currently have each website and application run on one machine. I also have some machine with

Embedded tomcat - returning 404 for all requests

2006-06-13 Thread Larkin Lowrey
Hello, I am trying to get embedded tomcat running using v5.5.17. I can get the code to start but every request I make results in a 404 response and there is zero information in the logs to indicate the reason. I ran strace on java when I ran the code and I could see that it located and fully

Where is mod_jk.so?

2006-06-13 Thread Mann, Bradley
After running: # ./configure --with-apache=/usr/apache # make # make install I have 3 files that are placed in apache/modules/jk/. They are config.m4, lib_jk.a, and lib_jk.la. All of the documentation I have read online states that after building the connector I should be left with a file mod_jk.

Newbie - Document Access Problem

2006-06-13 Thread Suba Suresh
Hi! I am new to the web application development. So bear with me. I am using lucene with Tomcat as a standalone web server. I have a form to submit my query which gets handled by a servlet. The servlet brings back the document names which is hyperlinked to the directory it resides. T

Invoking web services via Tomcat

2006-06-13 Thread [EMAIL PROTECTED]
Hello, I've used Tomcat to build web services and it is terrific. Thanks a lot to all the Tomcat developers. I need to call out from a servlet to a remote web service. I know I can do this by piecing together a HTTP POST, but I wonder if there are some functions in Tomcat to make this easier. Hop

Tomcat5, Apache, mod_jk, and SSL

2006-06-13 Thread Stephen A. Cochran Lists
Looks like this is a common subject, but I haven't seen anyone talking about actually passing the SSL env variables to Tomcat. Here's my setup: httpd 2.0.x Tomcat 5.5.x mod_jk Both Tomcat and Apache work over SSL when accessed directly (443, and 8443 respect

Re: I'm a Newbie - problem with recognition of html tags

2006-06-13 Thread Marc Farrow
Actually, it was I who suggested it. Replace: <%@ taglib URI="WEB-INF/struts-bean" prefix="bean"> <%@ taglib URI="WEB-INF/struts-html" prefix="bean"> with <%@ taglib URI="WEB-INF/struts-bean.tld" prefix="bean"> <%@ taglib URI="WEB-INF/struts-html.tld" prefix="bean"> Also, Make sure the TLD

Re: I'm a Newbie - problem with recognition of html tags

2006-06-13 Thread carrie . latimer
David, I did not understand what you meant by "Try placing the file extension on your URI of your taglib tag." Carrie Latimer Florida's Turnpike Enterprise Tolls Data Center Main 561.488.5361 SC 247.5361 Fax 561.470.6615 Mobile: 561.239.6189 Nextel: 158*763*109 [EMAIL PROTECTED] -

Re: I'm a Newbie - problem with recognition of html tags

2006-06-13 Thread David Kerber
Marc Farrow wrote: David, Those tags are from the prefix of using teh "struts-bean" and "struts-html" tag libraries. I think you just do not know (or have not been exposed) to tag libraries before. Ok, thanks. You're correct that I haven't dealt with that kind of thing before. Carri

Re: I'm a Newbie - problem with recognition of html tags

2006-06-13 Thread Marc Farrow
David, Those tags are from the prefix of using teh "struts-bean" and "struts-html" tag libraries. I think you just do not know (or have not been exposed) to tag libraries before. Carrie, Try placing the file extension on your URI of your taglib tag. On 6/13/06, David Kerber <[EMAIL PROTECTED

Re: I'm a Newbie - problem with recognition of html tags

2006-06-13 Thread David Kerber
[EMAIL PROTECTED] wrote: When I compile my jsp and java files, I get 9 warnings from the jsp file. It appears not to recognize the html tags ie unknown tag (html:cancel). What have I done wrong? Here is the login.jsp file. <%@ taglib uri="/WEB-INF/struts-bean" prefix="bean" %> <%@ taglib uri="

Re: Configure Resource in context.xml does not work as expected

2006-06-13 Thread Renaud Waldura
Hello Timm: I didn't get this to work, but found a workaround that's enough for my needs. I honestly think it's a bug. I've searched the Tomcat bug database, and there seem to be lots of things broken with deployment. I wanted to deploy my application using the Tomcat Manager, pointing it to

I'm a Newbie - problem with recognition of html tags

2006-06-13 Thread carrie . latimer
When I compile my jsp and java files, I get 9 warnings from the jsp file. It appears not to recognize the html tags ie unknown tag (html:cancel). What have I done wrong? Here is the login.jsp file. <%@ taglib uri="/WEB-INF/struts-bean" prefix="bean" %> <%@ taglib uri="/WEB-INF/struts-html" prefix

Re: Bandwidth statistics in Tomcat

2006-06-13 Thread Mladen Adamovic
Roland Rabben wrote: Not sure if this is the correct forum, but can anybody point me in the right direction to get "live" bandwidth usage stats and other server stats from Tomcat? I do use AwStats for bandwidth and access usage. See http://www.turro.org/xp/[EMAIL PROTECTED]@[EMAIL PROTECTED]

StringIndexOutOfBoundsException .... any ideas?

2006-06-13 Thread Mufaddal Khumri
Am using Tomcat 5.5.7 I get the following error in my Tomcat logs from time to time. Has anybody got a clue as to what might be the issue? Log output: 2006-06-13 10:41:19.033917500 java.lang.StringIndexOutOfBoundsException: String index out of range: -15 2006-06-13 10:41:

RE: HttpSession.invalidate() not working as expected

2006-06-13 Thread Tim Lucia
Without seeing actual code, we can only guess. Have you made two consecutive calls to invalidate() [on the same thread] and not received the documented exception? Are you getting a different session id from getId()? I am guessing you are making a second request, which creates a brand new sessio

Not able to setup SSL on tomcat 5.5.17

2006-06-13 Thread Raja Shaker Garlapati
Hi all, My application is using embedded tomcat 5.0.28 and jdk 1.4 version. I am in process of migrating to embedded tomcat 5.5.17 and jdk 1.5 version. I have made some code changes to setup the application. All the context paths are set. I am able to access the default ROOT files, the /man

HttpSession.invalidate() not working as expected

2006-06-13 Thread Chris Gibbons
I am trying to invalidate my session by calling HttpSession.invalidate(), the problem I am having is after I log in as a user, then log out, then log back in, the second log in doesn't call any of my authentication methods. On logout I am calling HttpSession.invalidate() which doesn't throw an

RE: Example Balancer Rules and Information

2006-06-13 Thread Gillespie Jr, Edward L. \(LNG-DAY\)
I know you mentioned that you can't use apache, but this looks like a perfect use for Apache mod re-write. This is how I would handle it. In response to your question. Yes, one way that this can be done is with a web application running in tomcat. For example a Servlet or jsp can do a redirect

Installation problem

2006-06-13 Thread Bill Sandham
I am trying to install Tomcat 5.5. Installation gets to about 80% complete and then it seems to just “hang”. Final action on list is “Using Jvm: C:\Program Files\Java\jre1.5.0_07\bin\client\jvm.dll”. No error messages apparent. Bill Sandham E-Mail: HYPERLINK "mailto:[EMAIL PROTECTED]"[

Example Balancer Rules and Information

2006-06-13 Thread Ryan Clark
Hi, I have deployed tomcat 5.0.28 (it has to be this version) and I need to configure it to redirect URLs sent to the ROOT to one of several webapps. I am using the balancer app as the ROOT application and I have been able to get the basic configuration working. (http://host1 redirects to http:/

Axis application running on Tomcat 4.1.31 in Windows XP as NT Service cannot access network units

2006-06-13 Thread Marcos Guerrero Gomez
Hello! Our AXIS Web Service Application, using *AXIS 1.2.1 *Tomcat 4.1.31 *Windows XP Professional SP2 The application try to open a file in a network unit to read it. (network unit like z:/, connected to other computer in my network like //computer2/commonresource/) When we start Tomcat as "

Re: Outgoing requests to match a specific IP

2006-06-13 Thread Reinhard Moosauer
Hi, the outbound address is determined from the routing on OS level. Fix your routes and the outgoing address is ok also. If this is not possible, you can resort to NAT (network address translation). This solution is used very widely. regards, R. Am Dienstag, 13. Juni 2006 14:56 schrieb Panos

Re: Outgoing requests to match a specific IP

2006-06-13 Thread Panos Konstantinidis
Hello Tim, thank you for your prompt reply. Your solution would work, however we are using a third party API that does this call to the specific server (actually what it is doing is to issue an HTTP request to another Servlet), and I do not have access to the source code, nor I would like to deco

Re: Outgoing requests to match a specific IP

2006-06-13 Thread Tim Funk
Its not a tomcat setting, it java socket programming. http://java.sun.com/j2se/1.4.2/docs/api/java/net/Socket.html#Socket(java.net.InetAddress,%20int,%20java.net.InetAddress,%20int) Whatever library is making the outbound call should have an option to choose the local ip address the connection

Outgoing requests to match a specific IP

2006-06-13 Thread Panos Konstantinidis
Hello, we have a computer that is registered to two IP addresses. I have installed Tomcat on this computer and I have deployed a web application. This web application does some XML processing and then sends a request to another server. This other server is configured to only accept requests from a

Active JDBC connections monitoring

2006-06-13 Thread Edmon Begoli
Hi, Is there an easy way to monitor number of actively used pooled JDBC connections by each application on Tomcat 5.5.15? If so, please explain the options. -- Many thanks, Edmon Begoli http://blogs.ittoolbox.com/eai/software

Re: Tomcat 5.5.17 protected pages JSP examples with valid user and invalid role results in msg 403.

2006-06-13 Thread Reinhard Moosauer
Hi, please consider the following: - Error 403 seems completely suitable from your words - Browsers always store Login Info until the browser windows is closed (No session here, this applies only to basic-auth!) With form auth: you can alyways provide a logout-button - If Standard-errorpage

Re: Bandwidth statistics in Tomcat

2006-06-13 Thread Leon Rosenberg
www.lambdaprobe.org :-) leon On 6/13/06, Roland Rabben <[EMAIL PROTECTED]> wrote: Hi Not sure if this is the correct forum, but can anybody point me in the right direction to get "live" bandwidth usage stats and other server stats from Tomcat? My goal is to make a page that can display "live"

Bandwidth statistics in Tomcat

2006-06-13 Thread Roland Rabben
Hi Not sure if this is the correct forum, but can anybody point me in the right direction to get "live" bandwidth usage stats and other server stats from Tomcat? My goal is to make a page that can display "live" Tomcat server stats. Maybe even a graph of the bandwidth usage over time. Roland Sca

Re: Tomcat 5.5.17 protected pages JSP examples with valid user and invalid role results in msg 403.

2006-06-13 Thread [EMAIL PROTECTED]
Hi, I received a response from Mark to the problem described below, which was: "not an issue"/"as per specs". Does not look like that to me, because: 1) After trying to login as a valid user and receiving 403 msg, you can not login with a valid user role even after invalidating the session. So w