<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
<body link="#355491" alink="#4262a1" vlink="#355491" style="background: #e2e2e2; margin: 0; padding: 20px;">

<div>
        <table cellpadding="0" bgcolor="#FFFFFF" border="0" cellspacing="0" style="border: 1px solid #dadada; margin-bottom: 30px; width: 100%; -moz-border-radius: 6px; -webkit-border-radius: 6px;">
                <tbody>
                        <tr>

                                <td>

                                        <table border="0" cellpadding="0" cellspacing="0" bgcolor="#FFFFFF" style="border: solid 2px #ccc; background: #dadada; width: 100%; -moz-border-radius: 6px; -webkit-border-radius: 6px;">
                                                <tbody>
                                                        <tr>
                                                                <td bgcolor="#000000" valign="middle" height="58px" style="border-bottom: 1px solid #ccc; padding: 20px; -moz-border-radius-topleft: 3px; -moz-border-radius-topright: 3px; -webkit-border-top-right-radius: 5px; -webkit-border-top-left-radius: 5px;">
                                                                        <h1 style="color: #333333; font: bold 22px Arial, Helvetica, sans-serif; margin: 0; display: block !important;">
                                                                        <!-- To have a header image/logo replace the name below with your img tag -->
                                                                        <!-- Email clients will render the images when the message is read so any image -->
                                                                        <!-- must be made available on a public server, so that all recipients can load the image. -->
                                                                        <a href="https://community.jboss.org/index.jspa" style="text-decoration: none; color: #E1E1E1">JBoss Community</a></h1>
                                                                </td>

                                                        </tr>
                                                        <tr>
                                                                <td bgcolor="#FFFFFF" style="font: normal 12px Arial, Helvetica, sans-serif; color:#333333; padding: 20px;  -moz-border-radius-bottomleft: 4px; -moz-border-radius-bottomright: 4px; -webkit-border-bottom-right-radius: 5px; -webkit-border-bottom-left-radius: 5px;"><h3 style="margin: 10px 0 5px; font-size: 17px; font-weight: normal;">
    Exception when creating new XA Datasource resource with Web Admin
</h3>
<span style="margin-bottom: 10px;">
    created by <a href="https://community.jboss.org/people/mortl">Jan Mortensen</a> in <i>Datasource Configuration</i> - <a href="https://community.jboss.org/message/755325#755325">View the full discussion</a>
</span>
<hr style="margin: 20px 0; border: none; background-color: #dadada; height: 1px;">

<div class="jive-rendered-content"><p>Hi,</p><p>I am using jboss-6.0.0.20100429-M3. I want to&#160; a new XA Datasource for Derby. First I have written the file by hand and added to the deploy folder of JBoss. I have read some documentation and came up the file attached to this article. Due an parse exception occurs while deploying the file I wanted to use the Web Admin to create the file. So I opened the Web Admin switched to the XA Datasources and clicked "Add new resource". I used the "default (XA Datasource)" template.&#160; But when I now enter the information and click "Save" the exception at the end of this question occurs.</p><p>The only required fields are "JNDI name" and "<span class="property-display-name-text">XA DataSource Class". With both were filled out.</span></p><p><span class="property-display-name-text">Has someone an idea what is wrong with the "jdbc-ds.xml" file or why I can not create the file with the Web Admin?</span></p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p><span class="property-display-name-text">Best regards,</span></p><p><span class="property-display-name-text">Jan<br/></span></p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p><strong>javax.servlet.ServletException: org/richfaces/validator/NullValueValidator</strong></p><p>&#160;&#160; at javax.faces.webapp.FacesServlet.service(FacesServlet.java:325)</p><p> at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:336)</p><p> at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:242)</p><p> at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:83)</p><p> at org.jboss.seam.web.IdentityFilter.doFilter(IdentityFilter.java:38)</p><p> at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)</p><p> at org.jboss.seam.web.MultipartFilter.doFilter(MultipartFilter.java:90)</p><p> at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)</p><p> at org.jboss.seam.web.ExceptionFilter.doFilter(ExceptionFilter.java:64)</p><p> at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)</p><p> at org.jboss.seam.web.RedirectFilter.doFilter(RedirectFilter.java:45)</p><p> at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)</p><p> at org.ajax4jsf.webapp.BaseXMLFilter.doXmlFilter(BaseXMLFilter.java:206)</p><p> at org.ajax4jsf.webapp.BaseFilter.handleRequest(BaseFilter.java:290)</p><p> at org.ajax4jsf.webapp.BaseFilter.processUploadsAndHandleRequest(BaseFilter.java:388)</p><p> at org.ajax4jsf.webapp.BaseFilter.doFilter(BaseFilter.java:515)</p><p> at org.jboss.seam.web.Ajax4jsfFilter.doFilter(Ajax4jsfFilter.java:56)</p><p> at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)</p><p> at org.jboss.seam.web.LoggingFilter.doFilter(LoggingFilter.java:58)</p><p> at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)</p><p> at org.jboss.seam.servlet.SeamFilter.doFilter(SeamFilter.java:158)</p><p> at org.jboss.on.embedded.LazyStartupFilter.doFilter(LazyStartupFilter.java:87)</p><p> at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:274)</p><p> at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:242)</p><p> at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:293)</p><p> at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)</p><p> at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:183)</p><p> at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:95)</p><p> at org.jboss.web.tomcat.security.SecurityContextEstablishmentValve.process(SecurityContextEstablishmentValve.java:126)</p><p> at org.jboss.web.tomcat.security.SecurityContextEstablishmentValve.invoke(SecurityContextEstablishmentValve.java:70)</p><p> at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)</p><p> at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)</p><p> at org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:158)</p><p> at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)</p><p> at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:368)</p><p> at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:872)</p><p> at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:653)</p><p> at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:951)</p><p> at java.lang.Thread.run(Thread.java:662)</p></div>

<div style="background-color: #f4f4f4; padding: 10px; margin-top: 20px;">
    <p style="margin: 0;">Reply to this message by <a href="https://community.jboss.org/message/755325#755325">going to Community</a></p>
        <p style="margin: 0;">Start a new discussion in Datasource Configuration at <a href="https://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2077">Community</a></p>
</div></td>
                        </tr>
                    </tbody>
                </table>


                </td>
            </tr>
        </tbody>
    </table>

</div>

</body>
</html>