|
When I configure hibernate to connect to a DB and for some reason the connection fails, I noticed that it doesnt throw any exception neither when building the factory (which is acceptable) nor when I call sessionFactory.openSession() (which is less acceptable...
Started by Paralife on
, 4 posts
by 4 people.
Answer Snippets (Read the full thread at stackoverflow):
Proxool , on the other hand, allows you to do exactly what you want: set test-before-use property to true and it will throw an... .
What connection pool are you using? Hibernate's built-in pool should not be used for anything other than simple tests.
|
|
Update : Looks like the query does not throw any timeout. The connection is timing out.
This is a sample code for executing a query. Sometimes, while executing time consuming queries, it throws a timeout exception.
I cannot use any of these techniques...
Started by dragon on
, 16 posts
by 14 people.
Answer Snippets (Read the full thread at stackoverflow):
If you absolutely cannot increase the timeout, your only option is to reduce the time.
Recompiling.
|
|
I am getting the following exception when trying to run my jar through java web start:
com.sun.deploy.net.FailedDownloadException: Unable to load resource: http://localhost /ValidatorWEB/validator.jnlp at com.sun.deploy.net.DownloadEngine.actionDownload...
Started by Casey on
, 6 posts
by 6 people.
Answer Snippets (Read the full thread at stackoverflow):
Apps runs at the client machine, it will try to connect the web server at the same (local) machine", client machine cannot see inside web-inf, you should put that jar inside web application not inside web.
|
Ask your Facebook Friends
|
We're seeing ConnectException with message "Connection refused" sporadically appearing at times when connecting to our Tomcat server. Could these be caused by long GC cycles?
(We're activating up the relevant JVM flags to get more log messages on GC cycles...
Started by ripper234 on
, 10 posts
by 10 people.
Answer Snippets (Read the full thread at stackoverflow):
My initial guess would be that you have something internally holding the... .
If GC was the problem, you'd get a "connection timed out cannot service the sockets quickly enough.
But that it decided that you weren't allowed to connect.
|
|
I am having management stdio 2005 in my machine and im tring to connect to sql server 2008
i'm receiving the following message as the inner exception .
{"A network-related or instance-specific error occurred while establishing a connection to SQL Server...
Started by vijaysylvester on
, 4 posts
by 4 people.
Answer Snippets (Read the full thread at stackoverflow):
Open up the SQL Server Configuration Manager Expand the node "SQL Server Network Configuration" Click on protocols node Right click on "Named Pipes" -> Enable Restart the SQL Server service The protocol you're using (Named Pipes) is only valid if ... .
|
|
I've got a small Windows network with 3 machines. One of them has SQL 2005 installed. As of last week, the other two machines have had no problems connecting to the SQL instance.
Today, one machine - running Vista, if that matters - all of a sudden cannot...
Started by BDW on
, 3 posts
by 3 people.
Answer Snippets (Read the full thread at stackoverflow):
Try the following:
1) Ping - can you get.
Check the protocols used to connect ot SQL Server; I'm wondering whether it's trying to communicate or authentication (you have to connect before you can be denied access).
|
|
Hi everyone:
"Can't connect to MYSQL server" error. The DB is a separate server. http://dpaste.com/99702/
I typed "nc dbserver 3306" and it returned: [ ] 3306 (mysql) : Connection refused
Even in my GRANT options, I specified GRANT ALL TO . %...
My friend...
Started by Alex on
, 5 posts
by 5 people.
Answer Snippets (Read the full thread at serverfault):
Here's what....
Hi !
First thing to check : try to connect on the PC with MySQL.
Without more there will be two rules - one for ingress and one for egress .
The packet never made it there.
111 usually is a generic "socket" connect error, i.e.
|
|
Hi,
i m trying to configure SQL server database email (i 've locally installed SQL, exchange and Outlook )
but it showing below error:
The mail could not be sent to the recipients because of the mail server failure. (Sending Mail using Account 4 (2012...
Answer Snippets (Read the full thread at microsoft):
(The SMTP server requires.
Exception Message: Cannot send mails to mail server.
(2012-05-04T16:52:22).
|
|
I have sql server 2005 installed in my local machine. when i installed it, i was able to connect to the local server which is named "MNTCON016". After restarting the machine, I found out that i was not able to connect to the local server "MNTCON016". ...
Started by reggie on
, 4 posts
by 4 people.
Answer Snippets (Read the full thread at stackoverflow):
These services should be set to automatic if you want them to start when... .
Be sure that services for your SQL Server instance is running .
This gives you a list of all runnig services on your local machine .
Type services.msc there.
Goto Run from start menu.
|
|
Hi folks,
We've been having intermittent problems causing users to be forcibly logged out of out application.
Our set-up is ASP.Net/C# web application on Windows Server 2003 Standard Edition with SQL Server 2000 on the back end. We've recently performed...
Started by StickyMcGinty on
, 7 posts
by 6 people.
Answer Snippets (Read the full thread at stackoverflow):
Are quite specific, and contextually, they look like they're just trying to connect and having a hard time environment is as closely matched to the client as possible - except for the VMWare set-up.
|