Hey Fabien,

> Simone,
> 
> ok, sorry about the missing information, I'm using win2k with 
> jboss 2.1 with
> jdk 1.3 001
> 
> I've actually fixed that adding the jar files (mail and 
> activation) directly
> to the classpath  used in the run.bat file. Even if I think I 
> read somewhere
> that any jar put in the lib or lib/ext dir would be auto-loaded by the
> server. I might be wrong ;o)

JBoss already has mail.jar and activation.jar in dist/lib/ext, so you should
not need to add them to the main classpath, nor to add them at all :)
Anyway you're saying it is not working (while for me it does), so may I ask
you to check that really mail.jar and activation.jar are under dist/lib/ext,
and post your session bean code ?

Thanks,

Simon


> 
> Thanks,
> 
> Fabien
> 
> ----- Original Message -----
> From: "Bordet, Simone" <[EMAIL PROTECTED]>
> To: "'JBoss-User'" <[EMAIL PROTECTED]>
> Sent: Wednesday, March 14, 2001 10:14 AM
> Subject: RE: [jBoss-User] javax.Mail.Message class not found 
> at deployment
> time
> 
> 
> > Hey Fabien,
> >
> > > Hi all,
> > >
> > > I've a session bean using some mail facilities but I can't
> > > deploy it. I've
> > > read that there is a nice built-in mail service, but if
> > > possible I would
> > > like to leave my source code as it is.
> > >
> > > Does anyboby know why I get this exception althought the
> > > mail.jar is in the
> > > lib/ext dir ?
> >
> > Can you post the full stack trace of JBoss ?
> > And say which version, OS, etc you're using ?
> >
> > Simon
> >
> >
> > --
> > --------------------------------------------------------------
> > To subscribe:        [EMAIL PROTECTED]
> > To unsubscribe:      [EMAIL PROTECTED]
> >
> 
> 
> 
> --
> --------------------------------------------------------------
> To subscribe:        [EMAIL PROTECTED]
> To unsubscribe:      [EMAIL PROTECTED]
> 


--
--------------------------------------------------------------
To subscribe:        [EMAIL PROTECTED]
To unsubscribe:      [EMAIL PROTECTED]

Reply via email to