[JBoss Seam] - dvdstore demo down?
by augustientje
If I visit the demo at http://dvdstore.demo.jboss.com/home.seam, and click at "start shopping", all I get is:
"javax.persistence.PersistenceException: org.hibernate.exception.GenericJDBCException: Cannot open connection"
Part of the stack trace is:
| javax.ejb.EJBTransactionRolledbackException: javax.persistence.PersistenceException: org.hibernate.exception.GenericJDBCException: Cannot open connection
| at org.jboss.ejb3.tx.Ejb3TxPolicy.handleInCallerTx(Ejb3TxPolicy.java:93)
| at org.jboss.aspects.tx.TxPolicy.invokeInCallerTx(TxPolicy.java:130)
| at org.jboss.aspects.tx.TxInterceptor$Required.invoke(TxInterceptor.java:201)
| at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
| at org.jboss.aspects.tx.TxPropagationInterceptor.invoke(TxPropagationInterceptor.java:76)
| at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
| at org.jboss.ejb3.stateful.StatefulInstanceInterceptor.invoke(StatefulInstanceInterceptor.java:81)
| at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
| at org.jboss.aspects.security.AuthenticationInterceptor.invoke(AuthenticationInterceptor.java:78)
| at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
| at org.jboss.ejb3.ENCPropagationInterceptor.invoke(ENCPropagationInterceptor.java:47)
| at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
| at org.jboss.ejb3.asynchronous.AsynchronousInterceptor.invoke(AsynchronousInterceptor.java:106)
| at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
| at org.jboss.ejb3.stateful.StatefulContainer.localInvoke(StatefulContainer.java:188)
| at org.jboss.ejb3.stateful.StatefulLocalProxy.invoke(StatefulLocalProxy.java:98)
| at $Proxy244.doSearch(Unknown Source)
| at sun.reflect.GeneratedMethodAccessor81716.invoke(Unknown Source)
| at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
| at java.lang.reflect.Method.invoke(Method.java:585)
| at org.jboss.seam.util.Reflections.invoke(Reflections.java:13)
| at org.jboss.seam.util.Reflections.invokeAndWrap(Reflections.java:32)
|
Before that, I also got this other exception. part of it is:
| root cause
|
| org.jbpm.graph.def.DelegationException
| org.jbpm.graph.def.GraphElement.raiseException(GraphElement.java:349)
| org.jbpm.graph.def.GraphElement.raiseException(GraphElement.java:343)
| org.jbpm.graph.node.Decision.execute(Decision.java:130)
| org.jbpm.graph.def.Node.enter(Node.java:316)
| org.jbpm.graph.def.Transition.take(Transition.java:119)
| org.jbpm.graph.def.Node.leave(Node.java:382)
| org.jbpm.graph.exe.Token.signal(Token.java:174)
| org.jbpm.graph.exe.Token.signal(Token.java:137)
| org.jbpm.graph.exe.ProcessInstance.signal(ProcessInstance.java:229)
| org.jbpm.pageflow.PageflowHelper.signal(PageflowHelper.java:47)
| org.jboss.seam.core.Pageflow.navigate(Pageflow.java:185)
| org.jboss.seam.jsf.SeamNavigationHandler.handleNavigation(SeamNavigationHandler.java:31)
| org.apache.myfaces.application.ActionListenerImpl.processAction(ActionListenerImpl.java:84)
| javax.faces.component.UICommand.broadcast(UICommand.java:106)
| javax.faces.component.UIViewRoot._broadcastForPhase(UIViewRoot.java:90)
| javax.faces.component.UIViewRoot.processApplication(UIViewRoot.java:164)
| org.apache.myfaces.lifecycle.LifecycleImpl.invokeApplication(LifecycleImpl.java:316)
| org.apache.myfaces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:86)
| javax.faces.webapp.FacesServlet.service(FacesServlet.java:106)
| org.jboss.seam.servlet.SeamRedirectFilter.doFilter(SeamRedirectFilter.java:30)
| org.jboss.seam.servlet.SeamExceptionFilter.doFilter(SeamExceptionFilter.java:45)
| org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
|
| note The full stack trace of the root cause is available in the Apache Tomcat/5.5.17 logs.
|
Did I do anything wrong? Is this part of the demo???
I'm on Safari 2.0.4 btw.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3978380#3978380
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3978380
19 years, 8 months
[JBoss Seam] - Re: How can I create seam context etc in httpservlet
by umarzubair
Now insert/updates are working.
I have done two changes.
1. At start of httpservlet, I have written lines of code
// to start transaction, it is required for any update, insert
try {
if (!Transactions.isTransactionActiveOrMarkedRollback()) {
//log.debug("beginning transaction prior to phase: " + phaseId);
Transactions.getUserTransaction().begin();
}
}
catch (Exception e) {
throw new IllegalStateException("Could not start transaction", e);
}
2. At end of servlet, I have used following line of code
// it is required to commit or rollback transaction
try {
if (Transactions.isTransactionActive()) {
Transactions.getUserTransaction().commit();
}
else if (Transactions.isTransactionMarkedRollback()) {
// log.debug("rolling back transaction after phase: " + phaseId);
Transactions.getUserTransaction().rollback();
}
}
catch (Exception e) {
throw new IllegalStateException("Could not commit transaction", e);
}
Umar
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3978376#3978376
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3978376
19 years, 8 months
[Installation, Configuration & Deployment] - j2ee schema validation warning
by eitangur
Hi
I'm trying to deploy JBoss 4.0.3 on an environment not visilbe to the WEB. Meaning that my AS doesn't have access to port 80.
After starting the AS, it starts deploying my beans, but then gets stuck for about 7-8 minutes, after which it prompts the following warning:
anonymous wrote : 2006-10-15 10:34:09,576 WARN [org.jboss.xb.binding.parser.sax.SaxJBossXBParser] schema_reference.4: Failed to read schema document 'http://www.ibm.com/webservices/xsd/j2ee_web_services_1_1\.xsd', because 1) could not find the document; 2) the document could not be read; 3) the root element of the document is not <xsd:schema>. @ *unknown*[3,134]
If I understand correctly, the reason for that is that JBoss tries to validate the schema, but as it is inaccessible - the validation fails.
Is there a way set the validation of this schema to false, or reduce the number of minutes it tries to connect?
10x
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3978375#3978375
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3978375
19 years, 8 months