TSO problems

44 views
Skip to first unread message

mofa...@gmail.com

unread,
Jun 26, 2014, 6:41:23 AM6/26/14
to omid-p...@googlegroups.com
why it's happen?



`Starting TSOClient
Jun 26, 2014 3:06:42 PM javax.faces.event.MethodExpressionActionListener processAction
SEVERE: Received 'java.io.IOException' when invoking action listener '#{TestBean.save1}' for component 'j_idt8'
Jun 26, 2014 3:06:42 PM javax.faces.event.MethodExpressionActionListener processAction
SEVERE: java.io.IOException: tso.host missing from configuration
at com.yahoo.omid.client.TSOClient.<init>(TSOClient.java:343)
at com.yahoo.omid.transaction.TransactionManager.<init>(TransactionManager.java:58)
at TestDAO.sv(TestDAO.java:97)
at TestBean.save1(TestBean.java:31)
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:597)
at com.sun.el.parser.AstValue.invoke(AstValue.java:234)
at com.sun.el.MethodExpressionImpl.invoke(MethodExpressionImpl.java:297)
at javax.faces.event.MethodExpressionActionListener.processAction(MethodExpressionActionListener.java:153)
at javax.faces.event.ActionEvent.processListener(ActionEvent.java:88)
at javax.faces.component.UIComponentBase.broadcast(UIComponentBase.java:771)
at javax.faces.component.UICommand.broadcast(UICommand.java:300)
at javax.faces.component.UIViewRoot.broadcastEvents(UIViewRoot.java:786)
at javax.faces.component.UIViewRoot.processApplication(UIViewRoot.java:1251)
at com.sun.faces.lifecycle.InvokeApplicationPhase.execute(InvokeApplicationPhase.java:81)
at com.sun.faces.lifecycle.Phase.doPhase(Phase.java:101)
at com.sun.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:118)
at javax.faces.webapp.FacesServlet.service(FacesServlet.java:593)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:222)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:123)
at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:502)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:171)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:100)
at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:953)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:409)
at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1044)
at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:607)
at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:313)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
at java.lang.Thread.run(Thread.java:662)

Jun 26, 2014 3:06:42 PM com.sun.faces.context.ExceptionHandlerImpl log
SEVERE: JSF1073: javax.faces.event.AbortProcessingException caught during processing of INVOKE_APPLICATION 5 : UIComponent-ClientId=j_idt6:j_idt8, Message=java.io.IOException: tso.host missing from configuration
Jun 26, 2014 3:06:42 PM com.sun.faces.context.ExceptionHandlerImpl log
SEVERE: java.io.IOException: tso.host missing from configuration
javax.faces.event.AbortProcessingException: java.io.IOException: tso.host missing from configuration
at javax.faces.event.MethodExpressionActionListener.processAction(MethodExpressionActionListener.java:182)
at javax.faces.event.ActionEvent.processListener(ActionEvent.java:88)
at javax.faces.component.UIComponentBase.broadcast(UIComponentBase.java:771)
at javax.faces.component.UICommand.broadcast(UICommand.java:300)
at javax.faces.component.UIViewRoot.broadcastEvents(UIViewRoot.java:786)
at javax.faces.component.UIViewRoot.processApplication(UIViewRoot.java:1251)
at com.sun.faces.lifecycle.InvokeApplicationPhase.execute(InvokeApplicationPhase.java:81)
at com.sun.faces.lifecycle.Phase.doPhase(Phase.java:101)
at com.sun.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:118)
at javax.faces.webapp.FacesServlet.service(FacesServlet.java:593)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:222)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:123)
at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:502)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:171)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:100)
at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:953)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:409)
at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1044)
at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:607)
at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:313)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
at java.lang.Thread.run(Thread.java:662)
Caused by: java.io.IOException: tso.host missing from configuration
at com.yahoo.omid.client.TSOClient.<init>(TSOClient.java:343)
at com.yahoo.omid.transaction.TransactionManager.<init>(TransactionManager.java:58)
at TestDAO.sv(TestDAO.java:97)
at TestBean.save1(TestBean.java:31)
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:597)
at com.sun.el.parser.AstValue.invoke(AstValue.java:234)
at com.sun.el.MethodExpressionImpl.invoke(MethodExpressionImpl.java:297)
at javax.faces.event.MethodExpressionActionListener.processAction(MethodExpressionActionListener.java:153)
... 25 more`

