Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

#627 Derby server is not started #658

Merged
merged 1 commit into from
Mar 13, 2021

Conversation

hussainnm
Copy link
Contributor

Fix derby.classpath.ri to include derbyshared.jar and derbytools.jar

Should resolve the following error:

is.derby.running:
     [echo] Derby not running, now starting it
     [echo] *** Now checking if Derby is running 
     [echo] ts.home = /root/jakartaeetck/bin/xml/../..
     [echo] In a bundle
     [echo] The deliverable currently in use is /root/jakartaeetck/bin/xml/../../bin.

checkPlatform:

configUnix:
     [echo] on unix

configWindows:

convertPaths:

configPlatform:

is.derby.running:
     [echo] Derby was NOT started successfully
     [echo] ts.home = /root/jakartaeetck/bin/xml/../..
     [echo] In a bundle
     [echo] The deliverable currently in use is /root/jakartaeetck/bin/xml/../../bin.

init.javadb:
     [echo] ts.home = /root/jakartaeetck/bin/xml/../..
     [echo] In a bundle
     [echo] The deliverable currently in use is /root/jakartaeetck/bin/xml/../../bin.

init.derby:
     [echo] ts.home = /root/jakartaeetck/bin/xml/../..
     [echo] In a bundle
     [echo] The deliverable currently in use is /root/jakartaeetck/bin/xml/../../bin.

check.configure.cmp:

configure.basic:
     [echo] DB URL: jdbc:derby://localhost:1527/derbyDB;create=true

BUILD FAILED
/root/jakartaeetck/bin/build.xml:719: The following error occurred while executing this line:
/root/jakartaeetck/bin/build.xml:537: The following error occurred while executing this line:
/root/jakartaeetck/bin/xml/initdb.xml:115: The following error occurred while executing this line:
/root/jakartaeetck/bin/xml/initdb.xml:505: java.sql.SQLNonTransientConnectionException: java.net.ConnectException : Error connecting to server localhost on port 1,527 with message Connection refused (Connection refused).
	at org.apache.derby.client.am.SQLExceptionFactory.getSQLException(SQLExceptionFactory.java:74)
	at org.apache.derby.client.am.SqlException.getSQLException(SqlException.java:325)
	at org.apache.derby.client.ClientAutoloadedDriver.connect(ClientAutoloadedDriver.java:177)
	at org.apache.tools.ant.taskdefs.JDBCTask.getConnection(JDBCTask.java:364)
	at org.apache.tools.ant.taskdefs.SQLExec.getConnection(SQLExec.java:953)
	at org.apache.tools.ant.taskdefs.SQLExec.execute(SQLExec.java:649)
	at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:292)
	at jdk.internal.reflect.GeneratedMethodAccessor4.invoke(Unknown Source)

Fix derby.classpath.ri to include derbyshared.jar and derbytools.jar

Signed-off-by: hussainnm <hussain.nm@cognizant.com>
@scottmarlow scottmarlow merged commit 1c7d96c into jakartaee:master Mar 13, 2021
@hussainnm hussainnm deleted the fix-derby-not-started branch March 14, 2021 03:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants