There's a lot missing from your *-service.xml file. I've attached one that includes more or less the minimum you need. It is partly adapted to your .rar file. You definitely need to fill in the 2 config property values, and probably want to change the mbean and jndi names.
When you get it working please contribute it back to the jca samples by submitting a patch on sourceforge. thanks david jencks On 2003.02.13 06:07 Gejara Kumar wrote: > Hi > > I tried deploying my sample connector, and it got > deployed successfully. But it was not bonded to the > JNDI name. > > To provide this I have tried preparing a service.xml > and copy to /deploy directory. I was unsuccessful. > > I tried to find out the relevant sample for service.xml > to prepare the xml for my connector configuration in > JBOSS server directory(jca samples), But most of them, > looks like for describing JDBC/Databse system related. > I am working with IBM Mqseries system based. > > The following is the environment > ================================ > version = JBOSS 3.0.4 > platform = WIN NT 4.0 > my connector RAR file = Interdev.rar > ================================ > > I have prepared one interdev-service.xml file, > getting errors of SAX parser related. > > Since I am new to JBOSS, do not have much > knowledge about preparation of service.xml, > can anybody help me in this regard. > > I have copied following in this mail. > > -- ra.xml of connector > -- interdev-service.xml > -- Error trace at Server side to in-correct service.xml > > Thanks > Kumar > -------------------------------------------- > > The RA.XML file > ================================== > <?xml version="1.0"?> > <!DOCTYPE connector PUBLIC '-//Sun Microsystems, Inc.//DTD > Connector 1.0//EN' 'http://java.sun.com/dtd/connector_1_0.dtd'> > <connector> > <display-name>Inter Dev Connector Copr. 2000, 2001 Inter Dev > Software Inc.</display-name> > <description /> > <vendor-name>Inter Dev Software Inc.</vendor-name> > <spec-version>1.0</spec-version> > <eis-type>Inter Dev Active Enterprise data sources</eis-type> > <version>3.1.0</version> > <resourceadapter> > > ><managedconnectionfactory-class>com.interdev.ejb.connector.AE3ManagedConnectionFactory</managedconnectionfactory-class> > > ><connectionfactory-interface>javax.resource.cci.ConnectionFactory</connectionfactory-interface> > > ><connectionfactory-impl-class>com.interdev.ejb.connector.AE3ConnectionFactory</connectionfactory-impl-class> > > <connection-interface>javax.resource.cci.Connection</connection-interface> > > ><connection-impl-class>com.interdev.ejb.connector.ConnectionImpl</connection-impl-class> > <transaction-support>NoTransaction</transaction-support> > <config-property> > <description>Service URL value for > Connector</description> > <config-property-name>serviceUrl</config-property-name> > > <config-property-type>java.lang.String</config-property-type> > <config-property-value>TBD</config-property-value> > </config-property> > <config-property> > <description>Config value for connector</description> > <config-property-name>configUrl</config-property-name> > > <config-property-type>java.lang.String</config-property-type> > <config-property-value>TBD</config-property-value> > </config-property> > <reauthentication-support>false</reauthentication-support> > </resourceadapter> > </connector> > ======= END OF RA.XML============= > > ========== Interdev-service.xml================= > <service> > <mbean > code="org.jboss.resource.connectionmanager.RARDeployment" > >name="jboss.jca:service=interdev,name=com.interdev.ejb.connector.AE3ConnectionFactory"> > <depends > >optional-attribute-name="OldRarDeployment">jboss.jca:service=RARDeployment,name=com.interdev.ejb.connector.AE3ConnectionFactory</depends> > <attribute name="JndiName">interdev/connector</attribute> > </mbean> > </service> > ============ END of interdev-service.xml======== > > ========= ERROR BELOW =================== > 15:38:23,906 INFO [MainDeployer] Starting deployment of package: > file:/E:/appse > rv/jboss-3.0.4/server/default/deploy/interdev-service.xml > 15:38:23,968 ERROR [URLDeploymentScanner] Failed to deploy: > org.jboss.deployment > .scanner.URLDeploymentScanner$DeployedURL@35786e7a{ > url=file:/E:/appserv/jboss-3 > .0.4/server/default/deploy/interdev-service.xml, > deployedLastModified=0 } > org.jboss.deployment.DeploymentException: Exception getting > document; - nested t > hrowable: (org.xml.sax.SAXParseException: The markup in the > document preceding t > he root element must be well-formed.) > at > org.jboss.deployment.SARDeployer.parseDocument(SARDeployer.java:635) > at > org.jboss.deployment.SARDeployer.init(SARDeployer.java:150) > ========================================================= > > On Wed, 12 Feb 2003 David Jencks wrote : > >You don't say what you have tried and what happened, so I can't > >help much. > > > >You need to: > >1. deploy the .rar by putting it in the appropriate deploy > >folder > >2. deploy a configuration file myrar-service.xml by putting it in > >the > >deploy folder. > > > >Examples of configuration files are in docs/examples/jca I > >believe. > > > >david jencks > > > > > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > JBoss-user mailing list > [EMAIL PROTECTED] > https://lists.sourceforge.net/lists/listinfo/jboss-user > > ------------------------------------------------------- This SF.NET email is sponsored by: FREE SSL Guide from Thawte are you planning your Web Server Security? Click here to get a FREE Thawte SSL guide and find the answers to all your SSL security issues. http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0026en _______________________________________________ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
