Skip to main content

"The DAS was stopped" deploying an application frpm admin console in Glassfish 3.1

2 replies [Last post]
giorgiof
Offline
Joined: 2006-02-14
Points: 0

Hi all, when I deploy an application from the Admin console (a .war web application), the server stops with no significant error.
The only erro I could find is in domain1/config/hs_err_pid27282.log. This is part of the content:
#
# A fatal error has been detected by the Java Runtime Environment:
#
# SIGSEGV (0xb) at pc=0xb6c0aecd, pid=27282, tid=2261711728
#
# JRE version: 6.0_25-b06
# Java VM: Java HotSpot(TM) Client VM (20.0-b11 mixed mode linux-x86 )
# Problematic frame:
# C [libzip.so+0xbecd] __int128+0x5d
#
# If you would like to submit a bug report, please visit:
# http://java.sun.com/webapps/bugreport/crash.jsp
# The crash happened outside the Java Virtual Machine in native code.
# See problematic frame for where to report the bug.
#

--------------- T H R E A D ---------------

Current thread (0x0976b800): JavaThread "admin-thread-pool-4848(2)" daemon [_thread_in_native, id=27421, stack(0x86c9f000,0x86cf0000)]

siginfo:si_signo=SIGSEGV: si_errno=0, si_code=1 (SEGV_MAPERR), si_addr=0xa8b4fc98

Registers:
EAX=0x09790b10, EBX=0xb6c0fabc, ECX=0xa8b3d000, EDX=0x001e0000
ESP=0x86cecda0, EBP=0x86cecdc8, ESI=0xa8b4fc7b, EDI=0x0931d298
EIP=0xb6c0aecd, EFLAGS=0x00010286, CR2=0xa8b4fc98

Top of Stack: (sp=0x86cecda0)
0x86cecda0: 00000030 0976bbe8 0976bbf0 0976bfdc
0x86cecdb0: 08bc0920 b6c0fabc b6c0ae7b b6c0fabc
0x86cecdc0: 09852038 00000000 86cecdf8 b6c0b2fb
0x86cecdd0: 09790b10 09852038 00000000 b510e7f2
0x86cecde0: 00000000 00000086 038d610e b6c0fabc
0x86cecdf0: 86cece40 0976b920 86ced268 b6c020f9
0x86cece00: 09790b10 86cece40 0000002a 0000002a
0x86cece10: 86cece40 0931d360 86cece68 b6da9052

Instructions: (pc=0xb6c0aecd)
0xb6c0aead: 47 20 00 00 00 00 8b 45 08 80 78 24 00 0f 84 57
0xb6c0aebd: 02 00 00 8b 76 04 8b 48 10 8b 50 1c 01 ce 29 d6
0xb6c0aecd: 0f b6 46 1d 0f b6 4e 1c c1 e0 08 09 c1 89 4d f0
0xb6c0aedd: 0f b6 46 1e 89 45 ec 0f b6 46 1f c1 e0 08 09 45

Register to memory mapping:

EAX=0x09790b10 is an unknown value
EBX=0xb6c0fabc: <offset 0x10abc> in /usr/lib/jvm/jdk1.6.0_25/jre/lib/i386/libzip.so at 0xb6bff000
ECX=0xa8b3d000 is an unallocated location in the heap
EDX=0x001e0000 is an unknown value
ESP=0x86cecda0 is pointing into the stack for thread: 0x0976b800
EBP=0x86cecdc8 is pointing into the stack for thread: 0x0976b800
ESI=0xa8b4fc7b is an unallocated location in the heap
EDI=0x0931d298 is an unknown value

