RE: database - jdbc setup help

2005-05-12 Thread Geoff Wiggs
Lutz,

Thank you for the excellent primer on Tomcat DB setup.  I'm going to keep
this around forever.  Quick question, how can you tell that it is really
using the db pool?  Is there a monitoring tool somewhere that would show the
number of connections in use?

Geoff Wiggs
Orcas Technologies, Inc


-Original Message-
From: Lutz Zetzsche [mailto:[EMAIL PROTECTED] 
Sent: Thursday, May 12, 2005 12:14 AM
To: Tomcat Users List
Subject: Re: database - jdbc setup help

Hi Bagus,

Am Donnerstag, 12. Mai 2005 00:38 schrieb Bagus:
 I've now set up Tomcat 5.5.4 and have installed
 mysql-standard-4.1.9-unknown-freebsd4.7-i386 on my Freebsd 5.3 box
 intel box.
 I've loaded some databases and tables into the database.

 How do I get them to work together with jsp?

 Can anyone point me to a short-sweet tutorial that can get me from
 here to there?

 I'm not sure if I need to install jdbc and the mysql driver or if
 those are included in the tomcat release.

 A tutorial that takes me through all that would be great.

Firstly, you have to install the MySQL JDBC driver. That means you have 
to download it from here:



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Turbine? DBCP?

2005-05-03 Thread Geoff Wiggs
What ever happened to Turbine?  Is it still used with Tomcat 5.5.+?  If so,
where do I go to get it?  If not, then how am I supposed to handle things
like connection pooling?  Is there a good tutorial available?
 
I'm working my way through some examples that were written in previous
version of Tomcat.  Can anyone provide a little direction?
 
Thanks, List.
 
 
Geoff [EMAIL PROTECTED]
www.orcastech.com
 


RE: Apache Tomcat JK Mod

2005-04-14 Thread Geoff Wiggs

I tried this, but I still get sent to the Tomcat splash page.  The url I am
trying to translate to is www.orcastech.com/home/ .  Any more clues?

VirtualHost *
ServerName www.servername.com
RewriteEngine On
RewriteRule (.*) /home$1
JkMount /home/* worker1
JkMount /emba48wiki*worker1
JkMount /admin  worker1
JkMount /managerworker1
JkMount /*  worker1
/VirtualHost

Geoff Wiggs
Orcas Technologies, Inc
[EMAIL PROTECTED]
650-520-1121
 
-Original Message-
From: Mladen Turk [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, April 13, 2005 10:11 PM
To: Tomcat Users List
Subject: Re: Apache Tomcat  JK Mod

Geoff Wiggs wrote:
 I know this question has probably been asked 1000 times, but here I go
 again.


OK. Once for all :)

RewriteEngine On
RewriteRule (.*) /servlets-examples$1 [PT]



 I have Apache / Tomcat and jk_mod all running correctly.  If I hit the URL
 correctly (i.e. www.server.com/context/) my jsp's and servlets come up
 just fine.  Now I want to serve my home page (www.server.com
 http://www.server.com/ ) as a JSP.  My context is /home.  If I hit
 www.server.com/home the JSP comes up just the way I want it.
  
 How can I make the connection between the request for www.servername.com
 http://www.servername.com/  and the correct context
 www.servername.com/home?  Apache, jk_mod or Tomcat options would be fine,
I
 am just having a problem making the connection between the three work the
 way I need.  
  

I still do not understand why would yo wish to do something like that.
You can easily make Tomcat working on port 80, and move your /home to
the ROOT.

Regards,
Mladen.



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: Apache Tomcat JK Mod

2005-04-14 Thread Geoff Wiggs

Yes - there is an index.jsp in the context /home/
(\\server\c\Apache\Tomcat\webapps\home) directory.

Is there some way to tell how the rewrite is being processed?  My rewrite
log is blank.  

Geoff 
 

-Original Message-
From: Phillip Qin [mailto:[EMAIL PROTECTED] 
Sent: Thursday, April 14, 2005 7:46 AM
To: 'Tomcat Users List'
Subject: RE: Apache Tomcat  JK Mod

Is there an index.jsp in your context?

-Original Message-
From: Geoff Wiggs [mailto:[EMAIL PROTECTED] 
Sent: April 14, 2005 10:37 AM
To: 'Mladen Turk'
Cc: tomcat-user@jakarta.apache.org
Subject: RE: Apache Tomcat  JK Mod



I tried this, but I still get sent to the Tomcat splash page.  The url I am
trying to translate to is www.orcastech.com/home/ .  Any more clues?

VirtualHost *
ServerName www.servername.com
RewriteEngine On
RewriteRule (.*) /home$1
JkMount /home/* worker1
JkMount /emba48wiki*worker1
JkMount /admin  worker1
JkMount /managerworker1
JkMount /*  worker1
/VirtualHost

Geoff Wiggs
Orcas Technologies, Inc
[EMAIL PROTECTED]
650-520-1121
 
-Original Message-
From: Mladen Turk [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, April 13, 2005 10:11 PM
To: Tomcat Users List
Subject: Re: Apache Tomcat  JK Mod

Geoff Wiggs wrote:
 I know this question has probably been asked 1000 times, but here I go 
 again.


OK. Once for all :)

RewriteEngine On
RewriteRule (.*) /servlets-examples$1 [PT]



 I have Apache / Tomcat and jk_mod all running correctly.  If I hit the 
 URL correctly (i.e. www.server.com/context/) my jsp's and servlets 
 come up just fine.  Now I want to serve my home page (www.server.com 
 http://www.server.com/ ) as a JSP.  My context is /home.  If I hit 
 www.server.com/home the JSP comes up just the way I want it.
  
 How can I make the connection between the request for 
 www.servername.com http://www.servername.com/  and the correct 
 context www.servername.com/home?  Apache, jk_mod or Tomcat options 
 would be fine,
I
 am just having a problem making the connection between the three work 
 the way I need.
  

I still do not understand why would yo wish to do something like that.
You can easily make Tomcat working on port 80, and move your /home to
the ROOT.

Regards,
Mladen.



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


!DSPAM:425e801d311201629985329!



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Apache Tomcat JK Mod

2005-04-13 Thread Geoff Wiggs
I know this question has probably been asked 1000 times, but here I go
again.
 
I have Apache / Tomcat and jk_mod all running correctly.  If I hit the URL
correctly (i.e. www.server.com/context/) my jsp's and servlets come up
just fine.  Now I want to serve my home page (www.server.com
http://www.server.com/ ) as a JSP.  My context is /home.  If I hit
www.server.com/home the JSP comes up just the way I want it.
 
How can I make the connection between the request for www.servername.com
http://www.servername.com/  and the correct context
www.servername.com/home?  Apache, jk_mod or Tomcat options would be fine, I
am just having a problem making the connection between the three work the
way I need.  
 
Regards,
 
Geoff 
[EMAIL PROTECTED]
 


Apache - JK2 - Tomcat Question

2005-04-05 Thread Geoff Wiggs
I have a 'newbie' jk2 / Tomcat question.

I am running Tomcat behind Apache with mod_jk2 interfacing the two.

If I hit the URL www.myserver.com/contextname I get the JSP/servlet that I
am hoping for.  I am using the correct mapping ([URI:/contextname/*]) in the
workers2.properties and everything up to this point makes sense.

I am also running multiple virtual hosts through Apache.  I want to be able
to hit URLs such as dev.myserver.com or www.myVirtualServer.com/contextname.
If I use a redirect in the Apache httpd file, I can redirect the incoming
request back to www.myserver.com/context, but this seems hocky.  

How do I 'connect' alternate inbound URLs to a Tomcat context?  What is
controlling the connection between www.myserver.com and Tomcat?  

This is a great list and I really appreciate all the advice that I've
gleaned from it so far.

PS - Using Tomcat 5.5 and Apache 2.?

Regards,

Geoff Wiggs
Orcas Technologies, Inc
[EMAIL PROTECTED]




-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Tomcat Deploy

2005-03-20 Thread Geoff Wiggs
Quick question on deploying to Tomcat and Eclipse integration.  If it's too
far off topic I apologize in advance.
 
The IDS is stellar for deploying to a single server.  I personally have it
deploying to Tomcat running on my workstation.  What approach should I take
for deploying to the production server?  Do I need to get into a CVS of some
sort?  Or is there a way to set up an alternate installation to allow
deployment from the IDE to the Production server?
 
Geoff 
[EMAIL PROTECTED]
www.orcastech.com
 


Tomcat 5.6 / Eclipse / no startup.bat

2005-02-08 Thread Geoff Wiggs
Trying to integrate Tomcat 5.6 and Eclipse.  Without the startup.bat and
shutdown.bat files I'm having trouble defining the external tools.  I have
tried to use the command string in the windows service properties, but the
service does not start.
 
Anyone have any ideas?
 
Geoff 
[EMAIL PROTECTED]