John,
Possibly the following will help as it is listed in the 5.5 JDBC DataSource
html page in the User guide:
http://jakarta.apache.org/tomcat/tomcat-5.5-doc/jndi-datasource-examples-howto.html
Please note that JNDI resource configuration has changed somewhat between
Tomcat 5.0.x and
One more thing and i may have missed it in your note: Did you say you placed
mysql's jar file in the common\lib directory ?
John Cherouvim [EMAIL PROTECTED] wrote:Hello
I've been trying to setup a mysql connection pool using JNDI as shown in
David,
Just in case you haven't done this yet, have you checked to see if the
environment variable shows up as a catalina:type=Environment MBean? if so you
should be able to access it. Hope this helps.
- andy gordon
David Kerber [EMAIL PROTECTED] wrote:
If I'm reading it correctly
if you are using 5.5x you can look at the mbean with jmxproxy which is part of
the manager app.
David Kerber [EMAIL PROTECTED] wrote:Nope, never heard of that one. I'll see
if I can figure out how to get
at that type.
andy gordon wrote:
David,
Just in case you haven't done this yet, have
or
not. The informatio available via JMX was the same whether MySQL was started or
not.
I am wondering if creating your own MBean is the appropriate way to test the
connection.
Let me know how this comes out.
- Andy Gordon
Edmon Begoli [EMAIL PROTECTED] wrote:
Is there a handy MBean in Tomcat
-datasource-examples-howto.html
good luck
- andy gordon
Edmon Begoli [EMAIL PROTECTED] wrote:
Anyone,
I want to configure Tomcat 5.5.x to access each database in the Oracle
cluster, and not using the pool.
This configuration is for database diagnostic puproses, so I need to create
a single connection
Leon,
Not sure if this will help, but it looks like there was an error when
registering MBeans. Did make any modifications with the Coyote Connnector? This
is the connector that integrates with Apachr or IIS for example.
- andy
Leon Rosenberg [EMAIL PROTECTED] wrote:
starting tomcat:
David,
Have you looked at setting up virtual hosts in tomcat as this seems to be what
you are looking for.
- andy gordon
David Thielen [EMAIL PROTECTED] wrote:
Hi;
I am running on Windows 2003/IIS 6.0 tomcat. I have a single IP address
for all of my websites (I have several) and then use
Dirk is correct you need to check out the doc in order to understand your
options. To add a little specificity to your challenge, you need to do at least
the following to get going:
1) set remote monitoring options when you are starting the JVM. This can be
accomplished multiple ways. One
A realm, in this case the UserDatabase realm is simply a collection of users,
passwords, and roles. You could also think of a role as a group. It identifies
valid users of a web application (or set of web applications), plus an
enumeration of the list of roles associated with each valid user.
if you enable the jdbc realm then authentication and authorizaiton comes from a
jdbc datasource not the tomcat.uses.xml file. This is why tomcat keeps asking
you for a user name and password. I suggest you read the realm how to on the
tomcat website so you can correct your problem.
- andy
tables
Username to Username/Role
I think you are close but off just a bit.
again follow the quick start guide in the documentation and you should have it.
good luck,
Andy Gordon
±ç¬±³õ [EMAIL PROTECTED] wrote:
However I go into http://localhost:8080/erp
It is ok.
I have added record
is the MySQL Connector Jar file in the $CATALINA_HOME/common/lib directory?
Kito Holliday [EMAIL PROTECTED] wrote:Attempting to use connector-java-3.3.10
with tomcat 4.0 and mysql and
servlets. The Java code:
InitialContext ctx = new InitialContext();
DataSource ds =
Hello All,
I'm a newbie to database pooling via JNDI and I have a JNDI/Tomcat question
(more of a best practices/most scalable/fastest performance/least resource
consumption type of question).
Each time the JNDI resource (pooled database connection) is needed, should a
complete JNDI lookup be
All,
Has anyone successfully run Connector MXJ successfully with Tomcat, Standalone,
or with JBoss?
Connector MXJ allows you to manage MySQL databases through JDBC or JMX MBeans.
- andy
-
Start your day with Yahoo! - make it your home page
Help,
How do you set up JMX remote for Tomcat 5.5.9?
For instance where do you specify the JVM startup option
-Dcom.sun.management.jmxremote.port=9998
that enables remote monitoring and management?
THank you
- andy
-
Sell on
have not done anything else at this point with respect to enabling JMX remote.
Thank you
- andy
Tim Funk [EMAIL PROTECTED] wrote:
http://jakarta.apache.org/tomcat/faq/misc.html#properties
-Tim
andy gordon wrote:
Help,
How do you set up JMX remote for Tomcat 5.5.9?
For instance
/html/*]
info=Map the tomcat manager
worker=ajp13:192.168.5.12:8009
debug=99
#
[uri:/manager/status]
info=Map the tomcat status
worker=ajp13:192.168.5.12:8009
debug=99
#
[uri:/*]
#group=lb
worker=ajp13:192.168.5.12:8009
debug=99
Many thanks
Gordon
--
Gordon Schmidt
System Administration
X-CELL
status
worker=ajp13:192.168.5.12:8009
debug=99
#
[uri:/*]
#group=lb
worker=ajp13:192.168.5.12:8009
debug=99
Many thanks
Gordon
--
Gordon Schmidt
System Administration
X-CELL COMMUNICATIONS GmbH
--
Office Ratingen
Broichhofstr. 13
40880 Ratingen
Phone: +49 (0)2102/55344-39
Fax
. Then everything worked
smoothly and I can now access the servlet at http://localhost/example/Menu
instead of just at http://localhost:8080/example/Menu. Thanks for the help.
John Gordon
- Original Message -
From: Aris Javier [EMAIL PROTECTED]
To: Tomcat Users List tomcat-user@jakarta.apache.org
Sent
=localhost
worker.ajp13w.port=8009
worker.ajp13w.type=ajp13
My uriworkermap.properties file has
/example/*=ajp13w
I get no logs file in the location i placed the log file or anywhere else on my
system for isapi.
Thanks for any help.
John Gordon
Yeah, it does have full access permission.
Does the account under which the W3SVC is running has a
'Full Access' permission to the log path?
Mladen.
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail:
Is there a known issue with the connectors in Tomcat 4.1.30? Viewing the 2 connector
pages in Tomcat's admin site yeilds the same message: HTTP Status 500 - Error
retrieving attribute allowTrace
Tomcat 4.1.27 did not exhibit this problem.
Tested with Win2K Pro/j2sdk1.4.2_04 and Win2K
Apologies to list users for requesting Read Receipt on my previous (and first) post to
this list.
Gord
-Original Message-
From: Hyatt, Gordon
Sent: Thursday, July 22, 2004 10:58 AM
To: [EMAIL PROTECTED]
Subject: Problem viewing Connector info in Tomcat 4.1.30 admin pages
Hi all,
I have been struggling with a configuration issue. I need to force the
encodeURL method and c:url tag lib to put the session id on the url
even if the browser has cookies enabled.
This is how I did it when I was using the Resin container:
session-config
) - even though there was no other
mention of tomcat elsewhere in the Apache config - or anything in
workers2.properties.
What do I need to do to only have tomcat apps available over SSL ?
I'm using Apache v2.0.49, mod_ssl v2.0.49, mod_jk2 v2.04 and tomcat
v4.1.29
Thanks,
GTG
Gordon Ross,
Network
Hi Doug,
Thank for your advise, indeed my project state at begining. So every
thing is simple right now. BTW, i already experience on connection pool
on my previus ejb project. I will take care on it. As a simple mind,
take and go. :-)
Gordon
Parsons Technical Services wrote:
Gordon,
What
Hi Antonio Fiol,
Right, it should be helpful for development, we all want know what
IT's doing? But for production, i think it should be off.
Gordon
Antonio Fiol Bonnín wrote:
Suggestion:
Also add the logAbandoned parameter and set it to true. I found it
very useful at hard times
Hi All,
May be I missing understand the DBCP configuration. Anyone could
help ?
I want my connection pool are Max 100 connection, 10 conn. At start-up,
max idle 10, when idle for 10 min then kill it. Something like that.
Thanks.
Regards,
Gordon Luk
---
Outgoing mail is certified
Regards,
Gordon Luk
-Original Message-
From: D'Alessandro, Arthur [mailto:[EMAIL PROTECTED]
Sent: Thursday, March 25, 2004 7:03 PM
To: Tomcat Users List; Tomcat Users List
Subject: RE: Connection Pool setup.
May help if you post your resource snipplet (replacing any host
/user/passwd info
Hi Doug,
O, thanks, it's work... BTW, thanks for remind, and i am the good
citizen, allway return connection back to pool. ;-)
Gordon
Parsons Technical Services wrote:
Gordon,
Just for grins and giggles try adding this as a test:
parameter
nameremoveAbandoned/name
the service.
Above also cann't change the default 64M max. mem when i check it from
/mananger/status page...
- stop service. modify tomcat/bin/service.bat ... and then service.bat
remove then install, start the service., it cann't start the service..
Any one could help me. THX.
Gordon
Finally, i got the solution by google, answer also come from
tomcat-user.
Take a look here when you got same problem.
http://mdsh.com/notes/tomcat5OnWindowsNT.jsp
On Wed, 2004-03-17 at 16:41, Gordon Luk wrote:
Hi All,
I got a problem on setup Tomcat 5.0.19 on my windows 2000
looking when I go back will be greatly
appreciated.
Gordon
From localhost_admin_log:
2003-05-31 19:27:25 org.apache.webapp.admin.ApplicationServlet: init
2003-05-31 19:27:27 StandardContext[/admin]: Servlet /admin threw load()
exception
javax.servlet.ServletException: Servlet.init() for servlet
Try this ( if you don't read Japanese, I don't ) follow the screen shots
http://www.hellohiro.com/apacheservlet.htm
joe wrote:
Original Message -
From: joe [EMAIL PROTECTED]
To: Tomcat Users List [EMAIL PROTECTED]
Sent: Sunday, June 01, 2003 2:32 AM
Subject: Guild on using MOD_JK2
looking when I go back will be greatly
appreciated.
Gordon
From localhost_admin_log:
2003-05-31 19:27:25 org.apache.webapp.admin.ApplicationServlet: init
2003-05-31 19:27:27 StandardContext[/admin]: Servlet /admin threw load()
exception
javax.servlet.ServletException: Servlet.init() for servlet
Does anyone know where I can get a copy of the paper Tomcat Server and
Application
Security delivered at Apachecon 2001
with thanks
Mark
--
To unsubscribe, e-mail: mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]
stopped the tomcat service and started it as a stand-alone
application, this problem disappeared and the cvs command lines were executed properly.
Allen
-
Allen R. Gordon, Ph.D.
Senior Software Engineer
CableLabs®
Telephone: 303/661-3759
Cell/Page/Text
.conf file
On the windows box, I told j2re to install to c:\java\jdk and tomcat
unzipped into c:\java\tomcat ... I also did a set JAVA_HOME=c:\java\jdk
prior to running startup.bat just to be sure.
Any thoughts I what I'm doing wrong?
Thanks in advance,
Gordon
exception (as reported by tomcat 4
exception... so, i wonder, is that anywhere set the
tomcat that couldn't output more 25k ? but i cann't found at tomcat
document... :-(
Please help.
Gordon
PS/Sorry that, i cross post two mailling list, because i cann't define
this problem is rasic by tomcat or struts
Hi all,
I would like to ask any GUI tools that can monitoring the tomcat server
stauts at runtime, for example : it could know how many session opened,
how many servlet instance activated etc...
Please point me where can i find it. Thanks.
Gordon
I am new to the apache/tomcat environment. I have been developing
web-apps using resin as http and servlet containerso
from what I have seen we have to add an entry to the httpd.conf file
denoting the web-app. so you can't auto-deploy. Is this correct?
The apache/tomcat environment
I have a friend that is hosting a apache/tomcat machine for a couple of
people.
We are running apache and tomcat 4.0.1
Does anyone know a resource for information on how to set this
environment up so that each user can manage his/her webapps within
tomcat. We cannot restart tomcat (no
I have a simple set up where I am using tomcat 4.0.1 and apache with
mod_webapp.
I have a couple of webapps and I am trying to use the manage web app to
start/stop install/remove them.
Everything works great if I am just using tomcat (for both http and
servlet/jsp)
When I use mod_webapp
it may be a classpath prob but am running
out of ideas
fast! The conventional set up using JAVAC works fine. Anybody got any thoughts on how
to
make it all work?
Thanks in advance,
Gordon
Operating system: Windows NT
Tomcat Version: 4.0.1
Jikes Version: 1.15
catalina.bat entry:
set
CP
CJ12P (#12004)
Cary Gordon
The Cherry Hill Company
Dear,
can someone send me their httpd.conf file with Tomcat/HTTPS integration?
I want apache to use tomcat for servlet handling much like it handles PHP...
I am using tomcat 4.0-b7.
+-+-+-+-+
|L| .^. | Gordon
Dear Pier,
Thursday, August 16, 2001, 4:36:21 PM, you wrote:
PPF Gordon Hollenbeck at [EMAIL PROTECTED] wrote:
Dear,
can someone send me their httpd.conf file with Tomcat/HTTPS integration?
I want apache to use tomcat for servlet handling much like it handles PHP...
I am using
Are you sure that telnet connections are allowed on this server.
Perhaps the default is secure shell only (ssh)
On Monday, May 21, 2001, at 07:21 , Vasanth Krishnan Venkatachalam wrote:
I just noticed one more thing: when i try to telnet to that port on the
command line, I'm connected and
on the
jakarta.apache.org page. Lots of commercial tools create them. I'm
*reasonably* sure there will be a tool on that site if it isn't ANT --
anyone?
Gordon
A tomcat newbie as of this past Fri.
- Original Message -
From: "H.F.N. den Boer" [EMAIL PROTECTED]
To: [EMAIL PROTE
to get the
understanding of Tomcat I have so far -- might help someone else down the
road.
Gordon Rose
Gordon
Hi,
Please delete my first message if it arrived in other than plain text. I
just realized I had not set the "Plain text" flag in Outlook Express.
Should be fine now.
Gordon
- Original Message -----
From: Gordon Rose
To: [EMAIL PROTECTED]
Sent: Tuesday, March 06, 2001 2:45
I am looking at moving from our current application servers to a new
servlet/jsp container and would like to know if anybody out there has done
any testing in this area or if you know a site this has published benchmarks
(current).
Thnaks in advance
John Cooke
Qtopics, Inc.
[EMAIL PROTECTED]
.
An answer to this question would be greatly appreciated
Thanks
Adam
--
Chris Christoph P. U. Kukulies [EMAIL PROTECTED]
--
---
Gordon E. Hooker
Principal Applications Engineer
Oracle Corporation
Brisbane, QLD
Phone: (07) 3031 7149
---
)
This was working on similar configured NT Server as a matter of fact it
is still working on that server.
Any help would be greatly appreciated
Thanks in advance
Gordon
begin:vcard
n:;Gordon
x-mozilla-html:FALSE
adr:;;
version:2.1
email;internet:[EMAIL PROTECTED]
fn:Gordon Hooker
end:vcard
55 matches
Mail list logo