Return-Path: X-Original-To: apmail-geronimo-user-archive@www.apache.org Delivered-To: apmail-geronimo-user-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 32A109281 for ; Mon, 16 Apr 2012 09:29:08 +0000 (UTC) Received: (qmail 3671 invoked by uid 500); 16 Apr 2012 09:29:07 -0000 Delivered-To: apmail-geronimo-user-archive@geronimo.apache.org Received: (qmail 3425 invoked by uid 500); 16 Apr 2012 09:29:04 -0000 Mailing-List: contact user-help@geronimo.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: Reply-To: user@geronimo.apache.org List-Id: Delivered-To: mailing list user@geronimo.apache.org Received: (qmail 3393 invoked by uid 99); 16 Apr 2012 09:29:02 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 16 Apr 2012 09:29:02 +0000 X-ASF-Spam-Status: No, hits=2.8 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS,URI_HEX X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of xhhsld@gmail.com designates 209.85.212.178 as permitted sender) Received: from [209.85.212.178] (HELO mail-wi0-f178.google.com) (209.85.212.178) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 16 Apr 2012 09:28:57 +0000 Received: by wibhq7 with SMTP id hq7so4137010wib.13 for ; Mon, 16 Apr 2012 02:28:36 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=8hoG3BSnGOwG8zGKc1uv37wP8IaNbgK53gk+vOpVVAM=; b=D5sID9AM+VecYSKPzoTGfDuUEOe6VNPFtaE6fbV211hV2nFyHo3TZ90LzJLlHE71Yv z11YTgQwu9MnZ5lZs9BQfnoKEJrOUHspcVcML53yi7Bl0MU/ojgmwPgdi1nagYjGcoDK 7uu2MkmLEgpukO069+uwFhOlBFOcpTW96X9NAkNN1bDVRpd3CnVjht5o/+mq/27f1QPO Vx/n+CtTEnF/q3xI11Qu4DctfZE0YIXtu/bOYfpPExKDvFKx8eKdA8uiqYWw16JPAFxM 5sZPiYYyK29wWGmE6pJQBrtkgcB7x5eq9MRN74Znml5nb6MXvF/SCFC9yRra7fSVBRsU x4LA== MIME-Version: 1.0 Received: by 10.216.150.148 with SMTP id z20mr6601698wej.22.1334568516212; Mon, 16 Apr 2012 02:28:36 -0700 (PDT) Received: by 10.216.12.208 with HTTP; Mon, 16 Apr 2012 02:28:36 -0700 (PDT) In-Reply-To: <1334380090722-3909648.post@n3.nabble.com> References: <1334380090722-3909648.post@n3.nabble.com> Date: Mon, 16 Apr 2012 17:28:36 +0800 Message-ID: Subject: Re: deploy From: Ivan To: user@geronimo.apache.org Content-Type: multipart/alternative; boundary=001636c5bbce56599b04bdc87206 X-Virus-Checked: Checked by ClamAV on apache.org --001636c5bbce56599b04bdc87206 Content-Type: text/plain; charset=ISO-8859-1 IIRC, it is possible to install the Oracle driver from Geronimo console, then while creating the datasource, it is possible to choose the artifact corresponding to the driver. 2012/4/14 Stephen Davidson > Tryint do deploy my .ear using oracle plan results in the following error: > > C:\gerbeta301\bin>deploy deploy > c:\day30beta\javaee6\assemblies\daytrader-ear\ta > rget\daytrader-ear-3.0-beta-2-SNAPSHOT.ear > c:\day30beta\javaee6\plans\target\cla > sses\daytrader-oracle-xa-plan.xml > Using GERONIMO_HOME: c:\gerbeta301 > Using GERONIMO_TMPDIR: var\temp > Using JRE_HOME: c:\program files\java\jdk1.6.0_31\jre > Username: system > Password: ******* > 2012-04-14 13:47:25,089 ERROR [DeployTool] Error: > org.apache.geronimo.common.DeploymentException: Operation failed: > oracle/jdbc/xa > /client/OracleXADataSource > > at > org.apache.geronimo.deployment.cli.CommandDistribute.executeOnline(Co > mmandDistribute.java:168) > at > org.apache.geronimo.deployment.cli.CommandDistribute.execute(CommandD > istribute.java:124) > at > org.apache.geronimo.deployment.cli.DeployTool.execute(DeployTool.java > :171) > at > org.apache.geronimo.system.main.MainBridge.execute(MainBridge.java:64 > ) > at > org.apache.geronimo.main.Bootstrapper.execute(Bootstrapper.java:65) > at > org.apache.geronimo.cli.AbstractCLI.executeMain(AbstractCLI.java:65) > at > org.apache.geronimo.cli.deployer.DeployerCLI.main(DeployerCLI.java:32 > ) > > I have .jar files in two places. In my local repository and in geronimo > repository. I seem to have to manually build the file structure under > geronimo/repository. I have tried various heirarchies, matching the .ms > repository structure exactly? ALso using > ../oracle/jdbc/ojdbc14/10g/ojdbc14-10g.jar. > > I have tried using an old ojdbc14.jar and a new ojdbc6.jar. Always the > same error when trying to deploy the datasource. The application deploys > ok. > > I have also tried deploying via the console and get the same error. > > SO close. > So very close. > > ANy suggestions? > > > -- > View this message in context: > http://apache-geronimo.328035.n3.nabble.com/deploy-tp3909648p3909648.html > Sent from the Users mailing list archive at Nabble.com. > -- Ivan --001636c5bbce56599b04bdc87206 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable IIRC, it is possible to install the Oracle driver from Geronimo console, th= en while creating the datasource, it is possible to choose the artifact cor= responding to the driver.

