RE: [E] Re: Cannot get a connection, pool error Timeout waiting for ideal object

2018-02-19 Thread
Hello,

Please note that we tried to make changes to the contex.xml file located under 
the conf directory of tomcat.

On 2/16/18 6:58 PM, Halder, Arpan [ITSUS Non J&J] wrote:
> We could able to locate context.xml under "
> /apps/apache-tomcat-7.0.67/conf" path - see below:


The properties we were modifying are given below .

>  type="javax.sql.DataSource" maxActive="50" maxIdle="30"
> maxWait="1" username="saevdcep" password="xx"
> driverClassName="org.postgresql.Driver"
> url="jdbc:postgresql://itsusralsp06829:5432/spectra"/>
>
>  type="javax.sql.DataSource" maxActive="50" maxIdle="30"
> maxWait="1" username="saevdcep" password="xxx"
> driverClassName="org.postgresql.Driver"
> url="jdbc:postgresql://itsusralsp06829:5432/evidencesearch"/>

However, on restarting the tomcat server after making changes to values in 
these, the application is throwing a 404: Resource not Found error. The tomcat 
server is up and running but on hitting the application URL, we are getting the 
404 error.

We even tried restoring the context.xml file to its original values but that 
did not seem to  make a difference.

A screenshot of the error is attached to this email.

Can you  please look into this and let us know what steps we need to follow in  
order to fix this issue?

Best Regards,
Aakash



-Original Message-
From: Halder, Arpan [ITSUS Non J&J] 
Sent: Monday, February 19, 2018 3:57 AM
To: DL-MD-R&D-SUPPORT 
Subject: Fw: [EXTERNAL] Re: [E] Re: Cannot get a connection, pool error Timeout 
waiting for ideal object



From: Christopher Schultz 
Sent: Sunday, February 18, 2018 11:12:56 AM
To: users@tomcat.apache.org
Subject: [EXTERNAL]  Re: [E] Re: Cannot get a connection, pool error Timeout 
waiting for ideal object

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA256

Arpan,

On 2/16/18 6:58 PM, Halder, Arpan [ITSUS Non J&J] wrote:
> We could able to locate context.xml under "
> /apps/apache-tomcat-7.0.67/conf" path - see below:

That is the wrong file. The file conf/context.xml contains the
defaults for every application deployed onto that Tomcat server. Your
application should have its own, separate context.xml file in the
META-INF directory.

>  type="javax.sql.DataSource" maxActive="50" maxIdle="30"
> maxWait="1" username="saevdcep" password="xx"
> driverClassName="org.postgresql.Driver"
> url="jdbc:postgresql://itsusralsp06829:5432/spectra"/>
>
>  type="javax.sql.DataSource" maxActive="50" maxIdle="30"
> maxWait="1" username="saevdcep" password="xxx"
> driverClassName="org.postgresql.Driver"
> url="jdbc:postgresql://itsusralsp06829:5432/evidencesearch"/>

Okay.

> Could you please check which are the parameters to
> add/modify/delete.

Everything looks okay up there. You might want to add:

   logAbandoned="true"

This will log places in your code where you have resource leaks.

> Also we could locate another "context.xml" under "
> /apps/apache-tomcat-7.0.67/webapps/host-manager/META-INF" and "
> /apps/apache-tomcat-7.0.67/webapps/manager/META-INF" path - could
> you please advise if we need to make any change here
Those are the deployment descriptors for the host-manager and the
manager applications respectively. Do not modify those files.

- -chris
-BEGIN PGP SIGNATURE-
Comment: GPGTools - http://gpgtools.org
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/

