On Mon, 24 Sep 2007, Erik Johansson wrote:
> Hi again
>
> I think I installed the pro version of resin and that's why it didn't
> work.. ;-) But it still doesn't work, I've attached a log and here is
> what I do:
>
> 1. I start resin
> 2. goto http://localhost:8080/
> 2.1 get a 404
>
> 3. goto http://localhost:8080/webapp/intro.jsp (WORKS)
>
> 4. press start new game
> 4.1  get a black screen and lots of "0.5 fps" repeated over and over.
> 5. write /start in the web client console
> 5.1 Still black screen and lots of 0.5 fps repeated over and over.
> 5.3 the console log gets some binary junk  (two chars represented as
> ?? in the file)
>
>
>
> I don't know where to go from here....

Hello Erik!

Great progress so far, now you have the JSP part setup correctly.

It seems that the Freeciv Web service isn't working. Take a look here for 
debugging information: http://freeciv.wikia.com/wiki/FreecivWebClient

More specifically, what happens when you enter these URL's in your 
browser?
http://localhost:8080/axis/FreecivWebService.jws?wsdl 
http://localhost:8080/axis/FreecivWebService.jws?method=getFreecivState

The first should give you the WSDL (XML with Web service definition),
and the second should give you the result of invoking the getFreecivState 
method.

So, where have you put the file FreecivWebService.jws?

Is Axis installed correctly?

Do you get any Javascript errors?

Try installing Firebug for Firefox, which will help debugging.

I have attached a listing of where all the files of my working web 
application are located: http://www.pvv.org/~andrearo/files.txt
As you can see, everything is installed under home/projects/freecivweb/

It would be great if you could update the Wiki with additional 
information, once we get this setup correctly on your machine. Then it 
will not be so difficult for others wanting to set it up. Perhaps we 
should use Maven or Ant to do the deployment automatically.


  - Andreas

_______________________________________________
Freeciv-dev mailing list
Freeciv-dev@gna.org
https://mail.gna.org/listinfo/freeciv-dev

Reply via email to