Daniel Gómez Ferro

unread,
Jun 26, 2014, 6:52:09 AM6/26/14
to mofa...@gmail.com, omid-project
Hello,

The client has to know the host/port where the TSO is listening. This is specified in the hbase-site.xml file, see


Make sure your hbase-site.xml is configured properly and available in the classpath (you have to add to the classpath the directory where the configuration file resides for it be to be picked up). It looks like you are using some kind of app container, its documentation should tell you how to make available resources to your application.

Hope this helps,

Daniel 


--
You received this message because you are subscribed to the Google Groups "Omid" group.
To unsubscribe from this group and stop receiving emails from it, send an email to omid-project...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Mohammadreza

unread,
Jul 8, 2014, 4:12:13 AM7/8/14
to omid-p...@googlegroups.com, mofa...@gmail.com
TanX alot!

Mohammadreza

unread,
Jul 8, 2014, 4:19:10 AM7/8/14
to omid-p...@googlegroups.com, mofa...@gmail.com
Another question !
Is Bookkeeper necessary for running OMID ?
Is lack of it cause of problems?  

Flavio Junqueira

unread,
Jul 8, 2014, 6:55:15 AM7/8/14
to Mohammadreza, omid-p...@googlegroups.com
BK is there for durability. If you don't care about durability, then it is not an issue not to use it. Is your question about whether it'll even run without BK?

-Flavio


On Tuesday, July 8, 2014 9:19 AM, Mohammadreza <mofa...@gmail.com> wrote:
Another question !
Is Bookkeeper necessary for running OMID ?
Is lack of it cause of problems?  

On Tuesday, July 8, 2014 12:42:13 PM UTC+4:30, Mohammadreza wrote:
TanX alot!


On Thursday, June 26, 2014 3:22:09 PM UTC+4:30, Daniel Gómez Ferro wrote:
Hello,

The client has to know the host/port where the TSO is listening. This is specified in the hbase-site.xml file, see


Make sure your hbase-site.xml is configured properly and available in the classpath (you have to add to the classpath the directory where the configuration file resides for it be to be picked up). It looks like you are using some kind of app container, its documentation should tell you how to make available resources to your application.

Hope this helps,

Daniel 
On 26 June 2014 12:41, <mofa...@gmail.com> wrote:
why it's happen?



