|
Friday, 12. March 2010
Antclick 1.2 - Downloaded and installed
click,
16:59h
All seems to be fine with Antville. It looks like, Apple MacOs X users where left behind and they must deal with buggy versions of Java. For whatever reason, Java on the Mac comes from Apple. Java on Windows, Linux and Solaris comes from Sun. Apple is always behind the curve, that is, they are late in releasing the latest versions of Java for the Mac OSX. It is time to switch servers.
When I start Antclick I get the following at the terminal window of a Mac Os X.4.11 XServer: Last login: Fri Mar 12 16:06:36 on console Welcome to Darwin! idecdigital:~ admin$ /Users/admin/Desktop/antclick-1.2-beta/start.sh Starting Helma in directory /Users/admin/Desktop/antclick-1.2-beta Starting HTTP server on port 8080 Adding to classpath: /Users/admin/Desktop/antclick-1.2-beta/lib/ext/h2.jar Starting Helma 1.7.0 (October 31 2009) on Java 1.5.0_19 2010-03-13 14:37:42.066:INFO::Logging to STDERR via org.mortbay.log.StdErrLog 2010-03-13 14:37:42.097:INFO::jetty-6.1.22 2010-03-13 14:37:42.151:INFO::Started SelectChannelConnector@0.0.0.0:8080 But, as soon I tried to create a new site it came with the error: TypeError: Cannot call property toASCII in object [JavaPackage java.net.IDN]. It is not a function, it is "object". I'm running the last Java version available at software update (Java for Mac OS X.4.11 release 9 from 15 of June 2009) idecdigital:~ admin$ java -version java version "1.5.0_19" Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_19-b02-306) Java HotSpot(TM) Client VM (build 1.5.0_19-138, mixed mode) It looks like that the Rhino engine is not seeing the class that we are attempting to use or here it is considering the invoked method, "toASCII" as a property instead of a method. I need to find out why Rhino script is not able to get the Java class. it seems most likely that we are suffering some sort of user error. Either the class isn't in the jar that is actually getting loaded, or the wrong jar is getting put into libext or something. I believe most of this kind of errors it is because of not using the right syntax to reference the java class. I read in the site.js document the following // FIXME: // 1. Check if IDN class is available (Java 6!) // 2. toASCII() should be called somewhere else I don't know if IDN class is available (Java 6!) I don't know where toASCII should be called. I don't know what to do!! ... Link (1 comment) ... Comment |
Online for 139 days
Last modified: 2010-04-28 14:14 Status
You are not logged in
... Login
Main Menu
Search
Calendar
Updates
This issue still needs to
be worked out for the final release. What you...
tobi, 2010-04-28 14:14
Antclick 1.2 - Downloaded and
installed All seems to be fine with Antville. It looks...
click, 2010-03-28 09:32
Java on Macs Apple Computer
supplies their own version of Java. Users must use the...
click, 2010-03-14 21:35
|