Salut, j'ai essayé de convertir une base 2.0 en 2.1 sur la station linux (ça y est elle est déplantée). A première vue tout s'est bien passé sauf qu'après il est impossible de sauver la base. Ci joint le message d'erreur. A+ Hilaire -- Hilaire Drouineau IFREMER, département EMH Centre de Nantes - BP 21105 - 44311 Nantes Cedex 3 tel : +33 (0)2 40 37 43 06 - fax : +33 (0)2 40 37 40 75 email : hilaire.drouineau@ifremer.fr - web : http://www.ifremer.fr ***************************************************************** 13 mars 2006 09:44:02 org.codelutin.math.matrix.MatrixFactory <clinit> INFO: Converter XML pour MatrixND ajoute 13 mars 2006 09:44:02 org.codelutin.math.matrix.MatrixFactory <clinit> INFO: librairie topia non presente. Import/Export JDBC impossible Demarrage de l'application... 2.1.1 Variable d'environnement: {java.runtime.name=Java(TM) 2 Runtime Environment, Standard Edition, sun.boot.library.path=/var/jre1.5.0_03/lib/amd64, java.vm.version=1.5.0_03-b07, java.vm.vendor=Sun Microsystems Inc., java.vendor.url=http://java.sun.com/, path.separator=:, java.vm.name=Java HotSpot(TM) 64-Bit Server VM, file.encoding.pkg=sun.io, user.country=FR, sun.os.patch.level=unknown, java.vm.specification.name=Java Virtual Machine Specification, user.dir=/export/home/logiciels/simulateur, java.runtime.version=1.5.0_03-b07, java.awt.graphicsenv=sun.awt.X11GraphicsEnvironment, java.endorsed.dirs=/var/jre1.5.0_03/lib/endorsed, os.arch=amd64, java.io.tmpdir=/tmp, line.separator= , java.vm.specification.vendor=Sun Microsystems Inc., os.name=Linux, sun.jnu.encoding=UTF-8, java.library.path=/var/jre1.5.0_03/lib/amd64/server:/var/jre1.5.0_03/lib/amd64:/var/jre1.5.0_03/../lib/amd64, java.specification.name=Java Platform API Specification, java.class.version=49.0, sun.management.compiler=HotSpot 64-Bit Server Compiler, fr.ifremer.simulation.SiMatrice2.loopOverAllMetier=false, os.version=2.6.11-1.27_FC3smp, OptimizationCache=ShiftOne, user.home=/home/naomie/maerha/hdrouine, user.timezone=Europe/Paris, java.awt.printerjob=sun.print.PSPrinterJob, file.encoding=UTF-8, java.specification.version=1.5, java.class.path=//export/home/logiciels/simulateur/ifremer-simulateur-all.jar, user.name=hdrouine, java.vm.specification.version=1.0, java.home=/var/jre1.5.0_03, sun.arch.data.model=64, user.language=fr, java.specification.vendor=Sun Microsystems Inc., java.vm.info=mixed mode, java.version=1.5.0_03, java.ext.dirs=/var/jre1.5.0_03/lib/ext, sun.boot.class.path=/var/jre1.5.0_03/lib/rt.jar:/var/jre1.5.0_03/lib/i18n.jar:/var/jre1.5.0_03/lib/sunrsasign.jar:/var/jre1.5.0_03/lib/jsse.jar:/var/jre1.5.0_03/lib/jce.jar:/var/jre1.5.0_03/lib/charsets.jar:/var/jre1.5.0_03/classes, java.vendor=Sun Microsystems Inc., file.separator=/, java.vendor.url.bug=http://java.sun.com/cgi-bin/bugreport.cgi, sun.io.unicode.encoding=UnicodeLittle, sun.cpu.endian=little, sun.desktop=gnome, CallAnalyse=true, sun.cpu.isalist=} Option de lancement: [] Fichier de config: /home/naomie/maerha/hdrouine/.isis-config-2 13 mars 2006 09:44:03 org.codelutin.i18n.Language <init> INFO: Langue file URL:jar:file:/export/home/logiciels/simulateur/ifremer-simulateur-all.jar!/language-fr_FR.properties Opening conglomerate. Version 1.4 found. Version of data files is current. -- Convert Successful -- Base de donnees: ok % Storage System: v1 file storage mode. % Internal Data Cache size: 4194304 % Internal Data Cache max cell size: 8192 % lookup_comparison_list = false % read_only = false % transaction_error_on_dirty_select = true % ignore_case_for_identifiers = false % Java NIO API is available. % io_safety_level = 10 % Using stardard IO API for heap buffered file access. % [Buffer Manager] Using IO API: Java IO % [Buffer Manager] Page Size: 8192 % [Buffer Manager] Max pages: 256 % Using Java regex API. % No 'function_factories' config property found. % statement_cache = true % Max worker threads set to: 4 % Starting Database Server DBManager database exist ? true org.codelutin.resources.ResourceNotFoundException: La resource sql_mckoi.filter n'a pas été trouvée org.codelutin.resources.ResourceNotFoundException: La resource sql.filter n'a pas été trouvée % Storage System: v1 file storage mode. % Internal Data Cache size: 4194304 % Internal Data Cache max cell size: 8192 % lookup_comparison_list = false % read_only = false % transaction_error_on_dirty_select = true % ignore_case_for_identifiers = false % Java NIO API is available. % io_safety_level = 10 % Using stardard IO API for heap buffered file access. % [Buffer Manager] Using IO API: Java IO % [Buffer Manager] Page Size: 8192 % [Buffer Manager] Max pages: 256 % Using Java regex API. % No 'function_factories' config property found. % statement_cache = true % Max worker threads set to: 4 % Starting Database Server % Storage System: v1 file storage mode. % Internal Data Cache size: 4194304 % Internal Data Cache max cell size: 8192 % lookup_comparison_list = false % read_only = false % transaction_error_on_dirty_select = true % ignore_case_for_identifiers = false % Java NIO API is available. % io_safety_level = 10 % Using stardard IO API for heap buffered file access. % [Buffer Manager] Using IO API: Java IO % [Buffer Manager] Page Size: 8192 % [Buffer Manager] Max pages: 256 % Using Java regex API. % No 'function_factories' config property found. % statement_cache = true % Max worker threads set to: 4 % Starting Database Server 13 mars 2006 09:44:20 org.codelutin.util.Resource getURLs INFO: search URLs pattern: .*?fr.ifremer.db.conversion.isis-fish-2.0_.*.xsl$ in [file:/export/home/logiciels/simulateur/ifremer-simulateur-all.jar] 13 mars 2006 09:44:20 org.codelutin.util.Resource getURLsFromJar INFO: search '.*?fr.ifremer.db.conversion.isis-fish-2.0_.*.xsl$' in /export/home/logiciels/simulateur/ifremer-simulateur-all.jar 13 mars 2006 09:44:23 org.codelutin.util.Resource getURLsFromJar INFO: found with pattern '.*?fr.ifremer.db.conversion.isis-fish-2.0_.*.xsl$' : [jar:file:/export/home/logiciels/simulateur/ifremer-simulateur-all.jar!/fr/ifremer/db/conversion/isis-fish-2.0_2.1.xsl] getXSLFile:2.1=2.1 result:[jar:file:/export/home/logiciels/simulateur/ifremer-simulateur-all.jar!/fr/ifremer/db/conversion/isis-fish-2.0_2.1.xsl] 13 mars 2006 09:44:23 fr.ifremer.IsisDBManager convert INFO: /tmp/dbobject-tmp-export-convert58855.xml encoding ISO8859_1 13 mars 2006 09:44:23 fr.ifremer.IsisDBManager convert INFO: /tmp/isis-tmp-dbconvert58856xml encoding ISO8859_1 % Dropped: 024APP_dbobject_description_mapping % Dropped: 023APP_dbobject_description_attribute % Dropped: 022APP_dbobject_description_class % Dropped: 057APP_VesselTypepossibleTripTypes % Dropped: 048APP_SecteurSimplemaille % Dropped: 060APP_StrategyMonthInfopropStrMet % Dropped: 046APP_MetaSecteursecteur % Dropped: 028APP_MappingZoneReproZoneRecru % Dropped: 030APP_Engin % Dropped: 039APP_Metier % Dropped: 056APP_TripType % Dropped: 051APP_Simulation % Dropped: 047APP_MetaSecteur % Dropped: 059APP_Strategy % Dropped: 034APP_Immigration % Dropped: 061APP_StrategyMonthInfo % Dropped: 049APP_SecteurSimple % Dropped: 052APP_ScriptMethod % Dropped: 044APP_RegleGestion % Dropped: 042APP_PropChangeFlo % Dropped: 032APP_Flotille % Dropped: 033APP_Formule % Dropped: 025APP_ScriptObject % Dropped: 031APP_EspecesCapturables % Dropped: 036APP_InfoSaisonPop % Dropped: 040APP_Migration % Dropped: 055APP_SetOfVessels % Dropped: 045APP_Secteur % Dropped: 043APP_Region % Dropped: 062APP_PropStrMet % Dropped: 026APP_Capturabilite % Dropped: 041APP_Population % Dropped: 050APP_Selectivite % Dropped: 027APP_ClassePopulation % Dropped: 037APP_Maille % Dropped: 054APP_Port % Dropped: 038APP_MetaPopulation % Dropped: 058APP_VesselType % Dropped: 035APP_InfoSaisonMetier % Dropped: 053APP_EffortDescription % Dropped: 029APP_Emigration OpenMap(tm) Version 4.5.4 Copyright (C) BBNT Solutions LLC. All rights reserved. See http://openmap.bbn.com/ for details. java.lang.reflect.InvocationTargetException at sun.reflect.GeneratedMethodAccessor9.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at org.codelutin.sql.ResultSetHandler.invoke(ResultSetHandler.java:87) at $Proxy0.getFloat(Unknown Source) at org.codelutin.dbobject.DBObjectTypeDefault$TypeFloat.dbToXml(DBObjectTypeDefault.java:99) at org.codelutin.dbobject.DBAttribute.getXml(DBAttribute.java:110) at org.codelutin.dbobject.DBAttribute.toXml(DBAttribute.java:155) at org.codelutin.dbobject.DBClass.attributeToXml(DBClass.java:123) at org.codelutin.dbobject.DBClass.toXml(DBClass.java:109) at org.codelutin.dbobject.DBManager.exportXMLOneTable(DBManager.java:1118) at org.codelutin.dbobject.DBManager.exportXML(DBManager.java:1094) at org.codelutin.dbobject.DBManager.exportXML(DBManager.java:1064) at fr.ifremer.ExportChoice.on_ok(ExportChoice.java:94) at fr.ifremer.ExportUI$3.mouseClicked(ExportUI.java:333) at java.awt.AWTEventMulticaster.mouseClicked(Unknown Source) at java.awt.Component.processMouseEvent(Unknown Source) at javax.swing.JComponent.processMouseEvent(Unknown Source) at java.awt.Component.processEvent(Unknown Source) at java.awt.Container.processEvent(Unknown Source) at java.awt.Component.dispatchEventImpl(Unknown Source) at java.awt.Container.dispatchEventImpl(Unknown Source) at java.awt.Component.dispatchEvent(Unknown Source) at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source) at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source) at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source) at java.awt.Container.dispatchEventImpl(Unknown Source) at java.awt.Window.dispatchEventImpl(Unknown Source) at java.awt.Component.dispatchEvent(Unknown Source) at java.awt.EventQueue.dispatchEvent(Unknown Source) at java.awt.EventDispatchThread.pumpOneEventForHierarchy(Unknown Source) at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source) at java.awt.EventDispatchThread.pumpEvents(Unknown Source) at java.awt.EventDispatchThread.pumpEvents(Unknown Source) at java.awt.EventDispatchThread.run(Unknown Source) Caused by: java.sql.SQLException: Couldn't find column with name: mortaliteNaturelle at com.mckoi.database.jdbc.MResultSet.findColumnIndex(MResultSet.java:563) at com.mckoi.database.jdbc.MResultSet.getFloat(MResultSet.java:1033) ... 35 more 13 mars 2006 09:46:21 fr.ifremer.ExportChoice on_ok ATTENTION: Erreur lors de l'export de la base: org.codelutin.dbobject.DBManagerException: Erreur lors de la conversion des données de la base en XML: class=ClassePopulation attribute name=mortaliteNaturelle type=float cardinalite=1 link= at org.codelutin.dbobject.DBAttribute.getXml(DBAttribute.java:112) at org.codelutin.dbobject.DBAttribute.toXml(DBAttribute.java:155) at org.codelutin.dbobject.DBClass.attributeToXml(DBClass.java:123) at org.codelutin.dbobject.DBClass.toXml(DBClass.java:109) at org.codelutin.dbobject.DBManager.exportXMLOneTable(DBManager.java:1118) at org.codelutin.dbobject.DBManager.exportXML(DBManager.java:1094) at org.codelutin.dbobject.DBManager.exportXML(DBManager.java:1064) at fr.ifremer.ExportChoice.on_ok(ExportChoice.java:94) at fr.ifremer.ExportUI$3.mouseClicked(ExportUI.java:333) at java.awt.AWTEventMulticaster.mouseClicked(Unknown Source) at java.awt.Component.processMouseEvent(Unknown Source) at javax.swing.JComponent.processMouseEvent(Unknown Source) at java.awt.Component.processEvent(Unknown Source) at java.awt.Container.processEvent(Unknown Source) at java.awt.Component.dispatchEventImpl(Unknown Source) at java.awt.Container.dispatchEventImpl(Unknown Source) at java.awt.Component.dispatchEvent(Unknown Source) at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source) at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source) at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source) at java.awt.Container.dispatchEventImpl(Unknown Source) at java.awt.Window.dispatchEventImpl(Unknown Source) at java.awt.Component.dispatchEvent(Unknown Source) at java.awt.EventQueue.dispatchEvent(Unknown Source) at java.awt.EventDispatchThread.pumpOneEventForHierarchy(Unknown Source) at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source) at java.awt.EventDispatchThread.pumpEvents(Unknown Source) at java.awt.EventDispatchThread.pumpEvents(Unknown Source) at java.awt.EventDispatchThread.run(Unknown Source) Caused by: java.lang.NullPointerException at $Proxy0.getFloat(Unknown Source) at org.codelutin.dbobject.DBObjectTypeDefault$TypeFloat.dbToXml(DBObjectTypeDefault.java:99) at org.codelutin.dbobject.DBAttribute.getXml(DBAttribute.java:110) ... 28 more
On Mon, 13 Mar 2006 10:18:55 +0100 Hilaire DROUINEAU <Hilaire.Drouineau@ifremer.fr> wrote:
Salut, j'ai essayé de convertir une base 2.0 en 2.1 sur la station linux (ça y est elle est déplantée). A première vue tout s'est bien passé sauf qu'après il est impossible de sauver la base. Ci joint le message d'erreur.
Oui, en fait il faut effacer le repertoire de base avant de lancer la version 2.1. Sinon il a le schema de l'ancienne base avec les nouvelles tables :( et du coup il arrive plus a ce retrouver :(. Donc si tu effaces tout repertoire, tu lances isis, tu charges ton fichier, tu sauves ca devrait etre bon. -- Benjamin -------------------- tél: +33 (0) 2 40 50 29 28 email: poussin@codelutin.com () campagne du ruban ascii http://www.codelutin.com /\ pour les mails en ascii
bonne pioche. Ca marche impeccable! Je pense demander à Oliviezr de passer tous les ordinateurs du labo en Linux mais je suis pas sur d'avoir du succès... A+ Hilaire Benjamin POUSSIN a écrit:
On Mon, 13 Mar 2006 10:18:55 +0100 Hilaire DROUINEAU <Hilaire.Drouineau@ifremer.fr> wrote:
Salut, j'ai essayé de convertir une base 2.0 en 2.1 sur la station linux (ça y est elle est déplantée). A première vue tout s'est bien passé sauf qu'après il est impossible de sauver la base. Ci joint le message d'erreur.
Oui, en fait il faut effacer le repertoire de base avant de lancer la version 2.1. Sinon il a le schema de l'ancienne base avec les nouvelles tables :( et du coup il arrive plus a ce retrouver :(.
Donc si tu effaces tout repertoire, tu lances isis, tu charges ton fichier, tu sauves ca devrait etre bon.
-- Benjamin -------------------- tél: +33 (0) 2 40 50 29 28 email: poussin@codelutin.com () campagne du ruban ascii http://www.codelutin.com /\ pour les mails en ascii
------------------------------------------------------------------------
_______________________________________________ Isis-fish-devel mailing list Isis-fish-devel@lists.labs.libre-entreprise.org http://lists.labs.libre-entreprise.org/mailman/listinfo/isis-fish-devel
-- Hilaire Drouineau IFREMER, département EMH Centre de Nantes - BP 21105 - 44311 Nantes Cedex 3 tel : +33 (0)2 40 37 43 06 - fax : +33 (0)2 40 37 40 75 email : hilaire.drouineau@ifremer.fr - web : http://www.ifremer.fr *****************************************************************
participants (2)
-
Benjamin POUSSIN -
Hilaire DROUINEAU