Re: Undeploy task not working

2006-06-07 Thread Venkatesh Babu
Hi Mark, I went through the link given by you. Also checked for permissions of "webapps" folder (guess things are fine). The link is for Tomcat 5.5 but I'm working with Tomcat 4.3.1 . The context entry put by tomcat, for app1, when deploying the application is: In addition I

Re: Fw: POST-Data from Form can not be read-out

2006-06-07 Thread Bill Barker
If you need multipart/form-data, then you will also need a third-party module to process it (e.g. commons-fileupload: http://jakarta.apache.org/commons/fileupload/). Tomcat won't ever (unless the 2.6 Servlet spec changes things for TC 7.x :) attempt to parse the parameters from an enctype="mul

Re: Fw: POST-Data from Form can not be read-out

2006-06-07 Thread Oliver Enders
Hy Jon, hy Marc, after removing the enctype from the form tag it works fine !!! My problem will be, that in the next implementation step, i´ll need to add an type="file" form element to upload a file...and that is only possible with method="post" and enctype="multipart/form-data", isnt it ? Ho

Re: HTTPD with Tomcat

2006-06-07 Thread Bill Barker
The auto-config Listener has always been somewhat problematic, especially with TC 4.x. At the very least, you need to include in httpd.conf: Include /path/to/catalina/home/conf/auto/mod_jk.conf I don't believe that the Listener really does all that much under the tag. Even in TC 5.5.x, you

RE: NetBeans 5.0 and Tomcat 5.5.16 ... Please Help (Problem after migrating to tomcat 5.5.16 from tomcat 5.0.28)

2006-06-07 Thread Vijaya
My web.xml is . http://java.sun.com/xml/ns/j2ee"; xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd"; version="2.4"> 30

Re: Apache Connecting to Tomcat Using mod_jk Over SSL?

2006-06-07 Thread Bill Barker
"Bill Glick" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > I'm trying to get Apache httpd 1.3 to connect to Tomcat 5.5 using mod_jk > and SSL. I get the impression that the AJP/1.3 protocol supports SSL > encryption, but I can't find much useful documentation on how to do wh

Re: HTTPD with Tomcat

2006-06-07 Thread Bill Barker
<[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Filip, > > Do you happen to have any examples of your mod_proxy setup? I've been > trying to get mod_proxy and mod_proxy_ajp working (apache 2.2.2, tomcat > 5.5.17), and have been running into a wall. No matter what I've tried, > t

RE: Random NullPointerException when trying to connect to Datasource

2006-06-07 Thread Vijaya
Then I think you are in the same boat as mine. I saw some other post also having trouble to connect to the data base when migrated from tomcat 5.0.28 to 5.0.17. What is your tomcat version? Regards, Vijaya -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of

Re: TC 5.5.12 w/ APR 1.2.2 , APR Not Found

2006-06-07 Thread Bill Barker
"Rick G" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Hi All, > After upgrading to TC 5.5.15 with APR 1.2.7 (tcnative 1.1.1) we started > having some various issues that don't seem to be fixed in 5.5.17, so we > decided to go back to 5.5.12 for the time being. However, we now h

Re: HTTPD with Tomcat

2006-06-07 Thread bleak
Filip, Do you happen to have any examples of your mod_proxy setup? I've been trying to get mod_proxy and mod_proxy_ajp working (apache 2.2.2, tomcat 5.5.17), and have been running into a wall. No matter what I've tried, tomcat always returns a "requested resource not available" error. Chee

Allocate exception : NoClassDefFoundError

2006-06-07 Thread Dan Simmonds
Hi everyone. I am running tomcat 5.5 I have a webapp which has been running fine for weeks. I uploaded some changes to some of the classes that are in the WEB-INF/classes directory and suddenly whenever I try to call my servlet I get the following error: 21:31:38,328 ERROR [User]:145 - Alloc

System.setProperty question

2006-06-07 Thread Rumpa Giri
Why the system properties are not being set programmatically? When I say does not take affect it happens only when we do things in a certain order. For example we need to connect to URL_CACERTS and URL_KS. URL_KS connection needs the keystore properties. For URL_CACERTS we just import

Can't figure out where a page is coming from.

2006-06-07 Thread Will Hartung
Hi all, Tomcat 4.1.24 I'm using the sampler-server-no-examples.xml for my configuration. Simply put, I can't find where Tomcat is serving up a file. Fundamentally, I have this in my webapps web.xml: authFilter /* and that filter is not seeing every single file to my application. I

java.lang.NoSuchMethodError: javax.servlet.jsp.tagext.TagInfo

2006-06-07 Thread Dave Kennedy
The Servlet Exception is displayed running SimpleExample.jsp Any help would be greatly appreciated SET CATALINA_HOME=C:\Program Files\Apache Software Foundation\jakarta-tomcat-5.5.9 SET JAVA_HOME=C:\Program Files\Java\jdk1.5.0_06 http://localhost:8080/stuff09/SimpleExample.jsp javax.servlet.S

Re: few "fat" contexts of many "lean" contexts?

2006-06-07 Thread Tim Funk
From a performance point of view - it doesn't matter. From a maintenaince point of view - I prefer many lean clients. That way - if one of them behaves badly - off they go into a new JVM (assuming you have apache in front of tomcat) -Tim Javier Gonzalez wrote: Hi, I'm running a tomcat

Re: TNS entry JNDI

2006-06-07 Thread Scott Purcell
I am having trouble connecting. That string does fine using JDBC, but when in the To: "Tomcat Users List" Sent: Wednesday, June 07, 2006 12:44 PM Subject: Re: TNS entry JNDI > Are you having a database connection problem or problem getting the > reference from JNDI in your code? > > On 6/7/06,

Difference in classloaders

2006-06-07 Thread ericp
Hi, I have two questions. I have been working with a stand alone app which finds a properties file this way. This code is in a class, which is bundled in a jar. private static void setupProperties() { InputStream fileReference = ClassLoader.getSystemResourceAsStream(PROPERTIES_FILE); }

SEVERE: Error reading tld listeners javax.servlet.ServletException. HELP

2006-06-07 Thread Richard DeGrande
I've recently upgraded to tomcat 5.5.15. I'm migrating current apps the the new tomcat. I get this error when starting/deploying a specific app. I have one other app deployed, it too uses struts, I have no problems with it. thanks Jun 7, 2006 4:28:51 PM org.apache.catalina.core.StandardCont

Re: Undeploy task not working

2006-06-07 Thread Mark Thomas
Marc Farrow wrote: > Which still implies a permission problem. On Windows 2000 check the > security tab of the webapps folder under Tomcat. Make sure the account > that > is running Tomcat has permission to "delete". The "archive" set is the > file > type and doesn't really have much to do with

newbie: tomcat partly works

2006-06-07 Thread Jay G. Scott
i have several problems, but i think i need to address them one at a time. tomcat 5.5.17 java java version "1.5.0_05" Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_05-b05) Java HotSpot(TM) Server VM (build 1.5.0_05-b05, mixed mode) solaris 9 apache 1.3.29 problem: i can't __SAV

Apache Connecting to Tomcat Using mod_jk Over SSL?

2006-06-07 Thread Bill Glick
I'm trying to get Apache httpd 1.3 to connect to Tomcat 5.5 using mod_jk and SSL. I get the impression that the AJP/1.3 protocol supports SSL encryption, but I can't find much useful documentation on how to do what I want. My Apache httpd 1.3 server is on a different subnet from my Tomcat

Tomcat 6

2006-06-07 Thread Kunal Mittal
Anyone know when Tomcat 6 is coming out - when will more information/documentation be available? Thanks Kunal

Re: HTTPD with Tomcat

2006-06-07 Thread Filip Hanik - Dev Lists
mod_proxy - easy to configure - scales without limitation mod_jk - hard to compile,configure - in our tests, would not scale well at all Differences are: mod_jk supports load balancing and also passing along SSL info to Tomcat. mod_proxy is a regular http proxy, remember to set "ProxyPassPreser

RE: HTTPD with Tomcat

2006-06-07 Thread Mann, Bradley
What are the exact differences between mod_proxy and mod_jk? What are the benefits/drawbacks of each? Thanks, Brad Mann Software Engineer - Information Access Services HARRIS Corporation / GCSD (321) 984-6292 -Original Message- From: Filip Hanik - Dev Lists [mailto:[EMAIL PROTECTED] S

Re: HTTPD with Tomcat

2006-06-07 Thread Filip Hanik - Dev Lists
you can also make your own life very easy, by switching to mod_proxy, and voila, everything works :) Filip Mann, Bradley wrote: Hello, I am attempting to setup a scenario in which Tomcat is hosting a web application behind HTTPD using the Jakarta Connector. I have installed the following on

TC 5.5.12 w/ APR 1.2.2 , APR Not Found

2006-06-07 Thread Rick G
Hi All, After upgrading to TC 5.5.15 with APR 1.2.7 (tcnative 1.1.1) we started having some various issues that don't seem to be fixed in 5.5.17, so we decided to go back to 5.5.12 for the time being. However, we now have an issue getting 5.5.12 to see APR. With a clean install of tomcat 5.5.12

few "fat" contexts of many "lean" contexts?

2006-06-07 Thread Javier Gonzalez
Hi, I'm running a tomcat that provides services for a lot of clients. Each "client" one has a number of services (via axis) on their "own" context. Now I'm migratingto a bigger machine, and I got the doubt: is it better (for performance) to "group as many services as possible by context", or hav

HTTPD with Tomcat

2006-06-07 Thread Mann, Bradley
Hello, I am attempting to setup a scenario in which Tomcat is hosting a web application behind HTTPD using the Jakarta Connector. I have installed the following on Solaris 10: Apache HTTPD 2.0.58 Apache Tomcat 4.1.31 Apache Jakarta Tomcat Connector 1.2.15 I am able to access HTTPD's document roo

Re: Debugging JSP's residing in Local VC folder

2006-06-07 Thread Tim Quinn
On 6/6/06, Tim Quinn <[EMAIL PROTECTED]> wrote: I am interested in Debugging JSPs that sitting in a version control folder in Perforce (or subversion) local repository. The current method requires manually moving the JSP's to the exploded webapp folder but this process of moving the files in and

RE: Webapp Reload

2006-06-07 Thread Asensio, Rodrigo
Thanks for the answer. Filip, I will try some solutions with your clues. Thanks -Original Message- From: Filip Hanik - Dev Lists [mailto:[EMAIL PROTECTED] Sent: Wednesday, June 07, 2006 2:03 PM To: Tomcat Users List Subject: Re: Webapp Reload yes, login information is not preserved dur

Re: Webapp Reload

2006-06-07 Thread Filip Hanik - Dev Lists
yes, login information is not preserved during a restart/reload. you would have to come up with a custom solution for this, possible just creating a simple extension to the StandardManager or do it within your application using another session attribute and a filter Filip Marc Farrow wrote:

Re: TNS entry JNDI

2006-06-07 Thread Marc Farrow
Are you having a database connection problem or problem getting the reference from JNDI in your code? On 6/7/06, Scott Purcell <[EMAIL PROTECTED]> wrote: I am running Tomcat 5.x and have been using Oracle 9i. We are now running Oracle 10g and it only uses TNS names. Here is my context element

TNS entry JNDI

2006-06-07 Thread Scott Purcell
I am running Tomcat 5.x and have been using Oracle 9i. We are now running Oracle 10g and it only uses TNS names. Here is my context element: The one commented out used to work for 9i, and the other one is for the tns names. I am having trouble finding information about Tomcat and TNS names for c

Re: Webapp Reload

2006-06-07 Thread Marc Farrow
Things brings up an interesting point. How do you make the standard tomcat session attributes Serializable? Because, I currently am using a security constraint against an LDAP server. However, every time I redeploy the application the session is lost. On 6/7/06, Filip Hanik - Dev Lists <[EMAIL

Re: Fw: POST-Data from Form can not be read-out

2006-06-07 Thread Marc Farrow
I was thinking the same thing as Jon (however, I do not know anything specifically about that tag). Try to remove that atrribute from the form tag and see if it still happens. On 6/7/06, Jon Wingfield <[EMAIL PROTECTED]> wrote: What happens when you remove the enctype attribute from your form?

Re: Tomcat creating two threads for one request

2006-06-07 Thread Jon Wingfield
Fair enough. It was the "I'm facing the exactly same problem..." statement that got me confused ;) Personally, I haven't seen this "one request spawns two processes" problem. Probably best to post your tomcat version, OS, config etc so others on the list may be able to help. Jon Nikita Tovs

Re: Webapp Reload

2006-06-07 Thread Filip Hanik - Dev Lists
My guess is that your session attributes do not implement java.io.Serializable if they don't tomcat can not store them for a restart or reload Filip Asensio, Rodrigo wrote: Hello, We have a call center webapp with 100 simultaneous sessions all time ( 24/7 ). This webapp has several s

Webapp Reload

2006-06-07 Thread Asensio, Rodrigo
Hello, We have a call center webapp with 100 simultaneous sessions all time ( 24/7 ). This webapp has several sections that are updated with new JSPs or Java Classes like 3 times a week. Each time that we need update the webapp all users loose their sessions. This is a big problem all time.

Re: Tomcat creating two threads for one request

2006-06-07 Thread Nikita Tovstoles
take a look at $CATALINA_BASE/conf/server.xml; each port is defined as -nikita Sourabh Antani wrote: Nikita, Thanks for your reply. I dont seem to be missing any parameters. I dont see anywhere that tomcat is listening to two ports, do you know any specific place to look for it?

Re: Tomcat creating two threads for one request

2006-06-07 Thread Nikita Tovstoles
I know double-submission isn't part of my problem, because the client sending these requests is our in-house C app. -nikita Jon Wingfield wrote: I would turn on the access logs (if you haven't already) and check that the browser isn't actually sending two requests. This can sometimes happen i

RE: struts-config xml file throws a java exception

2006-06-07 Thread Frank W. Zammetti
Olivier, what version of Struts are you using? Frank -- Frank W. Zammetti Founder and Chief Software Architect Omnytex Technologies http://www.omnytex.com AIM: fzammetti Yahoo: fzammetti MSN: [EMAIL PROTECTED] Java Web Parts - http://javawebparts.sourceforge.net Supplying the wheel, so you don't

RE: struts-config xml file throws a java exception

2006-06-07 Thread Olivier Bex
Hi David, Thanks for your advice. I have sent a mail to struts users mailing list. Here is sample of my struts-config.xml : - - - - - - - - - [...] -Message d'origine- De : David Smith [

RE: struts-config xml file throws a java exception

2006-06-07 Thread Olivier Bex
Hi Frank, thanks for the advice. I have sent a mail to struts users. Here is my struts-config.xml : - - - [...] - [...] - - - - - - - [...] -Message d'origine- De : Frank W. Zammetti [mailto:[EMAIL P

Re: struts-config xml file throws a java exception

2006-06-07 Thread David Smith
1. This might be better diagnosed on a struts user list. 2. Could you provide some context for the reference to loginRequired in your struts-config.xml? I'm not familiar with any configuration elements or attributes in struts-config.xml named 'loginRequired'. --David Olivier Bex wrote: Hi

Re: Tomcat creating two threads for one request

2006-06-07 Thread Jon Wingfield
I would turn on the access logs (if you haven't already) and check that the browser isn't actually sending two requests. This can sometimes happen if the user double-clicks submit buttons. There are plenty of threads in the archives of this list suggesting ways to mitigate this double-submission

Re: struts-config xml file throws a java exception

2006-06-07 Thread Frank W. Zammetti
Olivier, can you post your struts-config.xml file here, or is it too large? You also may want to move this over to the Struts @user list, chances are its more appropriate there. Frank -- Frank W. Zammetti Founder and Chief Software Architect Omnytex Technologies http://www.omnytex.com AIM: fzam

struts-config xml file throws a java exception

2006-06-07 Thread Olivier Bex
Hi everyone, When I start Tomcat 5.0.28, it says that I have a parsing error in my struts-config.xml, but I think it's not. The log file throws a java.lang.NoSuchMethodException : bean has no property named loginRequired Regards, Olivier BEX

Re: Tomcat creating two threads for one request

2006-06-07 Thread Sourabh Antani
Nikita, Thanks for your reply. I dont seem to be missing any parameters. I dont see anywhere that tomcat is listening to two ports, do you know any specific place to look for it? Regards sourabh __ Do You Yahoo!? Tired of spam

Re: Fw: POST-Data from Form can not be read-out

2006-06-07 Thread Jon Wingfield
What happens when you remove the enctype attribute from your form? The enctype you specified is for binary uploads. Tomcat doesn't automatically parse the http inputstream for parameters for this content type. HTH, Jon Oliver Enders wrote: Browser is IE6.0, here´s the code: <% String m =

Mod_jk binary Solaris 10 compatible?

2006-06-07 Thread Mann, Bradley
Hello, I am having extreme difficulty building the mod_jk.so binary on Solaris 10. I was wondering if the mod_jk binary provided by Apache is Solaris 10 compatible, since in the file name it specifically references Solaris 8. Thanks, Brad Mann Software Engineer - Information Access Services HARR

Re: Fw: POST-Data from Form can not be read-out

2006-06-07 Thread Oliver Enders
Browser is IE6.0, here´s the code: <% String m = request.getParameter("m"); String flf = request.getParameter("flf"); String modeDisp = "Display"; if(flf == null){ flf = "1"; } if(m != null){ if(m.equalsIgnoreCase("c")) { modeDisp = "Create"; } else if (m.equalsIgnoreCase("m")) { modeD

Re: Fw: POST-Data from Form can not be read-out

2006-06-07 Thread Marc Farrow
This could be any number of issues from browser bugs on. What browser are you using? Also, can you post the rendered HTML page that is submitting the request to the servlet? On 6/7/06, Oliver Enders <[EMAIL PROTECTED]> wrote: Hy List, I have a problem concerning submitting form-data by

Fw: POST-Data from Form can not be read-out

2006-06-07 Thread Oliver Enders
Hy List, I have a problem concerning submitting form-data by using POST. If I send the form using GET, the content of the form can be read out using: request.getParameter("xyz"); If I change to POST, the parameters can not be read out. I´m using am Tomcat 4.1. Any Ideas ? Suggestions ?

NT authentication and ssl

2006-06-07 Thread kj1003
Hi, We are using JAAS/tagish to do NT authentication. We are using basic container managed authentication. Since this is over HTTP what is the simplest way of securing the password over the wire? If we switch to Form based authentication and use "user data constrain" on the custom login form, wil

Re: Random NullPointerException when trying to connect to Datasource

2006-06-07 Thread Brian Vuyk
Thank you for your reply. Unfortunately, no, I did not. I have checked my JSP over a few times, and as far as I can tell, the syntax is correct. Also, this error does not occur only in a specific page - no connection to the databse works, regardless of the page. On 6/7/06, Vijaya <[EMAIL PROT

Re: NetBeans 5.0 and Tomcat 5.5.16 ... Please Help (Problem after migrating to tomcat 5.5.16 from tomcat 5.0.28)

2006-06-07 Thread Marc Farrow
It might be helpful to post your web.xml and context.xml (appname.xml or the server.xml if your context tag is still in there). On 6/7/06, Vijaya <[EMAIL PROTECTED]> wrote: Hi, I am sorry for being vague in my earlier mail. This is the background of my problem. We developed the portal usin

RE: Random NullPointerException when trying to connect to Datasource

2006-06-07 Thread Vijaya
Did you by chance miss any quotes while correcting the typo of the displayed text? Vijaya -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Brian Vuyk Sent: Wednesday, June 07, 2006 5:38 PM To: users@tomcat.apache.org Subject: Re: Random NullPointerExcepti

RE: NetBeans 5.0 and Tomcat 5.5.16 ... Please Help (Problem after migrating to tomcat 5.5.16 from tomcat 5.0.28)

2006-06-07 Thread Vijaya
Hi, I am sorry for being vague in my earlier mail. This is the background of my problem. We developed the portal using Tomcat 5.0.28. In this version we connected to the database (SQL Server) without the JNDI lookup. I.e. get the data source from the request object. Also we configured the struts

Re: Random NullPointerException when trying to connect to Datasource

2006-06-07 Thread Brian Vuyk
Still wondering if anyone has any thoughts on this. I appreciate any help. Brian On 6/6/06, Brian Vuyk <[EMAIL PROTECTED]> wrote: I feel compelled to also mention that I have rebooted the system, with still the same effect. On 6/6/06, Brian Vuyk <[EMAIL PROTECTED]> wrote: > Hello. > > > I am

Re: Undeploy task not working

2006-06-07 Thread Marc Farrow
Which still implies a permission problem. On Windows 2000 check the security tab of the webapps folder under Tomcat. Make sure the account that is running Tomcat has permission to "delete". The "archive" set is the file type and doesn't really have much to do with permissions. On 6/7/06, Alber

How to override UTF-8 character encoding with tomcat 5.5

2006-06-07 Thread Håkan Sjögren
I have a tomcat 5.5 server running utf-8. For this I included URIEncoding="UTF-8" in the server.xml for port80 in order fo r the browser to be able to access files with embedded swedish characters in the . How to run an older application that needs iso8859-1? Any directive in the web.xml or some

Re: Undeploy task not working

2006-06-07 Thread Alberto Montoya
2006/6/7, Venkatesh Babu <[EMAIL PROTECTED]>: Hi, Hi, Thanks for the replies and suggestions. I'm running Tomcat on a Windows 2000 machine. I saw the directory permissions and it is just an "Archive" set. Also, our webapp is not having any database connection open. Still I'm unable to unde

Re: Undeploy task not working

2006-06-07 Thread Venkatesh Babu
Hi, Thanks for the replies and suggestions. I'm running Tomcat on a Windows 2000 machine. I saw the directory permissions and it is just an "Archive" set. Also, our webapp is not having any database connection open. Still I'm unable to undeploy the app using undeploy target. Thank you, Venkatesh

tomcat 5.0 logging 1970

2006-06-07 Thread Kaiser Rudolf
Hi, I got a tomcat (5.0.19) installation with an application. In the catalina.out and in the .log files there are sometimes entries datet "1970-01-01 01:00:00,000". Where do they come from and what can I do to get a real timestamp? There are also entries like: 01.01.1970 01:00:00 org.apache.jk.serv

pet store example for tomcat

2006-06-07 Thread Iratxe Etxeberria Sainz-Ezquerra
Hello, I am looking for a sample application for tomcat, like "pet store", but I cant find it. I need it to test the behaviour of tomcat and oraclr 10g RAC. Thanks in advance, Iratxe - Iratxe Etxebarria Sainz-Ezkerra Soporte Middleware Extern