unfortunately, i'm using oracle, so it should work.....
 
simon
----- Original Message -----
Sent: Monday, May 28, 2001 11:15 AM
Subject: Re: [JBoss-user] petstore mail/MailSession & db connection errors

i think i know what the problem is. I use MySQL and petstore has only three implementations, Cloudscape, Sybase and Oracle. You have to adapt the following files:
customer-ejb.xml(point to the OrderDAOMySQL)
PopulateServlet.java (complement IF-statement and add intallMySQLTables() to the methods)
OrderDAOCS.java (should become OrderDAOMySQL)
 
and add a mysql.sql file for your db
 
The problem for me is the rebuilding of the application. I get an error rebuilding
(enterprise-deplyoment.application.description) and an error deploying it and i have no idea what it is. Maybe you have an idea?
 
Maarten
 
----- Original Message -----
Sent: Monday, May 28, 2001 9:17 AM
Subject: R: [JBoss-user] petstore mail/MailSession & db connection errors

yeah, i also have this problem with db connection.
 
i presume it is another problem to sort out, since i doubt that the mail/MailSession error is related to it.
 
it's strange, however, since jboss has already connected to the db to create the USER, USER_ROLES, and ROLES table without a problem.
 
i'll let you know if i find out anything.....
 
simon
 
Simon Bateson
ICTeam S.p.A
Italia
-Original Message -----
Sent: Monday, May 28, 2001 8:25 AM
Subject: Re: [JBoss-user] flushing the XA connection pool

i got in now, thanks. I have the same "mail" problem so if you find out what it is...There is a comment in the last line of the startup sequence where something can't be found, maybe that explains things.
 
By the way did you get any problems in populating the DB. I have set properties in the jboss.jcml and the server.xml in Tomcat but i still get an 'no database connection'-page, but everything is running.
----- Original Message -----
Sent: Friday, May 25, 2001 2:35 PM
Subject: R: [JBoss-user] flushing the XA connection pool

you need to also edit the jboss-auto.jcml as well - it makes a 'snapshot' of the mbeans during runtime, and reloads them when you restart tomcat.
 
it can be quite annoying when you're getting started with jboss and are making changes to jboss.jcml and restarting, only to find that the erroneous mbean that you deleted is still present - however, all you need to do is delete/change the name of the file to disable this feature.
 
i've got a bit further than you with petstore - but i'm still stuck with this error:
 
[Container factory] No resource manager found for mail/MailSession 
 
any advice anyone?
 
simon
 
----- Original Message -----
Sent: Friday, May 25, 2001 1:26 PM
Subject: [JBoss-user] flushing the XA connection pool

Is there someway to flush the connection pool, because i now get javax.naming.NameAlreadyBoundException. I changed the Pool name from the jboss.jcml a few times but i only want to use one for the petstore app.
 
Thanks,
Maarten

Reply via email to