Hello there,
Ok je vous explique le contexte.
J'ai une appli J2EE client serveur. Client SWING téléchargeable en Java Web Start par les users. Serveur distant tournant sous JBoss 4.0.5.
Aujourd'hui j'ai passé mon application en version 4.0.12 (auparavant 4.0.11). La différence entre les deux versions est a priori minime.
J'ai tout redéployé en suivant le cheminemnt que je suis d'habitude: mise à jour du JNLP sur le serveur, mise à jour de l'ear dans JBoss, arrêt et redémarrage de JBoss....

Ouii mais voilà. Il se passe qqch qui ne m'est jamais arrivé avant. L'application client se lance sur ma machine, mais pas sur les autres. Sur les autres machines, je ne peux pas me logger. L'écran de log apparait, mais peu importe la combinaison, impossible de se logger.

J'ai vérifié les versions des JNLP, ce sont les mêmes quelques soient la machine. Les logins sont les mêmes (puisqu'ils sont côté serveur... et que j'ai essayé toujours avec le même).
J'ai vérifié d'ailleurs les logs côté Serveur: il n'y a rien de particulier. D'habitude, quand qqn se loggait avec des infos erronnées, çà me faisait une AcegiSecurityException avec "bad credentials" en message. Mais là, rien, aucun pb côté serveur. Je soupçonne que le serveur n'est même pas atteint.

Dans les logs côté client, il n'y a aucune erreur non plus, il y a cependant qqch qui a attiré mon oeil averti ;o)

