In my case it is indeed port 3306 and not a unix socket.

I know this because I have an working CAS install configured with to
access the user table via that port.

This working CAS install is on a dev tomcat with a bunch of other apps
running on it.

Now that I¹m trying to install CAS by itself on a different tomcat (but
with all the configuration files identical) its not working

Really, really frustrating that I can¹t even get logs out to figure out
the problem.

Disappointed :(
Phil

On 5/29/15, 5:07 PM, "Tom Poage" <[email protected]> wrote:

>Not sure I recall the platform here or whether this is a new MySQL
>server, but certain distributions of MySQL by default are configured to
>listen to a UNIX socket rather than an IP port. In this case, one would
>not see port 3306 in use (cf. netstat).
>
>Tom.
>
>On 05/29/2015 01:27 PM, Romov, Phil wrote:
>> Thanks for the tip Misagh, I¹m now getting debug info (no trace, even
>> though I set it to trace)
>> 
>> However, the debug lines don¹t really expose anything else.
>> 
>> I also tried nestat -c 1 -tn | grep 3306, that gave me 3 lines (before
>> starting tomcat) which must be some other apps connecting to it (I¹m on
>>a
>> box that runs a bunch of apps that talk to the same database)
>> 
>> As I started tomcat and went through the cas login process, I was
>> monitoring the output for any new lines with a new local port number to
>>be
>> created, but I didn¹t see any, so it seems like it never makes a
>> connection to MYSQL
>> 
>> I then ran my old tomcat with the old cas install that I know works (I¹m
>> reinstalling because the old tomcat has some other apps and I want to
>> re-do the install from scratch having only cas as the only tomcat web
>>app)
>> and it created 4 new lines in the format of ::ffff:ip.ip.ip.ip:57xxx
>>(and
>> the login process worked as in the past) so I wonder if that¹s a clue at
>> all
>> 
>> Thanks again for your support
>> Phil
>...
>
>-- 
>You are currently subscribed to [email protected] as:
>[email protected]
>To unsubscribe, change settings or access archives, see
>http://www.ja-sig.org/wiki/display/JSG/cas-user


-- 
You are currently subscribed to [email protected] as: 
[email protected]
To unsubscribe, change settings or access archives, see 
http://www.ja-sig.org/wiki/display/JSG/cas-user

Reply via email to