I am able to run in a integration testcase within Eclipse that sets up a JMS message listener with JndiTemplate and JndiObjectFactoryBean as in following:
Code:
	<bean id="messageListener"
		class="org.springframework.jms.listener.adapter.MessageListenerAdapter">
        <constructor-arg ref="myDocumentEventsDelegate" />
		<property name="defaultListenerMethod" value="receive" />
		<!-- we don't want automatic message context extraction -->
		<property name="messageConverter">
			<null />
		</property>
	</bean>

	<!-- and this is the message listener container... -->
	<bean id="jmsContainer"
		class="org.springframework.jms.listener.DefaultMessageListenerContainer">
		<property name="connectionFactory" ref="topicConnectionFactory" />
		<property name="destination" ref="topic" />
		<property name="messageListener" ref="messageListener" />
        <property name="messageSelector" value="${messageSelector}"/>
	</bean>
		
    <bean id="jndiTemplate" class="org.springframework.jndi.JndiTemplate">
		<property name="environment">
			<map>
                <entry key="java.naming.factory.initial" value="${myJavaNamingFactoryInitial}" />
                <entry key="java.naming.provider.url" value="t3://test.domain.com:9002" />
			</map>
		</property>
	</bean>
    
    <bean id="connectionFactory" class="org.springframework.jndi.JndiObjectFactoryBean">
        <property name="jndiTemplate">
            <ref bean="jndiTemplate" />
        </property>
        <property name="jndiName">
            <value>${connectionFactoryJndiName}</value>
        </property>
    </bean>

    <bean id="topic" class="org.springframework.jndi.JndiObjectFactoryBean">
        <property name="jndiTemplate">
            <ref bean="jndiTemplate" />
        </property>
        <property name="jndiName">
            <value>${topicJndiName}</value>
        </property>
    </bean>
However, when I deploy this configuration in Weblogic 10.3.0, I get a SecurityException such as following:
Caused by: java.lang.SecurityException: [Security:090398]Invalid Subject: principals=[weblogic, Administrators]
at weblogic.security.service.SecurityServiceManager.s eal(SecurityServiceManager.java:835)
at weblogic.security.service.SecurityServiceManager.g etSealedSubjectFromWire(SecurityServiceManager.jav a:524)
at weblogic.rjvm.MsgAbbrevInputStream.getSubject(MsgA bbrevInputStream.java:351)
at weblogic.rmi.internal.BasicServerRef.acceptRequest (BasicServerRef.java:875)
at weblogic.rmi.internal.BasicServerRef.dispatch(Basi cServerRef.java:310)



Is there a resolution to this?

thanks