You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@flex.apache.org by Flex&Java Developer <sh...@gmail.com> on 2014/10/07 03:29:20 UTC

Adobe LCDS related exception when launching Flex-LCDS-Java/J2EE &Spring app in Tomcat 7

Hi,

I have deployed a Flex-LCDS-Java/J2EE &Spring app in Tomcat 7 . When i hit
the app URL , I get the below message in the Flex UI :



FaultHandler [FaultEvent fault=[RPC Fault faultString="Send failed"
faultCode="Client.Error.MessageSend" faultDetail="Channel.Connect.Failed
error NetConnection.Call.Failed: HTTP: Status 500: url: '
http://internal-dev.com:2520/app-bin/rms/messagebroker/amf'"]
messageId="3F3E4B85-F682-52FE-95ED-E679606B4BD7" type="fault" bubbles=false
cancelable=true eventPhase=2]



Investigation of the app logs showed the below exception.

Any pointers on what the issue could be caused by ?

I have packaged the license.properties along with the app WAR file (under
WEB-INF/flex folder).

Kindly share feedback on what could be causing the below exception.


*java.lang.NullPointerException: name can't be null*

*java.io.FilePermission.init(FilePermission.java:171)*

*java.io.FilePermission.<init>(FilePermission.java:249)*

*java.lang.SecurityManager.checkRead(SecurityManager.java:871)*

*flex.messaging.license.LicenseServiceImpl.getLicenseService(LicenseServiceImpl.java:127)*

*flex.messaging.license.LicenseServiceImpl.getLicenseService(LicenseServiceImpl.java:87)*

*flex.data.DataService.start(DataService.java:188)*

*flex.messaging.MessageBroker.startServices(MessageBroker.java:2131)*

*flex.messaging.MessageBroker.start(MessageBroker.java:325)*

*flex.messaging.AsyncMessageBroker.start(AsyncMessageBroker.java:619)*

*flex.messaging.MessageBrokerServlet.init(MessageBrokerServlet.java:149)*

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

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

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

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

*org.apache.catalina.security.SecurityUtil$1.run(SecurityUtil.java:277)*

*org.apache.catalina.security.SecurityUtil$1.run(SecurityUtil.java:274)*

*java.security.AccessController.doPrivileged(Native Method)*

*javax.security.auth.Subject.doAsPrivileged(Subject.java:517)*

*org.apache.catalina.security.SecurityUtil.execute(SecurityUtil.java:309)*

*org.apache.catalina.security.SecurityUtil.doAsPrivilege(SecurityUtil.java:169)*

*org.apache.catalina.security.SecurityUtil.doAsPrivilege(SecurityUtil.java:123)*


*org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:472)*

*org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:99)*


*org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:953)*

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

*org.apache.coyote.ajp.AjpProcessor.process(AjpProcessor.java:200)*

*org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:589)*

*org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:310)*

*java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:895)*

*java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:918)*

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





Thanks,

Shyam