APAR status
Closed as program error.
Error description
Problem :
Getting java.lang.NoSuchMethodException, if customer use
WebContainer MBean to control HTTP endpoints.
As per MBean documentation the following 2 methods can be used
without any parameters.
methods: stopTransports()
startTransports()
stopTransports() is working Fine.
Run startTransports() or invoke startTransports() fails
with NoSuchMethodException.
wsadmin>$AdminControl completeObjectName
WebSphere:type=WebContainer,name=WebContainer,*
wsadmin>$AdminControl invoke $webContainer startTransports
The server exception is:
---------------------------------------------
java.lang.NoSuchMethodException:
com.ibm.ws.webcontainer.WebContainer.startTransports()
at java.lang.Class.getMethod1(Class.java(Compiled Code))
at java.lang.Class.getMethod(Class.java(Compiled Code))
at
com.tivoli.jmx.modelmbean.MMBInvoker.invoke(MMBInvoker.java:45)
at
com.tivoli.jmx.modelmbean.MMBInvoker.invokeOperation(MMBInvoker.
java:115
)
at
com.tivoli.jmx.modelmbean.DynamicModelMBeanSupport.invoke(Dynami
cModelMB
eanSupport.java:409)
at
javax.management.modelmbean.RequiredModelMBean.invoke(RequiredMo
delMBean
.java:323)
at
com.tivoli.jmx.GenericMBeanSupport.invoke(GenericMBeanSupport.ja
va:178)
at com.tivoli.jmx.MBeanAccess.invoke(MBeanAccess.java:113)
at
com.tivoli.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:290)
at
com.ibm.ws.management.AdminServiceImpl.invoke(AdminServiceImpl.j
ava:659)
at
com.ibm.ws.management.connector.AdminServiceDelegator.invoke(Adm
inServic
eDelegator.java:130)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
Websphere Application Server 5.0.X
Local fix
Code Defect : Introduce a parameter less startTransport
method for the WebContainer MBean.
Problem summary
****************************************************************
* USERS AFFECTED: Users who use wsadmin to start transport *
* queues. *
****************************************************************
* PROBLEM DESCRIPTION: Our docs say that the web container *
* MBean has a startTransport method *
* with no arguments. Yet we did not *
* support such a method internally. *
****************************************************************
* RECOMMENDATION: *
****************************************************************
Documented startTransports() did not exist in the web
container MBean interface.
Problem conclusion
There was a mismatch between the api docs and what was
actually supported internally. This APAR adds in the
new method.
Temporary fix Comments
APAR information |
APAR number |
PQ90689 |
Reported component name |
WAS BASE 5.0 |
Reported component ID |
5630A3600 |
Reported release |
00S |
Status |
CLOSED PER |
PE |
NoPE |
HIPER |
NoHIPER |
Special Attention |
NoSpecatt |
Submitted date |
2004-06-27 |
Closed date |
2004-08-23 |
Last modified date |
2004-08-23 |
APAR is sysrouted FROM one or more of the following:
APAR is sysrouted TO one or more of the following:
Modules/Macros
Publications Referenced
Applicable component levels |
R00A PSY |
UP |
R00H PSY |
UP |
R00S PSY |
UP |
R00W PSY |
UP |
R10A PSY |
UP |
R10H PSY |
UP |
R10S PSY |
UP |
R10W PSY |
UP |
|