geronimo-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Brian Bonner <bkbon...@gmail.com>
Subject deploying a database plan
Date Thu, 24 Nov 2005 13:20:24 GMT
Hi, I'm relatively new.  I've been doing reading and I want to deploy
a datasource using this plan:

<?xml version="1.0" encoding="UTF-8"?>
<connector xmlns="http://geronimo.apache.org/xml/ns/j2ee/connector-1.0"
	xmlns:sys="http://geronimo.apache.org/xml/ns/deployment-1.0"
	xmlns:naming="http://geronimo.apache.org/xml/ns/naming-1.0"
configId="net/sf/jt400"
	parentId="org/apache/geronimo/Server">
	
	<resourceadapter>
	
		<outbound-resourceadapter>
			<connection-definition>
				<connectionfactory-interface>javax.sql.DataSource</connectionfactory-interface>
				<connectiondefinition-instance>
					<name>AS400Datasource</name>
					<config-property-setting name="UserName">user</config-property-setting>
					<config-property-setting name="Password">demo</config-property-setting>
					<config-property-setting name="Driver">
						com.ibm.as400.access.AS400JDBCDriver
					</config-property-setting>
					<config-property-setting name="ConnectionURL">
						jdbc:as400:192.168.1.15
					</config-property-setting>
					<config-property-setting name="CommitBeforeAutocommit">
						true
					</config-property-setting>
					<config-property-setting name="ExceptionSorterClass">
						org.tranql.connector.NoExceptionsAreFatalSorter
					</config-property-setting>
					<connectionmanager>
						<local-transaction />
						<single-pool>
							<max-size>10</max-size>
							<min-size>0</min-size>
							<blocking-timeout-milliseconds>5000</blocking-timeout-milliseconds>
							<idle-timeout-minutes>30</idle-timeout-minutes>
							<match-one />
						</single-pool>
					</connectionmanager>
				</connectiondefinition-instance>
			</connection-definition>
		</outbound-resourceadapter>
	</resourceadapter>
</connector>


I copied tranql-connector-1.0.rar from the /repository/tranql/rars
directory and placed it in the same directory as my plan.  Is this
required?

Am I using the correct namespaces to validate the database plan?

Is this the correct way to generate the datasource on the server?

Is there a way to reference the rar on the server?

I run this command and I get this error:
deploy --user system --password manager deploy
tranql-connector-1.0.rar geronimo-ra.xml
    Error: Unable to distribute tranql-connector-1.0.rar: No builder
    found for namespace:
    http://geronimo.apache.org/xml/ns/j2ee/connector-1.0 or default
    namespace: http://geronimo.apache.org/xml/ns/j2ee/web/jetty-1.0

I have started the tomcat instance and stopped jetty on the server
manually using deploy.

Any help would be appreciated.

Thanks.

Brian

Mime
View raw message