Exception : javax.xml.rpc.JAXRPCException: Null qualified na
nd_deshmukh Oct 26, 2005 6:28 AMHi,
I am using JBoss application server.
In webservice code I am using Hibernate for O/R mapping.
XDOclet creates *.hbm.xml dynamicaly.
At deloyment time(i.e. when I publishes web service) server throws following exception:
--------------------------------------------------------------------------------------------------------
15:44:02,140 ERROR [MainDeployer] could not start deployment: file:/C:/tmp/deploy/tmp55179local-bupa-intranet-international-appservice-ear-1.0.1.ear-contents/bupa-intranet-international-appservice-ejb-wsr-1.0.1.wsr
org.jboss.deployment.DeploymentException: Could not deploy axis descriptor.; - nested throwable: (org.apache.axis.deployment.wsdd.WSDDException: Could not equip typemapping with options because oforg.apache.axis.deployment.wsdd.WSDDException: javax.xml.rpc.JAXRPCException: Null qualified name specified.
javax.xml.rpc.JAXRPCException: Null qualified name specified.
at org.apache.axis.encoding.TypeMappingImpl.internalRegister(TypeMappingImpl.java:273)
at org.apache.axis.encoding.TypeMappingImpl.register(TypeMappingImpl.java:255)
at org.apache.axis.deployment.wsdd.WSDDDeployment.deployMapping(WSDDDeployment.java:354)
at org.apache.axis.deployment.wsdd.WSDDDeployment.getTypeMappingRegistry(WSDDDeployment.java:520)
at org.jboss.net.axis.Deployment.getTypeMappingRegistry(Deployment.java:207)
at org.jboss.net.axis.Deployment.equipTypeMappingWithOptions(Deployment.java:113)
at org.jboss.net.axis.Deployment.deployTypeMapping(Deployment.java:196)
at org.jboss.net.axis.Deployment.(Deployment.java:83)
at org.jboss.net.axis.server.AxisService.start(AxisService.java:491)
at org.jboss.deployment.MainDeployer.start(MainDeployer.java:836)
at org.jboss.deployment.MainDeployer.start(MainDeployer.java:828)
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:645)
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:608)
at sun.reflect.GeneratedMethodAccessor16.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at org.jboss.mx.server.ReflectedDispatcher.dispatch(ReflectedDispatcher.java:60)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:61)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:53)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:185)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:473)
at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:176)
at $Proxy7.deploy(Unknown Source)
at org.jboss.deployment.scanner.URLDeploymentScanner.deploy(URLDeploymentScanner.java:304)
at org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentScanner.java:460)
at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.doScan(AbstractDeploymentScanner.java:201)
at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.loop(AbstractDeploymentScanner.java:212)
at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.run(AbstractDeploymentScanner.java:191)
org.apache.axis.deployment.wsdd.WSDDException: javax.xml.rpc.JAXRPCException: Null qualified name specified.
javax.xml.rpc.JAXRPCException: Null qualified name specified.
at org.apache.axis.encoding.TypeMappingImpl.internalRegister(TypeMappingImpl.java:273)
---------------------------------------------------------------------------------------------------------
Respective *.hbm.xml is:
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE hibernate-mapping PUBLIC
"-//Hibernate/Hibernate Mapping DTD 3.0//EN"
"http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd">
<hibernate-mapping
>
<id
name="volunteerRequestId"
column="EVENT_ID"
type="int"
unsaved-value="null"
>
BWA_EVENT_S
<!--
To add non XDoclet generator parameters, create a file named
hibernate-generator-params-VolunteerRequestDO.xml
containing the additional parameters and place it in your merge dir.
-->
<!--
To add non XDoclet property mappings, create a file named
hibernate-properties-VolunteerRequestDO.xml
containing the additional properties and place it in your merge dir.
-->
</hibernate-mapping>
-nitin