[Design of JBoss Web Services] - JBoss 5.0.CR1 and JSF Error
by poss
I have a deployed war that works perfectly well on 4.2.2.
Using the defaults, I get all kinds of errors when I start up on
JBOss 5.0.cr1.
Does anyone have any idea what I can do to fix this?
Thanks
Here is the error:
====================================================================
2008-07-25 11:47:42,819 INFO [org.jboss.web.WebService:createService] Using RMI server codebase: http://127.0.0.1:8083/
2008-07-25 11:47:53,088 ERROR [org.jboss.kernel.plugins.dependency.AbstractKernelController:incrementState] Error installing to Parse: name=vfszip:/home/Desktop/jboss5/jboss-5.0.0.CR1/server/Picasso/deploy/Picasso.war state=Not Installed mode=Manual requiredState=Parse
org.jboss.deployers.spi.DeploymentException: Error creating managed object for vfszip:/home/Desktop/jboss5/jboss-5.0.0.CR1/server/Picasso/deploy/Picasso.war
at org.jboss.deployers.spi.DeploymentException.rethrowAsDeploymentException(DeploymentException.java:49)
at org.jboss.deployers.spi.deployer.helpers.AbstractParsingDeployerWithOutput.createMetaData(AbstractParsingDeployerWithOutput.java:343)
at org.jboss.deployers.spi.deployer.helpers.AbstractParsingDeployerWithOutput.createMetaData(AbstractParsingDeployerWithOutput.java:303)
at org.jboss.deployers.spi.deployer.helpers.AbstractParsingDeployerWithOutput.createMetaData(AbstractParsingDeployerWithOutput.java:275)
at org.jboss.deployers.spi.deployer.helpers.AbstractParsingDeployerWithOutput.deploy(AbstractParsingDeployerWithOutput.java:236)
at org.jboss.deployers.plugins.deployers.DeployerWrapper.deploy(DeployerWrapper.java:174)
at org.jboss.deployers.plugins.deployers.DeployersImpl.doInstallParentFirst(DeployersImpl.java:970)
at org.jboss.deployers.plugins.deployers.DeployersImpl.install(DeployersImpl.java:911)
at org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:348)
at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:1392)
at org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:784)
at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:912)
at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:834)
at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:672)
at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:455)
at org.jboss.deployers.plugins.deployers.DeployersImpl.process(DeployersImpl.java:594)
at org.jboss.deployers.plugins.main.MainDeployerImpl.process(MainDeployerImpl.java:541)
at org.jboss.system.server.profileservice.ProfileServiceBootstrap.loadProfile(ProfileServiceBootstrap.java:257)
at org.jboss.system.server.profileservice.ProfileServiceBootstrap.start(ProfileServiceBootstrap.java:135)
at org.jboss.bootstrap.AbstractServerImpl.start(AbstractServerImpl.java:409)
at org.jboss.Main.boot(Main.java:209)
at org.jboss.Main$1.run(Main.java:544)
at java.lang.Thread.run(Thread.java:595)
Caused by: org.jboss.xb.binding.JBossXBException: Failed to parse source: Failed to parse schema for nsURI=http://java.sun.com/JSF/Configuration, baseURI=null, schemaLocation=http://java.sun.com/dtd/web-facesconfig_1_1.dtd
at org.jboss.xb.binding.parser.sax.SaxJBossXBParser.parse(SaxJBossXBParser.java:203)
at org.jboss.xb.binding.UnmarshallerImpl.unmarshal(UnmarshallerImpl.java:168)
at org.jboss.deployers.vfs.spi.deployer.JBossXBDeployerHelper.parse(JBossXBDeployerHelper.java:198)
at org.jboss.deployers.vfs.spi.deployer.JBossXBDeployerHelper.parse(JBossXBDeployerHelper.java:170)
at org.jboss.deployers.vfs.spi.deployer.SchemaResolverDeployer.parse(SchemaResolverDeployer.java:132)
at org.jboss.deployers.vfs.spi.deployer.SchemaResolverDeployer.parse(SchemaResolverDeployer.java:118)
at org.jboss.deployers.vfs.spi.deployer.AbstractVFSParsingDeployer.parse(AbstractVFSParsingDeployer.java:185)
at org.jboss.deployers.spi.deployer.helpers.AbstractParsingDeployerWithOutput.createMetaData(AbstractParsingDeployerWithOutput.java:336)
... 21 more
Caused by: org.jboss.xb.binding.JBossXBRuntimeException: Failed to parse schema for nsURI=http://java.sun.com/JSF/Configuration, baseURI=null, schemaLocation=http://java.sun.com/dtd/web-facesconfig_1_1.dtd
at org.jboss.xb.binding.sunday.unmarshalling.DefaultSchemaResolver.resolve(DefaultSchemaResolver.java:340)
at org.jboss.xb.binding.sunday.unmarshalling.SundayContentHandler.startElement(SundayContentHandler.java:302)
at org.jboss.xb.binding.parser.sax.SaxJBossXBParser$DelegatingContentHandler.startElement(SaxJBossXBParser.java:401)
at org.apache.xerces.parsers.AbstractSAXParser.startElement(Unknown Source)
at org.apache.xerces.impl.xs.XMLSchemaValidator.startElement(Unknown Source)
at org.apache.xerces.xinclude.XIncludeHandler.startElement(Unknown Source)
at org.apache.xerces.impl.dtd.XMLDTDValidator.startElement(Unknown Source)
at org.apache.xerces.impl.XMLNSDocumentScannerImpl.scanStartElement(Unknown Source)
at org.apache.xerces.impl.XMLNSDocumentScannerImpl$NSContentDispatcher.scanRootElementHook(Unknown Source)
at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(Unknown Source)
at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source)
at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)
at org.apache.xerces.jaxp.SAXParserImpl$JAXPSAXParser.parse(Unknown Source)
at org.jboss.xb.binding.parser.sax.SaxJBossXBParser.parse(SaxJBossXBParser.java:199)
... 28 more
Caused by: org.jboss.xb.binding.JBossXBRuntimeException: -1:-1 25:3 The markup in the document preceding the root element must be well-formed.
at org.jboss.xb.binding.sunday.unmarshalling.XsdBinderTerminatingErrorHandler.handleError(XsdBinderTerminatingErrorHandler.java:40)
at org.apache.xerces.impl.xs.XMLSchemaLoader.reportDOMFatalError(Unknown Source)
at org.apache.xerces.impl.xs.XSLoaderImpl.load(Unknown Source)
at org.jboss.xb.binding.Util.loadSchema(Util.java:395)
at org.jboss.xb.binding.sunday.unmarshalling.XsdBinder.bind(XsdBinder.java:175)
at org.jboss.xb.binding.sunday.unmarshalling.XsdBinder.bind(XsdBinder.java:146)
at org.jboss.xb.binding.sunday.unmarshalling.DefaultSchemaResolver.resolve(DefaultSchemaResolver.java:332)
===========================================================
Do I have to modify my configuration somewhere?
Any help would be appreciated.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4167116#4167116
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4167116
16 years, 5 months
WS not resolving xml.xsd locally anymore as of 4.2.3.GA?
by Chris Laprun
Hi all,
A problem has surfaced with JBoss Portal and its WSRP implementation
while testing on 4.2.3.GA. If you try to run Portal while being
offline, you will get the following error:
Caused by: org.jboss.ws.metadata.wsdl.WSDLException:
javax.wsdl.WSDLException: WSDLException: faultCode=OTHER_ERROR: Cannot
extract schema definition: java.net.UnknownHostException: www.w3.org
at
org
.jboss
.ws
.tools.wsdl.WSDLDefinitionsFactory.parse(WSDLDefinitionsFactory.java:
154)
at
org
.jboss
.ws
.metadata.umdm.ServiceMetaData.getWsdlDefinitions(ServiceMetaData.java:
295)
at
org
.jboss
.ws
.metadata
.builder
.jaxrpc
.JAXRPCServerMetaDataBuilder
.buildMetaData(JAXRPCServerMetaDataBuilder.java:97)
at
org
.jboss
.wsf
.stack
.jbws
.UnifiedMetaDataDeploymentAspect
.create(UnifiedMetaDataDeploymentAspect.java:56)
at
org
.jboss
.wsf
.framework
.deployment
.DeploymentAspectManagerImpl.deploy(DeploymentAspectManagerImpl.java:
118)
at
org
.jboss
.wsf
.container.jboss42.ArchiveDeployerHook.deploy(ArchiveDeployerHook.java:
97)
at
org
.jboss
.wsf
.container.jboss42.DeployerInterceptor.start(DeployerInterceptor.java:
90)
at org.jboss.deployment.SubDeployerInterceptorSupport
$XMBeanInterceptor.start(SubDeployerInterceptorSupport.java:188)
at
org
.jboss
.deployment.SubDeployerInterceptor.invoke(SubDeployerInterceptor.java:
95)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
at
org
.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:
264)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
at $Proxy158.start(Unknown Source)
at org.jboss.deployment.MainDeployer.start(MainDeployer.java:1025)
... 115 more
Caused by: javax.wsdl.WSDLException: WSDLException:
faultCode=OTHER_ERROR: Cannot extract schema definition:
java.net.UnknownHostException: www.w3.org
at
org.jboss.ws.tools.wsdl.WSDL11Reader.processTypes(WSDL11Reader.java:394)
at
org.jboss.ws.tools.wsdl.WSDL11Reader.processTypes(WSDL11Reader.java:416)
at
org.jboss.ws.tools.wsdl.WSDL11Reader.processTypes(WSDL11Reader.java:416)
at
org
.jboss.ws.tools.wsdl.WSDL11Reader.processDefinition(WSDL11Reader.java:
178)
at
org
.jboss
.ws
.tools.wsdl.WSDLDefinitionsFactory.parse(WSDLDefinitionsFactory.java:
128)
... 129 more
Caused by: java.net.UnknownHostException: www.w3.org
at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:177)
at java.net.Socket.connect(Socket.java:520)
at java.net.Socket.connect(Socket.java:470)
at sun.net.NetworkClient.doConnect(NetworkClient.java:157)
at sun.net.www.http.HttpClient.openServer(HttpClient.java:387)
at sun.net.www.http.HttpClient.openServer(HttpClient.java:522)
at sun.net.www.http.HttpClient.<init>(HttpClient.java:231)
at sun.net.www.http.HttpClient.New(HttpClient.java:304)
at sun.net.www.http.HttpClient.New(HttpClient.java:321)
at
sun
.net
.www
.protocol
.http.HttpURLConnection.getNewHttpClient(HttpURLConnection.java:813)
at
sun
.net
.www
.protocol.http.HttpURLConnection.plainConnect(HttpURLConnection.java:
765)
at
sun
.net
.www.protocol.http.HttpURLConnection.connect(HttpURLConnection.java:690)
at
sun
.net
.www
.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:
934)
at java.net.URL.openStream(URL.java:1007)
at
org
.jboss
.ws.tools.wsdl.WSDL11Reader.handleSchemaImports(WSDL11Reader.java:588)
at
org
.jboss
.ws.tools.wsdl.WSDL11Reader.handleSchemaImports(WSDL11Reader.java:589)
at
org
.jboss
.ws.tools.wsdl.WSDL11Reader.processSchemaInclude(WSDL11Reader.java:560)
at
org.jboss.ws.tools.wsdl.WSDL11Reader.processTypes(WSDL11Reader.java:385)
... 133 more
which I think is caused by the WSDL parser failing to resolve an
import in the WSDL type definition for WSRP:
<import namespace="http://www.w3.org/XML/1998/namespace"
schemaLocation="http://www.w3.org/2001/xml.xsd"/>
This scenario (offline running) was properly handled in 4.2.2.GA (and
previous versions) so this seems as a regression to me.
Any ideas?
Best,
Chris
==
JBoss Portal Developer / WSRP Lead
JBoss, a division of Red Hat
JBoss Portal blog: http://jbossportal.blogspot.com
Personal blog: http://blogs.codepuccino.com/metacosm
"Reality is that which, when you stop believing in it, doesn't go
away." - Philip K. Dick
16 years, 5 months
JAXR 1.2.0.SP2
by Richard Opalka
Hi Darran,
I'm going to test JAXR 1.2.0.SP2-SNAPSHOT with tck 5 today.
Do you have something on your plate you want to put into JAXR
before we will release nonsnapshot version?
--
B.Sc. Richard Opalka
Senior Software Engineer
JBoss, a division of Red Hat
Mobile: +420 731 186 942
Mail: ropalka(a)redhat.com
16 years, 5 months