7 Replies Latest reply on Jul 18, 2007 4:02 PM by jaikiran

    NameNotFoundException thrown even though JBOSS not running,

    ericjkaplan

      It's strange. In our development environment, if JBOSS isn't running and we attempt to run a client, we get the following exception as soon as we try and Context.lookup(String name) where we are looking up a JMS connection factory:

      javax.naming.CommunicationException: Could not obtain connection to any of these urls: localhost:1099 and discovery failed with error: javax.naming.CommunicationException: Receive timed out [Root exception is java.net.SocketTimeoutException: Receive timed out] [Root exception is javax.naming.CommunicationException: Failed to connect to server localhost:1099 [Root exception is javax.naming.ServiceUnavailableException: Failed to connect to server localhost:1099 [Root exception is java.net.ConnectException: Connection refused: connect]]]
      at org.jnp.interfaces.NamingContext.checkRef(NamingContext.java:1399)
      at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:579)
      at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:572)
      at javax.naming.InitialContext.lookup(InitialContext.java:347)
      at test.SimpleJNDIClient.main(SimpleJNDIClient.java:26)
      Caused by: javax.naming.CommunicationException: Failed to connect to server localhost:1099 [Root exception is javax.naming.ServiceUnavailableException: Failed to connect to server localhost:1099 [Root exception is java.net.ConnectException: Connection refused: connect]]
      at org.jnp.interfaces.NamingContext.getServer(NamingContext.java:254)
      at org.jnp.interfaces.NamingContext.checkRef(NamingContext.java:1370)
      ... 4 more
      Caused by: javax.naming.ServiceUnavailableException: Failed to connect to server localhost:1099 [Root exception is java.net.ConnectException: Connection refused: connect]
      at org.jnp.interfaces.NamingContext.getServer(NamingContext.java:228)
      ... 5 more
      Caused by: java.net.ConnectException: Connection refused: connect
      at java.net.PlainSocketImpl.socketConnect(Native Method)
      at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:305)
      at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:171)
      at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:158)
      at java.net.Socket.connect(Socket.java:464)
      at java.net.Socket.connect(Socket.java:414)
      at java.net.Socket.(Socket.java:310)
      at java.net.Socket.(Socket.java:212)
      at org.jnp.interfaces.TimedSocketFactory.createSocket(TimedSocketFactory.java:69)
      at org.jnp.interfaces.TimedSocketFactory.createSocket(TimedSocketFactory.java:62)
      at org.jnp.interfaces.NamingContext.getServer(NamingContext.java:224)
      ... 5 more



      However, when we run the same code in our client's environment, even though JBOSS isn't running it seems to call some ha code that attempts to do the lookup anyway and fails. The exception, with the exact same code, is now:


      javax.naming.NameNotFoundException: ConnectionFactory
      at org.jboss.ha.jndi.TreeHead.lookup(TreeHead.java:223)
      at org.jboss.ha.jndi.HAJNDI.lookup(HAJNDI.java:134)
      at sun.reflect.GeneratedMethodAccessor78.invoke(Unknown Source)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:585)
      at org.jboss.ha.framework.server.HARMIServerImpl.invoke(HARMIServerImpl.java:194)
      at sun.reflect.GeneratedMethodAccessor75.invoke(Unknown Source)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:585)
      at sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:294)
      at sun.rmi.transport.Transport$1.run(Transport.java:153)
      at java.security.AccessController.doPrivileged(Native Method)
      at sun.rmi.transport.Transport.serviceCall(Transport.java:149)
      at sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:466)
      at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:707)
      at java.lang.Thread.run(Thread.java:595)
      at sun.rmi.transport.StreamRemoteCall.exceptionReceivedFromServer(StreamRemoteCall.java:247)
      at sun.rmi.transport.StreamRemoteCall.executeCall(StreamRemoteCall.java:223)
      at sun.rmi.server.UnicastRef.invoke(UnicastRef.java:133)
      at org.jboss.ha.framework.server.HARMIServerImpl_Stub.invoke(Unknown Source)
      at org.jboss.ha.framework.interfaces.HARMIClient.invokeRemote(HARMIClient.java:153)
      at org.jboss.ha.framework.interfaces.HARMIClient.invoke(HARMIClient.java:238)
      at $Proxy0.lookup(Unknown Source)
      at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:610)
      at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:572)
      at javax.naming.InitialContext.lookup(InitialContext.java:347)
      at test.SimpleJNDIClient.main(SimpleJNDIClient.java:26)

      We are very mystefied at what the difference might be? Can someone please illuminate us as to what might be going on?

      Thanks!

        • 1. Re: NameNotFoundException thrown even though JBOSS not runni
          jaikiran

          Going by the "ha" stacktrace it appears to be connecting to HAJNDI. Is the JBoss server where you are seeing this NameNotFoundException part of a cluster, in which the request is being routed to a running JBoss instance? How was the server started? I mean did you start the server as:

          run -c all


          P.S. I am not good at clustering, my only experience with it being a sample applicaiton, so i might be completely off-target.

          • 2. Re: NameNotFoundException thrown even though JBOSS not runni
            ericjkaplan

            No, at least I don't think it's part of a cluster. :) Simply download JBOSS and run with minimal configuration.

            Yes, we do start the server as:

            run -c all


            • 3. Re: NameNotFoundException thrown even though JBOSS not runni
              jaikiran

               

              "ekaye" wrote:

              Yes, we do start the server as:

              run -c all


              That's it. When you start the server in the "all" configuration, its going to be cluster enabled. If there are any running instances of JBoss in your network then this server and the other server together form the cluster.

              In your case, i guess there is a running instance of JBoss which is being picked up as part of the cluster when you start it in "all" configuration.

              • 4. Re: NameNotFoundException thrown even though JBOSS not runni
                ericjkaplan

                I'm not so sure about that. First, I was probably too quick to say run -c all. I actually copy the "default" server configuration and modify that as I see fit. So no, I apologize, I'm not using the all configuration.

                That being said, how I start JBOSS shouldn't matter, since I don't have any JBOSS instances running as far as I can tell. I have the jbossall-client.jar in my classpath, but that's about it.

                • 5. Re: NameNotFoundException thrown even though JBOSS not runni
                  jaikiran

                  What does the contents of your jndi.properties on the client side look like? Also, can you post the server startup logs (the last time it was up)?


                  • 6. Re: NameNotFoundException thrown even though JBOSS not runni
                    ericjkaplan

                    Sure:

                    The jndi.properties file is:

                    java.naming.factory.initial=org.jnp.interfaces.NamingContextFactory
                    java.naming.provider.url=localhost:1099
                    java.naming.factory.url.pkgs=org.jboss.naming:org.jnp.interfaces


                    The server.log is:

                    16:33:04,249 INFO [Server] Starting JBoss (MX MicroKernel)...
                    16:33:04,249 INFO [Server] Release ID: JBoss [Zion] 4.0.3SP1 (build: CVSTag=JBoss_4_0_3_SP1 date=200510231054)
                    16:33:04,249 INFO [Server] Home Dir: C:\jboss-4.0.3SP1
                    16:33:04,249 INFO [Server] Home URL: file:/C:/jboss-4.0.3SP1/
                    16:33:04,249 INFO [Server] Patch URL: null
                    16:33:04,249 INFO [Server] Server Name: fidelity
                    16:33:04,249 INFO [Server] Server Home Dir: C:\jboss-4.0.3SP1\server\fidelity
                    16:33:04,249 INFO [Server] Server Home URL: file:/C:/jboss-4.0.3SP1/server/fidelity/
                    16:33:04,249 INFO [Server] Server Temp Dir: C:\jboss-4.0.3SP1\server\fidelity\tmp
                    16:33:04,249 INFO [Server] Root Deployment Filename: jboss-service.xml
                    16:33:04,860 INFO [ServerInfo] Java version: 1.4.2_14,Sun Microsystems Inc.
                    16:33:04,860 INFO [ServerInfo] Java VM: Java HotSpot(TM) Client VM 1.4.2_14-b05,Sun Microsystems Inc.
                    16:33:04,860 INFO [ServerInfo] OS-System: Windows XP 5.1,x86
                    16:33:05,471 INFO [Server] Core system initialized
                    16:33:08,479 INFO [WebService] Using RMI server codebase: http://MMKA482159:8083/
                    16:33:08,510 INFO [Log4jService$URLWatchTimerTask] Configuring from URL: resource:log4j.xml
                    16:33:08,855 INFO [NamingService] Started jndi bootstrap jnpPort=1099, rmiPort=1098, backlog=50, bindAddress=/0.0.0.0, Client SocketFactory=null, Server SocketFactory=org.jboss.net.sockets.DefaultSocketFactory@ad093076
                    16:33:17,376 INFO [Embedded] Catalina naming disabled
                    16:33:18,018 INFO [Http11Protocol] Initializing Coyote HTTP/1.1 on http-0.0.0.0-8080
                    16:33:18,018 INFO [Catalina] Initialization processed in 563 ms
                    16:33:18,018 INFO [StandardService] Starting service jboss.web
                    16:33:18,018 INFO [StandardEngine] Starting Servlet Engine: Apache Tomcat/5.5
                    16:33:18,065 INFO [StandardHost] XML validation disabled
                    16:33:18,112 INFO [Catalina] Server startup in 94 ms
                    16:33:18,285 INFO [TomcatDeployer] deploy, ctxPath=/invoker, warUrl=.../deploy/http-invoker.sar/invoker.war/
                    16:33:18,723 INFO [WebappLoader] Dual registration of jndi stream handler: factory already defined
                    16:33:19,334 INFO [TomcatDeployer] deploy, ctxPath=/ws4ee, warUrl=.../tmp/deploy/tmp45992jboss-ws4ee-exp.war/
                    16:33:19,475 INFO [TomcatDeployer] deploy, ctxPath=/, warUrl=.../deploy/jbossweb-tomcat55.sar/ROOT.war/
                    16:33:19,695 INFO [TomcatDeployer] deploy, ctxPath=/jbossmq-httpil, warUrl=.../deploy/jms/jbossmq-httpil.sar/jbossmq-httpil.war/
                    16:33:22,201 INFO [TomcatDeployer] deploy, ctxPath=/web-console, warUrl=.../deploy/management/console-mgr.sar/web-console.war/
                    16:33:23,344 INFO [MailService] Mail Service bound to java:/Mail
                    16:33:23,877 INFO [RARDeployment] Required license terms exist, view META-INF/ra.xml in .../deploy/jboss-ha-local-jdbc.rar
                    16:33:24,002 INFO [RARDeployment] Required license terms exist, view META-INF/ra.xml in .../deploy/jboss-ha-xa-jdbc.rar
                    16:33:24,159 INFO [RARDeployment] Required license terms exist, view META-INF/ra.xml in .../deploy/jboss-local-jdbc.rar
                    16:33:24,269 INFO [RARDeployment] Required license terms exist, view META-INF/ra.xml in .../deploy/jboss-xa-jdbc.rar
                    16:33:24,378 INFO [RARDeployment] Required license terms exist, view META-INF/ra.xml in .../deploy/jms/jms-ra.rar
                    16:33:24,488 INFO [RARDeployment] Required license terms exist, view META-INF/ra.xml in .../deploy/mail-ra.rar
                    16:33:25,584 INFO [ConnectionFactoryBindingService] Bound ConnectionManager 'jboss.jca:name=DefaultDS,service=DataSourceBinding' to JNDI name 'java:DefaultDS'
                    16:33:25,929 INFO [A] Bound to JNDI name: queue/A
                    16:33:25,945 INFO [B] Bound to JNDI name: queue/B
                    16:33:25,945 INFO [C] Bound to JNDI name: queue/C
                    16:33:25,945 INFO [D] Bound to JNDI name: queue/D
                    16:33:25,945 INFO [ex] Bound to JNDI name: queue/ex
                    16:33:25,976 INFO [testTopic] Bound to JNDI name: topic/testTopic
                    16:33:25,976 INFO [pool] Bound to JNDI name: topic/pool
                    16:33:25,976 INFO [ReportBroadcast] Bound to JNDI name: topic/ReportBroadcast
                    16:33:25,976 INFO [Heartbeat] Bound to JNDI name: topic/Heartbeat
                    16:33:25,976 INFO [positions] Bound to JNDI name: topic/positions
                    16:33:25,976 INFO [feedhandler] Bound to JNDI name: topic/feedhandler
                    16:33:25,976 INFO [compliance] Bound to JNDI name: topic/compliance
                    16:33:25,992 INFO [securedTopic] Bound to JNDI name: topic/securedTopic
                    16:33:25,992 INFO [testDurableTopic] Bound to JNDI name: topic/testDurableTopic
                    16:33:25,992 INFO [testQueue] Bound to JNDI name: queue/testQueue
                    16:33:26,007 INFO [compliance] Bound to JNDI name: queue/compliance
                    16:33:26,007 INFO [StockQuoteRequest] Bound to JNDI name: queue/StockQuoteRequest
                    16:33:26,007 INFO [LoginRequest] Bound to JNDI name: queue/LoginRequest
                    16:33:26,007 INFO [WorkflowRequest_1] Bound to JNDI name: queue/WorkflowRequest_1
                    16:33:26,007 INFO [ReportRequest1] Bound to JNDI name: queue/ReportRequest1
                    16:33:26,007 INFO [ReportRequest2] Bound to JNDI name: queue/ReportRequest2
                    16:33:26,007 INFO [ReportServer1] Bound to JNDI name: queue/ReportServer1
                    16:33:26,023 INFO [ReportServer2] Bound to JNDI name: queue/ReportServer2
                    16:33:26,023 INFO [ReportServer3] Bound to JNDI name: queue/ReportServer3
                    16:33:26,023 INFO [ReportServer4] Bound to JNDI name: queue/ReportServer4
                    16:33:26,023 INFO [EMServer1] Bound to JNDI name: queue/EMServer1
                    16:33:26,023 INFO [EMServer2] Bound to JNDI name: queue/EMServer2
                    16:33:26,101 INFO [UILServerILService] JBossMQ UIL service available at : /0.0.0.0:8093
                    16:33:26,164 INFO [DLQ] Bound to JNDI name: queue/DLQ
                    16:33:26,321 INFO [ConnectionFactoryBindingService] Bound ConnectionManager 'jboss.jca:name=jdbc/ArmantaDB,service=DataSourceBinding' to JNDI name 'java:jdbc/ArmantaDB'
                    16:33:26,352 INFO [STDOUT] [Server@6aa95b]: [Thread[hypersonic-default,5,jboss]]: checkRunning(false) entered
                    16:33:26,352 INFO [STDOUT] [Server@6aa95b]: [Thread[hypersonic-default,5,jboss]]: checkRunning(false) exited
                    16:33:26,352 INFO [STDOUT] [Server@6aa95b]: Startup sequence initiated from main() method
                    16:33:26,352 INFO [STDOUT] [Server@6aa95b]: Loaded properties from [C:\jboss-4.0.3SP1\bin\server.properties]
                    16:33:26,352 INFO [STDOUT] [Server@6aa95b]: Initiating startup sequence...
                    16:33:26,368 INFO [STDOUT] [Server@6aa95b]: Server socket opened successfully in 16 ms.
                    16:33:26,571 INFO [ConnectionFactoryBindingService] Bound ConnectionManager 'jboss.jca:name=JmsXA,service=ConnectionFactoryBinding' to JNDI name 'java:JmsXA'
                    16:33:26,587 INFO [STDOUT] [Server@6aa95b]: Database [index=0, id=1, db=file:C:\jboss-4.0.3SP1\server\fidelity\data\hypersonic\default, alias=] opened sucessfully in 219 ms.
                    16:33:26,587 INFO [STDOUT] [Server@6aa95b]: Startup sequence completed in 235 ms.
                    16:33:26,587 INFO [STDOUT] [Server@6aa95b]: 2007-07-17 16:33:26.587 HSQLDB server 1.8.0 is online
                    16:33:26,587 INFO [STDOUT] [Server@6aa95b]: To close normally, connect and execute SHUTDOWN SQL
                    16:33:26,587 INFO [STDOUT] [Server@6aa95b]: From command line, use [Ctrl]+[C] to abort abruptly
                    16:33:26,665 INFO [ConnectionFactoryBindingService] Bound ConnectionManager 'jboss.jca:name=ArmantaDS,service=DataSourceBinding' to JNDI name 'java:ArmantaDS'
                    16:33:26,759 INFO [ConnectionFactoryBindingService] Bound ConnectionManager 'jboss.jca:name=FidelityDS,service=DataSourceBinding' to JNDI name 'java:FidelityDS'
                    16:33:26,806 INFO [TomcatDeployer] deploy, ctxPath=/jmx-console, warUrl=.../deploy/jmx-console.war/
                    16:33:27,355 INFO [EARDeployer] Init J2EE application: file:/C:/jboss-4.0.3SP1/server/fidelity/deploy/fidelity.ear
                    16:33:30,159 INFO [EjbModule] Deploying ejb/FileParser
                    16:33:30,347 INFO [EjbModule] Deploying ejb/Coldefs
                    16:33:30,347 INFO [EjbModule] Deploying ejb/Preload
                    16:33:30,362 INFO [EjbModule] Deploying ejb/PreloadGroup
                    16:33:30,362 INFO [EjbModule] Deploying ejb/AuditTrail
                    16:33:30,378 INFO [EjbModule] Deploying ejb/ComplianceRule
                    16:33:30,378 INFO [EjbModule] Deploying ejb/Identifier
                    16:33:30,394 INFO [EjbModule] Deploying ejb/MetaRule
                    16:33:30,394 INFO [EjbModule] Deploying ejb/MetaRuleAssociation
                    16:33:30,409 INFO [EjbModule] Deploying ejb/MetaRuleConfiguration
                    16:33:30,409 INFO [EjbModule] Deploying ejb/PortfolioMetaData
                    16:33:30,425 INFO [EjbModule] Deploying ejb/Blob
                    16:33:30,441 INFO [EjbModule] Deploying ejb/UserWorkspace
                    16:33:30,441 INFO [EjbModule] Deploying ejb/Workspace
                    16:33:30,456 INFO [EjbModule] Deploying ejb/PortTree
                    16:33:30,456 INFO [EjbModule] Deploying ejb/Reportdef
                    16:33:30,472 INFO [EjbModule] Deploying ejb/Grouping
                    16:33:30,488 INFO [EjbModule] Deploying ejb/Logic
                    16:33:30,488 INFO [EjbModule] Deploying ejb/LogicAudit
                    16:33:30,503 INFO [EjbModule] Deploying ejb/Sandbox
                    16:33:30,503 INFO [EjbModule] Deploying ejb/Branch
                    16:33:30,519 INFO [EjbModule] Deploying ejb/Tree
                    16:33:30,519 INFO [EjbModule] Deploying ejb/User
                    16:33:30,534 INFO [EjbModule] Deploying ejb/PasswordControl
                    16:33:30,534 INFO [EjbModule] Deploying ejb/Authorization
                    16:33:30,550 INFO [EjbModule] Deploying ejb/UserProperty
                    16:33:30,550 INFO [EjbModule] Deploying ejb/GroupProperty
                    16:33:30,566 INFO [EjbModule] Deploying ejb/Lookup
                    16:33:30,581 INFO [EjbModule] Deploying ejb/WorkflowTask
                    16:33:30,581 INFO [EjbModule] Deploying ejb/WorkgroupMap
                    16:33:30,597 INFO [EjbModule] Deploying ejb/Workflow
                    16:33:30,597 INFO [EjbModule] Deploying ejb/WorkflowPath
                    16:33:30,613 INFO [EjbModule] Deploying ejb/WorkflowEvent
                    16:33:30,613 INFO [EjbModule] Deploying ejb/AuditTrailMaster
                    16:33:30,644 INFO [EjbModule] Deploying ejb/ResourceManager
                    16:33:30,660 INFO [EjbModule] Deploying ejb/ColdefsMaster
                    16:33:30,660 INFO [EjbModule] Deploying ejb/IdentifierMaster
                    16:33:30,675 INFO [EjbModule] Deploying ejb/PreloadManager
                    16:33:30,691 INFO [EjbModule] Deploying ejb/WorkflowEngine
                    16:33:30,707 INFO [EjbModule] Deploying ejb/LookupMaster
                    16:33:30,707 INFO [EjbModule] Deploying ejb/PortTreeMaster
                    16:33:30,722 INFO [EjbModule] Deploying ejb/ReportdefMaster
                    16:33:30,722 INFO [EjbModule] Deploying ejb/ProfileController
                    16:33:30,738 INFO [EjbModule] Deploying ejb/RuleManager
                    16:33:30,738 INFO [EjbModule] Deploying ejb/GroupingMaster
                    16:33:30,754 INFO [EjbModule] Deploying ejb/LogicMaster
                    16:33:30,754 INFO [EjbModule] Deploying ejb/SandboxMaster
                    16:33:30,769 INFO [EjbModule] Deploying ejb/TreeMaster
                    16:33:30,785 INFO [EjbModule] Deploying ejb/UserMaster
                    16:33:30,785 INFO [EjbModule] Deploying ejb/WorkspaceMaster
                    16:33:30,801 INFO [EjbModule] Deploying ejb/AccessController
                    16:33:30,801 INFO [EjbModule] Deploying ejb/UserPropertiesMaster
                    16:33:30,816 INFO [EjbModule] Deploying ejb/PortfolioMaster
                    16:33:30,832 INFO [EjbModule] Deploying ejb/RunTime
                    16:33:30,832 INFO [EjbModule] Deploying ejb/SandboxLoader
                    16:33:30,848 INFO [EjbModule] Deploying ejb/Converter4_5
                    16:33:31,772 INFO [EjbModule] Deploying ejb/Instrument
                    16:33:31,772 INFO [EjbModule] Deploying ejb/FundDetail
                    16:33:31,788 INFO [EjbModule] Deploying ejb/Analytics
                    16:33:31,788 INFO [EjbModule] Deploying ejb/Holding
                    16:33:31,803 INFO [EjbModule] Deploying ejb/RolodexHolding
                    16:33:31,803 INFO [EjbModule] Deploying ejb/Scenarios
                    16:33:31,819 INFO [EjbModule] Deploying ejb/FundDataSetProxy
                    16:33:31,819 INFO [EjbModule] Deploying ejb/LehLev1RefEntityProxy
                    16:33:31,835 INFO [EjbModule] Deploying ejb/FundDetailEntityProxy
                    16:33:31,835 INFO [EjbModule] Deploying ejb/HoldingEntityProxy
                    16:33:31,850 INFO [EjbModule] Deploying ejb/RolodexHoldingEntityProxy
                    16:33:31,850 INFO [EjbModule] Deploying ejb/TradeEntityProxy
                    16:33:31,866 INFO [EjbModule] Deploying ejb/EnvironmentProxy
                    16:33:31,882 INFO [EjbModule] Deploying ejb/InstrumentRefEntityProxy
                    16:33:31,882 INFO [EjbModule] Deploying ejb/ScenariosEntityProxy
                    16:33:31,882 INFO [EjbModule] Deploying ejb/AnalyticsEntityProxy
                    16:33:32,665 INFO [STDOUT] Installing Armanta System Adaptors for Logging...
                    16:33:32,759 INFO [ProxyFactory] Bound EJB Home 'ejb/FileParser' to jndi 'ejb/FileParser'
                    16:33:32,790 INFO [ProxyFactory] Bound EJB Home 'ejb/Coldefs' to jndi 'ejb/Coldefs'
                    16:33:32,806 INFO [ProxyFactory] Bound EJB Home 'ejb/Preload' to jndi 'ejb/Preload'
                    16:33:32,822 INFO [ProxyFactory] Bound EJB Home 'ejb/PreloadGroup' to jndi 'ejb/PreloadGroup'
                    16:33:32,837 INFO [ProxyFactory] Bound EJB Home 'ejb/AuditTrail' to jndi 'ejb/AuditTrail'
                    16:33:32,853 INFO [ProxyFactory] Bound EJB Home 'ejb/ComplianceRule' to jndi 'ejb/ComplianceRule'
                    16:33:32,869 INFO [ProxyFactory] Bound EJB Home 'ejb/Identifier' to jndi 'ejb/Identifier'
                    16:33:32,884 INFO [ProxyFactory] Bound EJB Home 'ejb/MetaRule' to jndi 'ejb/MetaRule'
                    16:33:32,900 INFO [ProxyFactory] Bound EJB Home 'ejb/MetaRuleAssociation' to jndi 'ejb/MetaRuleAssociation'
                    16:33:32,931 INFO [ProxyFactory] Bound EJB Home 'ejb/MetaRuleConfiguration' to jndi 'ejb/MetaRuleConfiguration'
                    16:33:32,947 INFO [ProxyFactory] Bound EJB Home 'ejb/PortfolioMetaData' to jndi 'ejb/PortfolioMetaData'
                    16:33:32,963 INFO [ProxyFactory] Bound EJB Home 'ejb/Blob' to jndi 'ejb/Blob'
                    16:33:32,978 INFO [ProxyFactory] Bound EJB Home 'ejb/UserWorkspace' to jndi 'ejb/UserWorkspace'
                    16:33:32,994 INFO [ProxyFactory] Bound EJB Home 'ejb/Workspace' to jndi 'ejb/Workspace'
                    16:33:33,010 INFO [ProxyFactory] Bound EJB Home 'ejb/PortTree' to jndi 'ejb/PortTree'
                    16:33:33,025 INFO [ProxyFactory] Bound EJB Home 'ejb/Reportdef' to jndi 'ejb/Reportdef'
                    16:33:33,041 INFO [ProxyFactory] Bound EJB Home 'ejb/Grouping' to jndi 'ejb/Grouping'
                    16:33:33,057 INFO [ProxyFactory] Bound EJB Home 'ejb/Logic' to jndi 'ejb/Logic'
                    16:33:33,072 INFO [ProxyFactory] Bound EJB Home 'ejb/LogicAudit' to jndi 'ejb/LogicAudit'
                    16:33:33,088 INFO [ProxyFactory] Bound EJB Home 'ejb/Sandbox' to jndi 'ejb/Sandbox'
                    16:33:33,103 INFO [ProxyFactory] Bound EJB Home 'ejb/Branch' to jndi 'ejb/Branch'
                    16:33:33,119 INFO [ProxyFactory] Bound EJB Home 'ejb/Tree' to jndi 'ejb/Tree'
                    16:33:33,135 INFO [ProxyFactory] Bound EJB Home 'ejb/User' to jndi 'ejb/User'
                    16:33:33,150 INFO [ProxyFactory] Bound EJB Home 'ejb/PasswordControl' to jndi 'ejb/PasswordControl'
                    16:33:33,166 INFO [ProxyFactory] Bound EJB Home 'ejb/Authorization' to jndi 'ejb/Authorization'
                    16:33:33,197 INFO [ProxyFactory] Bound EJB Home 'ejb/UserProperty' to jndi 'ejb/UserProperty'
                    16:33:33,213 INFO [ProxyFactory] Bound EJB Home 'ejb/GroupProperty' to jndi 'ejb/GroupProperty'
                    16:33:33,229 INFO [ProxyFactory] Bound EJB Home 'ejb/Lookup' to jndi 'ejb/Lookup'
                    16:33:33,244 INFO [ProxyFactory] Bound EJB Home 'ejb/WorkflowTask' to jndi 'ejb/WorkflowTask'
                    16:33:33,276 INFO [ProxyFactory] Bound EJB Home 'ejb/WorkgroupMap' to jndi 'ejb/WorkgroupMap'
                    16:33:33,291 INFO [ProxyFactory] Bound EJB Home 'ejb/Workflow' to jndi 'ejb/Workflow'
                    16:33:33,291 INFO [ProxyFactory] Bound EJB Home 'ejb/WorkflowPath' to jndi 'ejb/WorkflowPath'
                    16:33:33,307 INFO [ProxyFactory] Bound EJB Home 'ejb/WorkflowEvent' to jndi 'ejb/WorkflowEvent'
                    16:33:33,323 INFO [ProxyFactory] Bound EJB Home 'ejb/AuditTrailMaster' to jndi 'ejb/AuditTrailMaster'
                    16:33:33,338 INFO [ProxyFactory] Bound EJB Home 'ejb/ResourceManager' to jndi 'ejb/ResourceManager'
                    16:33:33,354 INFO [ProxyFactory] Bound EJB Home 'ejb/ColdefsMaster' to jndi 'ejb/ColdefsMaster'
                    16:33:33,370 INFO [ProxyFactory] Bound EJB Home 'ejb/IdentifierMaster' to jndi 'ejb/IdentifierMaster'
                    16:33:33,385 INFO [ProxyFactory] Bound EJB Home 'ejb/PreloadManager' to jndi 'ejb/PreloadManager'
                    16:33:33,401 INFO [ProxyFactory] Bound EJB Home 'ejb/WorkflowEngine' to jndi 'ejb/WorkflowEngine'
                    16:33:33,417 INFO [ProxyFactory] Bound EJB Home 'ejb/LookupMaster' to jndi 'ejb/LookupMaster'
                    16:33:33,432 INFO [ProxyFactory] Bound EJB Home 'ejb/PortTreeMaster' to jndi 'ejb/PortTreeMaster'
                    16:33:33,448 INFO [ProxyFactory] Bound EJB Home 'ejb/ReportdefMaster' to jndi 'ejb/ReportdefMaster'
                    16:33:33,464 INFO [ProxyFactory] Bound EJB Home 'ejb/ProfileController' to jndi 'ejb/ProfileController'
                    16:33:33,495 INFO [ProxyFactory] Bound EJB Home 'ejb/RuleManager' to jndi 'ejb/RuleManager'
                    16:33:33,511 INFO [ProxyFactory] Bound EJB Home 'ejb/GroupingMaster' to jndi 'ejb/GroupingMaster'
                    16:33:33,526 INFO [ProxyFactory] Bound EJB Home 'ejb/LogicMaster' to jndi 'ejb/LogicMaster'
                    16:33:33,542 INFO [ProxyFactory] Bound EJB Home 'ejb/SandboxMaster' to jndi 'ejb/SandboxMaster'
                    16:33:33,558 INFO [ProxyFactory] Bound EJB Home 'ejb/TreeMaster' to jndi 'ejb/TreeMaster'
                    16:33:33,573 INFO [ProxyFactory] Bound EJB Home 'ejb/UserMaster' to jndi 'ejb/UserMaster'
                    16:33:33,589 INFO [ProxyFactory] Bound EJB Home 'ejb/WorkspaceMaster' to jndi 'ejb/WorkspaceMaster'
                    16:33:33,620 INFO [ProxyFactory] Bound EJB Home 'ejb/AccessController' to jndi 'ejb/AccessController'
                    16:33:33,636 INFO [ProxyFactory] Bound EJB Home 'ejb/UserPropertiesMaster' to jndi 'ejb/UserPropertiesMaster'
                    16:33:33,652 INFO [ProxyFactory] Bound EJB Home 'ejb/PortfolioMaster' to jndi 'ejb/PortfolioMaster'
                    16:33:33,667 INFO [ProxyFactory] Bound EJB Home 'ejb/RunTime' to jndi 'ejb/RunTime'
                    16:33:33,683 INFO [ProxyFactory] Bound EJB Home 'ejb/SandboxLoader' to jndi 'ejb/SandboxLoader'
                    16:33:33,699 INFO [ProxyFactory] Bound EJB Home 'ejb/Converter4_5' to jndi 'ejb/Converter4_5'
                    16:33:33,699 INFO [EJBDeployer] Deployed: file:/C:/jboss-4.0.3SP1/server/fidelity/tmp/deploy/tmp46049fidelity.ear-contents/ArmantaCoreEJB.jar
                    16:33:33,902 INFO [ProxyFactory] Bound EJB Home 'ejb/Instrument' to jndi 'ejb/Instrument'
                    16:33:33,918 INFO [ProxyFactory] Bound EJB Home 'ejb/FundDetail' to jndi 'ejb/FundDetail'
                    16:33:33,934 INFO [ProxyFactory] Bound EJB Home 'ejb/Analytics' to jndi 'ejb/Analytics'
                    16:33:33,949 INFO [ProxyFactory] Bound EJB Home 'ejb/Holding' to jndi 'ejb/Holding'
                    16:33:33,949 INFO [ProxyFactory] Bound EJB Home 'ejb/RolodexHolding' to jndi 'ejb/RolodexHolding'
                    16:33:33,981 INFO [ProxyFactory] Bound EJB Home 'ejb/Scenarios' to jndi 'ejb/Scenarios'
                    16:33:33,981 INFO [ProxyFactory] Bound EJB Home 'ejb/FundDataSetProxy' to jndi 'ejb/FundDataSetProxy'
                    16:33:33,996 INFO [ProxyFactory] Bound EJB Home 'ejb/LehLev1RefEntityProxy' to jndi 'ejb/LehLev1RefEntityProxy'
                    16:33:34,012 INFO [ProxyFactory] Bound EJB Home 'ejb/FundDetailEntityProxy' to jndi 'ejb/FundDetailEntityProxy'
                    16:33:34,028 INFO [ProxyFactory] Bound EJB Home 'ejb/HoldingEntityProxy' to jndi 'ejb/HoldingEntityProxy'
                    16:33:34,028 INFO [ProxyFactory] Bound EJB Home 'ejb/RolodexHoldingEntityProxy' to jndi 'ejb/RolodexHoldingEntityProxy'
                    16:33:34,028 INFO [ProxyFactory] Bound EJB Home 'ejb/TradeEntityProxy' to jndi 'ejb/TradeEntityProxy'
                    16:33:34,043 INFO [ProxyFactory] Bound EJB Home 'ejb/EnvironmentProxy' to jndi 'ejb/EnvironmentProxy'
                    16:33:34,043 INFO [ProxyFactory] Bound EJB Home 'ejb/InstrumentRefEntityProxy' to jndi 'ejb/InstrumentRefEntityProxy'
                    16:33:34,059 INFO [ProxyFactory] Bound EJB Home 'ejb/ScenariosEntityProxy' to jndi 'ejb/ScenariosEntityProxy'
                    16:33:34,059 INFO [ProxyFactory] Bound EJB Home 'ejb/AnalyticsEntityProxy' to jndi 'ejb/AnalyticsEntityProxy'
                    16:33:34,059 INFO [EJBDeployer] Deployed: file:/C:/jboss-4.0.3SP1/server/fidelity/tmp/deploy/tmp46049fidelity.ear-contents/ArmantaCustomEJB.jar
                    16:33:34,137 INFO [EARDeployer] Started J2EE application: file:/C:/jboss-4.0.3SP1/server/fidelity/deploy/fidelity.ear
                    16:33:34,278 INFO [Http11Protocol] Starting Coyote HTTP/1.1 on http-0.0.0.0-8080
                    16:33:34,404 INFO [ChannelSocket] JK: ajp13 listening on /0.0.0.0:8009
                    16:33:34,435 INFO [JkMain] Jk running ID=0 time=0/63 config=null
                    16:33:34,435 INFO [Server] JBoss (MX MicroKernel) [4.0.3SP1 (build: CVSTag=JBoss_4_0_3_SP1 date=200510231054)] Started in 30s:186ms


                    • 7. Re: NameNotFoundException thrown even though JBOSS not runni
                      jaikiran

                      The logs and the jndi.properties look OK. Not sure what might be wrong.