Hello, please help! After a long time of successful cooperation I can't get
Artifactory running after several updates. As I use unattended setup
scripts, I could try a lot of combinations for new Artifactory
installations, default empty Derby DB, using Java SDK 1.6.0.27, Java SDK
1.7.0, Tomcat 6.0.33, Tomcat 7.0.20, Artifactory 2.3.2 and Artifactory
2.3.4.1. 

I can start the web application once, log in as admin, copy my configuration
and logout. As soon as I shutdown Tomcat, the problems start. A second
startup and login always fails by message

java.sql.SQLNonTransientConnectionException: Connection authentication
failure occurred.  Reason: Invalid authentication..
        at 
org.apache.derby.impl.jdbc.SQLExceptionFactory40.getSQLException(Unknown
Source)
        at org.apache.derby.impl.jdbc.Util.newEmbedSQLException(Unknown Source)
        at org.apache.derby.impl.jdbc.Util.newEmbedSQLException(Unknown Source)
        at org.apache.derby.impl.jdbc.Util.generateCsSQLException(Unknown 
Source)
        at org.apache.derby.impl.jdbc.EmbedConnection.newSQLException(Unknown
Source)
        at 
org.apache.derby.impl.jdbc.EmbedConnection.checkUserCredentials(Unknown
Source)
        at org.apache.derby.impl.jdbc.EmbedConnection.<init>(Unknown Source)
        at org.apache.derby.impl.jdbc.EmbedConnection30.<init>(Unknown Source)
        at org.apache.derby.impl.jdbc.EmbedConnection40.<init>(Unknown Source)
        at org.apache.derby.jdbc.Driver40.getNewEmbedConnection(Unknown Source)
        at org.apache.derby.jdbc.InternalDriver.connect(Unknown Source)
        at org.apache.derby.jdbc.AutoloadedDriver.connect(Unknown Source)
        at
org.apache.commons.dbcp.DriverConnectionFactory.createConnection(DriverConnectionFactory.java:38)
        at
org.apache.commons.dbcp.PoolableConnectionFactory.makeObject(PoolableConnectionFactory.java:294)

The derby.log contains additionally

Cannot find the network server class,
org.apache.derby.impl.drda.NetworkServerControlImpl. Your class path should
contain derbynet.jar.
----------------------------------------------------------------
Tue Aug 23 22:09:00 CEST 2011:
Booting Derby version The Apache Software Foundation - Apache Derby -
10.7.1.1 - (1040133): instance a816c00e-0131-f842-9d25-fffff6d902a4 
on database directory C:\sdd\artifact-repository-manager\data\derby  with
class loader WebappClassLoader
  context: /artifactory
  delegate: false
  repositories:
    /WEB-INF/classes/
----------> Parent Classloader:
org.apache.catalina.loader.StandardClassLoader@a3d4cf
 
Loaded from
file:/C:/sde/client/tools/tomcat-buildserver/webapps/artifactory/WEB-INF/lib/derby-10.7.1.1.jar
java.vendor=Sun Microsystems Inc.
java.runtime.version=1.6.0_27-b07
Database Class Loader started - derby.database.classpath=''
Tue Aug 23 22:09:00 CEST 2011 Thread[art-init,5,main] (XID = 597),
(SESSIONID = 0), (DATABASE = C:\sdd\artifact-repository-manager\data/derby),
(DRDAID = null), Cleanup action starting


--
View this message in context: 
http://forums.jfrog.org/Startup-error-SQLNonTransientConnectionException-Invalid-authentication-JDK-6-and-7-Tomcat-6-and-7-A1-tp6717645p6717645.html
Sent from the Artifactory - Users mailing list archive at Nabble.com.

------------------------------------------------------------------------------
Get a FREE DOWNLOAD! and learn more about uberSVN rich system, 
user administration capabilities and model configuration. Take 
the hassle out of deploying and managing Subversion and the 
tools developers use with it. http://p.sf.net/sfu/wandisco-d2d-2
_______________________________________________
Artifactory-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/artifactory-users

Reply via email to