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