juddi-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Daniel Ferreira Castro (JIRA)" <juddi-...@ws.apache.org>
Subject [jira] [Commented] (JUDDI-878) Fix Jboss AS 7.x deployment
Date Fri, 23 May 2014 13:40:02 GMT

    [ https://issues.apache.org/jira/browse/JUDDI-878?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14007159#comment-14007159
] 

Daniel Ferreira Castro commented on JUDDI-878:
----------------------------------------------

Just confirming, I deployed the war files over the brand new instalation of JBoss but the
same error happened.
Because openjpa was not beeing loaded.
I foound the reason why that, my file was named modules.xml instead of module.xml
After that the bug changed to.

10:37:12,747 INFO  [org.jboss.as.jpa] (MSC service thread 1-5) JBAS011401: Read persistence.xml
for juddiDatabase
10:37:13,035 WARN  [org.jboss.as.server.deployment] (MSC service thread 1-8) Class Path entry
jaxb-api.jar in "/C:/Java/jboss-as-7.1.1.Final-ORIG/bin/content/juddi-gui.war/WEB-INF/lib/jaxb-impl-2.2.6.jar"
 does not point to a valid jar for a Class-Path reference.
10:37:13,049 WARN  [org.jboss.as.server.deployment] (MSC service thread 1-8) JBAS015893: Encountered
invalid class name 'org.springframework.context.ApplicationContext,org.springframework.beans.BeansException,org.springframework.beans.factory.xml.NamespaceHandlerResolver'
for service type 'org.apache.cxf.bus.factory'
10:37:13,332 WARN  [org.jboss.as.ee] (MSC service thread 1-8) JBAS011006: Not installing optional
component org.apache.cxf.transport.http.Servlet3ContinuationProvider$Servlet3Continuation
due to exception: org.jboss.as.server.deployment.DeploymentUnitProcessingException: JBAS011054:
Could not find default constructor for class org.apache.cxf.transport.http.Servlet3ContinuationProvider$Servlet3Continuation
	at org.jboss.as.ee.component.ComponentDescription$DefaultComponentConfigurator.configure(ComponentDescription.java:606)
	at org.jboss.as.ee.component.deployers.EEModuleConfigurationProcessor.deploy(EEModuleConfigurationProcessor.java:81)
	at org.jboss.as.server.deployment.DeploymentUnitPhaseService.start(DeploymentUnitPhaseService.java:113)
[jboss-as-server-7.1.1.Final.jar:7.1.1.Final]
	at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1811)
[jboss-msc-1.0.2.GA.jar:1.0.2.GA]
	at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1746)
[jboss-msc-1.0.2.GA.jar:1.0.2.GA]
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) [rt.jar:1.7.0_51]
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) [rt.jar:1.7.0_51]
	at java.lang.Thread.run(Thread.java:744) [rt.jar:1.7.0_51]

10:37:13,485 WARN  [org.jboss.as.dependency.private] (MSC service thread 1-1) JBAS018567:
Deployment "deployment.juddiv3.war" is using a private module ("org.jboss.as.jpa.openjpa:main")
which may be changed or removed in future versions without notice.
10:37:13,491 WARN  [org.jboss.as.dependency.private] (MSC service thread 1-1) JBAS018567:
Deployment "deployment.juddiv3.war" is using a private module ("org.jboss.as.jpa.openjpa:main")
which may be changed or removed in future versions without notice.
10:37:13,496 WARN  [org.jboss.as.dependency.private] (MSC service thread 1-1) JBAS018567:
Deployment "deployment.juddiv3.war" is using a private module ("org.jboss.ws.cxf.jbossws-cxf-server:main")
which may be changed or removed in future versions without notice.
10:37:13,502 WARN  [org.jboss.as.dependency.private] (MSC service thread 1-1) JBAS018567:
Deployment "deployment.juddiv3.war" is using a private module ("org.jboss.ws.cxf.jbossws-cxf-server:main")
which may be changed or removed in future versions without notice.
10:37:13,506 INFO  [org.jboss.wsf.stack.cxf.metadata.MetadataBuilder] (MSC service thread
1-8) Add Service
 id=org.apache.juddi.v3.client.mapping.UDDIClientSubscriptionListenerImpl
 address=http://localhost:8080/juddi-gui/UDDIClientSubscriptionListenerService
 implementor=org.apache.juddi.v3.client.mapping.UDDIClientSubscriptionListenerImpl
 invoker=org.jboss.wsf.stack.cxf.JBossWSInvoker
 serviceName={urn:uddi-org:v3_service}UDDIClientSubscriptionListenerService
 portName={urn:uddi-org:v3_service}UDDIClientSubscriptionListenerImplPort
 wsdlLocation=null
 mtomEnabled=false
10:37:13,524 INFO  [org.jboss.wsf.stack.cxf.metadata.MetadataBuilder] (MSC service thread
1-8) Add Service
 id=org.apache.juddi.v3.client.subscription.SubscriptionCallbackListener
 address=http://localhost:8080/juddi-gui/UDDISubscriptionListenerClientService
 implementor=org.apache.juddi.v3.client.subscription.SubscriptionCallbackListener
 invoker=org.jboss.wsf.stack.cxf.JBossWSInvoker
 serviceName={urn:uddi-org:v3_service}UDDISubscriptionListenerClientService
 portName={urn:uddi-org:v3_service}SubscriptionCallbackListenerPort
 wsdlLocation=null
 mtomEnabled=false
10:37:13,621 INFO  [org.jboss.weld.deployer] (MSC service thread 1-2) JBAS016002: Processing
weld deployment juddiv3.war
10:37:13,675 ERROR [org.jboss.msc.service.fail] (MSC service thread 1-2) MSC00001: Failed
to start service jboss.deployment.unit."juddiv3.war".INSTALL: org.jboss.msc.service.StartException
in service jboss.deployment.unit."juddiv3.war".INSTALL: Failed to process phase INSTALL of
deployment "juddiv3.war"
	at org.jboss.as.server.deployment.DeploymentUnitPhaseService.start(DeploymentUnitPhaseService.java:119)
[jboss-as-server-7.1.1.Final.jar:7.1.1.Final]
	at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1811)
[jboss-msc-1.0.2.GA.jar:1.0.2.GA]
	at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1746)
[jboss-msc-1.0.2.GA.jar:1.0.2.GA]
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) [rt.jar:1.7.0_51]
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) [rt.jar:1.7.0_51]
	at java.lang.Thread.run(Thread.java:744) [rt.jar:1.7.0_51]
Caused by: java.lang.IllegalArgumentException: Empty name segment is not allowed for jdbc:mysql:
	at org.jboss.msc.service.ServiceName.of(ServiceName.java:85) [jboss-msc-1.0.2.GA.jar:1.0.2.GA]
	at org.jboss.msc.service.ServiceName.append(ServiceName.java:112) [jboss-msc-1.0.2.GA.jar:1.0.2.GA]
	at org.jboss.as.naming.deployment.ContextNames.buildServiceName(ContextNames.java:178)
	at org.jboss.as.naming.deployment.ContextNames$BindInfo.<init>(ContextNames.java:190)
	at org.jboss.as.naming.deployment.ContextNames$BindInfo.<init>(ContextNames.java:181)
	at org.jboss.as.naming.deployment.ContextNames.bindInfoFor(ContextNames.java:136)
	at org.jboss.as.ee.component.LookupInjectionSource.getResourceValue(LookupInjectionSource.java:70)
	at org.jboss.as.ee.component.deployers.ModuleJndiBindingProcessor.addJndiBinding(ModuleJndiBindingProcessor.java:227)
	at org.jboss.as.ee.component.deployers.ModuleJndiBindingProcessor.deploy(ModuleJndiBindingProcessor.java:118)
	at org.jboss.as.server.deployment.DeploymentUnitPhaseService.start(DeploymentUnitPhaseService.java:113)
[jboss-as-server-7.1.1.Final.jar:7.1.1.Final]
	... 5 more


> Fix Jboss AS 7.x deployment
> ---------------------------
>
>                 Key: JUDDI-878
>                 URL: https://issues.apache.org/jira/browse/JUDDI-878
>             Project: jUDDI
>          Issue Type: Bug
>          Components: core, documentation, website
>            Reporter: Daniel Ferreira Castro
>            Assignee: Kurt T Stam
>            Priority: Minor
>             Fix For: 3.2.1
>
>         Attachments: Install.java, Juddi.png, boot.log, fix.png, git.png, jboss-web.xml,
juddiv3 (jboss7).war, libOpenJPA221.png, modules.xml, persistence.xml, server - 20140429.log,
server.log
>
>
> The online Apache jUDDI Guide specifies at the end of this link (OpenJPA and JBossWS-CXF)
http://juddi.apache.org/docs/3.2/juddi-guide/html_single/#_jbossas_7_x_jbosseap_6_x
> says "and in the `modules/system/layers/base/org/jboss/as/jpa/main/module.xml add dependency
<module name="org.jboss.as.jpa.openjpa"/>"
> But this folder structure does not exists on jboss-as7 and there is no previous instructions
about how to create it and what to put i in.  There are tow previous instrctions to create:
> <jboss>/modules/system/layers/base/org/apache/openjpa/main and
> <jboss>/modules/system/layers/base/org/jboss/as/jpa/openjpa/main
> but not <jboss>/modules/system/layers/base/org/jboss/as/jpa/main/module.xml
> So, when I try to deploy it to Jboss AS 7.1.1 I get an exception
> 11:42:43,356 INFO  [org.jboss.as.jpa] (MSC service thread 1-3) JBAS011401: Read persistence.xml
for juddiDatabase
> 11:42:43,864 ERROR [org.jboss.msc.service.fail] (MSC service thread 1-2) MSC00001: Failed
to start service jboss.module.service."deployment.juddiv3.war".main: org.jboss.msc.service
> .StartException in service jboss.module.service."deployment.juddiv3.war".main: Failed
to load module: deployment.juddiv3.war:main
>         at org.jboss.as.server.moduleservice.ModuleLoadService.start(ModuleLoadService.java:91)
[jboss-as-server-7.1.1.Final.jar:7.1.1.Final]
>         at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1811)
[jboss-msc-1.0.2.GA.jar:1.0.2.GA]
>         at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1746)
[jboss-msc-1.0.2.GA.jar:1.0.2.GA]
>         at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
[rt.jar:1.7.0_11]
>         at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
[rt.jar:1.7.0_11]
>         at java.lang.Thread.run(Thread.java:722) [rt.jar:1.7.0_11]
> Caused by: org.jboss.modules.ModuleNotFoundException: Module org.apache.openjpa:main
is not found in local module loader @655c8c (roots: c:\Java\jboss-as-7.1.1.Final\modules)
>         at org.jboss.modules.LocalModuleLoader.findModule(LocalModuleLoader.java:126)
>         at org.jboss.modules.ModuleLoader.loadModuleLocal(ModuleLoader.java:275)
>         at org.jboss.modules.ModuleLoader.preloadModule(ModuleLoader.java:222)
>         at org.jboss.modules.LocalModuleLoader.preloadModule(LocalModuleLoader.java:94)
>         at org.jboss.modules.Module.addPaths(Module.java:841)
>         at org.jboss.modules.Module.link(Module.java:1181)
>         at org.jboss.modules.Module.relinkIfNecessary(Module.java:1207)
>         at org.jboss.modules.ModuleLoader.loadModule(ModuleLoader.java:208)
>         at org.jboss.as.server.moduleservice.ModuleLoadService.start(ModuleLoadService.java:70)
[jboss-as-server-7.1.1.Final.jar:7.1.1.Final]
>         ... 5 more
> 11:42:44,112 INFO  [org.jboss.as.server] (DeploymentScanner-threads - 2) JBAS015870:
Deploy of deployment "juddiv3.war" was rolled back with failure message {"JBAS014671: Failed
se
> rvices" => {"jboss.module.service.\"deployment.juddiv3.war\".main" => "org.jboss.msc.service.StartException
in service jboss.module.service.\"deployment.juddiv3.war\".main: Failed
> to load module: deployment.juddiv3.war:main"}}
> 11:42:44,272 INFO  [org.jboss.as.server.deployment] (MSC service thread 1-4) JBAS015877:
Stopped deployment juddiv3.war in 159ms
> 11:42:44,274 INFO  [org.jboss.as.controller] (DeploymentScanner-threads - 2) JBAS014774:
Service status report
> JBAS014777:   Services which failed to start:      service jboss.module.service."deployment.juddiv3.war".main:
org.jboss.msc.service.StartException in service jboss.module.service.
> "deployment.juddiv3.war".main: Failed to load module: deployment.juddiv3.war:main
> 11:42:44,283 ERROR [org.jboss.as.server.deployment.scanner] (DeploymentScanner-threads
- 1) {"JBAS014653: Composite operation failed and was rolled back. Steps that failed:" =>
{"O
> peration step-2" => {"JBAS014671: Failed services" => {"jboss.module.service.\"deployment.juddiv3.war\".main"
=> "org.jboss.msc.service.StartException in service jboss.module.servi
> ce.\"deployment.juddiv3.war\".main: Failed to load module: deployment.juddiv3.war:main"}}}}



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Mime
View raw message