I downloaded the latest javaee7 tutorial and tried downloading the tutorial files with command updatetool
. I did following steps:
- downloaded
glassfish4
zip file and unzipped it - I set the
$AS_JAVA
variable equal to$JAVA_HOME
.JAVA_HOME
was correctly pointing to a valid oracle-7-jdk from earlier configuration. I then added parent
glassfish
andglassfish
directory toPATH
. When I dowhich updatetool
, I get following:/home/frrole/glassfish4/bin/updatetool
. So I guess all is fine. I'm also able to successfully fire glassfish server with `asadmin start-domainNow when I type
updatetool
, I receive following error:
frrole@Frrole-NER1:/usr/lib/jvm/java-7-oracle$ updatetool
The software needed for this command (updatetool) is not installed.
If you choose to install Update Tool, your system will be automatically configured to periodically check for software updates. If you would like to configure the tool to not check for updates, you can override the default behavior via the tool's Preferences facility.
When this tool interacts with package repositories, some system information such as your system's IP address and operating system type and version is sent to the repository server. For more information please see:
http://wikis.oracle.com/display/updatecenter/UsageMetricsUC2
Once installation is complete you may re-run this command.
Would you like to install Update Tool now (y/n): y
Proxy: Using system proxy settings. Install image: /home/frrole/glassfish4 Installing pkg packages. Downloading 2 packages. Downloading pkg (511 files, 6,237,937 bytes).
A fatal error has been detected by the Java Runtime Environment:
SIGSEGV (0xb) at pc=0x00007ffb5b574920, pid=22316, tid=140717514012416
JRE version: 7.0_21-b11 Java VM: Java HotSpot(TM) 64-Bit Server VM (23.21-b01 mixed mode linux-amd64 compressed oops) Problematic frame: C [libdbus-1.so.3+0x26920]GConf Error: Configuration server couldn't be contacted: D-BUS error: Message has the same reply serial as a currently-outstanding existing method call [thread 140717512959744 also had an error] dbus_watch_handle+0x1b20
Failed to write core dump. Core dumps have been disabled. To enable core dumping, try "ulimit -c unlimited" before starting Java again
An error report file with more information is saved as: /home/frrole/glassfish4/hs_err_pid22316.log
If you would like to submit a bug report, please visit: http://bugreport.sun.com/bugreport/crash.jsp The crash happened outside the Java Virtual Machine in native code. See problematic frame for where to report the bug. Aborted (core dumped)
I have no idea what is happening. Any help is much appreciated.
UPDATE:
Now, I'm getting the following error:
Would you like to install Update Tool now (y/n): y
Exception in thread "main" java.io.IOException: Connection failed for URL http://pkg.oracle.com/javaeesdk/7/native/release/catalog/0: 500: Internal Server Error
at com.sun.pkg.client.Image.checkRepositoryConnection(Image.java:1232)
at com.sun.pkg.client.Catalog.refresh(Catalog.java:132)
at com.sun.pkg.client.Image.refreshCatalogs(Image.java:1627)
at com.sun.pkg.client.Client.main(Client.java:109)
Proxy: Using system proxy settings.
Input/output error: Connection failed for URL http://pkg.oracle.com/javaeesdk/7/release/catalog/0: 502: Proxy Error