NoClassDefFoundError exception deplying sample plugin

I'm running WLI 2.1 SP1 and WLS 6.1 SP2.
I've been trying to build and deploy the sample plugin provided by BEA. My thinking
was that 'tweaking' the sample plugin would be an easy way to understand plugin
development. Boy was I wrong !
Unfortunately, I can't get the version of the SamplePlugin that I build to successfully
deploy. I'm trying to deploy to the wlidomain i.e. to a domain where the sampleplugin
is not pre-deployed.
I've deployed using the following command line;
java weblogic.deploy -port 7001 -host witless -component SAMPLE:myserver deploy
security SAMPLE k:\bea\wlintegration2.1\lib\sampleplugin-ejb.jar
Unfortunately I get an exception.
The error is java.lang.NoClassDefFoundError: com/bea/wlpi/common/plugin/PluginObject
The detailed exception is in the attached logfile.
I've tried including the sampleplugin-ejb.jar file in the classpath of the WLI
server but that doesn't seem to make any difference.
Anyone got any ideas ?
[myserver.log]

Tom,
You have to hand edit the config.xml for the domain and add the EJBComponent
element to the WLI application definition.
Mike
"Tom" <[email protected]> wrote in message
news:[email protected]..
>
I'm running WLI 2.1 SP1 and WLS 6.1 SP2.
I've been trying to build and deploy the sample plugin provided by BEA. Mythinking
was that 'tweaking' the sample plugin would be an easy way to understandplugin
development. Boy was I wrong !
Unfortunately, I can't get the version of the SamplePlugin that I build tosuccessfully
deploy. I'm trying to deploy to the wlidomain i.e. to a domain where thesampleplugin
is not pre-deployed.
I've deployed using the following command line;
java weblogic.deploy -port 7001 -host witless -component SAMPLE:myserverdeploy
security SAMPLE k:\bea\wlintegration2.1\lib\sampleplugin-ejb.jar
Unfortunately I get an exception.
The error is java.lang.NoClassDefFoundError:com/bea/wlpi/common/plugin/PluginObject
>
The detailed exception is in the attached logfile.
I've tried including the sampleplugin-ejb.jar file in the classpath of theWLI
server but that doesn't seem to make any difference.
Anyone got any ideas ?

