JNDI Lookup issue
michael.lytvyn Mar 1, 2012 3:50 AMHello Community,
I'm quite new to any of JBoss and working on migrating application from JBoss 3 to the JBoss 7.1, I've fixed some of the issues and was able to deploy and open login page, but can't find how to fix JNDI lookup issue or configure it thrown per Login action.
Server log: {code}
07:34:52,653 ERROR [stderr] (http--127.0.0.1-8080-3) com.CompanyName.ffc.ConfigurationException: javax.naming.NameNotFoundException: xmldir:classpath:mcc.xml/default -- service jboss.naming.context.java."xmldir:classpath:mcc.xml".default
07:34:52,653 ERROR [stderr] (http--127.0.0.1-8080-3) {
07:34:52,653 ERROR [stderr] (http--127.0.0.1-8080-3) javax.naming.NameNotFoundException: xmldir:classpath:mcc.xml/default -- service jboss.naming.context.java."xmldir:classpath:mcc.xml".default
07:34:52,653 ERROR [stderr] (http--127.0.0.1-8080-3) at org.jboss.as.naming.ServiceBasedNamingStore.lookup(ServiceBasedNamingStore.java:97)
07:34:52,653 ERROR [stderr] (http--127.0.0.1-8080-3) at org.jboss.as.naming.NamingContext.lookup(NamingContext.java:177)
07:34:52,653 ERROR [stderr] (http--127.0.0.1-8080-3) at org.jboss.as.naming.InitialContext.lookup(InitialContext.java:113)
07:34:52,653 ERROR [stderr] (http--127.0.0.1-8080-3) at org.jboss.as.naming.NamingContext.lookup(NamingContext.java:213)
07:34:52,653 ERROR [stderr] (http--127.0.0.1-8080-3) at javax.naming.InitialContext.lookup(InitialContext.java:392)
07:34:52,653 ERROR [stderr] (http--127.0.0.1-8080-3) at com.CompanyName.ffc.ConfigurationSource.createContext(ConfigurationSource.java:686)
07:34:52,653 ERROR [stderr] (http--127.0.0.1-8080-3) at com.CompanyName.ffc.ConfigurationSource.access$300(ConfigurationSource.java:73)
07:34:52,653 ERROR [stderr] (http--127.0.0.1-8080-3) at com.CompanyName.ffc.ConfigurationSource$Factory.create(ConfigurationSource.java:719)
07:34:52,653 ERROR [stderr] (http--127.0.0.1-8080-3) at com.CompanyName.util.Pool$CreateTask.run(Pool.java:47)
07:34:52,653 ERROR [stderr] (http--127.0.0.1-8080-3) at com.CompanyName.util.ThreadPool$Worker.run(ThreadPool.java:840)
07:34:52,669 ERROR [stderr] (http--127.0.0.1-8080-3) }
07:34:52,669 ERROR [stderr] (http--127.0.0.1-8080-3) at com.CompanyName.ffc.ConfigurationSource.createContext(ConfigurationSource.java:688)
07:34:52,669 ERROR [stderr] (http--127.0.0.1-8080-3) at com.CompanyName.ffc.ConfigurationSource.access$300(ConfigurationSource.java:73)
07:34:52,669 ERROR [stderr] (http--127.0.0.1-8080-3) at com.CompanyName.ffc.ConfigurationSource$Factory.create(ConfigurationSource.java:719)
07:34:52,669 ERROR [stderr] (http--127.0.0.1-8080-3) at com.CompanyName.util.Pool$CreateTask.run(Pool.java:47)
07:34:52,669 ERROR [stderr] (http--127.0.0.1-8080-3) at com.CompanyName.util.ThreadPool$Worker.run(ThreadPool.java:840)
{code}
It would be awesome if someone could help me in configuring paths for WAR file like above: xmldir:classpath:mcc.xml or give link to documentation.