Help coderanch get a
new server
by contributing to the fundraiser

reddy kumar pavan

Greenhorn
+ Follow
since Jul 01, 2007
Merit badge: grant badges
For More
Cows and Likes
Cows
Total received
In last 30 days
0
Forums and Threads

Recent posts by reddy kumar pavan

Hi,

Does anyone has SCBCD 5.0 voucher for sale.
I stay in Pune Maharastra India.
You can contact me through my mail id:tpawankumar@gmail.com
14 years ago
Hi All,

I want to migrate my application from weblogic 8.1.4 to Jboss 4.0.5 but i have some resources which are specific to Weblogic 8.1.4 like .jpd files and .jcx files.

.jpd file is java process definition which is used to define work flow or business process.
.jcx file is java control file which is used for connecting to enterprise resources like databases,JMS destinations etc.,

Could some one help me how to migrate these things to Jboss.

Thanks & Regards
Pavan.
15 years ago
Hi All,

I have one doubt in hibernate When i update any record in the database will it always fire select query first and then fire update query or if not in what cases will it fire select and then update.

Please let me know.

Thanks in advance.
Hi All,

When i generated schema classes from jaxb 2.1.5.It generated XMLGregorianCalendar data type for xml type xsd ate.Then i changed my schema adding inline annotations and binded the XMLGregorianCalendar to Calendar.Following is the code that i have added in my schema.







But When i generated the client stubs using wsconsume from the WSDL it is still generating XMLGregorianCalendar data type.

So my question what should i do to bind the data type XMLGregorianCalendar to Calendar in client side stubs,
but i should not change the WSDL.

Please help me.

Thanks
Pavan
16 years ago
Hi,

I am trying to deploy sample webservice by using Jax-ws.
I am using JBOSS 4.2.1GA application server and Jbossws 2.0.1GA.

The code for Remote interface is

package com.covad.Inter;

import java.rmi.Remote;
import java.rmi.RemoteException;
import javax.jws.WebService;
import javax.jws.soap.SOAPBinding;


@WebService(name="Hello",targetNamespace = "http://Inter.covad.com/")
@SOAPBinding(style = SOAPBinding.Style.RPC)
public interface Hello extends Remote {

String echo(String value) throws RemoteException;

}


and this is my implementation class

package com.covad.impl;

import javax.jws.WebService;
import javax.jws.soap.SOAPBinding;


@WebService(endpointInterface = "com.covad.Inter.Hello", name="Hello")
@SOAPBinding(style = SOAPBinding.Style.RPC)
public class HelloImpl {

public String echo(String value)
{
return "Hello"+value;
}

}

and this my WSDL file which i generated by wsprovide tool

<?xml version="1.0" encoding="UTF-8"?>
<definitions name='HelloService' targetNamespace='http://Inter.covad.com/' xmlns='http://schemas.xmlsoap.org/wsdl/' xmlns:soap='http://schemas.xmlsoap.org/wsdl/soap/' xmlns:tns='http://Inter.covad.com/' xmlns:xsd='http://www.w3.org/2001/XMLSchema'>
<types/>
<message name='Hello_echo'>
<part name='arg0' type='xsd:string'/>
</message>
<message name='Hello_echoResponse'>
<part name='return' type='xsd:string'/>
</message>
<portType name='Hello'>
<operation name='echo' parameterOrder='arg0'>
<input message='tns:Hello_echo'/>
<output message='tns:Hello_echoResponse'/>
</operation>
</portType>
<binding name='HelloBinding' type='tns:Hello'>
<soap:binding style='rpc' transport='http://schemas.xmlsoap.org/soap/http'/>
<operation name='echo'>
<soap peration soapAction=''/>
<input>
<soap:body namespace='http://Inter.covad.com/' use='literal'/>
</input>
<output>
<soap:body namespace='http://Inter.covad.com/' use='literal'/>
</output>
</operation>
</binding>
<service name='HelloService'>
<port binding='tns:HelloBinding' name='HelloPort'>
<soap:address location='REPLACE_WITH_ACTUAL_URL'/>
</port>
</service>
</definitions>

and this is my Web.xml file

<?xml version="1.0" encoding="UTF-8"?>
<web-app xmlns="http://java.sun.com/xml/ns/j2ee"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee
http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd"
version="2.4">

<servlet>
<servlet-name>JWeb</servlet-name>
<servlet-class>com.covad.impl.HelloImpl</servlet-class>
</servlet>

<servlet-mapping>
<servlet-name>JWeb</servlet-name>
<url-pattern>/*</url-pattern>
</servlet-mapping>

</web-app>

then i created war file with following directory

warfilename/WEB-INF/classes
warfilename/WEB-INF/lib
warfilename/WEB-INF/web.xml
warfilename/META-INF/wsdl/HelloService.wsdl

and tried to deploy and following is the exception i am getting

16:06:34,537 ERROR [MainDeployer] Could not start deployment: file:/D:/jboss-4.2
.1.GA/server/default/deploy/JbossWebService.war
java.lang.IllegalStateException: Cannot find endpoint meta data for: JWeb
at org.jboss.wsf.stack.jbws.UnifiedMetaDataDeploymentAspect.getEndpointM
etaData(UnifiedMetaDataDeploymentAspect.java:117)
at org.jboss.wsf.stack.jbws.UnifiedMetaDataDeploymentAspect.create(Unifi
edMetaDataDeploymentAspect.java:86)
at org.jboss.wsf.framework.deployment.DeploymentAspectManagerImpl.deploy
(DeploymentAspectManagerImpl.java:115)
at org.jboss.wsf.container.jboss42.ArchiveDeployerHook.deploy(ArchiveDep
loyerHook.java:97)
at org.jboss.wsf.container.jboss42.DeployerInterceptor.start(DeployerInt
erceptor.java:90)
at org.jboss.deployment.SubDeployerInterceptorSupport$XMBeanInterceptor.
start(SubDeployerInterceptorSupport.java:188)
at org.jboss.deployment.SubDeployerInterceptor.invoke(SubDeployerInterce
ptor.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 $Proxy45.start(Unknown Source)
at org.jboss.deployment.MainDeployer.start(MainDeployer.java:1025)
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:819)
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:782)
at sun.reflect.GeneratedMethodAccessor20.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatch
er.java:155)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractIntercept
or.java:133)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelM
BeanOperationInterceptor.java:142)
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 $Proxy9.deploy(Unknown Source)
at org.jboss.deployment.scanner.URLDeploymentScanner.deploy(URLDeploymen
tScanner.java:421)
at org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentS
canner.java:634)
at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.
doScan(AbstractDeploymentScanner.java:263)
at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.
loop(AbstractDeploymentScanner.java:274)
at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.
run(AbstractDeploymentScanner.java:225)


Please let me if i am missing something?

Please help me.

Thanks in Advance.
16 years ago
Hi,

I have tried TOP-DOWN approach.
I have WSDL file and used the following command for generating the remote interface and client side artifacts

wsconsume -k mcafeeAdapterContract.wsdl

Following is my WSDL file

<?xml version="1.0" encoding="UTF-8" standalone="yes"?>

<definitions

name="VendorOrderService"

targetNamespace="http://smo.xsd.covad.com/vendororder"

xmlns="http://schemas.xmlsoap.org/wsdl/"

xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"

xmlns:xsd="http://www.w3.org/2001/XMLSchema"

xmlns:tns="http://smo.xsd.covad.com/vendororder">

<types>

<xsd:schema

targetNamespace="http://smo.xsd.covad.com/vendororder"

elementFormDefault="qualified">

<xsd:element name="vendorOrderException" type="tns:VendorOrderException"/>

<xsd:element name="processVendorOrder" type="tns rocessVendorOrder"/>

<xsd:element name="processVendorOrderResponse" type="tns rocessVendorOrderResponse"/>

<xsd:complexType name="ProcessVendorOrder">

<xsd:sequence>

<xsd:element name="vendorOrder" type="tns:VendorOrder"/>

</xsd:sequence>

</xsd:complexType>

<xsd:complexType name="ProcessVendorOrderResponse">

<xsd:sequence>

<xsd:element name="return" type="tns:VendorOrder" minOccurs="0"/>

</xsd:sequence>

</xsd:complexType>

<xsd:complexType name="VendorOrderException">

<xsd:sequence>

<xsd:element name="errorCode" type="xsd:int"/>

<xsd:element name="errorDescription" type="xsd:string"/>

</xsd:sequence>

</xsd:complexType>

<xsd:complexType name="VendorOrder">

<xsd:sequence>

<xsd:element name="orderID" type="xsd:int"/>

<xsd:element name="vendorID" type="xsd:int"/>

<xsd:element name="vendorOrderID" type="xsd:string" minOccurs="0"/>

<xsd:element name="orderReceivedDate" type="xsd ateTime"/>

<xsd:element name="contractAcceptedFlag" type="xsd:boolean" minOccurs="0"/>

<xsd:element name="contractAcceptedDate" type="xsd ateTime" minOccurs="0"/>

<xsd:element name="productLanguageCode" type="xsd:string"/>

<xsd:element name="client" type="tns:Client" minOccurs="0"/>

<xsd:element name="lineItem" type="tns:LineItem" minOccurs="0" maxOccurs="unbounded"/>

</xsd:sequence>

</xsd:complexType>

<xsd:complexType name="Client">

<xsd:sequence>

<xsd:element name="clientID" type="xsd:int"/>

<xsd:element name="salutation" type="xsd:string" minOccurs="0"/>

<xsd:element name="email" type="xsd:string" minOccurs="0"/>

<xsd:element name="password" type="xsd:string" minOccurs="0"/>

<xsd:element name="firstName" type="xsd:string" minOccurs="0"/>

<xsd:element name="lastName" type="xsd:string" minOccurs="0"/>

<xsd:element name="phone" type="tns honeNumber" minOccurs="0"/>

<xsd:element name="fax" type="tns honeNumber" minOccurs="0"/>

<xsd:element name="companyName" type="xsd:string" minOccurs="0"/>

<xsd:element name="streetAddress1" type="xsd:string" minOccurs="0"/>

<xsd:element name="streetAddress2" type="xsd:string" minOccurs="0"/>

<xsd:element name="unit" type="xsd:string" minOccurs="0"/>

<xsd:element name="city" type="xsd:string" minOccurs="0"/>

<xsd:element name="state" type="tns:State" minOccurs="0"/>

<xsd:element name="zip" type="tns:Zip" minOccurs="0"/>

<xsd:element name="zip4" type="tns:Zip4" minOccurs="0"/>

<xsd:element name="countryCode" type="xsd:string" minOccurs="0"/>

</xsd:sequence>

</xsd:complexType>

<xsd:complexType name="PhoneNumber">

<xsd:sequence>

<xsd:element name="areaCode" type="tns:AreaCode" minOccurs="0"/>

<xsd:element name="prefix" type="tns refix" minOccurs="0"/>

<xsd:element name="suffix" type="tns:Suffix" minOccurs="0"/>

<xsd:element name="extension" type="tns:Extension" minOccurs="0"/>

</xsd:sequence>

</xsd:complexType>

<xsd:complexType name="LineItem">

<xsd:sequence>

<xsd:element name="clientServiceID" type="xsd:int"/>

<xsd:element name="productID" type="xsd:int"/>

<xsd:element name="vendorProductID" type="xsd:string"/>

<xsd:element name="quantity" type="xsd:int"/>

<xsd:element name="lineItemNumber" type="xsd:int"/>

<xsd:element name="lineItemAction" type="tns:LineItemAction"/>

<xsd:element name="parameter" type="tns arameter" minOccurs="0" maxOccurs="unbounded"/>

</xsd:sequence>

</xsd:complexType>

<xsd:complexType name="Parameter">

<xsd:sequence>

<xsd:element name="name" type="xsd:string"/>

<xsd:element name="value" type="xsd:string"/>

</xsd:sequence>

</xsd:complexType>

<xsd:simpleType name="LineItemAction">

<xsd:restriction base="xsd:string">

<xsd:enumeration value="INSTALL"/>

<xsd:enumeration value="CHANGE"/>

<xsd:enumeration value="DISCONNECT"/>

</xsd:restriction>

</xsd:simpleType>

<xsd:simpleType name="AreaCode">

<xsd:restriction base="xsd:string">

<xsd attern value="[0-9]{3}"/>

</xsd:restriction>

</xsd:simpleType>

<xsd:simpleType name="Prefix">

<xsd:restriction base="xsd:string">

<xsd attern value="[0-9]{3}"/>

</xsd:restriction>

</xsd:simpleType>

<xsd:simpleType name="Suffix">

<xsd:restriction base="xsd:string">

<xsd attern value="[0-9]{4}"/>

</xsd:restriction>

</xsd:simpleType>

<xsd:simpleType name="Extension">

<xsd:restriction base="xsd:string">

<xsd attern value="[0-9]*"/>

</xsd:restriction>

</xsd:simpleType>

<xsd:simpleType name="State">

<xsd:restriction base="xsd:string">

<xsd attern value="[A-Z]{2}"/>

</xsd:restriction>

</xsd:simpleType>

<xsd:simpleType name="Zip">

<xsd:restriction base="xsd:string">

<xsd attern value="[0-9]{5}"/>

</xsd:restriction>

</xsd:simpleType>

<xsd:simpleType name="Zip4">

<xsd:restriction base="xsd:string">

<xsd attern value="[0-9]{4}"/>

</xsd:restriction>

</xsd:simpleType>

</xsd:schema>

</types>

<message name="ProcessVendorOrder">

<part name="input" element="tns rocessVendorOrder"/>

</message>

<message name="ProcessVendorOrderResponse">

<part name="output" element="tns rocessVendorOrderResponse"/>

</message>

<message name="VendorOrderException">

<part name="fault" element="tns:vendorOrderException"/>

</message>

<portType name="VendorOrderPort">

<operation name="processVendorOrder">

<input message="tns rocessVendorOrder"/>

<output message="tns rocessVendorOrderResponse"/>

<fault name="VendorOrderException" message="tns:VendorOrderException"/>

</operation>

</portType>

<binding name="VendorOrderBinding" type="tns:VendorOrderPort">

<soap:binding transport="http://schemas.xmlsoap.org/soap/http" style="document"/>

<operation name="processVendorOrder">

<soap peration/>

<input>

<soap:body use="literal"/>

</input>

<output>

<soap:body use="literal"/>

</output>

<fault name="VendorOrderException">

<soap:fault name="VendorOrderException" use="literal"/>

</fault>

</operation>

</binding>

<service name="VendorOrderService">

<port name="VendorOrderPort" binding="tns:VendorOrderBinding">

<soap:address location="http://localhost:8080/mcafeeAdapter"/>

</port>

</service>

</definitions>


Following is my Remote Interface

import javax.jws.WebMethod;
import javax.jws.WebService;


import java.rmi.Remote;
import java.rmi.RemoteException;


/**
* JBossWS Generated Source
*
* Generation Date: Tue Oct 23 09:29:51 IST 2007
*
* This generated source code represents a derivative work of the input to
* the generator that produced it. Consult the input for the copyright and
* terms of use that apply to this source code.
*
* JAX-WS Version: 2.0
*
*/
@WebService(name = "VendorOrderPort", targetNamespace = "http://smo.xsd.covad.com/vendororder")
public interface VendorOrderPort extends Remote{


/**
*
* @param vendorOrder
* @return
* returns com.covad.xsd.smo.vendororder.VendorOrder
* @throws RemoteException
*/
@WebMethod
public VendorOrder processVendorOrder(
VendorOrder vendorOrder)
throws RemoteException;

}


