[JBoss Seam] - EJB exception Error,Help
by hhf8
I'm attempting to put an entry into a table after having logged in,I'm following the booking action. I have set up User accounts,register and login and is working perfectly.
However whenever I try to lodge and entry I get this from the server. The debug page shows that it is taking the necessary values.
Any help on this would be very much appreciated
Exception during INVOKE_APPLICATION(5): java.lang.NullPointerException
|
| org.jboss.ejb3.tx.Ejb3TxPolicy.handleInCallerTx(Ejb3TxPolicy.java:93)
| org.jboss.aspects.tx.TxPolicy.invokeInCallerTx(TxPolicy.java:130)
| org.jboss.aspects.tx.TxInterceptor$Required.invoke(TxInterceptor.java:201)
| org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
| org.jboss.aspects.tx.TxPropagationInterceptor.invoke(TxPropagationInterceptor.java:76)
| org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
| org.jboss.ejb3.stateful.StatefulInstanceInterceptor.invoke(StatefulInstanceInterceptor.java:83)
| org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
| org.jboss.aspects.security.AuthenticationInterceptor.invoke(AuthenticationInterceptor.java:77)
| org.jboss.ejb3.security.Ejb3AuthenticationInterceptor.invoke(Ejb3AuthenticationInterceptor.java:131)
| org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
| org.jboss.ejb3.ENCPropagationInterceptor.invoke(ENCPropagationInterceptor.java:47)
| org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
| org.jboss.ejb3.asynchronous.AsynchronousInterceptor.invoke(AsynchronousInterceptor.java:106)
| org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
| org.jboss.ejb3.stateful.StatefulContainer.localInvoke(StatefulContainer.java:203)
| org.jboss.ejb3.stateful.StatefulLocalProxy.invoke(StatefulLocalProxy.java:98)
| $Proxy430.confirm(Unknown Source)
| com.mydomain.Calendar.EntryConfirm$$FastClassByCGLIB$$168b4aad.invoke(<generated>)
| net.sf.cglib.proxy.MethodProxy.invoke(MethodProxy.java:149)
| org.jboss.seam.intercept.RootInvocationContext.proceed(RootInvocationContext.java:45)
| org.jboss.seam.intercept.ClientSideInterceptor$1.proceed(ClientSideInterceptor.java:74)
| org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:55)
| com.mydomain.Calendar.LoggedInInterceptor.checkLoggedIn(LoggedInInterceptor.java:25)
| sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
| sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
| sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
| java.lang.reflect.Method.invoke(Method.java:585)
| org.jboss.seam.util.Reflections.invoke(Reflections.java:18)
| org.jboss.seam.intercept.Interceptor.aroundInvoke(Interceptor.java:169)
| org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:64)
| org.jboss.seam.interceptors.RemoveInterceptor.removeIfNecessary(RemoveInterceptor.java:40)
| sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
| sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
| sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
| java.lang.reflect.Method.invoke(Method.java:585)
| org.jboss.seam.util.Reflections.invoke(Reflections.java:18)
| org.jboss.seam.intercept.Interceptor.aroundInvoke(Interceptor.java:169)
| org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:64)
| org.jboss.seam.interceptors.ExceptionInterceptor.handleExceptions(ExceptionInterceptor.java:39)
| sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
| sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
| sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
| java.lang.reflect.Method.invoke(Method.java:585)
| org.jboss.seam.util.Reflections.invoke(Reflections.java:18)
| org.jboss.seam.intercept.Interceptor.aroundInvoke(Interceptor.java:169)
| org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:64)
| org.jboss.seam.intercept.RootInterceptor.createSeamInvocationContext(RootInterceptor.java:144)
| org.jboss.seam.intercept.RootInterceptor.invokeInContexts(RootInterceptor.java:129)
| org.jboss.seam.intercept.RootInterceptor.invoke(RootInterceptor.java:102)
| org.jboss.seam.intercept.ClientSideInterceptor.interceptInvocation(ClientSideInterceptor.java:83)
| org.jboss.seam.intercept.ClientSideInterceptor.intercept(ClientSideInterceptor.java:52)
| com.mydomain.Calendar.EntryConfirm$$EnhancerByCGLIB$$cd3c1b93.confirm(<generated>)
| sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
| sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
| sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
| java.lang.reflect.Method.invoke(Method.java:585)
| com.sun.el.parser.AstValue.invoke(AstValue.java:151)
| com.sun.el.MethodExpressionImpl.invoke(MethodExpressionImpl.java:283)
| com.sun.facelets.el.TagMethodExpression.invoke(TagMethodExpression.java:68)
| com.sun.facelets.el.LegacyMethodBinding.invoke(LegacyMethodBinding.java:69)
| org.apache.myfaces.application.ActionListenerImpl.processAction(ActionListenerImpl.java:63)
| javax.faces.component.UICommand.broadcast(UICommand.java:106)
| javax.faces.component.UIViewRoot._broadcastForPhase(UIViewRoot.java:94)
| javax.faces.component.UIViewRoot.processApplication(UIViewRoot.java:168)
| org.apache.myfaces.lifecycle.LifecycleImpl.invokeApplication(LifecycleImpl.java:343)
| org.apache.myfaces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:86)
| javax.faces.webapp.FacesServlet.service(FacesServlet.java:137)
| org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
| org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
| org.jboss.seam.servlet.SeamRedirectFilter.doFilter(SeamRedirectFilter.java:32)
| org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
| org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
| org.jboss.seam.servlet.SeamExceptionFilter.doFilter(SeamExceptionFilter.java:46)
| org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
| org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
| org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
| org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
| org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
| org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
| org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
| org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:175)
| org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:432)
| org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:74)
| org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
| org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
| org.jboss.web.tomcat.tc5.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:156)
| org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
| org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
| org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869)
| org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664)
| org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
| org.apache.tomcat.util.net.MasterSlaveWorkerThread.run(MasterSlaveWorkerThread.java:112)
| java.lang.Thread.run(Thread.java:595)
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4042480#4042480
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4042480
18 years, 11 months
[JBoss Seam] - Re: Ability to clone or split a conversation
by youngm
Well, my use case involves any kind of get request. If you're using s:link or h:outputlink with conversation propagation you run the risk of being able to have 2 windows open linked to the same conversation which can cause problems in some cases.
In my particular case I'm creating a list detail pattern example with seam. I don't want to store the list page's properties in the session because I want my user to be able to have the list page in multiple windows with independent search params and page numbers and such.
I'm using a get request (s:link) to go from the list page to the details page because I would like the user to have the option to do an "Open in new window".
Once the user is done with the details page I navigate them back to the list remembering the page and search parameters used when I navigated from the list page before. However, if the user used "Open in new window" or something like that to navigate from the list page to the details page then I have 2 browser windows linked to the same conversation which share search parameters and paging information.
So what I'd like to do is when the user navigates to the details page "clone" the current conversation no matter what that way weather they navigated to the details page using "Open in new window" or whatever all instances of the list page will remain independent.
Mike
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4042474#4042474
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4042474
18 years, 11 months
[JBoss Seam] - Problem with SortedMap and JSF
by Zerg-Spirit
Hello.
I'm a beginner in the world of Seam, and I currently got a little problem.
Actually, I'm not sure if it's Seam related or not, but since this forum already helped me a lot, I thought I could start by posting here anyway.
So I basically have an entity bean, 'Topic', with a OneToMany relation to himself.
anonymous wrote : public class Topic implements Serializable {
|
| @OneToMany(cascade = CascadeType.ALL)
| @MapKey
| @Sort(type = SortType.NATURAL)
| private SortedMap<String, Topic> children;
| ....
Basically, the goal is to have the list of every topics showed as a tree structure on the page.
So I simply find the root of all the topics, and start to recursively browse all the topics, but it just bugs directly after the root:
anonymous wrote : <ui:repeat var="topic" value="#{topicRoot.resultList}">
| <h:outputText>#{topic.keycode}</h:outputText> <--still working here!
| <ui:include src="recursionTestInclude.xhtml">
| <ui:param name="node" value="#{topic}"/>
| </ui:include>
|
| </ui:repeat>
|
the topicRoot is just and EntityQuery bean
Then the recursionTestInclude page...
anonymous wrote : <ui:repeat var="t" value="#{topic.children}">
| <h:outputText value="#{t.keycode}"/>
| </ui:repeat>
keycode is simple a property of topic, a String
The result is:
anonymous wrote : javax.faces.el.EvaluationException: /recursionTestInclude.xhtml @12,44 value="#{t.keycode}": Exception getting value of property keycode of base of type : org.hibernate.collection.PersistentSortedMap
| at com.sun.facelets.el.LegacyValueBinding.getValue(LegacyValueBinding.java:60)
| at javax.faces.component.UIOutput.getValue(UIOutput.java:77)
| at org.apache.myfaces.shared_impl.renderkit.RendererUtils.getStringValue(RendererUtils.java:217)
| at org.apache.myfaces.shared_impl.renderkit.html.HtmlTextRendererBase.renderOutput(HtmlTextRendererBase.java:69)
| at org.apache.myfaces.shared_impl.renderkit.html.HtmlTextRendererBase.encodeEnd(HtmlTextRendererBase.java:57)
| at javax.faces.component.UIComponentBase.encodeEnd(UIComponentBase.java:536)
| at com.sun.facelets.tag.jsf.ComponentSupport.encodeRecursive(ComponentSupport.java:252)
| at com.sun.facelets.component.RepeatRenderer.encodeChildren(RepeatRenderer.java:52)
| at com.sun.facelets.component.UIRepeat.process(UIRepeat.java:357)
| at com.sun.facelets.component.UIRepeat.encodeChildren(UIRepeat.java:617)
| at com.sun.facelets.tag.jsf.ComponentSupport.encodeRecursive(ComponentSupport.java:244)
| at com.sun.facelets.component.RepeatRenderer.encodeChildren(RepeatRenderer.java:52)
| at com.sun.facelets.component.UIRepeat.process(UIRepeat.java:357)
| at com.sun.facelets.component.UIRepeat.encodeChildren(UIRepeat.java:617)
| at com.sun.facelets.tag.jsf.ComponentSupport.encodeRecursive(ComponentSupport.java:244)
| at com.sun.facelets.tag.jsf.ComponentSupport.encodeRecursive(ComponentSupport.java:249)
| at com.sun.facelets.FaceletViewHandler.renderView(FaceletViewHandler.java:573)
| at org.ajax4jsf.framework.ViewHandlerWrapper.renderView(ViewHandlerWrapper.java:108)
| at org.ajax4jsf.framework.ajax.AjaxViewHandler.renderView(AjaxViewHandler.java:229)
| at org.apache.myfaces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:384)
| at javax.faces.webapp.FacesServlet.service(FacesServlet.java:138)
| at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
| at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
| at org.jboss.seam.web.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:63)
| at org.jboss.seam.web.ExceptionFilter.doFilter(ExceptionFilter.java:57)
| at org.jboss.seam.web.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:49)
| at org.jboss.seam.debug.hot.HotDeployFilter.doFilter(HotDeployFilter.java:60)
| at org.jboss.seam.web.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:49)
| at org.jboss.seam.web.RedirectFilter.doFilter(RedirectFilter.java:45)
| at org.jboss.seam.web.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:49)
| at org.jboss.seam.web.MultipartFilter.doFilter(MultipartFilter.java:79)
| at org.jboss.seam.web.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:49)
| at org.jboss.seam.web.SeamFilter.doFilter(SeamFilter.java:84)
| at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
| at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
| at org.ajax4jsf.framework.ajax.xmlfilter.BaseXMLFilter.doXmlFilter(BaseXMLFilter.java:96)
| at org.ajax4jsf.framework.ajax.xmlfilter.BaseFilter.doFilter(BaseFilter.java:220)
| at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
| at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
| at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
| at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
| 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.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:175)
| at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:432)
| at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:74)
| at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
| at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
| at org.jboss.web.tomcat.tc5.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:156)
| 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.Http11Processor.process(Http11Processor.java:869)
| at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664)
| at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
| at org.apache.tomcat.util.net.MasterSlaveWorkerThread.run(MasterSlaveWorkerThread.java:112)
| at java.lang.Thread.run(Thread.java:619)
| Caused by: java.lang.ClassCastException: java.lang.Long cannot be cast to java.lang.String
| at java.lang.String.compareTo(String.java:92)
| at java.util.TreeMap.getEntry(TreeMap.java:328)
| at java.util.TreeMap.get(TreeMap.java:255)
| at org.hibernate.collection.PersistentMap.get(PersistentMap.java:147)
| at org.apache.myfaces.el.PropertyResolverImpl.getValue(PropertyResolverImpl.java:78)
| at com.sun.facelets.el.LegacyELContext$LegacyELResolver.getValue(LegacyELContext.java:141)
| at com.sun.el.parser.AstValue.getValue(AstValue.java:125)
| at com.sun.el.ValueExpressionImpl.getValue(ValueExpressionImpl.java:195)
| at com.sun.facelets.el.TagValueExpression.getValue(TagValueExpression.java:71)
| at com.sun.facelets.el.LegacyValueBinding.getValue(LegacyValueBinding.java:56)
| ... 56 more
The final goal is of course to call recursively the recursionTestInclude page for each child.
Actually, I know that I'm doing it wrong, but I tried several different things without being capable of extracting that damn keycode (or anything else) from than children list.
Thank you.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4042469#4042469
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4042469
18 years, 11 months
[JBoss Seam] - <param> in pages.xml doesn't accept multi-valued request par
by bkyrlach
Back in the day (well, more like several months ago) I developed an admittedly bad Seam app to replace a part of a website originally written in struts/jsp. Due to the somewhat limited nature of struts, I found myself heavily relying on @RequestParameter to allow me to pass values to the Seam part of the application from the traditional JSP portion.
Fast forward to now, lots of great improvements to Seam. In many ways, it makes my code from before seem so bad it's scary. One problem in particular (handling requests made directly to a view that required the user to be logged in) has been greatly simplified with the addition of Seam security. However, I'm running into a problem.
I have a page that's a simple JSP that represents some search results. The search results are enclosed in an HTML form to allow mass updates on the search results (in this particular case, the user is allowed to bookmark items from the search results... kinda like adding items to a shopping cart or wish list). So what I've done is have the page submit to a JSF view that has a page action associated with it that will capture the users bookmarks. I'm also using features from Seam security to redirect the user to the login page if they're not logged in, and then return them to this bookmark view so that the page action will continue to save their bookmarks.
However, this results in a problem as in order to have Seam remember the request parameters from the form submission, I have to have the parameters defined as part of the page using the tag in pages.xml. Unfortunantly for me, the Param class in Seam that handles these parameters doesn't accept multi-valued request parameters (it throws an IllegalArgumentException).
I'm not allowed to convert this page to Seam or Faces/Facelets. That being the case, I've decided to take a look at the Param class from Seam and see how difficult it would be to change it to allow for multi-valued request parameters. I've since made some slight modifications that seem to work, but I'd like the community to review it and give me some suggestions for improvement. The code I've changed is as follows...
from org.jboss.seam.pages.Param
| /**
| * Get the current value of a page parameter from the request parameters
| */
| public Object getValueFromRequest(FacesContext facesContext, Map<String, String[]> requestParameters)
| {
| String[] parameterValues = requestParameters.get( getName() );
| if (parameterValues==null || parameterValues.length==0)
| {
| return null;
| }
| Converter converter = null;
| try
| {
| converter = getConverter();
| }
| catch (RuntimeException re)
| {
| // YUCK! due to bad JSF/MyFaces error handling
| return null;
| }
|
| Class<?> methodType = valueBinding.getType();
| if (methodType.isAssignableFrom(Collection.class))
| {
| List retVal = new ArrayList();
| if(converter != null)
| {
| for(String parameterValue: parameterValues)
| {
| Object convertedValue = converter.getAsObject(facesContext, facesContext.getViewRoot(), parameterValue);
| retVal.add(convertedValue);
| }
| }
| else
| {
| throw new RuntimeException("You must specify a converter for bean properties that are a collection.");
| }
|
| try
| {
| return methodType.cast(retVal);
| }
| catch (Exception e)
| {
| throw new RuntimeException(e);
| }
| }
|
| if(parameterValues.length > 1 && !(methodType.isAssignableFrom(Collection.class)))
| {
| throw new RuntimeException("Request parameter was multi-valued and bean property doesn't support collection interface.");
| }
|
| String stringValue = parameterValues[0];
| return converter==null ?
| stringValue :
| converter.getAsObject( facesContext, facesContext.getViewRoot(), stringValue );
| }
|
Basically, I've changed the method to see if the value binding associated with this parameter is expecting a list or other form of collection. There doesn't seem to be a way to find the generic type of a particular collection (i.e if you have a List there doesn't seem to be a way to find out that this list only accepts String values), so I'm forcing the specification of a converter for value bindings that are expecting a collection. I then iterate through the array of request parameter values and convert each one and place it into a collection. Then I convert the collection to the type expected by the value binding.
This method certainly has it's flaws, which is why I'm posting it out here. I'm hoping I can refine this code into something worthy of a patch.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4042468#4042468
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4042468
18 years, 11 months
[Beginners Corner] - Seam Deployment Error
by jeffowen
I have been playing around with the booking demo example to try to get familiar with Seam. I've obviously now done something terminally stupid as it fails to deploy. The log message from the server doesn't give me much to go on other than it is in the war file. Can anyone give me some pointers as to what might be a possible cause?
I'm using jboss-seam-1.2.1.GA, jboss-4.0.5.GA making changes in Eclipse 3.2.2 and deploying through the ant build.xml file. This seems to be the relevant part of the log.
2007-05-02 15:26:23,290 DEBUG [org.jboss.web.WebModule] Starting failed jboss.web.deployment:war=jboss-seam-booking.war,id=-1511750464
org.jboss.deployment.DeploymentException: URL file:/C:/Program Files/jboss-4.0.5.GA/server/default/tmp/deploy/tmp15340jboss-seam-booking.ear-contents/jboss-seam-booking-exp.war/ deployment failed
at org.jboss.web.tomcat.tc5.TomcatDeployer.performDeployInternal(TomcatDeployer.java:375)
at org.jboss.web.tomcat.tc5.TomcatDeployer.performDeploy(TomcatDeployer.java:103)
at org.jboss.web.AbstractWebDeployer.start(AbstractWebDeployer.java:371)
at org.jboss.web.WebModule.startModule(WebModule.java:83)
at org.jboss.web.WebModule.startService(WebModule.java:61)
at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:289)
at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:245)
at sun.reflect.GeneratedMethodAccessor3.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:978)
at $Proxy0.start(Unknown Source)
at org.jboss.system.ServiceController.start(ServiceController.java:417)
at sun.reflect.GeneratedMethodAccessor6.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
at $Proxy42.start(Unknown Source)
at org.jboss.web.AbstractWebContainer.start(AbstractWebContainer.java:466)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:133)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:142)
at org.jboss.mx.interceptor.DynamicInterceptor.invoke(DynamicInterceptor.java:97)
at org.jboss.system.InterceptorServiceMBeanSupport.invokeNext(InterceptorServiceMBeanSupport.java:238)
at org.jboss.ws.integration.jboss.DeployerInterceptor.start(DeployerInterceptor.java:92)
at org.jboss.deployment.SubDeployerInterceptorSupport$XMBeanInterceptor.start(SubDeployerInterceptorSupport.java:188)
at org.jboss.deployment.SubDeployerInterceptor.invoke(SubDeployerInterceptor.java:95)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
at $Proxy43.start(Unknown Source)
at org.jboss.deployment.MainDeployer.start(MainDeployer.java:1025)
at org.jboss.deployment.MainDeployer.start(MainDeployer.java:1015)
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:819)
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:782)
at sun.reflect.GeneratedMethodAccessor11.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:133)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:142)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
at $Proxy6.deploy(Unknown Source)
at org.jboss.deployment.scanner.URLDeploymentScanner.deploy(URLDeploymentScanner.java:421)
at org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentScanner.java:634)
at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.doScan(AbstractDeploymentScanner.java:263)
at org.jboss.deployment.scanner.AbstractDeploymentScanner.startService(AbstractDeploymentScanner.java:336)
at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:289)
at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:245)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:978)
at $Proxy0.start(Unknown Source)
at org.jboss.system.ServiceController.start(ServiceController.java:417)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
at $Proxy4.start(Unknown Source)
at org.jboss.deployment.SARDeployer.start(SARDeployer.java:302)
at org.jboss.deployment.MainDeployer.start(MainDeployer.java:1025)
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:819)
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:782)
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:766)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:133)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:142)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
at $Proxy5.deploy(Unknown Source)
at org.jboss.system.server.ServerImpl.doStart(ServerImpl.java:482)
at org.jboss.system.server.ServerImpl.start(ServerImpl.java:362)
at org.jboss.Main.boot(Main.java:200)
at org.jboss.Main$1.run(Main.java:490)
at java.lang.Thread.run(Thread.java:595)
2007-05-02 15:26:23,290 WARN [org.jboss.system.ServiceController] Problem starting service jboss.web.deployment:war=jboss-seam-booking.war,id=-1511750464
etc etc
Regards
Jeff
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4042466#4042466
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4042466
18 years, 11 months