Results 1 to 2 of 2

Thread: threw NamingException with message: Name [spring.liveBeansView.mbeanDomain]

  1. #1

    Default threw NamingException with message: Name [spring.liveBeansView.mbeanDomain]

    Hi,
    I am using Primefaces, JSF2, Spring 3.2.1.RELEASE and tc server v2.7. When I start the application. It is able to start but it shows below message

    2013-02-21 22:26:28,094 DEBUG | localhost-startStop-1 | org.springframework.jndi.JndiLocatorDelegate | Converted JNDI name [java:comp/env/spring.liveBeansView.mbeanDomain] not found - trying original name [spring.liveBeansView.mbeanDomain]. javax.naming.NameNotFoundException: Name [spring.liveBeansView.mbeanDomain] is not bound in this Context. Unable to find [spring.liveBeansView.mbeanDomain].
    2013-02-21 22:26:28,094 DEBUG | localhost-startStop-1 | org.springframework.jndi.JndiTemplate | Looking up JNDI object with name [spring.liveBeansView.mbeanDomain]
    2013-02-21 22:26:28,094 DEBUG | localhost-startStop-1 | org.springframework.jndi.JndiPropertySource | JNDI lookup for name [spring.liveBeansView.mbeanDomain] threw NamingException with message: Name [spring.liveBeansView.mbeanDomain] is not bound in this Context. Unable to find [spring.liveBeansView.mbeanDomain].. Returning null.

    Am I missing anything in the configuration?

  2. #2
    Join Date
    Nov 2008
    Posts
    5

    Default

    I had this problem as well, and it was caused by not setting the active profile. This article helped me out:

    http://java.dzone.com/articles/using...files-and-java

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •