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.
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
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.
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
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
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
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
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
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
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
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
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
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
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
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
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 ?
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
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;
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
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
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
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:
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
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
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
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
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
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
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
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
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
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?
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
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
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:
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:
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
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
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
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
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
Anyone know when Tomcat 6 is coming out - when will more
information/documentation be available?
Thanks
Kunal
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
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
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
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);
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:
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
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
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
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
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 -
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.
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
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
[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
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
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
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
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
60 matches
Mail list logo