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
