Bug 779286 (SOA-1674) - Regression of init script fixes
Summary: Regression of init script fixes
Keywords:
Status: CLOSED NEXTRELEASE
Alias: SOA-1674
Product: JBoss Enterprise SOA Platform 5
Classification: JBoss
Component: EAP, Standalone Server, Embedded Server
Version: 5.0.0 ER4
Hardware: Unspecified
OS: Unspecified
high
high
Target Milestone: ---
: 5.0.0 GA
Assignee: Julian Coleman
QA Contact:
URL: http://jira.jboss.org/jira/browse/SOA...
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2009-12-07 03:57 UTC by Dana Mison
Modified: 2010-02-08 19:48 UTC (History)
0 users

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2010-02-08 19:48:38 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Bugzilla 777710 0 urgent CLOSED jboss_init_redhat.sh - fails to shutdown service 2021-02-22 00:41:40 UTC
Red Hat Issue Tracker SOA-1674 0 None None None Never

Internal Links: 777710

Description Dana Mison 2009-12-07 03:57:34 UTC
Date of First Response: 2009-12-07 10:42:21
project_key: SOA

Looks like the changes made for SOA-226 have regressed.  Probably in EAP too.

Comment 1 Len DiMaggio 2009-12-07 15:42:21 UTC
Added regression flag

Comment 2 Len DiMaggio 2009-12-07 15:42:21 UTC
Affects Testing: Added: [Regression]


Comment 3 Len DiMaggio 2009-12-07 15:49:50 UTC
With ER4:

$ sh ./jboss_init_redhat.sh stop
JBOSS_CMD_START = cd /jboss/local/50_ER4/jboss-soa-p.5.0.0/jboss-as/bin; /jboss/local/50_ER4/jboss-soa-p.5.0.0/jboss-as/bin/run.sh -c default
Exception in thread "main" java.lang.SecurityException: Failed to authenticate principal=null, securityDomain=jmx-console
        at org.jboss.jmx.connector.invoker.AuthenticationInterceptor.invoke(AuthenticationInterceptor.java:88)
        at org.jboss.mx.server.Invocation.invoke(Invocation.java:90)
        at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
        at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:668)
        at org.jboss.invocation.jrmp.server.JRMPProxyFactory.invoke(JRMPProxyFactory.java:180)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:616)
        at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:157)
        at org.jboss.mx.server.Invocation.dispatch(Invocation.java:96)
        at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
        at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
        at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:668)
        at org.jboss.invocation.jrmp.server.JRMPInvoker$MBeanServerAction.invoke(JRMPInvoker.java:855)
        at org.jboss.invocation.jrmp.server.JRMPInvoker.invoke(JRMPInvoker.java:422)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:616)
        at sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:322)
        at sun.rmi.transport.Transport$1.run(Transport.java:177)
        at java.security.AccessController.doPrivileged(Native Method)
        at sun.rmi.transport.Transport.serviceCall(Transport.java:173)
        at sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:553)
        at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run0(TCPTransport.java:808)
        at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:667)
        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
        at java.lang.Thread.run(Thread.java:636)
        at sun.rmi.transport.StreamRemoteCall.exceptionReceivedFromServer(StreamRemoteCall.java:273)
        at sun.rmi.transport.StreamRemoteCall.executeCall(StreamRemoteCall.java:251)
        at sun.rmi.server.UnicastRef.invoke(UnicastRef.java:160)
        at org.jboss.invocation.jrmp.server.JRMPInvoker_Stub.invoke(Unknown Source)
        at org.jboss.invocation.jrmp.interfaces.JRMPInvokerProxy.invoke(JRMPInvokerProxy.java:133)
        at org.jboss.invocation.InvokerInterceptor.invokeInvoker(InvokerInterceptor.java:365)
        at org.jboss.invocation.InvokerInterceptor.invoke(InvokerInterceptor.java:197)
        at org.jboss.jmx.connector.invoker.client.InvokerAdaptorClientInterceptor.invoke(InvokerAdaptorClientInterceptor.java:66)
        at org.jboss.proxy.SecurityInterceptor.invoke(SecurityInterceptor.java:68)
        at org.jboss.proxy.ClientMethodInterceptor.invoke(ClientMethodInterceptor.java:74)
        at org.jboss.proxy.ClientContainer.invoke(ClientContainer.java:101)
        at $Proxy0.invoke(Unknown Source)
        at org.jboss.Shutdown$ServerProxyHandler.invoke(Shutdown.java:271)
        at $Proxy1.shutdown(Unknown Source)
        at org.jboss.Shutdown.main(Shutdown.java:242)


Comment 4 Julian Coleman 2009-12-09 14:20:23 UTC
Link: Added: This issue is related to SOA-226


Comment 5 Julian Coleman 2009-12-09 14:24:00 UTC
Link: Added: This issue is related to JBPAPP-3029


Comment 6 Julian Coleman 2009-12-09 16:03:53 UTC
Link: Added: This issue is related to JBPAPP-3239


Comment 7 Julian Coleman 2009-12-09 16:52:27 UTC
Worked around with revision 4485 of:
  build-tools/builders/eap/resource/jboss_init_redhat.sh

Commit message:
  SOA-1674
  Add jboss_init_redhat.sh script from 4.3.0 CP02.

and with revision 4486 of:
  build-tools/builders/eap/post-patch/patch_init_script.xml

Commit message:
  SOA-1674
  Overlay EAP jboss_init_redhat.sh version with our local copy.


Comment 8 Len DiMaggio 2010-02-08 19:48:38 UTC
Verified in CR1 build:

sh ./jboss_init_redhat.sh  stop
JBOSS_CMD_START = cd /jboss/local/50_CR1/jboss-soa-p.5.0.0/jboss-as/bin; /jboss/local/50_CR1/jboss-soa-p.5.0.0/jboss-as/bin/run.sh -c default

waiting for processes to stop



Note You need to log in before you can comment on or make changes to this bug.