Hi Matthew.

Try spitting out the stack trace to a log file or to System.out or something to give 
us a better
idea of what's going on.

And as for deploying the descriptor file, if it deployed without any errors then I'm 
sure it
worked fine.

--Rob

--- Matthew Johnston <[EMAIL PROTECTED]> wrote:
> Hello Rob,
> I believe I was able to successfully modify the SJDeploymentDescriptor.xml 
> file to add my class. I've attached this file for review.
> 
> I've implemented this method into my plugin class:
> 
> /////////////////////////////////////////////////////////////
>     public void initPlugin(HashMap params) {
>         super.initPlugin(params);
> 
>         try{
>              mapType("urn:sj-mastercontrolprogram", "LinkedLabelList",
>                 
> Class.forName("org.sourcejammer.extensions.linkedLabels.share.LinkedLabelList"));
>         }
>         catch(ClassNotFoundException ex){
>             CommandCentral oCommand = CommandCentral.getInstance();
>             CommandCentral.getInstance();
>             JOptionPane jop = new JOptionPane();
>             jop.showMessageDialog(oCommand.getRootAppFrame(), new 
> String("Plugin Exception:" + ex.getMessage()));
>         }
>         catch(Exception ex){
>             CommandCentral oCommand = CommandCentral.getInstance();
>             CommandCentral.getInstance();
>             JOptionPane jop = new JOptionPane();
>             jop.showMessageDialog(oCommand.getRootAppFrame(), new 
> String("Plugin Exception:" + ex.getMessage()));
> 
>         }
>     }
> //////////////////////////////////////////
> 
> When SourceJammer runs this throws an regular "Exception" NOT a 
> "ClassNotFoundException" exception.  However there is no message (it is 
> NULL).
> 
> I've tried these variations in the above code:
> 
> mapType("urn:sj-mastercontrolprogram", "linkedlabellist", 
> LinkedLabelList.class);
> 
> mapType("urn:sj-mastercontrolprogram", "LinkedLabelList", 
> LinkedLabelList.class);
> 
> 
> Still getting a null,  any ideas???
> 
> 
> As a note:  I ran the deploy.sh to deploy the SJDeploymentDescriptor.xml to 
> the server to create a new DeployedServices.ds file.  It seemed to work ok, 
> unless there is something else I'm forgetting?
> 
> 
> 
> Previous message...
> 



        
                
__________________________________
Do you Yahoo!?
Win a $20,000 Career Makeover at Yahoo! HotJobs  
http://hotjobs.sweepstakes.yahoo.com/careermakeover 


-------------------------------------------------------
This SF.Net email is sponsored by: Oracle 10g
Get certified on the hottest thing ever to hit the market... Oracle 10g. 
Take an Oracle 10g class now, and we'll give you the exam FREE. 
http://ads.osdn.com/?ad_id=3149&alloc_id=8166&op=click
_______________________________________________
SourceJammer-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/sourcejammer-devel

Reply via email to