[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
Re: [glassfish-dev] What are the possible causes of remote JNDI lookup failures like https://github.com/eclipse-ee4j/glassfish/issues/25190?
|
- From: "Steve Millidge (Payara)" <steve.millidge@xxxxxxxxxxx>
- Date: Wed, 23 Oct 2024 10:46:50 +0000
- Accept-language: en-GB, en-US
- Arc-authentication-results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=payara.fish; dmarc=pass action=none header.from=payara.fish; dkim=pass header.d=payara.fish; arc=none
- Arc-message-signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector10001; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=dsdl0rCUw2HzHntfgHvjSrPrM91HvT6I6xq5YZy6vVE=; b=KItPCYyFgH/kqxMaPKrqAEd105KyAkLGSpbXP/bDBLHOw2+weKtHIAMi1p18+HmanVH9him/ZPgeup8BdqlCn4UJ29ekfAMEq2n7BFGwmlAdr0szQqMvcvm3sa2lE97kkPKW7W7B1gYQ/Zwv+ZTQ1bRYNFVjKSpUxnyP4vMIpBHauepZ3amQjDXBQP7HEJDmqTUKhMyZ0r27onqvKsMoa3YNt+tedjonhrO+8ERSnZZhWnWmCAqxXxtHkdfcTLg+AohaY7C9XxjGLJhYKZ15JRrGme1n4tJUwQIF9LTymld27BdAf/sjEpb307WWmdJap7+dE+CWCJzcKpCmKrkjdw==
- Arc-seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=JOFDVRtjHArGsptivlsHRwE/xBHK0JBfYqlSiyrgYaXkNTsA9ccMm8c0K3aB8T4AwzlYuiek6+7jGKymbL8BSHfqM8XJEIvNHO2whEsKHBMf1Tj9qgBlQpko6MMsU2HelNfTOkTBHrI668ZO3Y7dJFe4TM851ljICilGc+7PCcjWhcr7AFvCset7VOyNlWTp4ynRlOzid+Jo/s2X4dUpdvgxiuA8xjHmtg38q+A9HKTA0SrD++28hHTLzVVTpAhFd/RM09CVMBX28dSFDeLNH0W+qPyFq85hayYVR58g+3ClUMy77G6Nq0NztVpwJHtvh3nGcPhpODpf6bbZBn6cjw==
- Delivered-to: glassfish-dev@xxxxxxxxxxx
- List-archive: <https://www.eclipse.org/mailman/private/glassfish-dev/>
- List-help: <mailto:glassfish-dev-request@eclipse.org?subject=help>
- List-subscribe: <https://www.eclipse.org/mailman/listinfo/glassfish-dev>, <mailto:glassfish-dev-request@eclipse.org?subject=subscribe>
- List-unsubscribe: <https://www.eclipse.org/mailman/options/glassfish-dev>, <mailto:glassfish-dev-request@eclipse.org?subject=unsubscribe>
- Thread-index: AQHbJJ8xhISorEPbmEaFw20reN2uw7KUJ8bH
- Thread-topic: [glassfish-dev] What are the possible causes of remote JNDI lookup failures like https://github.com/eclipse-ee4j/glassfish/issues/25190?
Strangely the error originates from an inbound corba call which would suggest a remote EJB invocation. Is the EJB deploying successfully. You should see its name output during deployment on the server side.
From: glassfish-dev <glassfish-dev-bounces@xxxxxxxxxxx> on behalf of Scott Marlow via glassfish-dev <glassfish-dev@xxxxxxxxxxx>
Sent: Tuesday, October 22, 2024 5:26:25 PM
To: glassfish developer discussions <glassfish-dev@xxxxxxxxxxx>
Cc: Scott Marlow <smarlow@xxxxxxxxxx>
Subject: [glassfish-dev] What are the possible causes of remote JNDI lookup failures like https://github.com/eclipse-ee4j/glassfish/issues/25190?
Hi,
Could the jndi lookup failure in
https://github.com/eclipse-ee4j/glassfish/issues/25190 be caused by deployment descriptors not being correct? Could it also be caused by classnotfound exceptions? Note that the included JNDI lookup exception doesn't include the cause (the cause should
at least be logged I think if there is an exception caught but ignored).
From the exception call stack included:
"
Suppressed: javax.naming.NamingException: Exception resolving Ejb for 'Remote ejb-ref name=ejb/Stateless3VehicleBean,Remote 3.x interface =com.sun.ts.tests.common.vehicle.stateless3.Stateless3VehicleIF,ejb-link=Stateless3VehicleBean,lookup=,mappedName=,jndi-name=,refType=Session'
. Actual (possibly internal) Remote JNDI name used for lookup is '#com.sun.ts.tests.common.vehicle.stateless3.Stateless3VehicleIF' [Root exception is javax.naming.NamingException: Lookup failed for #com.sun.ts.tests.common.vehicle.stateless3.Stateless3VehicleIF
in SerialContext[myEnv={java.naming.factory.initial=com.sun.enterprise.naming.impl.SerialInitContextFactory, java.naming.factory.url.pkgs=com.sun.enterprise.naming, java.naming.factory.state=com.sun.corba.ee.impl.presentation.rmi.JNDIStateFactoryImpl}] [Root
exception is javax.naming.NameNotFoundException: #com.sun.ts.tests.common.vehicle.stateless3.Stateless3VehicleIF not found]]
"
Other thoughts on the cause?
Scott