Я пытаюсь развернуть файл ear на JBOSS AS (сервер дефалут). Приложение представляет собой версию примеров книги SeamInAction.
Когда я копирую файл в $ JBOSS_HOME / server / default / deploy, я не получаю никаких исключений, но приложение не отвечает, после некоторого времени попытки доступа к приложению из браузера выдает следующее в журнале. ..
При развертывании с помощью консоли администратора (http://localhost:8080/admin-console) я получаю следующее сообщение об ошибке:
PS: После этого Jboss переходит в нерабочее состояние. Я даже не могу получить доступ к консоли администратора. Я просто должен убить его.
Сообщение об ошибке в консоли администратора:
Не удалось создать ресурс Open18.ear -
вызвать:
org.rhq.core.pc.inventory.TimeoutException:
Позвонить
[Org.rhq.plugins.jbossas5.ApplicationServerComponent.createResource ()]
с аргументами [[CreateResourceReport:
Тип_ресурс = [Тип_ресурс [ID = 0,
категория = сервис, название = предприятие
Приложение (EAR), плагин = JBossAS5]],
ResourceKey = [null]]] истекло время ожидания.
Поток вызова будет прерван
в
org.rhq.core.pc.inventory.ResourceContainer $ ResourceComponentInvocationHandler.invokeInNewThreadWithLock (ResourceContainer.java:437)
в
org.rhq.core.pc.inventory.ResourceContainer $ ResourceComponentInvocationHandler.invoke (ResourceContainer.java:406)
в $ Proxy266.createResource (неизвестно
Источник) в
org.rhq.core.pc.inventory.CreateResourceRunner.call (CreateResourceRunner.java:113)
в
java.util.concurrent.FutureTask $ Sync.innerRun (FutureTask.java:303)
в
java.util.concurrent.FutureTask.run (FutureTask.java:138)
в
java.util.concurrent.ThreadPoolExecutor $ Worker.runTask (ThreadPoolExecutor.java:886)
в
java.util.concurrent.ThreadPoolExecutor $ Worker.run (ThreadPoolExecutor.java:908)
в
java.lang.Thread.run (Thread.java:619)
Журналы ошибок:
4:08:58,555 INFO [TableMetadata] foreign keys: [fkaf42e01ba13c3380, fk_course_ref_facility]
14:08:58,555 INFO [TableMetadata] indexes: [course_pkey]
14:08:58,645 INFO [TableMetadata] table found: public.facility
14:08:58,645 INFO [TableMetadata] columns: [zip, phone, state, type, uri, city, country, id, price_range, address, county, description, nam
e]
14:08:58,645 INFO [TableMetadata] foreign keys: []
14:08:58,645 INFO [TableMetadata] indexes: [facility_pkey]
14:08:58,705 INFO [TableMetadata] table found: public.hole
14:08:58,705 INFO [TableMetadata] columns: [id, m_par, l_handicap, name, l_par, number, course_id, m_handicap]
14:08:58,705 INFO [TableMetadata] foreign keys: [fk_hole_ref_course, fk30f4c09c3f1200]
14:08:58,705 INFO [TableMetadata] indexes: [hole_pkey, uniq_hole_number]
14:08:58,764 INFO [TableMetadata] table found: public.tee
14:08:58,764 INFO [TableMetadata] columns: [hole_id, distance, tee_set_id]
14:08:58,764 INFO [TableMetadata] foreign keys: [fk1c014f8de7677, fk_tee_ref_hole, fk1c014c69de560, fk_tee_ref_tee_set]
14:08:58,764 INFO [TableMetadata] indexes: [tee_pkey]
14:08:58,826 INFO [TableMetadata] table found: public.tee_set
14:08:58,826 INFO [TableMetadata] columns: [id, color, m_slope_rating, l_slope_rating, name, course_id, m_course_rating, l_course_rating, p
os]
14:08:58,826 INFO [TableMetadata] foreign keys: [fk_tee_set_ref_course, fkaa6881b79c3f1200]
14:08:58,826 INFO [TableMetadata] indexes: [tee_set_pkey, uniq_tee_set_pos, uniq_tee_set_color]
14:08:58,827 INFO [SchemaUpdate] schema update complete
14:08:58,829 INFO [NamingHelper] JNDI InitialContext properties:{java.naming.factory.initial=org.jnp.interfaces.NamingContextFactory, java.
naming.factory.url.pkgs=org.jboss.naming:org.jnp.interfaces}
14:08:58,850 INFO [TomcatDeployment] deploy, ctxPath=/Open18
14:15:53,969 WARN [DiscoveryComponentProxyFactory] The discovery component for resource type [ResourceType[id=0, category=Service, name=Connector, plugin=JBossAS5]] has been blacklisted
14:15:53,970 WARN [InventoryManager] Failure during discovery for [Connector] Resources - failed after 300002 ms.
org.rhq.core.pc.inventory.TimeoutException: Call to [org.rhq.plugins.jbossas5.ConnectorDiscoveryComponent.discoverResources()] with args [[org.rhq.core.pluginapi.inventory.ResourceDiscoveryContext@96db1]] timed out. Invocation thread will be interrupted
at org.rhq.core.pc.util.DiscoveryComponentProxyFactory$ResourceDiscoveryComponentInvocationHandler.invokeInNewThread(DiscoveryComponentProxyFactory.java:208)
at org.rhq.core.pc.util.DiscoveryComponentProxyFactory$ResourceDiscoveryComponentInvocationHandler.invoke(DiscoveryComponentProxyFactory.java:181)
at $Proxy249.discoverResources(Unknown Source)
at org.rhq.core.pc.inventory.InventoryManager.invokeDiscoveryComponent(InventoryManager.java:272)
at org.rhq.core.pc.inventory.InventoryManager.executeComponentDiscovery(InventoryManager.java:1697)
at org.rhq.core.pc.inventory.RuntimeDiscoveryExecutor.discoverForResource(RuntimeDiscoveryExecutor.java:218)
at org.rhq.core.pc.inventory.RuntimeDiscoveryExecutor.discoverForResource(RuntimeDiscoveryExecutor.java:234)
at org.rhq.core.pc.inventory.RuntimeDiscoveryExecutor.runtimeDiscover(RuntimeDiscoveryExecutor.java:134)
at org.rhq.core.pc.inventory.RuntimeDiscoveryExecutor.call(RuntimeDiscoveryExecutor.java:94)
at org.rhq.core.pc.inventory.RuntimeDiscoveryExecutor.call(RuntimeDiscoveryExecutor.java:51)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
at java.util.concurrent.FutureTask.run(FutureTask.java:138)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:98)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:207)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
at java.lang.Thread.run(Thread.java:619)
14:15:53,981 WARN [NavigationContent] Unable to find node for deleted resource [Resource[id=-5, type=Connector, key=ajp://127.0.0.1:8009, name=ajp://127.0.0.1:8009, parent=JBoss Web]].