OK, removing the j2ee.jar fixed the ioser12 error.

        Now, I am getting this error:

        Exception in thread "main" java.lang.InstantiationError: No location
specified for ejb-ref Applicant

        This is my application-client.xml :



        <?xml version="1.0"?>
        <!DOCTYPE application-client PUBLIC "-//Sun Microsystems, Inc.//DTD
J2EE Application Client 1.2//EN"
"http://java.sun.com/j2ee/dtds/application-client_1_2.dtd">

        <application-client>
                <display-name>Applicant</display-name>
                <ejb-ref>
                        <ejb-ref-name>Applicant</ejb-ref-name>
                        <ejb-ref-type>Entity</ejb-ref-type>
                        <home>ApplicantHome</home>
                        <remote>Applicant</remote>
                </ejb-ref>
        </application-client>

Reply via email to