problème de lancement de glassfish

classic Classic list List threaded Threaded
5 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

problème de lancement de glassfish

MaelleD
Bonjour,

j'ai installé MdWeb v2010-06 la semaine dernière avec glassfish v3 et tout fonctionnait depuis.
Hier, j'ai tenté de lancer glassfish (start-domain domain1) via l'invite de commande. J'obtiens de nombreux messages et le lancement échoue systématiquement.

Avant que ce problème n'apparaissent j'ai lancé WAMP (pour d'autres travaux) et des interfaces de gestion de ma base Mysql (ex. Toad for MySQL v4.6 et RazorSQL). Cela pourrait-il avoir un rapport ?

Les messages sont à la fin de mon post (attention, c'est LONG !).

Auriez-vous une idée du problème ? A vrai dire j'ai besoin de tester MdWeb de manière assez urgente...
D'avance merci !

Message d'erreur lors du lancement de glassfish :


]
  Algorithm: [MD2withRSA]
  Signature:
0000: 65 DD 7E E1 B2 EC B0 E2   3A E0 EC 71 46 9A 19 11  e.......:..qF...
0010: B8 D3 C7 A0 B4 03 40 26   02 3E 09 9C E1 12 B3 D1  ......@&.>......
0020: 5A F6 37 A5 B7 61 03 B6   5B 16 69 3B C6 44 08 0C  Z.7..a..[.i;.D..
0030: 88 53 0C 6B 97 49 C7 3E   35 DC 6C B9 BB AA DF 5C  .S.k.I.>5.l....\
0040: BB 3A 2F 93 60 B6 A9 4B   4D F2 20 F7 CD 5F 7F 64  .:/.`..KM. .._.d
0050: 7B 8E DC 00 5C D7 FA 77   CA 39 16 59 6F 0E EA D3  ....\..w.9.Yo...
0060: B5 83 7F 4D 4D 42 56 76   B4 C9 5F 04 F8 38 F8 EB  ...MMBVv.._..8..
0070: D2 5F 75 5F CD 7B FC E5   8E 80 7C FC 50           ._u_........P

]|#]

[#|2010-07-29T10:11:22.105+0200|INFO|glassfishv3.0|javax.enterprise.system.core.
security.com.sun.enterprise.security|_ThreadID=11;_ThreadName=FelixStartLevel;|S
ecurity startup service called|#]

[#|2010-07-29T10:11:22.108+0200|INFO|glassfishv3.0|javax.enterprise.system.core.
security.com.sun.enterprise.security|_ThreadID=11;_ThreadName=FelixStartLevel;|S
EC1143: Loading policy provider com.sun.enterprise.security.provider.PolicyWrapp
er.|#]

[#|2010-07-29T10:11:22.158+0200|INFO|glassfishv3.0|javax.enterprise.system.core.
security.com.sun.enterprise.security.auth.realm|_ThreadID=11;_ThreadName=FelixSt
artLevel;|Realm admin-realm of classtype com.sun.enterprise.security.auth.realm.
file.FileRealm successfully created.|#]

[#|2010-07-29T10:11:22.159+0200|INFO|glassfishv3.0|javax.enterprise.system.core.
security.com.sun.enterprise.security.auth.realm|_ThreadID=11;_ThreadName=FelixSt
artLevel;|Realm file of classtype com.sun.enterprise.security.auth.realm.file.Fi
leRealm successfully created.|#]

[#|2010-07-29T10:11:22.161+0200|INFO|glassfishv3.0|javax.enterprise.system.core.
security.com.sun.enterprise.security.auth.realm|_ThreadID=11;_ThreadName=FelixSt
artLevel;|Realm certificate of classtype com.sun.enterprise.security.auth.realm.
certificate.CertificateRealm successfully created.|#]

[#|2010-07-29T10:11:22.166+0200|INFO|glassfishv3.0|javax.enterprise.system.core.
security.com.sun.enterprise.security|_ThreadID=11;_ThreadName=FelixStartLevel;|S
ecurity service(s) started successfully....|#]

[#|2010-07-29T10:11:22.362+0200|INFO|glassfishv3.0|javax.enterprise.system.conta
iner.web.com.sun.enterprise.web|_ThreadID=11;_ThreadName=FelixStartLevel;|Create
d HTTP listener http-listener-1 on port 8080|#]

[#|2010-07-29T10:11:22.367+0200|INFO|glassfishv3.0|javax.enterprise.system.conta
iner.web.com.sun.enterprise.web|_ThreadID=11;_ThreadName=FelixStartLevel;|Create
d HTTP listener http-listener-2 on port 8181|#]

[#|2010-07-29T10:11:22.371+0200|INFO|glassfishv3.0|javax.enterprise.system.conta
iner.web.com.sun.enterprise.web|_ThreadID=11;_ThreadName=FelixStartLevel;|Create
d HTTP listener admin-listener on port 4848|#]

[#|2010-07-29T10:11:22.397+0200|INFO|glassfishv3.0|javax.enterprise.system.conta
iner.web.com.sun.enterprise.web|_ThreadID=11;_ThreadName=FelixStartLevel;|Create
d virtual server server|#]

[#|2010-07-29T10:11:22.400+0200|INFO|glassfishv3.0|javax.enterprise.system.conta
iner.web.com.sun.enterprise.web|_ThreadID=11;_ThreadName=FelixStartLevel;|Create
d virtual server __asadmin|#]

[#|2010-07-29T10:11:22.928+0200|INFO|glassfishv3.0|javax.enterprise.system.conta
iner.web.com.sun.enterprise.web|_ThreadID=11;_ThreadName=FelixStartLevel;|Virtua
l server server loaded system default web module|#]

[#|2010-07-29T10:11:29.964+0200|INFO|glassfishv3.0|javax.enterprise.resource.web
container.jsf.config|_ThreadID=11;_ThreadName=FelixStartLevel;|Initialisation de
 Mojarra 2.0.2 (FCS b10) pour le contexte '/mdweb-2010.06-2.2.0'|#]

[#|2010-07-29T10:11:31.648+0200|SEVERE|glassfishv3.0|javax.enterprise.resource.w
ebcontainer.jsf.application|_ThreadID=11;_ThreadName=FelixStartLevel;|JSF1051 :
L'entr├®e du service 'org.glassfish.faces.integration.GlassFishInjectionProvider
' n'├®tend pas le DiscoverableInjectionProvider.  Cette entr├®e sera ignor├®e.|#
]

[#|2010-07-29T10:11:31.651+0200|INFO|glassfishv3.0|javax.enterprise.resource.web
container.jsf.application|_ThreadID=11;_ThreadName=FelixStartLevel;|JSF1048 : Pr
├®sence d'annotations PostConstruct/PreDestroy  Les m├®thodes de beans g├®r├®s m
arqu├®es avec ces annotations auront des annotations dites trait├®es.|#]

[#|2010-07-29T10:11:34.341+0200|INFO|glassfishv3.0|com.sun.jersey.api.core.Packa
gesResourceConfig|_ThreadID=11;_ThreadName=FelixStartLevel;|Scanning for root re
source and provider classes in the packages:
  org.mdweb.csw.ws
  org.constellation.configuration.ws.rs
  org.mdweb.thesaurus.ws|#]

[#|2010-07-29T10:11:34.405+0200|INFO|glassfishv3.0|com.sun.jersey.api.core.Scann
ingResourceConfig|_ThreadID=11;_ThreadName=FelixStartLevel;|Root resource classe
s found:
  class org.mdweb.thesaurus.ws.RestThesaurusService
  class org.mdweb.csw.ws.CSWService
  class org.constellation.configuration.ws.rs.ConfigurationService|#]

[#|2010-07-29T10:11:34.406+0200|INFO|glassfishv3.0|com.sun.jersey.api.core.Scann
ingResourceConfig|_ThreadID=11;_ThreadName=FelixStartLevel;|No provider classes
found.|#]

[#|2010-07-29T10:11:34.612+0200|INFO|glassfishv3.0|com.sun.jersey.server.impl.ap
plication.WebApplicationImpl|_ThreadID=11;_ThreadName=FelixStartLevel;|Initiatin
g Jersey application, version 'Jersey: 1.2 05/07/2010 02:04 PM'|#]

[#|2010-07-29T10:11:34.627+0200|INFO|glassfishv3.0|com.sun.jersey.server.impl.ap
plication.WebApplicationImpl|_ThreadID=11;_ThreadName=FelixStartLevel;|Adding th
e following classes declared in META-INF/services/jersey-server-components to th
e resource configuration:
  class com.sun.jersey.multipart.impl.FormDataMultiPartDispatchProvider
  class com.sun.jersey.multipart.impl.MultiPartConfigProvider
  class com.sun.jersey.multipart.impl.MultiPartReader
  class com.sun.jersey.multipart.impl.MultiPartWriter|#]

[#|2010-07-29T10:11:34.808+0200|SEVERE|glassfishv3.0|com.sun.jersey.core.spi.com
ponent.ProviderFactory|_ThreadID=11;_ThreadName=FelixStartLevel;|The provider cl
ass, class com.sun.jersey.multipart.impl.MultiPartReader, could not be instantia
ted. Processing will continue but the class will not be utilized
java.lang.IllegalArgumentException: The MultiPartConfig instance we expected is
not present.  Have you registered the MultiPartConfigProvider class?
        at com.sun.jersey.multipart.impl.MultiPartReader.<init>(MultiPartReader.
java:100)
        at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)

        at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstruct
orAccessorImpl.java:39)
        at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingC
onstructorAccessorImpl.java:27)
        at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
        at com.sun.jersey.core.spi.component.ComponentConstructor._getInstance(C
omponentConstructor.java:161)
        at com.sun.jersey.core.spi.component.ComponentConstructor.getInstance(Co
mponentConstructor.java:141)
        at com.sun.jersey.core.spi.component.ProviderFactory.__getComponentProvi
der(ProviderFactory.java:163)
        at com.sun.jersey.core.spi.component.ProviderFactory._getComponentProvid
er(ProviderFactory.java:156)
        at com.sun.jersey.core.spi.component.ioc.IoCProviderFactory._getComponen
tProvider(IoCProviderFactory.java:90)
        at com.sun.jersey.core.spi.component.ProviderFactory.getComponentProvide
r(ProviderFactory.java:150)
        at com.sun.jersey.core.spi.component.ProviderFactory.getComponentProvide
r(ProviderFactory.java:128)
        at com.sun.jersey.core.spi.component.ProviderServices.getComponent(Provi
derServices.java:232)
        at com.sun.jersey.core.spi.component.ProviderServices.getProvidersAndSer
vices(ProviderServices.java:149)
        at com.sun.jersey.core.spi.factory.MessageBodyFactory.initReaders(Messag
eBodyFactory.java:153)
        at com.sun.jersey.core.spi.factory.MessageBodyFactory.init(MessageBodyFa
ctory.java:145)
        at com.sun.jersey.server.impl.application.WebApplicationImpl.initiate(We
bApplicationImpl.java:907)
        at com.sun.jersey.server.impl.application.WebApplicationImpl.initiate(We
bApplicationImpl.java:589)
        at com.sun.jersey.spi.container.servlet.ServletContainer.initiate(Servle
tContainer.java:429)
        at com.sun.jersey.spi.container.servlet.ServletContainer$InternalWebComp
onent.initiate(ServletContainer.java:278)
        at com.sun.jersey.spi.container.servlet.WebComponent.load(WebComponent.j
ava:566)
        at com.sun.jersey.spi.container.servlet.WebComponent.init(WebComponent.j
ava:211)
        at com.sun.jersey.spi.container.servlet.ServletContainer.init(ServletCon
tainer.java:333)
        at com.sun.jersey.spi.container.servlet.ServletContainer.init(ServletCon
tainer.java:497)
        at javax.servlet.GenericServlet.init(GenericServlet.java:242)
        at org.apache.catalina.core.StandardWrapper.initServlet(StandardWrapper.
java:1428)
        at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:12
30)
        at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContex
t.java:4934)
        at org.apache.catalina.core.StandardContext.start(StandardContext.java:5
207)
        at com.sun.enterprise.web.WebModule.start(WebModule.java:499)
        at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase
.java:928)
        at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:91
2)
        at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:694)

        at com.sun.enterprise.web.WebContainer.loadWebModule(WebContainer.java:1
933)
        at com.sun.enterprise.web.WebContainer.loadWebModule(WebContainer.java:1
605)
        at com.sun.enterprise.web.WebApplication.start(WebApplication.java:90)
        at org.glassfish.internal.data.EngineRef.start(EngineRef.java:126)
        at org.glassfish.internal.data.ModuleInfo.start(ModuleInfo.java:241)
        at org.glassfish.internal.data.ApplicationInfo.start(ApplicationInfo.jav
a:236)
        at com.sun.enterprise.v3.server.ApplicationLifecycle.deploy(ApplicationL
ifecycle.java:339)
        at com.sun.enterprise.v3.server.ApplicationLoaderService.processApplicat
ion(ApplicationLoaderService.java:340)
        at com.sun.enterprise.v3.server.ApplicationLoaderService.postConstruct(A
pplicationLoaderService.java:163)
        at com.sun.hk2.component.AbstractWombImpl.inject(AbstractWombImpl.java:1
74)
        at com.sun.hk2.component.ConstructorWomb$1.run(ConstructorWomb.java:87)
        at java.security.AccessController.doPrivileged(Native Method)
        at com.sun.hk2.component.ConstructorWomb.initialize(ConstructorWomb.java
:84)
        at com.sun.hk2.component.AbstractWombImpl.get(AbstractWombImpl.java:77)
        at com.sun.hk2.component.SingletonInhabitant.get(SingletonInhabitant.jav
a:58)
        at com.sun.hk2.component.LazyInhabitant.get(LazyInhabitant.java:107)
        at com.sun.hk2.component.AbstractInhabitantImpl.get(AbstractInhabitantIm
pl.java:60)
        at com.sun.enterprise.v3.server.AppServerStartup.run(AppServerStartup.ja
va:236)
        at com.sun.enterprise.v3.server.AppServerStartup.start(AppServerStartup.
java:128)
        at com.sun.enterprise.module.bootstrap.Main.launch(Main.java:457)
        at com.sun.enterprise.module.bootstrap.Main.launch(Main.java:401)
        at org.jvnet.hk2.osgiadapter.HK2Main.start(HK2Main.java:125)
        at org.apache.felix.framework.util.SecureAction.startActivator(SecureAct
ion.java:640)
        at org.apache.felix.framework.Felix.activateBundle(Felix.java:1700)
        at org.apache.felix.framework.Felix.startBundle(Felix.java:1622)
        at org.apache.felix.framework.BundleImpl.start(BundleImpl.java:915)
        at org.jvnet.hk2.osgimain.Main.start(Main.java:140)
        at org.apache.felix.framework.util.SecureAction.startActivator(SecureAct
ion.java:640)
        at org.apache.felix.framework.Felix.activateBundle(Felix.java:1700)
        at org.apache.felix.framework.Felix.startBundle(Felix.java:1622)
        at org.apache.felix.framework.Felix.setActiveStartLevel(Felix.java:1077)

        at org.apache.felix.framework.StartLevelImpl.run(StartLevelImpl.java:264
)
        at java.lang.Thread.run(Thread.java:619)
|#]

[#|2010-07-29T10:11:38.454+0200|INFO|glassfishv3.0|org.constellation.metadata.in
dex|_ThreadID=11;_ThreadName=FelixStartLevel;|Index already created.|#]

[#|2010-07-29T10:11:38.561+0200|INFO|glassfishv3.0|org.constellation.metadata.in
dex|_ThreadID=11;_ThreadName=FelixStartLevel;|Creating new Index Searcher with i
ndex directory:C:\Users\Maelle\Application Data\mdweb\mdweb-2010.06-2.2.0\serv-c
sw\index-1280150029893|#]

[#|2010-07-29T10:11:38.562+0200|INFO|glassfishv3.0|org.constellation.metadata.in
dex|_ThreadID=11;_ThreadName=FelixStartLevel;|0 records found.|#]

[#|2010-07-29T10:11:38.563+0200|INFO|glassfishv3.0|org.constellation.metadata|_T
hreadID=11;_ThreadName=FelixStartLevel;|no cascaded CSW server found (optionnal)
|#]

[#|2010-07-29T10:11:38.564+0200|INFO|glassfishv3.0|org.constellation.metadata|_T
hreadID=11;_ThreadName=FelixStartLevel;|CSW service (mdweb) running|#]

[#|2010-07-29T10:11:38.891+0200|INFO|glassfishv3.0|org.constellation.configurati
on.ws.rs|_ThreadID=11;_ThreadName=FelixStartLevel;|Mdweb Csw configurer loaded|#
]

[#|2010-07-29T10:11:38.891+0200|INFO|glassfishv3.0|org.constellation.ws.rs|_Thre
adID=11;_ThreadName=FelixStartLevel;|Configuration service runing|#]

[#|2010-07-29T10:11:38.894+0200|INFO|glassfishv3.0|org.mdweb.utils|_ThreadID=11;
_ThreadName=FelixStartLevel;|Local Thesaurus mode.|#]

[#|2010-07-29T10:11:39.310+0200|INFO|glassfishv3.0|org.mdweb.thesaurus|_ThreadID
=11;_ThreadName=FelixStartLevel;|-----------------------------------------------
---------------
>>>>>>>>>>  data base : mdweb-test
>>>>>>>>>>  server name : localhost
>>>>>>>>>>  port number : 5432
--------------------------------------------------------------|#]

[#|2010-07-29T10:11:39.588+0200|INFO|glassfishv3.0|org.constellation.ws.rs|_Thre
adID=11;_ThreadName=FelixStartLevel;|The thesaurus service is working.|#]

[#|2010-07-29T10:11:39.611+0200|INFO|glassfishv3.0|javax.enterprise.system.conta
iner.web.com.sun.enterprise.web|_ThreadID=11;_ThreadName=FelixStartLevel;|Loadin
g application mdweb-2010.06-2.2.0 at /mdweb-2010.06-2.2.0|#]

[#|2010-07-29T10:11:39.612+0200|INFO|glassfishv3.0|javax.enterprise.system.core.
com.sun.enterprise.v3.server|_ThreadID=11;_ThreadName=FelixStartLevel;|Loading m
dweb-2010.06-2.2.0 Application done is 22324 ms|#]

[#|2010-07-29T10:11:39.616+0200|INFO|glassfishv3.0|javax.enterprise.system.core.
com.sun.enterprise.v3.server|_ThreadID=11;_ThreadName=FelixStartLevel;|GlassFish
 v3 (74.2) startup time : Felix(2951ms) startup services(22934ms) total(25885ms)
|#]

[#|2010-07-29T10:11:39.616+0200|SEVERE|glassfishv3.0|javax.enterprise.system.cor
e.com.sun.enterprise.v3.server|_ThreadID=11;_ThreadName=FelixStartLevel;|Shuttin
g down v3 due to startup exception : Address already in use: bind: 8080=com.sun.
enterprise.v3.services.impl.monitor.MonitorableSelectorHandler@12bce43|#]

[#|2010-07-29T10:11:39.810+0200|INFO|glassfishv3.0|javax.enterprise.system.tools
.admin.com.sun.enterprise.v3.admin|_ThreadID=18;_ThreadName=Thread-18;|Server sh
utdown initiated|#]

[#|2010-07-29T10:11:39.828+0200|INFO|glassfishv3.0|javax.enterprise.system.core.
com.sun.enterprise.v3.server|_ThreadID=19;_ThreadName=GlassFish Kernel Main Thre
ad;|[Thread[GlassFish Kernel Main Thread,5,main]] started|#]


Command start-domain failed.
asadmin>
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

Re: problème de lancement de glassfish

Dorian
Bonjour,

Une parti du log que vous obtenez m'incite à penser qu'un autre serveur est en fonctionnement sur le même port (8080) que le domain1 glassfish :

[#|2010-07-29T10:11:39.616+0200|SEVERE|glassfishv3.0|javax.enterprise.system.cor
e.com.sun.enterprise.v3.server|_ThreadID=11;_ThreadName=FelixStartLevel;|Shuttin
g down v3 due to startup exception : Address already in use: bind: 8080=com.sun.
enterprise.v3.services.impl.monitor.MonitorableSelectorHandler@12bce43|#]

Êtes vous sure que le Wamp server est bien arrêté, ou qu'il ne se lance pas automatiquement au démarrage de la machine.

Tenez moi au courant de l'avancée du problème,

Cordialement,
Dorian

   
IRD Unité ESPACE-DEV
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

Re: problème de lancement de glassfish

MaelleD
Bonjour,

merci pour cette précision. J'ai arrêté tous les services WAMP mais Glassfish me renvoie toujours une série de messages d'erreur (voir à nouveau à la fin de ce post). J'ai même fini par désinstaller WAMP et ça ne fonctionne toujours pas.

J'ai testé le port 8080 avec http://www.frameip.com/scan/scan.php (avec pare-feu Windows désactivé) et il est fermé.

Voici les messages d'erreurs que j'obtiens actuellement (je n'ai pas comparé avec les autres) :

  org.constellation.configuration.ws.rs
  org.mdweb.thesaurus.ws|#]

[#|2010-07-29T12:04:05.221+0200|INFO|glassfishv3.0|com.sun.jersey.api.core.Scann
ingResourceConfig|_ThreadID=11;_ThreadName=FelixStartLevel;|Root resource classe
s found:
  class org.constellation.configuration.ws.rs.ConfigurationService
  class org.mdweb.thesaurus.ws.RestThesaurusService
  class org.mdweb.csw.ws.CSWService|#]

[#|2010-07-29T12:04:05.222+0200|INFO|glassfishv3.0|com.sun.jersey.api.core.Scann
ingResourceConfig|_ThreadID=11;_ThreadName=FelixStartLevel;|No provider classes
found.|#]

[#|2010-07-29T12:04:05.614+0200|INFO|glassfishv3.0|com.sun.jersey.server.impl.ap
plication.WebApplicationImpl|_ThreadID=11;_ThreadName=FelixStartLevel;|Initiatin
g Jersey application, version 'Jersey: 1.2 05/07/2010 02:04 PM'|#]

[#|2010-07-29T12:04:05.629+0200|INFO|glassfishv3.0|com.sun.jersey.server.impl.ap
plication.WebApplicationImpl|_ThreadID=11;_ThreadName=FelixStartLevel;|Adding th
e following classes declared in META-INF/services/jersey-server-components to th
e resource configuration:
  class com.sun.jersey.multipart.impl.FormDataMultiPartDispatchProvider
  class com.sun.jersey.multipart.impl.MultiPartConfigProvider
  class com.sun.jersey.multipart.impl.MultiPartReader
  class com.sun.jersey.multipart.impl.MultiPartWriter|#]

[#|2010-07-29T12:04:05.810+0200|SEVERE|glassfishv3.0|com.sun.jersey.core.spi.com
ponent.ProviderFactory|_ThreadID=11;_ThreadName=FelixStartLevel;|The provider cl
ass, class com.sun.jersey.multipart.impl.MultiPartReader, could not be instantia
ted. Processing will continue but the class will not be utilized
java.lang.IllegalArgumentException: The MultiPartConfig instance we expected is
not present.  Have you registered the MultiPartConfigProvider class?
        at com.sun.jersey.multipart.impl.MultiPartReader.<init>(MultiPartReader.
java:100)
        at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)

        at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstruct
orAccessorImpl.java:39)
        at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingC
onstructorAccessorImpl.java:27)
        at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
        at com.sun.jersey.core.spi.component.ComponentConstructor._getInstance(C
omponentConstructor.java:161)
        at com.sun.jersey.core.spi.component.ComponentConstructor.getInstance(Co
mponentConstructor.java:141)
        at com.sun.jersey.core.spi.component.ProviderFactory.__getComponentProvi
der(ProviderFactory.java:163)
        at com.sun.jersey.core.spi.component.ProviderFactory._getComponentProvid
er(ProviderFactory.java:156)
        at com.sun.jersey.core.spi.component.ioc.IoCProviderFactory._getComponen
tProvider(IoCProviderFactory.java:90)
        at com.sun.jersey.core.spi.component.ProviderFactory.getComponentProvide
r(ProviderFactory.java:150)
        at com.sun.jersey.core.spi.component.ProviderFactory.getComponentProvide
r(ProviderFactory.java:128)
        at com.sun.jersey.core.spi.component.ProviderServices.getComponent(Provi
derServices.java:232)
        at com.sun.jersey.core.spi.component.ProviderServices.getProvidersAndSer
vices(ProviderServices.java:149)
        at com.sun.jersey.core.spi.factory.MessageBodyFactory.initReaders(Messag
eBodyFactory.java:153)
        at com.sun.jersey.core.spi.factory.MessageBodyFactory.init(MessageBodyFa
ctory.java:145)
        at com.sun.jersey.server.impl.application.WebApplicationImpl.initiate(We
bApplicationImpl.java:907)
        at com.sun.jersey.server.impl.application.WebApplicationImpl.initiate(We
bApplicationImpl.java:589)
        at com.sun.jersey.spi.container.servlet.ServletContainer.initiate(Servle
tContainer.java:429)
        at com.sun.jersey.spi.container.servlet.ServletContainer$InternalWebComp
onent.initiate(ServletContainer.java:278)
        at com.sun.jersey.spi.container.servlet.WebComponent.load(WebComponent.j
ava:566)
        at com.sun.jersey.spi.container.servlet.WebComponent.init(WebComponent.j
ava:211)
        at com.sun.jersey.spi.container.servlet.ServletContainer.init(ServletCon
tainer.java:333)
        at com.sun.jersey.spi.container.servlet.ServletContainer.init(ServletCon
tainer.java:497)
        at javax.servlet.GenericServlet.init(GenericServlet.java:242)
        at org.apache.catalina.core.StandardWrapper.initServlet(StandardWrapper.
java:1428)
        at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:12
30)
        at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContex
t.java:4934)
        at org.apache.catalina.core.StandardContext.start(StandardContext.java:5
207)
        at com.sun.enterprise.web.WebModule.start(WebModule.java:499)
        at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase
.java:928)
        at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:91
2)
        at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:694)

        at com.sun.enterprise.web.WebContainer.loadWebModule(WebContainer.java:1
933)
        at com.sun.enterprise.web.WebContainer.loadWebModule(WebContainer.java:1
605)
        at com.sun.enterprise.web.WebApplication.start(WebApplication.java:90)
        at org.glassfish.internal.data.EngineRef.start(EngineRef.java:126)
        at org.glassfish.internal.data.ModuleInfo.start(ModuleInfo.java:241)
        at org.glassfish.internal.data.ApplicationInfo.start(ApplicationInfo.jav
a:236)
        at com.sun.enterprise.v3.server.ApplicationLifecycle.deploy(ApplicationL
ifecycle.java:339)
        at com.sun.enterprise.v3.server.ApplicationLoaderService.processApplicat
ion(ApplicationLoaderService.java:340)
        at com.sun.enterprise.v3.server.ApplicationLoaderService.postConstruct(A
pplicationLoaderService.java:163)
        at com.sun.hk2.component.AbstractWombImpl.inject(AbstractWombImpl.java:1
74)
        at com.sun.hk2.component.ConstructorWomb$1.run(ConstructorWomb.java:87)
        at java.security.AccessController.doPrivileged(Native Method)
        at com.sun.hk2.component.ConstructorWomb.initialize(ConstructorWomb.java
:84)
        at com.sun.hk2.component.AbstractWombImpl.get(AbstractWombImpl.java:77)
        at com.sun.hk2.component.SingletonInhabitant.get(SingletonInhabitant.jav
a:58)
        at com.sun.hk2.component.LazyInhabitant.get(LazyInhabitant.java:107)
        at com.sun.hk2.component.AbstractInhabitantImpl.get(AbstractInhabitantIm
pl.java:60)
        at com.sun.enterprise.v3.server.AppServerStartup.run(AppServerStartup.ja
va:236)
        at com.sun.enterprise.v3.server.AppServerStartup.start(AppServerStartup.
java:128)
        at com.sun.enterprise.module.bootstrap.Main.launch(Main.java:457)
        at com.sun.enterprise.module.bootstrap.Main.launch(Main.java:401)
        at org.jvnet.hk2.osgiadapter.HK2Main.start(HK2Main.java:125)
        at org.apache.felix.framework.util.SecureAction.startActivator(SecureAct
ion.java:640)
        at org.apache.felix.framework.Felix.activateBundle(Felix.java:1700)
        at org.apache.felix.framework.Felix.startBundle(Felix.java:1622)
        at org.apache.felix.framework.BundleImpl.start(BundleImpl.java:915)
        at org.jvnet.hk2.osgimain.Main.start(Main.java:140)
        at org.apache.felix.framework.util.SecureAction.startActivator(SecureAct
ion.java:640)
        at org.apache.felix.framework.Felix.activateBundle(Felix.java:1700)
        at org.apache.felix.framework.Felix.startBundle(Felix.java:1622)
        at org.apache.felix.framework.Felix.setActiveStartLevel(Felix.java:1077)

        at org.apache.felix.framework.StartLevelImpl.run(StartLevelImpl.java:264
)
        at java.lang.Thread.run(Thread.java:619)
|#]

[#|2010-07-29T12:04:09.410+0200|INFO|glassfishv3.0|org.constellation.metadata.in
dex|_ThreadID=11;_ThreadName=FelixStartLevel;|Index already created.|#]

[#|2010-07-29T12:04:09.509+0200|INFO|glassfishv3.0|org.constellation.metadata.in
dex|_ThreadID=11;_ThreadName=FelixStartLevel;|Creating new Index Searcher with i
ndex directory:C:\Users\Maelle\Application Data\mdweb\mdweb-2010.06-2.2.0\serv-c
sw\index-1280150029893|#]

[#|2010-07-29T12:04:09.509+0200|INFO|glassfishv3.0|org.constellation.metadata.in
dex|_ThreadID=11;_ThreadName=FelixStartLevel;|0 records found.|#]

[#|2010-07-29T12:04:09.510+0200|INFO|glassfishv3.0|org.constellation.metadata|_T
hreadID=11;_ThreadName=FelixStartLevel;|no cascaded CSW server found (optionnal)
|#]

[#|2010-07-29T12:04:09.510+0200|INFO|glassfishv3.0|org.constellation.metadata|_T
hreadID=11;_ThreadName=FelixStartLevel;|CSW service (mdweb) running|#]

[#|2010-07-29T12:04:10.118+0200|INFO|glassfishv3.0|org.constellation.configurati
on.ws.rs|_ThreadID=11;_ThreadName=FelixStartLevel;|Mdweb Csw configurer loaded|#
]

[#|2010-07-29T12:04:10.118+0200|INFO|glassfishv3.0|org.constellation.ws.rs|_Thre
adID=11;_ThreadName=FelixStartLevel;|Configuration service runing|#]

[#|2010-07-29T12:04:10.122+0200|INFO|glassfishv3.0|org.mdweb.utils|_ThreadID=11;
_ThreadName=FelixStartLevel;|Local Thesaurus mode.|#]

[#|2010-07-29T12:04:10.341+0200|INFO|glassfishv3.0|org.mdweb.thesaurus|_ThreadID
=11;_ThreadName=FelixStartLevel;|-----------------------------------------------
---------------
>>>>>>>>>>  data base : mdweb-test
>>>>>>>>>>  server name : localhost
>>>>>>>>>>  port number : 5432
--------------------------------------------------------------|#]

[#|2010-07-29T12:04:10.974+0200|INFO|glassfishv3.0|org.constellation.ws.rs|_Thre
adID=11;_ThreadName=FelixStartLevel;|The thesaurus service is working.|#]

[#|2010-07-29T12:04:10.996+0200|INFO|glassfishv3.0|javax.enterprise.system.conta
iner.web.com.sun.enterprise.web|_ThreadID=11;_ThreadName=FelixStartLevel;|Loadin
g application mdweb-2010.06-2.2.0 at /mdweb-2010.06-2.2.0|#]

[#|2010-07-29T12:04:10.998+0200|INFO|glassfishv3.0|javax.enterprise.system.core.
com.sun.enterprise.v3.server|_ThreadID=11;_ThreadName=FelixStartLevel;|Loading m
dweb-2010.06-2.2.0 Application done is 24772 ms|#]

[#|2010-07-29T12:04:11.002+0200|INFO|glassfishv3.0|javax.enterprise.system.core.
com.sun.enterprise.v3.server|_ThreadID=11;_ThreadName=FelixStartLevel;|GlassFish
 v3 (74.2) startup time : Felix(2838ms) startup services(25427ms) total(28265ms)
|#]

[#|2010-07-29T12:04:11.002+0200|SEVERE|glassfishv3.0|javax.enterprise.system.cor
e.com.sun.enterprise.v3.server|_ThreadID=11;_ThreadName=FelixStartLevel;|Shuttin
g down v3 due to startup exception : Address already in use: bind: 8080=com.sun.
enterprise.v3.services.impl.monitor.MonitorableSelectorHandler@64cfe0|#]

[#|2010-07-29T12:04:11.014+0200|INFO|glassfishv3.0|javax.enterprise.system.core.
com.sun.enterprise.v3.server|_ThreadID=18;_ThreadName=GlassFish Kernel Main Thre
ad;|[Thread[GlassFish Kernel Main Thread,5,main]] started|#]

[#|2010-07-29T12:04:11.037+0200|INFO|glassfishv3.0|javax.enterprise.system.tools
.admin.com.sun.enterprise.v3.admin|_ThreadID=19;_ThreadName=Thread-18;|Server sh
utdown initiated|#]

[#|2010-07-29T12:04:11.303+0200|INFO|glassfishv3.0|org.constellation.ws.rs|_Thre
adID=19;_ThreadName=Thread-18;|Shutting down the REST Configuration service faca
de. Disposing all datastore instances.|#]

[#|2010-07-29T12:04:11.367+0200|INFO|glassfishv3.0|org.constellation.ws.rs|_Thre
adID=19;_ThreadName=Thread-18;|Shutting down the REST CSW service facade .|#]

[#|2010-07-29T12:04:11.449+0200|INFO|glassfishv3.0|javax.enterprise.system.std.c
om.sun.enterprise.v3.services.impl|_ThreadID=20;_ThreadName={felix.fileinstall.p
oll=5000, service.pid=org.apache.felix.fileinstall.e7994c47-9870-49f5-a3a7-7362b
e58b515, felix.fileinstall.bundles.new.start=true, felix.fileinstall.dir=C:\glas
sfishv3\glassfish\domains\domain1/autodeploy/bundles/, service.factorypid=org.ap
ache.felix.fileinstall, felix.fileinstall.filename=org.apache.felix.fileinstall-
autodeploy-bundles.cfg, felix.fileinstall.debug=1};|{felix.fileinstall.poll (ms)
 = 5000, felix.fileinstall.dir = C:\glassfishv3\glassfish\domains\domain1\autode
ploy\bundles, felix.fileinstall.debug = 1, felix.fileinstall.bundles.new.start =
 true, felix.fileinstall.tmpdir = C:\Users\Maelle\AppData\Local\Temp\fileinstall
-7221822678782397168, felix.fileinstall.filter = null}|#]

[#|2010-07-29T12:04:11.469+0200|INFO|glassfishv3.0|javax.enterprise.system.std.c
om.sun.enterprise.v3.services.impl|_ThreadID=21;_ThreadName={felix.fileinstall.p
oll=5000, felix.fileinstall.bundles.new.start=true, felix.fileinstall.dir=C:\gla
ssfishv3\glassfish/modules/autostart/, felix.fileinstall.debug=1};|{felix.filein
stall.poll (ms) = 5000, felix.fileinstall.dir = C:\glassfishv3\glassfish\modules
\autostart, felix.fileinstall.debug = 1, felix.fileinstall.bundles.new.start = t
rue, felix.fileinstall.tmpdir = C:\Users\Maelle\AppData\Local\Temp\fileinstall-7
068869752865656686, felix.fileinstall.filter = null}|#]

[#|2010-07-29T12:04:11.490+0200|INFO|glassfishv3.0|javax.enterprise.system.std.c
om.sun.enterprise.v3.services.impl|_ThreadID=21;_ThreadName={felix.fileinstall.p
oll=5000, felix.fileinstall.bundles.new.start=true, felix.fileinstall.dir=C:\gla
ssfishv3\glassfish/modules/autostart/, felix.fileinstall.debug=1};|Started bundl
e: file:/C:/glassfishv3/glassfish/modules/autostart/org.apache.felix.scr.jar|#]

[#|2010-07-29T12:04:11.519+0200|INFO|glassfishv3.0|javax.enterprise.system.std.c
om.sun.enterprise.v3.services.impl|_ThreadID=21;_ThreadName={felix.fileinstall.p
oll=5000, felix.fileinstall.bundles.new.start=true, felix.fileinstall.dir=C:\gla
ssfishv3\glassfish/modules/autostart/, felix.fileinstall.debug=1};|Started bundl
e: file:/C:/glassfishv3/glassfish/modules/autostart/osgi-web-container.jar|#]

[#|2010-07-29T12:04:16.534+0200|INFO|glassfishv3.0|javax.enterprise.system.std.c
om.sun.enterprise.v3.services.impl|_ThreadID=21;_ThreadName={felix.fileinstall.p
oll=5000, felix.fileinstall.bundles.new.start=true, felix.fileinstall.dir=C:\gla
ssfishv3\glassfish/modules/autostart/, felix.fileinstall.debug=1};|Updating conf
iguration from org.apache.felix.fileinstall-autodeploy-bundles.cfg|#]

[#|2010-07-29T12:04:16.548+0200|INFO|glassfishv3.0|javax.enterprise.system.std.c
om.sun.enterprise.v3.services.impl|_ThreadID=21;_ThreadName={felix.fileinstall.p
oll=5000, felix.fileinstall.bundles.new.start=true, felix.fileinstall.dir=C:\gla
ssfishv3\glassfish/modules/autostart/, felix.fileinstall.debug=1};|Installed C:\
glassfishv3\glassfish\modules\autostart\org.apache.felix.fileinstall-autodeploy-
bundles.cfg|#]

[#|2010-07-29T12:04:16.555+0200|INFO|glassfishv3.0|javax.enterprise.system.std.c
om.sun.enterprise.v3.services.impl|_ThreadID=22;_ThreadName={felix.fileinstall.p
oll=5000, felix.fileinstall.bundles.new.start=true, service.pid=org.apache.felix
.fileinstall.e7994c47-9870-49f5-a3a7-7362be58b515, felix.fileinstall.dir=C:\glas
sfishv3\glassfish\domains\domain1/autodeploy/bundles/, felix.fileinstall.filenam
e=org.apache.felix.fileinstall-autodeploy-bundles.cfg, service.factorypid=org.ap
ache.felix.fileinstall, felix.fileinstall.debug=1};|{felix.fileinstall.poll (ms)
 = 5000, felix.fileinstall.dir = C:\glassfishv3\glassfish\domains\domain1\autode
ploy\bundles, felix.fileinstall.debug = 1, felix.fileinstall.bundles.new.start =
 true, felix.fileinstall.tmpdir = C:\Users\Maelle\AppData\Local\Temp\fileinstall
--4429592640312987212, felix.fileinstall.filter = null}|#]

[#|2010-07-29T12:04:18.270+0200|INFO|glassfishv3.0|javax.enterprise.system.core.
com.sun.enterprise.v3.server|_ThreadID=19;_ThreadName=Thread-18;|Shutdown proced
ure finished|#]

[#|2010-07-29T12:04:18.270+0200|INFO|glassfishv3.0|javax.enterprise.system.core.
com.sun.enterprise.v3.server|_ThreadID=18;_ThreadName=GlassFish Kernel Main Thre
ad;|[Thread[GlassFish Kernel Main Thread,5,main]] exiting|#]

[#|2010-07-29T12:04:18.340+0200|INFO|glassfishv3.0|javax.enterprise.system.std.c
om.sun.enterprise.v3.services.impl|_ThreadID=21;_ThreadName={felix.fileinstall.p
oll=5000, felix.fileinstall.bundles.new.start=true, felix.fileinstall.dir=C:\gla
ssfishv3\glassfish/modules/autostart/, felix.fileinstall.debug=1};|Started bundl
e: file:/C:/glassfishv3/glassfish/modules/autostart/org.apache.felix.scr.jar|#]

[#|2010-07-29T12:04:18.340+0200|INFO|glassfishv3.0|javax.enterprise.system.std.c
om.sun.enterprise.v3.services.impl|_ThreadID=21;_ThreadName={felix.fileinstall.p
oll=5000, felix.fileinstall.bundles.new.start=true, felix.fileinstall.dir=C:\gla
ssfishv3\glassfish/modules/autostart/, felix.fileinstall.debug=1};|Started bundl
e: file:/C:/glassfishv3/glassfish/modules/autostart/osgi-web-container.jar|#]


Command start-domain failed.
asadmin>
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

Re: problème de lancement de glassfish

Dorian
In reply to this post by MaelleD
Bonjour,

J'avoue que tout ceci me laisse assez sceptique car le log semble indiquer qu'une application utilise le port 8080.

Le port utilisé par le protocole Http de votre domaine se trouve dans le fichier domain.xml dans le répertoire /glassfish/domains/domain1/config/

Pouvez vous vérifier si le port 8080 apparait dans ce fichier, et si oui modifier la balise ou il apparait avec une autre valeur de port (9080) et essayer de relancer le domaine.

          <network-listener port="8080" protocol="http-listener-1" transport="tcp" name="http-listener-1" thread-pool="http-thread-pool" />

en

<network-listener port="9080" protocol="http-listener-1" transport="tcp" name="http-listener-1" thread-pool="http-thread-pool" />
       
Cordialement,
Dorian
IRD Unité ESPACE-DEV
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

Re: problème de lancement de glassfish

MaelleD
j'ai vérifié qui utilisait le port 8080 et c'était osgeo4win. J'avais modifié son port (initialement 80) en 8080 pour pouvoir utiliser WAMP. Bref, la solution proposée fonctionne (changement du port de glassfish en 9080)

merci pour cette réponse
Loading...