Adding a keyword so the experts may notice

 

________________________________

From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of stephen50232
Sent: Saturday, October 20, 2007 8:32 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Flex sites not running under the URL

 

HI,

I've posted this message on the Adobe forum, but I thought I'd post it
here too, so sorry for the cross posting, anyway

I have recently been moving some Flex apps onto a new server, now the
problem I'm having is that any Flex app that uses Remoting is only
available via the IP address. When I call the site via the URL I
create in IIS i always get this error message:

mx.rpc::Fault)#0
errorID = 0
faultCode = "Server.Processing"
faultDetail = (null)
faultString = "java.lang.NullPointerException"
message = "faultCode:Server.Processing
faultString:'java.lang.NullPointerException' faultDetail:'null'"
name = "Error"
rootCause = (null)

Now when I call the same site via the IP address I don't get an error
message and the site works. I've been researching this problem and
asked other people about this and it seems that the problem has to do
with the service-config.xml file, so I've checked my
service-config.xml file and the endpoint entries are fine, e.g:

<endpoint
uri="http://{server.name}:{server.port}{context.root}/flex2gateway/cfamf
polling"
class="flex.messaging.endpoints.AMFEndpoint"/>

Which seems fine, I've also put a crossdomain policy file in the root
of my app and that's not fixing the problem. So I'm stuck for ideas.

Can anyone shed so light and ideas and what to check to solve this
problem?

Thanks

Stephen

 

Reply via email to