Title:
Bug 72074:(Watson Migration Closure)I'm not sure how to quickly name this issue, so I'll just describe it
| View in TrackerStatus/Resolution/Reason: Closed/Won't Fix/LowImpact
Reporter/Name(from Bugbase): ANDY ALLAN / Andy Allan (ANDY ALLAN)
Created: 06/25/2008
Components: Server Monitoring
Versions: 9.0
Failure Type: Unspecified
Found In Build/Fixed In Build: 0000 /
Priority/Frequency: Major / All users will encounter
Locale/System: English / Platforms All
Vote Count: 0
Problem:
I'm not sure how to quickly name this issue, so I'll just describe it.
I have a couple of instances running on my server. Each instance is running with it's own JVM. Each instance has it's own CFAdmin, and each has a unique username/password combination.
I have started up the Multiserver Monitor on one of the instances, and have taken the next step of adding all my instances to the Multiserver Monitor.
The Multiserver Monitor will initially log each server instance in, but at the same time will also "log all the others out".
If I look at the Errors tab in the Multi server Monitor it displays the following:
Fault Code: CFACCESSDENIED
Fault String: Unable to invoke CFC - the current user is not authorised to invoke this method.
Fault Detail: For details, turn on Robust Exception Information in the ColdFusion Administrator
It will continuously do this for each instance that is registered in the Multiserver Monitor, logging one in and the others out, and then log the next one in, and log all others out.
So it appears that the Multiserver Monitor currently cannot cope with multiple servers if they all have different username/passwords for logging in.
If each instance shares the same username/password, it works fine.
Method:
1. Create a number of instances on a single server
2. Set up each instance to use different login credentials
3. On one of the instances, start up the Multiserver Monitor and add the instances
4. Watch as the Multiserver Monitor continuously shows one instance logged in and the others "Login Failed". It will loop through all instances that are registered.
Result:
06/10 08:23:28 Error [web-0] - The current user is not authorized to invoke this
method.
[BlazeDS]Exception when invoking service 'remoting-service': flex.messaging.Mess
ageException: Unable to invoke CFC - The current user is not authorized to invok
e this method.
incomingMessage: Flex Message (flex.messaging.messages.RemotingMessage)
operation = getHeartBeat
clientId = 795A7033-950D-C1A5-94A1-CAC9340345D8
destination = ColdFusion
messageId = 9F86EC7E-344B-4076-C062-C8159DB97CBF
timestamp = 1244602408377
timeToLive = 0
body = null
hdr(DSId) = 795A11D0-FC0B-8966-7E1E-113AEFD47C33
hdr(DSEndpoint) = my-cfamf
Exception: flex.messaging.MessageException: Unable to invoke CFC - The current
user is not authorized to invoke this method.
at coldfusion.flash.messaging.ColdFusionAdapter.getFlexError(ColdFusionA
dapter.java:348)
at coldfusion.flash.messaging.ColdFusionAdapter.invoke(ColdFusionAdapter
.java:292)
at flex.messaging.services.RemotingService.serviceMessage(RemotingServic
e.java:183)
at flex.messaging.MessageBroker.routeMessageToService(MessageBroker.java
:1503)
at flex.messaging.endpoints.AbstractEndpoint.serviceMessage(AbstractEndp
oint.java:884)
at flex.messaging.endpoints.amf.MessageBrokerFilter.invoke(MessageBroker
Filter.java:121)
at flex.messaging.endpoints.amf.LegacyFilter.invoke(LegacyFilter.java:15
8)
at flex.messaging.endpoints.amf.SessionFilter.invoke(SessionFilter.java:
44)
at flex.messaging.endpoints.amf.BatchProcessFilter.invoke(BatchProcessFi
lter.java:67)
at flex.messaging.endpoints.amf.SerializationFilter.invoke(Serialization
Filter.java:146)
at flex.messaging.endpoints.BaseHTTPEndpoint.service(BaseHTTPEndpoint.ja
va:278)
at coldfusion.flash.messaging.CFAMFEndPoint.service(CFAMFEndPoint.java:2
06)
at flex.messaging.MessageBrokerServlet.service(MessageBrokerServlet.java
:322)
at coldfusion.flex.ColdFusionMessageBrokerServlet.service(ColdFusionMess
ageBrokerServlet.java:51)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at coldfusion.bootstrap.BootstrapServlet.service(BootstrapServlet.java:8
9)
at jrun.servlet.FilterChain.doFilter(FilterChain.java:86)
at coldfusion.filter.FlashRequestControlFilter.doFilter(FlashRequestCont
rolFilter.java:71)
at coldfusion.bootstrap.BootstrapFilter.doFilter(BootstrapFilter.java:46
)
at jrun.servlet.FilterChain.doFilter(FilterChain.java:94)
at jrun.servlet.FilterChain.service(FilterChain.java:101)
at jrun.servlet.ServletInvoker.invoke(ServletInvoker.java:106)
at jrun.servlet.JRunInvokerChain.invokeNext(JRunInvokerChain.java:42)
at jrun.servlet.JRunRequestDispatcher.invoke(JRunRequestDispatcher.java:
286)
at jrun.servlet.ServletEngineService.dispatch(ServletEngineService.java:
543)
at jrun.servlet.http.WebService.invokeRunnable(WebService.java:172)
at jrunx.scheduler.ThreadPool$ThreadThrottle.invokeRunnable(ThreadPool.j
ava:428)
at jrunx.scheduler.WorkerThread.run(WorkerThread.java:66)
06/10 08:23:40 error Requested resource '/favicon.ico' (%2ffavicon.ico) not foun
d
06/10 08:25:42 error Requested resource '/favicon.ico' (%2ffavicon.ico) not foun
d
----------------------------- Additional Watson Details -----------------------------
Watson Bug ID: 3035295
External Customer Info:
External Company:
External Customer Name: Andy Allan
External Customer Email: 44FB6280464CC51B992015C3
External Test Config: 06/25/2008
Attachments:
Comments: