Results 1 to 6 of 6

Thread: Installing Jasper Reports on system using MSSQL

  1. #1
    mhoppes is offline Sugar Community Member
    Join Date
    May 2007
    Posts
    45

    Default Installing Jasper Reports on system using MSSQL

    I've got the Java SDK installed. I have my path set. I've got the Jasper Reports ZIP file downloaded. However, when I am looking through the server.xml file I see that I need to change two settings.

    1 is:
    driverClassName

    2 is:
    url

    Right now they are setup for mysql, but I am using mssql on Windows. Does anyone know what these need to be changed to so that it connects to Windows, and do I have to download or do anything else special?

  2. #2
    Deuce is offline Sugar Community Member
    Join Date
    Aug 2006
    Location
    California
    Posts
    66

    Default Re: Installing Jasper Reports on system using MSSQL

    Hi,

    1 should be:
    com.microsoft.sqlserver.jdbc.SQLServerDriver

    2 should be:
    jdbc:sqlserver://localhost

    You'll also need to download and install the SQL server jdbc driver from Microsoft.
    I just copied the sqljdbc.jar file to the catalina\common\lib directory.

    This works fine on my box, ymmv.
    Last edited by Deuce; 2007-10-04 at 11:51 PM.

  3. #3
    mhoppes is offline Sugar Community Member
    Join Date
    May 2007
    Posts
    45

    Default Re: Installing Jasper Reports on system using MSSQL

    Quote Originally Posted by Deuce
    Hi,

    1 should be:
    com.microsoft.sqlserver.jdbc.SQLServerDriver

    2 should be:
    jdbc:sqlserver://localhost

    You'll also need to download and install the SQL server jdbc driver from Microsoft.
    I just copied the sqljdbc.jar file to the catalina\common\lib directory.

    This works fine on my box, ymmv.
    Well I did that.... I set the username and password in the server.xml file... but when I try to log in it kicks me out.. with no helpful information.

    How do I find out why it won't let me in.. and why does the default login show up as dsf?

  4. #4
    Deuce is offline Sugar Community Member
    Join Date
    Aug 2006
    Location
    California
    Posts
    66

    Default Re: Installing Jasper Reports on system using MSSQL

    Looks like it's not connecting to the database.

    Try writing the url like this:
    "jdbc:sqlserver://localhost:1433;databaseName=yoursugardbnamehere;"

    Other than that, I don't know what to tell you...

  5. #5
    ftreml's Avatar
    ftreml is offline Sugar Community Member
    Join Date
    May 2005
    Location
    Vienna, Austria
    Posts
    399

    Default Re: Installing Jasper Reports on system using MSSQL

    if you run jasperreports on windows, maybe the jdbc-odbc-bridge works. Create an ODBC datasource for your mssql database using the odbc administrator in the Windows system panel. then use "sun.jdbc.odbc.JdbcOdbcDriver" as driver and "jdbcdbc:<datasource name>" as URL.

  6. #6
    mhoppes is offline Sugar Community Member
    Join Date
    May 2007
    Posts
    45

    Default Re: Installing Jasper Reports on system using MSSQL

    Quote Originally Posted by ftreml
    if you run jasperreports on windows, maybe the jdbc-odbc-bridge works. Create an ODBC datasource for your mssql database using the odbc administrator in the Windows system panel. then use "sun.jdbc.odbc.JdbcOdbcDriver" as driver and "jdbcdbc:<datasource name>" as URL.
    I tried that and it doesn't do anything different. I get to the login page of Jasper Reports and enter my username and password and it just throws me back to login with an "Invalid username/password" message.

    Catalina seems to be logging almost nothing in the log directory. Is there some place I can go to see what is going wrong?

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. How to install Jasper Reports on SugarCRM
    By asimzaidi in forum Help
    Replies: 10
    Last Post: 2009-05-26, 01:43 PM
  2. Showing Error in installing Zuker reports
    By anilnaut111 in forum Installation and Upgrade Help
    Replies: 0
    Last Post: 2007-08-06, 01:23 PM
  3. Installing using MSSQL on remote server
    By Denne in forum Installation and Upgrade Help
    Replies: 3
    Last Post: 2006-12-12, 01:52 AM
  4. Installing Jasper Reports On a Shared Hosting Set up?
    By kevincdaughtry in forum General Discussion
    Replies: 1
    Last Post: 2006-06-12, 10:34 PM
  5. Jasper Reports
    By hkommin in forum Feature Requests
    Replies: 6
    Last Post: 2006-05-19, 11:32 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •