]
Richard Opalka commented on JBWS-2759:
--------------------------------------
The final solutions is there're *-deploy.conf file per server instance, e.g.:
* all-deploy.conf (for 'all' server configuration)
* default-deploy.conf (for 'default' server configuration)
* standard-deploy.conf (for 'standard' server configuration)
If users want to update particular jboss instance, they have to provide
-Djboss.server.instance JVM property, e.g.:
ant -Djboss.server.instance=standard deploy-jboss510
IOW there's only support for all, default and standard JBossAS configurations in our
delivered distributions.
If users have their own server configuration (let's name it 'foo') then users
need to
create new foo-deploy.conf file and update it accordingly (i.e. replace e.g.
server/default/ -> server/foo/ if copied from default-deploy.conf file).
Next step is that users have to add this newly created foo-deploy.conf file to the same
directory where are located other *-deploy.conf files, i.e.:
* to $JBOSWS_BINDISTRO_HOME/build/foo-deploy.conf (in case of binary JBossWS
installation)
* to $JBOSS_SRCDISTRO_HOME/modules/src/main/resources/resources/foo-deploy.conf (in case
of source JBossWS installation)
Finally user executes the following command:
ant -Djboss.server.instance=foo deploy-jboss510
JBossWS installation doesn't work for non default configurations
----------------------------------------------------------------
Key: JBWS-2759
URL:
https://jira.jboss.org/jira/browse/JBWS-2759
Project: JBoss Web Services
Issue Type: Bug
Security Level: Public(Everyone can see)
Components: productization
Affects Versions: jbossws-native-3.2.0, jbossws-cxf-3.2.0, jbossws-metro-3.2.0
Environment: Debian Lenny x86 running in Virtual Box 3.0.2
Using JDK 1.6.0_12-b04
JBoss 5.1 GA
Reporter: Jonas Ericsson
Assignee: Richard Opalka
Fix For: jbossws-cxf-3.2.1, jbossws-native-3.2.1, jbossws-metro-3.2.1
Attachments: default-deploy.conf
http://localhost:8080/jbossws/services Throws an exception.
I installed JBossWS with ant deploy-jboss510 after modifying ant.properties and the
install went fine.
The deployment worked fine the first time but stopped working after restarting the JBoss
server.
To verify it I also installed a fresh JBoss 5.1 GA on the server and deployed JBossWS on
it with the same result after restarting it.
2009-09-10 19:04:55,924 ERROR
[org.jboss.system.server.profileservice.ProfileServiceBootstrap] (main) Failed to load
profile: Summary of incomplete deployments (SEE PREVIOUS ERRORS FOR DETAILS):
DEPLOYMENTS IN ERROR:
Deployment
"vfsfile:/usr/local/jboss/jboss-5.1.0.GA/server/all/deployers/jbossws.deployer/"
is in error due to the following reason(s): java.lang.ClassNotFoundException:
org.jboss.wsf.stack.jbws.NativeServerConfig from
BaseClassLoader@1b7a531{VFSClassLoaderPolicy@1be650f{name=vfsfile:/usr/local/jboss/jboss-5.1.0.GA/server/all/deployers/jbossws.deployer/
domain=ClassLoaderDomain@425743{name=DefaultDomain parentPolicy=BEFORE
parent=org.jboss.bootstrap.NoAnnotationURLClassLoader@19106c7}
roots=[MemoryContextHandler@14468322[path=
context=vfsmemory://3j011-dhqxpd-fzfr0ths-1-fzfr11da-e
real=vfsmemory://3j011-dhqxpd-fzfr0ths-1-fzfr11da-e],
FileHandler(a)133181[path=jbossws.deployer
context=file:/usr/local/jboss/jboss-5.1.0.GA/server/all/deployers/
real=file:/usr/local/jboss/jboss-5.1.0.GA/server/all/deployers/jbossws.deployer/],
DelegatingHandler(a)23789484[path=jbossws.deployer/FastInfoset.jar
context=file:/usr/local/jboss/jboss-5.1.0.GA/server/all/deployers/
real=file:/usr/local/jboss/jboss-5.1.0.GA/server/all/deployers/jbossws.deployer/FastInfoset.jar],
DelegatingHandler(a)28813099[path=jbossws.deployer/jboss-jaxb-intros.jar
context=file:/usr/local/jboss/jboss-5.1.0.GA/server/all/deployers/
real=file:/usr/local/jboss/jboss-5.1.0.GA/server/all/deployers/jbossws.deployer/jboss-jaxb-intros.jar],
DelegatingHandler(a)4199584[path=jbossws.deployer/jbossws-common.jar
context=file:/usr/local/jboss/jboss-5.1.0.GA/server/all/deployers/
real=file:/usr/local/jboss/jboss-5.1.0.GA/server/all/deployers/jbossws.deployer/jbossws-common.jar],
DelegatingHandler(a)17453844[path=jbossws.deployer/jbossws-framework.jar
context=file:/usr/local/jboss/jboss-5.1.0.GA/server/all/deployers/
real=file:/usr/local/jboss/jboss-5.1.0.GA/server/all/deployers/jbossws.deployer/jbossws-framework.jar],
DelegatingHandler(a)13912225[path=jbossws.deployer/jbossws-jboss510.jar
context=file:/usr/local/jboss/jboss-5.1.0.GA/server/all/deployers/
real=file:/usr/local/jboss/jboss-5.1.0.GA/server/all/deployers/jbossws.deployer/jbossws-jboss510.jar],
DelegatingHandler(a)15497163[path=jbossws.deployer/jbossws-native-core.jar
context=file:/usr/local/jboss/jboss-5.1.0.GA/server/all/deployers/
real=file:/usr/local/jboss/jboss-5.1.0.GA/server/all/deployers/jbossws.deployer/jbossws-native-core.jar],
DelegatingHandler(a)11326932[path=jbossws.deployer/jettison.jar
context=file:/usr/local/jboss/jboss-5.1.0.GA/server/all/deployers/
real=file:/usr/local/jboss/jboss-5.1.0.GA/server/all/deployers/jbossws.deployer/jettison.jar],
DelegatingHandler(a)17457153[path=jbossws.deployer/netty.jar
context=file:/usr/local/jboss/jboss-5.1.0.GA/server/all/deployers/
real=file:/usr/local/jboss/jboss-5.1.0.GA/server/all/deployers/jbossws.deployer/netty.jar],
DelegatingHandler(a)2420088[path=jbossws.deployer/policy.jar
context=file:/usr/local/jboss/jboss-5.1.0.GA/server/all/deployers/
real=file:/usr/local/jboss/jboss-5.1.0.GA/server/all/deployers/jbossws.deployer/policy.jar],
DelegatingHandler(a)6452965[path=jbossws.deployer/wsdl4j.jar
context=file:/usr/local/jboss/jboss-5.1.0.GA/server/all/deployers/
real=file:/usr/local/jboss/jboss-5.1.0.GA/server/all/deployers/jbossws.deployer/wsdl4j.jar],
DelegatingHandler(a)7070924[path=jbossws.deployer/xmlsec.jar
context=file:/usr/local/jboss/jboss-5.1.0.GA/server/all/deployers/
real=file:/usr/local/jboss/jboss-5.1.0.GA/server/all/deployers/jbossws.deployer/xmlsec.jar]]
delegates=null exported=[, org.jboss.ws.tools.schema, com.ibm.wsdl.xml,
org.codehaus.jettison.json, org.jboss.wsf.common.injection.finders,
org.jboss.ws.extensions.wsrm.protocol.spec200502, org.apache.xml.security.resource.schema,
javax.wsdl.extensions.mime, org.jboss.ws.extensions.wsrm.protocol, schema,
org.apache.xml.security.utils, com.ibm.wsdl.util, org.apache.xml.security.exceptions,
org.jboss.ws.extensions.wsrm.protocol.spec200702, org.jboss.wsf.stack.jbws,
org.jboss.netty.bootstrap, org.jboss.ws.metadata.builder.jaxrpc,
org.jboss.netty.handler.timeout, META-INF.maven.org.codehaus.jettison.jettison,
org.jboss.ws.extensions.policy.deployer, org.jboss.ws.extensions.wsrm.transport,
org.jboss.webservices.integration.deployers.deployment, javax.wsdl,
org.jboss.ws.extensions.addressing.map, org.jboss.ws.jaxrpc, org.jboss.ws.tools.wsdl,
org.jboss.netty.handler.codec.replay, org.jboss.netty.handler.codec.string,
org.jboss.wsf.test, org.jvnet.fastinfoset, org.jboss.ws.extensions.eventing.jaxws,
org.jboss.ws.extensions.eventing.deployment, com.ibm.wsdl.extensions.schema,
org.jboss.netty.container.microcontainer, org.jboss.webservices.integration.invocation,
org.jboss.webservices.integration.config, org.jboss.netty.container.guice,
org.jboss.wsf.common.management, org.jboss.ws.extensions.validation,
org.jboss.ws.core.client.ssl, javax.wsdl.extensions, com.sun.xml.fastinfoset.dom,
org.jboss.netty.buffer, javax.wsdl.factory, org.jboss.ws.metadata.wsdl.xsd,
org.jboss.netty.handler.codec.http, com.sun.xml.fastinfoset.org.apache.xerces.util,
org.jboss.ws.core.jaxws.spi, org.jboss.wsf.common.concurrent,
com.sun.xml.fastinfoset.tools, org.apache.xml.security.keys.storage, META-INF.services,
com.sun.xml.fastinfoset.stax.events, org.apache.xml.security.resource,
org.jboss.ws.extensions.addressing.metadata, org.jboss.ws.core.jaxrpc.handler,
org.jboss.ws.extensions.eventing.mgmt,
META-INF.maven.org.jboss.ws.native.jbossws-native-core, org.jboss.netty.util.internal,
org.jboss.netty.handler.logging, com.sun.xml.fastinfoset.resources,
org.jboss.ws.extensions.security.element, org.jboss.jaxb.intros.configmodel,
org.jboss.ws.extensions.wsrm, META-INF.maven.org.jboss.ws.jbossws-framework,
javax.xml.crypto.dsig.keyinfo, org.jboss.netty.util, org.jboss.ws.core.soap,
javax.wsdl.extensions.schema, org.jboss.wsf.common.addressing,
org.jboss.netty.handler.execution, org.apache.xml.security.keys,
org.jboss.ws.extensions.policy.deployer.domainAssertion, org.jvnet.fastinfoset.stax,
org.jboss.ws.tools.metadata, org.jboss.ws.core.jaxws.handler, dtd,
org.jboss.ws.extensions.wsrm.server, org.jboss.ws.metadata.umdm,
org.codehaus.jettison.mapped, javax.xml.crypto.dsig.dom,
com.sun.xml.fastinfoset.stax.util, org.jboss.wsf.framework.invocation,
org.jboss.ws.extensions.wsrm.common, org.jboss.wsf.common.handler,
org.jboss.ws.extensions.addressing.soap, com.sun.xml.fastinfoset.vocab,
org.jboss.ws.metadata.accessor, org.jboss.ws.core, org.jboss.ws.core.jaxws.client,
com.sun.xml.fastinfoset.alphabet, org.jboss.wsf.common.utils, javax.xml.crypto.dsig.spec,
org.jboss.ws.extensions.wsrm.transport.backchannel, org.jboss.ws.metadata.config.binding,
org.apache.xml.security.c14n.implementations, com.ibm.wsdl,
org.jboss.ws.extensions.wsrm.api, org.jboss.ws.tools.client,
org.jboss.ws.tools.interfaces, org.jboss.wsf.framework.serviceref,
org.jboss.ws.extensions.eventing.metadata, org.jboss.netty.handler.codec.embedder,
org.jboss.ws.extensions.eventing.common, org.apache.ws.policy,
org.jboss.netty.channel.socket.oio, org.jboss.ws.core.binding,
org.jboss.ws.metadata.builder, org.jboss.netty.handler.codec.frame,
org.jboss.ws.extensions.wsrm.protocol.spi, org.jboss.ws.extensions.xop,
org.jboss.netty.handler.codec.oneone, com.ibm.wsdl.extensions.soap12,
org.apache.xml.security.keys.storage.implementations, org.jboss.ws.extensions.wsrm.jaxws,
org.jboss.ws.extensions.policy.deployer.exceptions, org.jboss.ws.core.transport.jms,
com.sun.xml.fastinfoset.stax, javax.wsdl.extensions.soap, org.jvnet.fastinfoset.sax,
META-INF, org.jboss.ws.extensions.security.jaxrpc, org.jboss.ws.metadata.jaxrpcmapping,
org.jboss.ws.feature, org.jboss.ws.extensions.wsrm.common.serialization,
org.jboss.netty.channel.socket, org.jboss.ws.core.soap.attachment,
org.apache.xml.security.transforms.params, org.jboss.ws.tools.jaxws.impl,
javax.wsdl.extensions.soap12, org.jboss.ws.tools.helpers, org.jcp.xml.dsig.internal,
org.jboss.ws.tools.factories, javax.wsdl.extensions.http,
org.jboss.ws.core.jaxws.wsaddressing, org.jboss.netty.channel.xnio,
org.jboss.webservices.integration.util, org.codehaus.jettison, javax.wsdl.xml,
org.jboss.ws.tools.io, org.jboss.netty.channel.local, org.apache.xml.security.transforms,
org.jboss.wsf.common.reflection, org.jboss.wsf.common.injection.resolvers,
org.jboss.ws.extensions.policy.metadata, org.jboss.wsf.common.integration,
org.jboss.wsf.framework.management.recording, org.jboss.webservices.integration.deployers,
org.apache.xml.security.utils.resolver, org.apache.xml.security.encryption,
META-INF.license, org.jboss.netty.channel.socket.nio, org.jboss.ws.extensions.policy,
org.jvnet.fastinfoset.sax.helpers, org.jboss.ws.core.client,
com.sun.xml.fastinfoset.stax.factory, org.jboss.ws.extensions.addressing.jaxrpc,
org.apache.xml.security.algorithms.implementations, org.jboss.netty.channel,
javax.xml.crypto, org.jboss.wsf.framework.deployment, org.jboss.ws.extensions.wsrm.policy,
org.jboss.webservices.integration.tomcat, org.jboss.netty.container.spring,
com.ibm.wsdl.extensions.mime, org.jboss.ws.extensions.security.operation,
org.apache.xml.security.keys.keyresolver.implementations,
org.jboss.ws.extensions.policy.deployer.util, org.jboss.ws.extensions.security.exception,
org.jboss.ws.core.jaxrpc, org.apache.xml.security.algorithms, org.jboss.ws.util.xml,
org.jboss.ws.extensions.addressing.jaxws, org.jboss.jaxb.intros.handlers,
org.jboss.ws.metadata.config.jaxrpc, org.codehaus.jettison.badgerfish,
org.apache.xml.security.keys.content.keyvalues, org.apache.xml.security,
org.apache.xml.security.keys.content, org.apache.ws.policy.util,
org.jboss.ws.extensions.xop.jaxws, org.jboss.wsf.common.servlet,
org.jboss.webservices.integration.injection, org.jboss.netty.container.osgi,
org.jboss.ws.core.server, com.sun.xml.fastinfoset.algorithm,
META-INF.maven.org.jboss.ws.jbossws-common,
org.apache.xml.security.utils.resolver.implementations, com.ibm.wsdl.util.xml,
org.jboss.ws.metadata.wsdl, org.codehaus.jettison.util, com.ibm.wsdl.factory,
org.jboss.ws.extensions.addressing, org.apache.xml.security.signature,
org.jboss.ws.annotation, org.jboss.ws.extensions.xop.jaxrpc,
org.jboss.ws.extensions.eventing, org.jboss.webservices.integration.metadata,
org.jboss.ws.extensions.json, org.jboss.ws.metadata.builder.jaxws,
org.jboss.ws.metadata.config.jaxws, org.jboss.ws.tools.mapping,
META-INF.maven.org.jboss.ws.jbossws-jboss510, org.jboss.ws.core.utils,
org.jboss.ws.extensions.security, org.apache.xml.security.keys.keyresolver,
org.jboss.ws.extensions.wsrm.persistence, org.jboss.ws.tools.ant,
org.jboss.netty.handler.codec.serialization, org.jboss.ws.tools.config,
org.jboss.ws.tools.exceptions, org.jboss.ws.metadata.wsse,
org.jboss.ws.extensions.security.jaxws, org.jcp.xml.dsig.internal.dom,
org.jboss.webservices.integration.security, org.jboss.netty.handler.codec.base64,
org.apache.xml.security.transforms.implementations, org.jboss.jaxb.intros,
org.jboss.ws.metadata.wsdl.xmlschema, org.jboss.ws.tools,
org.jboss.ws.core.jaxrpc.binding.jbossxb, org.jboss.ws.core.jaxws.binding,
com.ibm.wsdl.extensions, org.jboss.ws.metadata.config,
org.jboss.ws.extensions.wsrm.config, org.jboss.ws.extensions.policy.annotation,
org.jboss.netty.handler.ssl, com.sun.xml.fastinfoset.util, com.sun.xml.fastinfoset,
org.jboss.netty.handler.codec.protobuf, org.jboss.netty.channel.socket.http,
org.jboss.netty.channel.group, org.jboss.ws.extensions.security.nonce,
org.apache.xml.security.c14n.helper, org.jboss.wsf.framework.http,
org.jboss.wsf.framework.management, org.jboss.wsf.common.logging,
org.jboss.ws.core.jaxrpc.binding, org.jboss.netty.logging,
META-INF.maven.org.jboss.netty.netty, org.apache.xml.security.c14n,
org.jboss.ws.core.jaxrpc.client, com.ibm.wsdl.extensions.soap, org.jboss.ws.core.jaxws,
org.apache.xml.security.keys.content.x509, org.jboss.wsf.common, org.jboss.ws,
org.jboss.wsf.common.injection, com.ibm.wsdl.extensions.http,
org.jboss.ws.extensions.security.auth.callback, com.sun.xml.fastinfoset.sax,
javax.xml.crypto.dsig, org.jboss.netty.handler.stream, org.jboss.wsf.framework,
javax.xml.crypto.dom] <IMPORT-ALL>NON_EMPTY}}
2009-09-10 19:04:56,038 INFO [org.apache.coyote.http11.Http11Protocol] (main) Starting
Coyote HTTP/1.1 on http-0.0.0.0-8080
2009-09-10 19:04:56,084 INFO [org.apache.coyote.ajp.AjpProtocol] (main) Starting Coyote
AJP/1.3 on ajp-0.0.0.0-8009
2009-09-10 19:04:56,104 INFO [org.jboss.bootstrap.microcontainer.ServerImpl] (main)
JBoss (Microcontainer) [5.1.0.GA (build: SVNTag=JBoss_5_1_0_GA date=200905221634)] Started
in 1m:12s:869ms
2009-09-10 19:06:44,168 ERROR
[org.apache.catalina.core.ContainerBase.[jboss.web].[localhost].[/jbossws]]
(http-0.0.0.0-8080-1) StandardWrapper.Throwable
org.jboss.wsf.spi.WSFException: Failed to provide SPI 'class
org.jboss.wsf.spi.management.EndpointRegistryFactory'
at org.jboss.wsf.framework.DefaultSPIProvider.getSPI(DefaultSPIProvider.java:149)
at org.jboss.wsf.framework.management.ContextServlet.init(ContextServlet.java:63)
at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1048)
at org.apache.catalina.core.StandardWrapper.allocate(StandardWrapper.java:777)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:129)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
at
org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:190)
at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:92)
at
org.jboss.web.tomcat.security.SecurityContextEstablishmentValve.process(SecurityContextEstablishmentValve.java:126)
at
org.jboss.web.tomcat.security.SecurityContextEstablishmentValve.invoke(SecurityContextEstablishmentValve.java:70)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
at
org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:158)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:330)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:829)
at
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:598)
at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
at java.lang.Thread.run(Thread.java:619)
2009-09-10 19:06:44,180 ERROR
[org.apache.catalina.core.ContainerBase.[jboss.web].[localhost].[/jbossws].[ContextServlet]]
(http-0.0.0.0-8080-1) Allocate exception for servlet ContextServlet
org.jboss.wsf.spi.WSFException: Failed to provide SPI 'class
org.jboss.wsf.spi.management.EndpointRegistryFactory'
at org.jboss.wsf.framework.DefaultSPIProvider.getSPI(DefaultSPIProvider.java:149)
at org.jboss.wsf.framework.management.ContextServlet.init(ContextServlet.java:63)
at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1048)
at org.apache.catalina.core.StandardWrapper.allocate(StandardWrapper.java:777)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:129)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
at
org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:190)
at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:92)
at
org.jboss.web.tomcat.security.SecurityContextEstablishmentValve.process(SecurityContextEstablishmentValve.java:126)
at
org.jboss.web.tomcat.security.SecurityContextEstablishmentValve.invoke(SecurityContextEstablishmentValve.java:70)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
at
org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:158)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:330)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:829)
at
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:598)
at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
at java.lang.Thread.run(Thread.java:619)
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: