Hello Experts,
I have developed a FLEX ,BLAZE DS,JAVA,Hibernate Application and able to deploy and run in my localhost on tomcat.
When i am trying to run the same URL with my IP Address from other computer in LAN. I am able to see the FLEX page but when i clicking on "Login" button,nothing is happening, means it is not further communicating to server and always looking for localhost.
I am pasting the some part of service-config and hibernate-cfg.xml contents for ref. service-config.xml
<channel-definition id="my-amf" class="mx.messaging.channels.AMFChannel">
<endpoint url="http://{server.name}:{server.port}/{context.root}/messagebroker/amf" class="flex.messaging.endpoints.AMFEndpoint"/>
</channel-definition>
hibernate.cfg.xml
<session-factory>
<property name="hibernate.connection.driver_class">com.mysql.jdbc.Driver</property>
<property name="hibernate.connection.url">jdbc:mysql://{server.name}/testdb</property>
Please help me to resolve this issue.
Thanks in advance. Aj