iQIzBAEBCAAdFiEEMmKgYcQvxMe7tcJcHPApP6U8pFgFAlqJpggACgkQHPApP6U8
pFi3UQ/+K3rSSb0cke4obIjlrZUrOsiPFCsNPRPl9iTRvU/L1AGb8cJ1YjPdbu03
Veac/wM3gNa9PgRpfUImq9gaKl03MjMCfyCGMfX1Z/dJWcw8WNiFGDxW69O+sANl
ALoFBzi0ya0icYKFfk7EF4e7DkZ9Jcwp0CfE319Z7+b/rTUNhD3AMjRsW0LK3E0c
kxr6qbu0Ba+WmuITLKXSLGJBAW9nNBLIJ+WuO73S7UpTVWBexXLTNAyNheG6KFJl
eC7ukAyunrXagoKmC6JAVl2wboNGgCZStIuj+htq/nxjRSb7MA+uSah+uzCPR94k
GC17fhxPx76seW3kbmt8UUPU1thqUjsE+pXgmskHlUw70al3MO59rdjuoRm0ac3r
+TrtCoeanYQYfXGJmHI8tClZ2f2qhwhfZ0Co9DxF/Pjz8V/01CXKYHfeV3a74+GF
LTw2MHfwHXT8NgpmixCExC47HNGrYDqZG7gNtmKiytIaAi+f0otEjFLvlNeRId67
Fs9pXlyBDlwhPigFj1Uv4f3yBw2cqsZDvL7YD6tioU48ptu113yM0R4S61x4xAZw
bwpuZomRgzbsOHvoWkNfQ3/1H6U/YEJvmUFJ/D9mmjEfSZq+u0czZ4jiRkcz3shA
EKyatdAlRGBcT21t/AkdR6QRPaAB5YPOuj+/+ycVVXRXT7uln7M=
=EpQk
-END PGP SIGNATURE-

-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org



-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org

Tomcat stopped and Debug can't be done in Eclipse

2018-02-19 Thread Karen Goh
Hi,

I am writing to this mailing group again because I finally know that Tomcat is 
the cause of the problem(after writing to an expert)
and thus I hope to sort help for this problem.

The tomcat version is Apache Tomcat 9.0.4 windows 64.

Eclipse Oxygen.
Project : Maven dynamic MVC web app with Hibernate, JPA and JSP.
MySQL server 5.7.

Whenever, I run debug on jsp, after submitting the form, tomcat will just stop 
and Eclipse does not take over the debugging.

All the breakpoints are there and perspective is showing debug mode, except the 
debug buttons are all grey out though.

I do not know how to make Tomcat not stopping.

Kindly advise if there is a setting I have missed out such that the above 
scenario is happening.

Tks & rgds,
Karen 

-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org



Re: asgard tomcat application 404

2018-02-19 Thread Tim Dunphy
Ok guys. Got it! Thanks for your input. I'll follow up with the Asgard
list, assuming I can find it.

Thanks

On Fri, Feb 16, 2018 at 2:40 PM, Olaf Kock  wrote:

>
> On 15.02.2018 23:39, Tim Dunphy wrote:
>
>> I'm trying to get Netflix Asgard tomcat app working. I'm using tomcat 9.
>> I'm using windows.
>> [...]
>>
> Tomcat is about as much involved in this as is Windows. To second
> Christopher's OT answer: This is a problem of the deployed application, not
> of Tomcat. You should look for help in the Asgard community. Tomcat doesn't
> use spring, thus there's not even common ground.
>
> Olaf
>
>
> -
> To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
> For additional commands, e-mail: users-h...@tomcat.apache.org
>
>


-- 
GPG me!!

gpg --keyserver pool.sks-keyservers.net --recv-keys F186197B


Re: TomcatCon Training: Tomcat for Administrators

2018-02-19 Thread Coty Sutherland
On Mon, Feb 19, 2018 at 4:30 PM, Mark Thomas  wrote:
> On 19/02/18 17:53, Israel Timoteo wrote:
>> Any plans for having this type of sessions in the US?
>
> We are expecting a Tomcat presence ApacheCon NA in September in Canada.
> I expect we'll have some of this content available there.
>
> Beyond that it will be down to there being:
> - the audience
> - the content available that the audience want
> - someone available who can deliver the content
>
> The community can help with at least 2 of those 3.
>
> There is also the possibility of delivery via a Webinar style approach
> but I'm really not sure how well that would work for a training course.

