Hi All,
I am getting an NPE on cluster start with 5.0.30-beta any ideas?
ERROR main org.apache.catalina.cluster.tcp.SimpleTcpCluster - Unable to
start cluster.
java.lang.NullPointerException
at
org.apache.commons.beanutils.MethodUtils.invokeMethod(MethodUtils.java:160)
at
Hi peter,
for you information this is my cluster code.it working fine for me.
Cluster className=org.apache.catalina.cluster.tcp.SimpleTcpCluster
managerClassName=org.apache.catalina.cluster.session.DeltaManager
expireSessionsOnShutdown=false
useDirtyFlag=true
Hi Sivaram,
I had something similar but it nolonger works in 5.0.30-beta ... it
seems to need to be in a format like below. This at least tries to start
even if it NPEs.
Cluster className=org.apache.catalina.cluster.tcp.SimpleTcpCluster
useDirtyFlag=true
Hi,
the Tomcat FAQ describes how to adjust the memory settings.
Christoph
Dave Morrow wrote:
Hi all.
I recently updated to Tomcat 5.5
All is well, with one exception. In prior releases (4.1) I could edit the
catalina.sh script to adjust the memory settings. Where would I do this in
Hi,
We are using Tomcat 4.0.4 in our product. We have a daemon which is a wrapper
around the tomcat.
We are facing one security issue with the Tomcat. If we send a HTTP packet with
a long string in the Host field, it closes the connection.
EX:
telnet machine port on which tomcat is running
I've been trying to get the JavaWorld example located at
http://www.javaworld.com/javaworld/jw-03-2005/jw-0307-captcha.html
On tomcat v5.5.9 (JDK 1.5) on Linux without any luck. It goes through
the authentication process and reports it's assigned the anonymous
principle but when I go to access
We resize our images using Tomcat. The resized images are cached on the local
disk with a nigthly cron, which removes unused files older than x days. Just
try it and see what the load is. If the load is very high, buy more servers
with a loadbalancer.
Ronald.
On Fri Jul 08 17:32:03 CEST 2005
Hi Justin,
Thanks for the reply ...
I have already downloaded all the files from the location you suggested (
i.e. the Linux Version ).
But its giving me the following error ...
Syntax error on line 235 of /etc/httpd/conf/httpd.conf:
Cannot load /usr/local/apache2/lib/mod_jk.so into server:
Hi Steve,
Thanks for your reply ...
I WAS using the PPC Module. I'll change it to I386, check once again and get
back ...
Thanks a lot again ...
Regards,
Shailendra
-Original Message-
From: Steve Ochani [mailto:[EMAIL PROTECTED]
Sent: Friday, July 08, 2005 10:10 PM
To: Tomcat Users
Hi,
I succeded to create a datasource for TOMCAT 5.5.7 and 5.5.9 but I have to
deploy my webapp into TOMCAT 4.1.31 and it's not the same configuration
parameters...
It seems to be all right but if I debug with Eclipse IDE my DataSource is
null...
I followed TOMCAT 4.1 JNDI DataSource how-to
I don't know the answer, but can you confirm you are either:
1) using jdk 1.5
or
2) using jdk 1.4 (and with the compatibility package for tomcat 5.5)
as the compatibility package (as I understand it) addresses xml parser
versioning/instantiation issues.
-- Tim
Craig Dixon wrote:
I've
Hi,
I'd like to have apache acting as switchboard
for my applictaion servers, e.g.
my.server.org - localhost (Apache)
my.server.org/zope- localhost:9673 (Zope)
my.server.org/application - localhost:8080/application (Tomcat)
I have the setup working
Hi !
I make a definition in which i put a list of tiles to include but I can't
achieve to do this eg :
in my tiles-defs.xml :
definition name=page1-def extends=baseDef
put name=page value=1/
putList name=listQuestions
add
This is a Struts/Tiles related question, you should ask in the Struts
mailing lists.
Dewitte Rémi wrote:
Hi !
I make a definition in which i put a list of tiles to include but I can't
achieve to do this eg :
in my tiles-defs.xml :
definition name=page1-def extends=baseDef
put
Yes i did, i made a mistake.
Sorry !
Rémi
Le Lundi 11 Juillet 2005 11:24, Christoph Kutzinski a écrit :
This is a Struts/Tiles related question, you should ask in the Struts
mailing lists.
Dewitte Rémi wrote:
Hi !
I make a definition in which i put a list of tiles to include but I can't
Hi,
this thread refers to 'Silent runtime replace of a class' thread.
We need to provide application upgrades, where users work won't be
interrupted. We also need fail-over future for application, meaning, if
one of the appservers goes down, users won't lost their work.
We need the simplest
Hi
I'm working for the Department of Computer and Information Science at the
Norwegian University of Science and Technology to make an JSP-errorPage that
analyzes the students JSP runtime-exceptions and gives easy-to-understand
feedback.
Want I need to know:
How do I obtain the URI of the
Hello together,
I still have some trouble running Apache and Tomcat together in one host.
I heard that I have to write a j_secutiry_check into apache.conf or
httpd.conf. Where exactly I have to write this, and with which syntax. What
else I have to consider while running Apache and Tomcat
I don t know details about your problem but i can answer that
j_secutiry_check is not a way of integrating tomcat into apache. It is an
authentition scheme defined by J2EE specs.
What you need is the jk_mount apache module, to let your Apache install bypass
the dynamic calls to tomcat, and
Am Montag, 11. Juli 2005 13:34 schrieb Ivan Rodriguez:
I don t know details about your problem but i can answer that
j_secutiry_check is not a way of integrating tomcat into apache. It is an
authentition scheme defined by J2EE specs.
What you need is the jk_mount apache module, to let your
Hi Kristoffer,
the java files are under ${TOMCAT_HOME}\work\catalina\localhost ...
But you cannot get these files via URI, because that would mean that
everyone can see the sourcecode of your jsp.
It's not quite clear to me how you retrive the sutdent name from the
generated java file.
A better
On Monday 11 July 2005 14:01, Bernhard Slominski wrote:
Hi Kristoffer,
the java files are under ${TOMCAT_HOME}\work\catalina\localhost ...
But you cannot get these files via URI, because that would mean that
everyone can see the sourcecode of your jsp.
It's not quite clear to me how you
I see you point now, your smart ExceptionAnalyzer gives them the line in the
sourcecode so it's easier for them to find out what was wrong.
But unfortunatly I don't see a different way except to find out yourself as
you pointed out like:
{$TOMCAT_HOME}/work/catalina/{$WHATEVER_SERVER}/{$USER}/...
Patrick Gelin wrote:
I succeded to create a datasource for TOMCAT 5.5.7 and 5.5.9 but I have to
deploy my webapp into TOMCAT 4.1.31 and it's not the same configuration
parameters...
2. This is my server.xml conf file:
ResourceParams name=jdbc/rpn_database
Hi
After spending several days trying to set this up from the
documentation, I've finally decided I need some expert help.
I have a server set up with several domains sharing an IP address. I
want to be able to have JSP files in amongst my static files, and
have apache serve the static ones
Yes, I am running JDK 1.5.0_03. Is there any problem between Tomcat
and this JDK?
On 7/11/05, Tim Diggins [EMAIL PROTECTED] wrote:
I don't know the answer, but can you confirm you are either:
1) using jdk 1.5
or
2) using jdk 1.4 (and with the compatibility package for tomcat 5.5)
as the
Thanks, I tried it, and this makes no change in the behavior.
-Original Message-
From: Mandar Vaidya [mailto:[EMAIL PROTECTED]
Sent: Friday, July 08, 2005 2:44 PM
To: 'Tomcat Users List'
Subject: RE: newbie can't start tomcat
Hi Doug,
I believe you don't have to start it as
My goal is to get Sakai running, and it must have 1.4, so I guess I'm
stuck with it.
Thanks,
Doug Simmons
-Original Message-
From: Luis Torres [mailto:[EMAIL PROTECTED]
Sent: Friday, July 08, 2005 2:43 PM
To: Tomcat Users List
Subject: Re: newbie can't start tomcat
It may not be the
I have the same issue! with debian sarge, and tomcat installed from scratch:
org.apache.jasper.JasperException: Unable to compile class for JSP
Generated servlet error:
The return type is incompatible with JspSourceDependent.getDependants()
Hello Tomcat Users List - first my apologies in case this situation is
already documented. Extensive searches turned up little useful
information about this situation. I am using Tomcat 5.0.19 on
Windows2000. I've found this Tomcat to be very stable.
Today I found my Tomcat server unresponsive
Check the permission in the work directory change it to 777 and try
-Original Message-
From: Ivan Rodriguez [mailto:[EMAIL PROTECTED]
Sent: 11 July 2005 15:14
To: Tomcat Users List
Subject: Re: Tomcat and Apache
I have the same issue! with debian sarge, and tomcat installed from
I am running Tomcat 5.5 with SQL Server on a separate machine.
I am getting the following error at random times:
Java.lang.Exception: java.sql.SQLException: [Microsoft][SQLServer 2000
Driver for JDBC]Connection rest by peer: socket write error.
I have been unable to determine a trigger for this
What driver are you using between Tomcat and SQL server?
-Original Message-
From: Anderson, M. Paul [mailto:[EMAIL PROTECTED]
Sent: 11 July 2005 16:35
To: Tomcat Users List
Subject: Tomcat 5.5 and SQL Server
I am running Tomcat 5.5 with SQL Server on a separate machine.
I am getting
com.microsoft.jdbc.sqlserver.SQLServerDriver
-Original Message-
From: Sue Roe [mailto:[EMAIL PROTECTED]
Sent: Monday, July 11, 2005 11:43 AM
To: 'Tomcat Users List'
Subject: RE: Tomcat 5.5 and SQL Server
What driver are you using between Tomcat and SQL server?
-Original
From: Anderson, M. Paul [mailto:[EMAIL PROTECTED]
I am running Tomcat 5.5 with SQL Server on a separate machine.
I am getting the following error at random times:
Java.lang.Exception: java.sql.SQLException: [Microsoft][SQLServer 2000
Driver for JDBC]Connection rest by peer: socket write
It was my first attempt. I think i have problems with library
dependencies, cause I have copied the install from development to
integration enviroment. Development is a mandriva cooker (urpmi setup),
and integration a debian sarge system(from scratch setup).
Installing and getting running
Ok. I haven't any experience with that, but I can say we were having similar
sporadic errors here with a Driver from Inet software (Merlia.jar),and
having upgraded it recently, the issue seems to have been resolved. I was
told that it was something to do with SQL Server throwing the connections
Hello all,
I'm trying to manually configure a context resource using embedded Tomcat
5.5.9. I'm not sure if ordering is important in the code below, but perhaps
one of you could shed some light. I don't get any exceptions or anything,
but my webapp isn't able to find the resource. Here is the
Another thought that just occurred to me is that the problem could be
my use of the mod_jk2 connector. Could this be it?
I'd like to use the mod_jk connector, since jk2 is deprecated, but I
haven't been able to make it work. I wish I could find some
instructions for setting up mod_jk that are as
Hi,
I have a problem with a button in my jsp page. When I click the button then
it excutes a servlet. But if i click two or three or n times it executes a
servlet
n times.
How can I do that this button execute only once independent of the number of
times that you click the button.
From: Christian Stalp [EMAIL PROTECTED]
Reply-To: Tomcat Users List tomcat-user@jakarta.apache.org
To: Tomcat Users List tomcat-user@jakarta.apache.org
Subject: Re: Tomcat and Apache
Date: Mon, 11 Jul 2005 13:53:09 +0200
Am Montag, 11. Juli 2005 13:34 schrieb Ivan Rodriguez:
I don t know
From: Sue Roe [EMAIL PROTECTED]
Reply-To: Tomcat Users List tomcat-user@jakarta.apache.org
To: 'Tomcat Users List' tomcat-user@jakarta.apache.org
Subject: RE: Tomcat 5.5 and SQL Server
Date: Mon, 11 Jul 2005 17:10:01 +0100
Ok. I haven't any experience with that, but I can say we were having
I was just reviewing an article which addresses this exact issue!
http://java.sun.com/developer/EJTechTips/2003/tt0114.html
I hope this helps - it doesn't look simple, but neither is your issue! I
think the only situation to your issue is from an application point of
view rather than from
Hi - I've heard nothing but bad things about the Microsoft JDBC driver for
SQL Server. I don't have any suggestions how to fix your problem in-place,
just a suggestion to switch drivers.
I've been using this JTDS open souce JDBC driver, suggested by our vendor
and it is very stable:
FWIW .. there is a new version of the SQLServer JDBC driver from Microsoft.
-Tim
Mitchell Teixeira wrote:
Hi - I've heard nothing but bad things about the Microsoft JDBC driver for
SQL Server. I don't have any suggestions how to fix your problem in-place,
just a suggestion to switch drivers.
Hey Matthew,
I'm no expert, but I can tell you what I did to get it running. I'm running
Apache 2.0 on Fedora Core 4. I basically ended up just rolling back my
versions to get things to work. I rolled back to Tomcat 5.0.28 with mod_jk
1.2.10.
It's true. The documentation on the web is out of
also, make sure your SQL Server is patched up with the latest SQL
Server service pack.
woodchuck
--- Tim Funk [EMAIL PROTECTED] wrote:
FWIW .. there is a new version of the SQLServer JDBC driver from
Microsoft.
-Tim
Mitchell Teixeira wrote:
Hi - I've heard nothing but bad things about
I also had the same problem with that driver. JTDS is a much much better
driver. Also look at your connection pooling software, using the commons DBCP
is also a little shady. I switched to c3p0 and all the connection problems
disappeared. Furthermore with c3p0 when the sql server reboots
Hi - I'm eavesdropping this thread (obviously) so that I can learn more
about Tomcat across all aspects, esp. since I need SQL Server
connectivity!
What is c3p0?? Does it replace some existing part of Tomcat?
Thanks -
MitchellT
--- Brian McGovern [EMAIL PROTECTED] wrote:
I also had the same
If you are not script-averse, the solution to this that I've always used
is to disable the button client-side before submitting the form.
It's not a perfect solution though, as there is no way to re-submit if a
problem occurs (i.e., if it hangs for a long time... outright
server-side errors
using JSQConnect is also very very good (incl connection pooling). The only
disadvantage is that you have to buy a license.
but for a big website with a lot of db activity this disadvantage is to
overlook.
maarten
-Oorspronkelijk bericht-
Van: Mitchell Teixeira [mailto:[EMAIL PROTECTED]
On 7/11/05, Frank W. Zammetti [EMAIL PROTECTED] wrote:
If you are not script-averse, the solution to this that I've always used
is to disable the button client-side before submitting the form.
It's not a perfect solution though, as there is no way to re-submit if a
problem occurs (i.e., if
The clue is in
'Exception in thread main java.lang.NoClassDefFoundError: server'
where it seems to be trying to load a class named 'server'.
In your environment variables you have
JAVA_OPTS=server -Xms512m -Xmx512m -verbose:gc -XX:+PrintGCDetails
-XX:+PrintGC
but the first option should
On Monday 11 July 2005 14:54, Matthew Strawbridge wrote:
Hi
After spending several days trying to set this up from the
documentation, I've finally decided I need some expert help.
I am no expert, but I got it to work
See my blog on
Success
kneeling before the Great Paul Singleton
we're not worthy!
we're not worthy!
we're not worthy!
Gratefully,
Doug Simmons
SIUC
-Original Message-
From: Paul Singleton [mailto:[EMAIL PROTECTED]
Sent: Monday, July 11, 2005 12:35 PM
To: Tomcat Users List
Cc: dsimmons
Subject:
I have a quick question and hope that someone can point me in the
right direction.
Once I have a user do basic authentication into a realm , how can I
reference the user name and role in the application?
I tried:
String username = req.getRemoteUser();
but all I am getting back is null.
Hi all,
Can anyone point me in the right direction on what might be causing this
error in my catalina.out log file? I'm running Tomcat 5.0.28 on a RedHat
EL3.0 server with Sun JDK 1_5_0_03 and am using the jsvc launcher. Aside
from this entry in my log file, everything seems to be working
are you using only tomcat ? more details please ... your question does not
provide an helpful clue ...
Guru
- Original Message -
From: Christopher Molnar [EMAIL PROTECTED]
To: tomcat-user@jakarta.apache.org
Sent: Monday, July 11, 2005 9:14 PM
Subject: Remote Username
I have a
Hello-
I am running 5.0.19
Is there a way to restrict access to files in
a directory based on a value in an HttpSession?
For example:
Customer c = (Customer) httpSession.getValue(Customer);
if (c.getCountryCode().equals(CAN))
their browser could display any HTML file in
Hello:
I am using Tomcat5.5.7 with Eclipse environment.
The problem I was facing was that inspite of changing or deleting re-copying
and compiling a JSP page (after re-starting the tomcat server), the browser was
reading the old compiled file from work/Catalina/localhost/...
I solved the
For username...
java.security.Principal principal =
HttpSession.getRequest().getUserPrincipal();
if( principal!=null )
{
userName = principal.getName();
}
To determine if user is in a specific role...the following call will return
true/false...
Hi,
I am using a WML file as my welcome-file. When I try to launch the web
page I'm getting a File Download dialog for some reason. (it's
tomcat-5.5.9 and it shows tomcat works fine when I leave the welcome
file as index.jsp)
The web.xml already had the MIME mapping for wml extension files
Well,
Is it the browser or tomcat ? if it is the browser then you need to add the
no-cache headers to the response
regards
Guru
- Original Message -
From: Rahul Joshi [EMAIL PROTECTED]
To: tomcat-user@jakarta.apache.org
Sent: Tuesday, July 12, 2005 1:50 AM
Subject: Problem with
Hi,
Actually that sounds right. You can't display WML data in a standard
browser and that's why you get the download dialog.
To see that type of content you can test using a WAP browser like winwap
(not free but you get a trial) or an online WAP emulator such as
wapsilon
i have a question that after reading the majority of the online docs is
still unanswered.
how can i set my tomcat url to default to a specific page in a webapp?
i.e. i would like http://localhost:8080 to load
http://localhost:8080/testwebapp/home.jsp.
is this possible?
thx...
erik
Erik
HI Erik,
On 11 Jul 2005 at 19:34, Erik Weibust wrote:
i have a question that after reading the majority of the online docs is
still unanswered.
how can i set my tomcat url to default to a specific page in a webapp?
i.e. i would like http://localhost:8080 to load
Hello Robert,
On 7/8/05, Robert Parsons [EMAIL PROTECTED] wrote:
Hi Carlos,
I had exactly the same problem as you. To fix it I put
a 'context.xml'...
yup, that works. I don't like the fact that I lose directory
independence since now the build directory is hardwired but it's
definitely a
Hi All,
We typically use one Tomcat instance to serve multiple applications, each
with its own domain name.
I have always managed this by creating a host entry for each application,
primarily so that we can have the application rooted at the default (empty-
path) context.
However, this has
hi,all:
I am using tomcat 4.1.31 .when I load a jsp page which has %@ include
another jsp,
the included jsp has no declaration of contentType and all the chinese
characters become ??? ,
is there anyone meets with such problem and has a solution??
best wishes~
Hi All,
I am facing a problem in setting the user created tld file in web.xml
If I don't specify anything in web.xml
I am getting below error
Exception Handler
Description: An unhandled exception occurred during the execution of
the web application. Please review the following stack trace
70 matches
Mail list logo