Hello,

I have a Webservice with AXIS as a webapp installes on tomcat. This webservice has to 
call an EJB. Running the webservice and ejb with dummyImplementations runs without any 
problems. When I call the EJB via the webservice I get an InvocationTargetException on 
the client. The exception happens on this line:

            props.load(EJBBackend.class.getResourceAsStream("/backend.properties"));

            factory = props.getProperty("java.naming.factory.initial");
            location = props.getProperty("java.naming.provider.url");
            pkgs = props.getProperty("java.naming.factory.url.pkgs");

            connProps.put(InitialContext.INITIAL_CONTEXT_FACTORY,factory);
            connProps.put(InitialContext.PROVIDER_URL, location);
            connProps.put(InitialContext.URL_PKG_PREFIXES, pkgs);

            System.out.println("using props: "+factory+" location: "+location);

            //EXCEPTION on this line
            InitialContext initialContext = new InitialContext(connProps);

Has anyone called an EJB from AXIS? Have I missed something?

Juraj

Reply via email to