Did I suggest (or mention that I was planning on) doing something like
https://www.katacoda.com/ before? I think an interactive approach to
training would be awesome. Using containers for Tomcat seems a bit
redundant to me (mostly because I don't have any real deployments of
Tomcat), I think that using them for demoing things and having
reproducible environments would be a good user experience for
trainees.

>
> Mark
>
>>
>> 
>> Israel Timoteo
>>
>>> On Feb 19, 2018, at 10:50 AM, Rémy Maucherat  wrote:
>>>
>>> On Mon, Feb 19, 2018 at 5:28 PM, Mark Thomas  wrote:
>>>
 On 19/02/18 16:23, Coty Sutherland wrote:
> Do we plan on doing any audio or video to go along with the slides for
> these? We could add them to the youtube channel for those that can't
> attend the live training.

 My current thinking is that I'd do a separate recording of the modules
 for that rather than try and record the sessions. I want to be able to
 focus on the attendees in the training. The recording would be video of
 the slides and demos with audio of me talking.

>>>
>>> As you said in London, that's material that is usually really nice when
>>> you're there, but really boring when you're by yourself watching on
>>> youtube. Although I agree we need one (current) copy of the trainings on
>>> youtube for reference ...
>>>
>>> Rémy
>>>
>>>

 Mark


>
> On Mon, Feb 19, 2018 at 9:50 AM, Mark Thomas  wrote:
>> All,
>>
>> The Apache Tomcat PMC is delighted to announce that the registration for
>> the training course "Tomcat for Administrators" is now open.
>>
>> This one-day training course will take place in central Manchester, UK
>> on Tuesday April 10, 2018.
>>
>> Full details, including the schedule is available on the website:
>> http://tomcat.apache.org/conference.html
>>
>> Registration is via EventBrite:
>> https://www.eventbrite.com/e/tomcatcon-training-tomcat-for-
 administrators-tickets-43039556472?aff=lists
>>
>> We hope to see you there.
>>
>> Mark
>> on behalf of the Apache Tomcat PMC
>>
>> -
>> To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
>> For additional commands, e-mail: users-h...@tomcat.apache.org
>>
>
> -
> To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
> For additional commands, e-mail: users-h...@tomcat.apache.org
>


 -
 To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
 For additional commands, e-mail: users-h...@tomcat.apache.org


>>
>>
>> -
>> To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
>> For additional commands, e-mail: users-h...@tomcat.apache.org
>>
>
>
> -
> To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
> For additional commands, e-mail: users-h...@tomcat.apache.org
>

-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org



Re: TomcatCon Training: Tomcat for Administrators

2018-02-19 Thread Mark Thomas
On 19/02/18 17:53, Israel Timoteo wrote:
> Any plans for having this type of sessions in the US?

We are expecting a Tomcat presence ApacheCon NA in September in Canada.
I expect we'll have some of this content available there.

Beyond that it will be down to there being:
- the audience
- the content available that the audience want
- someone available who can deliver the content

The community can help with at least 2 of those 3.

There is also the possibility of delivery via a Webinar style approach
but I'm really not sure how well that would work for a training course.

Mark

> 
> 
> Israel Timoteo
> 
>> On Feb 19, 2018, at 10:50 AM, Rémy Maucherat  wrote:
>>
>> On Mon, Feb 19, 2018 at 5:28 PM, Mark Thomas  wrote:
>>
>>> On 19/02/18 16:23, Coty Sutherland wrote:
 Do we plan on doing any audio or video to go along with the slides for
 these? We could add them to the youtube channel for those that can't
 attend the live training.
>>>
>>> My current thinking is that I'd do a separate recording of the modules
>>> for that rather than try and record the sessions. I want to be able to
>>> focus on the attendees in the training. The recording would be video of
>>> the slides and demos with audio of me talking.
>>>
>>
>> As you said in London, that's material that is usually really nice when
>> you're there, but really boring when you're by yourself watching on
>> youtube. Although I agree we need one (current) copy of the trainings on
>> youtube for reference ...
>>
>> Rémy
>>
>>
>>>
>>> Mark
>>>
>>>

 On Mon, Feb 19, 2018 at 9:50 AM, Mark Thomas  wrote:
