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

API standards et tierces Java Discussion :

Tutoriels sur Solrj


Sujet :

API standards et tierces Java

  1. #1
    Membre confirmé

    Homme Profil pro
    Développeur Java
    Inscrit en
    Juillet 2009
    Messages
    50
    Détails du profil
    Informations personnelles :
    Sexe : Homme
    Localisation : France

    Informations professionnelles :
    Activité : Développeur Java
    Secteur : High Tech - Éditeur de logiciels

    Informations forums :
    Inscription : Juillet 2009
    Messages : 50
    Billets dans le blog
    1
    Par défaut Tutoriels sur Solrj
    Bonjour,

    Je suis à la recherche de tutoriels ou diverses informations sur l'API java du moteur de recherche Solr d'Apache. Il y a l'officiel http://wiki.apache.org/solr/Solrj mais je ne le trouve pas très fourni.

    Je vous remercie par avance,

    Schnuffel

  2. #2
    Membre confirmé

    Homme Profil pro
    Développeur Java
    Inscrit en
    Juillet 2009
    Messages
    50
    Détails du profil
    Informations personnelles :
    Sexe : Homme
    Localisation : France

    Informations professionnelles :
    Activité : Développeur Java
    Secteur : High Tech - Éditeur de logiciels

    Informations forums :
    Inscription : Juillet 2009
    Messages : 50
    Billets dans le blog
    1
    Par défaut
    Bonjour,

    Malgré le peu d'information que je suis parvenu à obtenir, j'ai commencé à codé un petit truc en java. Mais j'ai l'impression que mon serveur Solr ne se lance pas.

    Si quelqu'un saurai comment doit-on configurer Solr pour pouvoir lancer un serveur, je lui serai très reconnaissant.

    Merci d'avance,

    Schnuffel

  3. #3
    Membre averti
    Profil pro
    Inscrit en
    Avril 2006
    Messages
    25
    Détails du profil
    Informations personnelles :
    Localisation : France

    Informations forums :
    Inscription : Avril 2006
    Messages : 25
    Par défaut
    Bonjour,

    Alors il y a deux modes de fonctionnement

    Tu veux embarquer un serveur Solr dans ton appli avec EmbeddedSolrServer ?

    Ou interroger un serveur Solr déployé en dehors de ton appli avec CommonsHttpSolrServer ?


    Très peu de doc sur Solrj ce n'est pas faux.

    PS : Solr 3.1 sort dans quelques jours

  4. #4
    Membre confirmé

    Homme Profil pro
    Développeur Java
    Inscrit en
    Juillet 2009
    Messages
    50
    Détails du profil
    Informations personnelles :
    Sexe : Homme
    Localisation : France

    Informations professionnelles :
    Activité : Développeur Java
    Secteur : High Tech - Éditeur de logiciels

    Informations forums :
    Inscription : Juillet 2009
    Messages : 50
    Billets dans le blog
    1
    Par défaut
    Je veux embarquer un serveur Solr avec EmbeddedSolrServer.

    Qu'apportera Solr 3.1 au niveau de l'API java ?

    Et merci de m'avoir répondu !

  5. #5
    Membre confirmé

    Homme Profil pro
    Développeur Java
    Inscrit en
    Juillet 2009
    Messages
    50
    Détails du profil
    Informations personnelles :
    Sexe : Homme
    Localisation : France

    Informations professionnelles :
    Activité : Développeur Java
    Secteur : High Tech - Éditeur de logiciels

    Informations forums :
    Inscription : Juillet 2009
    Messages : 50
    Billets dans le blog
    1
    Par défaut
    Bonjour,

    J'aurais aimé savoir comment faire afin que plusieurs champs deviennent les identifiants de l'index de Solr. Il suffit juste de les rendre "uniqueKey" ?

    Merci d'avance,

    Schnuffel

  6. #6
    Membre confirmé

    Homme Profil pro
    Développeur Java
    Inscrit en
    Juillet 2009
    Messages
    50
    Détails du profil
    Informations personnelles :
    Sexe : Homme
    Localisation : France

    Informations professionnelles :
    Activité : Développeur Java
    Secteur : High Tech - Éditeur de logiciels

    Informations forums :
    Inscription : Juillet 2009
    Messages : 50
    Billets dans le blog
    1
    Par défaut
    Bonjour,

    Je ne sais pas si je dois le poster ici. Certes cela concerne Solr, mais pas directement Solrj.

    Voici mon problème : je dois indexer un nombre très important de données. Malheureusement, ça atteint rapidement les limites de mémoire allouer par Eclipse (environ 1.6 Go). Deux choix possibles :

    - soit j'augmente la mémoire allouer en changeant de bécane par exemple, mais cette solution n'est pas du tout pérenne (je ne suis qu'au tout début de l'indexation de mes documents)

    - soit il existe une manière de contourner ce problème (par exemple, si cela vient du fait que Solr met en mémoire l'index) via Solr même, et je pense qu'il existe une option à spécifier, cela m'étonnerais beaucoup que ce soucis n'est pas été rencontré avant. Le fait est que je ne sais pas non plus ce qui plombe autant la mémoire…

    Merci d'avance,

    Schnuffel

  7. #7
    Membre confirmé

    Homme Profil pro
    Développeur Java
    Inscrit en
    Juillet 2009
    Messages
    50
    Détails du profil
    Informations personnelles :
    Sexe : Homme
    Localisation : France

    Informations professionnelles :
    Activité : Développeur Java
    Secteur : High Tech - Éditeur de logiciels

    Informations forums :
    Inscription : Juillet 2009
    Messages : 50
    Billets dans le blog
    1
    Par défaut
    Bonjour,

    Je m'essaie en ce moment au multicore avec Solrj afin de pouvoir gérer chaque core pour avoir un index qui contient des indexs différents tout en réalisant une recherche sur les cores qui m'intéressent (plusieurs cores pouvant être nécessaire).

    Afin de réaliser cela, j'initialise plusieurs cores grâce à la fonction donnée dans le tutoriel plus haut.

    Cependant, les cores enregistrés ne pointent à la fin qu'au dernier core initialisé, c'est-à-dire que je lance 10 cores (solr1, solr2, ..., solr10) et au lieu de les avoir, j'ai solr10 10 fois.

    Est-ce que quelqu'un saurait d'où ça peut venir ?

    Ou alors si quelqu'un savait comment réaliser une recherche distribuée autrement que comme ça avec Solrj.

    Merci d'avance,

    Schnuffel

  8. #8
    Membre confirmé

    Homme Profil pro
    Développeur Java
    Inscrit en
    Juillet 2009
    Messages
    50
    Détails du profil
    Informations personnelles :
    Sexe : Homme
    Localisation : France

    Informations professionnelles :
    Activité : Développeur Java
    Secteur : High Tech - Éditeur de logiciels

    Informations forums :
    Inscription : Juillet 2009
    Messages : 50
    Billets dans le blog
    1
    Par défaut
    Bonjour,

    Pour les problèmes plus haut, la solution était facile : il suffisait de commiter petit bout par petit bout à Solr au lieu de tout faire en une seul fois.

    Maintenant, je m'essaie au POJO et à la recherche par facette. J'ai deux soucis (un pour chaque ) :

    1- POJO :

    Voici mon code pour le POJO :
    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
     
    import org.apache.solr.client.solrj.beans.Field;
     
    public class Log {
    	@Field
        String Id_str = "";
     
        @Field
        String Date = "";
     
        @Field
        String Level = "";
     
        @Field
        String Application = "";
     
        @Field
        int Campagne = 0;
     
        @Field
    	public String toString() {
    		String res = "";
     
    		res += "Id : " + Id_str + "\n";
    		res += "Level : " + Level + "\n";
     
    		return res;
    	}
     
    	/**
             * @return the id_str
             */
        @Field
    	public String getId_str() {
    		return Id_str.trim();
    	}
     
    	/**
             * @return the date
             */
        @Field
    	public String getDate() {
    		return Date.trim();
    	}
     
    	/**
             * @return the level
             */
        @Field
    	public String getLevel() {
    		return Level.trim();
    	}
     
    	/**
             * @return the application
             */
        @Field
    	public String getApplication() {
    		return Application.trim();
    	}
     
    	/**
             * @return the campagne
             */
        @Field
    	public int getCampagne() {
    		return Campagne;
    	}
     
    	/**
             * @param id_str the id_str to set
             */
        @Field
    	public void setId_str(String id_str) {
    		Id_str = id_str;
    	}
     
    	/**
             * @param date the date to set
             */
        @Field
    	public void setDate(String date) {
    		Date = date;
    	}
     
    	/**
             * @param level the level to set
             */
        @Field
    	public void setLevel(String level) {
    		Level = level;
    	}
     
    	/**
             * @param application the application to set
             */
        @Field
    	public void setApplication(String application) {
    		Application = application;
    	}
     
    	/**
             * @param campagne the campagne to set
             */
        @Field
    	public void setCampagne(int campagne) {
    		Campagne = campagne;
    	}
    }
    Je ne sais pas si il faut mettre des champs "@Field" partout, mais lorsque j'essaie d'indexer des documents, j'obtient :
    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
     
    java.lang.RuntimeException: Invalid setter method. Must have one and only one parameter
    	at org.apache.solr.client.solrj.beans.DocumentObjectBinder$DocField.storeType(DocumentObjectBinder.java:185)
    	at org.apache.solr.client.solrj.beans.DocumentObjectBinder$DocField.<init>(DocumentObjectBinder.java:129)
    	at org.apache.solr.client.solrj.beans.DocumentObjectBinder.collectInfo(DocumentObjectBinder.java:99)
    	at org.apache.solr.client.solrj.beans.DocumentObjectBinder.getDocFields(DocumentObjectBinder.java:81)
    	at org.apache.solr.client.solrj.beans.DocumentObjectBinder.toSolrInputDocument(DocumentObjectBinder.java:64)
    	at org.apache.solr.client.solrj.SolrServer.addBeans(SolrServer.java:56)
    	at 
    log.run.indexation.ExtractLogsFromFile.commit(ExtractLogsFromFile.java:116)
    	at log.run.indexation.ExtractLogsFromFile.traiter(ExtractLogsFromFile.java:162)
    	at log.run.indexation.ExtractLogsFromFile.<init>(ExtractLogsFromFile.java:74)
    	at log.run.indexation.ExtractLogFromDir.ConstruireLesLogs(ExtractLogFromDir.java:127)
    	at log.run.indexation.ExtractLogFromDir.<init>(ExtractLogFromDir.java:68)
    	at log.run.moteurDeRecherche.MoteurDeRecherche.addDocsToServer(MoteurDeRecherche.java:136)
    	at log.run.main.Main.main(Main.java:108)
    Ce qui est vraiment bizarre, c'est que chaque setter n'a qu'un seul paramètre : je ne sais pas d'où vient cette erreur…

    2- Les facettes

    Je désirerais faire des recherches suivants plusieurs champs : en l'occurrence La "Campagne" et l'"Application", mais les deux appliquer en même temps. C'est-à-dire que je veux une le nombre correspondant un type de "Campagne" et un type d'"Application" à la fois.
    Par exemple, 3 pour "ApplicationPD et Campagne:2011", 2 pour "ApplicationPD et Campagne:2009".

    Si j'ai bien compris, c'est du pivot faceting. Mais je n'ai pas trouver comment l'employer.

    Merci d'avance !

    Schnuffel

  9. #9
    Membre confirmé

    Homme Profil pro
    Développeur Java
    Inscrit en
    Juillet 2009
    Messages
    50
    Détails du profil
    Informations personnelles :
    Sexe : Homme
    Localisation : France

    Informations professionnelles :
    Activité : Développeur Java
    Secteur : High Tech - Éditeur de logiciels

    Informations forums :
    Inscription : Juillet 2009
    Messages : 50
    Billets dans le blog
    1
    Par défaut
    Bonjour,

    J'ai un nouveau soucis avec Solr : j'essaie de le lancer depuis un server jonas, et je reçoit :

    Code : Sélectionner tout - Visualiser dans une fenêtre à part
    1
    2
     
    CoreContainer was not shutdown prior to finalize(), indicates a bug -- POSSIBLE RESOURCE LEAK!!!
    Quelqu'un saurait d'où cela peut venir ?

    Merci d'avance,

    Schnuffel

    EDIT :

    Voici ce que le serveur renvoie comme 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
     
    2011-06-17 14:47:57,515 : JStatelessFactory.createNewInstance : LogService cannot invoke ejbCreate on Stateless Session Unable to initialize group definition. Group resource name [classpath*:beanRefContext.xml], factory key [log.log]; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'log.log' defined in URL [jar:file:/D:/JONAS_BASE/work/apps/jonas/LOG-EAR-HEAD_2011.06.17-14.39.51/LOG-LOG-HEAD.jar!/beanRefContext.xml]: Instantiation of bean failed; nested exception is org.springframework.beans.BeanInstantiationException: Could not instantiate bean class [org.springframework.context.support.ClassPathXmlApplicationContext]: Constructor threw exception; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'logServiceImpl' defined in class path resource [applicationContext-log.xml]: Cannot resolve reference to bean 'moteurDeRecherche' while setting bean property 'moteurDeRecherche'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'moteurDeRecherche' defined in class path resource [applicationContext-log.xml]: Instantiation of bean failed; nested exception is org.springframework.beans.BeanInstantiationException: Could not instantiate bean class [log.log.moteurDeRecherche.MoteurDeRechercheImpl]: Constructor threw exception; nested exception is java.lang.NoSuchMethodError: org.apache.xpath.XPathContext.<init>(Z)V
    org.springframework.beans.factory.access.BootstrapException: Unable to initialize group definition. Group resource name [classpath*:beanRefContext.xml], factory key [log.log]; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'log.log' defined in URL [jar:file:/D:/JONAS_BASE/work/apps/jonas/LOG-EAR-HEAD_2011.06.17-14.39.51/LOG-LOG-HEAD.jar!/beanRefContext.xml]: Instantiation of bean failed; nested exception is org.springframework.beans.BeanInstantiationException: Could not instantiate bean class [org.springframework.context.support.ClassPathXmlApplicationContext]: Constructor threw exception; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'logServiceImpl' defined in class path resource [applicationContext-log.xml]: Cannot resolve reference to bean 'moteurDeRecherche' while setting bean property 'moteurDeRecherche'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'moteurDeRecherche' defined in class path resource [applicationContext-log.xml]: Instantiation of bean failed; nested exception is org.springframework.beans.BeanInstantiationException: Could not instantiate bean class [log.log.moteurDeRecherche.MoteurDeRechercheImpl]: Constructor threw exception; nested exception is java.lang.NoSuchMethodError: org.apache.xpath.XPathContext.<init>(Z)V
    Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'log.log' defined in URL [jar:file:/D:/JONAS_BASE/work/apps/jonas/LOG-EAR-HEAD_2011.06.17-14.39.51/LOG-LOG-HEAD.jar!/beanRefContext.xml]: Instantiation of bean failed; nested exception is org.springframework.beans.BeanInstantiationException: Could not instantiate bean class [org.springframework.context.support.ClassPathXmlApplicationContext]: Constructor threw exception; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'logServiceImpl' defined in class path resource [applicationContext-log.xml]: Cannot resolve reference to bean 'moteurDeRecherche' while setting bean property 'moteurDeRecherche'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'moteurDeRecherche' defined in class path resource [applicationContext-log.xml]: Instantiation of bean failed; nested exception is org.springframework.beans.BeanInstantiationException: Could not instantiate bean class [log.log.moteurDeRecherche.MoteurDeRechercheImpl]: Constructor threw exception; nested exception is java.lang.NoSuchMethodError: org.apache.xpath.XPathContext.<init>(Z)V
    Caused by: org.springframework.beans.BeanInstantiationException: Could not instantiate bean class [org.springframework.context.support.ClassPathXmlApplicationContext]: Constructor threw exception; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'logServiceImpl' defined in class path resource [applicationContext-log.xml]: Cannot resolve reference to bean 'moteurDeRecherche' while setting bean property 'moteurDeRecherche'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'moteurDeRecherche' defined in class path resource [applicationContext-log.xml]: Instantiation of bean failed; nested exception is org.springframework.beans.BeanInstantiationException: Could not instantiate bean class [log.log.moteurDeRecherche.MoteurDeRechercheImpl]: Constructor threw exception; nested exception is java.lang.NoSuchMethodError: org.apache.xpath.XPathContext.<init>(Z)V
    Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'logServiceImpl' defined in class path resource [applicationContext-log.xml]: Cannot resolve reference to bean 'moteurDeRecherche' while setting bean property 'moteurDeRecherche'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'moteurDeRecherche' defined in class path resource [applicationContext-log.xml]: Instantiation of bean failed; nested exception is org.springframework.beans.BeanInstantiationException: Could not instantiate bean class [log.log.moteurDeRecherche.MoteurDeRechercheImpl]: Constructor threw exception; nested exception is java.lang.NoSuchMethodError: org.apache.xpath.XPathContext.<init>(Z)V
    Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'moteurDeRecherche' defined in class path resource [applicationContext-log.xml]: Instantiation of bean failed; nested exception is org.springframework.beans.BeanInstantiationException: Could not instantiate bean class [log.log.moteurDeRecherche.MoteurDeRechercheImpl]: Constructor threw exception; nested exception is java.lang.NoSuchMethodError: org.apache.xpath.XPathContext.<init>(Z)V
    Caused by: org.springframework.beans.BeanInstantiationException: Could not instantiate bean class [log.log.moteurDeRecherche.MoteurDeRechercheImpl]: Constructor threw exception; nested exception is java.lang.NoSuchMethodError: org.apache.xpath.XPathContext.<init>(Z)V
    Caused by: java.lang.NoSuchMethodError: org.apache.xpath.XPathContext.<init>(Z)V
    	at org.apache.xpath.jaxp.XPathImpl.eval(XPathImpl.java:207)
    	at org.apache.xpath.jaxp.XPathImpl.evaluate(XPathImpl.java:281)
    	at org.apache.solr.core.Config.evaluate(Config.java:166)
    	at org.apache.solr.core.SolrConfig.initLibs(SolrConfig.java:435)
    	at org.apache.solr.core.SolrConfig.<init>(SolrConfig.java:131)
    	at org.apache.solr.core.CoreContainer$Initializer.initialize(CoreContainer.java:134)
    	at log.log.moteurDeRecherche.MoteurDeRechercheImpl.getSolrServer(MoteurDeRechercheImpl.java:249)
    	at log.log.moteurDeRecherche.MoteurDeRechercheImpl.<init>(MoteurDeRechercheImpl.java:55)
    	at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
    	at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
    	at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
    	at java.lang.reflect.Constructor.newInstance(Constructor.java:501)
    	at org.springframework.beans.BeanUtils.instantiateClass(BeanUtils.java:82)
    	at org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:78)
    	at org.springframework.beans.factory.support.ConstructorResolver.autowireConstructor(ConstructorResolver.java:156)
    	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.autowireConstructor(AbstractAutowireCapableBeanFactory.java:683)
    	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:621)
    	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:380)
    	at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:245)
    	at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:141)
    	at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:242)
    	at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:156)
    	at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:246)
    	at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:128)
    	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:955)
    	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:729)
    	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:416)
    	at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:245)
    	at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:141)
    	at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:242)
    	at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:156)
    	at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:290)
    	at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:348)
    	at org.springframework.context.support.ClassPathXmlApplicationContext.<init>(ClassPathXmlApplicationContext.java:92)
    	at org.springframework.context.support.ClassPathXmlApplicationContext.<init>(ClassPathXmlApplicationContext.java:77)
    	at org.springframework.context.support.ClassPathXmlApplicationContext.<init>(ClassPathXmlApplicationContext.java:68)
    	at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
    	at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
    	at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
    	at java.lang.reflect.Constructor.newInstance(Constructor.java:501)
    	at org.springframework.beans.BeanUtils.instantiateClass(BeanUtils.java:82)
    	at org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:78)
    	at org.springframework.beans.factory.support.ConstructorResolver.autowireConstructor(ConstructorResolver.java:156)
    	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.autowireConstructor(AbstractAutowireCapableBeanFactory.java:683)
    	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:621)
    	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:380)
    	at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:245)
    	at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:141)
    	at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:242)
    	at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:156)
    	at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:290)
    	at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:348)
    	at org.springframework.context.access.ContextSingletonBeanFactoryLocator.initializeDefinition(ContextSingletonBeanFactoryLocator.java:136)
    	at org.springframework.beans.factory.access.SingletonBeanFactoryLocator.useBeanFactory(SingletonBeanFactoryLocator.java:380)
    	at org.springframework.ejb.support.AbstractEnterpriseBean.loadBeanFactory(AbstractEnterpriseBean.java:117)
    	at org.springframework.ejb.support.AbstractStatelessSessionBean.ejbCreate(AbstractStatelessSessionBean.java:64)
    	at fw.service.BaseStatelessSessionBean.ejbCreate(BaseStatelessSessionBean.java:34)
    	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    	at java.lang.reflect.Method.invoke(Method.java:592)
    	at org.objectweb.jonas_ejb.container.JStatelessFactory.createNewInstance(JStatelessFactory.java:462)
    	at org.objectweb.jonas_ejb.container.JStatelessFactory.getJContext(JStatelessFactory.java:280)
    	at org.objectweb.jonas_ejb.container.JStatelessSwitch.getICtx(JStatelessSwitch.java:122)
    	at org.objectweb.jonas_gen.log.log.JOnASLogService71594963Local.recherche(JOnASLogService71594963Local.java:51)
    	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    	at java.lang.reflect.Method.invoke(Method.java:592)
    	at org.springframework.ejb.access.LocalSlsbInvokerInterceptor.invoke(LocalSlsbInvokerInterceptor.java:65)
    	at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:185)
    	at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:209)
    	at $Proxy16.recherche(Unknown Source)
    	at log.consultation.web.ConsultationAction.rechercher(ConsultationAction.java:36)
    	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    	at java.lang.reflect.Method.invoke(Method.java:592)
    	at com.opensymphony.xwork.DefaultActionInvocation.invokeAction(DefaultActionInvocation.java:364)
    	at com.opensymphony.xwork.DefaultActionInvocation.invokeActionOnly(DefaultActionInvocation.java:216)
    	at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:190)
    	at com.opensymphony.xwork.interceptor.DefaultWorkflowInterceptor.doIntercept(DefaultWorkflowInterceptor.java:168)
    	at com.opensymphony.xwork.interceptor.MethodFilterInterceptor.intercept(MethodFilterInterceptor.java:86)
    	at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:188)
    	at com.opensymphony.xwork.interceptor.AroundInterceptor.intercept(AroundInterceptor.java:31)
    	at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:188)
    	at com.opensymphony.xwork.interceptor.AroundInterceptor.intercept(AroundInterceptor.java:31)
    	at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:188)
    	at com.opensymphony.xwork.interceptor.AroundInterceptor.intercept(AroundInterceptor.java:31)
    	at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:188)
    	at com.opensymphony.xwork.interceptor.AroundInterceptor.intercept(AroundInterceptor.java:31)
    	at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:188)
    	at com.opensymphony.xwork.interceptor.AroundInterceptor.intercept(AroundInterceptor.java:31)
    	at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:188)
    	at log.auth.web.ConnexionInterceptor.intercept(ConnexionInterceptor.java:117)
    	at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:188)
    	at com.opensymphony.xwork.DefaultActionProxy.execute(DefaultActionProxy.java:113)
    	at com.opensymphony.webwork.dispatcher.DispatcherUtils.serviceAction(DispatcherUtils.java:225)
    	at com.opensymphony.webwork.dispatcher.FilterDispatcher.doFilter(FilterDispatcher.java:202)
    	at sun.reflect.GeneratedMethodAccessor171.invoke(Unknown Source)
    	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    	at java.lang.reflect.Method.invoke(Method.java:592)
    	at org.apache.catalina.security.SecurityUtil$1.run(SecurityUtil.java:244)
    	at java.security.AccessController.doPrivileged(Native Method)
    	at javax.security.auth.Subject.doAsPrivileged(Subject.java:517)
    	at org.apache.catalina.security.SecurityUtil.execute(SecurityUtil.java:276)
    	at org.apache.catalina.security.SecurityUtil.doAsPrivilege(SecurityUtil.java:218)
    	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:210)
    	at org.apache.catalina.core.ApplicationFilterChain.access$000(ApplicationFilterChain.java:52)
    	at org.apache.catalina.core.ApplicationFilterChain$1.run(ApplicationFilterChain.java:171)
    	at java.security.AccessController.doPrivileged(Native Method)
    	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:167)
    	at com.opensymphony.module.sitemesh.filter.PageFilter.parsePage(PageFilter.java:118)
    	at com.opensymphony.module.sitemesh.filter.PageFilter.doFilter(PageFilter.java:52)
    	at sun.reflect.GeneratedMethodAccessor170.invoke(Unknown Source)
    	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    	at java.lang.reflect.Method.invoke(Method.java:592)
    	at org.apache.catalina.security.SecurityUtil$1.run(SecurityUtil.java:244)
    	at java.security.AccessController.doPrivileged(Native Method)
    	at javax.security.auth.Subject.doAsPrivileged(Subject.java:517)
    	at org.apache.catalina.security.SecurityUtil.execute(SecurityUtil.java:276)
    	at org.apache.catalina.security.SecurityUtil.doAsPrivilege(SecurityUtil.java:218)
    	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:210)
    	at org.apache.catalina.core.ApplicationFilterChain.access$000(ApplicationFilterChain.java:52)
    	at org.apache.catalina.core.ApplicationFilterChain$1.run(ApplicationFilterChain.java:171)
    	at java.security.AccessController.doPrivileged(Native Method)
    	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:167)
    	at fw.web.log.Log4jFilter.doFilter(Log4jFilter.java:68)
    	at sun.reflect.GeneratedMethodAccessor168.invoke(Unknown Source)
    	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    	at java.lang.reflect.Method.invoke(Method.java:592)
    	at org.apache.catalina.security.SecurityUtil$1.run(SecurityUtil.java:244)
    	at java.security.AccessController.doPrivileged(Native Method)
    	at javax.security.auth.Subject.doAsPrivileged(Subject.java:517)
    	at org.apache.catalina.security.SecurityUtil.execute(SecurityUtil.java:276)
    	at org.apache.catalina.security.SecurityUtil.doAsPrivilege(SecurityUtil.java:218)
    	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:210)
    	at org.apache.catalina.core.ApplicationFilterChain.access$000(ApplicationFilterChain.java:52)
    	at org.apache.catalina.core.ApplicationFilterChain$1.run(ApplicationFilterChain.java:171)
    	at java.security.AccessController.doPrivileged(Native Method)
    	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:167)
    	at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
    	at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:172)
    	at org.objectweb.jonas.web.catalina55.ResetAuthenticationValve.invoke(ResetAuthenticationValve.java:107)
    	at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
    	at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:117)
    	at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:548)
    	at org.apache.catalina.authenticator.SingleSignOn.invoke(SingleSignOn.java:420)
    	at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:108)
    	at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:174)
    	at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:875)
    	at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:665)
    	at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:528)
    	at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:81)
    	at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:689)
    	at java.lang.Thread.run(Thread.java:595)

Discussions similaires

  1. [HOOK] Problème(s) pour réaliser le tutoriel sur les HOOKS
    Par Rodrigue dans le forum C++Builder
    Réponses: 13
    Dernier message: 27/07/2016, 19h22
  2. Tutoriel sur le BDE ? (et question en même temps!)
    Par Yomane dans le forum C++Builder
    Réponses: 7
    Dernier message: 18/02/2004, 18h39
  3. Réponses: 3
    Dernier message: 24/11/2003, 18h41
  4. F.A.Q, Doc, cours, tutoriels sur JBuilder
    Par Ricky81 dans le forum JBuilder
    Réponses: 0
    Dernier message: 14/03/2002, 16h28

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