Ronnie,
I ran the installer form another machine via SSL and it connected back
to an X session. In the GUI I can see much more logging detail. The
problem appears to be with the connection to Mysql. The log says
connection refused, but I can connect OK at the command line:
mysql -ucorvus -pcorvus ebms
It is interesting that there is nothing following the colon at the set-
mysql-db: statement in the progress log. I have attached the two logs
for info.
Progress Log:
Targets:core,install_ebms,web-service-usage-sample,recreate-ebms-
tables,install_as2,recreate-as2-tables,cleanup
Buildfile: /tmp/antinstall/build.xml
set-postgres-db:
set-mysql-db:
set-oracle-db:
core:
[echo] Installing Hermes 2 core
[mkdir] Created dir: /tmp/antinstall/temp
[unzip] Expanding: /tmp/antinstall/hermes2_bin.zip into /tmp/
antinstall/temp
[echo] Configure web application properties
[echo] Copy web application /var/lib/tomcat5.5/webapps
[copy] Copying 2 files to /var/lib/tomcat5.5/webapps
[echo] Copy module /home/corvus/hermes2/plugins/
hk.hku.cecid.piazza.corvus.admin
[echo] Copy module /home/corvus/hermes2/plugins/
hk.hku.cecid.piazza.corvus.core.main
[echo] Copy module /home/corvus/hermes2/plugins/
hk.hku.cecid.piazza.corvus.core.main.admin
[copy] Copying 1 file to /home/corvus/hermes2/plugins/
hk.hku.cecid.piazza.corvus.core.main.admin
install_ebms:
[echo] Installing ebMS modules
[copy] Copying 1 file to /var/lib/tomcat5.5/webapps/corvus/WEB-
INF/lib
[echo] Copy module /home/corvus/hermes2/plugins/hk.hku.cecid.ebms
[copy] Copying 2 files to /home/corvus/hermes2/plugins/
hk.hku.cecid.ebms
[echo] Copy module /home/corvus/hermes2/plugins/
hk.hku.cecid.ebms.admin
[echo] Configure JDBC properties in ebms.module.xml
web-service-usage-sample:
[echo] Clean up temp files
recreate-ebms-tables:
[echo] Recreating ebMS tables
[echo] Drop existing ebMS tables
Error Log:
BUILD FAILED
/tmp/antinstall/build.xml:381: com.mysql.jdbc.CommunicationsException:
Communications link failure due to underlying exception:
** BEGIN NESTED EXCEPTION **
java.net.ConnectException
MESSAGE: Connection refused
STACKTRACE:
java.net.ConnectException: Connection refused
at java.net.PlainSocketImpl.socketConnect(Native Method)
at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:333)
at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:
195)
at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:182)
at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:366)
at java.net.Socket.connect(Socket.java:520)
at java.net.Socket.connect(Socket.java:470)
at java.net.Socket.<init>(Socket.java:367)
at java.net.Socket.<init>(Socket.java:209)
at
com.mysql.jdbc.StandardSocketFactory.connect(StandardSocketFactory.java:
256)
at com.mysql.jdbc.MysqlIO.<init>(MysqlIO.java:271)
at com.mysql.jdbc.Connection.createNewIO(Connection.java:2771)
at com.mysql.jdbc.Connection.<init>(Connection.java:1555)
at
com.mysql.jdbc.NonRegisteringDriver.connect(NonRegisteringDriver.java:
285)
at org.apache.tools.ant.taskdefs.JDBCTask.getConnection(JDBCTask.java:
319)
at org.apache.tools.ant.taskdefs.SQLExec.execute(SQLExec.java:414)
at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:
288)
at sun.reflect.GeneratedMethodAccessor15.invoke(Unknown Source)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:
25)
at java.lang.reflect.Method.invoke(Method.java:585)
at
org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:
105)
at org.apache.tools.ant.Task.perform(Task.java:348)
at org.apache.tools.ant.Target.execute(Target.java:357)
at org.apache.tools.ant.Target.performTasks(Target.java:385)
at org.apache.tools.ant.Project.executeSortedTargets(Project.java:
1329)
at org.apache.tools.ant.Project.executeTarget(Project.java:1298)
at
org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:
41)
at org.apache.tools.ant.Project.executeTargets(Project.java:1181)
at org.tp23.antinstaller.antmod.Main.runBuild(Main.java:704)
at org.tp23.antinstaller.antmod.Main.startAnt(Main.java:216)
at org.tp23.antinstaller.antmod.Launcher.run(Launcher.java:215)
at
org.tp23.antinstaller.runtime.exe.AntLauncherFilter.exec(AntLauncherFilter.java:
76)
at org.tp23.antinstaller.runtime.ExecInstall.exec(ExecInstall.java:
85)
at
org.tp23.antinstaller.selfextract.SelfExtractor.main(SelfExtractor.java:
370)
** END NESTED EXCEPTION **
Last packet sent to the server was 1 ms ago.
Total time: 2 seconds
Kind regards,
Adrian.
> >
cecid-hermes...@googlegroups.com<
cecid-hermes2%2Bunsu...@googlegroups.com>
> > .