Not sure what you mean...there's not much to it. You'll need a third-party driver ($$) to get true production-level features with multiple connections. The free Type 4 driver from Microsoft is fairly problematic, after a couple weeks of trying to make it work we ended up going with a third-party driver. After that, you just instantiate the driver, call it, and do your SQL, just like with any other Type 4 driver.


John

On Thu, 20 Mar 2003 10:07:28 -0600, Victor Gonzalez <[EMAIL PROTECTED]> wrote:

And a how-to with SQL Server??

-----Original Message-----
From: John Turner [mailto:[EMAIL PROTECTED] Sent: Thursday, March 20, 2003 10:04 AM
To: Tomcat Users List
Subject: Re: Do not understand tomcat-apache autoconfiguration. To John
Turner.



Sorry, I don't use IIS for web servers.


John

On Thu, 20 Mar 2003 09:46:53 -0600, Victor Gonzalez
<[EMAIL PROTECTED]> wrote:

It for me is the better example about how-to...

And John, I need configure now... :)

Tomcat with IIS and SQL Server.

Do you want other document how-to to realize these connections??
Or a link?

Tnks,

Regards,

Victor González
***************

-----Original Message-----
From: John Turner [mailto:[EMAIL PROTECTED] Sent: Thursday,
March 20, 2003 9:12 AM
To: Tomcat Users List
Subject: Re: Do not understand tomcat-apache autoconfiguration


Here's an example of exactly what it creates:


http://www.johnturner.com/howto/mod_jk_conf.html

John

On 20 Mar 2003 16:06:41 +0100, Vincent Panel <[EMAIL PROTECTED]> wrote:

OK, thanks

But it generates <Virutalhost> directives and inside, there's only
JkMount's, no <Directory>, no Alias, right ?

What I really need (and I'm pretty sure I'm not the only one) is
something like this (for each of my contexts) :

>#
># The following line makes apache aware of the location of the
/examples
>context
>#
>Alias /examples /var/tomcat4/webapps/examples
><Directory "/var/tomcat4/webapps/examples">
>     Options Indexes FollowSymLinks
></Directory>
>JkMount /examples/servlet/* ajp13
>JkMount /examples/*.jsp ajp13
><Location "/examples/WEB-INF/">
>     AllowOverride None
>     deny from all
></Location>




On Thu, 2003-03-20 at 15:56, Jacob Kjome wrote:

Close. One inside the <Server> tag and one inside each <Host> tag
that
you want autogenerated.

Here's mine...

<Server ....>
<Listener className="org.apache.ajp.tomcat4.config.ApacheConfig"
modJk="mod_jk.dll"
jkDebug="info" />
...
...
...
<Host ...>
<Listener className="org.apache.ajp.tomcat4.config.ApacheConfig"
append="true"
forwardAll="false" />
...
...
...
</Host>
...
...
...
</Server>

Jake

At 02:09 PM 3/20/2003 +0100, you wrote:
>Well, thanks, but I've already read this. It is not really
explaining
>WHERE are supposed to be those "Listeners" that turn tomcat
ApacheConfig
>on.
>
>When you read the doc, it seems that you're supposed to put one
listener
>inside the <Server> tag and another one inside each <Context> tag
>(remember I do not want to use Virtualhosting). It's not clear
whether
>you're supposed to use append="true" or not. In any cases, it does
not
>generate what I want (and there also seems to be some bugs in here
:
>restarting tomcat twice does not give the same mod_jk.conf). I've
also
>tried to put them in many places whithout success.
>
>However, I recently found a mod_jk.conf shipped with a RedHat RPM
and
it
>seems to have been auto-generated as it contains the following
lines
:
>
>#
># The following line makes apache aware of the location of the
/examples
>context
>#
>Alias /examples /var/tomcat4/webapps/examples
><Directory "/var/tomcat4/webapps/examples">
>     Options Indexes FollowSymLinks
></Directory>
>JkMount /examples/servlet/* ajp13
>JkMount /examples/*.jsp ajp13
><Location "/examples/WEB-INF/">
>     AllowOverride None
>     deny from all
></Location>
>
>
>This group of directives is exactly what I need but I don't know
how
to
>tell tomcat to generate them automatically. I'm almost forced to
make
a
>perl script to do something like "For each context you're managing,
>generate an Alias, a Directory and a JkMount for Apache" (using
perl
to
>manage a java application server... a bit strange isn't it ? :-)
>
>
>On Thu, 2003-03-20 at 10:04, Bill Barker wrote:
> > If it wasn't deprecated, I'd probably go back and add a
3.3-style
all-in
> > directive to the 4.x auto-config.
> >
> > In the mean-time go back and read
> > > http://jakarta.apache.org/tomcat/tomcat-4.1-
doc/config/jk.html#Using%20Apach
> > eConfig.
> >
> > "Vincent Panel" <[EMAIL PROTECTED]> wrote in message
> > news:[EMAIL PROTECTED]
> >
> >
> >
> >
> >
---------------------------------------------------------------------


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





-- Using M2, Opera's revolutionary e-mail client:
http://www.opera.com/m2/

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


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





-- Using M2, Opera's revolutionary e-mail client: http://www.opera.com/m2/

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


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





-- Using M2, Opera's revolutionary e-mail client: http://www.opera.com/m2/

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



Reply via email to