Hi all
what's the command again for decompiling Tomcat's classes? Or was there
special software needed to do so?
Why not just browse the source?
http://tomcat.apache.org/svn.html
If browsing sources is not enough you can use jad (
http://www.kpdus.com/jad.html ). You can integrate it as
Hi Luke,
This is a litte off topic for the Tomcat usergroup but here you go.
I have added the following to my web.xml
servlet
servlet-nameimg/servlet-name
servlet-classorg.springframework.web.servlet.DispatcherServlet/servlet-class
load-on-startup1/load-on-startup
/servlet
I thought to wait for better answers than mine, but noone seems to have one.
Can you say what exactly you want to monitor?
regards
leon
On 9/7/06, Michele Mazzucco [EMAIL PROTECTED] wrote:
Hi all,
I'm using Axis2 embedded into Tomcat. I've got a stateful web service
which needs to be
hi,
i have installed four instances of tomcat apart from the original one. i
want to run the instances ...in the same server from a asingle machine..
How can i start the instances manually...or does it start automatically whhen
we start the TOMCAT server.
I am using these 4 instances for
Please provide more informations.
1) The rule files you have configured in your balancer
2) The ports on which your various tomcat servers are running, including
the one running the balancer
3) Any output that your request could have generated in the catalina.out
of any of the running tomcat
Hi leon,
my stateful web service is just an application router, that is, it
forwards client requests to computational nodes (which are hidden to the
clients), according to specified policies. The router maintains queues
of requests (one queue for each provided service) and collects
statistics
Dear All,
Is there anyone can point me to any sample how to use singleton object
across web application in Tomcat ?
--
Regards,
Feris
PT. Putera Handal Indotama
JL. KH. Moh. Mansyur No. 11 Blok B.8-12
Telp. +62-21-631 6688 (Hunting)
Fax. +62-21-6330211
Jakarta (10140) - INDONESIA
Using Tomcat version 5.5 has fixed the problem!
Thanks to all.
Rhodri
On 7 Sep 2006, at 18:55, Edoardo Panfili wrote:
Rhodri Bowden ha scritto:
Hello.
I've recently installed Tomcat 5.0.25 on my Mac OS X (10.4), and
have used it successfully with servlets (using Java 1.5).
I am currently
HI,
THIS IS THE RULES.XML FILE...
NOTE:
I AM USING 4 INSTANCES..ON THE SAME SERVER ON THE SAME MACHINE
INSTANCE 1=LOAD BALANCER PORT=4000 ;
8080 IS THE DEFAULT PORT NO:OF THE MAIN APACHE TOMCATSERVER SET IN SERVER.XML
INSTANCE 2,3,4=CLUSTERS
RULES.XML
rule
From: Feris Thia [mailto:[EMAIL PROTECTED]
Is there anyone can point me to any sample how to use singleton object
across web application in Tomcat ?
See http://tomcat.apache.org/tomcat-5.5-doc/class-loader-howto.html
You need to ensure that the singleton is loaded by the same classloader
in
From: joon yoo [mailto:[EMAIL PROTECTED]
We're having memory management problems with java and our tomcat
webapp on a win2000 sp4 server:
HP proliant DL360 G3
Xeon 2.8 (HT on)
2GB RAM
I'm unable to expand java mem pool beyond 1024MB on this server.
Would it make sense to upgrade to
I'll assume you mean shared between separate web applications, as, within
a single web app. is nothing special. The key is the classloader. In
order for the singleton to be a true singleton, (not one fo reach webapp)
it must be loaded rom a common classloader. So the jar it is loaded from
bhaskar wrote:
===
Does it mean that it will solve my problem if I move from Tomcat 5.0.x to
Tomcat 5.5 ?
Probably.
It it is a bug there is a much greater chance of it getting fixed in
5.5.x than 5.0.x.
Mark
Would you not accomplish the same thing by placing it in shared/lib instead
of common/lib? My understanding is that common/lib is also used by Tomcat
engine itself and also all webapps while the shared/lib is just shared among
all webapps? Am I mistaken?
On 9/8/06, [EMAIL PROTECTED] [EMAIL
Have you looked into using SOAPMonitorApplet?
(Ditto on Leon's suggestion on understanding what you're expecting to see )
M-
*
This email message and any files transmitted with it contain confidential
information intended only for
From: Marc Farrow [mailto:[EMAIL PROTECTED]
Would you not accomplish the same thing by placing it in
shared/lib instead of common/lib?
*sigh*. Yes. Sorry, misread the diagram.
- Peter
-
To start a new
Thanks for the heads-up. That's something I didn't know.
Joon
On 9/8/06, Peter Crowther [EMAIL PROTECTED] wrote:
From: joon yoo [mailto:[EMAIL PROTECTED]
We're having memory management problems with java and our tomcat
webapp on a win2000 sp4 server:
HP proliant DL360 G3
Xeon 2.8 (HT
We are trying to setup what will essentially be a data vault (something people
can log into from anywhere and d/l and u/l documents securely via a browser --
additional desired features would be user/group management/permissions, maybe
on disk encryption but that's not as important as the basic
freshmeat.net
sourceforge.net
FH wrote:
We are trying to setup what will essentially be a data vault (something people
can log into from anywhere and d/l and u/l documents securely via a browser --
additional desired features would be user/group management/permissions, maybe
on disk encryption
Hello,
I have an issue with the Tomcat admin application. I get HTTP Status
500 errors whenever I click on any of the User Definition menu items
such as Users, Groups or Roles. The exact error I get reported on screen
in the HTTP Status 500 section is:
Asking us is one avenue :-)
Sounds like you are looking for a Document Management System or DMS.
Magnolia comes to mind. It's a CMS (Content Management System), but the
DMS function will be free in version 3.0 to be released soon. Doing a
search for dms or document management system should
If you're using apache httpd as a front end you can
handle this with a rewrite rule:
RewriteRule (.*);jsessionid.* $1
I do this for a different reason - when my users go to
the top level url they are redirected to a login page
that includes the jsessionid in the new url. They
then bookmark the
Please provide exception messages, they should be in catalina.out
Garthfield Carter a écrit :
Hello,
I have an issue with the Tomcat admin application. I get HTTP
Status 500 errors whenever I click on any of the User Definition
menu items such as Users, Groups or Roles. The exact error I get
Thanks, Mark. I guess I didn't realize it was so readily available...my
apologies.
Again, thank you.
-Original Message-
From: Mark Thomas [mailto:[EMAIL PROTECTED]
Sent: Thursday, September 07, 2006 6:36 PM
To: Tomcat Users List
Subject: Re: decompiling classes
Propes, Barry L wrote:
Hi,
Issue
I have installed a pool of connections in Tomcat 5.5 so that
the intranet of my society can connect to the database Oracle 8i.
When Tomcat is starting, the pool is correctly load ant the connections are
used. With more than 100 users, there are no connections to
Thanks. While I am using Apache httpd in most cases, the webapp can
be run in IIS if someone chooses to deploy it that way (connected via
mod_jk). It certainly seems like this is something that should be
controllable from the Tomcat side of things. Any other suggestions?
Thanks,
Chetan
On
why not display the results (queue sizes, response time) with time deltas in
html./pdf?
Martin --
*
This email message and any files transmitted with it contain confidential
information intended only for the person(s) to whom
When I click on User Definition - Users I get the following output
in catalina.out:
2006-09-08 16:30:02 StandardContext[/admin]action: Error retrieving
attribute users
javax.management.InstanceNotFoundException:
Users:type=UserDatabase,database=UserDatabase
at
Hello,
We have upgraded from tomcat 4.1.18 to 5.5.17, and have found that our
system start up process on Windows can no longer set jpda debugger
options on the tomcat java command line.
This occurs because the 5.5.17 catalina.bat file no longer supports the
environment variable $JPDA_OPTS, which
Hi Martin, thanks 4 ur help, I don't know what I've changed but, I
created a new project, all the pages new, I put the code that u gave
me and IT WORKED. ;-)
I was very tired but al least it
works... thank y very much
Saludos
Lsi. Carlos Puero
C.
maybe I didn't look in the right places, but I didn't exactly find what I was
looking for.
I'm getting an error of the following, connecting to Oracle.
java.sql.SQLException: [Oracle][ODBC]Syntax error or access violation.
at sun.jdbc.odbc.JdbcOdbc.createSQLException(JdbcOdbc.java:6106)
if you are trying to connect to Oracle, why do you use the JDBC-ODBC
bridge, its filled with problems.
Download Oracles JDBC driver, they have a type 4 driver (pure Java), and
use that
Filip
Propes, Barry L wrote:
maybe I didn't look in the right places, but I didn't exactly find what I was
Hello,
I think I am trying to do a very simple thing - to deploy my application to
TOMCAT5.5.17. I am using j2sdk1.4.2_12, and I did install the computability
pack. Windows 2000
I was able to start tomcat and run HelloWorldExample servlet, but I am not
able to access my application in the
hadn't really experienced any problems up to now, but then again, I wasn't
really using any SPs either.
I'll try to switch to that and recompile and see if it works.
Thanks.
-Original Message-
From: Filip Hanik - Dev Lists [mailto:[EMAIL PROTECTED]
Sent: Friday, September 08, 2006 11:32
I have a site that uses Tomcat's form based authentication. It reads
from a MySQL db using a 'DataSourceRealm' defined in the context.xml
file. All well and good.
What Im hoping to achieve is creation of a session bean with info about
the logged in account when a valid login is sent. Is there
You need a servlet mapping in your web.xml file:
servlet-mapping
servlet-nameHelloWorldExample/servlet-name
url-pattern/servlet/HelloWorldExample/url-pattern
/servlet-mapping
Put it after /servlet in your web.xml. Also, the CLASSPATH
environment variable is ignored in tomcat. Don't try to
Thanks for your help
-Original Message-
From: David Smith [mailto:[EMAIL PROTECTED]
Sent: Friday, September 08, 2006 12:14 PM
To: Tomcat Users List
Subject: Re: can not set up HelloWorldExample servlet to be called from a
different directory
You need a servlet mapping in your web.xml
Im running my app using a 'DataSourceRealm' (MySQL) wherein I have
encrypted the stored passwords using SHA. I added the 'digest=SHA' to
the realm definition.
The logins were working when I didn't encrypt the passwords. Now that
they are encrypted I can't login anymore.
Does the MySQL
Hi everyone:
I've been working on this issue for over a week, and can't seem to figure
out how or if it's possible at all.
I would like to change the default path /admin/ for Tomcat Server
Administration for Tomcat 5.5 to be /tomcat-admin/ instead.
Anyone have idea how to do this?
A few web
From: Pontius Malmberg [mailto:[EMAIL PROTECTED]
Subject: Tomcat Server Administration - Change Path?
I would like to change the default path /admin/ for Tomcat
Server Administration for Tomcat 5.5 to be /tomcat-admin/ instead.
Change the name of the admin.xml file to tomcat-admin.xml in
Obvisouly my comments below may be of no use to you whatsoever if you
don't have or have no intention of having an Apache front-end.
Pontius Malmberg wrote:
Hi everyone:
I've been working on this issue for over a week, and can't seem to
figure out how or if it's possible at all.
I would like
Hi All
I am having a really hard time getting Tomcat to play nice with multiple
hosts. I am running:
IIS 6.0
Tomcat 5.0.x
Jakarta Isapi Redirector 1.2.14.0
I have two Tomcat services installed in separate folder structures using
one instance of Tomcat (i.e. I am using CATALINA_BASE
Thanks :D The DMS search term is exactly what I needed/didn't have. There
are several listed here
http://www.roseindia.net/opensource/documentmanagementsolutions.php (Magnolia
being one of them) in case anyone else is looking for something similar.
Forrest
-- Original Message --
Hi,
I am trying to look for a way to programmtically find CPU resources used and
memory used for indivudual web applications. I have given it many tries on
Google but only thing I could find was some third party tool vendors that
give solutions to performance monitoring. Instead what I am
I don't think that this is possible, simpy because all your webapps
are running in one jvm, which is one process for the cpu. You could
try to identify separate threads, but i'm sceptical that this works.
regards
Leon
On 9/8/06, Shimol Shah [EMAIL PROTECTED] wrote:
Hi,
I am trying to look for
ServletContext.getResource()/getAttribute
take a look at ServletContext accessors at
http://tomcat.apache.org/tomcat-4.1-doc/servletapi/javax/servlet/ServletContext.html
M-
*
This email message and any files transmitted with it
Thanks Ben,
I can follow that logic. I have also found the imageDB sample app in the
Spring distro. I am allowing people to upload an image then resizing it
into a Small, Medium and Large version (I figure it is better to resize and
store rather than resize on every use) however I have saved
Oops, sorry everyone. I didn't realise that this was going out to the whole
list!
I'f you could contact me directly please Ben then I can avoid boring
everyone with this topic.
luke dot mclean at boundless dot co dot nz
Thanks comma
Not Luke (because he is embarrassed so an elf mysteriously
What are most people doing to detect so-called weak SSL ciphers in
Tomcat?
I've noted that I can configure the Tomcat Connector's 'ciphers' list to
specify only those that are not weak, but I'm not sure how best to
generate that list. For example, how would I list all ciphers except
Kurt Roy wrote:
Hello,
We have upgraded from tomcat 4.1.18 to 5.5.17, and have found that our
system start up process on Windows can no longer set jpda debugger
options on the tomcat java command line.
This occurs because the 5.5.17 catalina.bat file no longer supports the
environment
Does anyone have a code sample that performs a start and/or a stop to a
specific web application utilizing JMX (or what ever other method)?
-Original Message-
From: Peter Rossbach [mailto:[EMAIL PROTECTED]
Sent: Monday, September 04, 2006 1:22 PM
To: Tomcat Users List
Subject: Re:
We currently have an app in prod using the original servlet filer
described at
http://www.onjava.com/pub/a/onjava/2003/11/19/filters.html?page=3 , and
I know from the comments to the article in the link that there may be
some issues with
it. My question is; how does the built-in tomcat
52 matches
Mail list logo