> All,
>
> The Apache Tomcat PMC is delighted to announce that the registration for
> the training course "Tomcat for Administrators" is now open.
>
> This one-day training course will take place in central Manchester, UK
> on Tuesday April 10, 2018.
>
> Full details, including the schedule is available on the website:
> http://tomcat.apache.org/conference.html
>
> Registration is via EventBrite:
> https://www.eventbrite.com/e/tomcatcon-training-tomcat-for-
>>> administrators-tickets-43039556472?aff=lists
>
> We hope to see you there.
>
> Mark
> on behalf of the Apache Tomcat PMC
>
> -
> To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
> For additional commands, e-mail: users-h...@tomcat.apache.org
>

 -
 To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
 For additional commands, e-mail: users-h...@tomcat.apache.org

>>>
>>>
>>> -
>>> To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
>>> For additional commands, e-mail: users-h...@tomcat.apache.org
>>>
>>>
> 
> 
> -
> To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
> For additional commands, e-mail: users-h...@tomcat.apache.org
> 


-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org



Re: TomcatCon Training: Tomcat for Administrators

2018-02-19 Thread Israel Timoteo
Any plans for having this type of sessions in the US?


Israel Timoteo

> On Feb 19, 2018, at 10:50 AM, Rémy Maucherat  wrote:
> 
> On Mon, Feb 19, 2018 at 5:28 PM, Mark Thomas  wrote:
> 
>> On 19/02/18 16:23, Coty Sutherland wrote:
>>> Do we plan on doing any audio or video to go along with the slides for
>>> these? We could add them to the youtube channel for those that can't
>>> attend the live training.
>> 
>> My current thinking is that I'd do a separate recording of the modules
>> for that rather than try and record the sessions. I want to be able to
>> focus on the attendees in the training. The recording would be video of
>> the slides and demos with audio of me talking.
>> 
> 
> As you said in London, that's material that is usually really nice when
> you're there, but really boring when you're by yourself watching on
> youtube. Although I agree we need one (current) copy of the trainings on
> youtube for reference ...
> 
> Rémy
> 
> 
>> 
>> Mark
>> 
>> 
>>> 
>>> On Mon, Feb 19, 2018 at 9:50 AM, Mark Thomas  wrote:
 All,
 
 The Apache Tomcat PMC is delighted to announce that the registration for
 the training course "Tomcat for Administrators" is now open.
 
 This one-day training course will take place in central Manchester, UK
 on Tuesday April 10, 2018.
 
 Full details, including the schedule is available on the website:
 http://tomcat.apache.org/conference.html
 
 Registration is via EventBrite:
 https://www.eventbrite.com/e/tomcatcon-training-tomcat-for-
>> administrators-tickets-43039556472?aff=lists
 
 We hope to see you there.
 
 Mark
 on behalf of the Apache Tomcat PMC
 
 -
 To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
 For additional commands, e-mail: users-h...@tomcat.apache.org
 
>>> 
>>> -
>>> To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
>>> For additional commands, e-mail: users-h...@tomcat.apache.org
>>> 
>> 
>> 
>> -
>> To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
>> For additional commands, e-mail: users-h...@tomcat.apache.org
>> 
>> 


-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org



Re: TomcatCon Training: Tomcat for Administrators

2018-02-19 Thread Rémy Maucherat
On Mon, Feb 19, 2018 at 5:28 PM, Mark Thomas  wrote:

> On 19/02/18 16:23, Coty Sutherland wrote:
> > Do we plan on doing any audio or video to go along with the slides for
> > these? We could add them to the youtube channel for those that can't
> > attend the live training.
>
> My current thinking is that I'd do a separate recording of the modules
> for that rather than try and record the sessions. I want to be able to
> focus on the attendees in the training. The recording would be video of
> the slides and demos with audio of me talking.
>

