Re: [OpenMap Users] OpenMap Applet bug : openmap.properties file not found

From: Don Dietrick <dietrick_at_bbn.com>
Date: Mon, 10 Jan 2005 10:51:22 -0500

Hi Jerome,

The openmap.properties file needs to be placed in the codebase of the
applet, next to the openmap.jar file.

- Don

On Jan 10, 2005, at 10:12 AM, Jérôme VUIBERT - Postmaster wrote:

> Hi everybody,
>
> I have a big mistake about running OpenMap as an applet. Everything
> seems to work as an application via web start, and with the Eclipse
> debbuger tool, but not as an applet as weel on the server as on a
> remote web client.
>
> Here are my platform caracteristics :
> - Windows 2000
> - Sun JDK 1.4.2_03
> - CygWin 1.5.12-1
> And the client machine :
> - Windows XP ou 2000
> - Sun JRE 1.4.2_03
> - IE6.0
>
> Finally i launched the applet after compiling it with all as debug
> flag. It ssems that the openmap.properties file is not found when
> launched as an applet.
>
> Can someone help me ?
>
> Here are the informations given by the java console :
>
> Plug-in Java(TM): Version 1.4.2_03
> Utilisation de la version JRE 1.4.2_03 Java HotSpot(TM) Client VM
> Répertoire d'accueil de l'utilisateur = C:\Documents and
> Settings\vuibert
> Configuration du proxy : Aucun proxy
> Applet Parameter openmap.Latitude has value null
> Applet Parameter openmap.Longitude has value null
> Applet Parameter openmap.Scale has value null
> Applet Parameter openmap.Projection has value null
> Applet Parameter debug.basic has value null
> Applet Parameter openmap.HelpURL has value null
> Environment: is MS Windows!
> -- listing properties --
> os.arch=x86
> openmap.Title=OpenMap(tm)
> openmap.UseInternalFrames=true
> openmap.Version=4.6.1
> java.version=1.4.2_03
> java.class.version=48.0
> path.separator=;
> java.vendor=Sun Microsystems Inc.
> os.version=5.1
> os.name=Windows XP
> line.separator=
> openmap.BuildDate=20041101_at_13:51
> file.separator=\
> java.vendor.url=http://java.sun.com/
> user.name=appletUser
> openmap.UniqueID=_appletUser_4.6.1_x86_Windows XP_MAYO...
> PropertyHandler: Unable to locate as resource: openmap.properties
> Environment.get(Environment.Projection) = null
> ProjectionFactory.getDefaultProjectionFromEnvironment(): Can't use
> (openmap.Projection = null) property as a projection class, need a
> class name instead. Using default of com.bbn.openmap.proj.Mercator.
> OpenMap(tm) Version 4.6.1
> Copyright (C) BBNT Solutions LLC. All rights reserved.
> See http://openmap.bbn.com/ for details.
> Environment.get(Environment.Projection) = null
> ProjectionFactory.getDefaultProjectionFromEnvironment(): Can't use
> (openmap.Projection = null) property as a projection class, need a
> class name instead. Using default of com.bbn.openmap.proj.Mercator.
>
>
> Thanks a lot.
>
> Jerome
>
>
>
> --
> [To unsubscribe to this list send an email to "majdart_at_bbn.com"
> with the following text in the BODY of the message "unsubscribe
> openmap-users"]
>
>


=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Don Dietrick, dietrick_at_bbn.com
BBN Technologies, Cambridge, MA
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=

--
[To unsubscribe to this list send an email to "majdart_at_bbn.com"
with the following text in the BODY of the message "unsubscribe openmap-users"]
Received on Mon Jan 10 2005 - 10:51:49 EST

This archive was generated by hypermail 2.3.0 : Tue Mar 28 2017 - 23:25:06 EDT