deltaspike-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Gerhard Petracek (JIRA)" <>
Subject [jira] [Assigned] (DELTASPIKE-339) JndiUtils is broken
Date Sat, 20 Apr 2013 10:43:16 GMT


Gerhard Petracek reassigned DELTASPIKE-339:

    Assignee: John D. Ament  (was: Gerhard Petracek)

i just committed the >intermediate< fix, because nothing happened for 1+ week/s. i wanted
to get rid of the failed ci-builds, because checking the details of the result every time
(if there is a new issue) took longer than the intermediate fix. however, please see my first
> JndiUtils is broken
> -------------------
>                 Key: DELTASPIKE-339
>                 URL:
>             Project: DeltaSpike
>          Issue Type: Bug
>          Components: Core
>    Affects Versions: 0.4-incubating
>            Reporter: Mark Struberg
>            Assignee: John D. Ament
>            Priority: Blocker
>             Fix For: 0.4-incubating
> A recent change in JndiUtils caused a bug in a few Containers
> java.lang.IllegalStateException: Could not get java:comp/ORB from JNDI
> 	at org.apache.deltaspike.core.impl.util.JndiUtils.lookup(
> 	at org.apache.deltaspike.core.impl.util.JndiUtils.list(
> 	at org.apache.deltaspike.test.core.impl.util.JndiUtilsTest.testList(
> The code currently enlists all registered objects in JNDI java:comp and tries to lookup()
them as a specific type. But as per the spec of javax.naming.Context this will always throw
a javax.naming.NamingException if the type of the registered object in JNDI does not match
the type for the bind() operation.

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see:

View raw message