[JBoss-user] Startup tasks

2002-06-07 Thread Ludovico Basili
Hello, I would like to execute some tasks at startup (i.e., starting a tftp server). To do so, I need a way to load classes and invoke methods on them as JBoss starts. Which is the better way to do that ? Thanks, -- Ludovico Basili Software Engineer Allied Telesis K.K. Phone +39 02 41411245

Re: [JBoss-user] Classloader problem

2002-06-06 Thread Ludovico Basili
hread.currentThread().getContextClasspath() ); myClassLoader.loadClass(className); In this way, I don't have to add directories to my system classpath, and the generated classes can access the libraries under ext/lib. Do you think it is an acceptable solution ? Thank you very much, -- Ludovico Basili Soft

Re: [JBoss-user] Classloader problem

2002-06-05 Thread Ludovico Basili
Hello Chris, > I don't know which version you're running, but with JBoss 3.0, I had to unfortunately I am using JBoss-2.4.4. Thanks anyway, -- Ludovico Basili Software Engineer Allied Telesis K.K. Phone +39 02 41411245 - FAX +39 02 41411260 - email [EM

Re: [JBoss-user] Classloader problem

2002-06-05 Thread Ludovico Basili
uts it into deploy/lib Do you think it is possible ? P.S. I am using JBoss-2.4.4 Thank you very much for your help, -- Ludovico Basili Software Engineer Allied Telesis K.K. Phone +39 02 41411245 - FAX +39 02 41411260 - email [EMAIL PROTECTED] _

[JBoss-user] Classloader problem

2002-06-05 Thread Ludovico Basili
the Class.forName() method into DAOBuilder Have you got any suggestions ? Thanks in advance, -- Ludovico Basili Software Engineer Allied Telesis K.K. Phone +39 02 41411245 - FAX +39 02 41411260 - email [EMAIL PROTECTED