Flex Messaging

Hello

I am new to Flex and Flex dataservices. I have to write an application where flash clients need to update themselves when they receive messages (real time) of a server (Glassfish) J2EE through BlazeDS.

I tried to implement this through the mx:producer / mx: consumer paradigm. I used the 'chat' tutorial code to achieve this.

When I ran in the browser (Internet Explorer 6), the flash client did not receive the messages I send or by a producer of flash, or via a servlet from the J2EE server. However, if I press < F5 > (r) in the browser to do a refresh, therefore, all messages that are sent, are received by the flash application in the browser.

Why should I do a refresh? Is - that look like a coding error?

Any help is appreciated.

Petran.

Hello

Inside of the messaging - config.xml try to use channels if you use my-survey-amf attempt to set the

true
                1

Code of messaging - config.xml:


                      
                          
                      

                     

You can also use ServerPush for this type of applications.

Tags: Adobe LiveCycle

Similar Questions

  • BCC 10.2 - Flex Message null pointer error

    BCC 10.2 - Flex Message null pointer error

    Hi all,

    I want to ask about a behavior that I have on small jets BCC when I try to save after you change an asset, but it seems that the application saves the changes.

    I'd appreciate if anyone has any suggestions on this subject

    The error is the following:

    Caused by: atg.flex.service.RemoteOperationException: CONTAINER:atg.remote.assetmanager.workbench.service.WorkbenchException; SOURCE:java.lang.NullPointerException
      at atg.remote.assetmanager.workbench.service.WorkbenchService.refresh(WorkbenchService.java:583)
      at sun.reflect.GeneratedMethodAccessor3594.invoke(Unknown Source)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:597)
      at flex.messaging.services.remoting.adapters.JavaAdapter.invoke(JavaAdapter.java:421)
      ... 102 more
    Caused by: CONTAINER:atg.remote.assetmanager.workbench.service.WorkbenchException; SOURCE:java.lang.NullPointerException
      at atg.remote.assetmanager.workbench.service.WorkbenchService.filterAssets(WorkbenchService.java:1089)
      at atg.remote.assetmanager.workbench.service.WorkbenchService.refresh(WorkbenchService.java:565)
      ... 106 more
    Caused by: java.lang.NullPointerException
      at atg.remote.assetmanager.workbench.service.WorkbenchService.isAutoAddAsset(WorkbenchService.java:1113)
      at atg.remote.assetmanager.workbench.service.WorkbenchService.filterAssets(WorkbenchService.java:1074)
      ... 107 more
    2014-12-29 15:28:51,232 INFO  [STDOUT][SessionId=] [Flex Messaging] 12/29/2014 15:28:51.232 [ERROR] [Message.General] Exception when invoking service 'remoting-service': flex.messaging.MessageException: flex.messaging.MessageException: atg.flex.service.RemoteOperationException : CONTAINER:atg.remote.assetmanager.workbench.service.WorkbenchException; SOURCE:java.lang.NullPointerException
      incomingMessage: Flex Message (flex.messaging.messages.RemotingMessage) 
        operation = refresh
        clientId = 1C6F8201-C12F-67BE-89C5-9F53A50B0D85
        destination = /atg/remote/assetmanager/workbench/service/WorkbenchService
        messageId = 68D7104A-0487-6486-BA17-97BCA7998B4B
        timestamp = 1419884931228
        timeToLive = 0
        body = null
        hdr(DSId) = 1C6F6CE9-5D19-D58E-99F2-4BF9B1455038
        hdr(DSEndpoint) = atg-amf
      Exception: flex.messaging.MessageException: flex.messaging.MessageException: atg.flex.service.RemoteOperationException : CONTAINER:atg.remote.assetmanager.workbench.service.WorkbenchException; SOURCE:java.lang.NullPointerException
      at flex.messaging.services.RemotingService.serviceMessage(RemotingService.java:225)
      at flex.messaging.MessageBroker.routeMessageToService(MessageBroker.java:1503)
      at flex.messaging.endpoints.AbstractEndpoint.serviceMessage(AbstractEndpoint.java:884)
      at flex.messaging.endpoints.amf.MessageBrokerFilter.invoke(MessageBrokerFilter.java:121)
      at flex.messaging.endpoints.amf.LegacyFilter.invoke(LegacyFilter.java:158)
      at flex.messaging.endpoints.amf.SessionFilter.invoke(SessionFilter.java:44)
      at flex.messaging.endpoints.amf.BatchProcessFilter.invoke(BatchProcessFilter.java:67)
      at flex.messaging.endpoints.amf.SerializationFilter.invoke(SerializationFilter.java:146)
      at flex.messaging.endpoints.BaseHTTPEndpoint.service(BaseHTTPEndpoint.java:278)
      at flex.messaging.MessageBrokerServlet.service(MessageBrokerServlet.java:322)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
      at atg.service.configuration.ResponseWrappingConfiguration.invokeFilterChainWithPossibleWrapping(ResponseWrappingConfiguration.java:458)
      at atg.servlet.pipeline.TailPipelineServlet.service(TailPipelineServlet.java:174)
      at atg.servlet.pipeline.PipelineableServletImpl.passRequest(PipelineableServletImpl.java:157)
      at atg.servlet.pipeline.DispatcherPipelineServletImpl.service(DispatcherPipelineServletImpl.java:275)
      at atg.servlet.pipeline.PipelineableServletImpl.passRequest(PipelineableServletImpl.java:157)
      at atg.servlet.pipeline.PipelineableServletImpl.service(PipelineableServletImpl.java:320)
      at com.exito.cache.ExitoPageCachePipelineServlet.service(ExitoPageCachePipelineServlet.java:157)
      at atg.servlet.pipeline.PipelineableServletImpl.passRequest(PipelineableServletImpl.java:157)
      at atg.servlet.http.CookieBufferServlet.service(CookieBufferServlet.java:119)
      at atg.servlet.pipeline.PipelineableServletImpl.passRequest(PipelineableServletImpl.java:157)
      at atg.userprofiling.ExpiredPasswordServlet.service(ExpiredPasswordServlet.java:383)
      at atg.servlet.pipeline.PipelineableServletImpl.passRequest(PipelineableServletImpl.java:157)
      at atg.servlet.pipeline.MimeTyperPipelineServlet.service(MimeTyperPipelineServlet.java:228)
      at atg.servlet.pipeline.PipelineableServletImpl.passRequest(PipelineableServletImpl.java:157)
      at atg.droplet.DropletEventServlet.service(DropletEventServlet.java:696)
      at atg.servlet.pipeline.PipelineableServletImpl.passRequest(PipelineableServletImpl.java:157)
      at atg.epub.servlet.LocaleServlet.service(LocaleServlet.java:84)
      at atg.servlet.pipeline.PipelineableServletImpl.passRequest(PipelineableServletImpl.java:157)
      at atg.epub.servlet.ProjectServlet.service(ProjectServlet.java:109)
      at atg.servlet.pipeline.PipelineableServletImpl.passRequest(PipelineableServletImpl.java:157)
      at atg.epub.servlet.PublishingSecurityServlet.service(PublishingSecurityServlet.java:80)
      at atg.servlet.pipeline.PipelineableServletImpl.passRequest(PipelineableServletImpl.java:157)
      at atg.commerce.order.CommerceCommandServlet.service(CommerceCommandServlet.java:150)
      at atg.servlet.pipeline.PipelineableServletImpl.passRequest(PipelineableServletImpl.java:157)
      at atg.commerce.promotion.PromotionServlet.service(PromotionServlet.java:213)
      at atg.servlet.pipeline.PipelineableServletImpl.passRequest(PipelineableServletImpl.java:157)
      at atg.userprofiling.AccessControlServlet.service(AccessControlServlet.java:696)
      at atg.servlet.pipeline.PipelineableServletImpl.passRequest(PipelineableServletImpl.java:157)
      at atg.servlet.sessionsaver.SessionSaverServlet.service(SessionSaverServlet.java:2452)
      at atg.servlet.pipeline.PipelineableServletImpl.passRequest(PipelineableServletImpl.java:157)
      at atg.userprofiling.PageEventTriggerPipelineServlet.service(PageEventTriggerPipelineServlet.java:191)
      at atg.servlet.pipeline.PipelineableServletImpl.passRequest(PipelineableServletImpl.java:157)
      at atg.search.servlet.SearchClickThroughServlet.service(SearchClickThroughServlet.java:418)
      at atg.servlet.pipeline.PipelineableServletImpl.passRequest(PipelineableServletImpl.java:157)
      at atg.multisite.SiteSessionEventTriggerPipelineServlet.service(SiteSessionEventTriggerPipelineServlet.java:161)
      at atg.servlet.pipeline.PipelineableServletImpl.passRequest(PipelineableServletImpl.java:157)
      at atg.userprofiling.SessionEventTrigger.service(SessionEventTrigger.java:534)
      at atg.servlet.pipeline.PipelineableServletImpl.passRequest(PipelineableServletImpl.java:157)
      at atg.userprofiling.ProfilePropertyServlet.service(ProfilePropertyServlet.java:245)
      at atg.servlet.pipeline.PipelineableServletImpl.passRequest(PipelineableServletImpl.java:157)
      at com.exito.servlet.pipeline.ExitoProfileServlet.service(ExitoProfileServlet.java:147)
      at atg.servlet.pipeline.PipelineableServletImpl.passRequest(PipelineableServletImpl.java:157)
      at atg.userprofiling.ProfileRequestServlet.service(ProfileRequestServlet.java:461)
      at atg.servlet.pipeline.PipelineableServletImpl.passRequest(PipelineableServletImpl.java:157)
      at atg.servlet.pipeline.CachePreventionServlet.service(CachePreventionServlet.java:141)
      at atg.servlet.pipeline.PipelineableServletImpl.passRequest(PipelineableServletImpl.java:157)
      at atg.servlet.pipeline.DynamoPipelineServlet.service(DynamoPipelineServlet.java:491)
      at atg.servlet.pipeline.PipelineableServletImpl.passRequest(PipelineableServletImpl.java:157)
      at atg.servlet.pipeline.URLArgumentPipelineServlet.service(URLArgumentPipelineServlet.java:298)
      at atg.servlet.pipeline.PipelineableServletImpl.passRequest(PipelineableServletImpl.java:157)
      at atg.servlet.pipeline.PathAuthenticationPipelineServlet.service(PathAuthenticationPipelineServlet.java:392)
      at atg.servlet.pipeline.PipelineableServletImpl.passRequest(PipelineableServletImpl.java:157)
      at atg.servlet.security.ThreadUserBinderServlet.service(ThreadUserBinderServlet.java:113)
      at atg.servlet.pipeline.PipelineableServletImpl.passRequest(PipelineableServletImpl.java:157)
      at atg.dtm.TransactionPipelineServlet.service(TransactionPipelineServlet.java:234)
      at atg.servlet.pipeline.PipelineableServletImpl.passRequest(PipelineableServletImpl.java:157)
      at atg.servlet.pipeline.SecurityServlet.service(SecurityServlet.java:196)
      at atg.servlet.pipeline.PipelineableServletImpl.passRequest(PipelineableServletImpl.java:157)
      at atg.multisite.SiteContextPipelineServlet.service(SiteContextPipelineServlet.java:367)
      at atg.servlet.pipeline.PipelineableServletImpl.passRequest(PipelineableServletImpl.java:157)
      at atg.servlet.pipeline.HeadPipelineServlet.passRequest(HeadPipelineServlet.java:1252)
      at atg.servlet.pipeline.HeadPipelineServlet.service(HeadPipelineServlet.java:930)
      at com.exito.cache.ExitoCachingHeadPipelineServlet.service(ExitoCachingHeadPipelineServlet.java:74)
      at atg.servlet.pipeline.PipelineableServletImpl.service(PipelineableServletImpl.java:272)
      at atg.filter.dspjsp.PageFilter.innerDoFilter(PageFilter.java:348)
      at atg.filter.dspjsp.PageFilter.doFilter(PageFilter.java:206)
      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilte
    2014-12-29 15:28:51,232 INFO  [STDOUT][SessionId=] r(ApplicationFilterChain.java:235)
      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
      at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
      at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:235)
      at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
      at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:183)
      at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:95)
      at org.jboss.web.tomcat.security.SecurityContextEstablishmentValve.process(SecurityContextEstablishmentValve.java:126)
      at org.jboss.web.tomcat.security.SecurityContextEstablishmentValve.invoke(SecurityContextEstablishmentValve.java:70)
      at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
      at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
      at org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:158)
      at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
      at org.jboss.web.tomcat.service.request.ActiveRequestResponseCacheValve.internalProcess(ActiveRequestResponseCacheValve.java:74)
      at org.jboss.web.tomcat.service.request.ActiveRequestResponseCacheValve.invoke(ActiveRequestResponseCacheValve.java:47)
      at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:330)
      at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:829)
      at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:599)
      at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:451)
      at java.lang.Thread.run(Thread.java:662)
    

    Hello

    When you create an asset, merchandising attempts to resolve one of the keys to the collection of autoAddAssetTypes of the/atg/remote/assetmanager/workbench/service/WorkbenchService to a kernel component that represents the real deposit for the specific asset. The name of active repository to repository real mapping is defined in the /atg/dynamo/service/AssetResolver / component.

    When the mapping defined in the collection /atg/remote/assetmanager/workbench/service/WorkbenchService.autoAddAssetTypes key does not match a Name of active Source defined in the dynamo/atg / / / AssetResolver/service component, a null value is returned in place of the repository, real which causes the NullPointerException.

    Please find the reference document for more information below and understand the best, hope that helps you.

    NullPointerException in atg.remote.assetmanager.workbench.service.WorkbenchService when creating any ProductCatalog object (Doc ID 1578914.1)

    Please select a correct answer if this answer solves your problem.

    Thank you & best regards

    Suman Vernoux

  • Flex Messaging event gateway with CF 5

    I want to make sure if thanks Flex Messaging event gateway can work with coldfusion 5 or 6.

    Mark

    I think that Flex ability of the e-mail gateway was first available in CF 7.

  • Flex + message WCF Communication received size Error2032 #.

    Hi Experts,

    I'm calling the wcf client Flex service. I send data to the service and expect results. Communication is somehow dependent on the size of the response of output or input data. We can set the maxReceivedMessageSize value in a c# client, but I wonder if there is a way to do this in FLex.

    I'm sure it's a problem of service on the client side configuration but need help.

    Thank you

    Vishal

    I guess you're probably right. It must be your WCF configuration. Here is what I use:

    <
    
    system.serviceModel><
    
    bindings><
    
    basicHttpBinding><
    
    binding name="LongXML" maxBufferSize="2097152" maxReceivedMessageSize="2097152"><
    
    readerQuotas maxStringContentLength="819600000"/>
    .............
    
  • Update 6 - messaging (BlazeDS) ColdFusion 11 errors

    I upgraded to Coldfusion 11 update 6 and started getting error messages in an application that works for 5 years. When I got back the update to update 5 the messaging errors occur is no longer.

    The coldfusion - out .log file shows the error-

    02/09/2015 09:46:50.656 [BlazeDS-v4] [ERROR] [Message.General] error unhandled during the processing of a message: java.lang.NoClassDefFoundError: javax/jms/InvalidSelectorException

    incomingMessage: Flex Message (flex.messaging.messages.CommandMessage)

    operation = subscribe

    selector = null

    clientId = 331A3C73-901F-61DA-8F42-2798D21DDDB5

    correlationId =

    destination = AMMATECH-TS-1_Assure_Production_PJMCommand

    messageId = EC9A7AA1-BBFE-5E9C-7438-8B4E527E2868

    timestamp = 1441151210640

    timeToLive = 0

    body = {}

    HDR (DSValidateEndpoint) = true

    HDR (DSEndpoint) = magtech-secure-long-polling-amf

    HDR (Iddm) = 32ADC5E8-B31A-1F57-50F5-ED86869A7E69

    errorReply: Flex Message (flex.messaging.messages.ErrorMessage)

    clientId = 331A3C73-901F-61DA-8F42-2798D21DDDB5

    correlationId = EC9A7AA1-BBFE-5E9C-7438-8B4E527E2868

    destination = AMMATECH-TS-1_Assure_Production_PJMCommand

    messageId = 331A3C9A-A00F-ABAC-C68A-EE3098487A55

    timestamp = 1441151210656

    timeToLive = 0

    body = null

    code = Server.Processing

    message = there was a failure not managed on the server. javax/jms/InvalidSelectorException

    Details = null

    rootCause = null

    body = null

    extendedData = null

    Error: java.lang.NoClassDefFoundError: javax/jms/InvalidSelectorException

    at flex.messaging.services.MessageService.testSelector(MessageService.java:1180)

    at flex.messaging.services.MessageService.manageSubscriptions(MessageService.java:928)

    at flex.messaging.services.MessageService.serviceCommand(MessageService.java:337)

    at flex.messaging.MessageBroker.routeCommandToService(MessageBroker.java:1578)

    at flex.messaging.endpoints.AbstractEndpoint.serviceMessage(AbstractEndpoint.java:1019)

    at flex.messaging.endpoints.amf.MessageBrokerFilter.invoke(MessageBrokerFilter.java:101)

    at flex.messaging.endpoints.amf.LegacyFilter.invoke(LegacyFilter.java:154)

    at flex.messaging.endpoints.amf.SessionFilter.invoke(SessionFilter.java:42)

    at flex.messaging.endpoints.amf.BatchProcessFilter.invoke(BatchProcessFilter.java:63)

    at flex.messaging.endpoints.amf.SerializationFilter.invoke(SerializationFilter.java:190)

    at flex.messaging.endpoints.BaseHTTPEndpoint.service(BaseHTTPEndpoint.java:328)

    at flex.messaging.MessageBrokerServlet.service(MessageBrokerServlet.java:373)

    at coldfusion.flex.ColdFusionMessageBrokerServlet.service (ColdFusionMessageBrokerServlet.jav one: 114)

    at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)

    at coldfusion.bootstrap.BootstrapServlet.service(BootstrapServlet.java:89)

    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter (ApplicationFilterChain.j ava: 303)

    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)

    at coldfusion.filter.FlashRequestControlFilter.doFilter(FlashRequestControlFilter.java:71)

    at coldfusion.bootstrap.BootstrapFilter.doFilter(BootstrapFilter.java:46)

    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter (ApplicationFilterChain.j ava: 241)

    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)

    at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:220)

    at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:122)

    at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:501)

    at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:171)

    at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)

    at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:116)

    at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:422)

    at org.apache.coyote.ajp.AjpProcessor.process(AjpProcessor.java:199)

    to org.apache.coyote.AbstractProtocol$ AbstractConnectionHandler.process (AbstractProtocol.jav one: 607)

    to org.apache.tomcat.util.net.JIoEndpoint$ SocketProcessor.run (JIoEndpoint.java:314)

    at java.util.concurrent.ThreadPoolExecutor.runWorker (unknown Source)

    to java.util.concurrent.ThreadPoolExecutor$ Worker.run (unknown Source)

    to org.apache.tomcat.util.threads.TaskThread$ WrappingRunnable.run (TaskThread.java:61)

    at java.lang.Thread.run (unknown Source)

    Caused by: java.lang.ClassNotFoundException: javax.jms.InvalidSelectorException

    at java.net.URLClassLoader.findClass (unknown Source)

    at coldfusion.bootstrap.BootstrapClassLoader.loadClass(BootstrapClassLoader.java:213)

    at java.lang.ClassLoader.loadClass (unknown Source)

    ... 35 more

    Any ideas?

    Hi Tony - It seems that it may be a few new dependencies in BlazeDS 4.7, see this thread: incompatible replacement [FLEX-34886] BlazeDS 4.7.0 for BlazeDS 4.6-ASF JIRA

    From the I think you add ActiveMQ jar (s) to your lib / directory (classpath).

  • Flex UI - start failed

    I'm trying start BCC and in start up, I get the error like below. Does anyone have an idea on what's missing? I m using the GA jboss 5.1.0 version.

    15:05:29, 166 ATG INFO [[/AssetManager]], beginning on JBoss Web/2.1.3.GA

    15:05:29, deploy the 260 INFO [TomcatDeployment], ctxPath = / AssetUI

    15:05:29, 307 ATG INFO [[/AssetUI]], beginning on JBoss Web/2.1.3.GA

    15:05:29, deploy 322 INFO [TomcatDeployment], ctxPath = / ControlCenter

    15:05:29, 354 ATG INFO [[/ControlCenter]], beginning on JBoss Web/2.1.3.GA

    15:05:29, deploy 369 INFO [TomcatDeployment], ctxPath = / Merchandising2

    15:05:29, 416 INFO [[/ Merchandising2]] ATG starting on JBoss Web/2.1.3.GA

    15:05:29, deploy 416 INFO [TomcatDeployment], ctxPath = / DPS-Interface

    15:05:29, 463 INFO [[/ DPS - UI]] ATG starting on JBoss Web/2.1.3.GA

    15:05:29, deploy 479 [TomcatDeployment], ctxPath = INFO / FlexUI

    15:05:29, 525 ATG INFO [[/FlexUI]], beginning on JBoss Web/2.1.3.GA

    15:05:29, 900 ERROR [STDERR] * MessageBrokerServlet failed to initialize due to runtime exception: Exception: java.lang.NullPointerException

    at atg.flex.FlexResources.getFormatter(FlexResources.java:82)

    at atg.flex.FlexResources.format(FlexResources.java:122)

    at atg.flex.messaging.services.FlexBootstrapService.initialize(FlexBootstrapService.java:102)

    at flex.messaging.config.MessagingConfiguration.createServices(MessagingConfiguration.java:304)

    at flex.messaging.config.MessagingConfiguration.configureBroker(MessagingConfiguration.java:100)

    at flex.messaging.MessageBrokerServlet.init(MessageBrokerServlet.java:129)

    at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1048)

    at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:950)

    at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:4122)

    at org.apache.catalina.core.StandardContext.start(StandardContext.java:4421)

    at org.jboss.web.tomcat.service.deployers.TomcatDeployment.performDeployInternal(TomcatDeployment.java:310)

    at org.jboss.web.tomcat.service.deployers.TomcatDeployment.performDeploy(TomcatDeployment.java:142)

    at org.jboss.web.deployers.AbstractWarDeployment.start(AbstractWarDeployment.java:461)

    at org.jboss.web.deployers.WebModule.startModule(WebModule.java:118)

    at org.jboss.web.deployers.WebModule.start(WebModule.java:97)

    at sun.reflect.NativeMethodAccessorImpl.invoke0 (Native Method)

    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)

    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

    at java.lang.reflect.Method.invoke(Method.java:597)

    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.system.microcontainer.ServiceProxy.invoke(ServiceProxy.java:206)

    to $Proxy38.start (Unknown Source)

    at org.jboss.system.microcontainer.StartStopLifecycleAction.installAction(StartStopLifecycleAction.java:42)

    at org.jboss.system.microcontainer.StartStopLifecycleAction.installAction(StartStopLifecycleAction.java:37)

    at org.jboss.dependency.plugins.action.SimpleControllerContextAction.simpleInstallAction(SimpleControllerContextAction.java:62)

    at org.jboss.dependency.plugins.action.AccessControllerContextAction.install(AccessControllerContextAction.java:71)

    at org.jboss.dependency.plugins.AbstractControllerContextActions.install(AbstractControllerContextActions.java:51)

    at org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:348)

    at org.jboss.system.microcontainer.ServiceControllerContext.install(ServiceControllerContext.java:286)

    at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:1631)

    at org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:934)

    at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1082)

    at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:984)

    at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:822)

    at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:553)

    at org.jboss.system.ServiceController.doChange(ServiceController.java:688)

    at org.jboss.system.ServiceController.start(ServiceController.java:460)

    at org.jboss.system.deployers.ServiceDeployer.start(ServiceDeployer.java:163)

    at org.jboss.system.deployers.ServiceDeployer.deploy(ServiceDeployer.java:99)

    at org.jboss.system.deployers.ServiceDeployer.deploy(ServiceDeployer.java:46)

    at org.jboss.deployers.spi.deployer.helpers.AbstractSimpleRealDeployer.internalDeploy(AbstractSimpleRealDeployer.java:62)

    at org.jboss.deployers.spi.deployer.helpers.AbstractRealDeployer.deploy(AbstractRealDeployer.java:50)

    at org.jboss.deployers.plugins.deployers.DeployerWrapper.deploy(DeployerWrapper.java:171)

    at org.jboss.deployers.plugins.deployers.DeployersImpl.doDeploy(DeployersImpl.java:1439)

    at org.jboss.deployers.plugins.deployers.DeployersImpl.doInstallParentFirst(DeployersImpl.java:1157)

    at org.jboss.deployers.plugins.deployers.DeployersImpl.doInstallParentFirst(DeployersImpl.java:1178)

    at org.jboss.deployers.plugins.deployers.DeployersImpl.doInstallParentFirst(DeployersImpl.java:1210)

    at org.jboss.deployers.plugins.deployers.DeployersImpl.install(DeployersImpl.java:1098)

    at org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:348)

    at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:1631)

    at org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:934)

    at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1082)

    at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:984)

    at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:822)

    at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:553)

    at org.jboss.deployers.plugins.deployers.DeployersImpl.process(DeployersImpl.java:781)

    at org.jboss.deployers.plugins.main.MainDeployerImpl.process(MainDeployerImpl.java:702)

    at org.jboss.system.server.profileservice.repository.MainDeployerAdapter.process(MainDeployerAdapter.java:117)

    at org.jboss.system.server.profileservice.repository.ProfileDeployAction.install(ProfileDeployAction.java:70)

    at org.jboss.system.server.profileservice.repository.AbstractProfileAction.install(AbstractProfileAction.java:53)

    at org.jboss.system.server.profileservice.repository.AbstractProfileService.install(AbstractProfileService.java:361)

    at org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:348)

    at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:1631)

    at org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:934)

    at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1082)

    at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:984)

    at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:822)

    at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:553)

    at org.jboss.system.server.profileservice.repository.AbstractProfileService.activateProfile(AbstractProfileService.java:306)

    at org.jboss.system.server.profileservice.ProfileServiceBootstrap.start(ProfileServiceBootstrap.java:271)

    at org.jboss.bootstrap.AbstractServerImpl.start(AbstractServerImpl.java:461)

    at org.jboss.Main.boot(Main.java:221)

    to org.jboss.Main$ 1.run(Main.java:556)

    at java.lang.Thread.run(Thread.java:662)

    15:05:29, 932 marking INFO [[/FlexUI]] servlet MessageBrokerServlet as unavailable

    15:05:29, ERROR 932 [[/FlexUI]] Servlet /FlexUI threw the exception in load()

    javax.servlet.UnavailableException

    at flex.messaging.MessageBrokerServlet.init(MessageBrokerServlet.java:170)

    at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1048)

    at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:950)

    at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:4122)

    at org.apache.catalina.core.StandardContext.start(StandardContext.java:4421)

    at org.jboss.web.tomcat.service.deployers.TomcatDeployment.performDeployInternal(TomcatDeployment.java:310)

    at org.jboss.web.tomcat.service.deployers.TomcatDeployment.performDeploy(TomcatDeployment.java:142)

    at org.jboss.web.deployers.AbstractWarDeployment.start(AbstractWarDeployment.java:461)

    at org.jboss.web.deployers.WebModule.startModule(WebModule.java:118)

    at org.jboss.web.deployers.WebModule.start(WebModule.java:97)

    at sun.reflect.NativeMethodAccessorImpl.invoke0 (Native Method)

    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)

    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

    at java.lang.reflect.Method.invoke(Method.java:597)

    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.system.microcontainer.ServiceProxy.invoke(ServiceProxy.java:206)

    to $Proxy38.start (Unknown Source)

    at org.jboss.system.microcontainer.StartStopLifecycleAction.installAction(StartStopLifecycleAction.java:42)

    at org.jboss.system.microcontainer.StartStopLifecycleAction.installAction(StartStopLifecycleAction.java:37)

    at org.jboss.dependency.plugins.action.SimpleControllerContextAction.simpleInstallAction(SimpleControllerContextAction.java:62)

    at org.jboss.dependency.plugins.action.AccessControllerContextAction.install(AccessControllerContextAction.java:71)

    at org.jboss.dependency.plugins.AbstractControllerContextActions.install(AbstractControllerContextActions.java:51)

    at org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:348)

    at org.jboss.system.microcontainer.ServiceControllerContext.install(ServiceControllerContext.java:286)

    at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:1631)

    at org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:934)

    at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1082)

    at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:984)

    at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:822)

    at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:553)

    at org.jboss.system.ServiceController.doChange(ServiceController.java:688)

    at org.jboss.system.ServiceController.start(ServiceController.java:460)

    at org.jboss.system.deployers.ServiceDeployer.start(ServiceDeployer.java:163)

    at org.jboss.system.deployers.ServiceDeployer.deploy(ServiceDeployer.java:99)

    at org.jboss.system.deployers.ServiceDeployer.deploy(ServiceDeployer.java:46)

    at org.jboss.deployers.spi.deployer.helpers.AbstractSimpleRealDeployer.internalDeploy(AbstractSimpleRealDeployer.java:62)

    at org.jboss.deployers.spi.deployer.helpers.AbstractRealDeployer.deploy(AbstractRealDeployer.java:50)

    at org.jboss.deployers.plugins.deployers.DeployerWrapper.deploy(DeployerWrapper.java:171)

    at org.jboss.deployers.plugins.deployers.DeployersImpl.doDeploy(DeployersImpl.java:1439)

    at org.jboss.deployers.plugins.deployers.DeployersImpl.doInstallParentFirst(DeployersImpl.java:1157)

    at org.jboss.deployers.plugins.deployers.DeployersImpl.doInstallParentFirst(DeployersImpl.java:1178)

    at org.jboss.deployers.plugins.deployers.DeployersImpl.doInstallParentFirst(DeployersImpl.java:1210)

    at org.jboss.deployers.plugins.deployers.DeployersImpl.install(DeployersImpl.java:1098)

    at org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:348)

    at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:1631)

    at org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:934)

    at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1082)

    at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:984)

    at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:822)

    at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:553)

    at org.jboss.deployers.plugins.deployers.DeployersImpl.process(DeployersImpl.java:781)

    at org.jboss.deployers.plugins.main.MainDeployerImpl.process(MainDeployerImpl.java:702)

    at org.jboss.system.server.profileservice.repository.MainDeployerAdapter.process(MainDeployerAdapter.java:117)

    at org.jboss.system.server.profileservice.repository.ProfileDeployAction.install(ProfileDeployAction.java:70)

    at org.jboss.system.server.profileservice.repository.AbstractProfileAction.install(AbstractProfileAction.java:53)

    at org.jboss.system.server.profileservice.repository.AbstractProfileService.install(AbstractProfileService.java:361)

    at org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:348)

    at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:1631)

    at org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:934)

    at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1082)

    at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:984)

    at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:822)

    at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:553)

    at org.jboss.system.server.profileservice.repository.AbstractProfileService.activateProfile(AbstractProfileService.java:306)

    at org.jboss.system.server.profileservice.ProfileServiceBootstrap.start(ProfileServiceBootstrap.java:271)

    at org.jboss.bootstrap.AbstractServerImpl.start(AbstractServerImpl.java:461)

    at org.jboss.Main.boot(Main.java:221)

    to org.jboss.Main$ 1.run(Main.java:556)

    at java.lang.Thread.run(Thread.java:662)

    I understand the problem for it. The Web.XML for FlexUI war had MessageBrokerServlet is mapped to load at startup - 1

    I removed this line and it all started up without any problems and I am able to access the assets of CCB.

  • Flex 3 + Java + BlazeDS



    Hello, I'm doing the interaction between Flex 3 + Java + BlazeDS, but unfortunately I do not.

    I use Eclipse Ganymede 3.4.2 the plug-in with the Flex SDK 3.2 and BlazeDS 3.2.0.3978

    What is happening is an error that Flex 3 is not the main file of my project, once I put the Libs Flex files and the new web.xml file in my project.

    HTTP status 404-

    -------------------------------------------------- ------------------------------

    type of status report

    Message

    Description () of the requested resource is not available.

    and the console error:

    May 20, 2010 21:02:13 org.apache.catalina.core.AprLifecycleListener init

    NEWS: APR based Apache Tomcat Native library that allows optimal performance in production environments was not found on the java.library.path: C:\Program Files\Java\jre6\bin; ; C:\Windows\Sun\Java\bin; C:\Windows\System32; C:\Windows; C:/Program Files / Java / jre6 / bin / customer; C:/Program Files / Java / jre6 / bin; C:\Windows\System32; C:\Windows; C:\Windows\System32\Wbem; C:\Windows\Sy stem32\WindowsPowerShell\v1.0\; C:\Program Files\QuickTime\QTSystem\; C:\Program Files\Microsoft SQL Server\100\Tools\Binn\; C:\Program Files\Microsoft SQL Server\100\DTS\Binn\; c:\Program Files\Microsoft SQL Server\100\Tools\Binn\VSShell\Common7\IDE\; C:\Program Files\Fichiers Files\Ahead\Lib\. C:\Program Files\Fichiers Files\Ahead\Lib\. C:\Program Files\Fichiers Files\Ahead\Lib\. C:\Program Files\Fichiers Files\Ahead\Lib\

    May 20, 2010 21:02:13 org.apache.tomcat.util.digester.SetPropertiesRule start

    WARNING: [SetPropertiesRule] {Server/Service/engine/host/context} set the property 'source' 'org.eclipse.jst.j2ee.server:Integra_java_flex_blazeds' option did not find a corresponding property.

    May 20, 2010 21:02:13 org.apache.coyote.http11.Http11Protocol init

    INFO: Initializing Coyote HTTP/1.1 on http-8080

    May 20, 2010 21:02:13 org.apache.catalina.startup.Catalina charge

    INFO: Initializing transformed into 793 ms

    May 20, 2010 21:02:13 org.apache.catalina.core.StandardService start

    INFO: Starting service Catalina

    May 20, 2010 21:02:13 org.apache.catalina.core.StandardEngine start

    INFO: Starting the Servlet engine: Apache Tomcat/6.0.26

    May 20, 2010 21:02:13 org.apache.catalina.loader.WebappClassLoader validateJarFile

    INFO: validateJarFile(C:\eclipse\workspace\.metadata\.plugins\org.eclipse.wst.server.core\tmp0\ wtpwebapps\Integra_java_flex_blazeds\WEB-INF\lib\servlet.jar)-jar not loaded. See Servlet Spec 2.3, section 9.7.2. Recurrence of class: javax/servlet/Servlet.class

    May 20, 2010 21:02:14 org.apache.catalina.core.StandardContext listenerStart

    SEVERE: Error configuration application listener class flex.messaging.HttpFlexSession

    java.lang.ClassNotFoundException: flex.messaging.HttpFlexSession

    to org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1516)

    to org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1361)

    to org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3915)

    to org.apache.catalina.core.StandardContext.start(StandardContext.java:4467)

    to org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1045)

    to org.apache.catalina.core.StandardHost.start(StandardHost.java:785)

    to org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1045)

    to org.apache.catalina.core.StandardEngine.start(StandardEngine.java:443)

    to org.apache.catalina.core.StandardService.start(StandardService.java:519)

    to org.apache.catalina.core.StandardServer.start(StandardServer.java:710)

    to org.apache.catalina.startup.Catalina.start(Catalina.java:581)

    at sun.reflect.NativeMethodAccessorImpl.invoke0 (Native Method)

    at sun.reflect.NativeMethodAccessorImpl.invoke (unknown Source)

    at sun.reflect.DelegatingMethodAccessorImpl.invoke (unknown Source)

    at java.lang.reflect.Method.invoke (unknown Source)

    to org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:289)

    at org.apache.catalina.startup.Bootstrap.main (Bootstrap.java:414)

    May 20, 2010 21:02:14 org.apache.catalina.core.StandardContext listenerStart

    SEVERE: Jumps installation application listeners due to previous errors

    May 20, 2010 21:02:14 org.apache.catalina.core.StandardContext start

    SEVERE: Error listenerStart

    May 20, 2010 21:02:14 org.apache.catalina.core.StandardContext start

    SEVERE: Context [/ Integra_java_flex_blazeds] startup failed due to previous errors


    Here is my web.xml file

    <? XML version = "1.0" encoding = "UTF-8"? >

    < ! DOCTYPE web - app PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.3 / / IN" "http://java.sun.com/dtd/web-app_2_3.dtd" > ""

    <>web - app

    BlazeDS < display name > < / display-name >

    < description > BlazeDS Application < / description >

    <!-Flex attribute http Session and liaison support listener->

    <>earpiece

    flex.messaging.HttpFlexSession <-listener class > < / listener class >

    < / earphone >

    <! - MessageBroker Servlet - >

    < servlet >

    < name servlet - > MessageBrokerServlet < / servlet-name >

    < display name > MessageBrokerServlet < / display-name >

    > the servlet class < flex.messaging.MessageBrokerServlet < / servlet-class >

    < init-param >

    services.Configuration.file < param-name > < / param-name >

    /Web-INF/flex/services-config.XML < param-value > < / param-value >

    < / init-param >

    < load-on-startup > 1 < / load-on-startup >

    < / servlet >

    < servlet-mapping >

    < name servlet - > MessageBrokerServlet < / servlet-name >

    < url-pattern > /messagebroker / * < / url-pattern >

    < / servlet-mapping >

    < Welcome-file-list >

    Welcome < file > Integra_java_flex_blazeds.html < / welcome-file >

    index.htm welcome < file > < / welcome-file >

    < / Welcome-file-list >

    <!-for the deployment of WebSphere, please uncomment->

    <!--

    < resource-ref >

    < description > Flex Messaging WorkManager < / description >

    wm/MessagingWorkManager < res-ref-name > < / res-ref-name >

    com.ibm.websphere.asynchbeans.WorkManager < res-type > < / res-type >

    Container < res-auth > < / res-auth >

    < res-sharing-scope > shared < / res-sharing-scope >

    < / resource-ref >

    ->

    < / web - app >

    java.lang.ClassNotFoundException: flex.messaging.HttpFlexSession

    This class exists in flex-messaging-Core

    Looks like BlazeDS libraries is not responsible. Check if BlazeDS libraries exist in your WEB-INF/lib directory.

    \WEB-INF\lib webapps\ {yourwebapp}

    Hope this helps you.

  • Application modular Flex and BlazeDS serialization problem

    Hey there,
    I write modular Flex application using BlazeDS to communicate with managed by backend Java spring. I created Java objects on the server side and the relevant ActionScript objects in flex.

    I used RemoteClass metatag to serialize objects from flex to java. Everything works perfectly fine, when I work with the objects that first loaded module. I am able to serialize the form of objects as Java. But when I reload module or load another flex module I'm losing the types of objects serialized. I get this error message then:

    faultCode:Server.ResourceUnavailable faultString: 'Can't call method "updateProfile".' faultDetail: ' types of expected arguments are (com.konrady.cms.entity.User), but provided types have been (flex.messaging.io.amf.ASObject) and processed (null).

    I tried to invesigate this question, and I'm sure this is the problem with loading flex modules. When I insert ModuleA first of all, I am able to serialize the quant to Java objects. But when I load moduleB, I can't serialize objects and more. Loading moduleA again after that ModuleB are also not possible to serialize objects.
    When I load moduleB firstly I can serialize objects of it. Reloading flex modules brokes Serialization...

    Someone has encountered this problem before? I will be grateful for any piece of advice.

    Ouch, I hope that someone with a full understanding of these multi-application configurations will come to your front rescure I spoil completely.

    I would like to tell you of a long series of publications dealing with the complexity of such a request in the middle of the AIR [which is my case], but due to the mishandling of the code formatted in this forum tool, which deals as the thread to 'How to Test AIR 1.5' in the developer forum is almost impossible to follow and , at the end of the day, he never gave a "How-to" document as I had hoped.  Under "can someone Open the Black Box" in the Adobe AIR forum, there are some ideas that might be relevant.  To reduce the time of download of network for the scheme - not really reduce congestion of memory - I configured my use of SWFLoader in the AIR application to successfully benefit from the Flex Framework RSL.  I don't think that the possibility of using BlazeDS classes in the scheme is directly related to this difference, but it can be indirectly related.

    Following this line of thought, you could get the 'how to debug Actionscript to Java serialization problem' that I posted on the forum Configuration and commissioning, which can help, but it seems that you have found the information of stack trace good to help in your search for failures.

    The new information - or at least what I had not detected from your previous post - seems to be this:

    Home - or not properly accesses remote objects, I'm not clear.

    Load A sub-application successfully access Remote Objects.

    Load sub-application B fails when you try to access remote objects.

    This seems to make clear that "dumping" is not what is causing the failure.  I think, then, is that your problem has to do with loading, and now I have to expose my ignorance to the world and how it was that I finally managed to get my multi-application to subsequently work issues at stake.  If it helps your big case, or if only it gives off just using one or several of the teams in question Adobe - Flex SDK team, team air, BlazeDS team - then we all benefit.

    Somewhere that I can't find now, there is this big PDF file describing the scenarios to pump Flex of MashUps and other environments where a disconnnected development team may have to deal with different versions of RSL - done one or two side-notes on the AIR, it focuses on the Flex.  From there on, I won some glimmer of an idea of the ApplicationDomain class and class related SecurityDomain.  I could not, on a bet, give you a clear statement on the results of the use of the different options.  The code I use to achieve successfully the dynamic loading of my scheme via the SWFLoader is loaded with comments showing that I n "t got a clue.  I tried all combinations; This is what works for me:

    var context: LoaderContext = new LoaderContext();

    context.allowLoadBytesCodeExcecution = true;

    context.applicationDomain = ApplicationDomain.currentDomain;

    var swfLoader:SWFLoader = new SWFLoader();

    swfLoader.trustContent = true;

    swfLoader.loaderContext = context;

    swfLoader.source = byteArray;

    The byteArray was populated by readBytes() starting from a FileStream.  As I said, my use case is sub-appliciations Flex and/or air base running in an envelope of AIR.  Presumably, you get to the same place in pure Flex using SWFLoader.load () after you have configured the ApplicationDomain or SecurityDomain via the LoaderContext.

    All I can hope. After dragging you in all this rubbish is the link of the duration of the BlazeDS code begins to work for you, as it did for me.  In particular, which does not [even though I was debugging problems other than BlazeDS in time] was to set the LoaderContext this way:

    context.applicationDomain = new ApplicationDomain (ApplicationDomain.currentDomain);

    or was this another incantation:

    context.applicationDomain = new ApplicationDomain (null);

    These three variants have the world to do with the way the runtime detects and calls methods on classes in the application.  Only the first allows me to work successfully with RemoteObjects in any subsidiary application that happens to need support on the server side.

  • Messaging subtopic problem

    I have a setup where a java thread is running server side of messages generating (with a subsection header) for consumers to flex. It works fine when the flex consumer does not specify a subtopic, but when the subtopic is used, the Manager of messageEvent is ever launched. I checked that the subtopics are valid and match. Are there other things I need to check?

    It turns out that I had a data type mismatch in the sub-sections. On the side of flex, the subheading must be a string. In java, flex.messaging.messages.AsyncMessage.setHeader will accept any object as a header value. In my case it was a Double. When I did a toString, everything started working as expected.

  • Flex Data Services integrated into Oracle Web Service Proxy

    I am trying to invoke a service proxy web created with Oracle JDeveloper IDE via Flex Data Services.
    I created an assembler class and defined actionscript objects that are required to serialize web service data and then call the dataservice with the id provided in the datamanagement.config file.

    When I try to debug the application, the class of the assembler is not affected, I added a breakpoint in the class, but on beforehand the exception is already thrown.

    Appears in the following stackTrace:
    [Flex] Order receipt: TCCommand [Cmd: 0, MethodName: null, TrxID: 3.0]
    [Flex] Has started the transaction using jndi name: java: comp / UserTransaction
    [Flex] Transaction committed
    [Flex] Response of the AMF financial/RTMP serialization
    Version: 3
    (Order method = _error (0) trxId = 3)
    (Print object #0 'flex.messaging.messages.ErrorMessage')
    rootCause = null
    destination = "dossierCreation".
    headers = (1 item)
    correlationId = "823B7A23-8463-0D24-0D39-A7FF8080B3A7."
    faultString = "there is an error unhandled on the server. javax/xml/rpc/ServiceFactory.
    messageId = "DF26CC97-B619-EAB1-191F-3FF02B998D49."
    faultCode = "Server.Processing".
    timeToLive = 0.0
    extendedData = null
    faultDetail = null
    clientId = "DF26CC00-580E-7285-F10F-720471C6BBE5".
    timestamp = 1.192524481046E12
    body = null

    I found the problem, I had to configure JOTM in my tomcat server to allow transactions.

  • Issue SSL with Firefox 2.0.0.12 and Flex

    I filed a bug with Bugzilla on Mozilla.org, but no response yet. Here is a summary of the problem:

    I use this definition of channel on a secure server:
    < channel-definition id = "my-secure-amf" class = "mx.messaging.channels.SecureAMFChannel" >
    "< point endpoint uri="https://{server.name}:{server.port}{context.root}/flex2gateway/ "class="flex.messaging.endpoints.SecureAMFEndpoint"/ >
    < / channel-definition >

    Until 8 February, my Flex application worked perfectly. It still works very well in Internet Explorer and Firefox 3 Beta.

    When I go to the page, I get an empty container of flash with a message "movie not loaded" when I right-click. It's as if he can't find the swf file. If I compile it without the secure end point and view it on a non - ssl server, then it works fine.

    Anyone else encounter this? This bug prevented us to release our product because it affects approximately 25% of our user base.

    Bug 417739 is the link to the bug that I submitted. If you encounter the same problem and you need this problem, you can vote for my bug.

    If you have found a workaround, please answer!

    -Tom

    Thus, it is certainly due to a change in Firefox, but I was able to find a workaround. We put headers in our flex pages so we can integrate our global navigation at the top of the page.

    You won't believe to the workaround. Here's what the code looked like until I fixed it:


    Now, here is the fix:


    So I either had to put the script tag in theTag, or put it before my html statements.

    My guess is that Firefox via the SSL protocol does not

  • Commons-logging error starting JRun with Flex

    New server JRun and Flex2 deployed on that server. Receive this error message when starting this server instance.

    From Macromedia JRun 4.0 (Build 92909), server logicerm2
    07/13 22:23:28 info JRun Naming Service listening on *: 2911
    07/13 22:23:28 WARNING no sessionSecret has been specified in jrun.xml. Installi
    NG was auto generated sessionSecret.
    07/13 22:23:28 No info JDBC data sources have been configured for this server (s)
    EE jrun - resources.xml)
    07/13 22:23:28 info JRun Web Server listening on *: 8102
    07/13 22:23:28 info deploying enterprise application "by default-ear" from: file:/C
    : / JRun4/servers/logicerm2/by default-ear /.
    07/13 22:23:28 info deployment web application 'Application JRun default Web' FRO
    m: file:/C:/JRun4/servers/logicerm2/default-ear/
    07/13 22:23:29 info Web Services in the ear #default default - war:
    07/13 22:23:29 info AdminService
    07/13 22:23:29 WARNING by default-war web application has 'reload' as true in jrun -.
    Web.Xml. Consider assigning false if the application is running in the e production
    environment.
    07/13 22:23:29 WARNING by default-war web application a "compile" as true in jrun
    -web.xml file. Consider assigning false if the application is running in production
    environment.
    07/13 22:23:29 user JSPServlet: init
    07/13 22:23:29 info deployment web application "Flex Data Services" to: file:/C
    : / JRun4/servers/logicerm2/flex /.
    07/13 22:23:29 user JSPServlet: init
    07/13 22:23:29 user FlexMxmlServlet: init
    07/13 22:23:29 INFO loading configuration C:\JRun4\servers\logicerm2\flex\W file
    EB-INF\flex\flex-webtier-config. XML
    07/13 22:23:30 INFO loading configuration C:\JRun4\servers\logicerm2\flex\W file
    EB-INF\flex\flex-config. XML
    07/13 22:23:30 user FlexMxmlServlet: starting Adobe Flex Web Tier compiler
    07/13 22:23:30 user FlexMxmlServlet: Adobe Flex Web Tier compiler build: 143451
    07/13 22:23:30 user MessageBrokerServlet: init
    07/13 22:23:31 user FlexSwfServlet: init
    07/13 22:23:31 user FlexInternalServlet: init
    07/13 22:23:31 info deployment web application "Flex Admin Web Application" from:
    file:/C:/JRUN4/servers/logicerm2/Flex-admin/
    07/13 22:23:31 user JSPServlet: init
    07/13 22:23:31 user MessageBrokerServlet: init
    07/13 22:23:31 info deployment web application "Flex Data Services Samples" of:
    file:/C:/JRUN4/servers/logicerm2/samples/
    07/13 22:23:31 user JSPServlet: init
    07/13 22:23:31 user FlexMxmlServlet: init
    07/13 22:23:32 INFO loading configuration C:\JRun4\servers\logicerm2\sample file
    s\WEB-INF\flex\flex-webtier-config. XML
    07/13 22:23:32 INFO loading configuration C:\JRun4\servers\logicerm2\sample file
    s\WEB-INF\flex\flex-config. XML
    07/13 22:23:32 user FlexMxmlServlet: starting Adobe Flex Web Tier compiler
    07/13 22:23:32 user FlexMxmlServlet: Adobe Flex Web Tier compiler build: 143451
    07/13 22:23:32 user MessageBrokerServlet: init
    07/13 22:23:32 error could not pre-load the servlet: MessageBrokerServlet
    [1] org.apache.commons.logging.LogConfigurationException: org.apache.commons.logg
    ING. LogConfigurationException: org.apache.commons.logging.LogConfigurationExcept
    ion: invalid class loader hierarchy. You have several versions of ' org.apa
    che.commons.logging.Log' visible, which is not allowed. (Caused by org.apache.co
    mmons.logging.LogConfigurationException: invalid class loader hierarchy. You ha
    Fifth, more than one version of 'org.apache.commons.logging.Log' visible, which is n
    OT allowed.) (Caused by org.apache.commons.logging.LogConfigurationException: or)
    g.apache.commons.logging.LogConfigurationException: invalid class loader hierarc
    Hy. You have several versions of 'org.apache.commons.logging.Log' visible,
    which is not allowed. (Caused by org.apache.commons.logging.LogConfigurationExc
    Reconstructed: invalid class loader hierarchy. You have several versions of ' org.
    apache.commons.logging.Log' visible, which is not allowed.))
    to org.apache.commons.logging.impl.LogFactoryImpl.newInstance (LogFactory
    Impl.Java:543)
    to org.apache.commons.logging.impl.LogFactoryImpl.getInstance (LogFactory
    Impl.Java:235)
    to org.apache.commons.logging.impl.LogFactoryImpl.getInstance (LogFactory
    Impl.Java:209)
    at org.apache.commons.logging.LogFactory.getLog(LogFactory.java:351)
    to org.apache.commons.httpclient.params.DefaultHttpParams. < clinit > (Dfau
    ltHttpParams.java:53)
    to flex.messaging.services.http.HTTPProxyAdapter. < init > (HTTPProxyAdapter
    . Java:111)
    at sun.reflect.NativeConstructorAccessorImpl.newInstance0 (Native Method)

    at sun.reflect.NativeConstructorAccessorImpl.newInstance (unknown Source)

    at sun.reflect.DelegatingConstructorAccessorImpl.newInstance (unknown Sou
    NCE)
    the impossible (unknown Source)
    at java.lang.Class.newInstance0 (unknown Source)
    to java.lang.Class.newInstance (unknown Source)
    at flex.messaging.util.ClassUtil.createDefaultInstance (ClassUtil.java:71
    )
    at flex.messaging.Destination.createAdapter(Destination.java:277)
    at flex.messaging.Destination.initDestination(Destination.java:103)
    at flex.messaging.services.HTTPProxyService.createDestination (HTTPProxyS
    ervice. Java:78)
    to flex.messaging.services.AbstractService.createDestinations (AbstractSe
    service. Java:82)
    at flex.messaging.config.MessagingConfiguration.createServices (e-mail
    Configuration.Java:187)
    to flex.messaging.config.MessagingConfiguration.configureBroker (Messagin
    gConfiguration.java:84)
    at flex.messaging.MessageBrokerServlet.init (MessageBrokerServlet.java:10
    5)
    at jrun.servlet.WebApplicationService.loadServlet (WebApplicationService.
    Java: 1242)
    at jrun.servlet.WebApplicationService.preloadServlets (WebApplicationServ
    Ice.Java:789)
    at jrun.servlet.WebApplicationService.postStart (WebApplicationService.ja
    will: 291)
    at jrun.deployment.DeployerService.initModules(DeployerService.java:711)

    at jrun.deployment.DeployerService.createWatchedDeployment (DeployerServi
    it. Java:242)
    at jrun.deployment.DeployerService.deploy(DeployerService.java:430)
    at jrun.deployment.DeployerService.checkWatchedDirectories (DeployerServi
    it. Java:179)
    at jrun.deployment.DeployerService.run(DeployerService.java:891)
    at jrunx.scheduler.SchedulerService.invokeRunnable (SchedulerService.java
    (: 223)
    to jrunx.scheduler.ThreadPool$ ThreadThrottle.invokeRunnable (ThreadPool.j
    AVA: 426)
    at jrunx.scheduler.WorkerThread.run(WorkerThread.java:66)
    Caused by: org.apache.commons.logging.LogConfigurationException: org.apache.comm
    ons.logging.LogConfigurationException: invalid class loader hierarchy. You have
    several versions of 'org.apache.commons.logging.Log' visible, which is not
    allowed. (Caused by org.apache.commons.logging.LogConfigurationException: Inval)
    hierarchy of ClassLoader ID. You have several versions of ' org.apache.common
    s.logging.Log' visible, which is not allowed.)
    to org.apache.commons.logging.impl.LogFactoryImpl.getLogConstructor (flog
    actoryImpl.java:397)
    to org.apache.commons.logging.impl.LogFactoryImpl.newInstance (LogFactory
    Impl.Java:529)
    ... more than 30
    Caused by: org.apache.commons.logging.LogConfigurationException: invalid class l
    oader hierarchy. You have several versions of ' org.apache.commons.logging.
    Newspaper "visible, which is not allowed.
    to org.apache.commons.logging.impl.LogFactoryImpl.getLogConstructor (flog
    actoryImpl.java:385)
    ... 31 more
    [0] flex.messaging.config.ConfigurationException: unable to create service ' flex.
    messaging.services.HTTPProxyService' for 'proxy-service' due to the following er
    MMR: org.apache.commons.logging.LogConfigurationException: org.apache.commons.lo
    gging. LogConfigurationException: Hierarchy of loader class not valid. You have more than
    that one version of 'org.apache.commons.logging.Log' visible, which does not allow
    Ed. (caused by org.apache.commons.logging.LogConfigurationException: invalid key)
    hierarchy of SS of charger. You have several versions of ' org.apache.commons.logg
    ING. Log "visible, which is not allowed.) (Caused by org.apache.commons.logging.L
    ogConfigurationException: org.apache.commons.logging.LogConfigurationException:
    Invalid class loader hierarchy. You have several versions of ' org.apache.c
    ommons.logging.Log' visible, which is not allowed. (Caused by org.apache.commons
    . Logging. LogConfigurationException: Hierarchy of loader class not valid. You have mo
    Re only one version of 'org.apache.commons.logging.Log' visible, which is not al
    lowed.)).
    at flex.messaging.config.MessagingConfiguration.createServices (e-mail
    Configuration.Java:202)
    to flex.messaging.config.MessagingConfiguration.configureBroker (Messagin
    gConfiguration.java:84)
    at flex.messaging.MessageBrokerServlet.init (MessageBrokerServlet.java:10
    5)
    at jrun.servlet.WebApplicationService.loadServlet (WebApplicationService.
    Java: 1242)
    at jrun.servlet.WebApplicationService.preloadServlets (WebApplicationServ
    Ice.Java:789)
    at jrun.servlet.WebApplicationService.postStart (WebApplicationService.ja
    will: 291)
    at jrun.deployment.DeployerService.initModules(DeployerService.java:711)

    at jrun.deployment.DeployerService.createWatchedDeployment (DeployerServi
    it. Java:242)
    at jrun.deployment.DeployerService.deploy(DeployerService.java:430)
    at jrun.deployment.DeployerService.checkWatchedDirectories (DeployerServi
    it. Java:179)
    at jrun.deployment.DeployerService.run(DeployerService.java:891)
    at jrunx.scheduler.SchedulerS07/13 22:23:33 user FlexSwfServlet: init
    ervice.invokeRunnable(SchedulerService.java:223)
    to jrunx.scheduler.ThreadPool$ ThreadThrottle.invokeRunnable (ThreadPool.j
    AVA: 426)
    at jrunx.scheduler.WorkerThread.run(WorkerThread.java:66)

    Help, please!

    Bernie

    Found this one:
    Searched by instance of JRun that flex has been installed in and removed all the extra commons-logging jar files I found.

  • ATG BCC Oracle question

    Hi all

    I use version 11.0 ATG, and I'm getting a few problems when attempting to create new coupons to the IAB.

    I am able to create promotions, but when click the Coupon to create a new, I get the following error:

    Error Thu Jun 05 15:38:50 GRT 2014 1401993530690/atg/dynamo/servlet/sessiontracking/GenericSessionManager/4iBtTsYWaG-aExqK1Dhmxa6dU5am1yA1RO22fP1aMkrIi_CIFC7v! 1040511758! 1401993217561/ATG/télécommande/assetmanager/parcourir/service/BrowseService---Flex.Messaging.MessageException: atg.flex.service.RemoteOperationException: java.lang.NullPointerException

    Error Thu Jun 05 15:38:50 GRT 2014 1401993530690/atg/dynamo/servlet/sessiontracking/GenericSessionManager/4iBtTsYWaG-aExqK1Dhmxa6dU5am1yA1RO22fP1aMkrIi_CIFC7v! 1040511758! 1401993217561/atg/remote control/assetmanager/browse/service/BrowseService

    at flex.messaging.services.remoting.adapters.JavaAdapter.invoke(JavaAdapter.java:447)

    Error Thu Jun 05 15:38:50 GRT 2014 1401993530690/atg/dynamo/servlet/sessiontracking/GenericSessionManager/4iBtTsYWaG-aExqK1Dhmxa6dU5am1yA1RO22fP1aMkrIi_CIFC7v! 1040511758! 1401993217561/atg/remote control/assetmanager/browse/service/BrowseService

    at atg.flex.messaging.services.TransactionalJavaAdapter.invoke(TransactionalJavaAdapter.java:189)

    Error Thu Jun 05 15:38:50 GRT 2014 1401993530690/atg/dynamo/servlet/sessiontracking/GenericSessionManager/4iBtTsYWaG-aExqK1Dhmxa6dU5am1yA1RO22fP1aMkrIi_CIFC7v! 1040511758! 1401993217561/atg/remote control/assetmanager/browse/service/BrowseService

    at flex.messaging.services.RemotingService.serviceMessage(RemotingService.java:183)

    / ATG/Dynamo/servlet/sessiontracking/GenericSessionManager/4iBtTsYWaG-aExqK1Dhmxa6dU5am1yA1RO22fP1aMkrIi_CIFC7v! 1040511758! 1401993217561/atg/remote control/assetmanager/browse/service/BrowseService (#2)-induced:java.lang.NullPointerException

    Error Thu Jun 05 15:38:50 GRT 2014 1401993530690/atg/dynamo/servlet/sessiontracking/GenericSessionManager/4iBtTsYWaG-aExqK1Dhmxa6dU5am1yA1RO22fP1aMkrIi_CIFC7v! 1040511758! 1401993217561/atg/remote control/assetmanager/browse/service/BrowseService

    at atg.remote.commerce.assetmanager.PromotionsAssetFilter.getUserPromotionIds(PromotionsAssetFilter.java:346)

    Error Thu Jun 05 15:38:50 GRT 2014 1401993530690/atg/dynamo/servlet/sessiontracking/GenericSessionManager/4iBtTsYWaG-aExqK1Dhmxa6dU5am1yA1RO22fP1aMkrIi_CIFC7v! 1040511758! 1401993217561/atg/remote control/assetmanager/browse/service/BrowseService

    at atg.remote.commerce.assetmanager.PromotionsAssetFilter.createContextFilterQuery(PromotionsAssetFilter.java:270)

    Error Thu Jun 05 15:38:50 GRT 2014 1401993530690/atg/dynamo/servlet/sessiontracking/GenericSessionManager/4iBtTsYWaG-aExqK1Dhmxa6dU5am1yA1RO22fP1aMkrIi_CIFC7v! 1040511758! 1401993217561/atg/remote control/assetmanager/browse/service/BrowseService

    at atg.remote.commerce.assetmanager.PromotionsAssetFilter.getQuery(PromotionsAssetFilter.java:136)

    I use an ear file unpacked, and all other BCC features work correctly.

    Any idea?

    Thanks in advance

    Hello

    The problem is resolved. We tried to simply create a promotion (not inside a coupon), and after that, the coupon tab starts working correctly again.

    We do not know why this problem occurred, we know that the creation of coupons is from the ATG.

    Now we can access and create coupons correctly.

    Good bye.

  • View is not to connect to the event db and error unable to connect to the db

    Hello

    while trying to connect the event dB view, I encounter a weird problem where, by getting "unable to connect" error message.

    in the error log I get below error also can you pls help.

    TP-Processor1 > code [ConfigurationManagerBean] ADAM Error: 2 128 com.vmware.vdi.admin.ui.ConfigurationManagerBean.updateDatabaseConfiguration(SourceFile:181)

    com.vmware.vdi.adamwrapper.exceptions.ADAMServerException: database initialization failed, SQL exception when connecting to the database: TCP/IP connection to host failed. java.net.ConnectException: connection refused: connect

    at com.vmware.vdi.admin.be.ConfigurationManager.a(SourceFile:1703)

    at com.vmware.vdi.admin.be.ConfigurationManager.updateDatabaseConfiguration(SourceFile:1580)

    at com.vmware.vdi.admin.ui.ConfigurationManagerBean.updateDatabaseConfiguration(SourceFile:177)

    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:606)

    to com.vmware.vdi.admin.ui.common.ViewFlexFactory$ ViewProxy.invoke (SourceFile:113)

    to com.sun.proxy. $Proxy56.updateDatabaseConfiguration (unknown Source)

    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:606)

    at flex.messaging.services.remoting.adapters.JavaAdapter.invoke(JavaAdapter.java:418)

    at flex.messaging.services.RemotingService.serviceMessage(RemotingService.java:183)

    at flex.messaging.MessageBroker.routeMessageToService(MessageBroker.java:1400)

    at flex.messaging.endpoints.AbstractEndpoint.serviceMessage(AbstractEndpoint.java:1011)

    at flex.messaging.endpoints.amf.MessageBrokerFilter.invoke(MessageBrokerFilter.java:103)

    at flex.messaging.endpoints.amf.LegacyFilter.invoke(LegacyFilter.java:158)

    at flex.messaging.endpoints.amf.SessionFilter.invoke(SessionFilter.java:44)

    at flex.messaging.endpoints.amf.BatchProcessFilter.invoke(BatchProcessFilter.java:67)

    at flex.messaging.endpoints.amf.SerializationFilter.invoke(SerializationFilter.java:166)

    at flex.messaging.endpoints.BaseHTTPEndpoint.service(BaseHTTPEndpoint.java:291)

    at flex.messaging.MessageBrokerServlet.service(MessageBrokerServlet.java:353)

    at javax.servlet.http.HttpServlet.service(HttpServlet.java:723)

    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)

    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)

    at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:646)

    at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:436)

    at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:374)

    at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:302)

    at com.vmware.vdi.admin.ui.servlet.AMFProxyServlet.a(SourceFile:90)

    at com.vmware.vdi.admin.ui.servlet.AMFProxyServlet.doPost(SourceFile:57)

    Hi James,

    It's a SQL API based in the event database connection, it does not need an ODBC connection, see will do for you.

    I just wanted to know what operating system you are using to connect to the server and did you do Windows Update on this machine? If not done it please do.

    restart the machine try connecting the event database. It does not work please check the things mentioned in the KB below

    http://KB.VMware.com/kb/1029537

    You can do one more thing before checking the KB, if the connection to the server OS is windows 2012 and the SQL Windows 2012, take a snapshot of the VM Server conection and proceed to

    under location

    C:\Program Files\VMware\VMware View\Server\broker\shared\lib\sqljdbc-1.2.jar

    Stop all the service view in the connection to the server.

    sqljdbc - 1.2.jar and rename sqljdbc - 1.2.jar.backup.

    Download SQL JDBC 3.0 driver http://www.microsoft.com/en-us/download/details.aspx?id=21599

    extract the downloaded file and copy the sqljdbc4.jar to location (C:\Program Files\VMware\VMware View\Server\broker\shared\lib\)

    also copy same file once more and rename the file to sqljdbc-1.2.jar

    Restart all services server connection and wait 10 minutes, then check the admin page.

  • vCenter Web client: a server error has occurred. [500] SSO error: null

    Hello all, I have problem with vCenter 6.0

    I installed vCenter 6.0 with service of external platform controller.

    I saw when I worked in the Web client alert (warning), something like "vAPI health alarm.

    Now, I can not connect to the Web client with the error 'a server error has occurred. .

    [500] SSO error: null

    " Check the logs from the Server Web Client vSphere for details."

    And I can't connect to vCenter with vsphere client.

    In the logfile "vsphere_client_virgo.txt" I have seen the error:

    [2015 04-08 T 14: 28:38.505 - 07:00] [WARNING] http-bio-9443-exec-1

    70000146 100005 200003 org.springframework.flex.core.DefaultExceptionLogger

    The following exception occurred during treatment with the BlazeDS MessageBroker in demand and will be serialized to the client: flex.messaging.MessageException: com.vmware.vsphere.client.error.ApplicationException: unable to connect to the services of vSphere.  Connection for vSphere Web Client and try again.

    at flex.messaging.services.remoting.adapters.JavaAdapter.invoke(JavaAdapter.java:444)

    at com.vmware.vise.messaging.remoting.JavaAdapterEx.invoke(JavaAdapterEx.java:50)

    at flex.messaging.services.RemotingService.serviceMessage(RemotingService.java:183)

    at flex.messaging.MessageBroker.routeMessageToService(MessageBroker.java:1400)

    at flex.messaging.endpoints.AbstractEndpoint.serviceMessage(AbstractEndpoint.java:1011)

    to flex.messaging.endpoints.AbstractEndpoint$ $FastClassByCGLIB$ $1a3ef066.invoke (< generated >)

    at net.sf.cglib.proxy.MethodProxy.invoke(MethodProxy.java:149)

    to org.springframework.aop.framework.Cglib2AopProxy$ CglibMethodInvocation.invokeJoinpoint (Cglib2AopProxy.java:689)

    at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:150)

    at org.springframework.flex.core.MessageInterceptionAdvice.invoke(MessageInterceptionAdvice.java:66)

    at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)

    at org.springframework.aop.framework.adapter.ThrowsAdviceInterceptor.invoke(ThrowsAdviceInterceptor.java:124)

    at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)

    to org.springframework.aop.framework.Cglib2AopProxy$ FixedChainStaticTargetInterceptor.intercept (Cglib2AopProxy.java:573)

    to com.vmware.vise.messaging.endpoints.AMFEndpoint$ $EnhancerByCGLIB$ $75e2a5d4.serviceMessage (< generated >)

    at flex.messaging.endpoints.amf.MessageBrokerFilter.invoke(MessageBrokerFilter.java:103)

    at flex.messaging.endpoints.amf.LegacyFilter.invoke(LegacyFilter.java:158)

    at flex.messaging.endpoints.amf.SessionFilter.invoke(SessionFilter.java:44)

    at flex.messaging.endpoints.amf.BatchProcessFilter.invoke(BatchProcessFilter.java:67)

    at flex.messaging.endpoints.amf.SerializationFilter.invoke(SerializationFilter.java:166)

    at flex.messaging.endpoints.BaseHTTPEndpoint.service(BaseHTTPEndpoint.java:291)

    to com.vmware.vise.messaging.endpoints.AMFEndpoint$ $EnhancerByCGLIB$ $75e2a5d4.service (< generated >)

    at org.springframework.flex.servlet.MessageBrokerHandlerAdapter.handle(MessageBrokerHandlerAdapter.java:109)

    at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:923)

    at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:852)

    at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:882)

    at org.springframework.web.servlet.FrameworkServlet.doPost(FrameworkServlet.java:789)

    at javax.servlet.http.HttpServlet.service(HttpServlet.java:755)

    at javax.servlet.http.HttpServlet.service(HttpServlet.java:848)

    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:303)

    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)

    at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)

    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)

    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)

    at com.vmware.vise.security.SessionManagementFilter.doFilterInternal(SessionManagementFilter.java:82)

    at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:76)

    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)

    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)

    at com.vmware.vsphere.client.logging.MDCLogFilter.doFilterInternal(MDCLogFilter.java:41)

    at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:76)

    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)

    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)

    at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:220)

    at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:122)

    at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:501)

    at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:170)

    at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:98)

    at org.eclipse.virgo.web.tomcat.support.ApplicationNameTrackingValve.invoke(ApplicationNameTrackingValve.java:33)

    at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:950)

    at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:116)

    at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:408)

    at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1040)

    to org.apache.coyote.AbstractProtocol$ AbstractConnectionHandler.process (AbstractProtocol.java:607)

    to org.apache.tomcat.util.net.JIoEndpoint$ SocketProcessor.run (JIoEndpoint.java:315)

    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)

    to java.util.concurrent.ThreadPoolExecutor$ Worker.run (ThreadPoolExecutor.java:615)

    at java.lang.Thread.run(Thread.java:745)

    Caused by: com.vmware.vsphere.client.error.ApplicationException: unable to connect to the services of vSphere.  Connection for vSphere Web Client and try again.

    at com.vmware.vsphere.client.error.ErrorReportUtil.getService(ErrorReportUtil.java:126)

    at com.vmware.vsphere.client.error.ErrorReportPage.toErrorStack(ErrorReportPage.java:168)

    at com.vmware.vsphere.client.error.impl.ErrorReportServiceImpl.getErrorStack(ErrorReportServiceImpl.java:48)

    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:606)

    at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:319)

    at org.eclipse.gemini.blueprint.service.importer.support.internal.aop.ServiceInvoker.doInvoke(ServiceInvoker.java:56)

    at org.eclipse.gemini.blueprint.service.importer.support.internal.aop.ServiceInvoker.invoke(ServiceInvoker.java:60)

    at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)

    at org.springframework.aop.support.DelegatingIntroductionInterceptor.doProceed(DelegatingIntroductionInterceptor.java:131)

    at org.springframework.aop.support.DelegatingIntroductionInterceptor.invoke(DelegatingIntroductionInterceptor.java:119)

    at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)

    at org.eclipse.gemini.blueprint.service.importer.support.LocalBundleContextAdvice.invoke(LocalBundleContextAdvice.java:57)

    at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)

    at org.springframework.aop.support.DelegatingIntroductionInterceptor.doProceed(DelegatingIntroductionInterceptor.java:131)

    at org.springframework.aop.support.DelegatingIntroductionInterceptor.invoke(DelegatingIntroductionInterceptor.java:119)

    at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)

    at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:202)

    to com.sun.proxy. $Proxy232.getErrorStack (unknown Source)

    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:606)

    at flex.messaging.services.remoting.adapters.JavaAdapter.invoke(JavaAdapter.java:418)

    ... 56 omitted common images

    I tried to restart the vcenter services and received the error

    Then I tried to start vcenter sevice

    Once I rebooted two virtual machines (vCenter and PSC) it works short time (about 2-3 days).

    Who knows how to solve this problem?

    Hi KissTobor,

    I solved my problem, but it was different in my case.

    In vsphere web clients log I found massaes something like this "psc.test.local don't answer."

    I try ping psc.test.local, result was compensate, DNS name has not solved. As a result, I found that I can't ping my domen controller. Problem was in my network, routing did not work well.

    Thanks for trying to help me.

