Search the web
Sign In
New User? Sign Up
frink
? Already a member? Sign in to Yahoo!

Yahoo! Groups Tips

Did you know...
Show off your group to the world. Share a photo of your group with us.

Best of Y! Groups

   Check them out and nominate your group.
Having problems with message search? Fill out this form to ensure your group is one of the first to be migrated to the new message search system.

Messages

  Messages Help
Advanced
no web.xml file in frink.war   Message List  
Reply | Forward Message #212 of 257 |
Re: [Frink] Re: no web.xml file in frink.war

knbknb00 wrote:
> Thanks for providing a fix, (and the other ingenious features of the
> new release, mentioned in the other posting from yesterday)!
> Can deploy the frink.war file now.
>
> However, on my Tomcat, the resource FrinkServletDispatcher (or so)
> cannot be loaded. I am not sitting at that computer right now. So I
> can't give you the true error message.

Okay, I've once again changed the structure of the .war file so that
all classes go into the internal .jar file, instead of having some in
the classes/ directory and some in the lib/ directory. This should
hopefully eliminate potential classloader problems, and it fixes another
problem that probably made the war file not work anyway. It now works
on an older Tomcat installation where it didn't before. Please give it
another try and let me know. Sorry about the problems.

> By the way, your fsps on the futureboy.us site give
> FrinkEvaluationException: java.lang.NullPointerExceptions.

I think one of my servlet environments was having similar problems.
I didn't see the problem occurring, but since I have load-balancing and
failover on my servers, it's possible that the requests were going to
one of the malfunctioning servers, which wasn't malfunctioning badly
enough for it to be taken out of service. :|

> Indeed, considering only the inner solar system, aligned along a
> linear feature, such as a street in my neighborhod, the planets seem
> to be pretty close together, and this is probably slightly misleading.
>
> Today I had another idea while thinking about this little project, as
> follows : the script might optionally accept another parameter, of
> geographic coordinates (longitude, latitude) which could indicate the
> the location of the sun model. The relative positions of the planets
> would be calculated as well, and their corresponding geographic
> coordinates (either on a straight line or the true current positions
> on their scaled-down elliptical model orbits).
> Then let the script write the whole thing out as a .kml File to show
> in Google Earth. Yesterday I already tried plotting the planetary
> distances manually, using Google Earth's line/path tool. Takes too
> much time, though. (And manually, anything else other than aligning
> them along a straight line is infeasible).

I have written several libraries and sample programs that may help
you in this:

High-accuracy navigation libraries for lat/long manipulation,
including very accurate algorithms for navigation on an ellipsoidal earth:
http://futureboy.us/fsp/colorize.fsp?fileName=navigation.frink

A web page that uses this library (and draws maps in Google Maps and
Google Earth once you put numbers into the forms.) Use the "view
source" link at bottom.)
http://futureboy.us/fsp/geocaching.fsp

Program to write very simple Google Earth .kml files (currently just
one point.)
http://futureboy.us/fsp/colorize.fsp?fileName=GoogleEarth.frink

And a FSP page that uses the above library to render the kml file:
http://futureboy.us/fsp/highlight.fsp?fileName=GoogleEarth.fsp
(this is called from geocaching.fsp)

> So, maybe I'll create a ajax-y Google maps App that calls my custom
> fsp behind the scenes. Fun!

I wish you luck on it! I'd be interested in seeing it!

--
Alan Eliasen | "Furious activity is no substitute
eliasen@... | for understanding."
http://futureboy.us/ | --H.H. Williams



Fri Apr 18, 2008 1:18 am

aeliasen
Online Now Online Now
Send Email Send Email

Forward
Message #212 of 257 |
Expand Messages Author Sort by Date

Hi Alan, today I tried to install the frink.war web application into my tomcat server. In contrast to the description on the web page, ...
knbknb00
Offline Send Email
Apr 16, 2008
8:13 pm

... Oops! No, it was supposed to be in there, but i had a problem in the building process. It's fixed now. I changed the way the war file was built, so...
Alan Eliasen
aeliasen
Online Now Send Email
Apr 17, 2008
7:29 am

Thanks for providing a fix, (and the other ingenious features of the new release, mentioned in the other posting from yesterday)! Can deploy the frink.war file...
knbknb00
Offline Send Email
Apr 17, 2008
9:26 pm

... Okay, I've once again changed the structure of the .war file so that all classes go into the internal .jar file, instead of having some in the classes/...
Alan Eliasen
aeliasen
Online Now Send Email
Apr 18, 2008
1:19 am

Everything works fine now in my Tomcat 5.5.17. Naturally, the NullPointerExceptions on your webserver disappeared after I submitted my last post. Previously I...
knbknb00
Offline Send Email
Apr 18, 2008
7:44 pm

... Thanks! I agree that writing interfaces to Frink as Frink Server Pages gives you some large advantages: * The ability to use all the power of HTML (and...
Alan Eliasen
aeliasen
Online Now Send Email
Apr 22, 2008
8:02 am

... Well said, to the point. ... Sounds good. ... I must confess that I prefer vi, but I use it only in a limited way. And I'm not really up to more serious...
knbknb00
Offline Send Email
Apr 22, 2008
8:05 pm
Advanced

Copyright © 2009 Yahoo! Inc. All rights reserved.
Privacy Policy - Terms of Service - Guidelines - Help