Similar Messages

  • BasicPanel  Sample plugin in CS3 on Mac

    Hi,
    I tried to compile the BasicPanel project in CS3 on Mac platform with Xcode 2.5 on Intel-Mac machine on OS X 10.5, and when I copy the plug-in to Plug-ins folder under Adobe InDesign CS3 and launch InDesing, I dont see any palette added in application. Does this plug-in suppose to add a palette in CS3? I dont get any error when I launch the InDesign, also I don't see the name of that in plug-ins list in application. Is something wrong here ? the other sample plugins work fine except this one.
    Thanks,
    Nima

    Under the "InDesign" menu, there's a menu item called "Config Plug-Ins..."
    try to see if your plugin is listed there...
    there's always the fprintf(stderr, "hello world") that you can sprinkle in your code. :-) They will show up in Console.app.
    pete

  • Building /deploying sample plugin in WLI 2.1 and WLS 6.1

    I'm running WLI 2.1 (service pack 1) and WLS 6.1. I'm trying to build and deploy
    the sample plugin (sampleplugin-ejb.jar) but have had numerous problems.
    Specifically, though there are no errors and the WLS admin console tells me the
    plugin is deployed I cannot actually see any of the plugin actions etc. on the
    WLI Studio and am told that the plugin is not loaded when I open the template
    definitions.
    I've even resorted to deploying the version of the plugin bundled in WLI_HOME\lib\sampleplugin-ejb.jar
    i.e. one I didn't build myself but again, although there are no errors, the plugin
    does not seem to be correctly loaded.
    In order to get this far I've had to include the plugin jar file in the server
    CLASSPATH. Otherwise I get an 'java.lang.NoClassDefFoundError: com/bea/wlpi/common/plugin/PluginObject'
    error. I know I shouldn't have to include the EJB in the CLASSPATH but it seems
    to resolve this error. Perhaps this is contributing to the other problem ????
    Any help gratefully appreciated. Has anyone successfully built and deployed the
    sample plugin to WLI 2.1/ WLS 6.1 ?

    I found WLI sp2.
    Thanks.
    Sangeetha
    "Sangeetha.R" <[email protected]> wrote in message
    news:[email protected]..
    Thanks Chris.
    But, I couldn't find this in the support downloads too.
    Could you let me know, from where can I download this?
    Thanks,
    Sangeetha
    "Chris Stead" <[email protected]> wrote in message
    news:[email protected]..
    Sangeetha,
    WLI 2.1 SP2 will go live tomorrow (7/31) and is compatible with WLS 6.1SP3.
    Cheers,
    Chris
    Sangeetha.R wrote:
    Is there a service pack for WLI 2.1 that is compatible with WLS 6.1
    sp3
    Thanks in advance.
    Sangeetha

  • [svn:osmf:] 13604: Update build-config files for sample plugins.

    Revision: 13604
    Revision: 13604
    Author:   [email protected]
    Date:     2010-01-18 17:09:32 -0800 (Mon, 18 Jan 2010)
    Log Message:
    Update build-config files for sample plugins.
    Modified Paths:
        osmf/trunk/apps/samples/plugins/AkamaiPluginSample/AkamaiPluginSample-build-config.xml
        osmf/trunk/apps/samples/plugins/MASTSample/MASTSample-build-config.xml

    Thanks Brian. I would certainly appreciate the maintenance and documentation of some of these. The one that most comes to mind is the OSMFTest suite. This would be valuable if only so that developers have some idea of the coverage that's going on under the hood. It would also help for diagnosing what's going on when behavior is not as expected. I was pleased that when I figured out how to compile this directory, I could see that there were 1109 tests, all of which passed except for one that failed due to not being on my local security whitelist.

  • "Error loading plugins" on sample plugin

    This is happening on a new installation of the Illustrator CS6 and new, out-of-the-box builds of sample plugins.
    I tried MenuPlay and Annotator in both Debug and Relese with the same error on AI startup.
    Here is what I do:
    - open xcode project for a selected sample plugin. Build it - both debug and relese configuration,
    - copy the AIP file to /Applications/Adobe Illustrator CS6/Plug-ins.localized,
    - also:
         changed the owner and permissions of the plugin to be root:admin and rwxrwxr-x,
         moved plugins to a new directory inside Plug-ins and in the place outside of
             /Applications/Adobe Illustrator CS6/ tree with the location specified in Preferences
    Any idea what's causing this?

    Joe, Unfortunately your symptoms are slightly different than the original posters. Bunny's issue is odd because the plug-in loads on some machines and not others. I'm afraid I'm stumped there.  But Joe, I think we could help you if we had some more information about the process you went through to get your samples loaded. It really could be a lot of things at this point. And it would help to know if you're developing on a windows or mac OS, etc. Did you follow the procedures in the "Getting Started Guide" in the docs folder of the SDK?

  • Trying to load the sample plugin snippetRunner but it's not getting loaded

    I tried to load the sample pluggin SniipetRunner and open Indesign.
    Indesign opened successfully and is showing other plug-ins in the plug-in drop down but now SnippetRunner
    any idea?

    I had the same problem. The SnippetRunner can be found under "Window" in the top menu bar. A screenshot can be seen here: http://stackoverflow.com/questions/23214516/indesign-sdk-sample-plugin-not-working/2323971 5#23239715

  • Problem in installing photoshop cs6 sample plugin

    HI!
         i have compiled a sample plugin "OUTBOUND" from Photoshop CS6 sdk..it creates a file named outbound.8be
    i have copied that file to C:\Program Files (x86)\Adobe\Adobe Photoshop CS6\Plug-ins and also to C:\Program Files (x86)\Adobe\Adobe Photoshop CS6\Required\Plug-Ins\Import-Export...
    But none of these work..and the plugin is not showing in photoshop..how ever if i put any other plugin downloaded from internet..e.g photosynthesis..it appears in photoshop..
    Plz help me that how can i install a sample plugin in photo shop cs6..
    Thanks in advance..
    Regards,
    Usman

    If you right click on your .r file and compile, does it compile correctly? If yes, and you right click on your .rc file does it compile correctly?
    My guess is that your PiPL resource is not getting into the plug-in. The configuration for it is tricky.
    Right click on your .r file. Select Properties. Select Command Line (should look something like this):
    cl /I..\..\..\Common\Includes /I..\..\..\..\PhotoshopAPI\Photoshop /I..\..\..\..\PhotoshopAPI\PICA_SP /I..\..\..\Common\Resources /EP /DMSWindows=1 /DWIN32=1 /Tc"%(FullPath)" > "$(IntDir)%(Filename).rr"
    ..\..\..\resources\cnvtpipl.exe "$(IntDir)%(Filename).rr" "$(IntDir)%(Filename).pipl"
    del "$(IntDir)%(Filename).rr"

  • Java.lang.NoClassDefFoundError: Exception in thread "main"

    Hello People,
    I am aware that this topic has been raised before. I have browsed through all the postings of this particular question, but i have not found the solution.
    While compilign i get no errors but this is what i get when i run the java program.
    java.lang.NoClassDefFoundError: Exception in thread "main"
    Tool completed with exit code 1
    The following is my path and classpath files under autoexec.bat
    SET PATH=%PATH%;C:\j2sdk1.4.0_03\bin
    SET CLASSPATH=.;%CLASSPATH%;C:\j2sdk1.4.0_03\bin
    These are the settings i have in MY COMPUTER properties/environments
    SYSTEM VARIABLES
    Variable - classpath
    Value - C:\Program Files\TextPad 4
    USER VARIABLES
    Variable - PATH
    Value - C:\j2sdk1.4.0_03\bin
    SYSTEM VARIABLES
    Variable - path
    Value - C:\PROGRA~1\PVCS\VM\win32\bin;C:\WINNT4\system32;C:\WINNT4;C:\WINNT4\system32\nls\ENGLISH;C:\WINNT4\system32\nls;C:\Program Files\Rational\common
    USER VARIABLES
    Variable - PATH
    Value - C:\j2sdk1.4.0_03\bin
    I hope this infromation will help.
    Thanks
    Regards,
    Shah

    SET PATH=%PATH%;C:\j2sdk1.4.0_03\bin
    SET CLASSPATH=.;%CLASSPATH%;C:\j2sdk1.4.0_03\bin
    These are the settings i have in MY COMPUTER
    properties/environments
    SYSTEM VARIABLES
    Variable - classpath
    Value - C:\Program Files\TextPad 4I am concerned that the classpath in the autoexec.bat is different from what you posted under System variables. What version of Windows are you running? autoexec.bat is used by 98. Others use the system variables. The classpath you show for autoexec.bat looks OK but the classpath you show for system variables looks wrong. It should be the same as what you show for autoexec.bat You do not need the sdk\bin directory in your classpath unless you plan to put classes there.
    The NoClassDefFound error means that the java.exe command could not find the class that you specified. You did not post the command that you entered. You may have specified the class wrong. Otherwise, it is probably a classpath problem.

  • Sample plugins not working with Netscape 7 on Solaris 8.

    I'm trying to build a scriptable plugin for deployment into Netscape 7
    and Solaris 8.
    I finally got mozilla 1.4.1 built under Solaris 8 and deployed the
    plugin from modules/plugin/tools/sdk/samples/simple. By deployed I
    mean that I copied the libnpsimple.so file to the netscape plugin
    directory and copied the .xpt files to the netscape components
    directory. I even removed the xpti.dat file from the netscape
    components directory so that it will get regenerated when netscape 7
    is started.
    I started up netscape 7 and checked about plugins and I find the
    simple plugin in the list of enabled plugins. So far, so good.
    I open the test.html file in modules/plugin/tools/sdk/samples/simple
    into the browser and click on the version button and I get an alert
    box that displays "undefined". Also, if I reload the page netscape
    crashes.
    I also tried the scriptable sample plugin with essentially the same
    result.
    Does anyone know what I need to do to get a sample plugin to work with
    Netscape 7 on Solaris 8.
    Some help would be very much appreciated.
    Thanks.

    Start by fixing the Xhtml coding errors:
    http://validator.w3.org/check?uri=http%3A%2F%2Fwww.frontiers.uk.net%2F&charset=%28detect+a utomatically%29&doctype=Inline&group=0
    And CSS errors:
    http://jigsaw.w3.org/css-validator/validator?uri=http%3A%2F%2Fwww.frontiers.uk.net%2F&warn ing=1&profile=css21&usermedium=all
    Your 50% site stats probably include Mozilla/Firefox users.
    --Nancy O.
    Alt-Web Design & Publishing
    www.alt-web.com
    "pawpour" <[email protected]> wrote in
    message
    news:fbghtk$o3s$[email protected]..
    > Hello everybody
    >
    > My site is up at www.Frontiers.uk.net. I used
    Dreamweaver CS3, with CSS,
    on a
    > Mac.
    >
    > It seems to work fine in IE 6 & 7, Firefox and
    Safari. When doing a
    browser
    > compatibility check, I get one error: "Double float
    margin bug", which it
    says
    > affects IE 6. I don't think this is causing a problem.
    >
    > However in Netscape (I've only tried version 7) the site
    looks terrible -
    the
    > right hand link in the navbar drops down to the second
    line.
    >
    > Also, there are two DIVS, one floated left and one
    floating right, and in
    > Netscape the right one drops underneath the other. I
    know that there can
    be
    > problems with IE 5, in its dealing with margins but I
    havent heard
    anything
    > about Netscape being a problem? Also I thought that the
    IE box model bug
    can
    > just make the DIVS narrower, not make one drop below the
    other.
    >
    > Dreamweaver isn't throwing up any browser errors for
    Netscape.
    >
    > I thought that hardly anyone would use Netscape, but the
    stats for my
    site say
    > that around 50% of users are using Netscape (which i
    find hard to
    believe!)
    >
    > Any ideas what I've done wrong or how to fix this for
    Netscape?
    >

  • Sample plugin

    Hi,
    I am totally new to Adobe Indesign, having got the task to write Indesign plugins.
    So I installed IndesignCS4-SDK and tried to start with sample plugins.
    In the SDK there is a batchfile buildAllSamples.bat which I started.
    For every every sample project there was created a folder [project].sdk.Resources but all thes folders are empty (?).
    Furthermore for every project there was created a '.pln' and a '.pdb.file'
    I guess, there is something missing, the so created plugins are not recognized by Indesign.
    Compiling one single project in Visual Studio I get the warning:
    SDK\build\win\debug\SDK\(WFP.sdk Resources)\*.idrc could not be found.
    so what's wrong here?
    any help would be appreciated.
    Helmut

    My administrator installed Visual Studio 2005.
    Compiling a sample project, I get the same result as before.
    the complete build protocol:
    Die temporäre Datei "c:\Users\Helmut.Blass\Documents\Entwicklung\iMatchClientPlugins\IndesignCS5-SDK\SDK\build\win\objd\BasicDialog\BAT00000148007940.bat" wird erstellt. Inhalt:
    @echo off
    odfrc "c:\Users\Helmut.Blass\Documents\Entwicklung\iMatchClientPlugins\IndesignCS5-SDK\SDK\source\sdksamples\basicdialog\BscDlg.fr" -o ".\..\objd\BasicDialog\BscDlg.fres" -d DEBUG  -i ..\..\..\source\sdksamples\basicdialog @SDKODFRCOptions.rsp
    if errorlevel 1 goto VCReportError
    goto VCEnd
    :VCReportError
    echo Project : error PRJ0019: Ein Tool hat einen Fehlercode aus folgender Quelle zurückgegeben: "Ein benutzerdefinierter Buildschritt wird ausgeführt."
    exit 1
    :VCEnd
    ]Erstellen der Befehlszeile """c:\Users\Helmut.Blass\Documents\Entwicklung\iMatchClientPlugins\IndesignCS5-SDK\SDK\build\win\objd\BasicDialog\BAT00000148007940.bat"""Die temporäre Datei "c:\Users\Helmut.Blass\Documents\Entwicklung\iMatchClientPlugins\IndesignCS5-SDK\SDK\build\win\objd\BasicDialog\RSP00000248007940.rsp" wird erstellt. Inhalt:
    /Od /Ob1 /D "_CRT_SECURE_NO_DEPRECATE" /D "DEBUG" /D "STRICT" /D "_VC80_UPGRADE=0x0710" /D "_SECURE_SCL=0" /D "_SCL_SECURE_NO_DEPRECATE" /D "_HAS_ITERATOR_DEBUGGING=0" /D "_WINDLL" /FD /EHsc /MDd /GS- /Yu"VCPlugInHeaders.h" /Fp".\..\objd\BasicDialog\BasicDialog.pch" /Fo".\..\objd\BasicDialog\\" /Fd".\..\objd\BasicDialog\vc90.pdb" /W3 /WX /c /Zi /TP  /vmg @"SDKCPPOptions.rsp"   /MP
    "..\..\..\source\sdksamples\basicdialog\TriggerResourceDeps.cpp"
    "..\..\..\source\public\libs\publiclib\statics\PlugInStatics.cpp"
    "..\..\..\source\sdksamples\basicdialog\BscDlgNoStrip.cpp"
    "..\..\..\source\sdksamples\basicdialog\BscDlgID.cpp"
    "..\..\..\source\sdksamples\basicdialog\BscDlgEntrypoint.cpp"
    "..\..\..\source\sdksamples\basicdialog\BscDlgDialogObserver.cpp"
    "..\..\..\source\sdksamples\basicdialog\BscDlgDialogController.cpp"
    "..\..\..\source\sdksamples\basicdialog\BscDlgActionComponent.cpp"
    ]Erstellen der Befehlszeile "cl.exe @"c:\Users\Helmut.Blass\Documents\Entwicklung\iMatchClientPlugins\IndesignCS5-SDK\SDK\build\win\objd\BasicDialog\RSP00000248007940.rsp" /nologo /errorReport:prompt"Die temporäre Datei "c:\Users\Helmut.Blass\Documents\Entwicklung\iMatchClientPlugins\IndesignCS5-SDK\SDK\build\win\objd\BasicDialog\RSP00000348007940.rsp" wird erstellt. Inhalt:
    /Od /Ob1 /D "_CRT_SECURE_NO_DEPRECATE" /D "DEBUG" /D "STRICT" /D "_VC80_UPGRADE=0x0710" /D "_SECURE_SCL=0" /D "_SCL_SECURE_NO_DEPRECATE" /D "_HAS_ITERATOR_DEBUGGING=0" /D "_WINDLL" /FD /EHsc /MDd /GS- /Yc"VCPlugInHeaders.h" /Fp".\..\objd\BasicDialog\BasicDialog.pch" /Fo".\..\objd\BasicDialog\\" /Fd".\..\objd\BasicDialog\vc90.pdb" /W3 /WX /c /Zi /TP  /vmg @"SDKCPPOptions.rsp"   /MP
    "..\..\..\source\precomp\msvc\VCPlugInHeaders.cpp"
    ]Erstellen der Befehlszeile "cl.exe @"c:\Users\Helmut.Blass\Documents\Entwicklung\iMatchClientPlugins\IndesignCS5-SDK\SDK\build\win\objd\BasicDialog\RSP00000348007940.rsp" /nologo /errorReport:prompt"Erstellen der Befehlszeile "rc.exe /d "_CRT_SECURE_NO_DEPRECATE" /d "DEBUG" /l 0x809 /I "..\..\..\source\sdksamples\basicdialog" /I "..\..\..\source\sdksamples\common" /I "..\..\..\source\precomp\msvc" /I "..\..\..\source\public\includes" /fo".\..\objd\BasicDialog/BscDlg.res" "..\..\..\source\sdksamples\basicdialog\BscDlg.rc""Die temporäre Datei "c:\Users\Helmut.Blass\Documents\Entwicklung\iMatchClientPlugins\IndesignCS5-SDK\SDK\build\win\objd\BasicDialog\BAT00000448007940.bat" wird erstellt. Inhalt:
    @echo off
    merge_res.cmd ".\..\objd\BasicDialog"  BscDlg & echo Deleting old resources... & del /f /s "c:\Users\Helmut.Blass\Documents\Entwicklung\iMatchClientPlugins\IndesignCS5-SDK\SDK\build\win\debug\SDK\(BasicDialog.sdk Resources)\"*.idrc > .\..\objd\BasicDialog\prevDeletedResources.txt & xcopy /Q /E ".\..\objd\BasicDialog\"*.idrc "c:\Users\Helmut.Blass\Documents\Entwicklung\iMatchClientPlugins\IndesignCS5-SDK\SDK\build\win\debug\SDK\(BasicDialog.sdk Resources)\" /Y
    if errorlevel 1 goto VCReportError
    goto VCEnd
    :VCReportError
    echo Project : error PRJ0019: Ein Tool hat einen Fehlercode aus folgender Quelle zurückgegeben: "Prälinkereignis wird ausgeführt..."
    exit 1
    :VCEnd
    ]Erstellen der Befehlszeile """c:\Users\Helmut.Blass\Documents\Entwicklung\iMatchClientPlugins\IndesignCS5-SDK\SDK\build\win\objd\BasicDialog\BAT00000448007940.bat"""Die temporäre Datei "c:\Users\Helmut.Blass\Documents\Entwicklung\iMatchClientPlugins\IndesignCS5-SDK\SDK\build\win\objd\BasicDialog\RSP00000548007940.rsp" wird erstellt. Inhalt:
    /OUT:"..\debug\SDK\BasicDialog.sdk.pln" /INCREMENTAL:NO /DLL /MANIFEST /MANIFESTFILE:".\..\objd\BasicDialog\BasicDialog.sdk.pln.intermediate.manifest" /MANIFESTUAC:"level='asInvoker' uiAccess='false'" /DEBUG /PDB:"..\debug\SDK\BasicDialog.pdb" /SUBSYSTEM:WINDOWS /OPT:REF /DYNAMICBASE /NXCOMPAT /IMPLIB:"..\..\..\build\win\objD\BasicDialog/BasicDialog.lib" /MACHINE:X86 ..\..\..\build\win\objd\PMRuntime.lib ..\..\..\build\win\objd\Public.lib ..\..\..\build\win\objd\WidgetBin.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib
    "..\objd\BasicDialog\BscDlgActionComponent.obj"
    "..\objd\BasicDialog\BscDlgDialogController.obj"
    "..\objd\BasicDialog\BscDlgDialogObserver.obj"
    "..\objd\BasicDialog\BscDlgEntrypoint.obj"
    "..\objd\BasicDialog\BscDlgID.obj"
    "..\objd\BasicDialog\BscDlgNoStrip.obj"
    "..\objd\BasicDialog\PlugInStatics.obj"
    "..\objd\BasicDialog\TriggerResourceDeps.obj"
    "..\objd\BasicDialog\VCPlugInHeaders.obj"
    "..\objd\BasicDialog\BscDlg.res"
    ]Erstellen der Befehlszeile "link.exe @"c:\Users\Helmut.Blass\Documents\Entwicklung\iMatchClientPlugins\IndesignCS5-SDK\SDK\build\win\objd\BasicDialog\RSP00000548007940.rsp" /NOLOGO /ERRORREPORT:PROMPT"Die temporäre Datei "c:\Users\Helmut.Blass\Documents\Entwicklung\iMatchClientPlugins\IndesignCS5-SDK\SDK\build\win\objd\BasicDialog\RSP00000648007940.rsp" wird erstellt. Inhalt:
    /outputresource:"..\debug\SDK\BasicDialog.sdk.pln;#2" /manifest
    "..\objd\BasicDialog\BasicDialog.sdk.pln.intermediate.manifest"
    ]Erstellen der Befehlszeile "mt.exe @"c:\Users\Helmut.Blass\Documents\Entwicklung\iMatchClientPlugins\IndesignCS5-SDK\SDK\build\win\objd\BasicDialog\RSP00000648007940.rsp" /nologo"Die temporäre Datei "c:\Users\Helmut.Blass\Documents\Entwicklung\iMatchClientPlugins\IndesignCS5-SDK\SDK\build\win\objd\BasicDialog\BAT00000748007940.bat" wird erstellt. Inhalt:
    @echo, die Manifestressource wurde zuletzt um %TIME% am %DATE% aktualisiert > "..\objd\BasicDialog\mt.dep"
    ]Erstellen der Befehlszeile """c:\Users\Helmut.Blass\Documents\Entwicklung\iMatchClientPlugins\IndesignCS5-SDK\SDK\build\win\objd\BasicDialog\BAT00000748007940.bat"""Die temporäre Datei "c:\Users\Helmut.Blass\Documents\Entwicklung\iMatchClientPlugins\IndesignCS5-SDK\SDK\build\win\objd\BasicDialog\BAT00000848007940.bat" wird erstellt. Inhalt:
    @echo off
    restore_res.cmd ".\..\objd\BasicDialog"  BscDlg
    if errorlevel 1 goto VCReportError
    goto VCEnd
    :VCReportError
    echo Project : error PRJ0019: Ein Tool hat einen Fehlercode aus folgender Quelle zurückgegeben: "Postbuildereignis wird ausgeführt..."
    exit 1
    :VCEnd
    ]Erstellen der Befehlszeile """c:\Users\Helmut.Blass\Documents\Entwicklung\iMatchClientPlugins\IndesignCS5-SDK\SDK\build\win\objd\BasicDialog\BAT00000848007940.bat"""
    Ausgabefenster

  • Can't compile and load sample plugins

    Hi, I'm currently trying to learn the Illustrator SDK in order to develop plugins. I haven't been able to successfully compile (without warnings) and load the sample plugins into Illustrator; I keep getting "Error loading plugins…" I've attached screenshots that may be helpful. Any help is greatly appreciated.
    Specs:
    OS: OS X 10.9
    Xcode Version: 6.1.1
    Illustrator Version: CC 2014
    Illustrator SDK Version: CC 2014.1

    Specs:
    Illustrator Version: CC 2014
    Illustrator SDK Version: CC 2014.1
    Looks like your SDK version is newer than your Illustrator version. The Plugin::ReloadPlugin function in common/source/Plugin.cpp will return an error if it is trying to load newer versions of the suites. Run it under the debugger or put a printf statement before the return error; line.

  • Question about WListBoxComposite sample plugin

    Hello everyone,
    I have a palette based on the WListBoxComposite sample plugin, now I need to change it(or completely replace it ) cause of new requirement. I used to have constant number of fields or columns with variables number of records corresponding with those fields/columns in this palette, now I get the number of fields/columns in runtime . My question is what would be the best approach to implement this ? to be more clear of what I want to do consider to want to show the personal information fields like name, address,....(that you you get them in runtime from a database) and want to show this information for employees in each row.
    Thanks,
    Kamran

    In your resource file you have a resource for the rows you put into the tree:<br /><br />>resource WLBCmpNodeWidget (kWLBCmpListElementRsrcID + index_enUS)<br />>{<br />>>     __FILE__, __LINE__,<br />><     kWLBCmpListParentWidgetId, kPMRsrcID_None,     // WidgetId, RsrcId<br />>>     kBindLeft | kBindRight,               // Frame binding<br /><br />Place a frame (GenericPanelWidget) inside the this to contain the dynamic widgets.<br /><br />Now create resource type in the resource file for each type of widget you need in the line. At runtime you instantiate a widget for each field: <br /><br />>InterfacePtr<IControlView> iControlView ((IControlView*)::CreateObject(::GetDataBase(this), RsrcSpec(LocaleSetting::GetLocale(), kYourPluginID, kViewRsrcType, kYourWidgetRsrcID), IID_ICONTROLVIEW));<br /><br />>iControlView->SetFrame(frame);  // The frame is the place you want it inside the content panel<br /><br />>iControlView-> SetWidgetID();  // you need to calculate this also, as you don't know how many you will have<br /><br />>yourContentFrame->AddWidget(iControlView);  // of type IPanelControlData which you can get in you TreeViewWidgetMgr<br /><br />If you dont want to use the resource files you can create it dynamically and set all the parameter through function calls:<br />>IControlView* iControlView = (IControlView*)::CreateObject(kYourWidgetBoss,IID_ICONTROLVIEW);<br /><br />You can also use the  kWLBCmpListParentWidgetId as a content frame for the widgets, but you then need to remember to take into account other "static" widgets you might have in the line.

  • Updating sample plugin in samples domain

    I'm running WLI 2.1 SP1 and WLS 6.1 SP2.
    I've been trying to make some code changes to the sample plugin and deploy it
    to the samples domain.
    The sampleplugin-ejb.jar file is pre-deployed to this domain as part of the WLI
    deployment unit. The plugin is available after I first install the server.
    I made some changes to the plugin and recompiled using the supplied build.cmd.
    I then copied the Jar file to the c:\bea\wlintegration2.1\lib directory and updated
    the WLI deployment unit using
    java weblogic.deploy -port 7001 -host witless update security WLI c:\bea\wlintegration2.1\lib\sampleplugin-ejb.jar
    This creates a WLI.jar file in the .wlstaging directory that contains the files
    from my modified version of the sample plugin.
    When I start the studio and attempt to load the template definition I get an error
    telling me the plugin is not loaded.
    If I restart the server this error goes away and I can use the plugin actions
    etc. from the studio console. Unfortunately it's NOT my modified version of the
    plugin, its the version of the plugin that was deployed when the server was installed.
    Can anyone tell me the correct steps to follow to change the sample plugin and
    deploy the new version in the samples domain.
    Thanks !

    Tom,
    I have had similar problems using weblogic.Deploy for ejbs. Remove the
    WLI.jar in the .wlstaging directory. Make sure there isn't anything under
    the applications subdirectory related to this either. Since you've already
    copied the new jar file to the lib subdirectory just restart the server.
    Make sure the EJB deploys during startup.
    Generally speaking, stop the server, replaces the jar in the lib
    subdirectory and restart the server.
    Mike
    "Tom" <[email protected]> wrote in message
    news:3cbd5cbf$[email protected]..
    >
    I'm running WLI 2.1 SP1 and WLS 6.1 SP2.
    I've been trying to make some code changes to the sample plugin and deployit
    to the samples domain.
    The sampleplugin-ejb.jar file is pre-deployed to this domain as part ofthe WLI
    deployment unit. The plugin is available after I first install the server.
    I made some changes to the plugin and recompiled using the suppliedbuild.cmd.
    >
    I then copied the Jar file to the c:\bea\wlintegration2.1\lib directoryand updated
    the WLI deployment unit using
    java weblogic.deploy -port 7001 -host witless update security WLIc:\bea\wlintegration2.1\lib\sampleplugin-ejb.jar
    >
    This creates a WLI.jar file in the .wlstaging directory that contains thefiles
    from my modified version of the sample plugin.
    When I start the studio and attempt to load the template definition I getan error
    telling me the plugin is not loaded.
    If I restart the server this error goes away and I can use the pluginactions
    etc. from the studio console. Unfortunately it's NOT my modified versionof the
    plugin, its the version of the plugin that was deployed when the serverwas installed.
    >
    Can anyone tell me the correct steps to follow to change the sample pluginand
    deploy the new version in the samples domain.
    Thanks !

  • How to deploy the sample plugins

    hi,
       I am new to Oracle Enterprise Manager. I have got the setup running. Now, I want to deploy the plugins available under the samples. Can someone tell me the process to do the same. Although there is a readme.txt which has some instructions, I find that that instructions themselves are probably incomplete, it talks about emcli which I had to download and install. Can someone help me build and deploy the plugins in the OEM and see how they work or point me to the right documentation.

    Finally I was successfully able to create the plugin archive:
    Here are the steps I followed:
    Login as oracle user
    Download the EDK from setup -> Extensibility -> Development Kit and unpack the zip archive under the same user credentials
    If it happens to be any other user you will end up with the same issues as above (and you will have no clue over the error similar as me ).
    set the JAVA_HOME to the JDK
    Follow the steps of files to copy as given in the README for the sample for which you are going to run create_plugin on
    Now go into the bin directory of the edk and execute the command
    ./empdk create_plugin -stage_dir <EDK_INSTALL_HOME>/samples/plugins/HostSample/demo_hostsample/stage/ -conn_desc <ORACLE_DB_HOST>:1521:<ORACLE_SID> -repos_user sysman -repos_pwd <your password> -out_dir build
    And the OPAR archive gets created. Hope this helps for those who encounter similar issues.

  • Web services java.lang.NoClassDefFoundError Exception

    Hi,
    I am trying to run example Echo01.java in chapter "Simple API for XML" on web services tutorial,
    it has been compiled, no exception, but when I run it , I got the following exception.
    Any ideal?
    Thanks
    Bruce Xie
    D:\JWSDP-~2\docs\tutorial\examples\jaxp\sax\samples>java Echo01 slideSample01.xml
    Exception in thread "main" java.lang.NoClassDefFoundError: org/xml/sax/helpers/DefaultHandler
    at java.lang.ClassLoader.defineClass0(Native Method)
    at java.lang.ClassLoader.defineClass(ClassLoader.java:486)
    at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:11
    1)
    at java.net.URLClassLoader.defineClass(URLClassLoader.java:248)
    at java.net.URLClassLoader.access$100(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:297)
    at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:286)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:253)
    at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:313)
    D:\JWSDP-~2\docs\tutorial\examples\jaxp\sax\samples>

    I also get the same problem.
    the .jar files I have put in c:\jdk1.3.1\jre\lib\ext
    and I also use -classpath point to all jar files again, but the problem still be happened.
    have any more idea?
    Cheers,
    Sanphet

Maybe you are looking for

  • Where to install the software?

    I bought the airport extreme base station router a couple of months ago, my macbook (purchased 1/078) zoomed through the internet from my home for about the first 3 months, now I can't connect at all. My question is this, after I connected everything

  • IR - Error with ROWID link to single column.

    Just upgraded to Apex 4.0.1 very few issues but one I have found is with Interactive Reports. I have an IR that uses ROWID as the column link to view an individual row (SQL Query joins 4 tables). In APEX 3.1.2 this worked fine but after the upgrade I

  • I recently changed to lion 10.7.4

    Hello Before my new osx i use snow leopard. I have two network disks an airport with 2gb and a qnap t219pii with 2gb.I could simultaneous transfer the same file both external disks.Now with lion i can't do the same . Is it something i have as a probl

  • Bad parameter when trying to add text

    When I try to add text to my document, it says bad parameter and I can't add text.  How do  fix this?

  • SAP business partners -- Confusion

    Hi, Whats the difference between a Perspective customer and One time customer and under which scenario we will use which. Will appreciate if you could give some real time examples to explain it. Jeet