Hi y'all,
I'm experiencing severe problems with my Tomcat-server. My setup is this: I
have a setup with a load balancer in front of a couple of Tomcat servers.
Once in a while, when I accidentally runs into a code 500 error, I am
presented with the stack trace instead of the (otherwise properly
Hi,
loredana loredana wrote:
javax.servlet.ServletException: java.sql.SQLException: [Microsoft][SQLServer 2000
Driver for JDBC]The requested instance is either invalid or not running.
Can you try to do the same outside Tomcat, in a main method of a test
Java class? It doesn't look like a
I doubt this is tomcat's fault in any way given the code snippet is pure
java and doesn't access the api except for the success message. Can you
verify the Ubuntu machine really has access to the MS SQL server (no
firewall on either system)? Also I'm guessing you also verified the
version of
OK I've figured out what's happening, but not how to fix it!
I'm running a single Tomcat instance that is hosting some virtual hosts,
and we have three Tapestry web applications. For those unfamiliar with
Tapestry, a Visit object is defined to represent the user's session and
is sort of a
Hi,
I just moved my hosting from a provider where I had a
private Tomcat server with complete control over it to
a provider that uses Plesk and I share the Tomcat
server with other users. The provider has no Tomcat
knowledge in house and the Tomcat service is rarely
used, so they couldn't help me
Hi,
I had a problem before with this upgrade scenario using the Oracle
drivers, and asked the list. I was asked if the JAR was in
$CATALINA_HOME/lib - it was - no further ideas.
I have never had a problem before with JDK 4 or 5 on TC5.5, just with
JDK6 and TC6, so I temporarily abandoned my
Charl Gerber wrote:
Hi,
I just moved my hosting from a provider where I had a
private Tomcat server with complete control over it to
a provider that uses Plesk and I share the Tomcat
server with other users. The provider has no Tomcat
knowledge in house and the Tomcat service is rarely
Hello there,
I would like to save single files (I got via HTML post)
to an existing web app on the application server (JBoss) without redeploying
the hole WAR file.
(I really need to save the files into such a WAR archive file on the server;
to keep it short: I dont want to save the files on
Tomcat 5.0.something. (I wanted 5.5 or 6.0, but alas)
I wanted to create a JDBC Resource in the
GlobalNamingResources to start with. Plesk puts the
application into the server.xml something like this:
Host deployXML=true name=ammetersforafrica.co.za
debug=0
I have developed a simple servlet that implements the CometProcessor and logs
Begin Event Received, Read Event Recieved or End Event received as
might be the case.
My client program opens an HttpUrlConnection to do a POST, sets Connection:
Close, and writes data that is approx 160KB. I then does
From: Tony Anecito [mailto:[EMAIL PROTECTED]
The Tomcat server is running web services which are
dynamic.
OK. That's an answer to a slightly different question to the one I
asked, so let me unpack it a bit :-).
- You presently have a Tomcat server front-ended by Apache httpd.
- You serve
Novaree wrote:
Once in a while, when I accidentally runs into a code 500 error, I am
presented with the stack trace instead of the (otherwise properly
configured) 500.jsp page. The correct code 500 page is display, like, 8
out of 10 times.
How is it configured?
What does the stack trace look
Hi Mark,
The error page is configured, as described in the docs, in the web.xml-file:
error-page
error-code500/error-code
location/jsp/error/500.jsp/location
/error-page
The stack trace is specific to the error caused by the application, ie. it
is not the same error on each and every
In cluster of two nodes, which the parameter that I need to configure
(or to decrease the value) for a node knows immediately that the other
is down? With this configuration a node waits some time.
Cluster
className=org.apache.catalina.cluster.tcp.SimpleTcpCluster
Hey
The mcastDropTime attribute controls how long a node waits without a
response from a peer before considering it dead. Careful though, I tried
setting this to be much lower than the default and had all sorts of
problems with nodes adding / disappearing all the time; I wonder what
sorts of
I want my webapp to be the default application on my Tomcat 5.5 server,
so that it will go to the app's login page even if they don't enter the
app name as part of the url. For example, normally my app is accessed at:
http://myserver:8081/SiteData/Login.jsp
I want them to get Login.jsp even
David kerber schrieb:
I want my webapp to be the default application on my Tomcat 5.5 server,
so that it will go to the app's login page even if they don't enter the
app name as part of the url. For example, normally my app is accessed at:
http://myserver:8081/SiteData/Login.jsp
I want
David kerber wrote:
I want my webapp to be the default application on my Tomcat 5.5 server,
so that it will go to the app's login page even if they don't enter the
app name as part of the url. For example, normally my app is accessed at:
http://myserver:8081/SiteData/Login.jsp
I want them
Thanks, guys; I like the redirect idea a lot better than a second
install that I'm likely to forget to update at some point.
Pid wrote:
David kerber wrote:
I want my webapp to be the default application on my Tomcat 5.5 server,
so that it will go to the app's login page even if they don't
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Gabrielle,
Iannetti, Gabriele wrote:
I would like to save single files (I got via HTML post) to an
existing web app on the application server (JBoss) without
redeploying the [whole] WAR file.
Ouch. Really?
That shouldn't be too hard: just
Thanks Chris,
you helped me very much,
now I know it's up to use pure Java API for this,
and unfortunately not the servlet engine API.
So I have to use a web server to automate the process of storing files for my
purpuse.
Best regards,
Gabriele
Gabrielle,
Iannetti, Gabriele wrote:
I
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Gabrielle,
Iannetti, Gabriele wrote:
now I know it's up to use pure Java API for this,
and unfortunately not the servlet engine API.
The servlet API doesn't have anything in it that doesn't have to do with
serving dynamic requests. I'm not sure
On 10/1/07, David kerber [EMAIL PROTECTED] wrote:
Thanks, guys; I like the redirect idea a lot better than a second
install that I'm likely to forget to update at some point.
What second install?
Rename the WAR file or directory; what could be simpler?
--
Hassan Schroeder
Hassan Schroeder wrote:
On 10/1/07, David kerber [EMAIL PROTECTED] wrote:
Thanks, guys; I like the redirect idea a lot better than a second
install that I'm likely to forget to update at some point.
What second install?
Rename the WAR file or directory; what could be simpler?
Can
On 10/1/07, David kerber [EMAIL PROTECTED] wrote:
Hassan Schroeder wrote:
Can I set the root webapp to ALSO answer under the webapp's original
name, so people who use a bookmark to the full app path won't get not
found errors? I though I had to have the .war in both places: root
and its
David kerber wrote:
Can I set the root webapp to ALSO answer under the webapp's original
name, so people who use a bookmark to the full app path won't get not
found errors? I though I had to have the .war in both places: root
and its original place for that to work...
Of course. Simply
Hassan Schroeder wrote:
On 10/1/07, David kerber [EMAIL PROTECTED] wrote:
Hassan Schroeder wrote:
Can I set the root webapp to ALSO answer under the webapp's original
name, so people who use a bookmark to the full app path won't get not
found errors? I though I had to have the
Mark,
I did not hijack a thread. I started this one myself.
Thanks,
Tony Fountain
Benefit Concepts, Inc.
(419) 244-9936 x9010 (office)
(419) 249-7221 (fax)
-Original Message-
From: Mark Thomas [mailto:[EMAIL PROTECTED]
Sent: Thursday, September 27, 2007 11:23 PM
To: Tomcat Users List
Would it be enough to replace ROOT/index.jsp with the following?:
% page contentType = text/html %
%
String redirectURL = http://myserver:8081/SiteData/;;
response.sendRedirect(redirectURL);
%
-- Ken Bowen
Pid wrote:
David kerber wrote:
I want my webapp to be the
Hi Tony,
I am not sure where at the website you can find documentation
but I use Win2k3 and Tomcat 5.5 and have found that the Native runtime
library for W2k3 gives a big performance boost. The file is
tcnative-1.dll and I think the latest version is 1.1.9.0; Google it and
you should be
Is it possible reload configurations on \WEB-INF\classes without
restart tomcat server?
Thanks a lot
-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands,
On 10/1/07, David kerber [EMAIL PROTECTED] wrote:
We're not in full production, but have a dozen or so beta-test sites
that we'd rather not jerk around since they have already tolerated some
glitches during testing.
A one-time change of bookmarks wouldn't seem that big a deal,
considering it
On 10/1/07, Andrew Hole [EMAIL PROTECTED] wrote:
Is it possible reload configurations on \WEB-INF\classes without
restart tomcat server?
Context reloadable=true/
unless I misunderstand what you're asking :-)
--
Hassan Schroeder [EMAIL PROTECTED]
you should receive one BEGIN event per connection, one READ event per
connection, and you wont receive end or error until the client or server
closes the connection or times out
Filip
Deepak J wrote:
I have developed a simple servlet that implements the CometProcessor and logs
Begin Event
it would have to be the multicast address that is unique to take care of
the problem, however, easier to run one cluster instance at the engine
level, the cluster knows what vhost a piece of replicated data belongs to
Filip
Daniel M Garland wrote:
OK I've figured out what's happening, but
Hi folks,
I am using Tomcat 5.5.9 on HPUX 11.11 (JDK 1.5) and have uncommented the
SSL Section in the server.xml
The IE hangs when I access the https://machine:8443/index.html page
but works just fine if I use http://machine:8443/index.html
There are no errors or messages in the catalina.out
Your error-page declaration only handles errors caused by
sendError(500). It doesn't handle exceptions thrown by the
application. To specify an error page that is called for all unhandled
exceptions, add this:
error-page
exception-typejava.lang.Throwable/exception-type
sorry for late answering and I hop it is not too late. I ma using Tomcat 5.5
and the WebDAV servlet developed by Apache. but the servlet does not
respond to the net use command.
regards,
Shahab
Mark Thomas-15 wrote:
shahab wrote:
Hi,
I am trying to develop a simple distributed file
Although I've read a lot in the past week about Permgen and the problems of
some libs, I haven't been able to find a solution to my problem.
I'm running Tomcat 6 and an application with (among others):
- Struts 2
- Hibernate
- Tiles 2
- Log4j
- ant
Redeployment with ant (or the tomcat manager)
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Gabe,
Gabe Wong wrote:
Sounds very much like a memory issue as echoed by others on the list.
I'm not so sure: he's getting what looks like a clean shutdown, not a VM
crash or OOME or anything like that.
If it were on Linux and he were running out
I will be out of the office starting 10/01/2007 and will not return until
10/08/2007.
I will respond to your message when I return, but can be reached at 952 836
4385 (send a txt if possible, since I won't be able to answer many calls)
Tony Fountain wrote:
Mark,
I did not hijack a thread. I started this one myself.
No you didn't. You hit reply to an old message deleted the content and
changed the subject. Please don't do this.
Mark
-
To start a new
wild_oscar wrote:
Can anyone pinpoint the probable cause, solution or way to tackle this
problem? Increasing the size of the Permgen only postpones the problem: at
the end of a workday it'll be full, after a dozen redeployments...
Get a profiler. I use YourKit.
Mark
Shahab1355 wrote:
sorry for late answering and I hop it is not too late. I ma using Tomcat 5.5
and the WebDAV servlet developed by Apache. but the servlet does not
respond to the net use command.
I have taken a look at the request/response cycle with tcpmon (from
Axis) and I can't see
Julio Cesar Gazquez wrote:
I just configured Tomcat 5.5 using digest passwords, using SHA algorithm and
setting the password hashes at tomcat-users.xml by hand.
However I'd need to use the Tomcat Admin Tool to manage passwords, yet it
seems to be unable to deal with hashed passwords, so if
45 matches
Mail list logo