Maybe you are looking for

  • HP Envy 17-3000 (3D) - replace internal 80 GB SSD? (or change the boot order?)

    My Envy 17 - 3xxx (3D) has a 80 GB SSD as boot/OS drive and a 1 TB HARD drive as secondary.  I would replace the 80 GB SSD with a 500 GB new and faster SSD.  I cloned the SSD existing to the new device, all good. However, I * physically cant just fin

  • Application of distributed creation of problem (installation file)

    We develop a tool with Measurement Studio in Visual Studio 2008. Now, we have a problem in its deployment. We have a rule that users don't have administrative privileges on their computers. And when we created the Setup project to install the tool, h

  • Help drive recovery!

    Hello I need help. I have a HP Pavilion DV9700 with windows Vista and I did a recovery disk when I bought my computer in case something happen and now my disks are corrupt and my computer Recovery Manager will not work.  I tried to go to HP and buy t

  • Help conversion table...

    Need help here some Labview... I'm stuck... No need to... Step 1 - Take a 1 d array with 4 index example: 0.153, 121, 249 Step 2 - convert the elements of the array in their 0 hexadecimal equivalent, 99, 79, F9 Step 3 - concatenate the array index 09

  • I have window vista lenovo ideapad. The cd driver does not accept the cd what do I do?

    My laptop does not accept any cd on its insertion into the slot of the cd player. It is ejected.how I can it rectified?