`Starting TSOClient
Jun 26, 2014 3:06:42 PM javax.faces.event. MethodExpressionActionListener processAction
SEVERE: Received 'java.io.IOException' when invoking action listener '#{TestBean.save1}' for component 'j_idt8'
Jun 26, 2014 3:06:42 PM javax.faces.event. MethodExpressionActionListener processAction
SEVERE: java.io.IOException: tso.host missing from configuration
at com.yahoo.omid.client. TSOClient.<init>(TSOClient. java:343)
at com.yahoo.omid.transaction. TransactionManager.<init>( TransactionManager.java:58)
at java.lang.Thread.run(Thread. java:662)

Jun 26, 2014 3:06:42 PM com.sun.faces.context. ExceptionHandlerImpl log
SEVERE: JSF1073: javax.faces.event. AbortProcessingException caught during processing of INVOKE_APPLICATION 5 : UIComponent-ClientId=j_idt6:j_ idt8, Message=java.io.IOException: tso.host missing from configuration
Jun 26, 2014 3:06:42 PM com.sun.faces.context. ExceptionHandlerImpl log
SEVERE: java.io.IOException: tso.host missing from configuration
javax.faces.event. AbortProcessingException: java.io.IOException: tso.host missing from configuration
at javax.faces.event. MethodExpressionActionListener .processAction( MethodExpressionActionListener .java:182)
at javax.faces.event.ActionEvent. processListener(ActionEvent. java:88)
at javax.faces.component. UIComponentBase.broadcast( UIComponentBase.java:771)
at javax.faces.component. UICommand.broadcast(UICommand. java:300)
at javax.faces.component. UIViewRoot.broadcastEvents( UIViewRoot.java:786)
at javax.faces.component. UIViewRoot.processApplication( UIViewRoot.java:1251)
at com.sun.faces.lifecycle. InvokeApplicationPhase. execute( InvokeApplicationPhase.java: 81)
at com.sun.faces.lifecycle.Phase. doPhase(Phase.java:101)
at com.sun.faces.lifecycle. LifecycleImpl.execute( LifecycleImpl.java:118)
at javax.faces.webapp. FacesServlet.service( FacesServlet.java:593)
at org.apache.catalina.core. ApplicationFilterChain. internalDoFilter( ApplicationFilterChain.java: 305)
at org.apache.catalina.core. ApplicationFilterChain. doFilter( ApplicationFilterChain.java: 210)
at org.apache.catalina.core. StandardWrapperValve.invoke( StandardWrapperValve.java:222)
at org.apache.catalina.core. StandardContextValve.invoke( StandardContextValve.java:123)
at org.apache.catalina. authenticator. AuthenticatorBase.invoke( AuthenticatorBase.java:502)
at org.apache.catalina.core. StandardHostValve.invoke( StandardHostValve.java:171)
at org.apache.catalina.valves. ErrorReportValve.invoke( ErrorReportValve.java:100)
at org.apache.catalina.valves. AccessLogValve.invoke( AccessLogValve.java:953)
at org.apache.catalina.core. StandardEngineValve.invoke( StandardEngineValve.java:118)
at org.apache.catalina.connector. CoyoteAdapter.service( CoyoteAdapter.java:409)
at org.apache.coyote.http11. AbstractHttp11Processor. process( AbstractHttp11Processor.java: 1044)
at org.apache.coyote. AbstractProtocol$ AbstractConnectionHandler. process(AbstractProtocol.java: 607)
at org.apache.tomcat.util.net. JIoEndpoint$SocketProcessor. run(JIoEndpoint.java:313)
at java.util.concurrent. ThreadPoolExecutor$Worker. runTask(ThreadPoolExecutor. java:886)
at java.util.concurrent. ThreadPoolExecutor$Worker.run( ThreadPoolExecutor.java:908)
at java.lang.Thread.run(Thread. java:662)
Caused by: java.io.IOException: tso.host missing from configuration
at com.yahoo.omid.client. TSOClient.<init>(TSOClient. java:343)
at com.yahoo.omid.transaction. TransactionManager.<init>( TransactionManager.java:58)
at TestDAO.sv(TestDAO.java:97)
at TestBean.save1(TestBean.java: 31)
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:597)
at com.sun.el.parser.AstValue. invoke(AstValue.java:234)
at com.sun.el. MethodExpressionImpl.invoke( MethodExpressionImpl.java:297)
at javax.faces.event. MethodExpressionActionListener .processAction( MethodExpressionActionListener .java:153)
... 25 more`
--
You received this message because you are subscribed to the Google Groups "Omid" group.
To unsubscribe from this group and stop receiving emails from it, send an email to omid-project...@googlegroups. com.
For more options, visit https://groups.google.com/d/ optout.

Mohammadreza

unread,
Jul 8, 2014, 7:22:43 AM7/8/14
to omid-p...@googlegroups.com, mofa...@gmail.com, fpjun...@yahoo.com
Hi! 

Thanks for your reply !
Yes.My question about  even run without BK?(but now I think that BK must be install !!)
Because I don't any view of it an install an running it.
Could you mind describe about how to running it?

-Thanks
-MRM


Reply all
Reply to author
Forward
0 new messages