The end tag /html:form is unbalanced' in tomcat 5.0

2006-06-07 Thread Colin Chiew
I'm getting The end tag /html:form is unbalanced' errors in my JSP forms on Tomcat 5.0.x. This does not happen when the same form runs on Tomcat 4.x. I'm figuring some out of date jars in my apps. Anyone encounters this issue? Thanks in advance. Colin.

Re: SSL Setup

2006-06-07 Thread Jack
You can download the strong encryption mechanisms here: http://java.sun.com/j2se/1.4.2/download.html (Right at the bottom of the page) Java Cryptography Extension (JCE) Unlimited Strength Jurisdiction Policy Files 1.4.2 On 06/06/06, Roch [EMAIL PROTECTED] wrote: How do I check to see if

SV: The end tag /html:form is unbalanced' in tomcat 5.0

2006-06-07 Thread Tommy Skarateppen
Hi, I had the same problem a while ago. I had commented out some code in my jsp with !-- ... --. In those comments I had some struts html tags, which was unbalanced. When running on Tomcat 4.x, those comments where ignored and I got no errors, but on Tomcat 5.0.x, I got the the unbalanced error.

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

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

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

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

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

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, Alberto

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: 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

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

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 using

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

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, will

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 ?

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

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)) { modeDisp = Modify;

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

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

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: 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:

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

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: 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 : - struts-config - data-sources - data-source [...] /data-source /data-sources - form-beans [...] /form-beans - global-forwards forward name=login path=/login.jsp / /global-forwards

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 : - struts-config - data-sources - data-source set-property property=driverClass value=org.gjt.mm.mysql.Driver / set-property property=url

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

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 Connector -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

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

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

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

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: 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

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

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:

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: 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

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 have

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

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

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

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

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

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

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

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);

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 context element below does not connect. Thanks, - Original Message - From: Marc Farrow [EMAIL PROTECTED] To: Tomcat Users List users@tomcat.apache.org Sent: Wednesday, June 07, 2006 12:44 PM Subject: Re:

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

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

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: filter-mapping filter-nameauthFilter/filter-name url-pattern/*/url-pattern

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

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 -

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.

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 have an

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

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, tomcat

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 what I

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 ?xml version=1.0 encoding=UTF-8? . web-app xmlns=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

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 Server tag. Even in TC

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 ? How are