Voici un log sur la machine qui parvient à se logger:
Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
8
9
10
11
12
13
[javawsApplicationMain] INFO com.thalys.opalys.client.OpalysClient - Starting up Opalys Client...
[javawsApplicationMain] INFO com.thalys.opalys.client.OpalysClient - Current timezone:Europe/Brussels
[SwingWorker-pool-17422995-thread-1] INFO org.springframework.core.CollectionFactory - JDK 1.4+ collections available
[SwingWorker-pool-17422995-thread-1] INFO org.springframework.core.CollectionFactory - Commons Collections 3.x available
[SwingWorker-pool-17422995-thread-1] INFO org.springframework.beans.factory.xml.XmlBeanDefinitionReader - Loading XML bean definitions from class path resource [applicationContext-import-remoteServices.xml]
[SwingWorker-pool-17422995-thread-1] INFO org.springframework.context.support.ClassPathXmlApplicationContext - Bean factory for application context [org.springframework.context.support.ClassPathXmlApplicationContext;hashCode=25798515]: org.springframework.beans.factory.support.DefaultListableBeanFactory defining beans [propertyPlaceholderConfigurer,administrationService,dataImportService,echoService,securityService,trafficGeneratorService,schedulerService,valentysService,incidentService,breakageService,regularityService,passengerFileParsingService,scheduler,httpInvokerRequestExecutor,opalys-server-remotingRemoteAuthenticationManagerService]; root of BeanFactory hierarchy
[SwingWorker-pool-17422995-thread-1] INFO org.springframework.context.support.ClassPathXmlApplicationContext - 15 beans defined in application context [org.springframework.context.support.ClassPathXmlApplicationContext;hashCode=25798515]
[SwingWorker-pool-17422995-thread-1] INFO org.springframework.beans.factory.config.PropertyPlaceholderConfigurer - Loading properties file from class path resource [applicationContext-import-remoteServices.properties]
[SwingWorker-pool-17422995-thread-1] INFO org.springframework.beans.factory.support.DefaultListableBeanFactory - Pre-instantiating singletons in factory [org.springframework.beans.factory.support.DefaultListableBeanFactory defining beans [propertyPlaceholderConfigurer,administrationService,dataImportService,echoService,securityService,trafficGeneratorService,schedulerService,valentysService,incidentService,breakageService,regularityService,passengerFileParsingService,scheduler,httpInvokerRequestExecutor,opalys-server-remotingRemoteAuthenticationManagerService]; root of BeanFactory hierarchy]
[SwingWorker-pool-17422995-thread-1] INFO org.springframework.aop.framework.DefaultAopProxyFactory - CGLIB2 available: proxyTargetClass feature enabled
[AWT-EventQueue-0] INFO com.thalys.opalys.client.OpalysClient - Logged: ndaudin - Grants: ROLE_ADMIN,
[AWT-EventQueue-0] INFO com.thalys.opalys.client.OpalysClient - [ROLE_ADMIN]
Et sur la machine qui ne parvient pas à se logger:
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
2007-12-05 17:35:17  INFO [OpalysClient] Démarrage du client Opalys...
2007-12-05 17:35:17  INFO [OpalysClient] Current timezone:Europe/Brussels
2007-12-05 17:35:22  INFO [CollectionFactory] JDK 1.4+ collections available
2007-12-05 17:35:22  INFO [CollectionFactory] Commons Collections 3.x available
2007-12-05 17:35:22 DEBUG [CollectionFactory] Creating [java.util.LinkedHashMap]
2007-12-05 17:35:22 DEBUG [CollectionFactory] Creating [java.util.LinkedHashMap]
2007-12-05 17:35:22  INFO [XmlBeanDefinitionReader] Loading XML bean definitions from class path resource [applicationContext-import-remoteServices.xml]
2007-12-05 17:35:22 DEBUG [XmlBeanDefinitionReader] Using JAXP implementation [org.apache.xerces.jaxp.DocumentBuilderFactoryImpl@18600d6]
2007-12-05 17:35:22 DEBUG [ResourceEntityResolver] Trying to resolve XML entity with public ID [-//SPRING//DTD BEAN//EN] and system ID [http://www.springframework.org/dtd/spring-beans.dtd]
2007-12-05 17:35:22 DEBUG [ResourceEntityResolver] Trying to locate [spring-beans.dtd] in Spring jar
2007-12-05 17:35:22 DEBUG [ResourceEntityResolver] Found beans DTD [http://www.springframework.org/dtd/spring-beans.dtd] in classpath
2007-12-05 17:35:22 DEBUG [DefaultXmlBeanDefinitionParser] Loading bean definitions
2007-12-05 17:35:22 DEBUG [DefaultXmlBeanDefinitionParser] Default lazy init 'false'
2007-12-05 17:35:22 DEBUG [DefaultXmlBeanDefinitionParser] Default autowire 'no'
2007-12-05 17:35:22 DEBUG [DefaultXmlBeanDefinitionParser] Default dependency check 'none'
2007-12-05 17:35:22 DEBUG [DefaultXmlBeanDefinitionParser] Neither XML 'id' nor 'name' specified - using generated bean name [org.springframework.remoting.httpinvoker.HttpInvokerProxyFactoryBean#c713d2]
2007-12-05 17:35:22 DEBUG [DefaultXmlBeanDefinitionParser] Neither XML 'id' nor 'name' specified - using generated bean name [org.springframework.remoting.httpinvoker.HttpInvokerProxyFactoryBean#14c4d61]
2007-12-05 17:35:22 DEBUG [DefaultXmlBeanDefinitionParser] Neither XML 'id' nor 'name' specified - using generated bean name [org.springframework.remoting.httpinvoker.HttpInvokerProxyFactoryBean#6c5356]
2007-12-05 17:35:22 DEBUG [DefaultXmlBeanDefinitionParser] Neither XML 'id' nor 'name' specified - using generated bean name [org.springframework.remoting.httpinvoker.HttpInvokerProxyFactoryBean#1d349e2]
2007-12-05 17:35:22 DEBUG [DefaultXmlBeanDefinitionParser] Neither XML 'id' nor 'name' specified - using generated bean name [org.springframework.remoting.httpinvoker.HttpInvokerProxyFactoryBean#97d3f0]
2007-12-05 17:35:22 DEBUG [DefaultXmlBeanDefinitionParser] Neither XML 'id' nor 'name' specified - using generated bean name [org.springframework.remoting.httpinvoker.HttpInvokerProxyFactoryBean#1db6942]
2007-12-05 17:35:22 DEBUG [DefaultXmlBeanDefinitionParser] Neither XML 'id' nor 'name' specified - using generated bean name [org.springframework.remoting.httpinvoker.HttpInvokerProxyFactoryBean#1db9f45]
2007-12-05 17:35:22 DEBUG [DefaultXmlBeanDefinitionParser] Neither XML 'id' nor 'name' specified - using generated bean name [org.springframework.remoting.httpinvoker.HttpInvokerProxyFactoryBean#1b59919]
2007-12-05 17:35:22 DEBUG [DefaultXmlBeanDefinitionParser] Neither XML 'id' nor 'name' specified - using generated bean name [org.springframework.remoting.httpinvoker.HttpInvokerProxyFactoryBean#1566a6c]
2007-12-05 17:35:22 DEBUG [DefaultXmlBeanDefinitionParser] Neither XML 'id' nor 'name' specified - using generated bean name [org.springframework.remoting.httpinvoker.HttpInvokerProxyFactoryBean#650646]
2007-12-05 17:35:22 DEBUG [DefaultXmlBeanDefinitionParser] Neither XML 'id' nor 'name' specified - using generated bean name [org.springframework.remoting.httpinvoker.HttpInvokerProxyFactoryBean#39da8a]
2007-12-05 17:35:22 DEBUG [DefaultXmlBeanDefinitionParser] Neither XML 'id' nor 'name' specified - using generated bean name [org.springframework.remoting.httpinvoker.HttpInvokerProxyFactoryBean#3acc67]
2007-12-05 17:35:22 DEBUG [DefaultXmlBeanDefinitionParser] Neither XML 'id' nor 'name' specified - using generated bean name [org.springframework.remoting.httpinvoker.HttpInvokerProxyFactoryBean#41a12f]
2007-12-05 17:35:22 DEBUG [DefaultXmlBeanDefinitionParser] Found 16 <bean> elements in class path resource [applicationContext-import-remoteServices.xml]
2007-12-05 17:35:22 DEBUG [XmlBeanDefinitionReader] Loaded 16 bean definitions from location pattern [applicationContext-import-remoteServices.xml]
2007-12-05 17:35:22  INFO [ClassPathXmlApplicationContext] Bean factory for application context [org.springframework.context.support.ClassPathXmlApplicationContext;hashCode=27341624]: org.springframework.beans.factory.support.DefaultListableBeanFactory defining beans [propertyPlaceholderConfigurer,administrationService,dataImportService,echoService,securityService,trafficGeneratorService,schedulerService,valentysService,incidentService,breakageService,regularityService,passengerFileParsingService,scheduler,javaMailSender,httpInvokerRequestExecutor,opalys-server-remotingRemoteAuthenticationManagerService]; root of BeanFactory hierarchy
2007-12-05 17:35:22  INFO [ClassPathXmlApplicationContext] 16 beans defined in application context [org.springframework.context.support.ClassPathXmlApplicationContext;hashCode=27341624]
2007-12-05 17:35:22 DEBUG [DefaultListableBeanFactory] Creating shared instance of singleton bean 'propertyPlaceholderConfigurer'
2007-12-05 17:35:22 DEBUG [DefaultListableBeanFactory] Creating instance of bean 'propertyPlaceholderConfigurer' with merged definition [Root bean: class [org.springframework.beans.factory.config.PropertyPlaceholderConfigurer]; abstract=false; singleton=true; lazyInit=false; autowire=0; dependencyCheck=0; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null; defined in class path resource [applicationContext-import-remoteServices.xml]]
2007-12-05 17:35:22 DEBUG [DefaultListableBeanFactory] Invoking BeanPostProcessors before instantiation of bean 'propertyPlaceholderConfigurer'
2007-12-05 17:35:22 DEBUG [CachedIntrospectionResults] Getting BeanInfo for class [org.springframework.beans.factory.config.PropertyPlaceholderConfigurer]
2007-12-05 17:35:22 DEBUG [CachedIntrospectionResults] Caching PropertyDescriptors for class [org.springframework.beans.factory.config.PropertyPlaceholderConfigurer]
2007-12-05 17:35:22 DEBUG [CachedIntrospectionResults] Found bean property 'beanFactory' of type [org.springframework.beans.factory.BeanFactory]
2007-12-05 17:35:22 DEBUG [CachedIntrospectionResults] Found bean property 'beanName' of type [java.lang.String]
2007-12-05 17:35:22 DEBUG [CachedIntrospectionResults] Found bean property 'class' of type [java.lang.Class]
2007-12-05 17:35:22 DEBUG [CachedIntrospectionResults] Found bean property 'fileEncoding' of type [java.lang.String]
2007-12-05 17:35:22 DEBUG [CachedIntrospectionResults] Found bean property 'ignoreResourceNotFound' of type [boolean]
2007-12-05 17:35:22 DEBUG [CachedIntrospectionResults] Found bean property 'ignoreUnresolvablePlaceholders' of type [boolean]
2007-12-05 17:35:22 DEBUG [CachedIntrospectionResults] Found bean property 'localOverride' of type [boolean]
2007-12-05 17:35:22 DEBUG [CachedIntrospectionResults] Found bean property 'location' of type [org.springframework.core.io.Resource]
2007-12-05 17:35:22 DEBUG [CachedIntrospectionResults] Found bean property 'locations' of type [[Lorg.springframework.core.io.Resource;]
2007-12-05 17:35:22 DEBUG [CachedIntrospectionResults] Found bean property 'order' of type [int]
2007-12-05 17:35:22 DEBUG [CachedIntrospectionResults] Found bean property 'placeholderPrefix' of type [java.lang.String]
2007-12-05 17:35:22 DEBUG [CachedIntrospectionResults] Found bean property 'placeholderSuffix' of type [java.lang.String]
2007-12-05 17:35:22 DEBUG [CachedIntrospectionResults] Found bean property 'properties' of type [java.util.Properties]
2007-12-05 17:35:22 DEBUG [CachedIntrospectionResults] Found bean property 'propertiesArray' of type [[Ljava.util.Properties;]
2007-12-05 17:35:22 DEBUG [CachedIntrospectionResults] Found bean property 'propertiesPersister' of type [org.springframework.util.PropertiesPersister]
2007-12-05 17:35:22 DEBUG [CachedIntrospectionResults] Found bean property 'searchSystemEnvironment' of type [boolean]
2007-12-05 17:35:22 DEBUG [CachedIntrospectionResults] Found bean property 'systemPropertiesMode' of type [int]
2007-12-05 17:35:22 DEBUG [CachedIntrospectionResults] Found bean property 'systemPropertiesModeName' of type [java.lang.String]
2007-12-05 17:35:22 DEBUG [CachedIntrospectionResults] Class [org.springframework.beans.factory.config.PropertyPlaceholderConfigurer] is cache-safe
2007-12-05 17:35:22 DEBUG [CollectionFactory] Creating [java.util.LinkedHashMap]
2007-12-05 17:35:22 DEBUG [DefaultListableBeanFactory] Eagerly caching bean of type [org.springframework.beans.factory.config.PropertyPlaceholderConfigurer] with name 'propertyPlaceholderConfigurer' to allow for resolving potential circular references
2007-12-05 17:35:22 DEBUG [BeanWrapperImpl] Converting String to [interface org.springframework.core.io.Resource] using property editor [org.springframework.core.io.ResourceEditor@d2d58b]
2007-12-05 17:35:22 DEBUG [BeanWrapperImpl] About to invoke write method [public void org.springframework.core.io.support.PropertiesLoaderSupport.setLocation(org.springframework.core.io.Resource)] on object of class [org.springframework.beans.factory.config.PropertyPlaceholderConfigurer]
2007-12-05 17:35:22 DEBUG [BeanWrapperImpl] Invoked write method [public void org.springframework.core.io.support.PropertiesLoaderSupport.setLocation(org.springframework.core.io.Resource)] with value of type [org.springframework.core.io.Resource]
2007-12-05 17:35:22 DEBUG [BeanWrapperImpl] About to invoke write method [public void org.springframework.beans.factory.config.PropertyPlaceholderConfigurer.setSystemPropertiesModeName(java.lang.String) throws java.lang.IllegalArgumentException] on object of class [org.springframework.beans.factory.config.PropertyPlaceholderConfigurer]
2007-12-05 17:35:22 DEBUG [BeanWrapperImpl] Invoked write method [public void org.springframework.beans.factory.config.PropertyPlaceholderConfigurer.setSystemPropertiesModeName(java.lang.String) throws java.lang.IllegalArgumentException] with value of type [java.lang.String]
2007-12-05 17:35:22 DEBUG [DefaultListableBeanFactory] Invoking setBeanName on BeanNameAware bean 'propertyPlaceholderConfigurer'
2007-12-05 17:35:22 DEBUG [DefaultListableBeanFactory] Invoking setBeanFactory on BeanFactoryAware bean 'propertyPlaceholderConfigurer'
2007-12-05 17:35:22 DEBUG [DefaultListableBeanFactory] Invoking BeanPostProcessors before initialization of bean 'propertyPlaceholderConfigurer'
2007-12-05 17:35:22 DEBUG [DefaultListableBeanFactory] Invoking BeanPostProcessors after initialization of bean 'propertyPlaceholderConfigurer'
2007-12-05 17:35:22  INFO [PropertyPlaceholderConfigurer] Loading properties file from class path resource [applicationContext-import-remoteServices.properties]
2007-12-05 17:35:22 DEBUG [PropertyPlaceholderConfigurer] Resolved placeholder 'remoteServer' to value [operations.thalys.com]
2007-12-05 17:35:22 DEBUG [PropertyPlaceholderConfigurer] Resolved placeholder 'remotePort' to value [8080]
2007-12-05 17:35:22 DEBUG [PropertyPlaceholderConfigurer] Resolved placeholder 'remoteContext' to value [opalys-server-remoting]
2007-12-05 17:35:22 DEBUG [PropertyPlaceholderConfigurer] Resolved placeholder 'remoteServer' to value [operations.thalys.com]
2007-12-05 17:35:22 DEBUG [PropertyPlaceholderConfigurer] Resolved placeholder 'remotePort' to value [8080]
...
2007-12-05 17:35:22 DEBUG [PropertyPlaceholderConfigurer] Resolved placeholder 'remoteContext' to value [opalys-server-remoting]
2007-12-05 17:35:22 DEBUG [CollectionFactory] Creating [java.util.LinkedHashMap]
2007-12-05 17:35:22 DEBUG [ClassPathXmlApplicationContext] Unable to locate MessageSource with name 'messageSource': using default [org.springframework.context.support.DelegatingMessageSource@1e2a069]
2007-12-05 17:35:22 DEBUG [CollectionFactory] Creating [java.util.LinkedHashSet]
2007-12-05 17:35:22 DEBUG [ClassPathXmlApplicationContext] Unable to locate ApplicationEventMulticaster with name 'applicationEventMulticaster': using default [org.springframework.context.event.SimpleApplicationEventMulticaster@1cefde4]
2007-12-05 17:35:22 DEBUG [CollectionFactory] Creating [java.util.LinkedHashMap]
2007-12-05 17:35:22  INFO [DefaultListableBeanFactory] Pre-instantiating singletons in factory [org.springframework.beans.factory.support.DefaultListableBeanFactory defining beans [propertyPlaceholderConfigurer,administrationService,dataImportService,echoService,securityService,trafficGeneratorService,schedulerService,valentysService,incidentService,breakageService,regularityService,passengerFileParsingService,scheduler,javaMailSender,httpInvokerRequestExecutor,opalys-server-remotingRemoteAuthenticationManagerService]; root of BeanFactory hierarchy]
2007-12-05 17:35:22 DEBUG [DefaultListableBeanFactory] Creating shared instance of singleton bean 'administrationService'
2007-12-05 17:35:22 DEBUG [DefaultListableBeanFactory] Creating instance of bean 'administrationService' with merged definition [Root bean: class [org.springframework.aop.framework.ProxyFactoryBean]; abstract=false; singleton=true; lazyInit=false; autowire=0; dependencyCheck=0; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null; defined in class path resource [applicationContext-import-remoteServices.xml]]
2007-12-05 17:35:22 DEBUG [DefaultListableBeanFactory] Invoking BeanPostProcessors before instantiation of bean 'administrationService'
2007-12-05 17:35:22  INFO [DefaultAopProxyFactory] CGLIB2 not available: proxyTargetClass feature disabled
2007-12-05 17:35:22 DEBUG [CollectionFactory] Creating [java.util.IdentityHashMap]
2007-12-05 17:35:22 DEBUG [CachedIntrospectionResults] Getting BeanInfo for class [org.springframework.aop.framework.ProxyFactoryBean]
2007-12-05 17:35:22 DEBUG [CachedIntrospectionResults] Caching PropertyDescriptors for class [org.springframework.aop.framework.ProxyFactoryBean]
... 
2007-12-05 17:35:22 DEBUG [CollectionFactory] Creating [java.util.IdentityHashMap]
2007-12-05 17:35:22 DEBUG [ProxyFactory] Added new aspect interface: org.springframework.mail.javamail.JavaMailSender
2007-12-05 17:35:22 DEBUG [JdkDynamicAopProxy] Creating JDK dynamic proxy: target source is EmptyTargetSource: no target
2007-12-05 17:35:22  INFO [DefaultListableBeanFactory] Destroying singletons in factory {org.springframework.beans.factory.support.DefaultListableBeanFactory defining beans [propertyPlaceholderConfigurer,administrationService,dataImportService,echoService,securityService,trafficGeneratorService,schedulerService,valentysService,incidentService,breakageService,regularityService,passengerFileParsingService,scheduler,javaMailSender,httpInvokerRequestExecutor,opalys-server-remotingRemoteAuthenticationManagerService]; root of BeanFactory hierarchy}
Comme vous pouvez le constater il y a une différence concernant CGLIB2. Mais aucune idée de où çà puisse bien venir. Pour les logs de la seconde machine, j'ai viré qq logs (sinon çà rentre pas dans le message) mais c'était les moins importants. Je n'ai viré que des DEBUG, y avait aucun ERROR.

Voilà...
Hésitez pas à me poser des questions, je répondrais rapidement vu que j'étais censé mettre en prod ce soir.. et que je suis repassé à la version antérieure à cause de ce problème...

Pour info, la machine où çà marche était un PC (et l'appli fonctionnait avant). Les machines où çà ne marchent pas sont des MAC et PC (l'applui fonctionnait avant également).