Results 1 to 5 of 5

Thread: JasperReports authentication fails :(

  1. #1
    ditman is offline Sugar Community Member
    Join Date
    Jan 2007
    Posts
    25

    Unhappy JasperReports authentication fails :(

    Hi there, I'm following the documentation to install JasperReports, and I've stomped against a wall of bricks I cannot get past.

    The problem is that I cannot login with my sugar credentials; it always says:

    Error: You must specify a valid username and password.


    I've double-checked that my user/pass is correct. Also in server.xml, my user/pass corresponds to the MySQL database that I'm trying to access.

    When I have a look at "catalina.out" log file, i can see this line:

    29-ago-07 5:57:46 net.sf.jasperreports.sugarcrm.realm.SugarDataSourc eRealm open
    SEVERE: Excepción realizando autenticación

    Wich means roughly: SEVERE: Exception while authenticating

    I don't know where to go from here... Any suggestions? If you need XMLs or anything, just ask for it

    Thanks!!

  2. #2
    bklawans is offline Member
    Join Date
    Feb 2006
    Posts
    7

    Default Re: JasperReports authentication fails :(

    It looks like you are using the JasperReports for SugarCRM project - is that correct? If so, what vesion of Tomcat are you using - is it the version bundled with JasperReports for SugarCRM or a newer version? Finally, is SugarCRM using a database for authentication, or is it using an external system like LDAP?

    -Barry Klawans

  3. #3
    ditman is offline Sugar Community Member
    Join Date
    Jan 2007
    Posts
    25

    Red face Re: JasperReports authentication fails :(

    Hi Barry, thanks for your answer. I didn't notice until now... I was supposed to be monitoring this, but apparently it didn't work. Anyway...

    Quote Originally Posted by bklawans
    It looks like you are using the JasperReports for SugarCRM project - is that correct?
    Correct, I'm using the JasperReports that can be found here:

    http://www.sugarforge.org/frs/?group_id=193

    Quote Originally Posted by bklawans
    If so, what vesion of Tomcat are you using - is it the version bundled with JasperReports for SugarCRM or a newer version?
    I've tried with the bundled "catalina" server, but I didn't manage for it to start correctly, so finally I decided to stick with my Fedora Core 5's tomcat5, which is this one:

    [ditman@localhost ~]# tomcat5 version
    Using CATALINA_BASE: /usr/share/tomcat5
    Using CATALINA_HOME: /usr/share/tomcat5
    Using CATALINA_TMPDIR: /usr/share/tomcat5/temp
    Using JRE_HOME:
    Server version: Apache Tomcat/5.5.15
    Server built: Mar 6 2006 06:17:44
    Server number: 5.5.15.0
    OS Name: Linux
    OS Version: 2.6.20-1.2320.fc5smp
    Architecture: i386
    JVM Version: 1.4.2
    JVM Vendor: Free Software Foundation, Inc.

    Quote Originally Posted by bklawans
    Finally, is SugarCRM using a database for authentication, or is it using an external system like LDAP?
    It's authenticating against a "localhost" MySQL database, which I've included in the server.xml file. Have a look:

    <Resource name="jdbc/jasperreports-sugarcrm" auth="Container" type="javax.sql.DataSource"
    maxActive="100" maxIdle="30" maxWait="10000"
    username="XXXXXXXXXX" password="XXXXXXXXXX"
    driverClassName="com.mysql.jdbc.Driver"
    url="jdbc:mysql://localhost/gdtic_crm" />

    The only thing that I didn't know how to do, is to tell my tomcat5 to use another JVM, instead of "gij" wich seems too generic for my taste. Might this be related?

    Thanks!!

  4. #4
    ditman is offline Sugar Community Member
    Join Date
    Jan 2007
    Posts
    25

    Default Re: JasperReports authentication fails :(

    No clues on this? Anybody?

  5. #5
    cfuentes is offline Junior Member
    Join Date
    Sep 2007
    Posts
    1

    Default Re: JasperReports authentication fails :(

    i have the same problem, I cant fix please help me

    a follow the instuctions how to install jasperreports and when tried to log on it says
    error You must specify a valid username and password.
    i have download the jasperreports-sugarcrm.zip

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Password security, two-factor authentication
    By KenHughes in forum General Discussion
    Replies: 9
    Last Post: 2009-05-18, 02:56 PM
  2. Problem connecting LDAP Authentication to Active Directory
    By YaffaPub in forum Installation and Upgrade Help
    Replies: 5
    Last Post: 2008-10-27, 05:41 PM
  3. email Authentication Error
    By robbiea in forum Help
    Replies: 2
    Last Post: 2007-06-19, 09:13 PM
  4. Authentication of Module Loader Fails
    By shoesiq in forum Help
    Replies: 0
    Last Post: 2007-03-07, 04:24 AM
  5. PATCH: WiKID Strong Authentication
    By ghaygood in forum Downloads
    Replies: 0
    Last Post: 2005-09-27, 03:19 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
  •