Note that there are some explanatory texts on larger screens.

plurals
  1. POCan't install tutorial content for javaee7 tutorial with updatetool
    text
    copied!<p>I downloaded the latest javaee7 tutorial and tried downloading the tutorial files with command <code>updatetool</code>. I did following steps:</p> <ul> <li>downloaded <code>glassfish4</code> zip file and unzipped it </li> <li>I set the <code>$AS_JAVA</code> variable equal to <code>$JAVA_HOME</code>. <code>JAVA_HOME</code> was correctly pointing to a valid oracle-7-jdk from earlier configuration.</li> <li><p>I then added parent <code>glassfish</code> and <code>glassfish</code> directory to <code>PATH</code>. When I do <code>which updatetool</code>, I get following: <code>/home/frrole/glassfish4/bin/updatetool</code>. So I guess all is fine. I'm also able to successfully fire glassfish server with `asadmin start-domain</p></li> <li><p>Now when I type <code>updatetool</code>, I receive following error:</p></li> </ul> <blockquote> <p>frrole@Frrole-NER1:/usr/lib/jvm/java-7-oracle$ updatetool </p> <p>The software needed for this command (updatetool) is not installed.</p> <p>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.</p> <p>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:</p> <p><a href="http://wikis.oracle.com/display/updatecenter/UsageMetricsUC2" rel="nofollow">http://wikis.oracle.com/display/updatecenter/UsageMetricsUC2</a></p> <p>Once installation is complete you may re-run this command.</p> <p>Would you like to install Update Tool now (y/n): y</p> <p>Proxy: Using system proxy settings. Install image: /home/frrole/glassfish4 Installing pkg packages. Downloading 2 packages. Downloading pkg (511 files, 6,237,937 bytes).</p> <p>A fatal error has been detected by the Java Runtime Environment:</p> <p>SIGSEGV (0xb) at pc=0x00007ffb5b574920, pid=22316, tid=140717514012416</p> <p>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</p> <p>Failed to write core dump. Core dumps have been disabled. To enable core dumping, try "ulimit -c unlimited" before starting Java again</p> <p>An error report file with more information is saved as: /home/frrole/glassfish4/hs_err_pid22316.log</p> <p>If you would like to submit a bug report, please visit: <a href="http://bugreport.sun.com/bugreport/crash.jsp" rel="nofollow">http://bugreport.sun.com/bugreport/crash.jsp</a> The crash happened outside the Java Virtual Machine in native code. See problematic frame for where to report the bug. Aborted (core dumped)</p> </blockquote> <p>I have no idea what is happening. Any help is much appreciated.</p> <hr> <p>UPDATE:</p> <p>Now, I'm getting the following error:</p> <pre><code>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 </code></pre>
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload