[Gvsig_english] gvSIG and Java on Mac OS X
Benjamin Ducke
benjamin.ducke at oxfordarch.co.uk
Fri Oct 17 14:24:18 CEST 2008
Mijail wrote:
> Some more brainstorming: I'd be careful with the relative paths in the
> script. Mainly, the "../NativeLibs" sounds bad (yes, it should work, but
> I would just make that an absolute path - maybe I suffered too many of
> those kind of errors).
> And try "man dyld" for some hints on the debugging facilities offered by
> OS X's linker. For example, "export DYLD_PRINT_LIBRARIES=true" should
> let you know if the native libraries are being found - which is another
> suspicion I'm having, since the native libs have been built to be used
> in a bundle and might need some massaging)
Yes, I was investigating that possibility, too. Changed to abs paths,
but still no luck. Admittedly, I know *very* little about Mac OS X,
so there is a good chance I did something wrong with the system's linker
path. I'll have to look into this further.
>
> (and yet, I don't think none of this really addresses the
> "java.lang.NoClassDefFoundError: Could not initialize class
> com.iver.cit.gvsig.fmap.crs.CRSFactory" you report. Could you send a
> complete log up to that moment?)
Right, I realized the log was truncated and probably not very
helpful. I am attaching a complete version.
I have also uploaded my script and the complete gvSIG package for OS X:
ftp://88.208.250.116/gvsig_launcher.sh
ftp://88.208.250.116/gvSIG1.1.2.zip
Have a go at it if you feel like it!
Cheers,
Ben
>
>
>
> El 17/10/2008, a las 11:11, Benjamin Ducke escribió:
>
>> OK, I have adjusted the classpath but no luck.
>>
>> However, things work just fine if I use the systems's
>> own 1.5 JDK!
>>
>> Apparently, something is missing in the Soylatte JRE.
>>
>> I think I will give up on this for now, it is just taking
>> too much time (thanks, Apple for f****** up Java 6 on OS X like that!).
>> Will have to advise users on Mac OS X 10.4 that they won't be able
>> to get good Java performance for now and will have to upgrade to
>> 10.5 if they need it (talk about vendor lock-in...).
>>
>> Ben
>>
>>
>> Benjamin Ducke wrote:
>>> Mijail,
>>>> You should NOT touch the symlinks in the JavaVM framework unless you
>>>> have a very good reason and understanding of why. Usually you should
>>>> just use the Java Preferences app pointed to by Henning.
>>> Yeah, that's what I found out, too ;)
>>>>
>>>> And in your case, using SoyLatte, you should be already independent
>>>> of that.
>>>>
>>>> Which I guess is what you have run into when you say that gvSIG
>>>> chooses Java 1.5. I don't know how SoyLatte gets installed, but I
>>>> don't expect it to weave itself into the OS X Java installation,
>>>> without which the JavaApplicationStub inside
>>>> gvSIG.app/Contents/MacOS (which can be in part controlled with the
>>>> Java Preferences.app) will not go anywhere near your SoyLatte.
>>> Yes, the problem is that Soylatte is a standard JRE distribution
>>> ("bin","lib", ...), not one of those Apple Frameworks, so there is no
>>> way of cleanly integrating that into the rather complex Apple system
>>> of Java deployment.
>>>>
>>>> So I guess your shell script is the way to go to use SoyLatte.
>>> Well, it's almost working, so I will keep tuning it.
>>> I'll see if adjusting the classpath as you suggested fixes the
>>> problem. If not, I'll report back to this list.
>>> Thanks for the help,
>>> Ben
>>> P.S.:
>>> I am running this on Intel Mac OS X 10.4
>>>>
>>>> So what would I guess the problem is? We know CRS is not working in
>>>> PowerPC, BUT its exact failure mode was that it caused an exception
>>>> when you tried to load a layer. So you should be able to at least
>>>> show the gvSIG desktop and play a bit with it, even with the CRS
>>>> problem (which you can fix by just taking away the CRS extension, as
>>>> Agustin demonstrated).
>>>>
>>>> To me, it certainly looks like it is failing to find the CRS
>>>> extension. Not sure though.
>>>> I would suggest checking the classpath, since the one you are using
>>>> looks different to the one we are using in OS X. You can check it in
>>>> the file gvSIG.app/Contents/Info.plist, which is XML, and which
>>>> contains this classpath:
>>>> <key>ClassPath</key>
>>>> <array>
>>>> <string>andami.jar</string>
>>>> <string>lib/log4j-1.2.8.jar</string>
>>>> <string>lib/beans.jar</string>
>>>> <string>lib/gvsig-i18n.jar</string>
>>>> <string>lib/iver-utiles.jar</string>
>>>> <string>lib/castor-0.9.5.3-xml.jar</string>
>>>> <string>lib/crimson.jar</string>
>>>> <string>lib/xerces_2_5_0.jar</string>
>>>> <string>lib/javaws.jar</string>
>>>> <string>lib/xml-apis.jar</string>
>>>> <string>lib/JWizardComponent.jar</string>
>>>> <string>lib/looks-2.0.2.jar</string>
>>>> <string>lib/kxml2.jar</string>
>>>> <string>lib/jcalendar.jar</string>
>>>> <string>lib/xmlrpc-2.0.1.jar</string>
>>>> <string>lib/commons-codec-3.1.zip</string>
>>>> <string>lib/commons-collections-3.1.zip</string>
>>>> <string>lib/commons-pool-1.2.zip</string>
>>>> <string>lib/commons-dbcp-1.0-dev-20020806.zip</string>
>>>> <string>lib/jh.jar</string>
>>>> </array>
>>>>
>>>>
>>>> Let me know if that helps (or if I can help you avoid those gray
>>>> hairs :). I am in the process of slipping out of the gvSIG project,
>>>> but for some time I will still try to make myself available.
>>>>
>>>>
>>>> El 16/10/2008, a las 16:00, Henning Lorenz escribió:
>>>>
>>>>> You can set your Java Preferences in
>>>>> /Applications/Utilities/Java/Java Preferences.app
>>>>>
>>>>> Henning
>>>>>
>>>>> On 2008-10-16, at 15:25 , Benjamin Ducke wrote:
>>>>>
>>>>>> Hi Agustin,
>>>>>>
>>>>>> thanks for those pointers. I will try linking to my JRE as you
>>>>>> suggested, just to make sure that everything runs OK.
>>>>>>
>>>>>> But for a "proper" solution, I would like to avoid anything
>>>>>> that touches system files, so the installation can be completely
>>>>>> self-contained and won't require root access.
>>>>>>
>>>>>> Awesome that you got gvSIG running on PowerPCs, too.
>>>>>> I will have to take a look at that. For now, the Intel version
>>>>>> is giving me enough gray hair ...
>>>>>>
>>>>>> Thanks,
>>>>>>
>>>>>> Ben
>>>>>>
>>>>>> Agustin Diez Castillo wrote:
>>>>>>> Ben,
>>>>>>> You can force Mac yo use a particular version of Java.
>>>>>>> All versions reside at
>>>>>>> /System/Library/Frameworks/JavaVM.framework/Versions
>>>>>>> and there a link point CurrentJDK to the version of your choice.
>>>>>>> So you only need to point CurrentJDK to your 1.6 JRE.
>>>>>>> But anyhow if you're in PPC machine you need to take out the crs
>>>>>>> folder (this is true after the 913 build including 12xx). I've
>>>>>>> prepared a Mac version with sextante and gvSIG mobile for PPC
>>>>>>> machines [1].
>>>>>>> Agustin
>>>>>>> [1]
>>>>>>> http://gvsigmac.blogspot.com/2008/08/gvsig-112-running-on-mac-ppcs.html
>>>>>>>
>>>>>>> El Oct 16, 2008, a las 2:47 PM, Benjamin Ducke escribió:
>>>>>>>> Dear developers/list,
>>>>>>>>
>>>>>>>> I am currently trying to understand how Java works on Mac OS X.
>>>>>>>> Since Apple decides what Java gets installed on any version of
>>>>>>>> Mac OS X, not the user, I would like to be able and bundle my own
>>>>>>>> 1.6 JRE with gvSIG, so that I can deploy an identical version on
>>>>>>>> any Mac.
>>>>>>>>
>>>>>>>> As a JRE, I am using the Soylatte FreeBSD port and that seems to
>>>>>>>> run
>>>>>>>> fine, but gvSIG always picks up the system's outdated Java 1.5
>>>>>>>> (I am
>>>>>>>> running on Mac OS 10.4 with no intentions whatsoever to update
>>>>>>>> to 10.5).
>>>>>>>>
>>>>>>>> Now, I have tried to recreate the whole Java startup procedure
>>>>>>>> using
>>>>>>>> a shell script, which I modeled after the one for Linux:
>>>>>>>>
>>>>>>>> ----
>>>>>>>>
>>>>>>>> #!/bin/sh
>>>>>>>> # gvSIG.sh: startup script for gvSIG on Mac OS X
>>>>>>>> PATH_TO_GVSIG="/Users/bartsimpson/Desktop/gvSIG1.1.2.app"
>>>>>>>> PATH_TO_RES="$PATH_TO_GVSIG/Contents/Resources/gvSIG/gvSIG 1.1.2
>>>>>>>> build 1045.app/Contents/Resources"
>>>>>>>>
>>>>>>>> export DYLD_LIBRARY_PATH="$PATH_TO_RES/NativeLibs"
>>>>>>>> export
>>>>>>>> PROJ_LIB="$PATH_TO_RES/Java/gvSIG/extensiones/org.gvsig.crs/data"
>>>>>>>>
>>>>>>>> cd "$PATH_TO_RES/Java"
>>>>>>>>
>>>>>>>> # Setup Java environment and run gvSIG
>>>>>>>>
>>>>>>>> # Java tuning settings
>>>>>>>> MAX_HEAP=512
>>>>>>>> INI_HEAP=512
>>>>>>>>
>>>>>>>> JAVA_VM="/Users/bartsimpson/Desktop/soylatte16-i386-1.0.3/bin/java"
>>>>>>>>
>>>>>>>> $JAVA_VM -Djava.library.path="../NativeLibs" -cp
>>>>>>>> andami.jar:./lib/gvsig-i18n.jar:./lib/beans.jar:./lib/log4j-1.2.8.jar:./lib/iver-utiles.jar:./lib/castor-0.9.5.3-xml.jar:./lib/crimson.jar:./lib/xerces_2_5_0.jar:./lib/javaws.jar:./lib/xml-apis.jar:./lib/looks-2.0.2.jar:./lib/JWizardComponent.jar:./lib/kxml2.jar:./lib/jcalendar.jar:./lib/jh.jar
>>>>>>>> -Xms${INI_HEAP}M -Xmx${MAX_HEAP}M com.iver.andami.Launcher gvSIG
>>>>>>>> gvSIG/extensiones "$@"
>>>>>>>>
>>>>>>>> ----
>>>>>>>>
>>>>>>>> This goes almost all the way to starting gvSIG, but eventually
>>>>>>>> fails:
>>>>>>>>
>>>>>>>> java.lang.reflect.InvocationTargetException
>>>>>>>> at java.awt.EventQueue.invokeAndWait(EventQueue.java:997)
>>>>>>>> at
>>>>>>>> javax.swing.SwingUtilities.invokeAndWait(SwingUtilities.java:1323)
>>>>>>>> at com.iver.andami.Launcher.main(Unknown Source)
>>>>>>>> Caused by: java.lang.NoClassDefFoundError: Could not initialize
>>>>>>>> class com.iver.cit.gvsig.fmap.crs.CRSFactory
>>>>>>>> at com.iver.cit.gvsig.project.Project.<clinit>(Unknown Source)
>>>>>>>> at
>>>>>>>> com.iver.cit.gvsig.project.ProjectFactory.createProject(Unknown
>>>>>>>> Source)
>>>>>>>> at
>>>>>>>> com.iver.cit.gvsig.ProjectExtension.loadInitialProject(Unknown
>>>>>>>> Source)
>>>>>>>> at
>>>>>>>> com.iver.cit.gvsig.ProjectExtension.postInitialize(Unknown Source)
>>>>>>>> at com.iver.andami.Launcher.postInitializeExtensions(Unknown
>>>>>>>> Source)
>>>>>>>> at com.iver.andami.Launcher.access$600(Unknown Source)
>>>>>>>> at com.iver.andami.Launcher$4.run(Unknown Source)
>>>>>>>> at
>>>>>>>> java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:199)
>>>>>>>> at java.awt.EventQueue.dispatchEvent(EventQueue.java:597)
>>>>>>>> at com.iver.andami.ui.AndamiEventQueue.dispatchEvent(Unknown
>>>>>>>> Source)
>>>>>>>> at
>>>>>>>> java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:273)
>>>>>>>>
>>>>>>>> at
>>>>>>>> java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:183)
>>>>>>>>
>>>>>>>> at
>>>>>>>> java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:173)
>>>>>>>>
>>>>>>>> at
>>>>>>>> java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:168)
>>>>>>>>
>>>>>>>> at
>>>>>>>> java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:160)
>>>>>>>>
>>>>>>>> at
>>>>>>>> java.awt.EventDispatchThread.run(EventDispatchThread.java:121)
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>> Can someone on this list make sense of that error message?
>>>>>>>> Is the problem with the CRS library? Did I forget to include
>>>>>>>> something into the Java classpath or the system's linker path?
>>>>>>>>
>>>>>>>> Thanks,
>>>>>>>>
>>>>>>>> Ben
>>>>>>>>
>>>>>>>>
>>>>>>>> --
>>>>>>>> Benjamin Ducke
>>>>>>>> Senior Applications Support and Development Officer
>>>>>>>>
>>>>>>>> Oxford Archaeology Ltd
>>>>>>>> Janus House
>>>>>>>> Osney Mead
>>>>>>>> OX2 0ES
>>>>>>>> Oxford, U.K.
>>>>>>>>
>>>>>>>> Tel: +44 (0)1865 263 800 (switchboard)
>>>>>>>> Tel: +44 (0)1865 980 758 (direct)
>>>>>>>> Fax :+44 (0)1865 793 496
>>>>>>>> benjamin.ducke at oxfordarch.co.uk
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>> ------
>>>>>>>> Files attached to this email may be in ISO 26300 format (OASIS
>>>>>>>> Open Document Format). If you have difficulty opening them,
>>>>>>>> please visit http://iso26300.info for more information.
>>>>>>>>
>>>>>>>> _______________________________________________
>>>>>>>> Gvsig_internacional mailing list
>>>>>>>> Gvsig_internacional at runas.cap.gva.es
>>>>>>>> http://runas.cap.gva.es/mailman/listinfo/gvsig_internacional
>>>>>>>>
>>>>>>> _______________________________________________
>>>>>>> Gvsig_internacional mailing list
>>>>>>> Gvsig_internacional at runas.cap.gva.es
>>>>>>> http://runas.cap.gva.es/mailman/listinfo/gvsig_internacional
>>>>>>
>>>>>>
>>>>>> --
>>>>>> Benjamin Ducke
>>>>>> Senior Applications Support and Development Officer
>>>>>>
>>>>>> Oxford Archaeology Ltd
>>>>>> Janus House
>>>>>> Osney Mead
>>>>>> OX2 0ES
>>>>>> Oxford, U.K.
>>>>>>
>>>>>> Tel: +44 (0)1865 263 800 (switchboard)
>>>>>> Tel: +44 (0)1865 980 758 (direct)
>>>>>> Fax :+44 (0)1865 793 496
>>>>>> benjamin.ducke at oxfordarch.co.uk
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>> ------
>>>>>> Files attached to this email may be in ISO 26300 format (OASIS
>>>>>> Open Document Format). If you have difficulty opening them, please
>>>>>> visit http://iso26300.info for more information.
>>>>>>
>>>>>> _______________________________________________
>>>>>> Gvsig_internacional mailing list
>>>>>> Gvsig_internacional at runas.cap.gva.es
>>>>>> http://runas.cap.gva.es/mailman/listinfo/gvsig_internacional
>>>>>
>>>>>
>>>>> _______________________________________________
>>>>> Gvsig_internacional mailing list
>>>>> Gvsig_internacional at runas.cap.gva.es
>>>>> http://runas.cap.gva.es/mailman/listinfo/gvsig_internacional
>>>>
>>>>
>>>> _______________________________________________
>>>> Gvsig_internacional mailing list
>>>> Gvsig_internacional at runas.cap.gva.es
>>>> http://runas.cap.gva.es/mailman/listinfo/gvsig_internacional
>>>>
>>>>
>>
>>
>> --
>> Benjamin Ducke
>> Senior Applications Support and Development Officer
>>
>> Oxford Archaeology Ltd
>> Janus House
>> Osney Mead
>> OX2 0ES
>> Oxford, U.K.
>>
>> Tel: +44 (0)1865 263 800 (switchboard)
>> Tel: +44 (0)1865 980 758 (direct)
>> Fax :+44 (0)1865 793 496
>> benjamin.ducke at oxfordarch.co.uk
>>
>>
>>
>>
>> ------
>> Files attached to this email may be in ISO 26300 format (OASIS Open
>> Document Format). If you have difficulty opening them, please visit
>> http://iso26300.info for more information.
>>
>> _______________________________________________
>> Gvsig_internacional mailing list
>> Gvsig_internacional at runas.cap.gva.es
>> http://runas.cap.gva.es/mailman/listinfo/gvsig_internacional
>
>
> _______________________________________________
> Gvsig_internacional mailing list
> Gvsig_internacional at runas.cap.gva.es
> http://runas.cap.gva.es/mailman/listinfo/gvsig_internacional
>
>
--
Benjamin Ducke
Senior Applications Support and Development Officer
Oxford Archaeology Ltd
Janus House
Osney Mead
OX2 0ES
Oxford, U.K.
Tel: +44 (0)1865 263 800 (switchboard)
Tel: +44 (0)1865 980 758 (direct)
Fax :+44 (0)1865 793 496
benjamin.ducke at oxfordarch.co.uk
------
Files attached to this email may be in ISO 26300 format (OASIS Open Document Format). If you have difficulty opening them, please visit http://iso26300.info for more information.
-------------- next part --------------
Oct 16, 2008 1:00:18 PM java.util.prefs.FileSystemPreferences$7 run
WARNING: Prefs file removed in background /Users/bartsimpson/.java/.userPrefs/_!'c!dg"z!'k!~w!u!':!bw"u!'4!~@"j!(@!a@"v!'4=/prefs.xml
WARN [AWT-EventQueue-1] (?:?) - Plugin es.unex.sextante -- Cannot find translation for Herramientas_SEXTANTE
WARN [AWT-EventQueue-1] (?:?) - Plugin es.unex.sextante -- Cannot find translation for Modelizador
WARN [AWT-EventQueue-1] (?:?) - Plugin es.unex.sextante -- Cannot find translation for Linea_comandos
WARN [AWT-EventQueue-1] (?:?) - Plugin es.unex.sextante -- Cannot find translation for Historial
WARN [AWT-EventQueue-1] (?:?) - Plugin es.unex.sextante -- Cannot find translation for Resultados
WARN [AWT-EventQueue-1] (?:?) - Plugin com.iver.core -- Cannot find translation for debe_estar_activada
WARN [AWT-EventQueue-1] (?:?) - Plugin com.iver.core -- Cannot find translation for debe_estar_activada
WARN [AWT-EventQueue-1] (?:?) - Plugin com.iver.cit.gvsig.geoprocess -- Cannot find translation for debería de estar activada
WARN [AWT-EventQueue-1] (?:?) - Plugin com.iver.cit.gvsig.graph -- Cannot find translation for shortestpath
WARN [AWT-EventQueue-1] (?:?) - Plugin com.iver.gvsig.datalocator -- Cannot find translation for debería de estar activada
WARN [AWT-EventQueue-1] (?:?) - Plugin com.iver.gvsig.centerviewpoint -- Cannot find translation for debería de estar activada
WARN [AWT-EventQueue-1] (?:?) - Plugin com.iver.gvsig.addeventtheme -- Cannot find translation for debería de estar activada
WARN [AWT-EventQueue-1] (?:?) - Menu without position assigned - Capa/export_to/GML - org.gvsig.gpe.GPEWriterExtension
WARN [AWT-EventQueue-1] (?:?) - Menu without position assigned - Capa/export_to/KML - org.gvsig.gpe.GPEWriterExtension
WARN [AWT-EventQueue-1] (?:?) - Menu without position assigned - Network/Create_Network - com.iver.cit.gvsig.graph.GenerateNetworkExtension
WARN [AWT-EventQueue-1] (?:?) - Menu without position assigned - Network/Load_Network - com.iver.cit.gvsig.graph.LoadNetworkExtension
WARN [AWT-EventQueue-1] (?:?) - Menu without position assigned - Network/Manage_Flags - com.iver.cit.gvsig.graph.ManageFlagsExtension
WARN [AWT-EventQueue-1] (?:?) - Menu without position assigned - Network/separator - com.iver.cit.gvsig.graph.ShortestPathExtension
WARN [AWT-EventQueue-1] (?:?) - Menu without position assigned - Network/Shortest_Path - com.iver.cit.gvsig.graph.ShortestPathExtension
WARN [AWT-EventQueue-1] (?:?) - Menu without position assigned - Network/separator - com.iver.cit.gvsig.graph.ClearRouteExtension
WARN [AWT-EventQueue-1] (?:?) - Menu without position assigned - Network/Clear/Clear_Routes - com.iver.cit.gvsig.graph.ClearRouteExtension
WARN [AWT-EventQueue-1] (?:?) - Menu without position assigned - Network/Clear/Clear_Flags - com.iver.cit.gvsig.graph.ClearFlagsExtension
WARN [AWT-EventQueue-1] (?:?) - Menu without position assigned - Network/Clear/Clear_Barriers - com.iver.cit.gvsig.graph.ClearBarriersExtension
WARN [AWT-EventQueue-1] (?:?) - Plugin org.gvsig.scripting -- Cannot find translation for script_sep
WARN [AWT-EventQueue-1] (?:?) - Plugin org.gvsig.gpe -- Cannot find translation for GML
WARN [AWT-EventQueue-1] (?:?) - Plugin org.gvsig.gpe -- Cannot find translation for GML
WARN [AWT-EventQueue-1] (?:?) - Plugin org.gvsig.gpe -- Cannot find translation for KML
WARN [AWT-EventQueue-1] (?:?) - Plugin org.gvsig.gpe -- Cannot find translation for KML
WARN [AWT-EventQueue-1] (?:?) - Plugin com.iver.cit.gvsig.graph -- Cannot find translation for Network
WARN [AWT-EventQueue-1] (?:?) - Plugin com.iver.cit.gvsig.graph -- Cannot find translation for Network
WARN [AWT-EventQueue-1] (?:?) - Plugin com.iver.cit.gvsig.graph -- Cannot find translation for Network
WARN [AWT-EventQueue-1] (?:?) - Plugin com.iver.cit.gvsig.graph -- Cannot find translation for Network
WARN [AWT-EventQueue-1] (?:?) - Plugin com.iver.cit.gvsig.graph -- Cannot find translation for Network
WARN [AWT-EventQueue-1] (?:?) - Plugin com.iver.cit.gvsig.graph -- Cannot find translation for Network
WARN [AWT-EventQueue-1] (?:?) - Plugin com.iver.cit.gvsig.graph -- Cannot find translation for Network
WARN [AWT-EventQueue-1] (?:?) - Plugin com.iver.cit.gvsig.graph -- Cannot find translation for Clear
WARN [AWT-EventQueue-1] (?:?) - Plugin com.iver.cit.gvsig.graph -- Cannot find translation for Network
WARN [AWT-EventQueue-1] (?:?) - Plugin com.iver.cit.gvsig.graph -- Cannot find translation for Clear
WARN [AWT-EventQueue-1] (?:?) - Plugin com.iver.cit.gvsig.graph -- Cannot find translation for Network
WARN [AWT-EventQueue-1] (?:?) - Plugin com.iver.cit.gvsig.graph -- Cannot find translation for Clear
DEBUG [AWT-EventQueue-1] (?:?) - Initializing extensions from com.iver.core
Loading com.iver.core.PreferencesExtension...
Loading com.iver.core.Consola...
INFO [AWT-EventQueue-1] (?:?) - Se añade un listener al manager de notificaciones
INFO [AWT-EventQueue-1] (?:?) - Se añade un listener al manager de notificaciones
Loading com.iver.core.StatusBar...
INFO [AWT-EventQueue-1] (?:?) - Se añade un listener al manager de notificaciones
DEBUG [AWT-EventQueue-1] (?:?) - Initializing extensions from com.iver.cit.gvsig
Loading com.iver.cit.gvsig.IntializeApplicationExtension...
INFO [AWT-EventQueue-1] (?:?) - gvSIG version: 1.1.2 (Build 1045)
INFO [AWT-EventQueue-1] (?:?) - gvSIG app exec path: /Users/bartsimpson/Desktop/gvSIG1.1.2.app/Contents/Resources/gvSIG/gvSIG 1.1.2 build 1045.app/Contents/Resources/Java
INFO [AWT-EventQueue-1] (?:?) - gvSIG user app home: /Users/bartsimpson/gvSIG/
INFO [AWT-EventQueue-1] (?:?) - gvSIG extension path: /Users/bartsimpson/Desktop/gvSIG1.1.2.app/Contents/Resources/gvSIG/gvSIG 1.1.2 build 1045.app/Contents/Resources/Java/gvSIG/extensiones
INFO [AWT-EventQueue-1] (?:?) - gvSIG locale language: en
INFO [AWT-EventQueue-1] (?:?) - OS name: Darwin
INFO [AWT-EventQueue-1] (?:?) - arch:i386
INFO [AWT-EventQueue-1] (?:?) - version:8.8.1
INFO [AWT-EventQueue-1] (?:?) - JAVA vendor: Sun Microsystems Inc.
INFO [AWT-EventQueue-1] (?:?) - version:1.6.0_03-p3
INFO [AWT-EventQueue-1] (?:?) - home: /Users/bartsimpson/Desktop/gvSIG1.1.2.app/Contents/Resources/gvSIG/gvSIG 1.1.2 build 1045.app/Contents/Resources/jre
Loading com.iver.cit.gvsig.MeasureExtension...
Loading com.iver.cit.gvsig.ViewControls...
Loading com.iver.cit.gvsig.ViewSelectionControls...
Loading com.iver.cit.gvsig.InfoToolExtension...
Loading com.iver.cit.gvsig.AddLayer...
Loading com.iver.cit.gvsig.CopyPasteExtension...
Loading com.iver.cit.gvsig.ProjectExtension...
DEBUG [AWT-EventQueue-1] (?:?) - La máquina virtual con la que se ejecuta gvSIG no tiene JAI instalado
java.lang.ClassNotFoundException: javax.media.jai.EnumeratedParameter
at com.iver.andami.plugins.PluginClassLoader.singleLoadClass(Unknown Source)
at com.iver.andami.plugins.PluginClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:169)
at com.iver.cit.gvsig.ProjectExtension.initialize(Unknown Source)
at com.iver.andami.Launcher.initializeExtensions(Unknown Source)
at com.iver.andami.Launcher.access$400(Unknown Source)
at com.iver.andami.Launcher$4.run(Unknown Source)
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:199)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:597)
at com.iver.andami.ui.AndamiEventQueue.dispatchEvent(Unknown Source)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:273)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:183)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:173)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:168)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:160)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:121)
WARN [AWT-EventQueue-1] (?:?) - Plugin com.iver.core -- Cannot find translation for Information console
WARN [AWT-EventQueue-1] (?:?) - Plugin com.iver.core -- Cannot find translation for Information console
WARN [AWT-EventQueue-1] (?:?) - Plugin com.iver.core -- Cannot find translation for Activate the window
DEBUG [AWT-EventQueue-1] (?:?) - Activando Information console
CmsRasterDriver: inicializando
WARN [AWT-EventQueue-1] (?:?) - org.cresques.ui Can't find bundle for base name org.cresques.translations.text_en, locale en_US
WARN [AWT-EventQueue-1] (?:?) - org.cresques.ui Can't find bundle for base name org.cresques.translations.text_en, locale en
WARN [AWT-EventQueue-1] (?:?) - org.cresques.ui Can't find bundle for base name org.cresques.translations.text, locale es
Write RASTER: extension 'tif' supported.
Write RASTER: extension 'jp2' supported.
Write RASTER: extension 'jpg' supported.
CmsRasterDriver: inicializandos OK
ERROR [AWT-EventQueue-1] (?:?) -
java.lang.NoClassDefFoundError: oracle/sql/Datum
at java.lang.Class.getDeclaredConstructors0(Native Method)
at java.lang.Class.privateGetDeclaredConstructors(Class.java:2389)
at java.lang.Class.getConstructor0(Class.java:2699)
at java.lang.Class.newInstance0(Class.java:326)
at java.lang.Class.newInstance(Class.java:308)
at com.hardcode.driverManager.DriverManager.loadDrivers(Unknown Source)
at com.iver.cit.gvsig.fmap.layers.LayerFactory.initializeDriverManager(Unknown Source)
at com.iver.cit.gvsig.fmap.layers.LayerFactory.setDriversPath(Unknown Source)
at com.iver.cit.gvsig.ProjectExtension.initialize(Unknown Source)
at com.iver.andami.Launcher.initializeExtensions(Unknown Source)
at com.iver.andami.Launcher.access$400(Unknown Source)
at com.iver.andami.Launcher$4.run(Unknown Source)
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:199)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:597)
at com.iver.andami.ui.AndamiEventQueue.dispatchEvent(Unknown Source)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:273)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:183)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:173)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:168)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:160)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:121)
Loading com.iver.cit.gvsig.ExtDB_Spatial...
Loading com.iver.cit.gvsig.SingleVectorialDBConnectionExtension...
Loading com.iver.cit.gvsig.About...
Loading com.iver.cit.gvsig.FFrameLegendExtension...
Loading com.iver.cit.gvsig.RestoreViewInfoExtension...
Loading com.iver.cit.gvsig.PaletteViewInfoExtension...
Loading com.iver.cit.gvsig.ThemeToAnnotationExtension...
Loading com.iver.cit.gvsig.Export...
Loading com.iver.cit.gvsig.PrintProperties...
Loading com.iver.cit.gvsig.PrintTable...
Loading com.iver.cit.gvsig.Print...
Loading com.iver.cit.gvsig.ShowTable...
Loading com.iver.cit.gvsig.RasterExtension...
Loading com.iver.cit.gvsig.ViewProjectWindow...
Loading com.iver.cit.gvsig.RemoveTableLink...
Loading com.iver.cit.gvsig.RemoveTableUnion...
Loading com.iver.cit.gvsig.FiltroExtension...
Loading com.iver.cit.gvsig.TableRowsOperations...
Loading com.iver.cit.gvsig.TableNumericFieldOperations...
Loading com.iver.cit.gvsig.TableFieldOperations...
Loading com.iver.cit.gvsig.TableEditPasteExtension...
Loading com.iver.cit.gvsig.TableEditCutExtension...
Loading com.iver.cit.gvsig.TableEditCopyExtension...
Loading com.iver.cit.gvsig.TableManageFields...
Loading com.iver.cit.gvsig.TableEditRemoveRowExtension...
Loading com.iver.cit.gvsig.TableEditInsertExtension...
Loading com.iver.cit.gvsig.TableEditStartExtension...
Loading com.iver.cit.gvsig.TableEditStopExtension...
Loading com.iver.cit.gvsig.UndoTableExtension...
Loading com.iver.cit.gvsig.RedoTableExtension...
Loading com.iver.cit.gvsig.TableOperations...
Loading com.iver.cit.gvsig.LayoutCommandStackExtension...
Loading com.iver.cit.gvsig.LayoutUndoExtension...
Loading com.iver.cit.gvsig.LayoutRedoExtension...
Loading com.iver.cit.gvsig.LayoutGraphicControls...
Loading com.iver.cit.gvsig.FFrameViewExtension...
Loading com.iver.cit.gvsig.LayoutInsertOverViewExtension...
Loading com.iver.cit.gvsig.LayoutInsertToolsExtension...
Loading com.iver.cit.gvsig.LayoutEditVertexExtension...
Loading com.iver.cit.gvsig.LayoutEditableControls...
Loading com.iver.cit.gvsig.LayoutControls...
Loading com.iver.cit.gvsig.ExportLayoutExtension...
Loading com.iver.cit.gvsig.LinkControls...
Loading com.iver.cit.gvsig.ClearSelectionExtension...
Loading com.iver.cit.gvsig.ZoomToSelectExtension...
Loading com.iver.cit.gvsig.ViewPropertiesExtension...
Loading com.iver.cit.gvsig.ZoomPrev...
DEBUG [AWT-EventQueue-1] (?:?) - Initializing extensions from com.iver.cit.gvsig.geoprocess
Loading com.iver.cit.gvsig.geoprocess.manager.GeoprocessManagerExtension...
DEBUG [AWT-EventQueue-1] (?:?) - Initializing extensions from com.iver.cit.gvsig.oracle_spatial
Loading es.prodevelop.cit.gvsig.jdbc_spatial.ExportOracleExtension...
ERROR [AWT-EventQueue-1] (?:?) - Unbale to instantiate ROWID (oracle jar missing?) : oracle.sql.ROWID
INFO [AWT-EventQueue-1] (?:?) - *-----------------------------------------------------------------------*
INFO [AWT-EventQueue-1] (?:?) - * Oracle library not found! *
INFO [AWT-EventQueue-1] (?:?) - * You need to place the Oracle JDBC library in gvSIG's main LIB folder. *
INFO [AWT-EventQueue-1] (?:?) - * Read the Oracle driver user manual for details. *
INFO [AWT-EventQueue-1] (?:?) - *-----------------------------------------------------------------------*
DEBUG [AWT-EventQueue-1] (?:?) - createOracleEpsgTable() -- fdsa = es.prodevelop.cit.gvsig.fmap.drivers.jdbc.oracle.OFileDataSourceAdapter at 1961a84
INITIALIZEFIELDS: FIELD ID
INITIALIZEFIELDS: FIELD EPSG
INITIALIZEFIELDS: FIELD ORACLE
INITIALIZEFIELDS: FIELD PRF_ORACLE
DEBUG [AWT-EventQueue-1] (?:?) - Initializing extensions from org.gvsig.crs
Loading org.gvsig.crs.JCrsExtension...
SPHEROID["WGS84", 6378137.0, 298.257223563]
ERROR [AWT-EventQueue-1] (?:?) - Cannot locate extension classorg.gvsig.crs.JCrsExtension
java.lang.NoClassDefFoundError: javax/media/jai/EnumeratedParameter
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClass(ClassLoader.java:620)
at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:124)
at java.net.URLClassLoader.defineClass(URLClassLoader.java:260)
at java.net.URLClassLoader.access$000(URLClassLoader.java:56)
at java.net.URLClassLoader$1.run(URLClassLoader.java:195)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
at com.iver.andami.plugins.PluginClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
at org.geotools.cs.WKTParser.parseDatum(WKTParser.java:312)
at org.geotools.cs.WKTParser.parseGeoGCS(WKTParser.java:500)
at org.geotools.cs.WKTParser.parseCoordinateSystem(WKTParser.java:596)
at org.geotools.cs.WKTParser.parseCoordinateSystem(WKTParser.java:637)
at org.geotools.cs.CoordinateSystemFactory.createFromWKT(CoordinateSystemFactory.java:734)
at org.cresques.cts.gt2.CSDatum.fromWKT(Unknown Source)
at org.cresques.cts.gt2.CSDatum.<init>(Unknown Source)
at org.cresques.cts.gt2.CSDatum.<clinit>(Unknown Source)
at org.cresques.cts.ProjectionPool.<clinit>(Unknown Source)
at com.iver.cit.gvsig.fmap.crs.CRSFactory.<clinit>(Unknown Source)
at org.gvsig.crs.JCrsExtension.initialize(Unknown Source)
at com.iver.andami.Launcher.initializeExtensions(Unknown Source)
at com.iver.andami.Launcher.access$400(Unknown Source)
at com.iver.andami.Launcher$4.run(Unknown Source)
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:199)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:597)
at com.iver.andami.ui.AndamiEventQueue.dispatchEvent(Unknown Source)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:273)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:183)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:173)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:168)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:160)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:121)
DEBUG [AWT-EventQueue-1] (?:?) - Initializing extensions from com.iver.cit.gvsig.annotation
Loading com.iver.cit.gvsig.Annotation_ToolExtension...
Loading com.iver.cit.gvsig.Annotation_Extension...
DEBUG [AWT-EventQueue-1] (?:?) - Initializing extensions from org.gvsig.rasterTools
Loading org.gvsig.rasterTools.exportToGeoRaster.ExportToGeoRasterExtension...
Loading org.gvsig.rasterTools.scaleManager.ScaleManagerModule...
Loading org.gvsig.rasterTools.saveRaster.SaveRasterModule...
Loading org.gvsig.rasterTools.pansharpening.PanSharpeningModule...
DEBUG [AWT-EventQueue-1] (?:?) - Initializing extensions from com.iver.cit.gvsig.jdbc_spatial
Loading com.iver.cit.gvsig.jdbc_spatial.ExtJDBC_Spatial...
Añado WizardJDBC.
DEBUG [AWT-EventQueue-1] (?:?) - Initializing extensions from com.iver.gvsig.datalocator
Loading com.iver.gvsig.datalocator.DataLocatorExtension...
DEBUG [AWT-EventQueue-1] (?:?) - Initializing extensions from com.iver.gvsig.addeventtheme
Loading com.iver.gvsig.addeventtheme.AddEventThemeExtension...
DEBUG [AWT-EventQueue-1] (?:?) - Initializing extensions from es.unex.sextante
Loading es.unex.sextante.gvsig.extensions.SextanteAboutExtension...
Loading es.unex.sextante.gvsig.extensions.SextanteAdditionalResultsExtension...
Loading es.unex.sextante.gvsig.extensions.SextanteCommandLineExtension...
Loading es.unex.sextante.gvsig.extensions.SextanteHistoryExtension...
Loading es.unex.sextante.gvsig.extensions.SextanteModelerExtension...
Loading es.unex.sextante.gvsig.extensions.SextanteToolboxExtension...
DEBUG [AWT-EventQueue-1] (?:?) - Initializing extensions from es.gva.cit.gvsig.catalogClient
Loading es.gva.cit.gvsig.gazetteer.GazetteerExtension...
Añado GazetteerModule
Loading es.gva.cit.gvsig.catalog.CatalogClientAboutExtension...
WARN [AWT-EventQueue-1] (?:?) - Cannot find translation for Catalog
Loading es.gva.cit.gvsig.catalog.CatalogClientExtension...
Añado CatalogClientModule
Loading es.gva.cit.gvsig.gazetteer.DeleteSearchesExtension...
DEBUG [AWT-EventQueue-1] (?:?) - Initializing extensions from com.iver.cit.gvsig.pilotoraster
Loading com.iver.cit.gvsig.pilotoraster.PilotoRasterModule...
Loading com.iver.cit.gvsig.pilotoraster.RasterAbout...
DEBUG [AWT-EventQueue-1] (?:?) - Initializing extensions from com.iver.cit.gvsig.wcs
Loading com.iver.cit.gvsig.wcs.WCSClientExtension...
DEBUG [AWT-EventQueue-1] (?:?) - Initializing extensions from org.gvsig.georeferencing
Loading org.gvsig.georeferencing.GeoreferencingModule...
Loading org.gvsig.georeferencing.GeoreferencingToolsModule...
DEBUG [AWT-EventQueue-1] (?:?) - Initializing extensions from es.prodevelop.cit.gvsig.arcims
Loading es.prodevelop.cit.gvsig.arcims.extension.ArcimsClientModule...
DEBUG [AWT-EventQueue-1] (?:?) - Initializing extensions from com.iver.cit.gvsig.dwg
DEBUG [AWT-EventQueue-1] (?:?) - Initializing extensions from com.iver.cit.gvsig.geoprocessextensions
Loading com.iver.cit.gvsig.geoprocess.impl.RegisterGeoprocessExtension...
DEBUG [AWT-EventQueue-1] (?:?) - Initializing extensions from org.gvsig.scripting
Loading org.gvsig.scripting.ScriptingExtension...
DEBUG [AWT-EventQueue-1] (?:?) - Initializing extensions from org.gvsig.gpe
Loading org.gvsig.gpe.GPEReaderExtension...
Loading org.gvsig.gpe.AboutGPEExtension...
Loading org.gvsig.gpe.GPEWriterExtension...
DEBUG [AWT-EventQueue-1] (?:?) - Initializing extensions from com.iver.gvsig.centerviewpoint
Loading com.iver.gvsig.centerviewpoint.CenterViewToPointExtension...
DEBUG [AWT-EventQueue-1] (?:?) - Initializing extensions from com.iver.cit.gvsig.wms
Loading com.iver.cit.gvsig.wmc.ImportWebMapContextExtension...
Loading com.iver.cit.gvsig.wmc.ExportWebMapContextExtension...
Loading com.iver.cit.gvsig.wms.WMSClientExtension...
DEBUG [AWT-EventQueue-1] (?:?) - Initializing extensions from com.iver.cit.gvsig.cad
Loading com.iver.cit.gvsig.SelectionGeometryExtension...
Loading com.iver.cit.gvsig.ComplexSelectionGeometryExtension...
Loading com.iver.cit.gvsig.InternalPolygonExtension...
Loading com.iver.cit.gvsig.InsertPolygonExtension...
Loading com.iver.cit.gvsig.InsertPolyLineExtension...
Loading com.iver.cit.gvsig.InsertLineExtension...
Loading com.iver.cit.gvsig.InsertMultiPointExtension...
Loading com.iver.cit.gvsig.InsertPointExtension...
Loading com.iver.cit.gvsig.MoveGeometryExtension...
Loading com.iver.cit.gvsig.CADExtension...
Loading com.iver.cit.gvsig.TableCommandStackExtension...
Loading com.iver.cit.gvsig.ViewCommandStackExtension...
Loading com.iver.cit.gvsig.UndoViewExtension...
Loading com.iver.cit.gvsig.RedoViewExtension...
Loading com.iver.cit.gvsig.ExportTo...
Loading com.iver.cit.gvsig.StopEditing...
Loading com.iver.cit.gvsig.StartEditing...
Loading com.iver.cit.gvsig.CreateNewLayer...
DEBUG [AWT-EventQueue-1] (?:?) - Initializing extensions from com.iver.cit.gvsig.graph
Loading com.iver.cit.gvsig.AboutGraphExtension...
Loading com.iver.cit.gvsig.topology.lineclean.RegisterGeoprocessPlugin...
Loading com.iver.cit.gvsig.graph.NetworkAddFlag...
Loading com.iver.cit.gvsig.graph.ClearBarriersExtension...
Loading com.iver.cit.gvsig.graph.ClearFlagsExtension...
Loading com.iver.cit.gvsig.graph.ClearRouteExtension...
Loading com.iver.cit.gvsig.graph.ShortestPathExtension...
Loading com.iver.cit.gvsig.graph.ManageFlagsExtension...
Loading com.iver.cit.gvsig.graph.LoadNetworkExtension...
Loading com.iver.cit.gvsig.graph.GenerateNetworkExtension...
DEBUG [AWT-EventQueue-1] (?:?) - Initializing extensions from com.iver.cit.gvsig.wfs2
Loading com.iver.cit.gvsig.wfs.WFSClientExtension...
Añado Wizard WFS2.
DEBUG [AWT-EventQueue-1] (?:?) - Initializing extensions from com.iver.gvsig.expresionfield
Loading com.iver.cit.gvsig.ExpresionFieldExtension...
ERROR [main] (?:?) - excepción al arrancar
java.lang.reflect.InvocationTargetException
at java.awt.EventQueue.invokeAndWait(EventQueue.java:997)
at javax.swing.SwingUtilities.invokeAndWait(SwingUtilities.java:1323)
at com.iver.andami.Launcher.main(Unknown Source)
Caused by: java.lang.NoClassDefFoundError: Could not initialize class com.iver.cit.gvsig.fmap.crs.CRSFactory
at com.iver.cit.gvsig.project.Project.<clinit>(Unknown Source)
at com.iver.cit.gvsig.project.ProjectFactory.createProject(Unknown Source)
at com.iver.cit.gvsig.ProjectExtension.loadInitialProject(Unknown Source)
at com.iver.cit.gvsig.ProjectExtension.postInitialize(Unknown Source)
at com.iver.andami.Launcher.postInitializeExtensions(Unknown Source)
at com.iver.andami.Launcher.access$600(Unknown Source)
at com.iver.andami.Launcher$4.run(Unknown Source)
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:199)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:597)
at com.iver.andami.ui.AndamiEventQueue.dispatchEvent(Unknown Source)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:273)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:183)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:173)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:168)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:160)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:121)
More information about the Gvsig_internacional
mailing list