As you said in London, that's material that is usually really nice when
you're there, but really boring when you're by yourself watching on
youtube. Although I agree we need one (current) copy of the trainings on
youtube for reference ...

Rémy


>
> Mark
>
>
> >
> > On Mon, Feb 19, 2018 at 9:50 AM, Mark Thomas  wrote:
> >> All,
> >>
> >> The Apache Tomcat PMC is delighted to announce that the registration for
> >> the training course "Tomcat for Administrators" is now open.
> >>
> >> This one-day training course will take place in central Manchester, UK
> >> on Tuesday April 10, 2018.
> >>
> >> Full details, including the schedule is available on the website:
> >> http://tomcat.apache.org/conference.html
> >>
> >> Registration is via EventBrite:
> >> https://www.eventbrite.com/e/tomcatcon-training-tomcat-for-
> administrators-tickets-43039556472?aff=lists
> >>
> >> We hope to see you there.
> >>
> >> Mark
> >> on behalf of the Apache Tomcat PMC
> >>
> >> -
> >> To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
> >> For additional commands, e-mail: users-h...@tomcat.apache.org
> >>
> >
> > -
> > To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
> > For additional commands, e-mail: users-h...@tomcat.apache.org
> >
>
>
> -
> To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
> For additional commands, e-mail: users-h...@tomcat.apache.org
>
>


Re: TomcatCon Training: Tomcat for Administrators

2018-02-19 Thread Mark Thomas
On 19/02/18 16:23, Coty Sutherland wrote:
> Do we plan on doing any audio or video to go along with the slides for
> these? We could add them to the youtube channel for those that can't
> attend the live training.

My current thinking is that I'd do a separate recording of the modules
for that rather than try and record the sessions. I want to be able to
focus on the attendees in the training. The recording would be video of
the slides and demos with audio of me talking.

Mark


> 
> On Mon, Feb 19, 2018 at 9:50 AM, Mark Thomas  wrote:
>> All,
>>
>> The Apache Tomcat PMC is delighted to announce that the registration for
>> the training course "Tomcat for Administrators" is now open.
>>
>> This one-day training course will take place in central Manchester, UK
>> on Tuesday April 10, 2018.
>>
>> Full details, including the schedule is available on the website:
>> http://tomcat.apache.org/conference.html
>>
>> Registration is via EventBrite:
>> https://www.eventbrite.com/e/tomcatcon-training-tomcat-for-administrators-tickets-43039556472?aff=lists
>>
>> We hope to see you there.
>>
>> Mark
>> on behalf of the Apache Tomcat PMC
>>
>> -
>> To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
>> For additional commands, e-mail: users-h...@tomcat.apache.org
>>
> 
> -
> To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
> For additional commands, e-mail: users-h...@tomcat.apache.org
> 


-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org



Re: TomcatCon Training: Tomcat for Administrators

2018-02-19 Thread Coty Sutherland
Do we plan on doing any audio or video to go along with the slides for
these? We could add them to the youtube channel for those that can't
attend the live training.

On Mon, Feb 19, 2018 at 9:50 AM, Mark Thomas  wrote:
> All,
>
> The Apache Tomcat PMC is delighted to announce that the registration for
> the training course "Tomcat for Administrators" is now open.
>
> This one-day training course will take place in central Manchester, UK
> on Tuesday April 10, 2018.
>
> Full details, including the schedule is available on the website:
> http://tomcat.apache.org/conference.html
>
> Registration is via EventBrite:
> https://www.eventbrite.com/e/tomcatcon-training-tomcat-for-administrators-tickets-43039556472?aff=lists
>
> We hope to see you there.
>
> Mark
> on behalf of the Apache Tomcat PMC
>
> -
> To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
> For additional commands, e-mail: users-h...@tomcat.apache.org
>

-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org



TomcatCon Training: Tomcat for Administrators

2018-02-19 Thread Mark Thomas
All,

The Apache Tomcat PMC is delighted to announce that the registration for
the training course "Tomcat for Administrators" is now open.

