Vladica Maric [
https://community.jboss.org/people/vmaric] created the discussion
"Re: datasource MySql"
To view the discussion, visit:
https://community.jboss.org/message/778555#778555
--------------------------------------------------------------
I just deleted -ds.xml file and sed dodeploy. Now I have following logs:
I copied earlier derbyclient.jar file in /WEB-INF/lib/ dir in eclipse is that wrong???
*********And what mean bolded message:
*12:01:03,536 WARN [org.jboss.as.ee] (MSC service thread 1-4) JBAS011001: Could not
resolve resource-env-ref java:/MyDerby*
********and another message:
*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. Replacing existing managed bean class type corejsf.CustomerBean with
corejsf.CustomerBean.*
********My logs as they are in the console:
12:01:02,036 INFO [org.jboss.as.server.deployment] (MSC service thread 1-1) JBAS015876:
Starting deployment of "BaseProba1.war"
12:01:02,599 WARN [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"
does not point to a valid jar for a Class-Path reference.
12:01:02,614 WARN [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"
does not point to a valid jar for a Class-Path reference.
12:01:02,614 WARN [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"
does not point to a valid jar for a Class-Path reference.
12:01:02,614 WARN [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"
does not point to a valid jar for a Class-Path reference.
12:01:02,614 WARN [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"
does not point to a valid jar for a Class-Path reference.
12:01:02,630 WARN [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"
does not point to a valid jar for a Class-Path reference.
12:01:02,630 WARN [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"
does not point to a valid jar for a Class-Path reference.
12:01:02,630 WARN [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"
does not point to a valid jar for a Class-Path reference.
12:01:02,630 WARN [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"
does not point to a valid jar for a Class-Path reference.
12:01:02,630 WARN [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"
does not point to a valid jar for a Class-Path reference.
12:01:02,630 WARN [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"
does not point to a valid jar for a Class-Path reference.
12:01:02,630 WARN [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"
does not point to a valid jar for a Class-Path reference.
12:01:02,630 WARN [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"
does not point to a valid jar for a Class-Path reference.
12:01:02,927 WARN [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'
12:01:02,927 WARN [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'
*12:01:03,536 WARN [org.jboss.as.ee] (MSC service thread 1-4) JBAS011001: Could not
resolve resource-env-ref java:/MyDerby*
12:01:03,786 INFO [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)
12:01:03,911 INFO [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.
12:01:03,958 INFO [javax.enterprise.resource.webcontainer.jsf.config] (MSC service thread
1-1) Initializing Mojarra 2.1.7-jbossorg-1 (20120227-1401) for context
'/BaseProba1'
12:01:05,521 INFO [org.hibernate.validator.util.Version] (MSC service thread 1-1)
Hibernate Validator 4.2.0.Final
*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. Replacing existing managed bean class type corejsf.CustomerBean with
corejsf.CustomerBean.*
12:01:06,021 INFO [org.jboss.web] (MSC service thread 1-1) JBAS018210: Registering web
context: /BaseProba1
12:01:06,177 INFO [org.jboss.as.server] (DeploymentScanner-threads - 2) JBAS018559:
Deployed "BaseProba1.war"
******Thanks again.....!!!!!
--------------------------------------------------------------
Reply to this message by going to Community
[
https://community.jboss.org/message/778555#778555]
Start a new discussion in Beginner's Corner at Community
[
https://community.jboss.org/choose-container!input.jspa?contentType=1&...]