Hai guys
am still fasing same problem with my struts,tomcat with mysql.
am working in the environment of tomcat,struts,dbcp,JP2, mysql..
i developed a site of round 20-50 actions which accesses db through DBCP
to MySQL
i completely debugged my site theroughly, there is no but in my code.
i
David,
I'm not sure what you are trying to do but if you're just trying to
do MVC then you might want to use struts and tiles. It works
well for me. I also occasionally have a need for custom jsp
tags, so I learned how to do that too.
Hope this helps.
Dean Hoover
David Aleksanyan wrote:
I'm trying
I will be out of the office starting 08/16/2004 and will not return until
09/07/2004.
I'll be away from office from August 16 to September 3, 2004, please
contact my manager Shawn Lipman for any urgent issues and I'll return your
email when I come back. Thanks.
Hai
in my tomcat logfile am getting the following exception very rarely.
Will this will cause any problem in server or in my code ?
Aug 14, 2004 11:46:49 AM org.apache.jk.server.JkCoyoteHandler action
SEVERE: Error in action code
java.net.SocketException: Broken pipe
at
Important!
KWF Email scanner found a virus in following attachment:
Part-2.zip
Content type:
application/octet-stream
Additional information from antivirus:
W95/Spaces.gen
Attachement has been removed by firewall.
-- Virus Warning Message (on uusnwa0p) --
Found virus WORM_NETSKY.Z in file Textfile.txt
.exe (in Textfile.zip)
The uncleanable
Try starting it from the command line and look for the erros messages. There
is probably a good reason why it won't start.
The logs are in the $TOMCAT_HOME/logs dir
Donie
-Original Message-
From: David Fox [mailto:[EMAIL PROTECTED]
Sent: 16 August 2004 14:48
To: [EMAIL PROTECTED]
I will be out of the office starting 08/16/2004 and will not return until
09/07/2004.
I'll be away from office from August 16 to September 3, 2004, please
contact my manager Shawn Lipman for any urgent issues and I'll return your
email when I come back. Thanks.
Sounds like the connections in the pool are timing out. The mysql
server will only keep them around for about 8 hours or so before closing
them. Have you tried tacking the following onto the end of your
database url:
?autoReconnect=true
--David
Rajesh wrote:
Hai guys
am still fasing same
Hi
For some reason I'm having difficulties getting something as simple as
this to work, see below.
The result I get is this, see below. It seems to me that the
VALUE-attribute is not evaluated. I've downloaded the JSTL-package from
apache's homepage and I've included the tld and jar files in
Hi Tobias
I've previously had the same problem. The cause, in my case, was that I
was declaring servlet spec 2.3 in web.xml. I changed this to 2.4 and it
resolved the problem. The declaration I have is
web-app xmlns=http://java.sun.com/xml/ns/j2ee;
You shouldn't even need to use c:out to output values either. When it works, you can
just use ${obj.attr} directly in your HTML/JSP. The web XML is the likely cause.
-Original Message-
From: Andrew Watters [mailto:[EMAIL PROTECTED]
Sent: 16 August 2004 13:12
To: Tomcat Users List
Thanks Mark.
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Hi,
does anyone happen to have a sample configuration to run tomcat 5.x so
that it utilizes JBoss connection pooling and JTA they would be willing
to share or a pointer to resources regarding that topic?
Thanks in advance,
Robert
I will be out of the office starting 08/16/2004 and will not return until
09/07/2004.
I'll be away from office from August 16 to September 3, 2004, please
contact my manager Shawn Lipman for any urgent issues and I'll return your
email when I come back. Thanks.
I have checked web sites, FAQs and previous posts, but can't find a
satisfactory answer to my particular problem. I am having trouble getting
Apache 2 and Tomcat 5 (connected with mod_jk2.so) when Apache encounters
URLs with the jsessionid set explicitly in the URI.
When cookies are disabled in a
Hi,
Thanx a lot guys, that did the trick.
Regards
Tobias
-Original Message-
From: Allistair Crossley [mailto:[EMAIL PROTECTED]
Sent: Monday, August 16, 2004 14:23
To: Tomcat Users List
Subject: RE: can't use EL c:out value=${obj.names}
You shouldn't even need to use c:out to
On Mon, Aug 16, 2004 at 04:57:45AM +0100, Joseph Samuel wrote:
:I am running Tomact 5.0 under Windows 2000. I want
: to access a shared folder in the netowrk from my jsp
: page. I try giving the UNC path of the shared folder.
: But tomcat is unable to see the directory. Please
: help.
Have
On Mon, Aug 16, 2004 at 12:34:41PM +0530, Rajesh wrote:
: in my tomcat logfile am getting the following exception very rarely.
: Will this will cause any problem in server or in my code ?
:
:
: Aug 14, 2004 11:46:49 AM org.apache.jk.server.JkCoyoteHandler action
: SEVERE: Error in action code
:
I'm running Tomcat 5.0.27 as a service on Windows 2000 Server sp4. Neither
JVMStat
nor JProbe can analyze the JVM for Tomcat5, neither of them recognize the
Tomcat5
process as java-related. If I run from catalina.bat, I can use either one
just fine, but I
suspect I am having problems with the
I need help to configure a secure application.
I'm trying to request a client certificate in one page only (the rest should
be accesible without presenting a certificate) and force to use SSL in the
entire application.
I put the following in the web.xml
security-constraint
This is probably because the user that owns the service is not the same user that you
are logged in as when you start the perfagent. You need to change the user that runs
the service to be the same as you log in as and all will work then.
-Original Message-
From: B Poisson
Hello - I am still fairly new to Tomcat but I have the need to put up a
Tomcat cluster. Most of the reading I've done about Tomcat clusters shows
using Apache someplace in the environment. Is it possible to cluster two
Tomcat servers without Apache, IIS, etc. in the picture?
Any ideas, links,
Hi,
The Balancer webapp is meant to function is a pure-Java, low-tech
clustering approach. It doesn't support some of the features that
advanced clustering configurations do, but it lets you distribute
traffic according to whatever rules or heuristics you want, and easily
define fallbacks for
You can also use any kind of hardware or software load balancer or DNS round robin.
Ta
Matt
-Original Message-
From: Shapira, Yoav [mailto:[EMAIL PROTECTED]
Sent: 16 August 2004 14:12
To: Tomcat Users List
Subject: RE: Tomcat clustering without Apache
Hi,
The Balancer webapp is meant
Sorry for the delay; I initially sent this message in the wrong direction and
then was gone for the weekend.
I think the bottom line is that I need to familiarize myself more with standard
Tomcat file structures and packaging techniques, and any places to go for that
information would be more
Hi,
So, I suppose that makes question #2: is there a way to have two
seperate
tomcat
contexts use the same web-inf folder?
Sure: any number of Tomcat contexts can use the same docBase. Only the
path attribute of the Context must be unique within the Host.
Yoav Shapira
-- Here is your List of Failed Recipients --
[EMAIL PROTECTED]
Requested action not taken: mailbox unavailable. [SMTP Error Code 550]
Here Is Your Returned Mail
Received: FROM lutik.ru BY inetserver ; Mon Aug 16 19:06:56 2004 +0400
From: [EMAIL PROTECTED]
To: [EMAIL
I will be out of the office starting 08/16/2004 and will not return until
09/07/2004.
I'll be away from office from August 16 to September 3, 2004, please
contact my manager Shawn Lipman for any urgent issues and I'll return your
email when I come back. Thanks.
Hi all,
Sounds like something old. I just tried to put one of our applications behind
apache (2.0.50) using mod_jk (1.2.6) on linux. We have a problem with
pictures posted (method POST, content-type multipart/form-data). The error on
tomcat is :
2004-08-16 11:32:22,698 [TP-Processor6] ERROR
I can confirm the behavior Emerson explains. I had the problem myself (with
TC4.1.30). Isn't it weird you get a precise error message with line numbers and all
except it doesn't tell you which file? Bummer.
I figured it by disabling one thing after another in webapps. Just move it somewhere
Thanks for the responses so far on this topic. Seems like I need to
elaborate a little
We are looking towards Tomcat clustering to solve a problem caused by
so-called Megaproxy ISPs such as AOL, etc. These ISPs make it look as if
the same client is coming from multiple IP addresses. This
session replication is supported in tomcat without apache
in tomcat 5, just uncomment the cluster section in server.xml, also, there
are online docs
http://jakarta.apache.org/tomcat/tomcat-5.0-doc/cluster-howto.html
Filip
-Original Message-
From: Mitchell Teixeira [mailto:[EMAIL
You would still need some kind of single entry point to your application though as the
cookie would not reference the same session if the URL changes.
Apache is one way to achieve this but any kind of load balancer should do the trick.
Ta
Matt
-Original Message-
From: Filip Hanik
hi ,
I am a new member to the list.
I am trying to setup an
Apache 2 - Tomcat 5 setup on my linux server and have ended in some issues.
Currently I can run jsps and servlets directly from tomcat but not
through apache.
I have tried to follow some guides from the internet on using unix
sockets
I get below errors on any jsp request.
thanks
-Anand
[Mon Aug 16 11:23:13 2004] [notice] Apache/2.0.49 (Unix) mod_jk2/2.0.4
configured -- resuming normal operations
[Mon Aug 16 11:23:13 2004] [error] ajp13.init(): No channel
/usr/local/jakarta-tomcat-5.0.25/work/jk2.socket
[Mon Aug 16
Try this, its one of the best around
http://www.connecties.com/cymulacrum/tomcat5/book1.html
Ta
Matt
-Original Message-
From: Anand A Rao [mailto:[EMAIL PROTECTED]
Sent: 16 August 2004 17:47
To: Tomcat Users List
Subject: new to list - need help
hi ,
I am a new member to the list.
I
Howdy all,
One of my fellow developers was playing with our tomcat server. He
fired it up using ./catalina.sh debug. It went into debug mode fine
for him. Now it doesn't seem to go into any other mode! Our start up
script does not use the debug option, but that doesn't seem to matter!
Been searching the Internet and reading every FAQ I could find but still do
not know the answer to my problem. Attempting to make the version of Apache
that ships with RedHat Enterprise 2.1 talk to Tomcat via MOD_JK. Getting an
error message:
Cannot load /etc/httpd/modules/mod_jk.so into server:
I would suggest building it yourself, that way you are guaranteed to get the right one.
Ta
Matt
-Original Message-
From: McGovern, James F (HTSC, IT)
[mailto:[EMAIL PROTECTED]
Sent: 16 August 2004 18:42
To: '[EMAIL PROTECTED]'
Subject: Mod JK - RedHat Enterprise 2.1 - Tomcat
Been
I'm having the same problem on Linux. My practice TC instance is started as
part of the system startup with user root and group root. If I log in as
root, I can't seem to locate the TC instance. But a ps -aef | grep java
reveals the task.
I feel foolish even asking, but I can't see where
The 8th post in this Javaranch.com thread suggests that Tomcat uses DBCP
connection pooling by default:
http://www.midrangeserver.com/mpo/mpo081502-story04.html
That feature to indicate connection leaks sounds intriguing. I found
the following in our server.xml and am wondering if this means we
Whoops...I need an addendum. The post can be found here:
http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topicf=13t=001073
- Original message -
From: Stephen Charles Huey [EMAIL PROTECTED]
To: Tomcat User [EMAIL PROTECTED]
Date: Mon, 16 Aug 2004 13:06:13 -0500
Subject:
This sounds odd, i have no trouble on linux. It should be called Bootstrap.
-Original Message-
From: Robert Bateman [mailto:[EMAIL PROTECTED]
Sent: 16 August 2004 18:55
To: Tomcat Users List
Subject: Re: Help with JVMStat or JProbe
I'm having the same problem on Linux. My practice TC
Being new to Linux, could you point me to a URL that describes in exact
steps everything I need to do. Found several and still ended up down a
rathole.
-Original Message-
From: Dale, Matt [mailto:[EMAIL PROTECTED]
Sent: Monday, August 16, 2004 1:49 PM
To: Tomcat Users List
Subject: RE:
Not sure you can do this with Tomcat alone (but would be happy to be
shown the error of my ways). This is because every ssl connection uses
the same SSLSocketFactory configuration irrespective of requested URI.
The mod_ssl module for Apache has support for this type of config, though:
I will be out of the office starting 08/16/2004 and will not return until
09/07/2004.
I'll be away from office from August 16 to September 3, 2004, please
contact my manager Shawn Lipman for any urgent issues and I'll return your
email when I come back. Thanks.
That was my thought too. I wonder... I'm using an early 1.4.1 JVM (maybe
02???) Could that contribute? I'm at a loss otherwise.
Bob
On Monday 16 August 2004 02:13 pm, Dale, Matt wrote:
This sounds odd, i have no trouble on linux. It should be called Bootstrap.
-Original Message-
Are you guys running tomcat through jprobe.?
NR
-Original Message-
From: Dale, Matt [mailto:[EMAIL PROTECTED]
Sent: Monday, August 16, 2004 2:14 PM
To: Tomcat Users List
Subject: RE: Help with JVMStat or JProbe
This sounds odd, i have no trouble on linux. It should be called
Someone please correct me if I'm wrong here...
Also be aware that non-protected pages will not provide you with a value to
request.getRemoteUser(). I had assumed I could get the remote user from any
page once the user logged in, but it doesn't work as I expected. I believe
there *was* a bug
I've found that on some jvm's it doesnt list the actual class name of the tomcat jvm,
not worked out a pattern yet, it may just be older jvm's. On those cases i've seen it
list just the process id with nothing beside it. If you can see the process with ps
then there is no reason why you
On Monday 16 August 2004 02:34 pm, Nandish Rudra wrote:
Are you guys running tomcat through jprobe.?
No. Trying to use jvmstat and Jprobe to see the TC instance that is already
running.
Bob
-
To unsubscribe, e-mail: [EMAIL
We have done on solaris but I wasnt involved much at that point.
-Original Message-
From: Nandish Rudra [mailto:[EMAIL PROTECTED]
Sent: 16 August 2004 19:34
To: 'Tomcat Users List'
Subject: RE: Help with JVMStat or JProbe
Are you guys running tomcat through jprobe.?
NR
Try http://www.connecties.com/cymulacrum/tomcat5/book1.html
-Original Message-
From: McGovern, James F (HTSC, IT)
[mailto:[EMAIL PROTECTED]
Sent: 16 August 2004 19:09
To: 'Tomcat Users List'
Subject: RE: Mod JK - RedHat Enterprise 2.1 - Tomcat
Being new to Linux, could you point me to a
OK, in that case you need to run tomcat through the JProbe.
NR
-Original Message-
From: Robert Bateman [mailto:[EMAIL PROTECTED]
Sent: Monday, August 16, 2004 2:44 PM
To: Tomcat Users List
Subject: Re: Help with JVMStat or JProbe
On Monday 16 August 2004 02:34 pm, Nandish Rudra wrote:
Thanks for the various URLs. Was hoping that I would get a better answer
than having to find source and compile or reinstall. Those answers are what
I expect from MS. Was hoping for a simple get patch here download.
This communication, including attachments, is for the exclusive use of
There are so many different versions and combinations of apache/tomcat that there
would end up being loads of jk rpms. Its a doddle to build anyway and there are a few
out there pre-built. Perhaps once you've built yours you could package it up and
release it to the community.
Ta
Matt
The debug startup option is not related to the logging verbosity. At a guess he
changed the logging level for one or more components in server.xml as well.
Changing back should fix it.
Mark
-Original Message-
From: Jim Beard [mailto:[EMAIL PROTECTED]
Sent: Monday, August 16, 2004
you could download the rpm(glibc) form either of the locations.
http://rhn.redhat.com/errata/RHSA-2003-334.html
http://linux.maruhn.com/sec/glibc.html
http://www.itp.tu-graz.ac.at/Comp/RPM/rh-9/glibc-2.3.2-11.9.i386.html
-Original Message-
From: McGovern, James F (HTSC, IT)
Thanks
EOM
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Hi,
Not possible.
EOM
This e-mail, including any attachments, is a confidential business communication, and
may contain information that is confidential, proprietary and/or privileged. This
e-mail is intended only for the individual(s) to whom it is addressed, and may not be
saved,
I have configured Tomcat 4.x to provide login's via a jdbcRealm which
connects to my database. I setup a login.jsp page with the appropriate
j_* fields for the user name and password. All of this seems to work
fine. Users get validated; appropriate roles get set.
I also want to know the
I remembered seeing something about adding an additional callback to the
JAAS authentication
mechanism but I'm at a loss to tell you where it was that I saw this.
Hope someone else reading the list might know what I'm referring to.
-Original Message-
From: Scott Smith [mailto:[EMAIL
Hello Yoav,
I'm sorry to bother you directly, but I have had no responses to my posting
on tomcat-user, and hope you might help me out. I've outlined the problem
below... please let me know if you need more information.
-Original Message-
Sent: Wednesday, August 04, 2004 5:58 PM
I'm
Hello,
Yes, i have the option service selected during the installation... but
the error is the same Service Not Found when I pretend start Tomcat 5
on XP.
Thanks
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional
Hi QM,
Thanks for the advice. It turns out my Zone Alarm blocked the traffic.
Regards
Steve
- Original Message -
From: QM
To: Tomcat Users List
Sent: Thursday, August 12, 2004 6:34 PM
Subject: Re: Tomcat 5.0 does not serve all time
On Thu, Aug 12, 2004 at 04:59:04PM
On Mon, Aug 16, 2004 at 03:05:53PM -0400, [EMAIL PROTECTED] wrote:
:how to dictate context boot sequence in tomcat 5?
To rehash a workaround that's been posted to the list (a few times)
before:
set up different Tomcat instances,
and start those in the order you need
-or
Hello,
I'm just new to tomcat and using it as container implementation in
JBOSS. I have the 2 following wonders:
1. I have to implement a session management jsp module where an admin
user has to be able to logoff users at demand.
I see in the J2EE spec that getSessionContext is going to be
-- Virus Warning Message (on uusnwa0p) --
Found virus WORM_NETSKY.Z in file Notice.txt
.exe (in Notice.zip)
The uncleanable file
Have you tried the binaries rpms contained in the new Red Hat Application
Server channel? Don't know if that only works with a suscription but it
worked for me in a particular Red Hat Enterprise installation (version 3,
though)
José Ernesto Echeverría
-Original Message-
From: McGovern,
Just wondering.
Are you using mod_jk2 or similar?
What kind of content are you serving and what are your mappings in the
configuration files for the mod_jk connector?
José Ernesto Echeverría
-Original Message-
From: Anand A Rao [mailto:[EMAIL PROTECTED]
Sent: Lunes, 16 de Agosto
On Mon, 16 Aug 2004 09:58:04 -0300
[EMAIL PROTECTED] wrote
I need help to configure a secure application.
I'm trying to request a client certificate in one page only (the rest should
be accesible without presenting a certificate) and force to use SSL in the
entire application.
I put the
You simply need to have two security-constraints: One looks like below, and
the other has url-pattern/*/url-pattern, and doesn't have an
auth-constraint.
[EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
I need help to configure a secure application.
I'm trying to request a client
I can say, this is purely a connection closing problem.
That's the reason when you restart the tomcat it works fine till the
time all the connection in the connection pool utilize and then after it
hangs.
Are u closing your connection in finally block?
-Jignesh
On Mon, 2004-08-16 at 02:14,
Hi,
How to combine tomcat log information (e.g. requestor's IP address, timestamp,...)
with information available in SOAP message body parts containing application data?
br,
Timo
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
75 matches
Mail list logo