Following is my Implementation class of webservice

import org.apache.commons.logging.Log;

import org.apache.commons.logging.LogFactory;

//import com.covad.xsd.smo.vendororder.VendorOrderPort;

import javax.jws.WebService;
//import javax.jws.WebMethod;
//import javax.jws.WebParam;
//import javax.jws.WebResult;


@WebService(endpointInterface="com.covad.xsd.smo.vendororder.VendorOrderPort",name = "VendorOrderPort")
public class macafeeAdapter {



private static Log logger = LogFactory.getLog("com.covad.mcafee.adapter");


public VendorOrder processVendorOrder(VendorOrder vendorOrder) {



// logger.info("Entering mcafeeadapter.processVendorOrder() with "+vendorOrder.xmlText());

logger.info("Entering mcafeeadapter.processVendorOrder() with ");

McAfeeProxy mcAfeeProxy = new McAfeeProxy();

VendorOrder res = mcAfeeProxy.processVendorOrder(vendorOrder);

logger.info("COMPLETE");

return res;

}

}

I am using JBoss 4.2.1 Application server and Jbossws 2.0.1 and used JAXB 2.0 for generating schema classes.

Now when i tried to deploy the application
I am getting the following exception

10:46:07,747 ERROR [MainDeployer] Could not start deployment: file:/D:/jboss-4.2
.1.GA/server/default/deploy/mcafeeAdapter.war
java.lang.IllegalStateException: Cannot find endpoint meta data for: MacafeeAdapter
at org.jboss.wsf.stack.jbws.UnifiedMetaDataDeploymentAspect.getEndpointM
etaData(UnifiedMetaDataDeploymentAspect.java:117)
at org.jboss.wsf.stack.jbws.UnifiedMetaDataDeploymentAspect.create(Unifi
edMetaDataDeploymentAspect.java:86)
at org.jboss.wsf.framework.deployment.DeploymentAspectManagerImpl.deploy
(DeploymentAspectManagerImpl.java:115)
at org.jboss.wsf.container.jboss42.ArchiveDeployerHook.deploy(ArchiveDep
loyerHook.java:97)
at org.jboss.wsf.container.jboss42.DeployerInterceptor.start(DeployerInt
erceptor.java:90)
at org.jboss.deployment.SubDeployerInterceptorSupport$XMBeanInterceptor.
start(SubDeployerInterceptorSupport.java:188)
at org.jboss.deployment.SubDeployerInterceptor.invoke(SubDeployerInterce
ptor.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 $Proxy45.start(Unknown Source)
at org.jboss.deployment.MainDeployer.start(MainDeployer.java:1025)
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:819)
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:782)
at sun.reflect.GeneratedMethodAccessor20.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatch
er.java:155)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractIntercept
or.java:133)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelM
BeanOperationInterceptor.java:142)
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 $Proxy9.deploy(Unknown Source)
at org.jboss.deployment.scanner.URLDeploymentScanner.deploy(URLDeploymen
tScanner.java:421)
at org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentS
canner.java:634)
at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.
doScan(AbstractDeploymentScanner.java:263)
at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.
loop(AbstractDeploymentScanner.java:274)
at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.
run(AbstractDeploymentScanner.java:225)

Structure of my application is
mcafeeAdapter.war
|_WEB-INF
|_classes
|_wsdl
|_lib
|_web.xml


Contents of Web.xml

<web-app xmlns="http://java.sun.com/xml/ns/j2ee"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee
http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd"
version="2.4">

<servlet>
<servlet-name>MacafeeAdapter</servlet-name>
<servlet-class>com.covad.mcafee.adapter.webservice.macafeeAdapter</servlet-class>
</servlet>

