[
http://opensource.atlassian.com/projects/hibernate/browse/EJB-402?page=co...
]
Emmanuel Bernard commented on EJB-402:
--------------------------------------
Hmmmm, in that case I'm not sure how you can resolve it. I'd suggest that you
email JBoss dev list, explain them the situation and see whether they can come up with
other suggestions.
Personally, any code that involves dealing or putting something in JNDI should really live
in AS or in some kind of integration project. At the end of the day, JNDI is primarily an
AS naming mechanism.
Ejb3ConfigurationObjectFactory needs to use
MarshalledValueInputStream
----------------------------------------------------------------------
Key: EJB-402
URL:
http://opensource.atlassian.com/projects/hibernate/browse/EJB-402
Project: Hibernate Entity Manager
Issue Type: Bug
Affects Versions: 3.2.1, 3.3.2.GA, 3.4.0.CR2
Reporter: Galder Zamarreno
Assignee: Galder Zamarreno
Fix For: 3.4.0.GA
Ejb3ConfigurationObjectFactory should use MarshalledValueInputStream instead
of ObjectInputStream, otherwise looking up configuration from isolated deployments
won't work correcly and you'll get ClassNotFoundExceptions.
MarshalledValueInputStream is different from ObjectInputStream in that it uses the
thread context classloader to load classes rather than the system classloader.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://opensource.atlassian.com/projects/hibernate/secure/Administrators....
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira