<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
<body link="#355491" alink="#4262a1" vlink="#355491" style="background: #e2e2e2; margin: 0; padding: 20px;">

<div>
        <table cellpadding="0" bgcolor="#FFFFFF" border="0" cellspacing="0" style="border: 1px solid #dadada; margin-bottom: 30px; width: 100%; -moz-border-radius: 6px; -webkit-border-radius: 6px;">
                <tbody>
                        <tr>

                                <td>

                                        <table border="0" cellpadding="0" cellspacing="0" bgcolor="#FFFFFF" style="border: solid 2px #ccc; background: #dadada; width: 100%; -moz-border-radius: 6px; -webkit-border-radius: 6px;">
                                                <tbody>
                                                        <tr>
                                                                <td bgcolor="#000000" valign="middle" height="58px" style="border-bottom: 1px solid #ccc; padding: 20px; -moz-border-radius-topleft: 3px; -moz-border-radius-topright: 3px; -webkit-border-top-right-radius: 5px; -webkit-border-top-left-radius: 5px;">
                                                                        <h1 style="color: #333333; font: bold 22px Arial, Helvetica, sans-serif; margin: 0; display: block !important;">
                                                                        <!-- To have a header image/logo replace the name below with your img tag -->
                                                                        <!-- Email clients will render the images when the message is read so any image -->
                                                                        <!-- must be made available on a public server, so that all recipients can load the image. -->
                                                                        <a href="http://community.jboss.org/index.jspa" style="text-decoration: none; color: #E1E1E1">JBoss Community</a></h1>
                                                                </td>

                                                        </tr>
                                                        <tr>
                                                                <td bgcolor="#FFFFFF" style="font: normal 12px Arial, Helvetica, sans-serif; color:#333333; padding: 20px;  -moz-border-radius-bottomleft: 4px; -moz-border-radius-bottomright: 4px; -webkit-border-bottom-right-radius: 5px; -webkit-border-bottom-left-radius: 5px;"><h3 style="margin: 10px 0 5px; font-size: 17px; font-weight: normal;">
    Exception while trying to locate proxy factory in JNDI
</h3>
<span style="margin-bottom: 10px;">
    created by <a href="http://community.jboss.org/people/venuwin">venu gopal</a> in <i>EJB 3.0</i> - <a href="http://community.jboss.org/message/559518#559518">View the full discussion</a>
</span>
<hr style="margin: 20px 0; border: none; background-color: #dadada; height: 1px;">

<div class="jive-rendered-content"><p>Hi,</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p>Recently I tried to move our application to Jboss EAP. The version of the files that work nicely on Jboss 5.1.0GA are not working here.</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p>This is my code which leads to Exception :</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p>&#160;&#160;&#160;&#160; String rssURL = "stage.rssURL.com:1099";<br/>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; System.out.println("DF URL is " + dfUrl);&#160;&#160;&#160; <br/>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; // JNDI lookup<br/>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; Properties props = new Properties();<br/>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; props.setProperty("java.naming.factory.initial","org.jnp.interfaces.NamingContextFactory");<br/>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; props.setProperty("java.naming.factory.url.pkgs", "org.jboss.naming");<br/>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; props.setProperty("java.naming.provider.url", rssURL);<br/>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; InitialContext ic;</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; ic = new InitialContext(props);<br/>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; lookup = (RSSLookupBeanRemote) ic.lookup("rssURL-lookup/RSSLookupBean/remote");&#160; </p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p>The stack trace is :</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p><span style="color: #333333;"><br/><span style="color: #999999;">04:48:15,676 ERROR [STDERR] javax.naming.NamingException: Could not dereference object [Root exception is java.lang.RuntimeException: Exception while trying to locate proxy factory in JNDI, at key ProxyFactory/30cm-lookup/RSSLookupBean/30cm-lookup/RSSLookupBean/remote]<br/>04:48:15,676 ERROR [STDERR]&#160;&#160;&#160;&#160; at org.jnp.interfaces.NamingContext.getObjectInstanceWrapFailure(NamingContext.java:1504)<br/>04:48:15,676 ERROR [STDERR]&#160;&#160;&#160;&#160; at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:822)<br/>04:48:15,676 ERROR [STDERR]&#160;&#160;&#160;&#160; at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:686)<br/>04:48:15,676 ERROR [STDERR]&#160;&#160;&#160;&#160; at javax.naming.InitialContext.lookup(InitialContext.java:392)<br/>04:48:15,676 ERROR [STDERR]&#160;&#160;&#160;&#160; at net.tss.vendors.underTheHood.webservice.UnderTheHoodInventoryManager.initLookUp(UnderTheHoodInventoryManager.java:55)<br/>04:48:15,676 ERROR [STDERR]&#160;&#160;&#160;&#160; at net.tss.vendors.underTheHood.webservice.UnderTheHoodInventoryManager.getAvailability(UnderTheHoodInventoryManager.java:72)<br/>04:48:15,676 ERROR [STDERR]&#160;&#160;&#160;&#160; at net.tss.app.service.inventory.ejb.InventoryBeanImpl.getAvailability(InventoryBeanImpl.java:68)<br/>04:48:15,676 ERROR [STDERR]&#160;&#160;&#160;&#160; at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)<br/>04:48:15,676 ERROR [STDERR]&#160;&#160;&#160;&#160; at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)<br/>04:48:15,676 ERROR [STDERR]&#160;&#160;&#160;&#160; at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)<br/>04:48:15,676 ERROR [STDERR]&#160;&#160;&#160;&#160; at java.lang.reflect.Method.invoke(Method.java:597)<br/>04:48:15,676 ERROR [STDERR]&#160;&#160;&#160;&#160; at org.jboss.aop.joinpoint.MethodInvocation.invokeTarget(MethodInvocation.java:122)<br/>04:48:15,676 ERROR [STDERR]&#160;&#160;&#160;&#160; at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:111)<br/>04:48:15,676 ERROR [STDERR]&#160;&#160;&#160;&#160; at org.jboss.ejb3.EJBContainerInvocationWrapper.invokeNext(EJBContainerInvocationWrapper.java:69)<br/>04:48:15,676 ERROR [STDERR]&#160;&#160;&#160;&#160; at org.jboss.ejb3.interceptors.aop.InterceptorSequencer.invoke(InterceptorSequencer.java:76)<br/>04:48:15,676 ERROR [STDERR]&#160;&#160;&#160;&#160; at org.jboss.ejb3.interceptors.aop.InterceptorSequencer.aroundInvoke(InterceptorSequencer.java:62)<br/>04:48:15,676 ERROR [STDERR]&#160;&#160;&#160;&#160; at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)<br/>04:48:15,676 ERROR [STDERR]&#160;&#160;&#160;&#160; at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)<br/>04:48:15,676 ERROR [STDERR]&#160;&#160;&#160;&#160; at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)<br/>04:48:15,676 ERROR [STDERR]&#160;&#160;&#160;&#160; at java.lang.reflect.Method.invoke(Method.java:597)<br/>04:48:15,677 ERROR [STDERR]&#160;&#160;&#160;&#160; at org.jboss.aop.advice.PerJoinpointAdvice.invoke(PerJoinpointAdvice.java:174)<br/>04:48:15,677 ERROR [STDERR]&#160;&#160;&#160;&#160; at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102)<br/>04:48:15,677 ERROR [STDERR]&#160;&#160;&#160;&#160; at org.jboss.ejb3.interceptors.aop.InvocationContextInterceptor.fillMethod(InvocationContextInterceptor.java:72)<br/>04:48:15,677 ERROR [STDERR]&#160;&#160;&#160;&#160; at org.jboss.aop.advice.org.jboss.ejb3.interceptors.aop.InvocationContextInterceptor_z_fillMethod_772475121.invoke(InvocationContextInterceptor_z_fillMethod_772475121.java)<br/>04:48:15,677 ERROR [STDERR]&#160;&#160;&#160;&#160; at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102)<br/>04:48:15,677 ERROR [STDERR]&#160;&#160;&#160;&#160; at org.jboss.ejb3.interceptors.aop.InvocationContextInterceptor.setup(InvocationContextInterceptor.java:88)<br/>04:48:15,677 ERROR [STDERR]&#160;&#160;&#160;&#160; at org.jboss.aop.advice.org.jboss.ejb3.interceptors.aop.InvocationContextInterceptor_z_setup_772475121.invoke(InvocationContextInterceptor_z_setup_772475121.java)<br/>04:48:15,677 ERROR [STDERR]&#160;&#160;&#160;&#160; at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102)<br/>04:48:15,677 ERROR [STDERR]&#160;&#160;&#160;&#160; at org.jboss.ejb3.connectionmanager.CachedConnectionInterceptor.invoke(CachedConnectionInterceptor.java:62)<br/>04:48:15,677 ERROR [STDERR]&#160;&#160;&#160;&#160; at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102)<br/>04:48:15,677 ERROR [STDERR]&#160;&#160;&#160;&#160; at org.jboss.ejb3.entity.TransactionScopedEntityManagerInterceptor.invoke(TransactionScopedEntityManagerInterceptor.java:56)<br/>04:48:15,677 ERROR [STDERR]&#160;&#160;&#160;&#160; at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102)<br/>04:48:15,677 ERROR [STDERR]&#160;&#160;&#160;&#160; at org.jboss.ejb3.AllowedOperationsInterceptor.invoke(AllowedOperationsInterceptor.java:47)<br/>04:48:15,677 ERROR [STDERR]&#160;&#160;&#160;&#160; at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102)<br/>04:48:15,677 ERROR [STDERR]&#160;&#160;&#160;&#160; at org.jboss.ejb3.tx.NullInterceptor.invoke(NullInterceptor.java:42)<br/>04:48:15,677 ERROR [STDERR]&#160;&#160;&#160;&#160; at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102)<br/>04:48:15,677 ERROR [STDERR]&#160;&#160;&#160;&#160; at org.jboss.ejb3.stateless.StatelessInstanceInterceptor.invoke(StatelessInstanceInterceptor.java:68)<br/>04:48:15,677 ERROR [STDERR]&#160;&#160;&#160;&#160; at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102)<br/>04:48:15,677 ERROR [STDERR]&#160;&#160;&#160;&#160; at org.jboss.aspects.tx.TxPolicy.invokeInOurTx(TxPolicy.java:79)<br/>04:48:15,677 ERROR [STDERR]&#160;&#160;&#160;&#160; at org.jboss.aspects.tx.TxInterceptor$Required.invoke(TxInterceptor.java:190)<br/>04:48:15,677 ERROR [STDERR]&#160;&#160;&#160;&#160; at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102)<br/>04:48:15,677 ERROR [STDERR]&#160;&#160;&#160;&#160; at org.jboss.aspects.tx.TxPropagationInterceptor.invoke(TxPropagationInterceptor.java:76)<br/>04:48:15,677 ERROR [STDERR]&#160;&#160;&#160;&#160; at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102)<br/>04:48:15,677 ERROR [STDERR]&#160;&#160;&#160;&#160; at org.jboss.ejb3.tx.NullInterceptor.invoke(NullInterceptor.java:42)<br/>04:48:15,677 ERROR [STDERR]&#160;&#160;&#160;&#160; at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102)<br/>04:48:15,677 ERROR [STDERR]&#160;&#160;&#160;&#160; at org.jboss.ejb3.security.Ejb3AuthenticationInterceptorv2.invoke(Ejb3AuthenticationInterceptorv2.java:186)<br/>04:48:15,677 ERROR [STDERR]&#160;&#160;&#160;&#160; at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102)<br/>04:48:15,677 ERROR [STDERR]&#160;&#160;&#160;&#160; at org.jboss.ejb3.ENCPropagationInterceptor.invoke(ENCPropagationInterceptor.java:41)<br/>04:48:15,677 ERROR [STDERR]&#160;&#160;&#160;&#160; at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102)<br/>04:48:15,677 ERROR [STDERR]&#160;&#160;&#160;&#160; at org.jboss.ejb3.BlockContainerShutdownInterceptor.invoke(BlockContainerShutdownInterceptor.java:67)<br/>04:48:15,677 ERROR [STDERR]&#160;&#160;&#160;&#160; at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102)<br/>04:48:15,677 ERROR [STDERR]&#160;&#160;&#160;&#160; at org.jboss.aspects.currentinvocation.CurrentInvocationInterceptor.invoke(CurrentInvocationInterceptor.java:67)<br/>04:48:15,677 ERROR [STDERR]&#160;&#160;&#160;&#160; at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102)<br/>04:48:15,677 ERROR [STDERR]&#160;&#160;&#160;&#160; at org.jboss.ejb3.stateless.StatelessContainer.dynamicInvoke(StatelessContainer.java:438)<br/>04:48:15,677 ERROR [STDERR]&#160;&#160;&#160;&#160; at org.jboss.ejb3.remoting.IsLocalInterceptor.invokeLocal(IsLocalInterceptor.java:85)<br/>04:48:15,677 ERROR [STDERR]&#160;&#160;&#160;&#160; at org.jboss.ejb3.remoting.IsLocalInterceptor.invoke(IsLocalInterceptor.java:72)<br/>04:48:15,677 ERROR [STDERR]&#160;&#160;&#160;&#160; at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102)<br/>04:48:15,677 ERROR [STDERR]&#160;&#160;&#160;&#160; at org.jboss.aspects.remoting.PojiProxy.invoke(PojiProxy.java:62)<br/>04:48:15,677 ERROR [STDERR]&#160;&#160;&#160;&#160; at $Proxy332.invoke(Unknown Source)<br/>04:48:15,678 ERROR [STDERR]&#160;&#160;&#160;&#160; at org.jboss.ejb3.proxy.impl.handler.session.SessionProxyInvocationHandlerBase.invoke(SessionProxyInvocationHandlerBase.java:188)<br/>04:48:15,678 ERROR [STDERR]&#160;&#160;&#160;&#160; at $Proxy333.getAvailability(Unknown Source)<br/>04:48:15,678 ERROR [STDERR]&#160;&#160;&#160;&#160; at com.delightCustomer.web.catalog.helper.InventoryCheckHelper.getInventoryForItem(InventoryCheckHelper.java:103)<br/>04:48:15,678 ERROR [STDERR]&#160;&#160;&#160;&#160; at com.delightCustomer.web.action.AddToCartAction.checkStockForItem(AddToCartAction.java:417)<br/>04:48:15,678 ERROR [STDERR]&#160;&#160;&#160;&#160; at com.delightCustomer.web.action.AddToCartAction.getNextView(AddToCartAction.java:297)<br/>04:48:15,678 ERROR [STDERR]&#160;&#160;&#160;&#160; at com.delightCustomer.web.action.AddToCartAction.doDefault(AddToCartAction.java:163)<br/>04:48:15,678 ERROR [STDERR]&#160;&#160;&#160;&#160; at com.delightCustomer.web.action.AddToCartAction.doDisplay(AddToCartAction.java:479)<br/>04:48:15,678 ERROR [STDERR]&#160;&#160;&#160;&#160; at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)<br/>04:48:15,678 ERROR [STDERR]&#160;&#160;&#160;&#160; at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)<br/>04:48:15,678 ERROR [STDERR]&#160;&#160;&#160;&#160; at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)<br/>04:48:15,678 ERROR [STDERR]&#160;&#160;&#160;&#160; at java.lang.reflect.Method.invoke(Method.java:597)<br/>04:48:15,678 ERROR [STDERR]&#160;&#160;&#160;&#160; at com.delightCustomer.web.DelightCustomerFrontController.processRequest(DelightCustomerFrontController.java:313)<br/>04:48:15,678 ERROR [STDERR]&#160;&#160;&#160;&#160; at com.delightCustomer.web.DelightCustomerFrontController.doPost(DelightCustomerFrontController.java:1309)<br/>04:48:15,678 ERROR [STDERR]&#160;&#160;&#160;&#160; at javax.servlet.http.HttpServlet.service(HttpServlet.java:637)<br/>04:48:15,678 ERROR [STDERR]&#160;&#160;&#160;&#160; at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)<br/>04:48:15,678 ERROR [STDERR]&#160;&#160;&#160;&#160; at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)<br/>04:48:15,678 ERROR [STDERR]&#160;&#160;&#160;&#160; at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)<br/>04:48:15,678 ERROR [STDERR]&#160;&#160;&#160;&#160; at org.tuckey.web.filters.urlrewrite.UrlRewriteFilter.doFilter(UrlRewriteFilter.java:738)<br/>04:48:15,678 ERROR [STDERR]&#160;&#160;&#160;&#160; at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)<br/>04:48:15,678 ERROR [STDERR]&#160;&#160;&#160;&#160; at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)<br/>04:48:15,678 ERROR [STDERR]&#160;&#160;&#160;&#160; at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)<br/>04:48:15,678 ERROR [STDERR]&#160;&#160;&#160;&#160; at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)<br/>04:48:15,678 ERROR [STDERR]&#160;&#160;&#160;&#160; at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)<br/>04:48:15,678 ERROR [STDERR]&#160;&#160;&#160;&#160; at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:235)<br/>04:48:15,678 ERROR [STDERR]&#160;&#160;&#160;&#160; at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)<br/>04:48:15,678 ERROR [STDERR]&#160;&#160;&#160;&#160; at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:190)<br/>04:48:15,678 ERROR [STDERR]&#160;&#160;&#160;&#160; at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:433)<br/>04:48:15,678 ERROR [STDERR]&#160;&#160;&#160;&#160; at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:92)<br/>04:48:15,678 ERROR [STDERR]&#160;&#160;&#160;&#160; at org.jboss.web.tomcat.security.SecurityContextEstablishmentValve.process(SecurityContextEstablishmentValve.java:126)<br/>04:48:15,678 ERROR [STDERR]&#160;&#160;&#160;&#160; at org.jboss.web.tomcat.security.SecurityContextEstablishmentValve.invoke(SecurityContextEstablishmentValve.java:70)<br/>04:48:15,678 ERROR [STDERR]&#160;&#160;&#160;&#160; at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)<br/>04:48:15,678 ERROR [STDERR]&#160;&#160;&#160;&#160; at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)<br/>04:48:15,678 ERROR [STDERR]&#160;&#160;&#160;&#160; at org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:158)<br/>04:48:15,678 ERROR [STDERR]&#160;&#160;&#160;&#160; at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:567)<br/>04:48:15,678 ERROR [STDERR]&#160;&#160;&#160;&#160; at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)<br/>04:48:15,679 ERROR [STDERR]&#160;&#160;&#160;&#160; at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:330)<br/>04:48:15,679 ERROR [STDERR]&#160;&#160;&#160;&#160; at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:829)<br/>04:48:15,679 ERROR [STDERR]&#160;&#160;&#160;&#160; at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:598)<br/>04:48:15,679 ERROR [STDERR]&#160;&#160;&#160;&#160; at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)<br/>04:48:15,679 ERROR [STDERR]&#160;&#160;&#160;&#160; at java.lang.Thread.run(Thread.java:619)<br/>04:48:15,679 ERROR [STDERR] Caused by: java.lang.RuntimeException: Exception while trying to locate proxy factory in JNDI, at key ProxyFactory/30cm-lookup/RSSLookupBean/30cm-lookup/RSSLookupBean/remote<br/>04:48:15,679 ERROR [STDERR]&#160;&#160;&#160;&#160; at org.jboss.ejb3.proxy.impl.objectfactory.ProxyObjectFactory.getProxyFactoryFromJNDI(ProxyObjectFactory.java:249)<br/>04:48:15,679 ERROR [STDERR]&#160;&#160;&#160;&#160; at org.jboss.ejb3.proxy.impl.objectfactory.ProxyObjectFactory.getObjectInstance(ProxyObjectFactory.java:157)<br/>04:48:15,679 ERROR [STDERR]&#160;&#160;&#160;&#160; at javax.naming.spi.NamingManager.getObjectInstance(NamingManager.java:304)<br/>04:48:15,679 ERROR [STDERR]&#160;&#160;&#160;&#160; at org.jnp.interfaces.NamingContext.getObjectInstance(NamingContext.java:1479)<br/>04:48:15,679 ERROR [STDERR]&#160;&#160;&#160;&#160; at org.jnp.interfaces.NamingContext.getObjectInstanceWrapFailure(NamingContext.java:1496)<br/>04:48:15,679 ERROR [STDERR]&#160;&#160;&#160;&#160; ... 98 more<br/>04:48:15,679 ERROR [STDERR] Caused by: javax.naming.NameNotFoundException: ProxyFactory not bound<br/>04:48:15,679 ERROR [STDERR]&#160;&#160;&#160;&#160; at org.jnp.server.NamingServer.getBinding(NamingServer.java:771)<br/>04:48:15,679 ERROR [STDERR]&#160;&#160;&#160;&#160; at org.jnp.server.NamingServer.getBinding(NamingServer.java:779)<br/>04:48:15,679 ERROR [STDERR]&#160;&#160;&#160;&#160; at org.jnp.server.NamingServer.getObject(NamingServer.java:785)<br/>04:48:15,679 ERROR [STDERR]&#160;&#160;&#160;&#160; at org.jnp.server.NamingServer.lookup(NamingServer.java:396)<br/>04:48:15,679 ERROR [STDERR]&#160;&#160;&#160;&#160; at sun.reflect.GeneratedMethodAccessor646.invoke(Unknown Source)<br/>04:48:15,679 ERROR [STDERR]&#160;&#160;&#160;&#160; at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)<br/>04:48:15,679 ERROR [STDERR]&#160;&#160;&#160;&#160; at java.lang.reflect.Method.invoke(Method.java:597)<br/>04:48:15,679 ERROR [STDERR]&#160;&#160;&#160;&#160; at sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:305)<br/>04:48:15,679 ERROR [STDERR]&#160;&#160;&#160;&#160; at sun.rmi.transport.Transport$1.run(Transport.java:159)<br/>04:48:15,680 ERROR [STDERR]&#160;&#160;&#160;&#160; at java.security.AccessController.doPrivileged(Native Method)<br/>04:48:15,680 ERROR [STDERR]&#160;&#160;&#160;&#160; at sun.rmi.transport.Transport.serviceCall(Transport.java:155)<br/>04:48:15,680 ERROR [STDERR]&#160;&#160;&#160;&#160; at sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:535)<br/>04:48:15,680 ERROR [STDERR]&#160;&#160;&#160;&#160; at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run0(TCPTransport.java:790)<br/>04:48:15,680 ERROR [STDERR]&#160;&#160;&#160;&#160; at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:649)<br/>04:48:15,680 ERROR [STDERR]&#160;&#160;&#160;&#160; at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)<br/>04:48:15,680 ERROR [STDERR]&#160;&#160;&#160;&#160; at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)<br/>04:48:15,680 ERROR [STDERR]&#160;&#160;&#160;&#160; at java.lang.Thread.run(Thread.java:619)<br/>04:48:15,680 ERROR [STDERR]&#160;&#160;&#160;&#160; at sun.rmi.transport.StreamRemoteCall.exceptionReceivedFromServer(StreamRemoteCall.java:255)<br/>04:48:15,680 ERROR [STDERR]&#160;&#160;&#160;&#160; at sun.rmi.transport.StreamRemoteCall.executeCall(StreamRemoteCall.java:233)<br/>04:48:15,680 ERROR [STDERR]&#160;&#160;&#160;&#160; at sun.rmi.server.UnicastRef.invoke(UnicastRef.java:142)<br/>04:48:15,680 ERROR [STDERR]&#160;&#160;&#160;&#160; at org.jnp.server.NamingServer_Stub.lookup(Unknown Source)<br/>04:48:15,680 ERROR [STDERR]&#160;&#160;&#160;&#160; at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:726)<br/>04:48:15,680 ERROR [STDERR]&#160;&#160;&#160;&#160; at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:686)<br/>04:48:15,680 ERROR [STDERR]&#160;&#160;&#160;&#160; at org.jboss.ejb3.proxy.impl.objectfactory.ProxyObjectFactory.getProxyFactoryFromJNDI(ProxyObjectFactory.java:240)<br/>04:48:15,680 ERROR [STDERR]&#160;&#160;&#160;&#160; ... 102 more </span></span></p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p><span>as given in </span><a class="jive-link-external-small" href="http://community.jboss.org/thread/149330" target="_blank">http://community.jboss.org/thread/149330</a><span>, I tried changing</span></p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p>lookup = (RSSLookupBeanRemote) ic.lookup("rssURL-lookup/RSSLookupBean/remote");</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p>to</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p>lookup = (RSSLookupBeanRemote) ic.lookup("rssURL-lookup/RSSLookupBean/remote-com.rss.feedmgr.ejb.stateless.beans.RSSLookupBean");</p><p style="min-height: 8pt; height: 8pt; padding: 0px;"><span style="color: #999999;"> </span>&#160;</p><p><span style="color: #999999;"><span style="color: #000000;">Even then the same error is thrown.</span><span style="color: #000000;"> It would be of help if someone can help.</span><br/></span></p></div>

<div style="background-color: #f4f4f4; padding: 10px; margin-top: 20px;">
    <p style="margin: 0;">Reply to this message by <a href="http://community.jboss.org/message/559518#559518">going to Community</a></p>
        <p style="margin: 0;">Start a new discussion in EJB 3.0 at <a href="http://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2029">Community</a></p>
</div></td>
                        </tr>
                    </tbody>
                </table>


                </td>
            </tr>
        </tbody>
    </table>

</div>

</body>
</html>