[seam-issues] [JBoss JIRA] Commented: (SOLDER-70) MessageBundle Loading for SeamServlet

Matthias Unverzagt (JIRA) jira-events at lists.jboss.org
Sun Jan 30 15:47:39 EST 2011


    [ https://issues.jboss.org/browse/SOLDER-70?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12578925#comment-12578925 ] 

Matthias Unverzagt commented on SOLDER-70:
------------------------------------------

Marek, you are right. With GERATE_PROXIES "= jboss.i18n.generate-proxies = true" the Exception is not thrown: 

{code} 
org.jboss.seam.solder.logging.Messages.getBundle ...

if (GENERATE_PROXIES) {
  return type.cast(Proxy.newProxyInstance(type.getClassLoader(), new Class<?>[] { type }, new MessageBundleInvocationHandler(type)));
}
throw new IllegalArgumentException("Invalid bundle " + type + " (implementation not found)");
{code} 


I change the status of the issue accordingly.

> MessageBundle Loading for SeamServlet
> -------------------------------------
>
>                 Key: SOLDER-70
>                 URL: https://issues.jboss.org/browse/SOLDER-70
>             Project: Seam Solder
>          Issue Type: Bug
>    Affects Versions: 3.0.0.CR1
>         Environment: Jan 30th: SNAPSHOT-3.0.0  of  seam-servlet and seam-solder
>            Reporter: Matthias Unverzagt
>         Attachments: messagetest-1.war
>
>
> Interplay of the two libraries cause the following problem:
> Caused by: java.lang.IllegalArgumentException: Invalid bundle interface org.jboss.seam.servlet.messages.ServletMessages (implementation not found)
> 	at org.jboss.seam.solder.logging.Messages.getBundle(Messages.java:97)

-- 
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the seam-issues mailing list