On 6/23/06 12:25 PM, Evan Carroll wrote: > when I try to start the Catalyst server, I get: > > [EMAIL PROTECTED]:/var/www/Dealermade$ perl script/dealermade_server.pl > Subroutine init_db redefined > at /var/www/Dealermade/script/../lib/Dealermade/M/Import/Import.pm line > 19. > Couldn't load "Dealermade::M::Import::Import", "Cannot create method > Import::Import::dns - method already exists > at /usr/local/share/perl/5.8.7/Rose/DB/Object/Metadata/MethodMaker.pm > line 420
That error suggests to me me that an RDBO class is being initialize()d twice. Are you using the new setup() method to set up your metadata? http://search.cpan.org/dist/Rose-DB-Object/lib/Rose/DB/Object/Metadata.pm#se tup If not, try it. It'll prevent your classes from being double-initialized even if they are loaded more than once (due to some other module messing with %INC or whatever) -John Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Rose-db-object mailing list Rose-db-object@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/rose-db-object