2012/4/14 Steph= en Davidson <steverdavidson@gmail.com>
Tryint do deploy my .ear using oracle plan r= esults in the following error:

C:\gerbeta301\bin>deploy deploy
c:\day30beta\javaee6\assemblies\daytrader-ear\ta
rget\daytrader-ear-3.0-beta-2-SNAPSHOT.ear
c:\day30beta\javaee6\plans\target\cla
sses\daytrader-oracle-xa-plan.xml
Using GERONIMO_HOME: =A0 c:\gerbeta301
Using GERONIMO_TMPDIR: var\temp
Using JRE_HOME: =A0 =A0 =A0 =A0c:\program files\java\jdk1.6.0_31\jre
Username: system
Password: *******
2012-04-14 13:47:25,089 ERROR [DeployTool] Error:
org.apache.geronimo.common.DeploymentException: Operation failed:
oracle/jdbc/xa
/client/OracleXADataSource

=A0 =A0 =A0 =A0at
org.apache.geronimo.deployment.cli.CommandDistribute.executeOnline(Co
mmandDistribute.java:168)
=A0 =A0 =A0 =A0at
org.apache.geronimo.deployment.cli.CommandDistribute.execute(CommandD
istribute.java:124)
=A0 =A0 =A0 =A0at
org.apache.geronimo.deployment.cli.DeployTool.execute(DeployTool.java
:171)
=A0 =A0 =A0 =A0at
org.apache.geronimo.system.main.MainBridge.execute(MainBridge.java:64
)
=A0 =A0 =A0 =A0at
org.apache.geronimo.main.Bootstrapper.execute(Bootstrapper.java:65)
=A0 =A0 =A0 =A0at
org.apache.geronimo.cli.AbstractCLI.executeMain(AbstractCLI.java:65)
=A0 =A0 =A0 =A0at
org.apache.geronimo.cli.deployer.DeployerCLI.main(DeployerCLI.java:32
)

I have .jar files in two places. =A0In my local repository and in geronimo<= br> repository. =A0I seem to have to manually build the file structure under geronimo/repository. =A0I have tried various heirarchies, matching the .ms<= br> repository structure exactly? =A0ALso using
../oracle/jdbc/ojdbc14/10g/ojdbc14-10g.jar.

I have tried using an old ojdbc14.jar and a new ojdbc6.jar. =A0 Always the<= br> same error when trying to deploy the datasource. =A0The application deploys=
ok.

I have also tried deploying via the console and get the same error.

SO close.
So very close.

ANy suggestions?


--
View this message in context: http://apache-ge= ronimo.328035.n3.nabble.com/deploy-tp3909648p3909648.html
Sent from the Users mailing list archive at Nabble.com.



--
Ivan
--001636c5bbce56599b04bdc87206--