Jump to content
We've recently updated our Privacy Statement, available here ×

numptyspence

Members
  • Posts

    2
  • Joined

  • Last visited

numptyspence's Achievements

Newbie

Newbie (1/14)

  • Week One Done
  • One Month Later
  • One Year In
  • First Post Rare
  • Conversation Starter Rare

Recent Badges

0

Reputation

  1. after looking in the logs specifically catalina.out i found the following error 08:20:28,678 WARN JDBCExceptionReporter,main:71 - SQL Error: 0, SQLState: null 08:20:28,682 ERROR JDBCExceptionReporter,main:72 - Cannot create JDBC driver of class '' for connect URL 'null' 08:20:28,686 WARN SettingsFactory,main:103 - Could not obtain connection metadata org.apache.commons.dbcp.SQLNestedException: Cannot create JDBC driver of class '' for connect URL 'null' at org.apache.commons.dbcp.BasicDataSource.createDataSource(BasicDataSource.java:780) at org.apache.commons.dbcp.BasicDataSource.getConnection(BasicDataSource.java:540) So it looks like the first place i should start is with the JDBC settings. These appear to live in context.xml in the war file but first i checked i could log into mysql with the jasperadmin username and password which i could with no problems and all the sample database's where there, and the contents of the context.xml file look ok to me so i am stumped where do i go to next <Context path="/jasperserver" debug="5" reloadable="true" crossContext="true"> <!-- maxActive: Maximum number of dB connections in pool. Make sure you configure your mysqld max_connections large enough to handle all of your db connections. Set to 0 for no limit. --> <!-- maxIdle: Maximum number of idle dB connections to retain in pool. Set to -1 for no limit. See also the DBCP documentation on this and the minEvictableIdleTimeMillis configuration parameter. --> <!-- maxWait: Maximum time to wait for a dB connection to become available in ms, in this example 10 seconds. An Exception is thrown if this timeout is exceeded. Set to -1 to wait indefinitely. --> <Resource name="jdbc/jasperserver" auth="Container" type="javax.sql.DataSource" maxActive="100" maxIdle="30" maxWait="10000" username="jasperadmin" password="mypwd" driverClassName="com.mysql.jdbc.Driver" url="jdbc:mysql://127.0.0.1:3306/jasperserver?useUnicode=true&characterEncoding=UTF-8"/> <Resource name="jdbc/sugarcrm" auth="Container" type="javax.sql.DataSource" maxActive="100" maxIdle="30" maxWait="10000" username="jasperadmin" password="mypwd" driverClassName="com.mysql.jdbc.Driver" url="jdbc:mysql://127.0.0.1:3306/sugarcrm"/> <Resource name="jdbc/foodmart" auth="Container" type="javax.sql.DataSource" maxActive="100" maxIdle="30" maxWait="10000" username="jasperadmin" password="mypwd" driverClassName="com.mysql.jdbc.Driver" url="jdbc:mysql://127.0.0.1:3306/foodmart"/> </Context> If anyone can help i would be greatfull Thanks#Spence
  2. Hi I was hoping some one could help me i have just down loaded Jasperserver for the first time. I already have MYSQL & TOMCAT installed so i chose no to use the bundled versions. after installation i started MYSQl ,then TOMCAT and finally run the script jasperctl.sh to start JASPER SERVER but when fire up a web browser on the same machine to view the server main screen all i get is HTTP Status 404 - /jasperserver/ type Status report message /jasperserver/ description The requested resource (/jasperserver/) is not available. Apache Tomcat/5.0 I am using the standard port and the path tho the webserver i.e. http://localhost:8080/jasperserver/ I should add i am running suse 10.2, TOMCAT5.5 and MYSQL 5.0.26
×
×
  • Create New...