Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via Oracle Community by squibber, 1 year ago
java.lang.Exception: Error attempting to create signed jar /home/dm/development/server/glassfish/glassfish-2.1.1-business/nodeagents/jp42-nodeagent-1/jp42-instance-1/java-web-start/NextGenServer-ear-1.2.2-SNAPSHOT/NextGenServer-ear-1.2.2-SNAPSHOTClient.jar; see other log messages for more information
java.security.AccessControlException: System.exit	at com.sun.enterprise.appclient.jws.ASJarSigner$NoExitSecurityManager.checkExit(ASJarSigner.java:573)	at java.lang.Runtime.exit(Runtime.java:88)	at java.lang.System.exit(System.java:904)	at sun.security.tools.JarSigner.run(JarSigner.java:210)	at sun.security.tools.JarSigner.main(JarSigner.java:74)	at com.sun.enterprise.appclient.jws.ASJarSigner.sign(ASJarSigner.java:166)	at com.sun.enterprise.appclient.jws.ASJarSigner.signJar(ASJarSigner.java:116)	at com.sun.enterprise.appclient.jws.SignedStaticContent.signJar(SignedStaticContent.java:164)	at com.sun.enterprise.appclient.jws.SignedStaticContent.ensureSignedFileUpToDate(SignedStaticContent.java:144)	at com.sun.enterprise.appclient.jws.SignedStaticContent.getRelativeURI(SignedStaticContent.java:120)	at com.sun.enterprise.appclient.jws.StaticContent.toString(StaticContent.java:84)	at java.lang.String.valueOf(String.java:2826)	at java.lang.StringBuilder.append(StringBuilder.java:115)	at java.util.AbstractMap.toString(AbstractMap.java:490)	at com.sun.enterprise.appclient.jws.ContentOrigin.toLongString(ContentOrigin.java:155)	at com.sun.enterprise.appclient.jws.AppclientJWSSupportInfo.startJWSServicesForApplication(AppclientJWSSupportInfo.java:487)	at com.sun.enterprise.appclient.jws.AppclientJWSSupportManager.handleApplicationEvent(AppclientJWSSupportManager.java:156)	at com.sun.enterprise.server.event.ApplicationLoaderEventNotifier.notifyListeners(ApplicationLoaderEventNotifier.java:154)	at com.sun.enterprise.server.AbstractLoader.notifyAppEvent(AbstractLoader.java:894)	at com.sun.enterprise.server.ApplicationLoader.doLoad(ApplicationLoader.java:192)	at com.sun.enterprise.server.TomcatApplicationLoader.doLoad(TomcatApplicationLoader.java:126)	at com.sun.enterprise.server.ExtendedApplicationLoader.doLoad(ExtendedApplicationLoader.java:134)	at com.sun.enterprise.server.AbstractLoader.load(AbstractLoader.java:240)	at com.sun.enterprise.server.ApplicationManager.applicationDeployed(ApplicationManager.java:336)	at com.sun.enterprise.server.ApplicationManager.applicationDeployed(ApplicationManager.java:210)	at com.sun.enterprise.server.ApplicationManager.applicationDeployed(ApplicationManager.java:648)	at com.sun.enterprise.admin.event.AdminEventMulticaster.invokeApplicationDeployEventListener(AdminEventMulticaster.java:959)	at com.sun.enterprise.admin.event.AdminEventMulticaster.handleApplicationDeployEvent(AdminEventMulticaster.java:943)	at com.sun.enterprise.admin.event.AdminEventMulticaster.processEvent(AdminEventMulticaster.java:467)	at com.sun.enterprise.admin.event.AdminEventMulticaster.multicastEvent(AdminEventMulticaster.java:182)	at com.sun.enterprise.ee.admin.mbeans.ServerRuntimeMBean.forwardEvent(ServerRuntimeMBean.java:95)	at sun.reflect.GeneratedMethodAccessor335.invoke(Unknown Source)	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)	at java.lang.reflect.Method.invoke(Method.java:597)	at com.sun.enterprise.admin.MBeanHelper.invokeOperationInBean(MBeanHelper.java:393)	at com.sun.enterprise.admin.MBeanHelper.invokeOperationInBean(MBeanHelper.java:376)	at com.sun.enterprise.admin.runtime.BaseRuntimeMBean.invoke(BaseRuntimeMBean.java:471)	at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:836)	at com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(JmxMBeanServer.java:761)	at sun.reflect.GeneratedMethodAccessor28.invoke(Unknown Source)	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)	at java.lang.reflect.Method.invoke(Method.java:597)	at com.sun.enterprise.admin.util.proxy.ProxyClass.invoke(ProxyClass.java:90)	at $Proxy1.invoke(Unknown Source)	at com.sun.enterprise.admin.server.core.jmx.SunoneInterceptor.invoke(SunoneInterceptor.java:304)	at com.sun.enterprise.interceptor.DynamicInterceptor.invoke(DynamicInterceptor.java:170)	at javax.management.remote.rmi.RMIConnectionImpl.doOperation(RMIConnectionImpl.java:1427)	at javax.management.remote.rmi.RMIConnectionImpl.access$200(RMIConnectionImpl.java:72)	at javax.management.remote.rmi.RMIConnectionImpl$PrivilegedOperation.run(RMIConnectionImpl.java:1265)	at javax.management.remote.rmi.RMIConnectionImpl.doPrivilegedOperation(RMIConnectionImpl.java:1360)	at javax.management.remote.rmi.RMIConnectionImpl.invoke(RMIConnectionImpl.java:788)	at sun.reflect.GeneratedMethodAccessor121.invoke(Unknown Source)	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)	at java.lang.reflect.Method.invoke(Method.java:597)	at sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:303)	at sun.rmi.transport.Transport$1.run(Transport.java:159)	at java.security.AccessController.doPrivileged(Native Method)	at sun.rmi.transport.Transport.serviceCall(Transport.java:155)	at sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:535)	at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run0(TCPTransport.java:790)	at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:649)	at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)	at java.lang.Thread.run(Thread.java:662)