Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [glassfish-dev] AppClient Failures

Thanks for the update.

On 20 Aug 2020 Thu at 21:24 Alwin Joseph <alwin.joseph@xxxxxxxxxx> wrote:

Hi Gurkan,

I suspect this is due to the schema updates in the tck files made recently.
src/com/sun/ts/tests/appclient/deploy/metadatacomplete/testapp/application-client.xml
src/com/sun/ts/tests/appclient/deploy/metadatacomplete/testapp/application.xml

I will revert back this change if I confirm this.

Regards,
Alwin

On 20/08/20 1:15 pm, Gurkan Erdogdu wrote:
Hi

I debugged the code and it throws deployment exception in ApplicationClientDescriptor#getResourceDescriptors in switch case CFD

Any idea?

    @Override
    public Set<ResourceDescriptor> getResourceDescriptors(JavaEEResourceType type) {
        switch(type) {
            case CFD:
                throw new UnsupportedOperationException(localStrings.getLocalString(
                            "enterprise.deployment.exceptionappclientnotsupportconnectionfactorydefinition",
                            "The application client [{0}] do not support connection factory definitions",
                                new Object[] {getName()}));
            case AODD:
                throw new UnsupportedOperationException(localStrings.getLocalString(
                            "enterprise.deployment.exceptionappclientnotsupportadministeredobjectdefinition",
                            "The application client [{0}] do not support administered object definitions",
                                new Object[] {getName()}));

        }
        return super.getResourceDescriptors(type);
    }

--

Back to the top