how to configure application on the live server?

0 views
Skip to first unread message

amit doshi

unread,
Nov 7, 2009, 11:02:34 AM11/7/09
to Flex India Community
Hello guys,


can any one help me how to configure application on the
live server?


I am using blazeds tomcat and also some java classes so with
the remote object i m passing call to the java classes...

Now i had developed my application in my local pc and now i
have to make that application live...
so how can i do that in the linux server?


Please help me out ......

Regards.
Amit

Kiran Singh

unread,
Nov 8, 2009, 8:47:54 AM11/8/09
to flex_...@googlegroups.com
If you are trying to develop the web application. your context root in the local pc and context root in linux box need to be same.I hope you know how to run the web based application in local box.

In the below i am trying to explain the directory structure in blazeds

Example of web application on local box:-

1. Place the blazeds folder in the c: directory
      
     c:\blazeds\tomcat\webapps\XYZ\ here XYZ is the context root.

2.  Now place ur swf files and flex bin-debug files in the below directory. 

3.  In the WEB-INF\classes\ place your java file,WEB-INF\lib place your jar and WEB-INF\flex place your configured messaging-config.xml,proxy-config.xml,remoting-config.xml and services-config.xml.

Example of web application on linux box:-

--  Need to similar configuration in linux box.
         
1.  First,  install the tomcat.
2.  Create the context root folder as tomcat\webapps\XYZ  and place the files as you did in the local box
3.  run the tomcat and run ur application


Thanks,
Kiran Singh

--
N.Kiran Singh
mca

Gerald Anto Fernando

unread,
Nov 10, 2009, 12:51:27 AM11/10/09
to flex_...@googlegroups.com
hello kiran,
please give me detailed explanation

what is blazeds? i need to know about it
i am using tomcat only and am not using any of messaging-config.xml,proxy-config.xml,remoting-config.xml and services-config.xml.
i am calling HTTPService and get data from server and plot the data in UI.
is it correct way?

initially i run the code in flex builder then i will move the code into tomcat
my folder structure is 

c:\tomcat\webapps\flexproject -->my project folder(is this context root?)

c:\tomcat\webapps\flexproject\bin -->my output .swf files folder

c:\tomcat\webapps\flexproject\web-inf ---> my java and jsp files folder.

This is right way????

Thanks&Regards,
Gerald A
--
Thanks & Regards,
A  Gerald

Reply all
Reply to author
Forward
0 new messages