[jboss-jira] [JBoss JIRA] Created: (JBAS-5173) Bug with whitespace in jboss-web.xml

Javid Jamae (JIRA) jira-events at lists.jboss.org
Fri Jan 25 10:00:21 EST 2008


Bug with whitespace in jboss-web.xml
------------------------------------

                 Key: JBAS-5173
                 URL: http://jira.jboss.com/jira/browse/JBAS-5173
             Project: JBoss Application Server
          Issue Type: Bug
      Security Level: Public (Everyone can see)
          Components: EJB3
    Affects Versions:  JBossAS-5.0.0.Beta3
            Reporter: Javid Jamae
         Assigned To: Carlo de Wolf
            Priority: Minor


I discovered a bug when you have whitespace in jboss-web.xml in JBoss 5.0.0.Beta3. I have a simple JSF application, and when I use the following, my application works fine:

[code]
	<ejb-local-ref>
		<ejb-ref-name>ejb/Calculator</ejb-ref-name>
		<local-jndi-name>calculator/StatelessCalculatorBean/local</local-jndi-name>
	</ejb-local-ref>
[/code]

But, when I use this (with the local-jndi-name defined on a separate line from its enclosing and closing tags and three tabs in front of the name) then it seems like the local interface does not get bound. 

[code]
	<ejb-local-ref>
		<ejb-ref-name>ejb/Calculator</ejb-ref-name>
		<local-jndi-name>
			calculator/StatelessCalculatorBean/local
		</local-jndi-name>
	</ejb-local-ref>
[/code]


-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the jboss-jira mailing list