ObjectWeb Consortium
Search ObjectWeb Mail Archive: 

Advanced Search - Powered by Google


Mail Archive Home | enhydra List | January 2005 Index

<--  Date Index  --> <--  Thread Index  -->

Re: [enhydra] Custom session manager



Hi,

Thanks for the reply.  I put the jar files into the <ENHYDRA_ROOT>/multiserver/lib/ext/enhydra directory. The session home class is being found correctly.  

The problem now is occuring when loading the application.  When I use a class (whose jar file was put in the <ENHYDRA_ROOT>/multiserver/lib/ext/enhydra directory) and it uses classes from the application, the application classes are throwing a ClassNotFound exception, even though the class jar file is in the WEB-INF/lib directory.  If I use the basic session manager (not CUSTOM) and I remove my jar files from <ENHYDRA_ROOT>/multiserver/lib/ext/enhydra, the application works correctly, so I am assuming that the problem is somewhere in the class loading ...

Regards
Robert




"Slobodan Vujasinovic" <slobodan@xxxxxxxxxxxxx>

12/01/2005 08:23

Please respond to
enhydra@xxxxxxxxxxxxx

To
<enhydra@xxxxxxxxxxxxx>
cc
Subject
Re: [enhydra] Custom session manager





Hi,
 
All EAF binaries are placed in '<ENHYDRA_ROOT>/multiserver/lib/ext/enhydra' so I'm suggesting this location (not application WEB-INF/lib).
 
Note that all binaries placed in '<ENHYDRA_ROOT>/multiserver/lib/ext' will be loaded by commons class loader (shared between all applications) as a JOnAS-specific class loader that will load all classes required to start the JOnAS server (all jars in subordinate directories will also be loaded ).
 
Hope this helps,
    Slobodan Vujasinovic
Enhydra Development Team
 
----- Original Message -----
From: Robert.Farrugia@xxxxxxxxx
To: enhydra@xxxxxxxxxxxxx
Sent: Tuesday, January 11, 2005 6:58 PM
Subject: [enhydra] Custom session manager


Hi,


I am trying to use the CUSTOM feature of the SessionManager to load my own SessionHome class.  I have added the class name to the conf file under the CUSTOM subsection.


The problem is where to put the session code jar file, since it is giving a class not found exception.  I am currently putting it in the webapp WEB-INF/lib directory.

Do I need to add something to the classpath or any other setting for Jonas ?


BTW I am using enhydra enterprise 6.0.1.  Any pointers on this issue would be greatly appreciated.


Regards
Robert



<--  Date Index  --> <--  Thread Index  -->

Reply via email to:

Powered by MHonArc.

Copyright © 1999-2005, ObjectWeb Consortium | contact | webmaster.