Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7498555
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 29, 20262026-05-29T19:30:51+00:00 2026-05-29T19:30:51+00:00

I found an issue connecting my web application using JDBC or Spring to a

  • 0

I found an issue connecting my web application using JDBC or Spring to a SQL Server database (not Express).

At some point of my code I call:

this.conn = DriverManager.getConnection(db_connect_string, db_userid, db_password);

and the application is running correctly but, it’s waiting and doesn’t proceed. The same happens with another web application with:

getJdbcTemplate().query(...)

If I take a look to the db using:

SELECT SPID, STATUS, PROGRAM_NAME, LOGINAME=RTRIM(LOGINAME), HOSTNAME, CMD
FROM MASTER.DBO.SYSPROCESSES
WHERE DB_NAME(DBID) = 'myDB' AND DBID != 0 

I can see there is a connection opened but "AWAITING COMMAND". No exception is handled, it’s just waiting for something.

The SQL Server Profiler for that connection (Audit login) returns:

-- network protocol: TCP/IP
set quoted_identifier on
set arithabort off
set numeric_roundabort off
set ansi_warnings on
set ansi_padding on
set ansi_nulls on
set concat_null_yields_null on
set cursor_close_on_commit off
set implicit_transactions off
set language us_english
set dateformat mdy
set datefirst 7
set transaction isolation level read committed

It works until some weeks ago. I think it should be something related to SQLServer configuration, but I’m quite sure I didn’t change anything. We can exclude a firewall issue because the connection is correctly created. Anyone could help me, please?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-29T19:30:52+00:00Added an answer on May 29, 2026 at 7:30 pm

    As suggested by Mark Rotteveel it’s a Java 1.6.0_29 bug.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Debugging some finance-related SQL code found a strange issue with numeric(24,8) mathematics precision. Running
I know this issue has been touched on here but I have not found
I've consistently had an issue with parsing XML with PHP and not really found
I am using SQL Azure as database with code first technique of Entity framework
I have a applet that runs with no issue in asp.net web application ...
i've just written a very simple WCF service that exposes a SQL Server database
I've started a C# web application project using subsonic 3.0.3 as my DAL and
I have a ASP.NET application that connects to a SQL server backend on another
Introduction I'm writing a web application (C#/ASP.NET MVC 3, .NET Framework 4, MS SQL
WHen i try to connect to SQL Express 2005 from Visual Web Developer Express

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.