This one-day training course will take place in central Manchester, UK
on Tuesday April 10, 2018.

Full details, including the schedule is available on the website:
http://tomcat.apache.org/conference.html

Registration is via EventBrite:
https://www.eventbrite.com/e/tomcatcon-training-tomcat-for-administrators-tickets-43039556472?aff=lists

We hope to see you there.

Mark
on behalf of the Apache Tomcat PMC

-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org



Re: using default cacerts AND custom keystore

2018-02-19 Thread Chris Cheshire
On Fri, Feb 16, 2018 at 2:11 PM, Christopher Schultz
 wrote:
> -BEGIN PGP SIGNED MESSAGE-
> Hash: SHA256
>
> Chris,
>
> On 2/14/18 3:34 PM, Chris Cheshire wrote:
>> On Wed, Feb 14, 2018 at 12:30 PM, Mark Thomas 
>> wrote:
>>> On 14/02/18 17:17, Chris Cheshire wrote:
 I am trying to set up my webapp to connect to an external
 database via ssl. The database uses a self-signed certificate.
 I have created a keystore with the self-signed CA and the
 client key & cert. This keystore is configured via JAVA_OPTS in
 setenv.sh

 JAVA_OPTS="-Djavax.net.ssl.keyStore=$CATALINA_BASE/conf/mysql.jks
 \ -Djavax.net.ssl.keyStorePassword=password \
 -Djavax.net.ssl.trustStore=$CATALINA_BASE/conf/mysql.jks \
 -Djavax.net.ssl.trustStorePassword=password"

 This allows me to connect to the database without a problem.
 However now I cannot connect to any external web service
 because their certs will no longer validate.

 How do I configure tomcat such that the default cacerts is used
 in addition to my self-signed certificates without importing
 those into the default keystore (which is a Bad Idea™)?
>>>
>>> This is nothing to do with Tomcat. Tomcat plays no role in
>>> out-going TLS connections.
>>>
>>> The short answer is rather than using system properties, you
>>> should set the keystore and truststore programmatically so they
>>> apply just to the database connections rather than globally.
>>>
>>
>> So after a bit of digging [1,2] I found that this is achieved by
>> adding the following parameters to the mysql jdbc url in the
>> resource definition:
>>
>> clientCertificateKeyStoreUrl=file://${catalina.base}/conf/mysql.jks
>>
>>
> clientCertificateKeyStorePassword=password
>> trustCertificateKeyStoreUrl=file://${catalina.base}/conf/mysql.jks
>> trustCertificateKeyStorePassword=changeit
>>
>> Note that  [2] has a couple of errors. A) it specifies
>> clientCertificateKeyStore[Url|Password] in lieu of trustStore
>> system property, that should be
>> trustCertificateKeyStore[Url|Password] B) it specifies specifies
>> the urls in the form file:path_to_truststore_file, that is also
>> incorrect it should be file://path_to_truststore_file (which will
>> give a triple slash if an absolute path is used)
>>
>>
>> [1]
>> https://dev.mysql.com/doc/connector-j/5.1/en/connector-j-reference-con
> figuration-properties.html
>>
>>
> [2]
> https://dev.mysql.com/doc/connector-j/5.1/en/connector-j-reference-using
> - -ssl.html
>
> It might depend upon the version of Connector/J you are using. For
> example, I have this in my connection URL:
>
> '...&trustCertificateKeyStoreUrl=file:/etc/mysql/mysql.jks'
>
> Only a single leading / for an absolute path in my case, and it works
> as expected.
>
> The use of file:// was a historical mistake web browser users made,
> thinking that // was necessary between the protocol and anything after
> it. It was never the case, and any software requiring a URL like
> file:/// should be considered broken.
>
> - -chris

So I went back to retest everything to make sure I wasn't going crazy,
and it turns out that I actually am. It really is working as expected
without the double slash (and with). I guess I went crosseyed looking
at the error logs after so many attempts trying to get this working
initially.

Chris

-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org