IdentifiantMot de passe
Loading...
Mot de passe oublié ?Je m'inscris ! (gratuit)
Navigation

Inscrivez-vous gratuitement
pour pouvoir participer, suivre les réponses en temps réel, voter pour les messages, poser vos propres questions et recevoir la newsletter

Wildfly/JBoss Java Discussion :

Projet qui marche sous Tomcat 7 et pas sous JBoss 7


Sujet :

Wildfly/JBoss Java

  1. #1
    Membre éclairé

    Profil pro
    Inscrit en
    Janvier 2009
    Messages
    463
    Détails du profil
    Informations personnelles :
    Localisation : France

    Informations forums :
    Inscription : Janvier 2009
    Messages : 463
    Points : 897
    Points
    897
    Billets dans le blog
    5
    Par défaut Projet qui marche sous Tomcat 7 et pas sous JBoss 7
    Bonjour, j'ai un projet Maven qui fonctionne sous Tomcat 7 mais pas sous JBoss 7.
    Le projet a du Spring/Hibernate/JSF.
    Je lance via Eclipse et j'utilise JBoss tools.
    Mon POM:
    Code : Sélectionner tout - Visualiser dans une fenêtre à part
    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    13
    14
    15
    16
    17
    18
    19
    20
    21
    22
    23
    24
    25
    26
    27
    28
    29
    30
    31
    32
    33
    34
    35
    36
    37
    38
    39
    40
    41
    42
    43
    44
    45
    46
    47
    48
    49
    50
    51
    52
    53
    54
    55
    56
    57
    58
    59
    60
    61
    62
    63
    64
    65
    66
    67
    68
    69
    70
    71
    72
    73
    74
    75
    76
    77
    78
    79
    80
    81
    82
    83
    84
    85
    86
    87
    88
    89
    90
    91
    92
    93
    94
    95
    96
    97
    98
    99
    100
    101
    102
    103
    104
    105
    106
    107
    108
    109
    110
    111
    112
    113
    114
    115
    116
    117
    118
    119
    120
    121
    122
    123
    124
    125
    126
    127
    128
    129
    130
    131
    132
    133
    134
    135
    136
    137
    138
    139
    140
    141
    142
    143
    144
    145
    146
    147
    148
    149
    150
    151
    152
    153
    154
    155
    156
    157
    158
    159
    160
    161
    162
    163
    164
    165
    166
    167
    168
    169
    170
    171
    172
    173
    174
    175
    176
    177
    178
    179
    180
    181
    182
    183
    184
    185
    186
    187
    188
    189
    190
    191
    192
    193
    194
    195
    196
    197
    198
    199
    200
    201
    202
    203
    204
    205
    206
    207
    208
    209
    210
    211
    212
    213
    214
    215
    216
    217
    218
    219
    220
    221
    222
    223
    224
    225
    226
    227
    228
    229
    230
    231
    232
    233
    234
    235
    236
    237
    238
    239
    240
    241
    242
    243
    244
    245
    246
    247
    248
    249
    250
    251
    252
    253
    254
    255
    256
    257
    258
    259
    260
    261
    262
    263
    264
    265
    266
    267
    268
    269
    270
    271
    272
    273
    274
    275
    276
    277
    278
    279
    280
    281
    282
    283
    284
    285
    286
    287
     
    <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" 
    	xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
    	<modelVersion>4.0.0</modelVersion>
    	<groupId>projet</groupId>
    	<artifactId>projet</artifactId>
    	<version>0.0.1-SNAPSHOT</version>
    	<packaging>war</packaging>
     
     
    	<build>
     
    		<plugins>
     
    			<!--    Version Java pour compiler    -->
    			<plugin>
    				<groupId>org.apache.maven.plugins</groupId>
    				<artifactId>maven-compiler-plugin</artifactId>
    				<version>2.3.2</version>
    				<configuration>
    					<source>1.6</source>
    					<target>1.6</target>
    				</configuration>
    			</plugin>
     
    			<!-- Plugin war -->
    			<plugin>
    				<groupId>org.apache.maven.plugins</groupId>
    				<artifactId>maven-war-plugin</artifactId>
    				<version>2.1.1</version>
    				<configuration>
    					<failOnMissingWebXml>true</failOnMissingWebXml>
    				</configuration>
    			</plugin>
     
    			<!-- Copy lib -->
    			<plugin>
    				<groupId>org.apache.maven.plugins</groupId>
    				<artifactId>maven-dependency-plugin</artifactId>
    				<version>2.1</version>
    			</plugin>
     
    			<!-- Test -->
    			<plugin>
    				<groupId>org.apache.maven.plugins</groupId>
    				<artifactId>maven-surefire-plugin</artifactId>
    				<version>2.11</version>
    				<dependencies>
    					<dependency>
    						<groupId>org.apache.maven.surefire</groupId>
    						<artifactId>surefire-junit47</artifactId>
    						<version>2.11</version>
    					</dependency>
    				</dependencies>
    			</plugin>
     
     
     
    		</plugins>
     
    	</build>
     
    	<properties>
    		<!-- JUnit -->
    		<org.junit.bom.version>4.8.1</org.junit.bom.version>
     
    		<!--    JSF    -->
    		<org.jsf.bom.version>2.1.5</org.jsf.bom.version>
     
    		<!-- Primefaces -->
    		<org.primefaces.bom.version>3.0</org.primefaces.bom.version>
     
    		<!-- Hibernate version -->
    		<org.hibernate.bom.version>3.5.6-Final</org.hibernate.bom.version>
    		<!-- Hibernate annotations -->
    		<org.hibernate.bom.version.annotations>3.2.0.Final</org.hibernate.bom.version.annotations>
     
    		<!-- Commmon dbcp -->
    		<org.commons.dbcp.bon.version>20030825.184428</org.commons.dbcp.bon.version>
     
    		<!-- Common pools -->
    		<org.commons.dbcp.pools.version>20030825.183949</org.commons.dbcp.pools.version>
     
    		<!-- Driver JDBC MYSQL -->
    		<org.jdbc.driver.mysql.bom.version>5.1.18</org.jdbc.driver.mysql.bom.version>
     
    		<!-- spring general -->
    		<org.spring.bom.version>3.1.0.RELEASE</org.spring.bom.version>
    		<!-- Spring ORM -->
    		<org.spring.orm.bom.version>3.0.7.RELEASE</org.spring.orm.bom.version>
     
    		<!-- El api -->
    		<com.el.api.bom.version>6.0.35</com.el.api.bom.version>
     
    		<!-- Lib server (JSF...) compile for Tomcat, provided for JBoss -->
    		<com.lib.scope>compile</com.lib.scope>		
     
    	</properties>
     
    	<repositories>
    		<!-- Primefaces -->
    		<repository>
    			<id>prime-repo</id>
    			<name>PrimeFaces Maven Repository</name>
    			<url>http://repository.primefaces.org </url>
    			<layout>default</layout>
    		</repository>
     
    		<!-- JBoss-->
    		<repository>
    			<id>jboss richfaces</id>
    			<name>jboss repository</name>
    			<url>http://repository.jboss.org/nexus/content/groups/public-jboss/ </url>
    		</repository>
    	</repositories>
     
    	<dependencies>
     
    		<!-- Junit -->
    		<dependency>
    			<groupId>junit</groupId>
    			<artifactId>junit</artifactId>
    			<version>${org.junit.bom.version}</version>
    			<scope>test</scope>
    		</dependency>
     
    		<!-- JSF -->
    		<dependency>
    			<groupId>com.sun.faces</groupId>
    			<artifactId>jsf-api </artifactId>
    			<version>${org.jsf.bom.version}</version>
    			<scope>${com.lib.scope}</scope>
    		</dependency>
     
    		<dependency>
    			<groupId>com.sun.faces</groupId>
    			<artifactId>jsf-impl</artifactId>
    			<version>${org.jsf.bom.version}</version>
    			<scope>${com.lib.scope} </scope>
    		</dependency>
     
     
    		<!-- Hibernate -->
    		<dependency> <groupId>org.hibernate</groupId> 
    		<artifactId>hibernate-core</artifactId> 
    			<version>${org.hibernate.bom.version}</version> 
    			<scope>${com.lib.scope}</scope> 			
    		</dependency>
     
    		<dependency> 
    			<groupId>org.hibernate</groupId> 
    			<artifactId>hibernate-entitymanager</artifactId> 
    			<version>${org.hibernate.bom.version}</version> 
    			<scope>${com.lib.scope} </scope>
    			<exclusions>
    				<exclusion>
    					<groupId>org.slf4j</groupId>
    					<artifactId>slf4j-api</artifactId>
    				</exclusion>
    			</exclusions> 			
    		</dependency> 
    		<!-- SLF4J Log -->
    		<dependency>
    			<groupId>org.slf4j</groupId>
    			<artifactId>slf4j-log4j12</artifactId>
    			<version>1.6.4</version>
    			<scope>${com.lib.scope}</scope> 
    		</dependency>
     
    		<!-- SLJ4J Api -->
    		<dependency>
    			<groupId>org.slf4j</groupId>
    			<artifactId>slf4j-api</artifactId>
    			<version>1.6.4</version>
    			<scope>${com.lib.scope}</scope> 
    		</dependency>
    		<!-- Common dbcp -->
    		<dependency>
    			<groupId>commons-dbcp</groupId>
    			<artifactId>commons-dbcp</artifactId>
    			<version>${org.commons.dbcp.bon.version}</version>
    			<scope>compile</scope>
    		</dependency>
     
    		<!-- MySQL driver -->
    		<dependency>
    			<groupId>mysql</groupId>
    			<artifactId>mysql-connector-java</artifactId>
    			<version>${org.jdbc.driver.mysql.bom.version}</version>
    			<scope>compile</scope>
    		</dependency>
     
    		<!-- Commons pools -->
    		<dependency>
    			<groupId>commons-pool</groupId>
    			<artifactId>commons-pool</artifactId>
    			<version>${org.commons.dbcp.pools.version}</version>
    			<scope>compile</scope>
    		</dependency>
     
    		<!-- Java injection (JSR-330) -->
    		<dependency>
    			<groupId>javax.inject</groupId>
    			<artifactId>javax.inject</artifactId>
    			<version>1</version>
    			<scope>${com.lib.scope}</scope>
    		</dependency>
     
    		<!--    Primefaces       -->
    		<dependency>
    			<groupId>org.primefaces</groupId>
    			<artifactId>primefaces</artifactId>
    			<version>${org.primefaces.bom.version}</version>
    			<scope>compile</scope>
    			<optional>false</optional>
    		</dependency>
     
    		<!-- El api    -->
    		<dependency>
    			<groupId>org.apache.tomcat</groupId>
    			<artifactId>el-api</artifactId>
    			<version>${com.el.api.bom.version}</version>
    			<scope>provided</scope>
    		</dependency>
     
    		<!-- Servlet context (Tomcat) -->
    		<dependency>
    			<groupId>org.apache.tomcat</groupId>
    			<artifactId>servlet-api</artifactId>
    			<version>${com.el.api.bom.version}</version>
    			<scope>provided</scope>
    		</dependency>
     
    		<!-- Spring core -->
    		<dependency>
    			<groupId>org.springframework</groupId>
    			<artifactId>spring-core</artifactId>
    			<version>${org.spring.bom.version}</version>
    			<scope>compile</scope>
    			<optional>false</optional>
    		</dependency>
    		<!-- Spring context -->
    		<dependency>
    			<groupId>org.springframework</groupId>
    			<artifactId>spring-context</artifactId>
    			<version>${org.spring.bom.version}</version>
    			<scope>compile</scope>
    			<optional>false</optional>
    		</dependency>
     
    		<!-- Spring JDBC -->
    		<dependency>
    			<groupId>org.springframework</groupId>
    			<artifactId>spring-jdbc</artifactId>
    			<version>${org.spring.bom.version}</version>
    			<scope>compile</scope>
    			<optional>false</optional>
    		</dependency>
     
     
    		<!-- Spring ORM -->
    		<dependency>
    			<groupId>org.springframework</groupId>
    			<artifactId>spring-orm</artifactId> 
    			<version>${org.spring.orm.bom.version}</version>
    			<scope>compile</scope>
    			<optional>false</optional>
    		</dependency>
     
    		<!-- spring web  -->
    		<dependency>
    			<groupId>org.springframework</groupId>
    			<artifactId>spring-web </artifactId>
    			<version>${org.spring.bom.version}</version>
    			<scope>compile </scope>
    			<optional>false</optional>
    		</dependency>
     
    		<!-- spring test -->
    		<dependency>
    			<groupId>org.springframework</groupId>
    			<artifactId>spring-test</artifactId>
    			<version>${org.spring.bom.version}</version>
    			<scope>test</scope>
    		</dependency>
    	</dependencies>	
    </project>
    Mon message d'erreur:
    Code : Sélectionner tout - Visualiser dans une fenêtre à part
    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    13
    14
    15
    16
    17
    18
    19
    20
    21
    22
    23
    24
    25
    26
    27
    28
    29
    30
    31
    32
    33
    34
    35
    36
    37
    38
    39
    40
    41
    42
    43
    44
    45
    46
    47
    48
    49
    50
    51
    52
    53
    54
    55
    56
    57
    58
    59
    60
    61
    62
    63
    64
    65
    66
    67
    68
    69
    70
    71
    72
    73
    74
    75
    76
    77
    78
    79
    80
    81
    82
    83
    84
    85
    86
    87
    88
    89
    90
    91
    92
    93
    94
    95
    96
    97
    98
    99
    100
    101
    102
    103
    104
    105
    106
    107
    108
    109
    110
    111
    112
    113
    114
    115
    116
    117
    118
    119
    120
    121
    122
    123
    124
    125
    126
    127
    128
    129
    130
    131
    132
    133
    134
    135
    136
    137
    138
    139
    140
    141
    142
    143
    144
    145
    146
    147
    148
    149
    150
    151
    152
    153
    154
    155
    156
    157
    158
    159
    160
    161
    162
    163
    164
    165
    166
    167
    168
    169
    170
    171
    172
    173
    174
    175
     
    WARNING: -logmodule is deprecated. Please use the system property 'java.util.logging.manager' or the 'java.util.logging.LogManager' service loader.
    14:23:51,474 INFO  [org.jboss.modules] JBoss Modules version 1.1.1.GA
    14:23:52,349 INFO  [org.jboss.msc] JBoss MSC version 1.0.2.GA
    14:23:52,548 INFO  [org.jboss.as] JBAS015899: JBoss AS 7.1.0.Final "Thunder" starting
    14:23:55,862 INFO  [org.jboss.as.server] JBAS015888: Creating http management service using socket-binding (management-http)
    14:23:55,911 INFO  [org.xnio] XNIO Version 3.0.3.GA
    14:23:55,948 INFO  [org.xnio.nio] XNIO NIO Implementation Version 3.0.3.GA
    14:23:55,981 INFO  [org.jboss.remoting] JBoss Remoting version 3.2.2.GA
    14:23:56,081 INFO  [org.jboss.as.configadmin] JBAS016200: Activating ConfigAdmin Subsystem
    14:23:56,083 INFO  [org.jboss.as.logging] JBAS011502: Removing bootstrap log handlers
    14:23:56,103 INFO  [org.jboss.as.naming] (ServerService Thread Pool -- 38) JBAS011800: Activating Naming Subsystem
    14:23:56,115 INFO  [org.jboss.as.webservices] (ServerService Thread Pool -- 48) JBAS015537: Activating WebServices Extension
    14:23:56,105 INFO  [org.jboss.as.security] (ServerService Thread Pool -- 44) JBAS013101: Activating Security Subsystem
    14:23:56,397 INFO  [org.jboss.as.osgi] (ServerService Thread Pool -- 39) JBAS011940: Activating OSGi Subsystem
    14:23:56,400 INFO  [org.jboss.as.clustering.infinispan] (ServerService Thread Pool -- 31) JBAS010280: Activating Infinispan subsystem.
    14:23:56,833 INFO  [org.jboss.as.security] (MSC service thread 1-1) JBAS013100: Current PicketBox version=4.0.6.final
    14:23:56,973 INFO  [org.jboss.as.connector] (MSC service thread 1-4) JBAS010408: Starting JCA Subsystem (JBoss IronJacamar 1.0.7.Final)
    14:23:57,321 INFO  [org.jboss.as.naming] (MSC service thread 1-7) JBAS011802: Starting Naming Service
    14:23:57,327 INFO  [org.jboss.as.mail.extension] (MSC service thread 1-7) JBAS015400: Bound mail session [java:jboss/mail/Default]
    14:23:58,368 INFO  [org.jboss.as.connector.subsystems.datasources] (ServerService Thread Pool -- 27) JBAS010403: Deploying JDBC-compliant driver class org.h2.Driver (version 1.3)
    14:23:59,152 INFO  [org.jboss.ws.common.management.AbstractServerConfig] (MSC service thread 1-2) JBoss Web Services - Stack CXF Server 4.0.1.GA
    14:23:59,210 INFO  [org.apache.coyote.http11.Http11Protocol] (MSC service thread 1-1) Démarrage de Coyote HTTP/1.1 sur http--127.0.0.1-8080
    14:24:00,044 INFO  [org.jboss.as.server.deployment.scanner] (MSC service thread 1-7) JBAS015012: Started FileSystemDeploymentService for directory /home/gibault/Jboss_7/jboss-as-7.1.0.Final/standalone/deployments
    14:24:00,046 INFO  [org.jboss.as.server.deployment.scanner] (DeploymentScanner-threads - 1) JBAS015014: Re-attempting failed deployment projet.war
    14:24:00,081 INFO  [org.jboss.as.server.deployment.scanner] (DeploymentScanner-threads - 1) JBAS015003: Found projet.war in deployment directory. To trigger deployment create a file called projet.war.dodeploy
    14:24:00,494 INFO  [org.jboss.as.remoting] (MSC service thread 1-1) JBAS017100: Listening on /127.0.0.1:4447
    14:24:00,494 INFO  [org.jboss.as.remoting] (MSC service thread 1-3) JBAS017100: Listening on /127.0.0.1:9999
    14:24:01,432 INFO  [org.jboss.as.connector.subsystems.datasources] (MSC service thread 1-3) JBAS010400: Bound data source [java:jboss/datasources/ExampleDS]
    14:24:02,008 INFO  [org.jboss.as.server.deployment] (MSC service thread 1-5) JBAS015876: Starting deployment of "projet.war"
    14:24:04,699 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'
    14:24:04,701 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'
    14:24:06,151 INFO  [org.jboss.as.connector.deployers.jdbc] (MSC service thread 1-7) JBAS010404: Deploying non-JDBC-compliant driver class com.mysql.jdbc.Driver (version 5.1)
    14:24:06,539 INFO  [org.apache.catalina.core.StandardContext] (MSC service thread 1-2) The listener "com.sun.faces.config.ConfigureListener" is already configured for this context. The duplicate definition has been ignored.
    14:24:06,541 INFO  [org.apache.catalina.core.ContainerBase.[jboss.web].[default-host].[/projet]] (MSC service thread 1-2) No Spring WebApplicationInitializer types detected on classpath
    14:24:06,628 INFO  [org.apache.catalina.core.ContainerBase.[jboss.web].[default-host].[/projet]] (MSC service thread 1-2) Initializing Spring root WebApplicationContext
    14:24:06,630 INFO  [org.springframework.web.context.ContextLoader] (MSC service thread 1-2) Root WebApplicationContext: initialization started
    14:24:06,803 INFO  [org.springframework.web.context.support.XmlWebApplicationContext] (MSC service thread 1-2) Refreshing Root WebApplicationContext: startup date [Wed Mar 14 14:24:06 CET 2012]; root of context hierarchy
    14:24:06,990 INFO  [org.springframework.beans.factory.xml.XmlBeanDefinitionReader] (MSC service thread 1-2) Loading XML bean definitions from ServletContext resource [/WEB-INF/applicationContext-jsf.xml]
    14:24:07,319 INFO  [org.springframework.context.annotation.ClassPathBeanDefinitionScanner] (MSC service thread 1-2) JSR-250 'javax.annotation.ManagedBean' found and supported for component scanning
    14:24:07,322 INFO  [org.springframework.context.annotation.ClassPathBeanDefinitionScanner] (MSC service thread 1-2) JSR-330 'javax.inject.Named' annotation found and supported for component scanning
    14:24:07,355 INFO  [org.springframework.beans.factory.xml.XmlBeanDefinitionReader] (MSC service thread 1-2) Loading XML bean definitions from ServletContext resource [/WEB-INF/applicationContext-metier.xml]
    14:24:07,449 INFO  [org.springframework.context.annotation.ClassPathBeanDefinitionScanner] (MSC service thread 1-2) JSR-250 'javax.annotation.ManagedBean' found and supported for component scanning
    14:24:07,450 INFO  [org.springframework.context.annotation.ClassPathBeanDefinitionScanner] (MSC service thread 1-2) JSR-330 'javax.inject.Named' annotation found and supported for component scanning
    14:24:07,452 INFO  [org.springframework.beans.factory.xml.XmlBeanDefinitionReader] (MSC service thread 1-2) Loading XML bean definitions from ServletContext resource [/WEB-INF/applicationContext-hibernate-jdbc.xml]
    14:24:07,476 INFO  [org.springframework.context.annotation.ClassPathBeanDefinitionScanner] (MSC service thread 1-2) JSR-250 'javax.annotation.ManagedBean' found and supported for component scanning
    14:24:07,476 INFO  [org.springframework.context.annotation.ClassPathBeanDefinitionScanner] (MSC service thread 1-2) JSR-330 'javax.inject.Named' annotation found and supported for component scanning
    14:24:07,479 INFO  [org.springframework.context.annotation.ClassPathBeanDefinitionScanner] (MSC service thread 1-2) JSR-250 'javax.annotation.ManagedBean' found and supported for component scanning
    14:24:07,480 INFO  [org.springframework.context.annotation.ClassPathBeanDefinitionScanner] (MSC service thread 1-2) JSR-330 'javax.inject.Named' annotation found and supported for component scanning
    14:24:07,484 INFO  [org.springframework.beans.factory.xml.XmlBeanDefinitionReader] (MSC service thread 1-2) Loading XML bean definitions from ServletContext resource [/WEB-INF/applicationContext-util.xml]
    14:24:07,517 INFO  [org.springframework.context.annotation.ClassPathBeanDefinitionScanner] (MSC service thread 1-2) JSR-250 'javax.annotation.ManagedBean' found and supported for component scanning
    14:24:07,518 INFO  [org.springframework.context.annotation.ClassPathBeanDefinitionScanner] (MSC service thread 1-2) JSR-330 'javax.inject.Named' annotation found and supported for component scanning
    14:24:07,801 INFO  [org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor] (MSC service thread 1-2) JSR-330 'javax.inject.Inject' annotation found and supported for autowiring
    14:24:07,810 INFO  [org.springframework.beans.factory.support.DefaultListableBeanFactory] (MSC service thread 1-2) Pre-instantiating singletons in org.springframework.beans.factory.support.DefaultListableBeanFactory@1962ecd: defining beans [org.springframework.context.annotation.internalConfigurationAnnotationProcessor,org.springframework.context.annotation.internalAutowiredAnnotationProcessor,org.springframework.context.annotation.internalRequiredAnnotationProcessor,org.springframework.context.annotation.internalCommonAnnotationProcessor,org.springframework.context.annotation.internalPersistenceAnnotationProcessor,userSession,ccmGlobaliseSession,ccmGlobalisController,language,CCMGlobalisMetierServiceImpl,CCMGlobalisServiceHibernate,CCMGlobalisServiceJDBCImpl,sessionFactory,hibernateTemplate,jdbcTempate,dataSource,dateUtil,simpleDateFormat_yyyyMMdd_HHmmss,decimalFormatSymbols,decimalFormatForMoney,org.springframework.context.annotation.ConfigurationClassPostProcessor$ImportAwareBeanPostProcessor#0]; root of factory hierarchy
    14:24:07,827 ERROR [org.springframework.web.context.ContextLoader] (MSC service thread 1-2) Context initialization failed: java.lang.IllegalArgumentException: Cannot find class [sun.util.resources.OpenListResourceBundle]
    	at org.springframework.util.ClassUtils.resolveClassName(ClassUtils.java:293) [spring-core-3.1.0.RELEASE.jar:3.1.0.RELEASE]
    	at org.springframework.core.LocalVariableTableParameterNameDiscoverer$LocalVariableTableVisitor.resolveMember(LocalVariableTableParameterNameDiscoverer.java:229) [spring-core-3.1.0.RELEASE.jar:3.1.0.RELEASE]
    	at org.springframework.core.LocalVariableTableParameterNameDiscoverer$LocalVariableTableVisitor.visitEnd(LocalVariableTableParameterNameDiscoverer.java:219) [spring-core-3.1.0.RELEASE.jar:3.1.0.RELEASE]
    	at org.springframework.asm.ClassReader.accept(Unknown Source) [spring-asm-3.1.0.RELEASE.jar:3.1.0.RELEASE]
    	at org.springframework.asm.ClassReader.accept(Unknown Source) [spring-asm-3.1.0.RELEASE.jar:3.1.0.RELEASE]
    	at org.springframework.core.LocalVariableTableParameterNameDiscoverer.inspectClass(LocalVariableTableParameterNameDiscoverer.java:114) [spring-core-3.1.0.RELEASE.jar:3.1.0.RELEASE]
    	at org.springframework.core.LocalVariableTableParameterNameDiscoverer.getParameterNames(LocalVariableTableParameterNameDiscoverer.java:86) [spring-core-3.1.0.RELEASE.jar:3.1.0.RELEASE]
    	at org.springframework.beans.factory.support.ConstructorResolver.autowireConstructor(ConstructorResolver.java:193) [spring-beans-3.1.0.RELEASE.jar:3.1.0.RELEASE]
    	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.autowireConstructor(AbstractAutowireCapableBeanFactory.java:1035) [spring-beans-3.1.0.RELEASE.jar:3.1.0.RELEASE]
    	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:939) [spring-beans-3.1.0.RELEASE.jar:3.1.0.RELEASE]
    	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:485) [spring-beans-3.1.0.RELEASE.jar:3.1.0.RELEASE]
    	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:456) [spring-beans-3.1.0.RELEASE.jar:3.1.0.RELEASE]
    	at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:294) [spring-beans-3.1.0.RELEASE.jar:3.1.0.RELEASE]
    	at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:225) [spring-beans-3.1.0.RELEASE.jar:3.1.0.RELEASE]
    	at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:291) [spring-beans-3.1.0.RELEASE.jar:3.1.0.RELEASE]
    	at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:193) [spring-beans-3.1.0.RELEASE.jar:3.1.0.RELEASE]
    	at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:585) [spring-beans-3.1.0.RELEASE.jar:3.1.0.RELEASE]
    	at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:913) [spring-context-3.1.0.RELEASE.jar:3.1.0.RELEASE]
    	at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:464) [spring-context-3.1.0.RELEASE.jar:3.1.0.RELEASE]
    	at org.springframework.web.context.ContextLoader.configureAndRefreshWebApplicationContext(ContextLoader.java:384) [spring-web-3.1.0.RELEASE.jar:3.1.0.RELEASE]
    	at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:283) [spring-web-3.1.0.RELEASE.jar:3.1.0.RELEASE]
    	at org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:111) [spring-web-3.1.0.RELEASE.jar:3.1.0.RELEASE]
    	at org.apache.catalina.core.StandardContext.contextListenerStart(StandardContext.java:3392) [jbossweb-7.0.10.Final.jar:]
    	at org.apache.catalina.core.StandardContext.start(StandardContext.java:3850) [jbossweb-7.0.10.Final.jar:]
    	at org.jboss.as.web.deployment.WebDeploymentService.start(WebDeploymentService.java:90) [jboss-as-web-7.1.0.Final.jar:7.1.0.Final]
    	at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1811)
    	at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1746)
    	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110) [rt.jar:1.6.0_23]
    	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603) [rt.jar:1.6.0_23]
    	at java.lang.Thread.run(Thread.java:679) [rt.jar:1.6.0_23]
    Caused by: java.lang.ClassNotFoundException: sun.util.resources.OpenListResourceBundle from [Module "deployment.projet.war:main" from Service Module Loader]
    	at org.jboss.modules.ModuleClassLoader.findClass(ModuleClassLoader.java:190)
    	at org.jboss.modules.ConcurrentClassLoader.performLoadClassUnchecked(ConcurrentClassLoader.java:468)
    	at org.jboss.modules.ConcurrentClassLoader.performLoadClassChecked(ConcurrentClassLoader.java:456)
    	at org.jboss.modules.ConcurrentClassLoader.performLoadClass(ConcurrentClassLoader.java:398)
    	at org.jboss.modules.ConcurrentClassLoader.loadClass(ConcurrentClassLoader.java:120)
    	at org.springframework.util.ClassUtils.forName(ClassUtils.java:257) [spring-core-3.1.0.RELEASE.jar:3.1.0.RELEASE]
    	at org.springframework.util.ClassUtils.resolveClassName(ClassUtils.java:290) [spring-core-3.1.0.RELEASE.jar:3.1.0.RELEASE]
    	... 29 more
     
    14:24:07,916 ERROR [org.apache.catalina.core.ContainerBase.[jboss.web].[default-host].[/projet]] (MSC service thread 1-2) Exception lors de l'envoi de l'évènement contexte initialisé (context initialized) à l'instance de classe d'écoute (listener) org.springframework.web.context.ContextLoaderListener: java.lang.IllegalArgumentException: Cannot find class [sun.util.resources.OpenListResourceBundle]
    	at org.springframework.util.ClassUtils.resolveClassName(ClassUtils.java:293) [spring-core-3.1.0.RELEASE.jar:3.1.0.RELEASE]
    	at org.springframework.core.LocalVariableTableParameterNameDiscoverer$LocalVariableTableVisitor.resolveMember(LocalVariableTableParameterNameDiscoverer.java:229) [spring-core-3.1.0.RELEASE.jar:3.1.0.RELEASE]
    	at org.springframework.core.LocalVariableTableParameterNameDiscoverer$LocalVariableTableVisitor.visitEnd(LocalVariableTableParameterNameDiscoverer.java:219) [spring-core-3.1.0.RELEASE.jar:3.1.0.RELEASE]
    	at org.springframework.asm.ClassReader.accept(Unknown Source) [spring-asm-3.1.0.RELEASE.jar:3.1.0.RELEASE]
    	at org.springframework.asm.ClassReader.accept(Unknown Source) [spring-asm-3.1.0.RELEASE.jar:3.1.0.RELEASE]
    	at org.springframework.core.LocalVariableTableParameterNameDiscoverer.inspectClass(LocalVariableTableParameterNameDiscoverer.java:114) [spring-core-3.1.0.RELEASE.jar:3.1.0.RELEASE]
    	at org.springframework.core.LocalVariableTableParameterNameDiscoverer.getParameterNames(LocalVariableTableParameterNameDiscoverer.java:86) [spring-core-3.1.0.RELEASE.jar:3.1.0.RELEASE]
    	at org.springframework.beans.factory.support.ConstructorResolver.autowireConstructor(ConstructorResolver.java:193) [spring-beans-3.1.0.RELEASE.jar:3.1.0.RELEASE]
    	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.autowireConstructor(AbstractAutowireCapableBeanFactory.java:1035) [spring-beans-3.1.0.RELEASE.jar:3.1.0.RELEASE]
    	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:939) [spring-beans-3.1.0.RELEASE.jar:3.1.0.RELEASE]
    	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:485) [spring-beans-3.1.0.RELEASE.jar:3.1.0.RELEASE]
    	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:456) [spring-beans-3.1.0.RELEASE.jar:3.1.0.RELEASE]
    	at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:294) [spring-beans-3.1.0.RELEASE.jar:3.1.0.RELEASE]
    	at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:225) [spring-beans-3.1.0.RELEASE.jar:3.1.0.RELEASE]
    	at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:291) [spring-beans-3.1.0.RELEASE.jar:3.1.0.RELEASE]
    	at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:193) [spring-beans-3.1.0.RELEASE.jar:3.1.0.RELEASE]
    	at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:585) [spring-beans-3.1.0.RELEASE.jar:3.1.0.RELEASE]
    	at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:913) [spring-context-3.1.0.RELEASE.jar:3.1.0.RELEASE]
    	at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:464) [spring-context-3.1.0.RELEASE.jar:3.1.0.RELEASE]
    	at org.springframework.web.context.ContextLoader.configureAndRefreshWebApplicationContext(ContextLoader.java:384) [spring-web-3.1.0.RELEASE.jar:3.1.0.RELEASE]
    	at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:283) [spring-web-3.1.0.RELEASE.jar:3.1.0.RELEASE]
    	at org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:111) [spring-web-3.1.0.RELEASE.jar:3.1.0.RELEASE]
    	at org.apache.catalina.core.StandardContext.contextListenerStart(StandardContext.java:3392) [jbossweb-7.0.10.Final.jar:]
    	at org.apache.catalina.core.StandardContext.start(StandardContext.java:3850) [jbossweb-7.0.10.Final.jar:]
    	at org.jboss.as.web.deployment.WebDeploymentService.start(WebDeploymentService.java:90) [jboss-as-web-7.1.0.Final.jar:7.1.0.Final]
    	at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1811)
    	at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1746)
    	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110) [rt.jar:1.6.0_23]
    	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603) [rt.jar:1.6.0_23]
    	at java.lang.Thread.run(Thread.java:679) [rt.jar:1.6.0_23]
    Caused by: java.lang.ClassNotFoundException: sun.util.resources.OpenListResourceBundle from [Module "deployment.projet.war:main" from Service Module Loader]
    	at org.jboss.modules.ModuleClassLoader.findClass(ModuleClassLoader.java:190)
    	at org.jboss.modules.ConcurrentClassLoader.performLoadClassUnchecked(ConcurrentClassLoader.java:468)
    	at org.jboss.modules.ConcurrentClassLoader.performLoadClassChecked(ConcurrentClassLoader.java:456)
    	at org.jboss.modules.ConcurrentClassLoader.performLoadClass(ConcurrentClassLoader.java:398)
    	at org.jboss.modules.ConcurrentClassLoader.loadClass(ConcurrentClassLoader.java:120)
    	at org.springframework.util.ClassUtils.forName(ClassUtils.java:257) [spring-core-3.1.0.RELEASE.jar:3.1.0.RELEASE]
    	at org.springframework.util.ClassUtils.resolveClassName(ClassUtils.java:290) [spring-core-3.1.0.RELEASE.jar:3.1.0.RELEASE]
    	... 29 more
     
    14:24:08,070 INFO  [javax.enterprise.resource.webcontainer.jsf.config] (MSC service thread 1-2) Initialisation de Mojarra 2.1.5 (SNAPSHOT 20111202) pour le contexte «/projet»
    14:24:09,481 INFO  [org.hibernate.validator.util.Version] (MSC service thread 1-2) Hibernate Validator 4.2.0.Final
    14:24:10,272 INFO  [org.primefaces.webapp.PostConstructApplicationEventListener] (MSC service thread 1-2) Running on PrimeFaces 3.0
    14:24:10,354 ERROR [org.apache.catalina.core.StandardContext] (MSC service thread 1-2) Error listenerStart
    14:24:10,354 ERROR [org.apache.catalina.core.StandardContext] (MSC service thread 1-2) Erreur de démarrage du contexte [/projet] suite aux erreurs précédentes
    14:24:10,355 INFO  [org.apache.catalina.core.ContainerBase.[jboss.web].[default-host].[/projet]] (MSC service thread 1-2) Closing Spring root WebApplicationContext
    14:24:10,356 INFO  [org.springframework.web.context.support.XmlWebApplicationContext] (MSC service thread 1-2) Closing Root WebApplicationContext: startup date [Wed Mar 14 14:24:06 CET 2012]; root of context hierarchy
    14:24:10,356 WARN  [org.springframework.web.context.support.XmlWebApplicationContext] (MSC service thread 1-2) Exception thrown from LifecycleProcessor on context close: java.lang.IllegalStateException: LifecycleProcessor not initialized - call 'refresh' before invoking lifecycle methods via the context: Root WebApplicationContext: startup date [Wed Mar 14 14:24:06 CET 2012]; root of context hierarchy
    	at org.springframework.context.support.AbstractApplicationContext.getLifecycleProcessor(AbstractApplicationContext.java:350) [spring-context-3.1.0.RELEASE.jar:3.1.0.RELEASE]
    	at org.springframework.context.support.AbstractApplicationContext.doClose(AbstractApplicationContext.java:1033) [spring-context-3.1.0.RELEASE.jar:3.1.0.RELEASE]
    	at org.springframework.context.support.AbstractApplicationContext.close(AbstractApplicationContext.java:988) [spring-context-3.1.0.RELEASE.jar:3.1.0.RELEASE]
    	at org.springframework.web.context.ContextLoader.closeWebApplicationContext(ContextLoader.java:541) [spring-web-3.1.0.RELEASE.jar:3.1.0.RELEASE]
    	at org.springframework.web.context.ContextLoaderListener.contextDestroyed(ContextLoaderListener.java:142) [spring-web-3.1.0.RELEASE.jar:3.1.0.RELEASE]
    	at org.apache.catalina.core.StandardContext.listenerStop(StandardContext.java:3489) [jbossweb-7.0.10.Final.jar:]
    	at org.apache.catalina.core.StandardContext.stop(StandardContext.java:3999) [jbossweb-7.0.10.Final.jar:]
    	at org.apache.catalina.core.StandardContext.start(StandardContext.java:3917) [jbossweb-7.0.10.Final.jar:]
    	at org.jboss.as.web.deployment.WebDeploymentService.start(WebDeploymentService.java:90) [jboss-as-web-7.1.0.Final.jar:7.1.0.Final]
    	at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1811)
    	at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1746)
    	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110) [rt.jar:1.6.0_23]
    	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603) [rt.jar:1.6.0_23]
    	at java.lang.Thread.run(Thread.java:679) [rt.jar:1.6.0_23]
     
    14:24:10,361 INFO  [org.springframework.beans.factory.support.DefaultListableBeanFactory] (MSC service thread 1-2) Destroying singletons in org.springframework.beans.factory.support.DefaultListableBeanFactory@1962ecd: defining beans [org.springframework.context.annotation.internalConfigurationAnnotationProcessor,org.springframework.context.annotation.internalAutowiredAnnotationProcessor,org.springframework.context.annotation.internalRequiredAnnotationProcessor,org.springframework.context.annotation.internalCommonAnnotationProcessor,org.springframework.context.annotation.internalPersistenceAnnotationProcessor,userSession,ccmGlobaliseSession,ccmGlobalisController,language,CCMGlobalisMetierServiceImpl,CCMGlobalisServiceHibernate,CCMGlobalisServiceJDBCImpl,sessionFactory,hibernateTemplate,jdbcTempate,dataSource,dateUtil,simpleDateFormat_yyyyMMdd_HHmmss,decimalFormatSymbols,decimalFormatForMoney,org.springframework.context.annotation.ConfigurationClassPostProcessor$ImportAwareBeanPostProcessor#0]; root of factory hierarchy
    14:24:10,425 ERROR [org.jboss.msc.service.fail] (MSC service thread 1-2) MSC00001: Failed to start service jboss.web.deployment.default-host./projet: org.jboss.msc.service.StartException in service jboss.web.deployment.default-host./projet: JBAS018040: Failed to start context
    	at org.jboss.as.web.deployment.WebDeploymentService.start(WebDeploymentService.java:95)
    	at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1811) [jboss-msc-1.0.2.GA.jar:1.0.2.GA]
    	at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1746) [jboss-msc-1.0.2.GA.jar:1.0.2.GA]
    	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110) [rt.jar:1.6.0_23]
    	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603) [rt.jar:1.6.0_23]
    	at java.lang.Thread.run(Thread.java:679) [rt.jar:1.6.0_23]
     
    14:24:10,435 ERROR [org.jboss.as] (MSC service thread 1-6) JBAS015875: JBoss AS 7.1.0.Final "Thunder" started (with errors) in 20199ms - Started 275 of 350 services (2 services failed or missing dependencies, 72 services are passive or on-demand)
    14:24:10,642 INFO  [org.jboss.as.server] (DeploymentScanner-threads - 2) JBAS015870: Deploy of deployment "projet.war" was rolled back with failure message {"JBAS014671: Failed services" => {"jboss.web.deployment.default-host./projet" => "org.jboss.msc.service.StartException in service jboss.web.deployment.default-host./projet: JBAS018040: Failed to start context"}}
    14:24:10,716 INFO  [org.jboss.as.server.deployment] (MSC service thread 1-4) JBAS015877: Stopped deployment projet.war in 73ms
    14:24:10,717 INFO  [org.jboss.as.controller] (DeploymentScanner-threads - 2) JBAS014774: Service status report
    JBAS014777:   Services which failed to start:      service jboss.web.deployment.default-host./projet: org.jboss.msc.service.StartException in service jboss.web.deployment.default-host./projet: JBAS018040: Failed to start context
     
    14:24:10,718 ERROR [org.jboss.as.server.deployment.scanner] (DeploymentScanner-threads - 1) {"JBAS014653: Composite operation failed and was rolled back. Steps that failed:" => {"Operation step-2" => {"JBAS014671: Failed services" => {"jboss.web.deployment.default-host./projet" => "org.jboss.msc.service.StartException in service jboss.web.deployment.default-host./projet: JBAS018040: Failed to start context"}}}}
    Dont soi dit au passage l'erreur dont je ne comprends pas d'où elle sort:
    Code : Sélectionner tout - Visualiser dans une fenêtre à part
    1
    2
     
    14:24:07,827 ERROR [org.springframework.web.context.ContextLoader] (MSC service thread 1-2) Context initialization failed: java.lang.IllegalArgumentException: Cannot find class [sun.util.resources.OpenListResourceBundle]
    Si quelqu'un a une idée.

    Merci d'avance.

  2. #2
    Membre éclairé

    Profil pro
    Inscrit en
    Janvier 2009
    Messages
    463
    Détails du profil
    Informations personnelles :
    Localisation : France

    Informations forums :
    Inscription : Janvier 2009
    Messages : 463
    Points : 897
    Points
    897
    Billets dans le blog
    5
    Par défaut
    On avance dans la compréhension.

    La classe sun.util.resources.OpenListResourceBundle est dans le jdk de base.
    Ca y est, j'ai vérifié.

    Donc question: pourquoi Jboss ne la trouve pas.
    Java:open jdk 1.6.
    Système d'exploitation:ubuntu.

  3. #3
    Membre éclairé

    Profil pro
    Inscrit en
    Janvier 2009
    Messages
    463
    Détails du profil
    Informations personnelles :
    Localisation : France

    Informations forums :
    Inscription : Janvier 2009
    Messages : 463
    Points : 897
    Points
    897
    Billets dans le blog
    5
    Par défaut
    J'ai trouvé.
    Il faut spécifier au ClassPath de JBoss que la classe manquante doit être chargée.
    pour cela, j'ai été dans le dossier module.
    Puis le dossier sun et enfin le dossier jdk (on parle d'une classe du JDK, quand même!).
    J'ai été dans le dossier main.
    J'ai modifié le fichier module.xml en ajoutant:
    Code : Sélectionner tout - Visualiser dans une fenêtre à part
    1
    2
    3
     
    <!--Classes du JKD pour que Spring fonctionne-->
    		<path name="sun/util/resources"/>
    Soit au final:
    Code : Sélectionner tout - Visualiser dans une fenêtre à part
    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    13
    14
    15
    16
    17
    18
    19
    20
    21
    22
    23
    24
    25
    26
    27
    28
    29
    30
    31
    32
    33
    34
    35
    36
    37
    38
    39
    40
    41
    42
    43
    44
    45
    46
    47
    48
    49
    50
    51
    52
    53
    54
    55
    56
    57
    58
    59
    60
    61
    62
    63
     
    <?xml version="1.0" encoding="UTF-8"?>
     
    <!--
      ~ JBoss, Home of Professional Open Source.
      ~ Copyright 2010, Red Hat, Inc., and individual contributors
      ~ as indicated by the @author tags. See the copyright.txt file in the
      ~ distribution for a full listing of individual contributors.
      ~
      ~ This is free software; you can redistribute it and/or modify it
      ~ under the terms of the GNU Lesser General Public License as
      ~ published by the Free Software Foundation; either version 2.1 of
      ~ the License, or (at your option) any later version.
      ~
      ~ This software is distributed in the hope that it will be useful,
      ~ but WITHOUT ANY WARRANTY; without even the implied warranty of
      ~ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
      ~ Lesser General Public License for more details.
      ~
      ~ You should have received a copy of the GNU Lesser General Public
      ~ License along with this software; if not, write to the Free
      ~ Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
      ~ 02110-1301 USA, or see the FSF site: http://www.fsf.org.
      -->
    <module xmlns="urn:jboss:module:1.1" name="sun.jdk">
        <resources>
            <!-- currently jboss modules has not way of importing services from
            classes.jar so we duplicate them here -->
            <resource-root path="service-loader-resources"/>
        </resources>
        <dependencies>
            <system export="true">
                <paths>
                    <path name="com/sun/script/javascript"/>
                    <path name="com/sun/jndi/dns"/>
                    <path name="com/sun/jndi/ldap"/>
                    <path name="com/sun/jndi/url"/>
                    <path name="com/sun/jndi/url/dns"/>
                    <path name="com/sun/security/auth"/>
                    <path name="com/sun/security/auth/login"/>
                    <path name="com/sun/security/auth/module"/>
                    <path name="sun/misc"/>
                    <path name="sun/io"/>
                    <path name="sun/nio"/>
                    <path name="sun/nio/ch"/>
                    <path name="sun/security"/>
                    <path name="sun/security/krb5"/>
                    <path name="sun/util"/>
                    <path name="sun/util/calendar"/>
                    <path name="sun/security/provider"/>
                    <path name="META-INF/services"/>
     
    		<!--Classes du JKD pour que Spring fonctionne-->
    		<path name="sun/util/resources"/>
                </paths>
                <exports>
                    <include-set>
                        <path name="META-INF/services"/>
                    </include-set>
                </exports>
            </system>
        </dependencies>
    </module>

+ Répondre à la discussion
Cette discussion est résolue.

Discussions similaires

  1. Application qui fonctionne sous Eclipse mais pas sous Tomcat
    Par stoner2008 dans le forum Tomcat et TomEE
    Réponses: 1
    Dernier message: 16/09/2013, 12h14
  2. projet qui marche en mode "hosted" mais pas sous Tomcat
    Par sdesbure dans le forum GWT et Vaadin
    Réponses: 3
    Dernier message: 02/02/2009, 23h54
  3. JAVAMAIL : Marche en bundle pas sous tomcat
    Par ze veritable farf dans le forum Tomcat et TomEE
    Réponses: 1
    Dernier message: 12/07/2006, 11h28
  4. Projet qui marche sous Eclipse ne marche plus en JAR
    Par leminipouce dans le forum Eclipse Java
    Réponses: 7
    Dernier message: 26/10/2005, 18h59
  5. Marche pas sous tomcat
    Par jeromejanson dans le forum Applets
    Réponses: 3
    Dernier message: 21/06/2005, 12h07

Partager

Partager
  • Envoyer la discussion sur Viadeo
  • Envoyer la discussion sur Twitter
  • Envoyer la discussion sur Google
  • Envoyer la discussion sur Facebook
  • Envoyer la discussion sur Digg
  • Envoyer la discussion sur Delicious
  • Envoyer la discussion sur MySpace
  • Envoyer la discussion sur Yahoo