Return-Path: X-Original-To: apmail-maven-users-archive@www.apache.org Delivered-To: apmail-maven-users-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id D0D9F1064C for ; Sat, 8 Mar 2014 19:34:36 +0000 (UTC) Received: (qmail 51805 invoked by uid 500); 8 Mar 2014 19:34:32 -0000 Delivered-To: apmail-maven-users-archive@maven.apache.org Received: (qmail 51228 invoked by uid 500); 8 Mar 2014 19:34:28 -0000 Mailing-List: contact users-help@maven.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Help: List-Post: List-Id: "Maven Users List" Reply-To: "Maven Users List" Delivered-To: mailing list users@maven.apache.org Received: (qmail 51220 invoked by uid 99); 8 Mar 2014 19:34:26 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 08 Mar 2014 19:34:26 +0000 X-ASF-Spam-Status: No, hits=1.7 required=5.0 tests=FREEMAIL_ENVFROM_END_DIGIT,HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of davek1802@gmail.com designates 209.85.217.177 as permitted sender) Received: from [209.85.217.177] (HELO mail-lb0-f177.google.com) (209.85.217.177) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 08 Mar 2014 19:34:22 +0000 Received: by mail-lb0-f177.google.com with SMTP id z11so3651558lbi.36 for ; Sat, 08 Mar 2014 11:34:01 -0800 (PST) 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=CWRLynvhBF8Wbi3w34db72Pact32eRp/FZFp2tD/reI=; b=UXkYFwoY6TO8QCNlHjVvi9xYwVUz94ZUMhdDmf33pgr4DYom3h9dF5e7+JfDu0uDoa tL8W577SHZ8bS/k9EZRkIQWaE9OiPxPaukJ1Um+JO9mofd9M7xVrgBQHGS9t+WZfNqIQ gWuAwE+kMizSvjEGYwoRddpDVdNacUHlqZcrkWwEkLUr//ywrddVdw24eKzNJCEk+0KF Atbv5xAo2ARdSIGV6xEVYMnxW0b4PSlvBHbl5PmBl0pl9vvZXOc3oNYd65jHYRZieb9y aJkpWvJzP3fajs10WF0+P/C1ZQCwOpPVcRD8UudzOJ77Ew0Kyyo3Z8RpHuGr7+SO/2r9 ZA6w== MIME-Version: 1.0 X-Received: by 10.112.97.178 with SMTP id eb18mr7288249lbb.13.1394307240890; Sat, 08 Mar 2014 11:34:00 -0800 (PST) Received: by 10.112.132.5 with HTTP; Sat, 8 Mar 2014 11:34:00 -0800 (PST) In-Reply-To: References: Date: Sat, 8 Mar 2014 11:34:00 -0800 Message-ID: Subject: Re: Netbeans 7.4 maven POM for com.oracle:ojdbc6:jar:11.2.0.1 is invalid From: Dave Kennedy To: Maven Users List Content-Type: multipart/alternative; boundary=001a1133e308cd16ee04f41d73db X-Virus-Checked: Checked by ClamAV on apache.org --001a1133e308cd16ee04f41d73db Content-Type: text/plain; charset=ISO-8859-1 debug logging enabled I updated the ojdbc6-11.2.0.1.pom file (see below) and the 'invalid' message did not appear. Now there is an error running JUnit tests: No suitable driver found for oracle:thin:@dataserver.com:1521:dbname I can PING the database in GlassFish Domain Admin Console and view the Tables and data in Netbeans | Services | Databases Error Log**************************************** . . . [EL Info]: 2014-03-08 11:07:43.435--ServerSession(18008857)--Thread(Thread[main,5,main])--EclipseLink, version: Eclipse Persistence Services - 2.5.1.v20130918-f2b9fc5 [EL Config]: connection: 2014-03-08 11:07:43.441--ServerSession(18008857)--Connection(32106576)--Thread(Thread[main,5,main])--connecting(DatabaseLogin( platform=>OraclePlatform user name=> "" connector=>JNDIConnector datasource name=>null )) [EL Severe]: 2014-03-08 11:07:43.446--ServerSession(18008857)--Thread(Thread[main,5,main])--Exception [EclipseLink-4002] (Eclipse Persistence Services - 2.5.1.v20130918-f2b9fc5): org.eclipse.persistence.exceptions.DatabaseException Internal Exception: java.sql.SQLException: No suitable driver found for oracle:thin:@dataserver.com:1521:dbname Error Code: 0 [EL Severe]: ejb: 2014-03-08 11:07:43.448--ServerSession(18008857)--Thread(Thread[main,5,main])--Exception [EclipseLink-4002] (Eclipse Persistence Services - 2.5.1.v20130918-f2b9fc5): org.eclipse.persistence.exceptions.DatabaseException Internal Exception: java.sql.SQLException: No suitable driver found for oracle:thin:@dataserver.com:1521:dbname Error Code: 0 Mar 08, 2014 11:07:43 AM org.springframework.test.context.TestContextManager beforeTestMethod WARNING: Caught exception while allowing TestExecutionListener [org.springframework.test.context.transaction.TransactionalTestExecutionListener@1f86671] to process 'before' execution of test method [public void dao.CustomerDaoTest.testFindAll() throws java.lang.Exception] for test instance [dao.CustomerDaoTest@10dbe25] org.springframework.transaction.CannotCreateTransactionException: Could not open JPA EntityManager for transaction; nested exception is javax.persistence.PersistenceException: Exception [EclipseLink-4002] (Eclipse Persistence Services - 2.5.1.v20130918-f2b9fc5): org.eclipse.persistence.exceptions.DatabaseException Internal Exception: java.sql.SQLException: No suitable driver found for oracle:thin:@dataserver.com:1521:dbname Error Code: 0 at org.springframework.orm.jpa.JpaTransactionManager.doBegin(JpaTransactionManager.java:428) at org.springframework.transaction.support.AbstractPlatformTransactionManager.getTransaction(AbstractPlatformTransactionManager.java:372) at org.springframework.test.context.transaction.TransactionalTestExecutionListener$TransactionContext.startTransaction(TransactionalTestExecutionListener.java:583) at org.springframework.test.context.transaction.TransactionalTestExecutionListener.startNewTransaction(TransactionalTestExecutionListener.java:276) at org.springframework.test.context.transaction.TransactionalTestExecutionListener.beforeTestMethod(TransactionalTestExecutionListener.java:171) at org.springframework.test.context.TestContextManager.beforeTestMethod(TestContextManager.java:348) at org.springframework.test.context.junit4.statements.RunBeforeTestMethodCallbacks.evaluate(RunBeforeTestMethodCallbacks.java:73) at org.springframework.test.context.junit4.statements.RunAfterTestMethodCallbacks.evaluate(RunAfterTestMethodCallbacks.java:83) at org.springframework.test.context.junit4.statements.SpringRepeat.evaluate(SpringRepeat.java:72) at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.runChild(SpringJUnit4ClassRunner.java:231) at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.runChild(SpringJUnit4ClassRunner.java:88) at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238) at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63) at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236) at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53) at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229) at org.springframework.test.context.junit4.statements.RunBeforeTestClassCallbacks.evaluate(RunBeforeTestClassCallbacks.java:61) at org.springframework.test.context.junit4.statements.RunAfterTestClassCallbacks.evaluate(RunAfterTestClassCallbacks.java:71) at org.junit.runners.ParentRunner.run(ParentRunner.java:309) at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.run(SpringJUnit4ClassRunner.java:174) at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:264) at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:153) at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:124) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:606) at org.apache.maven.surefire.util.ReflectionUtils.invokeMethodWithArray2(ReflectionUtils.java:208) at org.apache.maven.surefire.booter.ProviderFactory$ProviderProxy.invoke(ProviderFactory.java:159) at org.apache.maven.surefire.booter.ProviderFactory.invokeProvider(ProviderFactory.java:87) at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:153) at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:95) Caused by: javax.persistence.PersistenceException: Exception [EclipseLink-4002] (Eclipse Persistence Services - 2.5.1.v20130918-f2b9fc5): org.eclipse.persistence.exceptions.DatabaseException Internal Exception: java.sql.SQLException: No suitable driver found for oracle:thin:@dataserver.com:1521:dbname Error Code: 0 .m2\repository\com\oracle\ojdbc6\11.2.0.1\ojdbc6-11.2.0.1.pom************************ 4.0.0 com.oracle ojdbc6 11.2.0.1.0 Oracle JDBC Driver Oracle JDBC driver classes for use with JDK1.7 http://www.oracle.com/technology/software/tech/java/sqlj_jdbc/index.html Oracle Technology Network Development and Distribution License Terms http://www.oracle.com/technology/software/htdocs/distlic.html Oracle Corporation http://www.oracle.com On Thu, Mar 6, 2014 at 6:40 PM, Wayne Fay wrote: > > "The POM for com.oracle:ojdbc6:jar:11.2.0.1 is invalid, transitive > > dependencies (if any) will not be available, enable debug logging for > more > > details" > > Did you enable debug logging with -X to see more details? What does it say? > > Wayne > > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscribe@maven.apache.org > For additional commands, e-mail: users-help@maven.apache.org > > --001a1133e308cd16ee04f41d73db--