Stack: [0x86c9f000,0x86cf0000], sp=0x86cecda0, free space=311k
Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
C [libzip.so+0xbecd] __int128+0x5d
C [libzip.so+0xc2fb] ZIP_GetEntry+0x10b
C [libzip.so+0x30f9] Java_java_util_zip_ZipFile_getEntry+0xc9
J java.util.zip.ZipFile.getEntry(JLjava/lang/String;Z)J
J java.util.zip.ZipFile.getEntry(Ljava/lang/String;)Ljava/util/zip/ZipEntry;
j org.glassfish.web.loader.WebappClassLoader.findResourceInternal(Ljava/lang/String;Ljava/lang/String;)Lorg/glassfish/web/loader/ResourceEntry;+4
j org.glassfish.web.loader.WebappClassLoader.findClassInternal(Ljava/lang/String;)Lorg/glassfish/web/loader/ResourceEntry;+49
j org.glassfish.web.loader.WebappClassLoader.findClass(Ljava/lang/String;)Ljava/lang/Class;+184
j org.glassfish.web.loader.WebappClassLoader.loadClass(Ljava/lang/String;Z)Ljava/lang/Class;+408
j org.glassfish.web.loader.WebappClassLoader.loadClass(Ljava/lang/String;)Ljava/lang/Class;+3
j org.glassfish.web.loader.ServletContainerInitializerUtil.checkAgainstInterestList(Lorg/glassfish/hk2/classmodel/reflect/Types;Ljava/util/Map;Ljava/util/Map;Ljava/lang/ClassLoader;)Ljava/util/Map;+184
j org.glassfish.web.loader.ServletContainerInitializerUtil.getInitializerList(Ljava/lang/Iterable;Ljava/util/Map;Lorg/glassfish/hk2/classmodel/reflect/Types;Ljava/lang/ClassLoader;)Ljava/util/Map;+567
j org.apache.catalina.core.StandardContext.callServletContainerInitializers()V+21
j com.sun.enterprise.web.WebModule.callServletContainerInitializers()V+1
j org.apache.catalina.core.StandardContext.start()V+1163
j com.sun.enterprise.web.WebModule.start()V+71
j org.apache.catalina.core.ContainerBase.addChildInternal(Lorg/apache/catalina/Container;)V+133
j org.apache.catalina.core.ContainerBase.addChild(Lorg/apache/catalina/Container;)V+26
j org.apache.catalina.core.StandardHost.addChild(Lorg/apache/catalina/Container;)V+25
j com.sun.enterprise.web.WebContainer.loadWebModule(Lcom/sun/enterprise/web/VirtualServer;Lcom/sun/enterprise/web/WebModuleConfig;Ljava/lang/String;Ljava/util/Properties;)Lcom/sun/enterprise/web/WebModule;+1302
j com.sun.enterprise.web.WebContainer.loadWebModule(Lcom/sun/enterprise/web/WebModuleConfig;Ljava/lang/String;Ljava/util/Properties;)Ljava/util/List;+270
j com.sun.enterprise.web.WebApplication.start(Lorg/glassfish/api/deployment/ApplicationContext;)Z+80
j org.glassfish.internal.data.EngineRef.start(Lorg/glassfish/api/deployment/ApplicationContext;Lorg/glassfish/internal/data/ProgressTracker;)Z+14
j org.glassfish.internal.data.ModuleInfo.start(Lorg/glassfish/api/deployment/DeploymentContext;Lorg/glassfish/internal/data/ProgressTracker;)V+157
j org.glassfish.internal.data.ApplicationInfo.start(Lorg/glassfish/internal/deployment/ExtendedDeploymentContext;Lorg/glassfish/internal/data/ProgressTracker;)V+89
j com.sun.enterprise.v3.server.ApplicationLifecycle.deploy(Ljava/util/Collection;Lorg/glassfish/internal/deployment/ExtendedDeploymentContext;)Lorg/glassfish/internal/data/ApplicationInfo;+1392
j com.sun.enterprise.v3.server.ApplicationLifecycle.deploy(Lorg/glassfish/internal/deployment/ExtendedDeploymentContext;)Lorg/glassfish/internal/data/ApplicationInfo;+3
j org.glassfish.deployment.admin.DeployCommand.execute(Lorg/glassfish/api/admin/AdminCommandContext;)V+1344
j com.sun.enterprise.v3.admin.CommandRunnerImpl$1.execute(Lorg/glassfish/api/admin/AdminCommandContext;)V+40
j com.sun.enterprise.v3.admin.CommandRunnerImpl.doCommand(Lorg/glassfish/api/admin/CommandModel;Lorg/glassfish/api/admin/AdminCommand;Lorg/glassfish/api/admin/AdminCommandContext;)Lorg/glassfish/api/ActionReport;+67
j com.sun.enterprise.v3.admin.CommandRunnerImpl.doCommand(Lcom/sun/enterprise/v3/admin/CommandRunnerImpl$ExecutionContext;Lorg/glassfish/api/admin/AdminCommand;)V+2108
j com.sun.enterprise.v3.admin.CommandRunnerImpl.access$1200(Lcom/sun/enterprise/v3/admin/CommandRunnerImpl;Lcom/sun/enterprise/v3/admin/CommandRunnerImpl$ExecutionContext;Lorg/glassfish/api/admin/AdminCommand;)V+3
j com.sun.enterprise.v3.admin.CommandRunnerImpl$ExecutionContext.execute(Lorg/glassfish/api/admin/AdminCommand;)V+6
j com.sun.enterprise.v3.admin.CommandRunnerImpl$ExecutionContext.execute()V+2
j org.glassfish.admingui.common.util.LocalDeploymentFacility$LocalDFCommandRunner.run()Lorg/glassfish/deployment/client/DFDeploymentStatus;+51
j org.glassfish.deployment.client.AbstractDeploymentFacility.deploy([Ljavax/enterprise/deploy/spi/Target;Ljava/net/URI;Ljava/net/URI;Ljava/util/Map;)Lorg/glassfish/deployment/client/DFProgressObject;+409
j org.glassfish.admingui.common.util.DeployUtil.invokeDeploymentFacility([Ljava/lang/String;Ljava/util/Properties;Ljava/lang/String;Lcom/sun/jsftemplating/layout/descriptors/handler/HandlerContext;Ljava/lang/String;)Z+96
j org.glassfish.admingui.common.util.DeployUtil.deploy([Ljava/lang/String;Ljava/util/Properties;Ljava/lang/String;Lcom/sun/jsftemplating/layout/descriptors/handler/HandlerContext;)V+15
j org.glassfish.admingui.common.handlers.DeploymentHandler.deploy(Lcom/sun/jsftemplating/layout/descriptors/handler/HandlerContext;)V+661
v ~StubRoutines::call_stub
V [libjvm.so+0x24cc31] JavaCalls::call_helper(JavaValue*, methodHandle*, JavaCallArguments*, Thread*)+0x1c1
V [libjvm.so+0x38d0e8] os::os_exception_wrapper(void (*)(JavaValue*, methodHandle*, JavaCallArguments*, Thread*), JavaValue*, methodHandle*, JavaCallArguments*, Thread*)+0x18
V [libjvm.so+0x24ca5f] JavaCalls::call(JavaValue*, methodHandle, JavaCallArguments*, Thread*)+0x2f
V [libjvm.so+0x3bcb55] Reflection::invoke(instanceKlassHandle, methodHandle, Handle, bool, objArrayHandle, BasicType, objArrayHandle, bool, Thread*)+0x445
V [libjvm.so+0x3bff17] Reflection::invoke_method(oopDesc*, Handle, objArrayHandle, Thread*)+0x127
V [libjvm.so+0x2cc52f] JVM_InvokeMethod+0x1ff
C [libjava.so+0x151f4] Java_sun_reflect_NativeMethodAccessorImpl_invoke0+0x34
J sun.reflect.NativeMethodAccessorImpl.invoke0(Ljava/lang/reflect/Method;Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;
J sun.reflect.NativeMethodAccessorImpl.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;
j com.sun.jsftemplating.layout.descriptors.LayoutElementBase.dispatchHandlers(Lcom/sun/jsftemplating/layout/descriptors/handler/HandlerContext;Ljava/util/List;)Ljava/lang/Object;+90
j com.sun.jsftemplating.layout.descriptors.LayoutElementBase.dispatchHandlers(Ljavax/faces/context/FacesContext;Ljava/lang/String;Ljava/util/EventObject;)Ljava/lang/Object;+50
j com.sun.jsftemplating.layout.event.CommandActionListener.invokeCommandHandlers(Ljavax/faces/event/ActionEvent;)V+167
j com.sun.jsftemplating.layout.event.CommandActionListener.processAction(Ljavax/faces/event/ActionEvent;)V+2
j javax.faces.event.ActionEvent.processListener(Ljavax/faces/event/FacesListener;)V+5
j javax.faces.component.UIComponentBase.broadcast(Ljavax/faces/event/FacesEvent;)V+88
j javax.faces.component.UICommand.broadcast(Ljavax/faces/event/FacesEvent;)V+2
j com.sun.webui.jsf.component.WebuiCommand.broadcast(Ljavax/faces/event/FacesEvent;)V+50
j javax.faces.component.UIViewRoot.broadcastEvents(Ljavax/faces/context/FacesContext;Ljavax/faces/event/PhaseId;)V+303
j javax.faces.component.UIViewRoot.processApplication(Ljavax/faces/context/FacesContext;)V+24
j com.sun.faces.lifecycle.InvokeApplicationPhase.execute(Ljavax/faces/context/FacesContext;)V+46
j com.sun.faces.lifecycle.Phase.doPhase(Ljavax/faces/context/FacesContext;Ljavax/faces/lifecycle/Lifecycle;Ljava/util/ListIterator;)V+68
j com.sun.faces.lifecycle.LifecycleImpl.execute(Ljavax/faces/context/FacesContext;)V+117
j javax.faces.webapp.FacesServlet.service(Ljavax/servlet/ServletRequest;Ljavax/servlet/ServletResponse;)V+169
j org.apache.catalina.core.StandardWrapper.service(Ljavax/servlet/ServletRequest;Ljavax/servlet/ServletResponse;Ljavax/servlet/Servlet;Lorg/apache/catalina/connector/RequestFacade;)V+113
j org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Ljavax/servlet/ServletRequest;Ljavax/servlet/ServletResponse;)V+303
j org.apache.catalina.core.ApplicationFilterChain.doFilter(Ljavax/servlet/ServletRequest;Ljavax/servlet/ServletResponse;)V+101
j com.sun.webui.jsf.util.UploadFilter.doFilter(Ljavax/servlet/ServletRequest;Ljavax/servlet/ServletResponse;Ljavax/servlet/FilterChain;)V+329
j org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Ljavax/servlet/ServletRequest;Ljavax/servlet/ServletResponse;)V+162
j org.apache.catalina.core.ApplicationFilterChain.doFilter(Ljavax/servlet/ServletRequest;Ljavax/servlet/ServletResponse;)V+101
j org.apache.catalina.core.StandardWrapperValve.invoke(Lorg/apache/catalina/Request;Lorg/apache/catalina/Response;)I+594
j org.apache.catalina.core.StandardContextValve.invoke(Lorg/apache/catalina/Request;Lorg/apache/catalina/Response;)I+74
j org.apache.catalina.core.StandardPipeline.doInvoke(Lorg/apache/catalina/Request;Lorg/apache/catalina/Response;Z)V+168
j org.apache.catalina.core.StandardPipeline.doChainInvoke(Lorg/apache/catalina/Request;Lorg/apache/catalina/Response;)V+4
j com.sun.enterprise.web.WebPipeline.invoke(Lorg/apache/catalina/Request;Lorg/apache/catalina/Response;)V+78
j com.sun.enterprise.web.PESessionLockingStandardPipeline.invoke(Lorg/apache/catalina/Request;Lorg/apache/catalina/Response;)V+10
j org.apache.catalina.core.StandardHostValve.invoke(Lorg/apache/catalina/Request;Lorg/apache/catalina/Response;)I+44
j org.apache.catalina.connector.CoyoteAdapter.doService(Lcom/sun/grizzly/tcp/Request;Lorg/apache/catalina/connector/Request;Lcom/sun/grizzly/tcp/Response;Lorg/apache/catalina/connector/Response;)V+395
j org.apache.catalina.connector.CoyoteAdapter.service(Lcom/sun/grizzly/tcp/Request;Lcom/sun/grizzly/tcp/Response;)V+169
j com.sun.enterprise.v3.services.impl.ContainerMapper.service(Lcom/sun/grizzly/tcp/Request;Lcom/sun/grizzly/tcp/Response;)V+405
j com.sun.grizzly.http.ProcessorTask.invokeAdapter()V+19
j com.sun.grizzly.http.ProcessorTask.doProcess()Z+335
j com.sun.grizzly.http.ProcessorTask.process(Ljava/io/InputStream;Ljava/io/OutputStream;)Z+7
j com.sun.grizzly.http.DefaultProtocolFilter.execute(Lcom/sun/grizzly/Context;)Z+475
j com.sun.grizzly.DefaultProtocolChain.executeProtocolFilter(Lcom/sun/grizzly/Context;I)I+46
j com.sun.grizzly.DefaultProtocolChain.execute(Lcom/sun/grizzly/Context;I)V+21
j com.sun.grizzly.DefaultProtocolChain.execute(Lcom/sun/grizzly/Context;)V+3
j com.sun.grizzly.http.HttpProtocolChain.execute(Lcom/sun/grizzly/Context;)V+63
j com.sun.grizzly.ProtocolChainContextTask.doCall()Ljava/lang/Object;+13
j com.sun.grizzly.SelectionKeyContextTask.call()Ljava/lang/Object;+7
j com.sun.grizzly.ContextTask.run()V+1
j com.sun.grizzly.util.AbstractThreadPool$Worker.doWork()V+46
j com.sun.grizzly.util.AbstractThreadPool$Worker.run()V+9
j java.lang.Thread.run()V+11
v ~StubRoutines::call_stub
V [libjvm.so+0x24cc31] JavaCalls::call_helper(JavaValue*, methodHandle*, JavaCallArguments*, Thread*)+0x1c1
V [libjvm.so+0x38d0e8] os::os_exception_wrapper(void (*)(JavaValue*, methodHandle*, JavaCallArguments*, Thread*), JavaValue*, methodHandle*, JavaCallArguments*, Thread*)+0x18
V [libjvm.so+0x24c4a5] JavaCalls::call_virtual(JavaValue*, KlassHandle, symbolHandle, symbolHandle, JavaCallArguments*, Thread*)+0xc5
V [libjvm.so+0x24c568] JavaCalls::call_virtual(JavaValue*, Handle, KlassHandle, symbolHandle, symbolHandle, Thread*)+0x58
V [libjvm.so+0x2d0ec7] thread_entry(JavaThread*, Thread*)+0xa7
V [libjvm.so+0x43585f] JavaThread::run()+0x11f

What can I do?

Thans in advance,
Giorgio

Reply viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
tmueller
Offline
Joined: 2005-10-31
Points: 0

Since the JVM crashed in the ZIP library, I wonder if there is something usual about the WAR file you are uploading. Is it really a valid ZIP file?

If you can provide the WAR file that causes this problem, please file a bug on the JDK because it shouldn't crash no matter what file is passed in.

Tom

>
>

giorgiof
Offline
Joined: 2006-02-14
Points: 0

it is. On Glassfish on my local PC (I use netbeans 7.0), it works, and I have tried to deploy more than one War on my linux server with the same result.
The server on which I am deployin has an Ubunto OS, I'm not sure but it should be a 8.04 (or 8.10) version.
As soon as I have time I'll try to install the same version of Glassfish on windows in order to verify if it depends on the java version for linux or not.
Note that the same war is currently running on Glassfish 3.0.1. (same java release as version 3.1 that is giving error).
Regards,
Giorgio Franceschetti