<servlet-mapping>
<servlet-name>MacafeeAdapter</servlet-name>
<url-pattern>/*</url-pattern>
</servlet-mapping>

</web-app>


I am not getting where the problem.

Please help me.

Thanks in Advance.
16 years ago
Hi All,

I am migrating webservice from weblogic to JBoss 4.2.1.
Weblogic uses internally XMLBeans for generation of schema related classes and for migration to JBOSS i have used JAXB 2.0.
I have the following complex element in XSD

<xsd:complexType name="Bundle">
<xsd:sequence>
<xsd:element name="XMLParseStatus" type="XMLParseStatus" minOccurs="0"/>
<xsd:element name="PartnerGeneratedOrderID" type="xsd:int"/>
<xsd:element name="ProductType" type="xsd:string"/>
<xsd:element name="AutoRenewalFlag" type="xsd:int" minOccurs="0"/>
<xsd:element name="OrderDate" type="xsd ate"/>
<xsd:choice>
<xsd:element name="DeskTopCount" type="xsd:int"/>
<xsd:element name="NumberOfMailBoxes" type="xsd:int"/>
</xsd:choice>
<xsd:element name="SubscriptionLength" type="xsd:int"/>
<xsd:element name="ServiceLevel" type="xsd:int"/>
<xsd:element name="PaymentType" type="xsd:int"/>
<xsd:element name="ProductLanguageCode" type="xsd:string" minOccurs="0"/>
</xsd:sequence>
</xsd:complexType>

For Order Date
XMLBeans creates java.util.Calendar datatype
JAXB generates javax.xml.bind.XMLGregarionCalendar datatype

i have to Requirement where i have to use java.util.Calendar.

Is there any way that OrderDate datatype can be javax.xml.bind.XMLGregarionCalendar.

Please help me.

Thanks in Advance.
16 years ago
Hi,

I am migrating web services application from Weblogic 8.1.4 to JBoss 4.0.5.
I have generated webservices.xml,jaxrpc-mapping.xml and WSDL by using wstools which is there in JbossWS 1.0.4.When i tried to deploy the web service it got deployed successfully.
But i have requirement saying that i should use the WSDL that is generated from Weblogic when i replaced the Jboss WSDL with Weblogic WSDL and tried to deploy it is generating the following exception

15:48:13,100 ERROR [MainDeployer] Could not create deployment: file:/D:/jboss-4.0.5.GA/server/default/deploy/macafeeAdapter.war
org.jboss.ws.WSException: Cannot obtain java type mapping for: {http://smo.xsd.covad.com/vendororder}ProcessVendorOrder
at org.jboss.ws.deployment.JSR109MetaDataBuilder.buildParameterMetaDataD
oc(JSR109MetaDataBuilder.java:451)
at org.jboss.ws.deployment.JSR109MetaDataBuilder.setupOperationsFromWSDL
(JSR109MetaDataBuilder.java:200)
at org.jboss.ws.deployment.JSR109ServerMetaDataBuilder.buildMetaData(JSR
109ServerMetaDataBuilder.java:223)
at org.jboss.ws.deployment.ServiceEndpointDeployer.create(ServiceEndpoin
tDeployer.java:78)
at org.jboss.ws.integration.jboss.DeployerInterceptor.create(DeployerInt
erceptor.java:80)
at org.jboss.ws.integration.jboss.DeployerInterceptorJSE.create(Deployer
InterceptorJSE.java:74)
at org.jboss.deployment.SubDeployerInterceptorSupport$XMBeanInterceptor.
create(SubDeployerInterceptorSupport.java:180)
at org.jboss.deployment.SubDeployerInterceptor.invoke(SubDeployerInterce
ptor.java:91)
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 $Proxy39.create(Unknown Source)
at org.jboss.deployment.MainDeployer.create(MainDeployer.java:969)
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:818)
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:782)
at sun.reflect.GeneratedMethodAccessor56.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)


Below are the files :

contents of webservices.xml :

<webservices version='1.1' xmlns='http://java.sun.com/xml/ns/j2ee' xmlns:impl='http://smo.xsd.covad.com/vendororder' xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance' xsi:schemaLocation='http://java.sun.com/xml/ns/j2ee http://www.ibm.com/webservices/xsd/j2ee_web_services_1_1.xsd'>
<webservice-description>
<webservice-description-name>VendorOrderService</webservice-description-name>
<wsdl-file>WEB-INF/wsdl/VendorOrderService.wsdl</wsdl-file>
<jaxrpc-mapping-file>WEB-INF/jaxrpc-mapping.xml</jaxrpc-mapping-file>
<port-component>
<port-component-name>VendorOrderPort</port-component-name>
<wsdl-port>impl:VendorOrderPort</wsdl-port>
<service-endpoint-interface>com.covad.mcafee.adapter.webservice.macafee</service-endpoint-interface>
<service-impl-bean>
<servlet-link>MacafeeAdapter</servlet-link>
</service-impl-bean>
</port-component>
</webservice-description>
</webservices>


contents of jaxrpc-mapping.xml:

<?xml version='1.0' encoding='UTF-8'?><java-wsdl-mapping version='1.1' xmlns='http://java.sun.com/xml/ns/j2ee' xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance' xsi:schemaLocation='http://java.sun.com/xml/ns/j2ee http://www.ibm.com/webservices/xsd/j2ee_jaxrpc_mapping_1_1.xsd'>
<package-mapping>
<package-type>com.covad.xsd.smo.vendororder</package-type>
<namespaceURI>http://vendororder.smo.xsd.covad.com/jaws</namespaceURI>;
</package-mapping>
<package-mapping>
<package-type>com.covad.mcafee.adapter.webservice</package-type>
<namespaceURI>http://smo.xsd.covad.com/vendororder</namespaceURI>;
</package-mapping>
<java-xml-type-mapping>
<java-type>com.covad.xsd.smo.vendororder.PhoneNumber</java-type>
<root-type-qname xmlns:typeNS='http://vendororder.smo.xsd.covad.com/jaws'>typeNS honeNumber</root-type-qname>
<qname-scope>complexType</qname-scope>
<variable-mapping>
<java-variable-name>areaCode</java-variable-name>
<xml-element-name>areaCode</xml-element-name>
</variable-mapping>
<variable-mapping>
<java-variable-name>extension</java-variable-name>
<xml-element-name>extension</xml-element-name>
</variable-mapping>
<variable-mapping>
<java-variable-name>prefix</java-variable-name>
<xml-element-name>prefix</xml-element-name>
</variable-mapping>
<variable-mapping>
<java-variable-name>setAreaCode</java-variable-name>
<xml-element-name>setAreaCode</xml-element-name>
</variable-mapping>
<variable-mapping>
<java-variable-name>setExtension</java-variable-name>
<xml-element-name>setExtension</xml-element-name>
</variable-mapping>
<variable-mapping>
<java-variable-name>setPrefix</java-variable-name>
<xml-element-name>setPrefix</xml-element-name>
</variable-mapping>
<variable-mapping>
<java-variable-name>setSuffix</java-variable-name>
<xml-element-name>setSuffix</xml-element-name>
</variable-mapping>
<variable-mapping>
<java-variable-name>suffix</java-variable-name>
<xml-element-name>suffix</xml-element-name>
</variable-mapping>
</java-xml-type-mapping>
<java-xml-type-mapping>
<java-type>com.covad.xsd.smo.vendororder.Client</java-type>
<root-type-qname xmlns:typeNS='http://vendororder.smo.xsd.covad.com/jaws'>typeNS:Client</root-type-qname>
<qname-scope>complexType</qname-scope>
<variable-mapping>
<java-variable-name>city</java-variable-name>
<xml-element-name>city</xml-element-name>
</variable-mapping>
<variable-mapping>
<java-variable-name>clientID</java-variable-name>
<xml-element-name>clientID</xml-element-name>
</variable-mapping>
<variable-mapping>
<java-variable-name>companyName</java-variable-name>
<xml-element-name>companyName</xml-element-name>
</variable-mapping>
<variable-mapping>
<java-variable-name>countryCode</java-variable-name>
<xml-element-name>countryCode</xml-element-name>
</variable-mapping>
<variable-mapping>
<java-variable-name>email</java-variable-name>
<xml-element-name>email</xml-element-name>
</variable-mapping>
<variable-mapping>
<java-variable-name>fax</java-variable-name>
<xml-element-name>fax</xml-element-name>
</variable-mapping>
<variable-mapping>
<java-variable-name>firstName</java-variable-name>
<xml-element-name>firstName</xml-element-name>
</variable-mapping>
<variable-mapping>
<java-variable-name>lastName</java-variable-name>
<xml-element-name>lastName</xml-element-name>
</variable-mapping>
<variable-mapping>
<java-variable-name>password</java-variable-name>
<xml-element-name>password</xml-element-name>
</variable-mapping>
<variable-mapping>
<java-variable-name>phone</java-variable-name>
<xml-element-name>phone</xml-element-name>
</variable-mapping>
<variable-mapping>
<java-variable-name>salutation</java-variable-name>
<xml-element-name>salutation</xml-element-name>
</variable-mapping>
<variable-mapping>
<java-variable-name>setCity</java-variable-name>
<xml-element-name>setCity</xml-element-name>
</variable-mapping>
<variable-mapping>
<java-variable-name>setCompanyName</java-variable-name>
<xml-element-name>setCompanyName</xml-element-name>
</variable-mapping>
<variable-mapping>
<java-variable-name>setCountryCode</java-variable-name>
<xml-element-name>setCountryCode</xml-element-name>
</variable-mapping>
<variable-mapping>
<java-variable-name>setEmail</java-variable-name>
<xml-element-name>setEmail</xml-element-name>
</variable-mapping>
<variable-mapping>
<java-variable-name>setFax</java-variable-name>
<xml-element-name>setFax</xml-element-name>
</variable-mapping>
<variable-mapping>
<java-variable-name>setFirstName</java-variable-name>
<xml-element-name>setFirstName</xml-element-name>
</variable-mapping>
<variable-mapping>
<java-variable-name>setLastName</java-variable-name>
<xml-element-name>setLastName</xml-element-name>
</variable-mapping>
<variable-mapping>
<java-variable-name>setPassword</java-variable-name>
<xml-element-name>setPassword</xml-element-name>
</variable-mapping>
<variable-mapping>
<java-variable-name>setPhone</java-variable-name>
<xml-element-name>setPhone</xml-element-name>
</variable-mapping>
<variable-mapping>
<java-variable-name>setSalutation</java-variable-name>
<xml-element-name>setSalutation</xml-element-name>
</variable-mapping>
<variable-mapping>
<java-variable-name>setState</java-variable-name>
<xml-element-name>setState</xml-element-name>
</variable-mapping>
<variable-mapping>
<java-variable-name>setStreetAddress1</java-variable-name>
<xml-element-name>setStreetAddress1</xml-element-name>
</variable-mapping>
<variable-mapping>
<java-variable-name>setStreetAddress2</java-variable-name>
<xml-element-name>setStreetAddress2</xml-element-name>
</variable-mapping>
<variable-mapping>
<java-variable-name>setUnit</java-variable-name>
<xml-element-name>setUnit</xml-element-name>
</variable-mapping>
<variable-mapping>
<java-variable-name>setZip</java-variable-name>
<xml-element-name>setZip</xml-element-name>
</variable-mapping>
<variable-mapping>
<java-variable-name>setZip4</java-variable-name>
<xml-element-name>setZip4</xml-element-name>
</variable-mapping>
<variable-mapping>
<java-variable-name>state</java-variable-name>
<xml-element-name>state</xml-element-name>
</variable-mapping>
<variable-mapping>
<java-variable-name>streetAddress1</java-variable-name>
<xml-element-name>streetAddress1</xml-element-name>
</variable-mapping>
<variable-mapping>
<java-variable-name>streetAddress2</java-variable-name>
<xml-element-name>streetAddress2</xml-element-name>
</variable-mapping>
<variable-mapping>
<java-variable-name>unit</java-variable-name>
<xml-element-name>unit</xml-element-name>
</variable-mapping>
<variable-mapping>
<java-variable-name>zip</java-variable-name>
<xml-element-name>zip</xml-element-name>
</variable-mapping>
<variable-mapping>
<java-variable-name>zip4</java-variable-name>
<xml-element-name>zip4</xml-element-name>
</variable-mapping>
</java-xml-type-mapping>
<java-xml-type-mapping>
<java-type>com.covad.xsd.smo.vendororder.VendorOrder</java-type>
<root-type-qname xmlns:typeNS='http://smo.xsd.covad.com/vendororder'>typeNS:VendorOrder</root-type-qname>
<qname-scope>complexType</qname-scope>
<variable-mapping>
<java-variable-name>client</java-variable-name>
<xml-element-name>client</xml-element-name>
</variable-mapping>
<variable-mapping>
<java-variable-name>contractAcceptedDate</java-variable-name>
<xml-element-name>contractAcceptedDate</xml-element-name>
</variable-mapping>
<variable-mapping>
<java-variable-name>contractAcceptedFlag</java-variable-name>
<xml-element-name>contractAcceptedFlag</xml-element-name>
</variable-mapping>
<variable-mapping>
<java-variable-name>orderID</java-variable-name>
<xml-element-name>orderID</xml-element-name>
</variable-mapping>
<variable-mapping>
<java-variable-name>orderReceivedDate</java-variable-name>
<xml-element-name>orderReceivedDate</xml-element-name>
</variable-mapping>
<variable-mapping>
<java-variable-name>productLanguageCode</java-variable-name>
<xml-element-name>productLanguageCode</xml-element-name>
</variable-mapping>
<variable-mapping>
<java-variable-name>setClient</java-variable-name>
<xml-element-name>setClient</xml-element-name>
</variable-mapping>
<variable-mapping>
<java-variable-name>setContractAcceptedDate</java-variable-name>
<xml-element-name>setContractAcceptedDate</xml-element-name>
</variable-mapping>
<variable-mapping>
<java-variable-name>setContractAcceptedFlag</java-variable-name>
<xml-element-name>setContractAcceptedFlag</xml-element-name>
</variable-mapping>
<variable-mapping>
<java-variable-name>setVendorOrderID</java-variable-name>
<xml-element-name>setVendorOrderID</xml-element-name>
</variable-mapping>
<variable-mapping>
<java-variable-name>vendorID</java-variable-name>
<xml-element-name>vendorID</xml-element-name>
</variable-mapping>
<variable-mapping>
<java-variable-name>vendorOrderID</java-variable-name>
<xml-element-name>vendorOrderID</xml-element-name>
</variable-mapping>
</java-xml-type-mapping>
<service-interface-mapping>
<service-interface>com.covad.mcafee.adapter.webservice.VendorOrderService</service-interface>
<wsdl-service-name xmlns:serviceNS='http://smo.xsd.covad.com/vendororder'>serviceNS:VendorOrderService</wsdl-service-name>
<port-mapping>
<port-name>VendorOrderPort</port-name>
<java-port-name>VendorOrderPort</java-port-name>
</port-mapping>
</service-interface-mapping>
<service-endpoint-interface-mapping>
<service-endpoint-interface>com.covad.mcafee.adapter.webservice.macafee</service-endpoint-interface>
<wsdl-port-type xmlns ortTypeNS='http://smo.xsd.covad.com/vendororder'>portTypeNS:VendorOrder</wsdl-port-type>
<wsdl-binding xmlns:bindingNS='http://smo.xsd.covad.com/vendororder'>bindingNS:VendorOrderBinding</wsdl-binding>
<service-endpoint-method-mapping>
<java-method-name>processVendorOrder</java-method-name>
<wsdl-operation>processVendorOrder</wsdl-operation>
<method-param-parts-mapping>
<param-position>0</param-position>
<param-type>com.covad.xsd.smo.vendororder.VendorOrder</param-type>
<wsdl-message-mapping>
<wsdl-message xmlns:wsdlMsgNS='http://smo.xsd.covad.com/vendororder'>wsdlMsgNS:VendorOrder_processVendorOrder</wsdl-message>
<wsdl-message-part-name>VendorOrder_1</wsdl-message-part-name>
<parameter-mode>IN</parameter-mode>
</wsdl-message-mapping>
</method-param-parts-mapping>
<wsdl-return-value-mapping>
<method-return-value>com.covad.xsd.smo.vendororder.VendorOrder</method-return-value>
<wsdl-message xmlns:wsdlMsgNS='http://smo.xsd.covad.com/vendororder'>wsdlMsgNS:VendorOrder_processVendorOrderResponse</wsdl-message>
<wsdl-message-part-name>result</wsdl-message-part-name>
</wsdl-return-value-mapping>
</service-endpoint-method-mapping>
</service-endpoint-interface-mapping>
</java-wsdl-mapping>

contents of VendorOrderService.wsdl :

<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<definitions
name="VendorOrderService"
targetNamespace="http://smo.xsd.covad.com/vendororder"
xmlns="http://schemas.xmlsoap.org/wsdl/"
xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:tns="http://smo.xsd.covad.com/vendororder">
<types>
<xsd:schema
targetNamespace="http://smo.xsd.covad.com/vendororder"
elementFormDefault="qualified">
<xsd:element name="vendorOrderException" type="tns:VendorOrderException"/>
<xsd:element name="processVendorOrder" type="tns rocessVendorOrder"/>
<xsd:element name="processVendorOrderResponse" type="tns rocessVendorOrderResponse"/>
<xsd:complexType name="ProcessVendorOrder">
<xsd:sequence>
<xsd:element name="vendorOrder" type="tns:VendorOrder"/>
</xsd:sequence>
</xsd:complexType>
<xsd:complexType name="ProcessVendorOrderResponse">
<xsd:sequence>
<xsd:element name="return" type="tns:VendorOrder" minOccurs="0"/>
</xsd:sequence>
</xsd:complexType>
<xsd:complexType name="VendorOrderException">
<xsd:sequence>
<xsd:element name="errorCode" type="xsd:int"/>
<xsd:element name="errorDescription" type="xsd:string"/>
</xsd:sequence>
</xsd:complexType>
<xsd:complexType name="VendorOrder">
<xsd:sequence>
<xsd:element name="orderID" type="xsd:int"/>
<xsd:element name="vendorID" type="xsd:int"/>
<xsd:element name="vendorOrderID" type="xsd:string" minOccurs="0"/>
<xsd:element name="orderReceivedDate" type="xsd ateTime"/>
<xsd:element name="contractAcceptedFlag" type="xsd:boolean" minOccurs="0"/>
<xsd:element name="contractAcceptedDate" type="xsd ateTime" minOccurs="0"/>
<xsd:element name="productLanguageCode" type="xsd:string"/>
<xsd:element name="client" type="tns:Client" minOccurs="0"/>
<xsd:element name="lineItem" type="tns:LineItem" minOccurs="0" maxOccurs="unbounded"/>
</xsd:sequence>
</xsd:complexType>
<xsd:complexType name="Client">
<xsd:sequence>
<xsd:element name="clientID" type="xsd:int"/>
<xsd:element name="salutation" type="xsd:string" minOccurs="0"/>
<xsd:element name="email" type="xsd:string" minOccurs="0"/>
<xsd:element name="password" type="xsd:string" minOccurs="0"/>
<xsd:element name="firstName" type="xsd:string" minOccurs="0"/>
<xsd:element name="lastName" type="xsd:string" minOccurs="0"/>
<xsd:element name="phone" type="tns honeNumber" minOccurs="0"/>
<xsd:element name="fax" type="tns honeNumber" minOccurs="0"/>
<xsd:element name="companyName" type="xsd:string" minOccurs="0"/>
<xsd:element name="streetAddress1" type="xsd:string" minOccurs="0"/>
<xsd:element name="streetAddress2" type="xsd:string" minOccurs="0"/>
<xsd:element name="unit" type="xsd:string" minOccurs="0"/>
<xsd:element name="city" type="xsd:string" minOccurs="0"/>
<xsd:element name="state" type="tns:State" minOccurs="0"/>
<xsd:element name="zip" type="tns:Zip" minOccurs="0"/>
<xsd:element name="zip4" type="tns:Zip4" minOccurs="0"/>
<xsd:element name="countryCode" type="xsd:string" minOccurs="0"/>
</xsd:sequence>
</xsd:complexType>
<xsd:complexType name="PhoneNumber">
<xsd:sequence>
<xsd:element name="areaCode" type="tns:AreaCode" minOccurs="0"/>
<xsd:element name="prefix" type="tns refix" minOccurs="0"/>
<xsd:element name="suffix" type="tns:Suffix" minOccurs="0"/>
<xsd:element name="extension" type="tns:Extension" minOccurs="0"/>
</xsd:sequence>
</xsd:complexType>
<xsd:complexType name="LineItem">
<xsd:sequence>
<xsd:element name="clientServiceID" type="xsd:int"/>
<xsd:element name="productID" type="xsd:int"/>
<xsd:element name="vendorProductID" type="xsd:string"/>
<xsd:element name="quantity" type="xsd:int"/>
<xsd:element name="lineItemNumber" type="xsd:int"/>
<xsd:element name="lineItemAction" type="tns:LineItemAction"/>
<xsd:element name="parameter" type="tns arameter" minOccurs="0" maxOccurs="unbounded"/>
</xsd:sequence>
</xsd:complexType>
<xsd:complexType name="Parameter">
<xsd:sequence>
<xsd:element name="name" type="xsd:string"/>
<xsd:element name="value" type="xsd:string"/>
</xsd:sequence>
</xsd:complexType>
<xsd:simpleType name="LineItemAction">
<xsd:restriction base="xsd:string">
<xsd:enumeration value="INSTALL"/>
<xsd:enumeration value="CHANGE"/>
<xsd:enumeration value="DISCONNECT"/>
</xsd:restriction>
</xsd:simpleType>
<xsd:simpleType name="AreaCode">
<xsd:restriction base="xsd:string">
<xsd attern value="[0-9]{3}"/>
</xsd:restriction>
</xsd:simpleType>
<xsd:simpleType name="Prefix">
<xsd:restriction base="xsd:string">
<xsd attern value="[0-9]{3}"/>
</xsd:restriction>
</xsd:simpleType>
<xsd:simpleType name="Suffix">
<xsd:restriction base="xsd:string">
<xsd attern value="[0-9]{4}"/>
</xsd:restriction>
</xsd:simpleType>
<xsd:simpleType name="Extension">
<xsd:restriction base="xsd:string">
<xsd attern value="[0-9]*"/>
</xsd:restriction>
</xsd:simpleType>
<xsd:simpleType name="State">
<xsd:restriction base="xsd:string">
<xsd attern value="[A-Z]{2}"/>
</xsd:restriction>
</xsd:simpleType>
<xsd:simpleType name="Zip">
<xsd:restriction base="xsd:string">
<xsd attern value="[0-9]{5}"/>
</xsd:restriction>
</xsd:simpleType>
<xsd:simpleType name="Zip4">
<xsd:restriction base="xsd:string">
<xsd attern value="[0-9]{4}"/>
</xsd:restriction>
</xsd:simpleType>
</xsd:schema>
</types>
<message name="ProcessVendorOrder">
<part name="input" element="tns rocessVendorOrder"/>
</message>
<message name="ProcessVendorOrderResponse">
<part name="output" element="tns rocessVendorOrderResponse"/>
</message>
<message name="VendorOrderException">
<part name="fault" element="tns:vendorOrderException"/>
</message>
<portType name="VendorOrderPort">
<operation name="processVendorOrder">
<input message="tns rocessVendorOrder"/>
<output message="tns rocessVendorOrderResponse"/>
<fault name="VendorOrderException" message="tns:VendorOrderException"/>
</operation>
</portType>
<binding name="VendorOrderBinding" type="tns:VendorOrderPort">
<soap:binding transport="http://schemas.xmlsoap.org/soap/http" style="document"/>
<operation name="processVendorOrder">
<soap peration/>
<input>
<soap:body use="literal"/>
</input>
<output>
<soap:body use="literal"/>
</output>
<fault name="VendorOrderException">
<soap:fault name="VendorOrderException" use="literal"/>
</fault>
</operation>
</binding>
<service name="VendorOrderService">
<port name="VendorOrderPort" binding="tns:VendorOrderBinding">
<soap:address location="REPLACE_WITH_ACTUAL_URL"/>
</port>
</service>
</definitions>

I am not getting where am i going wrong.

Please help me.

Thanks in Advance.
16 years ago
Hi,

I am migrating web services application from Weblogic 8.1.4 to JBoss 4.0.5.
I have generated webservices.xml,jaxrpc-mapping.xml and WSDL by using wstools which is there in JbossWS 1.0.4.When i tried to deploy the web service it got deployed successfully.
But i have requirement saying that i should use the WSDL that is generated from Weblogic when i replaced the Jboss WSDL with Weblogic WSDL and tried to deploy it is generating the following exception

15:48:13,100 ERROR [MainDeployer] Could not create deployment: file:/D:/jboss-4.0.5.GA/server/default/deploy/macafeeAdapter.war
org.jboss.ws.WSException: Cannot obtain java type mapping for: {http://smo.xsd.covad.com/vendororder}ProcessVendorOrder
at org.jboss.ws.deployment.JSR109MetaDataBuilder.buildParameterMetaDataD
oc(JSR109MetaDataBuilder.java:451)
at org.jboss.ws.deployment.JSR109MetaDataBuilder.setupOperationsFromWSDL
(JSR109MetaDataBuilder.java:200)
at org.jboss.ws.deployment.JSR109ServerMetaDataBuilder.buildMetaData(JSR
109ServerMetaDataBuilder.java:223)
at org.jboss.ws.deployment.ServiceEndpointDeployer.create(ServiceEndpoin
tDeployer.java:78)
at org.jboss.ws.integration.jboss.DeployerInterceptor.create(DeployerInt
erceptor.java:80)
at org.jboss.ws.integration.jboss.DeployerInterceptorJSE.create(Deployer
InterceptorJSE.java:74)
at org.jboss.deployment.SubDeployerInterceptorSupport$XMBeanInterceptor.
create(SubDeployerInterceptorSupport.java:180)
at org.jboss.deployment.SubDeployerInterceptor.invoke(SubDeployerInterce
ptor.java:91)
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 $Proxy39.create(Unknown Source)
at org.jboss.deployment.MainDeployer.create(MainDeployer.java:969)
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:818)
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:782)
at sun.reflect.GeneratedMethodAccessor56.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)


Below are the files :

contents of webservices.xml :

<webservices version='1.1' xmlns='http://java.sun.com/xml/ns/j2ee' xmlns:impl='http://smo.xsd.covad.com/vendororder' xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance' xsi:schemaLocation='http://java.sun.com/xml/ns/j2ee http://www.ibm.com/webservices/xsd/j2ee_web_services_1_1.xsd'>
<webservice-description>
<webservice-description-name>VendorOrderService</webservice-description-name>
<wsdl-file>WEB-INF/wsdl/VendorOrderService.wsdl</wsdl-file>
<jaxrpc-mapping-file>WEB-INF/jaxrpc-mapping.xml</jaxrpc-mapping-file>
<port-component>
<port-component-name>VendorOrderPort</port-component-name>
<wsdl-port>impl:VendorOrderPort</wsdl-port>
<service-endpoint-interface>com.covad.mcafee.adapter.webservice.macafee</service-endpoint-interface>
<service-impl-bean>
<servlet-link>MacafeeAdapter</servlet-link>
</service-impl-bean>
</port-component>
</webservice-description>
</webservices>


contents of jaxrpc-mapping.xml:

<?xml version='1.0' encoding='UTF-8'?><java-wsdl-mapping version='1.1' xmlns='http://java.sun.com/xml/ns/j2ee' xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance' xsi:schemaLocation='http://java.sun.com/xml/ns/j2ee http://www.ibm.com/webservices/xsd/j2ee_jaxrpc_mapping_1_1.xsd'>
<package-mapping>
<package-type>com.covad.xsd.smo.vendororder</package-type>
<namespaceURI>http://vendororder.smo.xsd.covad.com/jaws</namespaceURI>;
</package-mapping>
<package-mapping>
<package-type>com.covad.mcafee.adapter.webservice</package-type>
<namespaceURI>http://smo.xsd.covad.com/vendororder</namespaceURI>;
</package-mapping>
<java-xml-type-mapping>
<java-type>com.covad.xsd.smo.vendororder.PhoneNumber</java-type>
<root-type-qname xmlns:typeNS='http://vendororder.smo.xsd.covad.com/jaws'>typeNS honeNumber</root-type-qname>
<qname-scope>complexType</qname-scope>
<variable-mapping>
<java-variable-name>areaCode</java-variable-name>
<xml-element-name>areaCode</xml-element-name>
</variable-mapping>
<variable-mapping>
<java-variable-name>extension</java-variable-name>
<xml-element-name>extension</xml-element-name>
</variable-mapping>
<variable-mapping>
<java-variable-name>prefix</java-variable-name>
<xml-element-name>prefix</xml-element-name>
</variable-mapping>
<variable-mapping>
<java-variable-name>setAreaCode</java-variable-name>
<xml-element-name>setAreaCode</xml-element-name>
</variable-mapping>
<variable-mapping>
<java-variable-name>setExtension</java-variable-name>
<xml-element-name>setExtension</xml-element-name>
</variable-mapping>
<variable-mapping>
<java-variable-name>setPrefix</java-variable-name>
<xml-element-name>setPrefix</xml-element-name>
</variable-mapping>
<variable-mapping>
<java-variable-name>setSuffix</java-variable-name>
<xml-element-name>setSuffix</xml-element-name>
</variable-mapping>
<variable-mapping>
<java-variable-name>suffix</java-variable-name>
<xml-element-name>suffix</xml-element-name>
</variable-mapping>
</java-xml-type-mapping>
<java-xml-type-mapping>
<java-type>com.covad.xsd.smo.vendororder.Client</java-type>
<root-type-qname xmlns:typeNS='http://vendororder.smo.xsd.covad.com/jaws'>typeNS:Client</root-type-qname>
<qname-scope>complexType</qname-scope>
<variable-mapping>
<java-variable-name>city</java-variable-name>
<xml-element-name>city</xml-element-name>
</variable-mapping>
<variable-mapping>
<java-variable-name>clientID</java-variable-name>
<xml-element-name>clientID</xml-element-name>
</variable-mapping>
<variable-mapping>
<java-variable-name>companyName</java-variable-name>
<xml-element-name>companyName</xml-element-name>
</variable-mapping>
<variable-mapping>
<java-variable-name>countryCode</java-variable-name>
<xml-element-name>countryCode</xml-element-name>
</variable-mapping>
<variable-mapping>
<java-variable-name>email</java-variable-name>
<xml-element-name>email</xml-element-name>
</variable-mapping>
<variable-mapping>
<java-variable-name>fax</java-variable-name>
<xml-element-name>fax</xml-element-name>
</variable-mapping>
<variable-mapping>
<java-variable-name>firstName</java-variable-name>
<xml-element-name>firstName</xml-element-name>
</variable-mapping>
<variable-mapping>
<java-variable-name>lastName</java-variable-name>
<xml-element-name>lastName</xml-element-name>
</variable-mapping>
<variable-mapping>
<java-variable-name>password</java-variable-name>
<xml-element-name>password</xml-element-name>
</variable-mapping>
<variable-mapping>
<java-variable-name>phone</java-variable-name>
<xml-element-name>phone</xml-element-name>
</variable-mapping>
<variable-mapping>
<java-variable-name>salutation</java-variable-name>
<xml-element-name>salutation</xml-element-name>
</variable-mapping>
<variable-mapping>
<java-variable-name>setCity</java-variable-name>
<xml-element-name>setCity</xml-element-name>
</variable-mapping>
<variable-mapping>
<java-variable-name>setCompanyName</java-variable-name>
<xml-element-name>setCompanyName</xml-element-name>
</variable-mapping>
<variable-mapping>
<java-variable-name>setCountryCode</java-variable-name>
<xml-element-name>setCountryCode</xml-element-name>
</variable-mapping>
<variable-mapping>
<java-variable-name>setEmail</java-variable-name>
<xml-element-name>setEmail</xml-element-name>
</variable-mapping>
<variable-mapping>
<java-variable-name>setFax</java-variable-name>
<xml-element-name>setFax</xml-element-name>
</variable-mapping>
<variable-mapping>
<java-variable-name>setFirstName</java-variable-name>
<xml-element-name>setFirstName</xml-element-name>
</variable-mapping>
<variable-mapping>
<java-variable-name>setLastName</java-variable-name>
<xml-element-name>setLastName</xml-element-name>
</variable-mapping>
<variable-mapping>
<java-variable-name>setPassword</java-variable-name>
<xml-element-name>setPassword</xml-element-name>
</variable-mapping>
<variable-mapping>
<java-variable-name>setPhone</java-variable-name>
<xml-element-name>setPhone</xml-element-name>
</variable-mapping>
<variable-mapping>
<java-variable-name>setSalutation</java-variable-name>
<xml-element-name>setSalutation</xml-element-name>
</variable-mapping>
<variable-mapping>
<java-variable-name>setState</java-variable-name>
<xml-element-name>setState</xml-element-name>
</variable-mapping>
<variable-mapping>
<java-variable-name>setStreetAddress1</java-variable-name>
<xml-element-name>setStreetAddress1</xml-element-name>
</variable-mapping>
<variable-mapping>
<java-variable-name>setStreetAddress2</java-variable-name>
<xml-element-name>setStreetAddress2</xml-element-name>
</variable-mapping>
<variable-mapping>
<java-variable-name>setUnit</java-variable-name>
<xml-element-name>setUnit</xml-element-name>
</variable-mapping>
<variable-mapping>
<java-variable-name>setZip</java-variable-name>
<xml-element-name>setZip</xml-element-name>
</variable-mapping>
<variable-mapping>
<java-variable-name>setZip4</java-variable-name>
<xml-element-name>setZip4</xml-element-name>
</variable-mapping>
<variable-mapping>
<java-variable-name>state</java-variable-name>
<xml-element-name>state</xml-element-name>
</variable-mapping>
<variable-mapping>
<java-variable-name>streetAddress1</java-variable-name>
<xml-element-name>streetAddress1</xml-element-name>
</variable-mapping>
<variable-mapping>
<java-variable-name>streetAddress2</java-variable-name>
<xml-element-name>streetAddress2</xml-element-name>
</variable-mapping>
<variable-mapping>
<java-variable-name>unit</java-variable-name>
<xml-element-name>unit</xml-element-name>
</variable-mapping>
<variable-mapping>
<java-variable-name>zip</java-variable-name>
<xml-element-name>zip</xml-element-name>
</variable-mapping>
<variable-mapping>
<java-variable-name>zip4</java-variable-name>
<xml-element-name>zip4</xml-element-name>
</variable-mapping>
</java-xml-type-mapping>
<java-xml-type-mapping>
<java-type>com.covad.xsd.smo.vendororder.VendorOrder</java-type>
<root-type-qname xmlns:typeNS='http://smo.xsd.covad.com/vendororder'>typeNS:VendorOrder</root-type-qname>
<qname-scope>complexType</qname-scope>
<variable-mapping>
<java-variable-name>client</java-variable-name>
<xml-element-name>client</xml-element-name>
</variable-mapping>
<variable-mapping>
<java-variable-name>contractAcceptedDate</java-variable-name>
<xml-element-name>contractAcceptedDate</xml-element-name>
</variable-mapping>
<variable-mapping>
<java-variable-name>contractAcceptedFlag</java-variable-name>
<xml-element-name>contractAcceptedFlag</xml-element-name>
</variable-mapping>
<variable-mapping>
<java-variable-name>orderID</java-variable-name>
<xml-element-name>orderID</xml-element-name>
</variable-mapping>
<variable-mapping>
<java-variable-name>orderReceivedDate</java-variable-name>
<xml-element-name>orderReceivedDate</xml-element-name>
</variable-mapping>
<variable-mapping>
<java-variable-name>productLanguageCode</java-variable-name>
<xml-element-name>productLanguageCode</xml-element-name>
</variable-mapping>
<variable-mapping>
<java-variable-name>setClient</java-variable-name>
<xml-element-name>setClient</xml-element-name>
</variable-mapping>
<variable-mapping>
<java-variable-name>setContractAcceptedDate</java-variable-name>
<xml-element-name>setContractAcceptedDate</xml-element-name>
</variable-mapping>
<variable-mapping>
<java-variable-name>setContractAcceptedFlag</java-variable-name>
<xml-element-name>setContractAcceptedFlag</xml-element-name>
</variable-mapping>
<variable-mapping>
<java-variable-name>setVendorOrderID</java-variable-name>
<xml-element-name>setVendorOrderID</xml-element-name>
</variable-mapping>
<variable-mapping>
<java-variable-name>vendorID</java-variable-name>
<xml-element-name>vendorID</xml-element-name>
</variable-mapping>
<variable-mapping>
<java-variable-name>vendorOrderID</java-variable-name>
<xml-element-name>vendorOrderID</xml-element-name>
</variable-mapping>
</java-xml-type-mapping>
<service-interface-mapping>
<service-interface>com.covad.mcafee.adapter.webservice.VendorOrderService</service-interface>
<wsdl-service-name xmlns:serviceNS='http://smo.xsd.covad.com/vendororder'>serviceNS:VendorOrderService</wsdl-service-name>
<port-mapping>
<port-name>VendorOrderPort</port-name>
<java-port-name>VendorOrderPort</java-port-name>
</port-mapping>
</service-interface-mapping>
<service-endpoint-interface-mapping>
<service-endpoint-interface>com.covad.mcafee.adapter.webservice.macafee</service-endpoint-interface>
<wsdl-port-type xmlns ortTypeNS='http://smo.xsd.covad.com/vendororder'>portTypeNS:VendorOrder</wsdl-port-type>
<wsdl-binding xmlns:bindingNS='http://smo.xsd.covad.com/vendororder'>bindingNS:VendorOrderBinding</wsdl-binding>
<service-endpoint-method-mapping>
<java-method-name>processVendorOrder</java-method-name>
<wsdl-operation>processVendorOrder</wsdl-operation>
<method-param-parts-mapping>
<param-position>0</param-position>
<param-type>com.covad.xsd.smo.vendororder.VendorOrder</param-type>
<wsdl-message-mapping>
<wsdl-message xmlns:wsdlMsgNS='http://smo.xsd.covad.com/vendororder'>wsdlMsgNS:VendorOrder_processVendorOrder</wsdl-message>
<wsdl-message-part-name>VendorOrder_1</wsdl-message-part-name>
<parameter-mode>IN</parameter-mode>
</wsdl-message-mapping>
</method-param-parts-mapping>
<wsdl-return-value-mapping>
<method-return-value>com.covad.xsd.smo.vendororder.VendorOrder</method-return-value>
<wsdl-message xmlns:wsdlMsgNS='http://smo.xsd.covad.com/vendororder'>wsdlMsgNS:VendorOrder_processVendorOrderResponse</wsdl-message>
<wsdl-message-part-name>result</wsdl-message-part-name>
</wsdl-return-value-mapping>
</service-endpoint-method-mapping>
</service-endpoint-interface-mapping>
</java-wsdl-mapping>

contents of VendorOrderService.wsdl :

<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<definitions
name="VendorOrderService"
targetNamespace="http://smo.xsd.covad.com/vendororder"
xmlns="http://schemas.xmlsoap.org/wsdl/"
xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:tns="http://smo.xsd.covad.com/vendororder">
<types>
<xsd:schema
targetNamespace="http://smo.xsd.covad.com/vendororder"
elementFormDefault="qualified">
<xsd:element name="vendorOrderException" type="tns:VendorOrderException"/>
<xsd:element name="processVendorOrder" type="tns rocessVendorOrder"/>
<xsd:element name="processVendorOrderResponse" type="tns rocessVendorOrderResponse"/>
<xsd:complexType name="ProcessVendorOrder">
<xsd:sequence>
<xsd:element name="vendorOrder" type="tns:VendorOrder"/>
</xsd:sequence>
</xsd:complexType>
<xsd:complexType name="ProcessVendorOrderResponse">
<xsd:sequence>
<xsd:element name="return" type="tns:VendorOrder" minOccurs="0"/>
</xsd:sequence>
</xsd:complexType>
<xsd:complexType name="VendorOrderException">
<xsd:sequence>
<xsd:element name="errorCode" type="xsd:int"/>
<xsd:element name="errorDescription" type="xsd:string"/>
</xsd:sequence>
</xsd:complexType>
<xsd:complexType name="VendorOrder">
<xsd:sequence>
<xsd:element name="orderID" type="xsd:int"/>
<xsd:element name="vendorID" type="xsd:int"/>
<xsd:element name="vendorOrderID" type="xsd:string" minOccurs="0"/>
<xsd:element name="orderReceivedDate" type="xsd ateTime"/>
<xsd:element name="contractAcceptedFlag" type="xsd:boolean" minOccurs="0"/>
<xsd:element name="contractAcceptedDate" type="xsd ateTime" minOccurs="0"/>
<xsd:element name="productLanguageCode" type="xsd:string"/>
<xsd:element name="client" type="tns:Client" minOccurs="0"/>
<xsd:element name="lineItem" type="tns:LineItem" minOccurs="0" maxOccurs="unbounded"/>
</xsd:sequence>
</xsd:complexType>
<xsd:complexType name="Client">
<xsd:sequence>
<xsd:element name="clientID" type="xsd:int"/>
<xsd:element name="salutation" type="xsd:string" minOccurs="0"/>
<xsd:element name="email" type="xsd:string" minOccurs="0"/>
<xsd:element name="password" type="xsd:string" minOccurs="0"/>
<xsd:element name="firstName" type="xsd:string" minOccurs="0"/>
<xsd:element name="lastName" type="xsd:string" minOccurs="0"/>
<xsd:element name="phone" type="tns honeNumber" minOccurs="0"/>
<xsd:element name="fax" type="tns honeNumber" minOccurs="0"/>
<xsd:element name="companyName" type="xsd:string" minOccurs="0"/>
<xsd:element name="streetAddress1" type="xsd:string" minOccurs="0"/>
<xsd:element name="streetAddress2" type="xsd:string" minOccurs="0"/>
<xsd:element name="unit" type="xsd:string" minOccurs="0"/>
<xsd:element name="city" type="xsd:string" minOccurs="0"/>
<xsd:element name="state" type="tns:State" minOccurs="0"/>
<xsd:element name="zip" type="tns:Zip" minOccurs="0"/>
<xsd:element name="zip4" type="tns:Zip4" minOccurs="0"/>
<xsd:element name="countryCode" type="xsd:string" minOccurs="0"/>
</xsd:sequence>
</xsd:complexType>
<xsd:complexType name="PhoneNumber">
<xsd:sequence>
<xsd:element name="areaCode" type="tns:AreaCode" minOccurs="0"/>
<xsd:element name="prefix" type="tns refix" minOccurs="0"/>
<xsd:element name="suffix" type="tns:Suffix" minOccurs="0"/>
<xsd:element name="extension" type="tns:Extension" minOccurs="0"/>
</xsd:sequence>
</xsd:complexType>
<xsd:complexType name="LineItem">
<xsd:sequence>
<xsd:element name="clientServiceID" type="xsd:int"/>
<xsd:element name="productID" type="xsd:int"/>
<xsd:element name="vendorProductID" type="xsd:string"/>
<xsd:element name="quantity" type="xsd:int"/>
<xsd:element name="lineItemNumber" type="xsd:int"/>
<xsd:element name="lineItemAction" type="tns:LineItemAction"/>
<xsd:element name="parameter" type="tns arameter" minOccurs="0" maxOccurs="unbounded"/>
</xsd:sequence>
</xsd:complexType>
<xsd:complexType name="Parameter">
<xsd:sequence>
<xsd:element name="name" type="xsd:string"/>
<xsd:element name="value" type="xsd:string"/>
</xsd:sequence>
</xsd:complexType>
<xsd:simpleType name="LineItemAction">
<xsd:restriction base="xsd:string">
<xsd:enumeration value="INSTALL"/>
<xsd:enumeration value="CHANGE"/>
<xsd:enumeration value="DISCONNECT"/>
</xsd:restriction>
</xsd:simpleType>
<xsd:simpleType name="AreaCode">
<xsd:restriction base="xsd:string">
<xsd attern value="[0-9]{3}"/>
</xsd:restriction>
</xsd:simpleType>
<xsd:simpleType name="Prefix">
<xsd:restriction base="xsd:string">
<xsd attern value="[0-9]{3}"/>
</xsd:restriction>
</xsd:simpleType>
<xsd:simpleType name="Suffix">
<xsd:restriction base="xsd:string">
<xsd attern value="[0-9]{4}"/>
</xsd:restriction>
</xsd:simpleType>
<xsd:simpleType name="Extension">
<xsd:restriction base="xsd:string">
<xsd attern value="[0-9]*"/>
</xsd:restriction>
</xsd:simpleType>
<xsd:simpleType name="State">
<xsd:restriction base="xsd:string">
<xsd attern value="[A-Z]{2}"/>
</xsd:restriction>
</xsd:simpleType>
<xsd:simpleType name="Zip">
<xsd:restriction base="xsd:string">
<xsd attern value="[0-9]{5}"/>
</xsd:restriction>
</xsd:simpleType>
<xsd:simpleType name="Zip4">
<xsd:restriction base="xsd:string">
<xsd attern value="[0-9]{4}"/>
</xsd:restriction>
</xsd:simpleType>
</xsd:schema>
</types>
<message name="ProcessVendorOrder">
<part name="input" element="tns rocessVendorOrder"/>
</message>
<message name="ProcessVendorOrderResponse">
<part name="output" element="tns rocessVendorOrderResponse"/>
</message>
<message name="VendorOrderException">
<part name="fault" element="tns:vendorOrderException"/>
</message>
<portType name="VendorOrderPort">
<operation name="processVendorOrder">
<input message="tns rocessVendorOrder"/>
<output message="tns rocessVendorOrderResponse"/>
<fault name="VendorOrderException" message="tns:VendorOrderException"/>
</operation>
</portType>
<binding name="VendorOrderBinding" type="tns:VendorOrderPort">
<soap:binding transport="http://schemas.xmlsoap.org/soap/http" style="document"/>
<operation name="processVendorOrder">
<soap peration/>
<input>
<soap:body use="literal"/>
</input>
<output>
<soap:body use="literal"/>
</output>
<fault name="VendorOrderException">
<soap:fault name="VendorOrderException" use="literal"/>
</fault>
</operation>
</binding>
<service name="VendorOrderService">
<port name="VendorOrderPort" binding="tns:VendorOrderBinding">
<soap:address location="REPLACE_WITH_ACTUAL_URL"/>
</port>
</service>
</definitions>

I am not getting where am i going wrong.

Please help me.

Thanks in Advance.
[ October 03, 2007: Message edited by: reddy kumar pavan ]
16 years ago
Hi,

I have kept the following snippet in jboss-app.xml and added jboss-app.xml
to my EAR and placed this file where my application.xml is there

<?xml version='1.0' encoding='UTF-8' ?>
<jboss-app>
<loader-repository>
com.covad.billing:loader=omBilling.ear
<loader-repository-config>
java2ParentDelegation=false
</loader-repository-config>
</loader-repository>
</jboss-app>


but still i am getting the following exception:

2007-07-30 10:02:40,603 ERROR [org.jboss.ejb.StatelessSessionContainer] Initialization failed jboss.j2ee:jndiName=ejb.interfaces.OMBillingInterfaceRemoteHome,service=EJB
java.lang.NoSuchMethodException: org.jboss.ejb.StatelessSessionContainer.removeHome(javax.ejb.Handle)
at java.lang.Class.getMethod(Class.java:1581)
at org.jboss.ejb.StatelessSessionContainer.setupHomeMapping(StatelessSessionContainer.java:125)
at org.jboss.ejb.SessionContainer.createService(SessionContainer.java:153)
at org.jboss.system.ServiceMBeanSupport.jbossInternalCreate(ServiceMBeanSupport.java:237)
at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:219)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:141)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:72)
at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:242)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:642)
at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:891)
at $Proxy0.create(Unknown Source)
at org.jboss.system.ServiceController.create(ServiceController.java:328)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:141)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:72)
at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:242)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:642)
at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:176)
at $Proxy67.create(Unknown Source)
at org.jboss.ejb.EjbModule.createService(EjbModule.java:364)
at org.jboss.system.ServiceMBeanSupport.jbossInternalCreate(ServiceMBeanSupport.java:237)
at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:219)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:141)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:72)
at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:242)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:642)
at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:891)
at $Proxy0.create(Unknown Source)
at org.jboss.system.ServiceController.create(ServiceController.java:328)
at org.jboss.system.ServiceController.create(ServiceController.java:273)
at sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:141)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:72)
at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:242)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:642)
at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:176)
at $Proxy20.create(Unknown Source)
at org.jboss.ejb.EJBDeployer.create(EJBDeployer.java:584)
at org.jboss.deployment.MainDeployer.create(MainDeployer.java:889)
at org.jboss.deployment.MainDeployer.create(MainDeployer.java:881)
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:745)
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:709)
at sun.reflect.GeneratedMethodAccessor37.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:141)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)
at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:119)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:74)
at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:131)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:74)
at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:242)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:642)
at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:176)
at $Proxy8.deploy(Unknown Source)
at org.jboss.deployment.scanner.URLDeploymentScanner.deploy(URLDeploymentScanner.java:305)
at org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentScanner.java:463)
at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.doScan(AbstractDeploymentScanner.java:204)
at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.loop(AbstractDeploymentScanner.java:215)
at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.run(AbstractDeploymentScanner.java:194)
2007-07-30 10:02:40,697 WARN [org.jboss.system.ServiceController] Problem creating service jboss.j2ee:jndiName=ejb.interfaces.OMBillingInterfaceRemoteHome,service=EJB
java.lang.NoSuchMethodException: org.jboss.ejb.StatelessSessionContainer.removeHome(javax.ejb.Handle)
at java.lang.Class.getMethod(Class.java:1581)
at org.jboss.ejb.StatelessSessionContainer.setupHomeMapping(StatelessSessionContainer.java:125)
at org.jboss.ejb.SessionContainer.createService(SessionContainer.java:153)
at org.jboss.system.ServiceMBeanSupport.jbossInternalCreate(ServiceMBeanSupport.java:237)
at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:219)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:141)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:72)
at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:242)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:642)
at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:891)
at $Proxy0.create(Unknown Source)
at org.jboss.system.ServiceController.create(ServiceController.java:328)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:141)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:72)
at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:242)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:642)
at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:176)
at $Proxy67.create(Unknown Source)
at org.jboss.ejb.EjbModule.createService(EjbModule.java:364)
at org.jboss.system.ServiceMBeanSupport.jbossInternalCreate(ServiceMBeanSupport.java:237)
at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:219)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:141)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:72)
at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:242)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:642)
at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:891)
at $Proxy0.create(Unknown Source)
at org.jboss.system.ServiceController.create(ServiceController.java:328)
at org.jboss.system.ServiceController.create(ServiceController.java:273)
at sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:141)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:72)
at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:242)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:642)
at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:176)
at $Proxy20.create(Unknown Source)
at org.jboss.ejb.EJBDeployer.create(EJBDeployer.java:584)
at org.jboss.deployment.MainDeployer.create(MainDeployer.java:889)
at org.jboss.deployment.MainDeployer.create(MainDeployer.java:881)
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:745)
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:709)
at sun.reflect.GeneratedMethodAccessor37.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:141)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)
at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:119)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:74)
at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:131)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:74)
at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:242)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:642)
at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:176)
at $Proxy8.deploy(Unknown Source)
at org.jboss.deployment.scanner.URLDeploymentScanner.deploy(URLDeploymentScanner.java:305)
at org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentScanner.java:463)
at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.doScan(AbstractDeploymentScanner.java:204)
at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.loop(AbstractDeploymentScanner.java:215)
at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.run(AbstractDeploymentScanner.java:194)
2007-07-30 10:02:40,791 DEBUG [org.jboss.ejb.EjbModule] Bound jmxName=jboss.j2ee:jndiName=ejb.interfaces.OMBillingInterfaceRemoteHome,service=EJB, hash=-209155041into Registry
2007-07-30 10:02:40,791 DEBUG [org.jboss.ejb.EjbModule] Created jboss.j2ee:service=EjbModule,module=omBilling.jar
2007-07-30 10:02:40,791 DEBUG [org.jboss.system.ServiceController] Creating dependent components for: jboss.j2ee:service=EjbModule,module=omBilling.jar dependents are: []
2007-07-30 10:02:40,791 DEBUG [org.jboss.deployment.MainDeployer] Done with create step of deploying omBilling.jar
2007-07-30 10:02:40,791 DEBUG [org.jboss.system.ServiceController] Creating service jboss.j2ee:service=EARDeployment,url='omBilling.ear'
2007-07-30 10:02:40,791 DEBUG [org.jboss.deployment.EARDeployment] Creating jboss.j2ee:service=EARDeployment,url='omBilling.ear'
2007-07-30 10:02:40,791 DEBUG [org.jboss.deployment.EARDeployment] Created jboss.j2ee:service=EARDeployment,url='omBilling.ear'
2007-07-30 10:02:40,791 DEBUG [org.jboss.system.ServiceController] Creating dependent components for: jboss.j2ee:service=EARDeployment,url='omBilling.ear' dependents are: []
2007-07-30 10:02:40,791 DEBUG [org.jboss.deployment.MainDeployer] Done with create step of deploying omBilling.ear
2007-07-30 10:02:40,791 DEBUG [org.jboss.deployment.MainDeployer] Begin deployment start file:/C:/jboss-4.0.0/server/all/deploy/omBilling.ear
2007-07-30 10:02:40,791 DEBUG [org.jboss.deployment.MainDeployer] Begin deployment start file:/C:/jboss-4.0.0/server/all/tmp/deploy/tmp50802omBilling.ear-contents/infranetconnector.rar
2007-07-30 10:02:40,791 DEBUG [org.jboss.system.ServiceController] starting service jboss.jca:service=RARDeployment,name='omBilling.ear#infranetconnector.rar'
2007-07-30 10:02:40,791 DEBUG [org.jboss.resource.deployment.RARDeployment] Starting jboss.jca:service=RARDeployment,name='omBilling.ear#infranetconnector.rar'
2007-07-30 10:02:40,791 DEBUG [org.jboss.mx.loading.UnifiedClassLoader] New jmx UCL with url null
2007-07-30 10:02:40,791 DEBUG [org.jboss.mx.loading.RepositoryClassLoader] setRepository, repository=org.jboss.mx.loading.HeirarchicalLoaderRepository3@5aad2a, cl=org.jboss.mx.loading.HeirarchicalLoaderRepository3$CacheClassLoader@12e8204{ url=null ,addedOrder=0}
2007-07-30 10:02:40,791 DEBUG [org.jboss.mx.loading.UnifiedClassLoader] New jmx UCL with url null
2007-07-30 10:02:40,791 DEBUG [org.jboss.mx.loading.RepositoryClassLoader] setRepository, repository=org.jboss.mx.loading.HeirarchicalLoaderRepository3@5aad2a, cl=org.jboss.mx.loading.UnifiedClassLoader3@5a0faf{ url=null ,addedOrder=0}
2007-07-30 10:02:40,791 DEBUG [org.jboss.resource.deployment.RARDeployment] Started jboss.jca:service=RARDeployment,name='omBilling.ear#infranetconnector.rar'
2007-07-30 10:02:40,791 DEBUG [org.jboss.system.ServiceController] Starting dependent components for: jboss.jca:service=RARDeployment,name='omBilling.ear#infranetconnector.rar' dependent components: [ObjectName: jboss.jca:service=ManagedConnectionFactory,name=Ombi.Infranet
state: CREATED
I Depend On: jboss.jca:service=RARDeployment,name='omBilling.ear#infranetconnector.rar'

Depends On Me: jboss.jca:service=ManagedConnectionPool,name=Ombi.Infranet
]
2007-07-30 10:02:40,791 DEBUG [org.jboss.system.ServiceController] starting service jboss.jca:service=ManagedConnectionFactory,name=Ombi.Infranet
2007-07-30 10:02:40,791 DEBUG [org.jboss.resource.connectionmanager.RARDeployment] Starting jboss.jca:service=ManagedConnectionFactory,name=Ombi.Infranet
2007-07-30 10:02:40,791 ERROR [org.jboss.resource.connectionmanager.RARDeployment] Could not find ManagedConnectionFactory class: com.covad.billing.framework.connector.InfLocalTxManagedConnectionFactory
java.lang.ClassNotFoundException: No ClassLoaders found for: com.covad.billing.framework.connector.InfLocalTxManagedConnectionFactory
at org.jboss.mx.loading.LoadMgr3.beginLoadTask(LoadMgr3.java:198)
at org.jboss.mx.loading.RepositoryClassLoader.loadClassImpl(RepositoryClassLoader.java:463)
at org.jboss.mx.loading.RepositoryClassLoader.loadClass(RepositoryClassLoader.java:374)
at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
at org.jboss.resource.connectionmanager.RARDeployment.startService(RARDeployment.java:543)
at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:271)
at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:221)
at sun.reflect.GeneratedMethodAccessor2.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:141)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:72)
at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:242)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:642)
at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:891)
at $Proxy0.start(Unknown Source)
at org.jboss.system.ServiceController.start(ServiceController.java:416)
at org.jboss.system.ServiceController.start(ServiceController.java:438)
at sun.reflect.GeneratedMethodAccessor5.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:141)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:72)
at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:242)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:642)
at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:176)
at $Proxy42.start(Unknown Source)
at org.jboss.deployment.SimpleSubDeployerSupport.startService(SimpleSubDeployerSupport.java:378)
at org.jboss.deployment.SimpleSubDeployerSupport.start(SimpleSubDeployerSupport.java:141)
at org.jboss.deployment.MainDeployer.start(MainDeployer.java:935)
at org.jboss.deployment.MainDeployer.start(MainDeployer.java:927)
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:746)
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:709)
at sun.reflect.GeneratedMethodAccessor37.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:141)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)
at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:119)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:74)
at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:131)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:74)
at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:242)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:642)
at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:176)
at $Proxy8.deploy(Unknown Source)
at org.jboss.deployment.scanner.URLDeploymentScanner.deploy(URLDeploymentScanner.java:305)
at org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentScanner.java:463)
at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.doScan(AbstractDeploymentScanner.java:204)
at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.loop(AbstractDeploymentScanner.java:215)
at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.run(AbstractDeploymentScanner.java:194)
2007-07-30 10:02:40,854 DEBUG [org.jboss.util.NestedThrowable] org.jboss.util.NestedThrowable.parentTraceEnabled=true
2007-07-30 10:02:40,854 DEBUG [org.jboss.util.NestedThrowable] org.jboss.util.NestedThrowable.nestedTraceEnabled=false
2007-07-30 10:02:40,854 DEBUG [org.jboss.util.NestedThrowable] org.jboss.util.NestedThrowable.detectDuplicateNesting=true
2007-07-30 10:02:40,854 ERROR [org.jboss.resource.connectionmanager.RARDeployment] Starting failed jboss.jca:service=ManagedConnectionFactory,name=Ombi.Infranet
org.jboss.deployment.DeploymentException: Could not find ManagedConnectionFactory class: com.covad.billing.framework.connector.InfLocalTxManagedConnectionFactory
at org.jboss.resource.connectionmanager.RARDeployment.startService(RARDeployment.java:548)
at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:271)
at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:221)
at sun.reflect.GeneratedMethodAccessor2.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:141)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:72)
at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:242)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:642)
at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:891)
at $Proxy0.start(Unknown Source)
at org.jboss.system.ServiceController.start(ServiceController.java:416)
at org.jboss.system.ServiceController.start(ServiceController.java:438)
at sun.reflect.GeneratedMethodAccessor5.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:141)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:72)
at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:242)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:642)
at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:176)
at $Proxy42.start(Unknown Source)
at org.jboss.deployment.SimpleSubDeployerSupport.startService(SimpleSubDeployerSupport.java:378)
at org.jboss.deployment.SimpleSubDeployerSupport.start(SimpleSubDeployerSupport.java:141)
at org.jboss.deployment.MainDeployer.start(MainDeployer.java:935)
at org.jboss.deployment.MainDeployer.start(MainDeployer.java:927)
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:746)
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:709)
at sun.reflect.GeneratedMethodAccessor37.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:141)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)
at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:119)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:74)
at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:131)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:74)
at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:242)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:642)
at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:176)
at $Proxy8.deploy(Unknown Source)
at org.jboss.deployment.scanner.URLDeploymentScanner.deploy(URLDeploymentScanner.java:305)
at org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentScanner.java:463)
at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.doScan(AbstractDeploymentScanner.java:204)
at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.loop(AbstractDeploymentScanner.java:215)
at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.run(AbstractDeploymentScanner.java:194)
2007-07-30 10:02:40,916 WARN [org.jboss.system.ServiceController] Problem starting service jboss.jca:service=ManagedConnectionFactory,name=Ombi.Infranet
org.jboss.deployment.DeploymentException: Could not find ManagedConnectionFactory class: com.covad.billing.framework.connector.InfLocalTxManagedConnectionFactory
at org.jboss.resource.connectionmanager.RARDeployment.startService(RARDeployment.java:548)
at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:271)
at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:221)
at sun.reflect.GeneratedMethodAccessor2.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:141)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:72)
at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:242)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:642)
at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:891)
at $Proxy0.start(Unknown Source)
at org.jboss.system.ServiceController.start(ServiceController.java:416)
at org.jboss.system.ServiceController.start(ServiceController.java:438)
at sun.reflect.GeneratedMethodAccessor5.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:141)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:72)
at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:242)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:642)
at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:176)
at $Proxy42.start(Unknown Source)
at org.jboss.deployment.SimpleSubDeployerSupport.startService(SimpleSubDeployerSupport.java:378)
at org.jboss.deployment.SimpleSubDeployerSupport.start(SimpleSubDeployerSupport.java:141)
at org.jboss.deployment.MainDeployer.start(MainDeployer.java:935)
at org.jboss.deployment.MainDeployer.start(MainDeployer.java:927)
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:746)
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:709)
at sun.reflect.GeneratedMethodAccessor37.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:141)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)
at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:119)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:74)
at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:131)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:74)
at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:242)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:642)
at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:176)
at $Proxy8.deploy(Unknown Source)
at org.jboss.deployment.scanner.URLDeploymentScanner.deploy(URLDeploymentScanner.java:305)
at org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentScanner.java:463)
at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.doScan(AbstractDeploymentScanner.java:204)
at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.loop(AbstractDeploymentScanner.java:215)
at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.run(AbstractDeploymentScanner.java:194)



If i am not packaging the jboss-app.xml ,the application is working fine but not creating the different log file.

Am i missing anything?
Please let me know.

Thanks in Advance.
17 years ago
Hi,

I tried the sample log4j.war.It is generating log file separately.Since this sample is web application it has jboss-web.xml and we have to put this snippet

<class-loading java2ClassLoadingCompliance="false">
<loader-repository>
log4j.test:loader=log4j.war
<loader-repository-config>java2ParentDelegation=false</loader-repository-config>
</loader-repository>
</class-loading>

in jboss-web.xml.

But my application is an EAR file.The structure of my application is like this

myEARName.ear
|- META-INF
|-MANIFEST.MF
|-application.xml
|- lib
|- All jar files that my application needs including log4j.jar
|- myEJB.jar
|-META-INF
|- MANIFEST.MF
|-jboss.xml
|-ejb-jar.xml
|-class files of my ejb in package structure
|-myConnector.rar
|-META-INF
|-MANIFEST.MF
|-ra.xml
|-*-ds.xml
|-log4j.xml

myEARName.ear consists of META-INF,lib,myEJB.jar,myConnector.rar,log4j.xml

My application doesn't have jboss-web.xml.So in which xml should i need to put snippet.I tried by placing in application.xml but it didnt work.

Please help me.

Thanks in Advance.
[ July 27, 2007: Message edited by: reddy kumar pavan ]
17 years ago
Hi All,

I am using Log4j in my application.I have put the XML snippet in log4j.xml which is under /server/all/conf/.It is able to generate log statements in separate log file.

Now i want separate log4j.xml with which i want to package with my ear and use this log4j.xml file for generating log statements.Is there any way that i can do this in JBOSS 4.0.0 ?

Can anybody please help me.

Thanks in Advance.
17 years ago
Thank you very much for your help.
Now i am able to deploy resource adapter in JBOSS.
17 years ago
Hi All,

I am migrating an JCA application which is working on Weblogic 8.1.4 to JBOSS 4.0.0.I have created two files infranet-ds.xml and ra.xml.But it is throwing an exception when i tried to deploy.when i browsed some sample applications i found *-service.xml file is also needed for deploying.

Is it compulsory to have *-service.xml file?

Please help me.

Thanks in Advance
17 years ago
Hi All,

I am trying to deploy JCA for infranet on JBOSS4.0.0.

Following are the two configuration files

infranet-ds.xml

<?xml version="1.0" encoding="UTF-8"?>
<connection-factories>
<tx-connection-factory>
<jndi-name>Ombi.Infranet</jndi-name>
<rar-name>infranetconnector.rar</rar-name>
<connection-definition>
javax.resource.cci.ConnectionFactory
</connection-definition>
</tx-connection-factory>
</connection-factories>

ra.xml

<?xml version="1.0" encoding="UTF-8"?>
<connector id="Connector_ID" version="1.5" xmlns="http://java.sun.com/xml/ns/j2ee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/connector_1_5.xsd">

<display-name>InfranetConnector</display-name>
<vendor-name>Covad</vendor-name>
<eis-type>Infranet</eis-type>
<resourceadapter-version>1.0</resourceadapter-version>


<resourceadapter-class>
org.jboss.resource.deployment.DummyResourceAdapter
</resourceadapter-class>
<outbound-resourceadapter>
<connection-definition>
<managedconnectionfactory-class>com.covad.billing.framework.connector.InfLocalTxManagedConnectionFactory</managedconnectionfactory-class>
<config-property>
<config-property-name>BrandSwitch</config-property-name>
<config-property-type>java.lang.String</config-property-type>
<config-property-value>switch</config-property-value>
</config-property>
<connectionfactory-interface>javax.resource.cci.ConnectionFactory</connectionfactory-interface>
<connectionfactory-impl-class>com.covad.billing.framework.connector.InfConnectionFactory</connectionfactory-impl-class>
<connection-interface>javax.resource.cci.Connection</connection-interface>
<connection-impl-class>
com.covad.billing.framework.connector.InfCciConnection
</connection-impl-class>
</connection-definition>
<transaction-support>LocalTransaction</transaction-support>
<authentication-mechanism>
<authentication-mechanism-type>BasicPassword</authentication-mechanism-type>
<credential-interface>javax.resource.spi.security.PasswordCredential</credential-interface>
</authentication-mechanism>
<reauthentication-support>false</reauthentication-support>

</outbound-resourceadapter>


Following is the error which is displayed on JBOSS console:

Stack Trace on JBOSS console
16:35:02,952 INFO [EARDeployer] Init J2EE application: file:/E:/jboss-4.0.0[1]/jboss-4.0.0/server/a
ll/deploy/omBilling.ear
16:35:06,999 INFO [EjbModule] Deploying OMBillingInterface
16:35:07,046 INFO [EJBDeployer] Deployed: file:/E:/jboss-4.0.0[1]/jboss-4.0.0/server/all/tmp/deploy
/tmp22403omBilling.ear-contents/omBilling.jar
16:35:07,077 INFO [EARDeployer] Started J2EE application: file:/E:/jboss-4.0.0[1]/jboss-4.0.0/serve
r/all/deploy/omBilling.ear
16:35:07,187 ERROR [URLDeploymentScanner] Incomplete Deployment listing:
MBeans waiting for other MBeans:
ObjectName: jboss.jca:service=TxCM,name=Ombi.Infranet
state: CONFIGURED
I Depend On: jboss.jca:service=ManagedConnectionPool,name=Ombi.Infranet
jboss.jca:service=CachedConnectionManager
jboss:service=TransactionManager

Depends On Me: jboss.jca:service=ConnectionFactoryBinding,name=Ombi.Infranet

ObjectName: jboss.jca:service=ManagedConnectionPool,name=Ombi.Infranet
state: CONFIGURED
I Depend On: jboss.jca:service=ManagedConnectionFactory,name=Ombi.Infranet

Depends On Me: jboss.jca:service=TxCM,name=Ombi.Infranet

ObjectName: jboss.jca:service=ManagedConnectionFactory,name=Ombi.Infranet
state: CONFIGURED
I Depend On: jboss.jca:service=RARDeployment,name='infranetconnector.rar'

Depends On Me: jboss.jca:service=ManagedConnectionPool,name=Ombi.Infranet

ObjectName: jboss.jca:service=ConnectionFactoryBinding,name=Ombi.Infranet
state: CONFIGURED
I Depend On: jboss.jca:service=TxCM,name=Ombi.Infranet

Depends On Me:

MBEANS THAT ARE THE ROOT CAUSE OF THE PROBLEM:
ObjectName: jboss.jca:service=RARDeployment,name='infranetconnector.rar'
state: NOTYETINSTALLED
I Depend On:
Depends On Me: jboss.jca:service=ManagedConnectionFactory,name=Ombi.Infranet

Please help me.


thanks in advance
17 years ago