<!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;">
    Re: datasource MySql
</h3>
<span style="margin-bottom: 10px;">
    created by <a href="https://community.jboss.org/people/vmaric">Vladica Maric</a> in <i>Beginner's Corner</i> - <a href="https://community.jboss.org/message/778555#778555">View the full discussion</a>
</span>
<hr style="margin: 20px 0; border: none; background-color: #dadada; height: 1px;">

<div class="jive-rendered-content"><p>I just deleted -ds.xml file and sed dodeploy. Now I have <span class="short_text" id="result_box" lang="en"><span class="hps">following logs:</span></span></p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p><span class="short_text" lang="en"><span class="hps">I copied earlier derbyclient.jar file in /WEB-INF/lib/ dir in eclipse is that wrong???</span></span></p><p><span class="short_text" lang="en"><span class="hps">*********And what mean bolded message:</span></span></p><p><br/><strong>12:01:03,536 WARN&#160; [org.jboss.as.ee] (MSC service thread 1-4) JBAS011001: Could not resolve resource-env-ref java:/MyDerby</strong></p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p>********and another message:</p><p><br/><strong>12:01:05,630 WARNING [javax.enterprise.resource.webcontainer.jsf.managedbean] (MSC service thread 1-1) JSF1074: Managed bean named 'customerBean' has already been registered.&#160; Replacing existing managed bean class type corejsf.CustomerBean with corejsf.CustomerBean.</strong></p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p><span id="result_box" lang="en"><span class="hps">********My</span> <span class="hps">logs</span> <span class="hps">as they are in</span> <span class="hps">the console:</span></span></p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p>12:01:02,036 INFO&#160; [org.jboss.as.server.deployment] (MSC service thread 1-1) JBAS015876: Starting deployment of "BaseProba1.war"</p><p>12:01:02,599 WARN&#160; [org.jboss.as.server.deployment] (MSC service thread 1-1) Class Path entry derbyLocale_cs.jar in "/C:/jboss-as-7.1.1.Final/standalone/deployments/BaseProba1.war/WEB-INF/lib/derbyclient.jar"&#160; does not point to a valid jar for a Class-Path reference.</p><p>12:01:02,614 WARN&#160; [org.jboss.as.server.deployment] (MSC service thread 1-1) Class Path entry derbyLocale_de_DE.jar in "/C:/jboss-as-7.1.1.Final/standalone/deployments/BaseProba1.war/WEB-INF/lib/derbyclient.jar"&#160; does not point to a valid jar for a Class-Path reference.</p><p>12:01:02,614 WARN&#160; [org.jboss.as.server.deployment] (MSC service thread 1-1) Class Path entry derbyLocale_es.jar in "/C:/jboss-as-7.1.1.Final/standalone/deployments/BaseProba1.war/WEB-INF/lib/derbyclient.jar"&#160; does not point to a valid jar for a Class-Path reference.</p><p>12:01:02,614 WARN&#160; [org.jboss.as.server.deployment] (MSC service thread 1-1) Class Path entry derbyLocale_fr.jar in "/C:/jboss-as-7.1.1.Final/standalone/deployments/BaseProba1.war/WEB-INF/lib/derbyclient.jar"&#160; does not point to a valid jar for a Class-Path reference.</p><p>12:01:02,614 WARN&#160; [org.jboss.as.server.deployment] (MSC service thread 1-1) Class Path entry derbyLocale_hu.jar in "/C:/jboss-as-7.1.1.Final/standalone/deployments/BaseProba1.war/WEB-INF/lib/derbyclient.jar"&#160; does not point to a valid jar for a Class-Path reference.</p><p>12:01:02,630 WARN&#160; [org.jboss.as.server.deployment] (MSC service thread 1-1) Class Path entry derbyLocale_it.jar in "/C:/jboss-as-7.1.1.Final/standalone/deployments/BaseProba1.war/WEB-INF/lib/derbyclient.jar"&#160; does not point to a valid jar for a Class-Path reference.</p><p>12:01:02,630 WARN&#160; [org.jboss.as.server.deployment] (MSC service thread 1-1) Class Path entry derbyLocale_ja_JP.jar in "/C:/jboss-as-7.1.1.Final/standalone/deployments/BaseProba1.war/WEB-INF/lib/derbyclient.jar"&#160; does not point to a valid jar for a Class-Path reference.</p><p>12:01:02,630 WARN&#160; [org.jboss.as.server.deployment] (MSC service thread 1-1) Class Path entry derbyLocale_ko_KR.jar in "/C:/jboss-as-7.1.1.Final/standalone/deployments/BaseProba1.war/WEB-INF/lib/derbyclient.jar"&#160; does not point to a valid jar for a Class-Path reference.</p><p>12:01:02,630 WARN&#160; [org.jboss.as.server.deployment] (MSC service thread 1-1) Class Path entry derbyLocale_pl.jar in "/C:/jboss-as-7.1.1.Final/standalone/deployments/BaseProba1.war/WEB-INF/lib/derbyclient.jar"&#160; does not point to a valid jar for a Class-Path reference.</p><p>12:01:02,630 WARN&#160; [org.jboss.as.server.deployment] (MSC service thread 1-1) Class Path entry derbyLocale_pt_BR.jar in "/C:/jboss-as-7.1.1.Final/standalone/deployments/BaseProba1.war/WEB-INF/lib/derbyclient.jar"&#160; does not point to a valid jar for a Class-Path reference.</p><p>12:01:02,630 WARN&#160; [org.jboss.as.server.deployment] (MSC service thread 1-1) Class Path entry derbyLocale_ru.jar in "/C:/jboss-as-7.1.1.Final/standalone/deployments/BaseProba1.war/WEB-INF/lib/derbyclient.jar"&#160; does not point to a valid jar for a Class-Path reference.</p><p>12:01:02,630 WARN&#160; [org.jboss.as.server.deployment] (MSC service thread 1-1) Class Path entry derbyLocale_zh_CN.jar in "/C:/jboss-as-7.1.1.Final/standalone/deployments/BaseProba1.war/WEB-INF/lib/derbyclient.jar"&#160; does not point to a valid jar for a Class-Path reference.</p><p>12:01:02,630 WARN&#160; [org.jboss.as.server.deployment] (MSC service thread 1-1) Class Path entry derbyLocale_zh_TW.jar in "/C:/jboss-as-7.1.1.Final/standalone/deployments/BaseProba1.war/WEB-INF/lib/derbyclient.jar"&#160; does not point to a valid jar for a Class-Path reference.</p><p>12:01:02,927 WARN&#160; [org.jboss.as.server.deployment] (MSC service thread 1-1) JBAS015893: Encountered invalid class name 'com.sun.faces.vendor.Tomcat6InjectionProvider:org.apache.catalina.util.DefaultAnnotationProcessor' for service type 'com.sun.faces.spi.injectionprovider'</p><p>12:01:02,927 WARN&#160; [org.jboss.as.server.deployment] (MSC service thread 1-1) JBAS015893: Encountered invalid class name 'com.sun.faces.vendor.Jetty6InjectionProvider:org.mortbay.jetty.plus.annotation.InjectionCollection' for service type 'com.sun.faces.spi.injectionprovider'</p><p><strong>12:01:03,536 WARN&#160; [org.jboss.as.ee] (MSC service thread 1-4) JBAS011001: Could not resolve resource-env-ref java:/MyDerby</strong></p><p>12:01:03,786 INFO&#160; [org.jboss.as.connector.deployers.jdbc] (MSC service thread 1-4) JBAS010403: Deploying JDBC-compliant driver class org.apache.derby.jdbc.ClientDriver (version 10.9)</p><p>12:01:03,911 INFO&#160; [org.apache.catalina.core.StandardContext] (MSC service thread 1-1) The listener "com.sun.faces.config.ConfigureListener" is already configured for this context. The duplicate definition has been ignored.</p><p>12:01:03,958 INFO&#160; [javax.enterprise.resource.webcontainer.jsf.config] (MSC service thread 1-1) Initializing Mojarra 2.1.7-jbossorg-1 (20120227-1401) for context '/BaseProba1'</p><p>12:01:05,521 INFO&#160; [org.hibernate.validator.util.Version] (MSC service thread 1-1) Hibernate Validator 4.2.0.Final</p><p><strong>12:01:05,630 WARNING [javax.enterprise.resource.webcontainer.jsf.managedbean] (MSC service thread 1-1) JSF1074: Managed bean named 'customerBean' has already been registered.&#160; Replacing existing managed bean class type corejsf.CustomerBean with corejsf.CustomerBean.</strong></p><p>12:01:06,021 INFO&#160; [org.jboss.web] (MSC service thread 1-1) JBAS018210: Registering web context: /BaseProba1</p><p>12:01:06,177 INFO&#160; [org.jboss.as.server] (DeploymentScanner-threads - 2) JBAS018559: Deployed "BaseProba1.war"</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p>******Thanks again.....!!!!!</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/778555#778555">going to Community</a></p>
        <p style="margin: 0;">Start a new discussion in Beginner's Corner at <a href="https://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2075">Community</a></p>
</div></td>
                        </tr>
                    </tbody>
                </table>


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

</div>

</body>
</html>