Hi,
This is Kapil Kashyap, and I am a new member of this JBoss Forum.Well I am
trying to work with the new JBoss Seam Framework and have successfully deployed
it on JBoss, but am getting the below error message when trying to deploy it on
Tomcat 5.5.17
Tomcat version - 5.5.17
Using JDK 1.5
INFO 28-06 15:40:55,375 (Log4JLogger.java:info:94) -no pages.xml file found
INFO 28-06 15:40:55,718 (Log4JLogger.java:info:94) -No context init parameter
'org.apache.myfaces.PRETTY_HTML' found,
using default value true
INFO 28-06 15:40:55,718 (Log4JLogger.java:info:94) -No context init parameter
'org.apache.myfaces.ALLOW_JAVASCRIPT' fo
und, using default value true
INFO 28-06 15:40:55,718 (Log4JLogger.java:info:94) -Tomahawk jar not
available. Autoscrolling, DetectJavascript, AddRe
sourceClass and CheckExtensionsFilter are disabled now.
INFO 28-06 15:41:03,031 (Log4JLogger.java:info:94) -Hibernate Annotations
3.2.0.CR1
ERROR 28-06 15:41:03,140 (Log4JLogger.java:error:119) -Servlet.service() for
servlet Faces Servlet threw exception
javax.faces.FacesException: Error calling action method of component with id
_idJsp0:_idJsp6
at
org.apache.myfaces.application.ActionListenerImpl.processAction(ActionListenerImpl.java:74)
at javax.faces.component.UICommand.broadcast(UICommand.java:106)
at
javax.faces.component.UIViewRoot._broadcastForPhase(UIViewRoot.java:94)
at
javax.faces.component.UIViewRoot.processApplication(UIViewRoot.java:168)
at
org.apache.myfaces.lifecycle.LifecycleImpl.invokeApplication(LifecycleImpl.java:343)
at
org.apache.myfaces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:86)
at javax.faces.webapp.FacesServlet.service(FacesServlet.java:137)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
at
org.apache.coyote.http11.Http11AprProcessor.process(Http11AprProcessor.java:833)
at
org.apache.coyote.http11.Http11AprProtocol$Http11ConnectionHandler.process(Http11AprProtocol.java:639)
at
org.apache.tomcat.util.net.AprEndpoint$Worker.run(AprEndpoint.java:1285)
at java.lang.Thread.run(Unknown Source)
Caused by: javax.faces.el.EvaluationException: Exception while invoking
expression #{register.register}
at
org.apache.myfaces.el.MethodBindingImpl.invoke(MethodBindingImpl.java:165)
at
org.apache.myfaces.application.ActionListenerImpl.processAction(ActionListenerImpl.java:63)
... 18 more
Caused by: org.jboss.seam.InstantiationException: Could not instantiate Seam
component: register
at org.jboss.seam.Component.newInstance(Component.java:735)
at org.jboss.seam.Component.newInstance(Component.java:1308)
at org.jboss.seam.Component.getInstance(Component.java:1263)
at org.jboss.seam.Component.getInstance(Component.java:1246)
at
org.jboss.seam.jsf.SeamVariableResolver.resolveVariable(SeamVariableResolver.java:44)
at
org.apache.myfaces.config.LastVariableResolverInChain.resolveVariable(LastVariableResolverInChain.java:42)
at
org.apache.myfaces.el.ValueBindingImpl$ELVariableResolver.resolveVariable(ValueBindingImpl.java:574)
at org.apache.commons.el.NamedValue.evaluate(NamedValue.java:124)
at
org.apache.myfaces.el.ValueBindingImpl.resolveToBaseAndProperty(ValueBindingImpl.java:455)
at
org.apache.myfaces.el.MethodBindingImpl.resolveToBaseAndProperty(MethodBindingImpl.java:180)
at
org.apache.myfaces.el.MethodBindingImpl.invoke(MethodBindingImpl.java:114)
... 19 more
Caused by: javax.naming.NamingException: Local server is not initialized
at
org.jnp.interfaces.LocalOnlyContextFactory.getInitialContext(LocalOnlyContextFactory.java:45)
at javax.naming.spi.NamingManager.getInitialContext(Unknown Source)
at javax.naming.InitialContext.getDefaultInitCtx(Unknown Source)
at javax.naming.InitialContext.init(Unknown Source)
at javax.naming.InitialContext.(Unknown Source)
at org.jboss.seam.util.Naming.getInitialContext(Naming.java:26)
at org.jboss.seam.util.Naming.getInitialContext(Naming.java:37)
at org.jboss.seam.Component.instantiate(Component.java:774)
at org.jboss.seam.Component.newInstance(Component.java:731)
... 29 more
I would be very greatful if someone helps me out to resolve this issue.
Thanks in advance.
With Regards,
Kapil Kashyap.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3953953#3953953
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3953953
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
JBoss-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jboss-user