IdentifiantMot de passe
Loading...
Mot de passe oublié ?Je m'inscris ! (gratuit)
Navigation

Inscrivez-vous gratuitement
pour pouvoir participer, suivre les réponses en temps réel, voter pour les messages, poser vos propres questions et recevoir la newsletter

Langage Java Discussion :

Problème d'impression composant graphique Cadviewer avec Oracle Forms via Vbean


Sujet :

Langage Java

  1. #1
    Membre actif
    Profil pro
    Inscrit en
    Avril 2004
    Messages
    422
    Détails du profil
    Informations personnelles :
    Localisation : Belgique

    Informations forums :
    Inscription : Avril 2004
    Messages : 422
    Points : 201
    Points
    201
    Par défaut Problème d'impression composant graphique Cadviewer avec Oracle Forms via Vbean
    Hello à tous,

    Je suis développeur Oracle Forms. J'appelle à l'aide à la communauté java.

    J'intègre un composant réutilisable dans une applic oracle forms un composant java( cadviewer : demo de cadviewer http://www.cadviewer.com/cv-pro/CADViewer.html ) qui me permet d'afficher des plans dwf. Lorsque j'appuie sur la toolbar print via mon applic forms je reçois le message suivant dans ma console java.

    Je suis paumé, quelqu'un pourrait m'aider à comprendre mon problème ?
    Quel est la solution ?

    merci

    Erreur dans ma console java

    Code : Sélectionner tout - Visualiser dans une fenêtre à part
    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    13
    14
    15
    16
    17
    18
    19
    20
    21
    22
    23
    24
    25
    26
    27
    28
    29
    30
    31
    32
    33
    34
    35
    36
    37
    38
    39
    40
    41
    42
    43
    44
    45
    46
    47
    48
    49
    50
    51
    52
    53
    54
    55
    56
    57
    58
    59
    60
    61
    62
    63
    64
    65
    66
    67
    68
    69
    70
    71
    72
    73
    74
    75
    76
    77
    78
    79
    80
    81
    82
    83
    84
    85
    86
    87
    88
    89
    90
    91
    92
    93
    94
    95
    96
    97
    98
    99
    100
    101
    102
    103
    104
    105
    106
    107
    108
    109
    110
    111
    112
    113
    114
    115
    116
    117
    118
    119
    120
    121
    122
    123
    124
    125
    126
    127
    128
    129
    130
    131
    132
    133
    134
    135
    136
    137
    138
    139
    140
    141
    142
    143
    144
    145
    146
    147
    148
    149
    150
    151
    152
    153
    154
    155
    156
    157
    158
    159
    160
    161
    162
    163
    164
    165
    166
    167
    168
    169
    170
    171
    172
    173
    174
    175
    176
    177
    178
    179
    180
    181
    182
    183
    184
    185
    186
    187
    188
    189
    190
    191
    192
    193
    194
    195
    196
    197
    198
    199
    200
    201
    202
    203
    204
    205
    206
     
    Oracle JInitiator: Version 1.3.1.22
    Using JRE version 1.3.1.22-internal Java HotSpot(TM) Client VM
    User home directory = D:\documents and settings\OFV7600
     
    ----------------------------------------------------
    c:   clear console window
    f:   finalize objects on finalization queue
    g:   garbage collect
    h:   display this help message
    l:   dump classloader list
    m:   print memory usage
    q:   hide console
    s:   dump system properties
    t:   dump thread list
    x:   clear classloader cache
    0-5: set trace level to <n>
    ----------------------------------------------------
     
    printinstaller 2 tempdir=null urlSource=file:d:/DOCUME~1/OFV7600/LOCALS~1/Temp/
     
     IsApplication branch
     
    Copying file:d:/DOCUME~1/OFV7600/LOCALS~1/Temp/WPrint.class to d:\DOCUME~1\OFV7600\LOCALS~1\Temp\tms36574.tmsWPrint09182006.dll . . .  
     
    in loadLibrary dllDest = d:\DOCUME~1\OFV7600\LOCALS~1\Temp\tms36574.tmsWPrint09182006.dll
     
    ERROR:  Can't load library!!!
     
    java.lang.UnsatisfiedLinkError: Can't load library: d:\DOCUME~1\OFV7600\LOCALS~1\Temp\tms36574.tmsWPrint09182006.dll
     
    	at java.lang.ClassLoader.loadLibrary(Unknown Source)
     
    	at java.lang.Runtime.load0(Unknown Source)
     
    	at java.lang.System.load(Unknown Source)
     
    	at com.cadviewer.PrintInstaller.loadLibrary(PrintInstaller.java:134)
     
    	at com.cadviewer.PrintManager.printJNI(PrintManager.java:1125)
     
    	at com.cadviewer.PrintManager.action(PrintManager.java:654)
     
    	at java.awt.Component.handleEvent(Unknown Source)
     
    	at com.cadviewer.PrintManager.handleEvent(PrintManager.java:428)
     
    	at java.awt.Window.postEvent(Unknown Source)
     
    	at java.awt.Component.postEvent(Unknown Source)
     
    	at java.awt.Component.postEvent(Unknown Source)
     
    	at java.awt.Component.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.run(Unknown Source)
     
    Load library done: Creating instance of JNI wrapper class from hard drive
     
    inprintJNI after loadLibrary
     
    first in nativePrintdialogWin32()
     
    after GetPrintDialogInfo
     
    java.lang.UnsatisfiedLinkError: no WPrint111 in java.library.path
     
    	at java.lang.ClassLoader.loadLibrary(Unknown Source)
     
    	at java.lang.Runtime.loadLibrary0(Unknown Source)
     
    	at java.lang.System.loadLibrary(Unknown Source)
     
    	at com.cadviewer.PrintManager.nativePrintdialogWin32(PrintManager.java:1246)
     
    	at com.cadviewer.PrintManager.printJNI(PrintManager.java:1131)
     
    	at com.cadviewer.PrintManager.action(PrintManager.java:654)
     
    	at java.awt.Component.handleEvent(Unknown Source)
     
    	at com.cadviewer.PrintManager.handleEvent(PrintManager.java:428)
     
    	at java.awt.Window.postEvent(Unknown Source)
     
    	at java.awt.Component.postEvent(Unknown Source)
     
    	at java.awt.Component.postEvent(Unknown Source)
     
    	at java.awt.Component.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.run(Unknown Source)
     
    printinstaller 2 tempdir=null urlSource=file:d:/DOCUME~1/OFV7600/LOCALS~1/Temp/
     
     IsApplication branch
     
    Copying file:d:/DOCUME~1/OFV7600/LOCALS~1/Temp/WPrint.class to d:\DOCUME~1\OFV7600\LOCALS~1\Temp\tms36575.tmsWPrint09182006.dll . . .  
     
    in loadLibrary dllDest = d:\DOCUME~1\OFV7600\LOCALS~1\Temp\tms36575.tmsWPrint09182006.dll
     
    ERROR:  Can't load library!!!
     
    java.lang.UnsatisfiedLinkError: Can't load library: d:\DOCUME~1\OFV7600\LOCALS~1\Temp\tms36575.tmsWPrint09182006.dll
     
    	at java.lang.ClassLoader.loadLibrary(Unknown Source)
     
    	at java.lang.Runtime.load0(Unknown Source)
     
    	at java.lang.System.load(Unknown Source)
     
    	at com.cadviewer.PrintInstaller.loadLibrary(PrintInstaller.java:134)
     
    	at com.cadviewer.PrintManager.printJNI(PrintManager.java:1125)
     
    	at com.cadviewer.PrintManager.action(PrintManager.java:654)
     
    	at java.awt.Component.handleEvent(Unknown Source)
     
    	at com.cadviewer.PrintManager.handleEvent(PrintManager.java:428)
     
    	at java.awt.Window.postEvent(Unknown Source)
     
    	at java.awt.Component.postEvent(Unknown Source)
     
    	at java.awt.Component.postEvent(Unknown Source)
     
    	at java.awt.Component.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.run(Unknown Source)
     
    Load library done: Creating instance of JNI wrapper class from hard drive
     
    inprintJNI after loadLibrary
     
    first in nativePrintdialogWin32()
     
    after GetPrintDialogInfo
     
    java.lang.UnsatisfiedLinkError: no WPrint111 in java.library.path
     
    	at java.lang.ClassLoader.loadLibrary(Unknown Source)
     
    	at java.lang.Runtime.loadLibrary0(Unknown Source)
     
    	at java.lang.System.loadLibrary(Unknown Source)
     
    	at com.cadviewer.PrintManager.nativePrintdialogWin32(PrintManager.java:1246)
     
    	at com.cadviewer.PrintManager.printJNI(PrintManager.java:1131)
     
    	at com.cadviewer.PrintManager.action(PrintManager.java:654)
     
    	at java.awt.Component.handleEvent(Unknown Source)
     
    	at com.cadviewer.PrintManager.handleEvent(PrintManager.java:428)
     
    	at java.awt.Window.postEvent(Unknown Source)
     
    	at java.awt.Component.postEvent(Unknown Source)
     
    	at java.awt.Component.postEvent(Unknown Source)
     
    	at java.awt.Component.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.run(Unknown Source)
    Merci

  2. #2
    Membre averti
    Inscrit en
    Juin 2003
    Messages
    292
    Détails du profil
    Informations forums :
    Inscription : Juin 2003
    Messages : 292
    Points : 317
    Points
    317
    Par défaut
    Salut,
    d apres ton message d erruer ton cadviewer n arrive pas a charger la library
    Code : Sélectionner tout - Visualiser dans une fenêtre à part
    1
    2
     
    java.lang.UnsatisfiedLinkError: Can't load library: d:\DOCUME~1\OFV7600\LOCALS~1\Temp\tms36574.tmsWPrint09182006.dll
    essaye de changer ton appel, load
    Code : Sélectionner tout - Visualiser dans une fenêtre à part
    1
    2
     
    System.loadLibrary("tms36574.tmsWPrint09182006");
    c est juste un hypothese mais a vrai dire je n ai aucune idee sur cadviewer ou oracls forms

    Cheers,

  3. #3
    Membre actif
    Profil pro
    Inscrit en
    Avril 2004
    Messages
    422
    Détails du profil
    Informations personnelles :
    Localisation : Belgique

    Informations forums :
    Inscription : Avril 2004
    Messages : 422
    Points : 201
    Points
    201
    Par défaut
    J'ai un soucis.

    C'est le composant qui prend la main de l'impression.
    Je n'ai pas le code source du composant.

    A mois de faire appel à cela au début de l'initialisation du programme java ?

    Je fais quoi.

Discussions similaires

  1. Problème affichage image stockée sur disque avec oracle XE
    Par thriller86 dans le forum Débuter
    Réponses: 6
    Dernier message: 13/06/2008, 13h29
  2. [Forms]Problème d'utilisation d'un bean avec Oracle
    Par Yakurena dans le forum Forms
    Réponses: 1
    Dernier message: 10/11/2006, 09h18
  3. [Forms]Problème de fusion avec oracle forms 6i
    Par Sabact dans le forum Forms
    Réponses: 2
    Dernier message: 25/10/2006, 07h50
  4. Réponses: 6
    Dernier message: 17/05/2006, 21h02
  5. Réponses: 16
    Dernier message: 17/03/2005, 13h54

Partager

Partager
  • Envoyer la discussion sur Viadeo
  • Envoyer la discussion sur Twitter
  • Envoyer la discussion sur Google
  • Envoyer la discussion sur Facebook
  • Envoyer la discussion sur Digg
  • Envoyer la discussion sur Delicious
  • Envoyer la discussion sur MySpace
  • Envoyer la discussion sur Yahoo