I am developing a web application that needs to call into STAF; the application 
server is GlassFish 3, the java is version 6, and I have included a reference 
to the JSTAF.jar in the server configuration. I try to create a new STAFHandle 
like this:

@ManagedBean
public class StafSession {

    public StafSession() {
        try {
            Handle=new STAFHandle("session");
        } catch (STAFException ex) {
            Logger.getLogger(StafSession.class.getName()).log(Level.SEVERE, 
null, ex);
        }
        name="";
        cmd="";
    }
    ...

- but I get an error, saying:

Could not initialize class com.ibm.staf.STAFHandle

What have I done wrong? Is it the wrong version of java? Something in the 
server setup?

------------------------------------------------------------------------------
All the data continuously generated in your IT infrastructure 
contains a definitive record of customers, application performance, 
security threats, fraudulent activity, and more. Splunk takes this 
data and makes sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-novd2d
_______________________________________________
staf-users mailing list
staf-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/staf-users

Reply via email to