[JNDI/Naming/Network] - Re: NameNotBoundException
by bambooh
"jaikiran" wrote : Please post the output of your JNDIView. While posting the contents , remember to wrap it in a code block using the Code button in the message editor window and please hit the Preview button to make sure your post is correctly formatted.
This is the output of the JNDIView
My bean is RivalseEar/AccessoBean/local.
| Global JNDI Namespace
| +- TopicConnectionFactory (class: org.jboss.naming.LinkRefPair)
| +- jmx (class: org.jnp.interfaces.NamingContext)
| | +- invoker (class: org.jnp.interfaces.NamingContext)
| | | +- RMIAdaptor (proxy: $Proxy47 implements interface org.jboss.jmx.adaptor.rmi.RMIAdaptor,interface org.jboss.jmx.adaptor.rmi.RMIAdaptorExt)
| | +- rmi (class: org.jnp.interfaces.NamingContext)
| | | +- RMIAdaptor[link -> jmx/invoker/RMIAdaptor] (class: javax.naming.LinkRef)
| +- RivalseEar (class: org.jnp.interfaces.NamingContext)
| | +- EjbSynchronizations (class: org.jnp.interfaces.NamingContext)
| | | +- localStatefulProxyFactory (class: org.jboss.ejb3.stateful.StatefulLocalProxyFactory)
| | | +- local (class: java.lang.Object)
| | +- TimerServiceDispatcher (class: org.jnp.interfaces.NamingContext)
| | | +- local (proxy: $Proxy89 implements interface org.jboss.seam.async.LocalTimerServiceDispatcher,interface org.jboss.ejb3.JBossProxy)
| | +- AccessoBean (class: org.jnp.interfaces.NamingContext)
| | | +- local (proxy: $Proxy82 implements interface it.inail.rivalse.session.security.Accesso,interface org.jboss.ejb3.JBossProxy)
| +- persistence.units:ear=RivalseEar.ear,jar=Rivalse-ejb.jar,unitName=Rivalse (class: org.hibernate.impl.SessionFactoryImpl)
| +- HTTPXAConnectionFactory (class: org.jboss.mq.SpyXAConnectionFactory)
| +- ConnectionFactory (class: org.jboss.mq.SpyConnectionFactory)
| +- UserTransactionSessionFactory (proxy: $Proxy14 implements interface org.jboss.tm.usertx.interfaces.UserTransactionSessionFactory)
| +- HTTPConnectionFactory (class: org.jboss.mq.SpyConnectionFactory)
| +- XAConnectionFactory (class: org.jboss.mq.SpyXAConnectionFactory)
| +- TransactionSynchronizationRegistry (class: com.arjuna.ats.internal.jta.transaction.arjunacore.TransactionSynchronizationRegistryImple)
| +- UserTransaction (class: org.jboss.tm.usertx.client.ClientUserTransaction)
| +- UILXAConnectionFactory[link -> XAConnectionFactory] (class: javax.naming.LinkRef)
| +- UIL2XAConnectionFactory[link -> XAConnectionFactory] (class: javax.naming.LinkRef)
| +- queue (class: org.jnp.interfaces.NamingContext)
| | +- A (class: org.jboss.mq.SpyQueue)
| | +- testQueue (class: org.jboss.mq.SpyQueue)
| | +- ex (class: org.jboss.mq.SpyQueue)
| | +- DLQ (class: org.jboss.mq.SpyQueue)
| | +- D (class: org.jboss.mq.SpyQueue)
| | +- C (class: org.jboss.mq.SpyQueue)
| | +- B (class: org.jboss.mq.SpyQueue)
| +- topic (class: org.jnp.interfaces.NamingContext)
| | +- testDurableTopic (class: org.jboss.mq.SpyTopic)
| | +- testTopic (class: org.jboss.mq.SpyTopic)
| | +- securedTopic (class: org.jboss.mq.SpyTopic)
| +- console (class: org.jnp.interfaces.NamingContext)
| | +- PluginManager (proxy: $Proxy48 implements interface org.jboss.console.manager.PluginManagerMBean)
| +- UIL2ConnectionFactory[link -> ConnectionFactory] (class: javax.naming.LinkRef)
| +- HiLoKeyGeneratorFactory (class: org.jboss.ejb.plugins.keygenerator.hilo.HiLoKeyGeneratorFactory)
| +- UILConnectionFactory[link -> ConnectionFactory] (class: javax.naming.LinkRef)
| +- QueueConnectionFactory (class: org.jboss.naming.LinkRefPair)
| +- UUIDKeyGeneratorFactory (class: org.jboss.ejb.plugins.keygenerator.uuid.UUIDKeyGeneratorFactory)
|
|
The exception is
| 12:37:02,875 ERROR [STDERR] javax.naming.NameNotFoundException: RivalseEar not bound
| 12:37:02,875 ERROR [STDERR] at org.jnp.server.NamingServer.getBinding(NamingServer.java:529)
| 12:37:02,875 ERROR [STDERR] at org.jnp.server.NamingServer.getBinding(NamingServer.java:537)
| 12:37:02,875 ERROR [STDERR] at org.jnp.server.NamingServer.getObject(NamingServer.java:543)
| 12:37:02,875 ERROR [STDERR] at org.jnp.server.NamingServer.lookup(NamingServer.java:267)
| 12:37:02,875 ERROR [STDERR] at org.jnp.server.NamingServer.lookup(NamingServer.java:270)
| 12:37:02,875 ERROR [STDERR] at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:667)
| 12:37:02,875 ERROR [STDERR] at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:774)
| 12:37:02,875 ERROR [STDERR] at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:627)
| 12:37:02,875 ERROR [STDERR] at javax.naming.InitialContext.lookup(Unknown Source)
| 12:37:02,875 ERROR [STDERR] at it.inail.rivalse.jsf.converters.ConfermaSceltaSedeEvent.changeSceltaSede(ConfermaSceltaSedeEvent.java:29)
| 12:37:02,875 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
| 12:37:02,875 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
| 12:37:02,875 ERROR [STDERR] at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
| 12:37:02,875 ERROR [STDERR] at java.lang.reflect.Method.invoke(Unknown Source)
| 12:37:02,875 ERROR [STDERR] at org.jboss.seam.util.Reflections.invoke(Reflections.java:21)
| 12:37:02,875 ERROR [STDERR] at org.jboss.seam.intercept.RootInvocationContext.proceed(RootInvocationContext.java:31)
| 12:37:02,875 ERROR [STDERR] at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:56)
| 12:37:02,875 ERROR [STDERR] at org.jboss.seam.transaction.RollbackInterceptor.aroundInvoke(RollbackInterceptor.java:31)
| 12:37:02,875 ERROR [STDERR] at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:68)
| 12:37:02,875 ERROR [STDERR] at org.jboss.seam.core.BijectionInterceptor.aroundInvoke(BijectionInterceptor.java:46)
| 12:37:02,875 ERROR [STDERR] at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:68)
| 12:37:02,875 ERROR [STDERR] at org.jboss.seam.core.MethodContextInterceptor.aroundInvoke(MethodContextInterceptor.java:42)
| 12:37:02,875 ERROR [STDERR] at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:68)
| 12:37:02,875 ERROR [STDERR] at org.jboss.seam.intercept.RootInterceptor.invoke(RootInterceptor.java:107)
| 12:37:02,875 ERROR [STDERR] at org.jboss.seam.intercept.JavaBeanInterceptor.interceptInvocation(JavaBeanInterceptor.java:166)
| 12:37:02,875 ERROR [STDERR] at org.jboss.seam.intercept.JavaBeanInterceptor.invoke(JavaBeanInterceptor.java:102)
| 12:37:02,875 ERROR [STDERR] at it.inail.rivalse.jsf.converters.ConfermaSceltaSedeEvent_$$_javassist_3.changeSceltaSede(ConfermaSceltaSedeEvent_$$_javassist_3.java)
| 12:37:02,875 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
| 12:37:02,875 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
| 12:37:02,875 ERROR [STDERR] at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
| 12:37:02,875 ERROR [STDERR] at java.lang.reflect.Method.invoke(Unknown Source)
| 12:37:02,875 ERROR [STDERR] at org.jboss.el.util.ReflectionUtil.invokeMethod(ReflectionUtil.java:329)
| 12:37:02,875 ERROR [STDERR] at org.jboss.el.util.ReflectionUtil.invokeMethod(ReflectionUtil.java:342)
| 12:37:02,875 ERROR [STDERR] at org.jboss.el.parser.AstPropertySuffix.invoke(AstPropertySuffix.java:58)
| 12:37:02,875 ERROR [STDERR] at org.jboss.el.parser.AstValue.invoke(AstValue.java:96)
| 12:37:02,875 ERROR [STDERR] at org.jboss.el.MethodExpressionImpl.invoke(MethodExpressionImpl.java:276)
| 12:37:02,875 ERROR [STDERR] at org.jboss.seam.el.OptionalParameterMethodExpression.invoke(OptionalParameterMethodExpression.java:39)
| 12:37:02,875 ERROR [STDERR] at com.sun.facelets.el.TagMethodExpression.invoke(TagMethodExpression.java:68)
| 12:37:02,875 ERROR [STDERR] at javax.faces.event.MethodExpressionValueChangeListener.processValueChange(MethodExpressionValueChangeListener.java:80)
| 12:37:02,875 ERROR [STDERR] at javax.faces.event.ValueChangeEvent.processListener(ValueChangeEvent.java:123)
| 12:37:02,890 ERROR [STDERR] at javax.faces.component.UIComponentBase.broadcast(UIComponentBase.java:746)
| 12:37:02,890 ERROR [STDERR] at org.ajax4jsf.component.AjaxViewRoot.processEvents(AjaxViewRoot.java:184)
| 12:37:02,890 ERROR [STDERR] at org.ajax4jsf.component.AjaxViewRoot.broadcastEvents(AjaxViewRoot.java:160)
| 12:37:02,890 ERROR [STDERR] at org.ajax4jsf.component.AjaxViewRoot.processValidators(AjaxViewRoot.java:337)
| 12:37:02,890 ERROR [STDERR] at com.sun.faces.lifecycle.ProcessValidationsPhase.execute(ProcessValidationsPhase.java:100)
| 12:37:02,890 ERROR [STDERR] at com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:251)
| 12:37:02,890 ERROR [STDERR] at com.sun.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:117)
| 12:37:02,890 ERROR [STDERR] at javax.faces.webapp.FacesServlet.service(FacesServlet.java:244)
| 12:37:02,890 ERROR [STDERR] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
| 12:37:02,890 ERROR [STDERR] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
| 12:37:02,890 ERROR [STDERR] at org.jboss.seam.web.ExceptionFilter.doFilter(ExceptionFilter.java:64)
| 12:37:02,890 ERROR [STDERR] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
| 12:37:02,890 ERROR [STDERR] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
| 12:37:02,890 ERROR [STDERR] at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:83)
| 12:37:02,890 ERROR [STDERR] at org.jboss.seam.web.MultipartFilter.doFilter(MultipartFilter.java:85)
| 12:37:02,890 ERROR [STDERR] at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
| 12:37:02,890 ERROR [STDERR] at org.jboss.seam.web.ExceptionFilter.doFilter(ExceptionFilter.java:64)
| 12:37:02,890 ERROR [STDERR] at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
| 12:37:02,890 ERROR [STDERR] at org.jboss.seam.web.RedirectFilter.doFilter(RedirectFilter.java:45)
| 12:37:02,890 ERROR [STDERR] at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
| 12:37:02,890 ERROR [STDERR] at org.ajax4jsf.webapp.BaseXMLFilter.doXmlFilter(BaseXMLFilter.java:141)
| 12:37:02,890 ERROR [STDERR] at org.ajax4jsf.webapp.BaseFilter.doFilter(BaseFilter.java:281)
| 12:37:02,890 ERROR [STDERR] at org.jboss.seam.web.Ajax4jsfFilter.doFilter(Ajax4jsfFilter.java:60)
| 12:37:02,890 ERROR [STDERR] at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
| 12:37:02,890 ERROR [STDERR] at org.jboss.seam.web.LoggingFilter.doFilter(LoggingFilter.java:58)
| 12:37:02,890 ERROR [STDERR] at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
| 12:37:02,890 ERROR [STDERR] at org.jboss.seam.debug.hot.HotDeployFilter.doFilter(HotDeployFilter.java:68)
| 12:37:02,890 ERROR [STDERR] at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
| 12:37:02,890 ERROR [STDERR] at org.jboss.seam.servlet.SeamFilter.doFilter(SeamFilter.java:158)
| 12:37:02,890 ERROR [STDERR] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
| 12:37:02,890 ERROR [STDERR] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
| 12:37:02,890 ERROR [STDERR] at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
| 12:37:02,890 ERROR [STDERR] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
| 12:37:02,890 ERROR [STDERR] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
| 12:37:02,890 ERROR [STDERR] at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:230)
| 12:37:02,890 ERROR [STDERR] at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
| 12:37:02,890 ERROR [STDERR] at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:179)
| 12:37:02,890 ERROR [STDERR] at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:432)
| 12:37:02,890 ERROR [STDERR] at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:84)
| 12:37:02,890 ERROR [STDERR] at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
| 12:37:02,890 ERROR [STDERR] at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
| 12:37:02,890 ERROR [STDERR] at org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:157)
| 12:37:02,890 ERROR [STDERR] at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
| 12:37:02,890 ERROR [STDERR] at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:262)
| 12:37:02,890 ERROR [STDERR] at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)
| 12:37:02,890 ERROR [STDERR] at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)
| 12:37:02,890 ERROR [STDERR] at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:446)
| 12:37:02,890 ERROR [STDERR] at java.lang.Thread.run(Unknown Source)
|
|
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4142666#4142666
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4142666
18 years
[Installation, Configuration & DEPLOYMENT] - FacesServlet mapping at JBossAS startup
by BGrand
Hi !
I've an issue about FacesServlet mapping at my JBossAS server's startup...
The stacktrace in the console:
09:41:02,063 INFO [TomcatDeployer] deploy, ctxPath=/, warUrl=.../deploy/jboss-web.deployer/ROOT.war/
| 09:41:02,891 INFO [MyfacesConfig] No context init parameter 'org.apache.myfaces.PRETTY_HTML' found, using default value true
| 09:41:02,891 INFO [MyfacesConfig] No context init parameter 'org.apache.myfaces.ALLOW_JAVASCRIPT' found, using default value true
| 09:41:02,891 INFO [MyfacesConfig] No context init parameter 'org.apache.myfaces.READONLY_AS_DISABLED_FOR_SELECTS' found, using default value true
| 09:41:02,891 INFO [MyfacesConfig] No context init parameter 'org.apache.myfaces.RENDER_VIEWSTATE_ID' found, using default value true
| 09:41:02,891 INFO [MyfacesConfig] No context init parameter 'org.apache.myfaces.STRICT_XHTML_LINKS' found, using default value true
| 09:41:02,891 INFO [MyfacesConfig] No context init parameter 'org.apache.myfaces.CONFIG_REFRESH_PERIOD' found, using default value 2
| 09:41:02,891 INFO [MyfacesConfig] No context init parameter 'org.apache.myfaces.VIEWSTATE_JAVASCRIPT' found, using default value false
| 09:41:02,891 INFO [MyfacesConfig] No context init parameter 'org.apache.myfaces.DETECT_JAVASCRIPT' found, using default value false
| 09:41:02,891 INFO [MyfacesConfig] No context init parameter 'org.apache.myfaces.AUTO_SCROLL' found, using default value false
| 09:41:02,891 INFO [MyfacesConfig] No context init parameter 'org.apache.myfaces.ADD_RESOURCE_CLASS' found, using default value org.apache.myfaces.renderkit.html.util.DefaultAddResource
| 09:41:02,891 INFO [MyfacesConfig] No context init parameter 'org.apache.myfaces.RESOURCE_VIRTUAL_PATH' found, using default value /faces/myFacesExtensionResource
| 09:41:02,891 INFO [MyfacesConfig] No context init parameter 'org.apache.myfaces.CHECK_EXTENSIONS_FILTER' found, using default value true
| 09:41:02,891 INFO [MyfacesConfig] Starting up Tomahawk on the MyFaces-JSF-Implementation
| 09:41:02,906 WARN [AbstractFacesInitializer] No mappings of FacesServlet found. Abort initializing MyFaces.
| 09:41:02,937 ERROR [[/]] StandardWrapper.Throwable
| java.lang.IllegalStateException: No Factories configured for this Application. This happens if the faces-initialization does not work at all - make sure that you properly include all configuration settings necessary for a basic faces application and that all the necessary libs are included. Also che
| ck the logging output of your web application and your container for any exceptions!
| If you did that and find nothing, the mistake might be due to the fact that you use some special web-containers which do not support registering context-listeners via TLD files and a context listener is not setup in your web.xml.
| A typical config looks like this;
| <listener>
| <listener-class>org.apache.myfaces.webapp.StartupServletContextListener</listener-class>
| </listener>
|
| at javax.faces.FactoryFinder.getFactory(FactoryFinder.java:90)
| at javax.faces.webapp.FacesServlet.init(FacesServlet.java:102)
| at org.apache.myfaces.webapp.MyFacesServlet.init(MyFacesServlet.java:91)
| at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1161)
| at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:981)
| ...
And my jboss_home/server/default/deploy/jboss-web.deployer/conf:
<?xml version="1.0" encoding="ISO-8859-1"?>
| <web-app xmlns="http://java.sun.com/xml/ns/j2ee"
| xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
| xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd"
| version="2.4">
|
|
| <context-param>
| <param-name>com.sun.faces.injectionProvider</param-name>
| <param-value>org.jboss.web.jsf.integration.injection.JBossInjectionProvider</param-value>
| </context-param>
|
|
| <listener>
| <listener-class>org.jboss.web.tomcat.security.SecurityFlushSessionListener</listener-class>
| </listener>
|
| <!-- Configures JSF for a web application if the javax.faces.webapp.FacesServlet is declared -->
| <!-- in web.xml. -->
| <!--listener>
| <listener-class>org.jboss.web.jsf.integration.config.JBossJSFConfigureListener</listener-class>
| </listener-->
|
| <!-- Listens to all web app lifecycle events so that @PreDestroy can be called on -->
| <!-- JSF managed beans that go out of scope. You can comment this out if you -->
| <!-- don't use JSF or you don't use annotations on your managed beans. -->
| <!--listener>
| <listener-class>com.sun.faces.application.WebappLifecycleListener</listener-class>
| </listener-->
|
| <listener>
| <listener-class>org.apache.myfaces.webapp.StartupServletContextListener</listener-class>
| </listener>
|
|
| <servlet>
| <servlet-name>myFacesServlet</servlet-name>
| <servlet-class>org.apache.myfaces.webapp.MyFacesServlet</servlet-class>
|
| <init-param>
| <description>MyFaces tlds</description>
| <param-name>tagLibJar0</param-name>
| <param-value>myfaces-libs/myfaces-impl-1.2.2.jar</param-value>
| </init-param>
| <init-param>
| <description>Tomahawk tlds</description>
| <param-name>tagLibJar1</param-name>
| <param-value>myfaces-libs/tomahawk-1.1.6.jar</param-value>
| </init-param>
|
| <load-on-startup>1</load-on-startup>
| </servlet>
|
|
| <servlet-mapping>
| <servlet-name>myFacesServlet</servlet-name>
| <url-pattern>*.faces</url-pattern>
| </servlet-mapping>
|
| </web-app>
I searched and made test for a long time now, I'm a little lost... Does someone have and idea about this error ? What about this "not configured factory" ?
Thanks for all response or idea !!!
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4142656#4142656
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4142656
18 years