i have stop the service of mysql!!, when start servie of mysql all it's ok and p6spy is running.
thanks ----- Original Message ----- From: "Ferran Parra" <[EMAIL PROTECTED]> To: "OJB Users List" <[EMAIL PROTECTED]> Sent: Thursday, March 20, 2003 7:42 PM Subject: Re: Error install p6spy1.0.2 in tomcat 4.1.18 and 0.9.9 > thanks now its ok and the step 4) is not necessary! > > ----- Original Message ----- > From: "Ferran Parra" <[EMAIL PROTECTED]> > To: "OJB Users List" <[EMAIL PROTECTED]> > Sent: Thursday, March 20, 2003 6:34 PM > Subject: Error install p6spy1.0.2 in tomcat 4.1.18 and 0.9.9 > > > > Hi all > > I try to install p6spy in my development machine (tomcat 4.1.18, ojb > 0.9.9, > > p6spy 1.0.2) like this: > > > > 1) put p6spy.jar in WEB-INF\lib > > 2) configure repository_database.xml > > <jdbc-connection-descriptor > > ... > > driver="com.p6spy.engine.spy.P6SpyDriver" instead of > > driver="com.mysql.jdbc.Driver" > > ... > > 2) put spy.properties in WEB-INF\classes > > 3) update spy.properties with realdriver=com.mysql.jdbc.Driver > > 4) environment variable CATALINA_OPTS=-Dp6.home=F:\app\Tomcat > > 4.1.18\webapps\test\WEB-INF\classes > > 5) start tomcat 4.1.18 and the aplication throws an Exception: > > org.apache.ojb.broker.accesslayer.LookupException: Error getting > Connection > > from DriverManager with url (jdbc:mysql://192.168.0.115:3306/dbTest) and > > driver (com.p6spy.engine.spy.P6SpyDriver): Unable to connect to any hosts > > due to exception: java.net.ConnectException: Connection refused: connect > > > > any idea what the problem may be?? > > thanks in advance > > > > ------------------------------------------------------- > > Ferran Parra > > [EMAIL PROTECTED] > > http://www.mubimedia.com > > MUBIMEDIA S.L. > > C/ Mallorca, 275, 1r 2a 08008 BCN > > Tel: 93 215 21 91 / Fax: 93 215 41 21 > > ------------------------------------------------------- > > > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > For additional commands, e-mail: [EMAIL PROTECTED] > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
