Gupta.Swap
Gupta.Swap

Reputation: 265

Eclipse crashes when running dynamic web app

I am trying to run a dynamic web application in eclipse 3.7 (indigo) using Apache Tomcat v7.0. The project is empty when i try to run (Run > Run on server) eclipse crashes.

I am running on Ubuntu 13.04.

Also when i run eclipse from command line. I get error as -

#
# A fatal error has been detected by the Java Runtime Environment:
#
#  SIGSEGV (0xb) at pc=0x00007f9a0c4c2009, pid=7501, tid=140300945577728
#
# JRE version: 7.0_21-b02
# Java VM: OpenJDK 64-Bit Server VM (23.7-b01 mixed mode linux-amd64 compressed oops)
# Problematic frame:
# C  [libsoup-2.4.so.1+0x6e009]  soup_session_feature_detach+0x19
#
# 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/swapnilg/hs_err_pid7501.log
#
# If you would like to submit a bug report, please include
# instructions on how to reproduce the bug and visit:
#   https://bugs.launchpad.net/ubuntu/+source/openjdk-7/
# The crash happened outside the Java Virtual Machine in native code.
# See problematic frame for where to report the bug.
#

Log File Content

Please help me. I have even tried changing the JDK, Tomcat and eclipse version.

Upvotes: 3

Views: 2496

Answers (4)

renukashahu
renukashahu

Reputation: 1

Even I was facing the same problem and tried multiple solutions. I got work-around for it when I added -Dorg.eclipse.swt.browser.DefaultType=mozilla in eclipse.ini file.

Upvotes: 0

CodeShadow
CodeShadow

Reputation: 3652

Worked for me when i changed the browser to access to run the web app.

OS:UBUNTU 14.04 Eclipse: Eclipse kepler Server: Apache tomcat 7

Did this - Window-->Web browser-->Default Web Browser.

Upvotes: 4

fmodos
fmodos

Reputation: 4568

It crashes because eclipse is trying to open the internal browser to show the webapp. I don't know why this error is happening, maybe an eclipse bug with ubuntu.

One work around is to run the server using the Servers View instead the Run As. Go to Servers View->Right Click the Server->Run

Upvotes: 3

Gaurav Singh
Gaurav Singh

Reputation: 13507

i also faced the same error once while starting TOMCAT but after increasing the heap size of Java from eclipse it started working .

Upvotes: 2

Related Questions