Error Deploying Web application that Connects to MS SQL Server

Hello I have Created a data Source that connects to a SQL Server Database and its conecting but whenever i try running the web server that contains a web page that accesses a Datasource (Microsoft) I get this error
Exception is: Exception creating connection pool. Exception: oracle.oc4j.sql.config.DataSourceConfigException: Unable to create : com.microsoft.sqlserver.jdbc.SQLServerDriver
06/04/26 12:26:37 SEVERE: ApplicationStateRunning.initConnector Stack trace: oracle.oc4j.sql.DataSourceException: Exception creating connection pool. Exception: oracle.oc4j.sql.config.DataSourceConfigException: Unable to create : com.microsoft.sqlserver.jdbc.SQLServerDriver
     at com.evermind.server.ApplicationStateRunning.initDataSourceConnectionPool(ApplicationStateRunning.java:2016)
Even though I chose the option to Upload the library with the deployment, Do i have to manually load the SQL Server Libraries

with com.microsoft.sqlserver.jdbc.SQLServerDataSource it does'nt get created.. with com.microsoft.sqlserver.jdbc.SQLServerDriver it does get created

Similar Messages

  • Best practise for creating an application that connects to a SQL Server database

    I have created an application that connects to a SQL Server database and views information using a datagrid and performs several updates when a button
    is selected.  
    I have created a SQLcontrol.vb using the following code:
    Imports System.Data.Sql
    Imports System.Data.SqlClient
    Public Class SQlControl
    'connection 1
        Public SQLCon As New SqlConnection With {.ConnectionString
    = "Data Source=;Initial Catalog=;Integrated Security=True"}
    'connection 2
        Public SQLCon1 As New SqlConnection With {.ConnectionString
    = "Data Source;Initial Catalog=;Integrated Security=True"}
        Public sqlcmd As SqlCommand
        Public sqlda As SqlDataAdapter
        Public sqldataset As DataSet
        Public Function hasconnection() As Boolean
            Try
                SQLCon.open()
                SQLCon.close()
                Return True
            Catch ex As Exception
                MsgBox(ex.Message)
                Return False
            End Try
        End Function
        Public Sub runquery(query As String)
            Try
                SQLCon.Open()
                sqlcmd = New SqlCommand(query,
    SQLCon)
                'LOAD
    SQL RECORDS FOR DATAGROD
                sqlda = New SqlDataAdapter(sqlcmd)
                sqldataset = New DataSet
                sqlda.Fill(sqldataset)
    BH READ DIRECTLY FROM THE DATABASE
                'Dim
    R As SqlDataReader = sqlcmd.ExecuteReader
                'While
    R.Read
                'MsgBox(R.GetName(0)
    & ": " & R(0))
                'End
    While
                SQLCon.Close()
            Catch ex As Exception
                MsgBox(ex.Message)
                'will
    close connection if still open
                If SQLCon.State
    = ConnectionState.Open Then
                    SQLCon.Close()
                End If
            End Try
        End Sub
        Public Sub runquery1(query As String)
            Try
                SQLCon1.Open()
                sqlcmd = New SqlCommand(query,
    SQLCon1)
                'LOAD
    SQL RECORDS FOR DATAGROD
                sqlda = New SqlDataAdapter(sqlcmd)
                sqldataset = New DataSet
                sqlda.Fill(sqldataset)
    BH READ DIRECTLY FROM THE DATABASE
                'Dim
    R As SqlDataReader = sqlcmd.ExecuteReader
                'While
    R.Read
                'MsgBox(R.GetName(0)
    & ": " & R(0))
                'End
    While
                SQLCon1.Close()
            Catch ex As Exception
                MsgBox(ex.Message)
                'will
    close connection if still open
                If SQLCon1.State
    = ConnectionState.Open Then
                    SQLCon1.Close()
                End If
            End Try
        End Sub
    End Class
    A code for one of my button which views displays data grid contains the following code:
    Private Sub Button1_Click_1(sender As Object,
    e As EventArgs) Handles Button1.Click
            If SQL.hasconnection
    = True Then
                SQL.runquery("select 
    * from tablea")
                If SQL.sqldataset.Tables.Count
    > 0 Then
                    DGVData.DataSource = SQL.sqldataset.Tables(0)
                End If
            End If
        End Sub
    I am fairly new to vb.net and have read a few books and followed a few tutorials on youtube, what I would like to know is, are there any disadvantages
    to the way I have connected to a SQL database using the SQLControl.vb.  A lot of the vb books include data adapter and dataset within the form, I'm not sure if I'm following best practice by have the connection details outside of the form.
    My other question is, I have created two connections in the SQLControl and call these connections within the same form using the same data adapter
    and dataset.  It all works fine but I just wanted to know of any potential issues?
    Public SQLCon As New SqlConnection With {.ConnectionString
    = "Data Source=;Initial Catalog=;Integrated Security=True"}
    'connection 2
        Public SQLCon1 As New SqlConnection With {.ConnectionString
    = "Data Source;Initial Catalog=;Integrated Security=True"}
    Thanks

    My other question is, I have created two connections in the SQLControl and call these connections within the same form using the same data adapter and dataset.  It all works fine but
    I just wanted to know of any potential issues
    1) You are not using Sepration of concerns for a solution that is doing data access, like using a DAL.
    http://en.wikipedia.org/wiki/Separation_of_concerns
    2) You are directly issuing SQL commands at the UI, leading to sql injection attacks.
    3) You are not using a UI design pattern, which leads you to tightly couple database activity to the UI.
    http://www.codeproject.com/Articles/228214/Understanding-Basics-of-UI-Design-Pattern-MVC-MVP
    @System243trd, parameters are important to prevent SQL injection attacks (people will insert SQL commands into the database if you do not perform basic checking of what you are passing to the database). If you write a stored procedure try to make
    the variables the correct SQL server data type to avoid problems later of people trying to call it directly.  Darnold924 is right, I see no code to prevent against SQL injection attacks. In addition, during development in some instances LocalSQLDB
    database system is used and during deployment you usually need to use the production SQL server database. Moreover,  Linq-to-SQL is used on Windows Phone 8.1 and it is required for phone development later and so I highly recommend learning
    it if you plan on developing windows phone applications.
    @System243trd, If you want the code for the windows phone app I think it uses the MVVM model or that might be for universal apps or regular windows phone apps. I have been using the windows phone Silverlight pivot or panorama template (it might
    be pieces of both). I've already submitted to the windows phone marketplace and it had to go through certification first. I plan on later making an article on it but I need to first fix one or two simple problems I have with it.  Here's a link to
    the source code if you later want to look at the source code (in vb.net): 
    https://jeffsblogcodesamples.codeplex.com/downloads/get/1445836
    Once you eliminate the impossible, whatever remains, no matter how improbable, must be the truth. - Sherlock Holmes. speak softly and carry a big stick - theodore roosevelt. Fear leads to anger, anger leads to hate, hate leads to suffering - Yoda. Blog
    - http://www.computerprofessions.us

  • How many users from an application can connect to a SQL server at a time?

    HI,
        I need to know , How many users from an application can connect to a SQL server at a time? Do we have any settings for this in SQL server for limiting the users?

    This is a difficult question, since it is both technical and legal.
    The absolute maximum number of connections is around 32700, but unless your server is very beefy, it will choke long before that. A connection is not a user - an application can have many connections for the same user. Depending on your license
    model, you may be legally limited to a certain number of users, but this number is not enforced technially.
    Erland Sommarskog, SQL Server MVP, [email protected]

  • Error deploying Web application

    Hello Everyone, i have a problem with my web application that is not able to be deployed.
    the first time i deployed the application everything worked correctly i performed the contex lookup with no problem as was able to connect to the EJB application, i performed some changes, and now everytime i tried to deploy again the application i get this error
    [#|2010-02-12T23:03:34.661+0100|INFO|sun-appserver9.1|javax.enterprise.system.tools.deployment|_ThreadID=23;_ThreadName=Thread-434;Servlet;WebServiceInterface;http://vmlinux:8024/WebServiceInterface/WebServiceInterface;|DPL5306:Servlet Web Service Endpoint [WebServiceInterface] listening at address [http://vmlinux:8024/WebServiceInterface/WebServiceInterface]|#]
    [#|2010-02-12T23:03:38.107+0100|SEVERE|sun-appserver9.1|javax.enterprise.system.tools.deployment|_ThreadID=23;_ThreadName=Thread-434;_RequestID=3610621f-da38-477d-b37a-088311a00a42;|Exception occured in J2EEC Phase
    com.sun.enterprise.deployment.backend.IASDeploymentException: Deployment Error -- Could not resolve a persistence unit corresponding to the persistence-context-ref-name [com.testing.myEJBapplication.ReferenceServiceLocalBean/entityManager] in the scope of the module called [product/servers/glassfish/domains/domain1/applications/j2ee-modules/WebServiceInterface]. Please verify your application.
         at com.sun.enterprise.deployment.BundleDescriptor.findReferencedPUsViaPCRefs(BundleDescriptor.java:702)
         at com.sun.enterprise.deployment.WebBundleDescriptor.findReferencedPUs(WebBundleDescriptor.java:722)
         at com.sun.jdo.spi.persistence.support.ejb.ejbc.PersistenceProcessor.getAllPersistenceUnitDescriptors(PersistenceProcessor.java:171)
         at com.sun.jdo.spi.persistence.support.ejb.ejbc.PersistenceProcessor.processApplication(PersistenceProcessor.java:132)
         at com.sun.jdo.spi.persistence.support.ejb.ejbc.DeploymentEventListenerImpl.processApplication(DeploymentEventListenerImpl.java:211)
         at com.sun.jdo.spi.persistence.support.ejb.ejbc.DeploymentEventListenerImpl.processEvent(DeploymentEventListenerImpl.java:172)
         at com.sun.jdo.spi.persistence.support.ejb.ejbc.DeploymentEventListenerImpl.notifyDeploymentEvent(DeploymentEventListenerImpl.java:122)
         at com.sun.enterprise.deployment.backend.DeploymentEventManager.notifyDeploymentEvent(DeploymentEventManager.java:79)
         at com.sun.enterprise.deployment.backend.ModuleDeployer.handlePostDeployEvent(ModuleDeployer.java:636)
         at com.sun.enterprise.deployment.backend.ModuleDeployer.postDeploy(ModuleDeployer.java:625)
         at com.sun.enterprise.deployment.backend.ModuleDeployer.doRequestFinish(ModuleDeployer.java:188)
         at com.sun.enterprise.deployment.phasing.J2EECPhase.runPhase(J2EECPhase.java:191)
         at com.sun.enterprise.deployment.phasing.DeploymentPhase.executePhase(DeploymentPhase.java:108)
         at com.sun.enterprise.deployment.phasing.PEDeploymentService.executePhases(PEDeploymentService.java:919)
         at com.sun.enterprise.deployment.phasing.PEDeploymentService.deploy(PEDeploymentService.java:279)
         at com.sun.enterprise.deployment.phasing.PEDeploymentService.deploy(PEDeploymentService.java:788)
         at com.sun.enterprise.management.deploy.DeployThread.deploy(DeployThread.java:187)
         at com.sun.enterprise.management.deploy.DeployThread.run(DeployThread.java:223)
    |#]
    any ideas for this?? Thank you in advance regards
    Edited by: White_Merovingian on Feb 13, 2010 5:55 AM

    yeah these stacktraces are big scary blobs of text, but somewhere hidden among all the nonsense there is always the little piece of information you need:
    "Could not resolve a persistence unit corresponding to the persistence-context-ref-name [com.testing.myEJBapplication.ReferenceServiceLocalBean/entityManager]"
    So you are referring to a persistence unit in ReferenceServiceLocalBean that does not seem to exist. Do you have your persistence.xml deployed in the META-INF directory of the EJB module? Does it contain a persistence unit with the name that is declared in the bean?

  • Error message when trying to connect to a SQL Server Database

    All:
    I get the following message when I try to connect to a SQL Server Database within a form:
    "Connection for Source DataConnection failed because the environment is not trusted"
    Can anyone help me solve this problem?
    Thanks,
    BR

    Hi Brian,
    In Acrobat, security concerns dictate that you cannot specify an ODBC connection string by using the Driver=; syntax. Therefore, the client computer using the form needs to have a DSN pre-configured for ODBC connections.
    Denver
    Adobe Enterprise Developer Support

  • Does MVC application that support membership require SQL Server installation when deploy on hosting server?

    Hi all,
    This is my scenario:
    I created a new MVC project using VS 2012, and this project supports membership registration through SqlProvider which store membership information into a built-in database that created by VS2012. The connection string that VS2012 set is to point to the
    file name (.mdf) directly within the project's App_Data folder. The project runs without problem on my local under the VS 2012 environment with Sql Server 2008 installed (however the database file can't open with SQL 2008 because it is created to work with
    SQL 2012 through VS 2012). My questions are:
    1. If I don't have Sql 2008 or Sql 2012 installed, will the project still work under VS 2012 environment?
    2. If I deploy the project to a new hosting server without Sql 2012 install, will the project still work under IIS environment?
    3. If I don't want to use Sql 2012 database, can I tell VS 2012 to create Sql 2008 database instead?
    Thanks,
    Sam

    Hello Sam,
    1. Only "particular", as soon as function tries to access the SQL Server database (file), the web site will fail
    2. See 1.
    3. Install an additional SQL Server 2008 instance and use that one
    Olaf Helper
    [ Blog] [ Xing] [ MVP]

  • Calling Console Application that uses WebBrowser from SQL Server - Not Running

    Hi there. I am working in a program automation that needs to get files from a website and put it in a database. It is done but as I need a console application and need webbrowser that comes from Windows Forms, I am trying to call it from the SQL Server using
    the xp_cmdshell but when it runs the .exe, it execute the block that is before the Application.Run() command but when it reaches this line, it stay running on Task manager but it not execute my code. How can I fix this? I had first created a Windows form application
    but it was not working anyway and then I tried a console application and then I use the [STAThread] and Application.Run(). At least it runs the file from SQL Server but is not executing all my code, I think that it stops on Application.Run() line. Any help
    will be very useful.
    Thanks for now.

    Thanks for the response. What I mean is that it just run the part of the code that is just using the Console, that's the code:
    // Main Method
    [STAThread]
    public static void Main()
    clearDatabase(myConnection);
    Console.Title = "Suframa Itens Robot";
    //If log file exists, it is deleted
    if ( File.Exists(@"suframaLog.txt") )
    File.Delete(@"suframaLog.txt");
    wb.DocumentCompleted += new WebBrowserDocumentCompletedEventHandler(loginWebsite);
    try
    //It is called as the program uses the WebBrowser Class from Windows Forms namespace
    //and it is a console Application
    Application.Run();
    catch ( Exception ex )
    Log(ex.Message);
    As you can see, I call a function on start named ClearDatabase, when I call the file from sql server it executes, the tables are cleared, but what I think is that the problem stop when reach the line Application.Run() as it is the line that allows the remaining
    code to execute as it uses events from WebBrowser class. 
    It is a program automation that needs to get a lot of files from a website that needs login and read line by line from the files and put on server, if I call it from the executable it runs fine, the only problem is when calling from SQL Server, Do you know
    how to fix this?
    Thanks.

  • Error deploying web application using JDev 11.1.1.1.4

    I am using JDev 11.1.1.14 and WebLogic 10.3.2
    Whne I try to run a application html page from Jdev I get the foll error :
    weblogic.application.ModuleException: Failed to load webapp: 'avitrust'
    at weblogic.servlet.internal.WebAppModule.prepare(WebAppModule.java:393)
    at weblogic.application.internal.flow.ScopedModuleDriver.prepare(ScopedModuleDriver.java:176)
    at weblogic.application.internal.flow.ModuleListenerInvoker.prepare(ModuleListenerInvoker.java:199)
    at weblogic.application.internal.flow.DeploymentCallbackFlow$1.next(DeploymentCallbackFlow.java:517)
    at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:52)
    Truncated. see log file for complete stacktrace
    Caused By: java.io.FileNotFoundException: /u01/JDevApps/system11.1.1.4.37.59.23/DefaultDomain/servers/DefaultServer/tmp/_WL_user/jersey-web-lib/7srmrf/WEB-INF/web.xml (Too many open files)
    at java.io.FileInputStream.open(Native Method)
    at java.io.FileInputStream.<init>(FileInputStream.java:106)
    at weblogic.application.descriptor.AbstractDescriptorLoader2.getInputStream(AbstractDescriptorLoader2.java:367)
    at weblogic.application.descriptor.AbstractDescriptorLoader2.loadDescriptorBeanWithoutPlan(AbstractDescriptorLoader2.java:751)
    at weblogic.application.descriptor.AbstractDescriptorLoader2.loadDescriptorBean(AbstractDescriptorLoader2.java:768)
    Any clue on why this error is getting generated and how this can be resolved ?

    When I try Deploying A WebCenter PS3 Portal Application using JDev 11.1.1.1.4 Integarted WebLogic Server I get the following error :
    [02:21:12 PM] Deploying Application...
    <29/03/2011 2:21:12 PM EST> <Error> <Deployer> <BEA-149265> <Failure occurred in the execution of deployment request with ID '1301368872572' for task '1'. Error is: 'weblogic.management.DeploymentException: [J2EE:160149]Error while processing library references. Unresolved application library references, defined in weblogic-application.xml: [Extension-Name: oracle.webcenter.framework, Specification-Version: 11.1.1, exact-match: false], [Extension-Name: oracle.webcenter.skin, Specification-Version: 11.1.1, exact-match: false], [Extension-Name: oracle.sdp.client, exact-match: false].'
    weblogic.management.DeploymentException: [J2EE:160149]Error while processing library references. Unresolved application library references, defined in weblogic-application.xml: [Extension-Name: oracle.webcenter.framework, Specification-Version: 11.1.1, exact-match: false], [Extension-Name: oracle.webcenter.skin, Specification-Version: 11.1.1, exact-match: false], [Extension-Name: oracle.sdp.client, exact-match: false].
         at weblogic.application.internal.flow.CheckLibraryReferenceFlow.prepare(CheckLibraryReferenceFlow.java:26)
         at weblogic.application.internal.BaseDeployment$1.next(BaseDeployment.java:613)
         at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:52)
         at weblogic.application.internal.BaseDeployment.prepare(BaseDeployment.java:184)
         at weblogic.application.internal.EarDeployment.prepare(EarDeployment.java:58)
         Truncated. see log file for complete stacktrace
    I need some help to triage the issue and resolve the cause. any help in this context appreciated .
    Redg

  • Could not to connect to my sql server by datasource

    Hi
    i'm a newer to J2ee , i use websphere 5.1 and try to make the first web application that connect to database in my SQL server by datasource but when i tested my application in the test unit i got the followin error :
    [ the web project name : DBDatasourceProject
    J2ee project name : DBDatasourceProjectApp ]
    [4/19/05 10:50:10:844 PDT] 586024b6 WebGroup I SRVE0180I: [DBDatasourceProject] [DBDatasourceProject] [Servlet.LOG]: BookSearchController: init
    [4/19/05 10:50:10:874 PDT] 586024b6 WebGroup I SRVE0180I: [DBDatasourceProject] [DBDatasourceProject] [Servlet.LOG]: BookSearchMasterView: init
    [4/19/05 10:50:12:016 PDT] 586024b6 WebGroup I SRVE0180I: [DBDatasourceProject] [DBDatasourceProject] [Servlet.LOG]: BookSearchMasterView: init
    [4/19/05 10:50:17:163 PDT] 586024b6 PrivExAction W J2CA0114W: No container-managed authentication alias found for connection factory or datasource DBDatasource.
    [4/19/05 10:50:19:847 PDT] 586024b6 FreePool E J2CA0046E: Method createManagedConnctionWithMCWrapper caught an exception during creation of the ManagedConnection for resource jdbc/DBDatasource, throwing ResourceAllocationException. Original exception: com.ibm.ws.exception.WsException: DSRA8100E: Unable to get a PooledConnection from the DataSource.
    at com.ibm.ws.rsadapter.exceptions.DataStoreAdapterException.<init>(DataStor eAdapterException.java:244)
    at com.ibm.ws.rsadapter.exceptions.DataStoreAdapterException.<init>(DataStor eAdapterException.java:171)
    at com.ibm.ws.rsadapter.AdapterUtil.createDataStoreAdapterException(AdapterUtil.ja va:208)
    at com.ibm.ws.rsadapter.DSConfigurationHelper.getPooledConnection(DSConfigurationH elper.java:706)
    at com.ibm.ws.rsadapter.spi.WSRdbDataSource.getPooledConnection(WSRdbDataSource.ja va:487)
    at com.ibm.ws.rsadapter.spi.WSManagedConnectionFactoryImpl.createManagedConnection (WSManagedConnectionFactoryImpl.java:577)
    at com.ibm.ejs.j2c.poolmanager.FreePool.createManagedConnectionWithMCWrapper(FreeP ool.java:1280)
    at com.ibm.ejs.j2c.poolmanager.FreePool.createOrWaitForConnection(FreePool.java:10 64)
    at com.ibm.ejs.j2c.poolmanager.PoolManager.reserve(PoolManager.java:1571)
    at com.ibm.ejs.j2c.ConnectionManager.allocateMCWrapper(ConnectionManager.java:622)
    at com.ibm.ejs.j2c.ConnectionManager.allocateConnection(ConnectionManager.java:424 )
    at com.ibm.ws.rsadapter.jdbc.WSJdbcDataSource.getConnection(WSJdbcDataSource.java: 216)
    at com.ibm.ws.rsadapter.jdbc.WSJdbcDataSource.getConnection(WSJdbcDataSource.java: 308)
    at com.ibm.db.db.base.DatabaseConnection.connectToDataSource(DatabaseConnection.ja va)
    at com.ibm.db.db.DatabaseConnection.connect(DatabaseConnection.java)
    at com.ibm.db.db.Statement.connect(Statement.java)
    at com.ibm.db.db.SelectStatement.execute(SelectStatement.java)
    at com.ibm.db.beans.DBSelect.execute(DBSelect.java)
    at apress.wsad.db.BookSearchMasterViewBean.execute(BookSearchMasterViewBean.java:5 3)
    at org.apache.jsp._BookSearchMasterView._jspService(_BookSearchMasterView.java:170 )
    at com.ibm.ws.webcontainer.jsp.runtime.HttpJspBase.service(HttpJspBase.java:89)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
    at com.ibm.ws.webcontainer.jsp.servlet.JspServlet$JspServletWrapper.service(JspSer vlet.java:344)
    at com.ibm.ws.webcontainer.jsp.servlet.JspServlet.serviceJspFile(JspServlet.java:6 62)
    at com.ibm.ws.webcontainer.jsp.servlet.JspServlet.service(JspServlet.java:760)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
    at com.ibm.ws.webcontainer.servlet.StrictServletInstance.doService(StrictServletIn stance.java:110)
    at com.ibm.ws.webcontainer.servlet.StrictLifecycleServlet._service(StrictLifecycle Servlet.java:174)
    at com.ibm.ws.webcontainer.servlet.IdleServletState.service(StrictLifecycleServlet .java:313)
    at com.ibm.ws.webcontainer.servlet.StrictLifecycleServlet.service(StrictLifecycleS ervlet.java:116)
    at com.ibm.ws.webcontainer.servlet.ServletInstance.service(ServletInstance.java:28 3)
    at com.ibm.ws.webcontainer.servlet.ValidServletReferenceState.dispatch(ValidServle tReferenceState.java:42)
    at com.ibm.ws.webcontainer.servlet.ServletInstanceReference.dispatch(ServletInstan ceReference.java:40)
    at com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.handleWebAppDispatch(Web AppRequestDispatcher.java:974)
    at com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.dispatch(WebAppRequestDi spatcher.java:555)
    at com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.forward(WebAppRequestDis patcher.java:200)
    at apress.wsad.db.BookSearchController.dispatch(BookSearchController.java:104)
    at apress.wsad.db.BookSearchController.performTask(BookSearchController.java:67)
    at apress.wsad.db.BookSearchController.doPost(BookSearchController.java:89)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
    at com.ibm.ws.webcontainer.servlet.StrictServletInstance.doService(StrictServletIn stance.java:110)
    at com.ibm.ws.webcontainer.servlet.StrictLifecycleServlet._service(StrictLifecycle Servlet.java:174)
    at com.ibm.ws.webcontainer.servlet.IdleServletState.service(StrictLifecycleServlet .java:313)
    at com.ibm.ws.webcontainer.servlet.StrictLifecycleServlet.service(StrictLifecycleS ervlet.java:116)
    at com.ibm.ws.webcontainer.servlet.ServletInstance.service(ServletInstance.java:28 3)
    at com.ibm.ws.webcontainer.servlet.ValidServletReferenceState.dispatch(ValidServle tReferenceState.java:42)
    at com.ibm.ws.webcontainer.servlet.ServletInstanceReference.dispatch(ServletInstan ceReference.java:40)
    at com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.handleWebAppDispatch(Web AppRequestDispatcher.java:974)
    at com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.dispatch(WebAppRequestDi spatcher.java:555)
    at com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.forward(WebAppRequestDis patcher.java:200)
    at com.ibm.ws.webcontainer.srt.WebAppInvoker.doForward(WebAppInvoker.java:119)
    at com.ibm.ws.webcontainer.srt.WebAppInvoker.handleInvocationHook(WebAppInvoker.ja va:276)
    at com.ibm.ws.webcontainer.cache.invocation.CachedInvocation.handleInvocation(Cach edInvocation.java:71)
    at com.ibm.ws.webcontainer.srp.ServletRequestProcessor.dispatchByURI(ServletReques tProcessor.java:182)
    at com.ibm.ws.webcontainer.oselistener.OSEListenerDispatcher.service(OSEListener.j ava:334)
    at com.ibm.ws.webcontainer.http.HttpConnection.handleRequest(HttpConnection.java:5 6)
    at com.ibm.ws.http.HttpConnection.readAndHandleRequest(HttpConnection.java:618)
    at com.ibm.ws.http.HttpConnection.run(HttpConnection.java:439)
    at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:593)
    Caused by: java.sql.SQLException: [IBM][SQLServer JDBC Driver]Unable to connect. DataSource property serverName must be specified.
    at com.ibm.websphere.jdbc.base.BaseExceptions.createException(Unknown Source)
    at com.ibm.websphere.jdbc.base.BaseExceptions.getException(Unknown Source)
    at com.ibm.websphere.jdbcx.base.BaseDataSource.getConnectionProperties(Unknown Source)
    at com.ibm.websphere.jdbcx.base.BaseDataSource.getBaseConnection(Unknown Source)
    at com.ibm.websphere.jdbcx.base.BaseDataSource.getPooledConnection(Unknown Source)
    at com.ibm.ws.rsadapter.DSConfigurationHelper$1.run(DSConfigurationHelper.java:688 )
    at com.ibm.ws.security.util.AccessController.doPrivileged(AccessController.java:11 1)
    at com.ibm.ws.rsadapter.DSConfigurationHelper.getPooledConnection(DSConfigurationH elper.java:683)
    ... 56 more
    ---- Begin backtrace for nested exception
    java.sql.SQLException: [IBM][SQLServer JDBC Driver]Unable to connect. DataSource property serverName must be specified.
    at com.ibm.websphere.jdbc.base.BaseExceptions.createException(Unknown Source)
    at com.ibm.websphere.jdbc.base.BaseExceptions.getException(Unknown Source)
    at com.ibm.websphere.jdbcx.base.BaseDataSource.getConnectionProperties(Unknown Source)
    at com.ibm.websphere.jdbcx.base.BaseDataSource.getBaseConnection(Unknown Source)
    at com.ibm.websphere.jdbcx.base.BaseDataSource.getPooledConnection(Unknown Source)
    at com.ibm.ws.rsadapter.DSConfigurationHelper$1.run(DSConfigurationHelper.java:688 )
    at com.ibm.ws.security.util.AccessController.doPrivileged(AccessController.java:11 1)
    at com.ibm.ws.rsadapter.DSConfigurationHelper.getPooledConnection(DSConfigurationH elper.java:683)
    at com.ibm.ws.rsadapter.spi.WSRdbDataSource.getPooledConnection(WSRdbDataSource.ja va:487)
    at com.ibm.ws.rsadapter.spi.WSManagedConnectionFactoryImpl.createManagedConnection (WSManagedConnectionFactoryImpl.java:577)
    at com.ibm.ejs.j2c.poolmanager.FreePool.createManagedConnectionWithMCWrapper(FreeP ool.java:1280)
    at com.ibm.ejs.j2c.poolmanager.FreePool.createOrWaitForConnection(FreePool.java:10 64)
    at com.ibm.ejs.j2c.poolmanager.PoolManager.reserve(PoolManager.java:1571)
    at com.ibm.ejs.j2c.ConnectionManager.allocateMCWrapper(ConnectionManager.java:622)
    at com.ibm.ejs.j2c.ConnectionManager.allocateConnection(ConnectionManager.java:424 )
    at com.ibm.ws.rsadapter.jdbc.WSJdbcDataSource.getConnection(WSJdbcDataSource.java: 216)
    at com.ibm.ws.rsadapter.jdbc.WSJdbcDataSource.getConnection(WSJdbcDataSource.java: 308)
    at com.ibm.db.db.base.DatabaseConnection.connectToDataSource(DatabaseConnection.ja va)
    at com.ibm.db.db.DatabaseConnection.connect(DatabaseConnection.java)
    at com.ibm.db.db.Statement.connect(Statement.java)
    at com.ibm.db.db.SelectStatement.execute(SelectStatement.java)
    at com.ibm.db.beans.DBSelect.execute(DBSelect.java)
    at apress.wsad.db.BookSearchMasterViewBean.execute(BookSearchMasterViewBean.java:5 3)
    at org.apache.jsp._BookSearchMasterView._jspService(_BookSearchMasterView.java:170 )
    at com.ibm.ws.webcontainer.jsp.runtime.HttpJspBase.service(HttpJspBase.java:89)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
    at com.ibm.ws.webcontainer.jsp.servlet.JspServlet$JspServletWrapper.service(JspSer vlet.java:344)
    at com.ibm.ws.webcontainer.jsp.servlet.JspServlet.serviceJspFile(JspServlet.java:6 62)
    at com.ibm.ws.webcontainer.jsp.servlet.JspServlet.service(JspServlet.java:760)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
    at com.ibm.ws.webcontainer.servlet.StrictServletInstance.doService(StrictServletIn stance.java:110)
    at com.ibm.ws.webcontainer.servlet.StrictLifecycleServlet._service(StrictLifecycle Servlet.java:174)
    at com.ibm.ws.webcontainer.servlet.IdleServletState.service(StrictLifecycleServlet .java:313)
    at com.ibm.ws.webcontainer.servlet.StrictLifecycleServlet.service(StrictLifecycleS ervlet.java:116)
    at com.ibm.ws.webcontainer.servlet.ServletInstance.service(ServletInstance.java:28 3)
    at com.ibm.ws.webcontainer.servlet.ValidServletReferenceState.dispatch(ValidServle tReferenceState.java:42)
    at com.ibm.ws.webcontainer.servlet.ServletInstanceReference.dispatch(ServletInstan ceReference.java:40)
    at com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.handleWebAppDispatch(Web AppRequestDispatcher.java:974)
    at com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.dispatch(WebAppRequestDi spatcher.java:555)
    at com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.forward(WebAppRequestDis patcher.java:200)
    at apress.wsad.db.BookSearchController.dispatch(BookSearchController.java:104)
    at apress.wsad.db.BookSearchController.performTask(BookSearchController.java:67)
    at apress.wsad.db.BookSearchController.doPost(BookSearchController.java:89)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
    at com.ibm.ws.webcontainer.servlet.StrictServletInstance.doService(StrictServletIn stance.java:110)
    at com.ibm.ws.webcontainer.servlet.StrictLifecycleServlet._service(StrictLifecycle Servlet.java:174)
    at com.ibm.ws.webcontainer.servlet.IdleServletState.service(StrictLifecycleServlet .java:313)
    at com.ibm.ws.webcontainer.servlet.StrictLifecycleServlet.service(StrictLifecycleS ervlet.java:116)
    at com.ibm.ws.webcontainer.servlet.ServletInstance.service(ServletInstance.java:28 3)
    at com.ibm.ws.webcontainer.servlet.ValidServletReferenceState.dispatch(ValidServle tReferenceState.java:42)
    at com.ibm.ws.webcontainer.servlet.ServletInstanceReference.dispatch(ServletInstan ceReference.java:40)
    at com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.handleWebAppDispatch(Web AppRequestDispatcher.java:974)
    at com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.dispatch(WebAppRequestDi spatcher.java:555)
    at com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.forward(WebAppRequestDis patcher.java:200)
    at com.ibm.ws.webcontainer.srt.WebAppInvoker.doForward(WebAppInvoker.java:119)
    at com.ibm.ws.webcontainer.srt.WebAppInvoker.handleInvocationHook(WebAppInvoker.ja va:276)
    at com.ibm.ws.webcontainer.cache.invocation.CachedInvocation.handleInvocation(Cach edInvocation.java:71)
    at com.ibm.ws.webcontainer.srp.ServletRequestProcessor.dispatchByURI(ServletReques tProcessor.java:182)
    at com.ibm.ws.webcontainer.oselistener.OSEListenerDispatcher.service(OSEListener.j ava:334)
    at com.ibm.ws.webcontainer.http.HttpConnection.handleRequest(HttpConnection.java:5 6)
    at com.ibm.ws.http.HttpConnection.readAndHandleRequest(HttpConnection.java:618)
    at com.ibm.ws.http.HttpConnection.run(HttpConnection.java:439)
    at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:593)
    Next Linked Exception:
    java.sql.SQLException: [IBM][SQLServer JDBC Driver]Unable to connect. DataSource property serverName must be specified.
    at com.ibm.websphere.jdbc.base.BaseExceptions.createException(Unknown Source)
    at com.ibm.websphere.jdbc.base.BaseExceptions.getException(Unknown Source)
    at com.ibm.websphere.jdbcx.base.BaseDataSource.getConnectionProperties(Unknown Source)
    at com.ibm.websphere.jdbcx.base.BaseDataSource.getBaseConnection(Unknown Source)
    at com.ibm.websphere.jdbcx.base.BaseDataSource.getPooledConnection(Unknown Source)
    at com.ibm.ws.rsadapter.DSConfigurationHelper$1.run(DSConfigurationHelper.java:688 )
    at com.ibm.ws.security.util.AccessController.doPrivileged(AccessController.java:11 1)
    at com.ibm.ws.rsadapter.DSConfigurationHelper.getPooledConnection(DSConfigurationH elper.java:683)
    at com.ibm.ws.rsadapter.spi.WSRdbDataSource.getPooledConnection(WSRdbDataSource.ja va:487)
    at com.ibm.ws.rsadapter.spi.WSManagedConnectionFactoryImpl.createManagedConnection (WSManagedConnectionFactoryImpl.java:577)
    at com.ibm.ejs.j2c.poolmanager.FreePool.createManagedConnectionWithMCWrapper(FreeP ool.java:1280)
    at com.ibm.ejs.j2c.poolmanager.FreePool.createOrWaitForConnection(FreePool.java:10 64)
    at com.ibm.ejs.j2c.poolmanager.PoolManager.reserve(PoolManager.java:1571)
    at com.ibm.ejs.j2c.ConnectionManager.allocateMCWrapper(ConnectionManager.java:622)
    at com.ibm.ejs.j2c.ConnectionManager.allocateConnection(ConnectionManager.java:424 )
    at com.ibm.ws.rsadapter.jdbc.WSJdbcDataSource.getConnection(WSJdbcDataSource.java: 216)
    at com.ibm.ws.rsadapter.jdbc.WSJdbcDataSource.getConnection(WSJdbcDataSource.java: 308)
    at com.ibm.db.db.base.DatabaseConnection.connectToDataSource(DatabaseConnection.ja va)
    at com.ibm.db.db.DatabaseConnection.connect(DatabaseConnection.java)
    at com.ibm.db.db.Statement.connect(Statement.java)
    at com.ibm.db.db.SelectStatement.execute(SelectStatement.java)
    at com.ibm.db.beans.DBSelect.execute(DBSelect.java)
    at apress.wsad.db.BookSearchMasterViewBean.execute(BookSearchMasterViewBean.java:5 3)
    at org.apache.jsp._BookSearchMasterView._jspService(_BookSearchMasterView.java:170 )
    at com.ibm.ws.webcontainer.jsp.runtime.HttpJspBase.service(HttpJspBase.java:89)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
    at com.ibm.ws.webcontainer.jsp.servlet.JspServlet$JspServletWrapper.service(JspSer vlet.java:344)
    at com.ibm.ws.webcontainer.jsp.servlet.JspServlet.serviceJspFile(JspServlet.java:6 62)
    at com.ibm.ws.webcontainer.jsp.servlet.JspServlet.service(JspServlet.java:760)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
    at com.ibm.ws.webcontainer.servlet.StrictServletInstance.doService(StrictServletIn stance.java:110)
    at com.ibm.ws.webcontainer.servlet.StrictLifecycleServlet._service(StrictLifecycle Servlet.java:174)
    at com.ibm.ws.webcontainer.servlet.IdleServletState.service(StrictLifecycleServlet .java:313)
    at com.ibm.ws.webcontainer.servlet.StrictLifecycleServlet.service(StrictLifecycleS ervlet.java:116)
    at com.ibm.ws.webcontainer.servlet.ServletInstance.service(ServletInstance.java:28 3)
    at com.ibm.ws.webcontainer.servlet.ValidServletReferenceState.dispatch(ValidServle tReferenceState.java:42)
    at com.ibm.ws.webcontainer.servlet.ServletInstanceReference.dispatch(ServletInstan ceReference.java:40)
    at com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.handleWebAppDispatch(Web AppRequestDispatcher.java:974)
    at com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.dispatch(WebAppRequestDi spatcher.java:555)
    at com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.forward(WebAppRequestDis patcher.java:200)
    at apress.wsad.db.BookSearchController.dispatch(BookSearchController.java:104)
    at apress.wsad.db.BookSearchController.performTask(BookSearchController.java:67)
    at apress.wsad.db.BookSearchController.doPost(BookSearchController.java:89)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
    at com.ibm.ws.webcontainer.servlet.StrictServletInstance.doService(StrictServletIn stance.java:110)
    at com.ibm.ws.webcontainer.servlet.StrictLifecycleServlet._service(StrictLifecycle Servlet.java:174)
    at com.ibm.ws.webcontainer.servlet.IdleServletState.service(StrictLifecycleServlet .java:313)
    at com.ibm.ws.webcontainer.servlet.StrictLifecycleServlet.service(StrictLifecycleS ervlet.java:116)
    at com.ibm.ws.webcontainer.servlet.ServletInstance.service(ServletInstance.java:28 3)
    at com.ibm.ws.webcontainer.servlet.ValidServletReferenceState.dispatch(ValidServle tReferenceState.java:42)
    at com.ibm.ws.webcontainer.servlet.ServletInstanceReference.dispatch(ServletInstan ceReference.java:40)
    at com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.handleWebAppDispatch(Web AppRequestDispatcher.java:974)
    at com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.dispatch(WebAppRequestDi spatcher.java:555)
    at com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.forward(WebAppRequestDis patcher.java:200)
    at com.ibm.ws.webcontainer.srt.WebAppInvoker.doForward(WebAppInvoker.java:119)
    at com.ibm.ws.webcontainer.srt.WebAppInvoker.handleInvocationHook(WebAppInvoker.ja va:276)
    at com.ibm.ws.webcontainer.cache.invocation.CachedInvocation.handleInvocation(Cach edInvocation.java:71)
    at com.ibm.ws.webcontainer.srp.ServletRequestProcessor.dispatchByURI(ServletReques tProcessor.java:182)
    at com.ibm.ws.webcontainer.oselistener.OSEListenerDispatcher.service(OSEListener.j ava:334)
    at com.ibm.ws.webcontainer.http.HttpConnection.handleRequest(HttpConnection.java:5 6)
    at com.ibm.ws.http.HttpConnection.readAndHandleRequest(HttpConnection.java:618)
    at com.ibm.ws.http.HttpConnection.run(HttpConnection.java:439)
    at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:593)
    [4/19/05 10:50:20:027 PDT] 586024b6 ConnectionMan E J2CA0020E: The Connection Pool Manager could not allocate a Managed Connection: javax.resource.spi.ResourceAllocationException: DSRA8100E: Unable to get a PooledConnection from the DataSource.
    at com.ibm.ejs.j2c.poolmanager.FreePool.createManagedConnectionWithMCWrapper(FreeP ool.java:1321)
    at com.ibm.ejs.j2c.poolmanager.FreePool.createOrWaitForConnection(FreePool.java:10 64)
    at com.ibm.ejs.j2c.poolmanager.PoolManager.reserve(PoolManager.java:1571)
    at com.ibm.ejs.j2c.ConnectionManager.allocateMCWrapper(ConnectionManager.java:622)
    at com.ibm.ejs.j2c.ConnectionManager.allocateConnection(ConnectionManager.java:424 )
    at com.ibm.ws.rsadapter.jdbc.WSJdbcDataSource.getConnection(WSJdbcDataSource.java: 216)
    at com.ibm.ws.rsadapter.jdbc.WSJdbcDataSource.getConnection(WSJdbcDataSource.java: 308)
    at com.ibm.db.db.base.DatabaseConnection.connectToDataSource(DatabaseConnection.ja va)
    at com.ibm.db.db.DatabaseConnection.connect(DatabaseConnection.java)
    at com.ibm.db.db.Statement.connect(Statement.java)
    at com.ibm.db.db.SelectStatement.execute(SelectStatement.java)
    at com.ibm.db.beans.DBSelect.execute(DBSelect.java)
    at apress.wsad.db.BookSearchMasterViewBean.execute(BookSearchMasterViewBean.java:5 3)
    at org.apache.jsp._BookSearchMasterView._jspService(_BookSearchMasterView.java:170 )
    at com.ibm.ws.webcontainer.jsp.runtime.HttpJspBase.service(HttpJspBase.java:89)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
    at com.ibm.ws.webcontainer.jsp.servlet.JspServlet$JspServletWrapper.service(JspSer vlet.java:344)
    at com.ibm.ws.webcontainer.jsp.servlet.JspServlet.serviceJspFile(JspServlet.java:6 62)
    at com.ibm.ws.webcontainer.jsp.servlet.JspServlet.service(JspServlet.java:760)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
    at com.ibm.ws.webcontainer.servlet.StrictServletInstance.doService(StrictServletIn stance.java:110)
    at com.ibm.ws.webcontainer.servlet.StrictLifecycleServlet._service(StrictLifecycle Servlet.java:174)
    at com.ibm.ws.webcontainer.servlet.IdleServletState.service(StrictLifecycleServlet .java:313)
    at com.ibm.ws.webcontainer.servlet.StrictLifecycleServlet.service(StrictLifecycleS ervlet.java:116)
    at com.ibm.ws.webcontainer.servlet.ServletInstance.service(ServletInstance.java:28 3)
    at com.ibm.ws.webcontainer.servlet.ValidServletReferenceState.dispatch(ValidServle tReferenceState.java:42)
    at com.ibm.ws.webcontainer.servlet.ServletInstanceReference.dispatch(ServletInstan ceReference.java:40)
    at com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.handleWebAppDispatch(Web AppRequestDispatcher.java:974)
    at com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.dispatch(WebAppRequestDi spatcher.java:555)
    at com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.forward(WebAppRequestDis patcher.java:200)
    at apress.wsad.db.BookSearchController.dispatch(BookSearchController.java:104)
    at apress.wsad.db.BookSearchController.performTask(BookSearchController.java:67)
    at apress.wsad.db.BookSearchController.doPost(BookSearchController.java:89)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
    at com.ibm.ws.webcontainer.servlet.StrictServletInstance.doService(StrictServletIn stance.java:110)
    at com.ibm.ws.webcontainer.servlet.StrictLifecycleServlet._service(StrictLifecycle Servlet.java:174)
    at com.ibm.ws.webcontainer.servlet.IdleServletState.service(StrictLifecycleServlet .java:313)
    at com.ibm.ws.webcontainer.servlet.StrictLifecycleServlet.service(StrictLifecycleS ervlet.java:116)
    at com.ibm.ws.webcontainer.servlet.ServletInstance.service(ServletInstance.java:28 3)
    at com.ibm.ws.webcontainer.servlet.ValidServletReferenceState.dispatch(ValidServle tReferenceState.java:42)
    at com.ibm.ws.webcontainer.servlet.ServletInstanceReference.dispatch(ServletInstan ceReference.java:40)
    at com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.handleWebAppDispatch(Web AppRequestDispatcher.java:974)
    at com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.dispatch(WebAppRequestDi spatcher.java:555)
    at com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.forward(WebAppRequestDis patcher.java:200)
    at com.ibm.ws.webcontainer.srt.WebAppInvoker.doForward(WebAppInvoker.java:119)
    at com.ibm.ws.webcontainer.srt.WebAppInvoker.handleInvocationHook(WebAppInvoker.ja va:276)
    at com.ibm.ws.webcontainer.cache.invocation.CachedInvocation.handleInvocation(Cach edInvocation.java:71)
    at com.ibm.ws.webcontainer.srp.ServletRequestProcessor.dispatchByURI(ServletReques tProcessor.java:182)
    at com.ibm.ws.webcontainer.oselistener.OSEListenerDispatcher.service(OSEListener.j ava:334)
    at com.ibm.ws.webcontainer.http.HttpConnection.handleRequest(HttpConnection.java:5 6)
    at com.ibm.ws.http.HttpConnection.readAndHandleRequest(HttpConnection.java:618)
    at com.ibm.ws.http.HttpConnection.run(HttpConnection.java:439)
    at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:593)
    ---- Begin backtrace for Nested Throwables
    java.sql.SQLException: [IBM][SQLServer JDBC Driver]Unable to connect. DataSource property serverName must be specified.
    at com.ibm.websphere.jdbc.base.BaseExceptions.createException(Unknown Source)
    at com.ibm.websphere.jdbc.base.BaseExceptions.getException(Unknown Source)
    at com.ibm.websphere.jdbcx.base.BaseDataSource.getConnectionProperties(Unknown Source)
    at com.ibm.websphere.jdbcx.base.BaseDataSource.getBaseConnection(Unknown Source)
    at com.ibm.websphere.jdbcx.base.BaseDataSource.getPooledConnection(Unknown Source)
    at com.ibm.ws.rsadapter.DSConfigurationHelper$1.run(DSConfigurationHelper.java:688 )
    at com.ibm.ws.security.util.AccessController.doPrivileged(AccessController.java:11 1)
    at com.ibm.ws.rsadapter.DSConfigurationHelper.getPooledConnection(DSConfigurationH elper.java:683)
    at com.ibm.ws.rsadapter.spi.WSRdbDataSource.getPooledConnection(WSRdbDataSource.ja va:487)
    at com.ibm.ws.rsadapter.spi.WSManagedConnectionFactoryImpl.createManagedConnection (WSManagedConnectionFactoryImpl.java:577)
    at com.ibm.ejs.j2c.poolmanager.FreePool.createManagedConnectionWithMCWrapper(FreeP ool.java:1280)
    at com.ibm.ejs.j2c.poolmanager.FreePool.createOrWaitForConnection(FreePool.java:10 64)
    at com.ibm.ejs.j2c.poolmanager.PoolManager.reserve(PoolManager.java:1571)
    at com.ibm.ejs.j2c.ConnectionManager.allocateMCWrapper(ConnectionManager.java:622)
    at com.ibm.ejs.j2c.ConnectionManager.allocateConnection(ConnectionManager.java:424 )
    at com.ibm.ws.rsadapter.jdbc.WSJdbcDataSource.getConnection(WSJdbcDataSource.java: 216)
    at com.ibm.ws.rsadapter.jdbc.WSJdbcDataSource.getConnection(WSJdbcDataSource.java: 308)
    at com.ibm.db.db.base.DatabaseConnection.connectToDataSource(DatabaseConnection.ja va)
    at com.ibm.db.db.DatabaseConnection.connect(DatabaseConnection.java)
    at com.ibm.db.db.Statement.connect(Statement.java)
    at com.ibm.db.db.SelectStatement.execute(SelectStatement.java)
    at com.ibm.db.beans.DBSelect.execute(DBSelect.java)
    at apress.wsad.db.BookSearchMasterViewBean.execute(BookSearchMasterViewBean.java:5 3)
    at org.apache.jsp._BookSearchMasterView._jspService(_BookSearchMasterView.java:170 )
    at com.ibm.ws.webcontainer.jsp.runtime.HttpJspBase.service(HttpJspBase.java:89)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
    at com.ibm.ws.webcontainer.jsp.servlet.JspServlet$JspServletWrapper.service(JspSer vlet.java:344)
    at com.ibm.ws.webcontainer.jsp.servlet.JspServlet.serviceJspFile(JspServlet.java:6 62)
    at com.ibm.ws.webcontainer.jsp.servlet.JspServlet.service(JspServlet.java:760)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
    at com.ibm.ws.webcontainer.servlet.StrictServletInstance.doService(StrictServletIn stance.java:110)
    at com.ibm.ws.webcontainer.servlet.StrictLifecycleServlet._service(StrictLifecycle Servlet.java:174)
    at com.ibm.ws.webcontainer.servlet.IdleServletState.service(StrictLifecycleServlet .java:313)
    at com.ibm.ws.webcontainer.servlet.StrictLifecycleServlet.service(StrictLifecycleS ervlet.java:116)
    at com.ibm.ws.webcontainer.servlet.ServletInstance.service(ServletInstance.java:28 3)
    at com.ibm.ws.webcontainer.servlet.ValidServletReferenceState.dispatch(ValidServle tReferenceState.java:42)
    at com.ibm.ws.webcontainer.servlet.ServletInstanceReference.dispatch(ServletInstan ceReference.java:40)
    at com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.handleWebAppDispatch(Web AppRequestDispatcher.java:974)
    at com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.dispatch(WebAppRequestDi spatcher.java:555)
    at com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.forward(WebAppRequestDis patcher.java:200)
    at apress.wsad.db.BookSearchController.dispatch(BookSearchController.java:104)
    at apress.wsad.db.BookSearchController.performTask(BookSearchController.java:67)
    at apress.wsad.db.BookSearchController.doPost(BookSearchController.java:89)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
    at com.ibm.ws.webcontainer.servlet.StrictServletInstance.doService(StrictServletIn stance.java:110)
    at com.ibm.ws.webcontainer.servlet.StrictLifecycleServlet._service(StrictLifecycle Servlet.java:174)
    at com.ibm.ws.webcontainer.servlet.IdleServletState.service(StrictLifecycleServlet .java:313)
    at com.ibm.ws.webcontainer.servlet.StrictLifecycleServlet.service(StrictLifecycleS ervlet.java:116)
    at com.ibm.ws.webcontainer.servlet.ServletInstance.service(ServletInstance.java:28 3)
    at com.ibm.ws.webcontainer.servlet.ValidServletReferenceState.dispatch(ValidServle tReferenceState.java:42)
    at com.ibm.ws.webcontainer.servlet.ServletInstanceReference.dispatch(ServletInstan ceReference.java:40)
    at com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.handleWebAppDispatch(Web AppRequestDispatcher.java:974)
    at com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.dispatch(WebAppRequestDi spatcher.java:555)
    at com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.forward(WebAppRequestDis patcher.java:200)
    at com.ibm.ws.webcontainer.srt.WebAppInvoker.doForward(WebAppInvoker.java:119)
    at com.ibm.ws.webcontainer.srt.WebAppInvoker.handleInvocationHook(WebAppInvoker.ja va:276)
    at com.ibm.ws.webcontainer.cache.invocation.CachedInvocation.handleInvocation(Cach edInvocation.java:71)
    at com.ibm.ws.webcontainer.srp.ServletRequestProcessor.dispatchByURI(ServletReques tProcessor.java:182)
    at com.ibm.ws.webcontainer.oselistener.OSEListenerDispatcher.service(OSEListener.j ava:334)
    at com.ibm.ws.webcontainer.http.HttpConnection.handleRequest(HttpConnection.java:5 6)
    at com.ibm.ws.http.HttpConnection.readAndHandleRequest(HttpConnection.java:618)
    at com.ibm.ws.http.HttpConnection.run(HttpConnection.java:439)
    at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:593)
    [4/19/05 10:50:20:518 PDT] 586024b6 SystemOut O [IBM][SQLServer JDBC Driver]Unable to connect. DataSource property serverName must be specified.
    [4/19/05 10:50:22:211 PDT] 586024b6 WebGroup E SRVE0026E: [Servlet Error]-[[IBM][SQLServer JDBC Driver]Unable to connect. DataSource property serverName must be specified.]: java.sql.SQLException: [IBM]

    java.sql.SQLException: [IBM][SQLServer JDBC Driver]Unable to connect.
    DataSource property serverName must be specified.This might indicate something :-)

  • Classic ASP web app trying to acces remote SQL Server.

    Hi
    I have a classic asp web application which accessing a remote SQL Server 200. I am trying to connect using the following connection string in Global.asa file. For some reason not connecting to the remote SQL Server 200. The string is as follows.
    Session("dsn") = "provider=SQLOLEDB;app=AppName;server=SERVERNAME;uid=;password=;database=DBName;Trusted_Connection=No"
    Session("datadsn") = "data provider=SQLOLEDB;app=AppName;server=SERVERNAME;uid=;password=;database=DBName;Trusted_Connection=No"
    Session("server") = "SERVERNAME"
    Let me know if I am missing something or doing something wrong?
    Varun

    SQL Server Error Log has no error
    But I found couple of errors in Application EventViewer
    The VB Application identified by the event source logged this Application Globalization: Thread ID: 5312 ,Logged: -2147168246 New transaction cannot enlist in the specified transaction coordinator.  Error Source: Microsoft OLE DB Provider for SQL Server->ValidateUser
    A caller has attempted to propagate a transaction to a remote system, but MSDTC network DTC access is currently disabled on machine 'MyMachineName'. Please review the MS DTC configuration settings.
    Varun

  • Failure - Cannot connect to Microsoft SQL Server on localhost

    Hi!
    I have a sqlserver installation on localhost and I want to connect with sqldeveloper.
    I fill connection name, username, password, hostname: localhost port: 1433
    and then click on retrieve database.
    I get the following error message: "Status: Failure - Cannot connect to Microsoft
    SQL Server on localhost"
    I don't know the reason. I can use another connection to another ms sql server
    and it's no problem, but can't connect to localhost.
    I have special signs in my computername, for example a "-". Is this the problem?
    How can I solve it?
    Thank you
    Andreas

    I am able to successfully connect to my local SQLEXPRESS instance using the following settings:
    Hostname: localhost
    Port: 1433/DBName;instance=SQLEXPRESS
    Even though I use this to connect, I cannot open a tcp connection to port 1433 via telnet. I believe this goes hand in hand with specifying the instance. As I understand it, there are two ways to specify the port, one is directly, the other is through a named instance (another port is used as a service to look up the correct port). SQL Server 2005 appears to prefer named instances instead of specific ports. When "instance" is specified, the port can actually be any number, the driver apparently ignores it.
    The Retrieve database (list) appears to be only for informational purposes. I have to specify the database in the Port field (DBName) regardless of what I have selected in this list.
    Hope this helps!
    PS: Retrieve database will give that error until instance is specified in my case.
    Edited by: flszen on Feb 4, 2009 1:29 PM

  • Connect WEKA to SQL Server 2008

    hello,
    please help for research purpose
    how to Connect WEKA to SQL Server 2008??
    and how to obtain source code of weka that connect WEKA to SQL Server 2008  ????

    Hello,
    Please do the test I mentioned above. Try to get connected using SQL Server Management Studio first.
    Please enable TCP/IP and Named Pipes protocols.
    https://msdn.microsoft.com/en-us/library/ms191294(v=sql.100).aspx
    Configure Windows Firewall or disable it.
    https://msdn.microsoft.com/en-us/library/cc646023(v=sql.100).aspx
    Open SQL Server Configuration Manager and make sure SQL Server service is started.
    Hope this helps.
    Regards,
    Alberto Morillo
    SQLCoffee.com

  • I want to writte C# code for 503 Service Unavailable error to web application page immediate close connection any page loaded

    Here is a ticket regarding our current client web application (  Image data add, edit , delete in folder with form data in MSSQL Database) that using code c#, web form, ajax, VS2008, MSSQL Server2008 , it appears that there is an error where the HTTP
    503 error occurs. 
    . Below is a conversation with Host Server support assistant.Can you take a look at it? 
    Ben (support) - Hi 
    Customer - We're having an issue with our windows host 
    Ben (support) - What's the issue? 
    Customer - 503 errors 
    Ben (support) - I am not getting any 503 errors on your site, is there a specific url to duplicate the error? 
    Customer - no, it comes and goes without any change Customer - could you have access to any logs ? 
    Ben (support) - Error logs are only available on Linux shared hosting, however with this error it may be related to you reaching your concurrent connections 
    Ben (support) - You can review more about this at the link \ 
    Customer - probably yes - how can we troubleshoot ? 
    Ben (support) - http://support.godaddy.com/help/article/3206/how-many-visitors-can-view-my-site-at-once 
    Ben (support) - This is something you need to review your code and databases to make sure they are closing the connections in a timely manner 
    Customer - we're low traffic, this is an image DB to show our product details to our customers 
    Customer - ahhhh, so we could have straying sessions ? 
    Ben (support) - Correct Customer - any way you could check if it's the case ? 
    Customer - because it was working previously 
    Ben (support) - We already know that's the case as you stated the 503 errors don't happen all the time if it were issue on the server the the 503 would stay. 
    Customer - so our 2/3 max concurrent users can max out the 200 sessions 
    Customer - correct ? 
    Customer - is there a timeout ? 
    Ben (support) - no that's not a time out concurrent connections are a little different then sessions and or connections. Lets say for an example you have 5 images on your site and 5 7 users come to your site this is not 7 concurrent connections but 35. They
    do close after awhile hence why the 503 error comes and goes. You can have these connections close sooner using code but this is something you have to research using your favorite search engine 
    Customer - thank you so much 
    Customer - I'm surprised that this just started a few weeks ago when we haven't changed anything for months 
    Customer - any changes from your side ? lowering of the value maybe ? 
    Customer - I'm trying to understand what I can report as a significant change 
    Ben (support) - We haven't touched that limit in years 
    Ben (support) - This could just be more users to your site than normal or even more images 
    Customer - I was thinking that could be it indeed 
    Customer - so I need to research how to quickly close connections when not needed 
    Ben (support) - Correctly 
    Ben (support) - correct 
    Customer - thanks !! 
    Ben (support) - Your welcome 
     Analysis : 
     The link provided tells us : All Plesk accounts are limited to 200 simultaneous visitors. 
     From what Ben (support) says and a little extra research, if those aren't visitors but connections then it's quite easy to max out, especially if the connections aren't closed when finished using. I'd suggest forwarding this to Kasem to see what he thinks. 
    Cheers, 
    Customer

    Hi Md,
    Thank you for posting in the MSDN forum.
    >>
    I want to writte C# code for 503 Service Unavailable error to web application page immediate close connection any page loaded.
    Since
    Visual Studio General Forum which discuss VS IDE issue, I am afraid that you post the issue in an incorrect forum.
    To help you find the correct forum, would you mind letting us know more information about this issue? Which kind of web app you develop using C# language? Is it an ASP.NET Web Application?
    If yes, I suggest you could post the issue directly on
    ASP.NET forum, it would better support your issue.
    Thanks for your understanding.
    Best Regards,
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click HERE to participate the survey.

  • Unable to deploy the web application that uses a ejb3.0

    Hi,
    I have created a adf application with Model and a ViewController.
    Locally from jdeveloper I am able to run the application successfully by right clicking the web page and click on Run.
    However, when I try to deploy this application that contains both Model and ViewController, I am getting an error:
    [04:41:52 PM] Weblogic Server Exception: weblogic.application.ModuleException: Could not setup environment
    [04:41:52 PM] Caused by: weblogic.deployment.EnvironmentException: [J2EE:160167]The module QC-ViewController-context-root in application QC_application1 uses ejb-links but no EJB modules were found for this application.
    [04:41:52 PM] See server logs or server console for more details.
    [04:41:52 PM] weblogic.application.ModuleException: Could not setup environment
    [04:41:52 PM] #### Deployment incomplete. ####
    [04:41:52 PM] Remote deployment failed
    Any help on this issue is appreciated.
    Thanks
    Saikrishna

    Hi Saikrishna,
    I had the same problem. My fix was to create a new Deployment Profile (EJB JAR file) in my Model (the default is an "ADF Library JAR file") and have my ViewController depend on that.
    Also, make sure your ejb references in web.xml have the ejb-link attribute:
    <ejb-local-ref>
    <ejb-ref-name>AuditSessionEJB</ejb-ref-name>
    <ejb-ref-type>Session</ejb-ref-type>
    <local>com.incomemax.ejb.session.AuditSessionEJBLocal</local>
    <ejb-link>AuditSessionEJB</ejb-link> <---- this entry
    </ejb-local-ref>
    Hope that helps,
    Chris

  • Error while web application deployment in NetBeans5.5

    Error while web application deployment in NetBeans5.5. I am always getting Tomcat deployment error. using Netbeans 5.5.1 with bundeld tomcat. But in some machines its working fine.
    regards
    jossy v jose

    What is the error message you see?
    Are there any stacktraces or other relevant messages in the ide log file? (The ide log file is [userdir]/var/log/messages.log. On userdir: http://blogs.sun.com/karthikr/entry/jse_directories)
    You can also check the server log file to see if there are more detailed messages.
    You can also try setting ant's verbose level to debug or verbose (Tools | Options | Miscellaneous | Ant | Verbosity Level) and check the output.

Maybe you are looking for

  • Re: ERROR while trying to synchronize Audio and MIDI

    Hi Guys/Gals A bit of a strange one. Yes, I have posted a similar question concerning my trusted 2.7ghz G5 PPC and my Digidesign 003R which it turned out that the Digi's FW ports were to blame. New issue. I have just completed an install on a client'

  • Reader+OLE+SetCurrentHighlight

    Hi! I couldn't find anything in the forum regarding SetCurrentHighlight() bug so maybe I am the only one who would like to use it. But there's no problem :-) The documentation of the method's parameters is a little bit confusing at first sight. void

  • Color Management In Various Web Browsers For Untagged Images Broken Since 10.8 Upgrade

    I have recently updated my early 2008 Mac Pro to 10.8 and have noticed that neither Safari, Firefox or Chrome handle untagged images correctly anymore. Instead of assuming sRGB as the ICC profile for an untagged image (like they did prior to upgradin

  • String to bitmap generation

    Hi I try to generate a bmp file. The input data will be a String in Unicode like String s = "Hello world"; The output will be a bmp file of hight and width which will have this text on it. The font used to generate bmp should be also a parameter. Now

  • Create archive

    What is the best way to make a real zip archive on mac without using the zip command in the terminal. I am fine with using the terminal but my dad is not. I don't consider the "Create archive" method from the finder real because it adds all kinds of