Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

LCDS Samples Do Not Work

Avatar

Not applicable
I just installed LCDS to perform an evaluation. I installed using the embedded Tomcat which they have configured to run on port 8400. I launch Tomcat and point my browser to http://localhost:8400/lcds-samples/testdrive.htm, all is fine so far.<br /><br />I then click the link to run the first sample app (using HTTPService), when I click the Get Data button I get the following error:<br /><br />[RPC Fault faultString="HTTP/1.1 500 Internal Server Error" faultCode="Server.Proxy.Request.Failed" faultDetail="HTTP/1.1 500 Internal Server Error"]<br /> at mx.rpc::AbstractInvoker/http://www.adobe.com/2006/flex/mx/internal::faultHandler()<br /> at mx.rpc::Responder/fault()<br /> at mx.rpc::AsyncRequest/fault()<br /> at HTTPMessageResponder/resultHandler()<br /> at HTTPMessageResponder/completeHandler()<br /> at ChannelRequestLoader/callEventCallback()<br /> at ChannelRequestLoader/completeHandler()<br /> at flash.events::EventDispatcher/dispatchEventFunction()<br /> at flash.events::EventDispatcher/dispatchEvent()<br /> at flash.net::URLLoader/onComplete()<br /><br />And the log file contains:<br /><br />Feb 17, 2009 8:04:19 AM org.apache.catalina.core.StandardWrapperValve invoke<br />SEVERE: Servlet.service() for servlet jsp threw exception<br />java.sql.SQLException: socket creation error<br /> at org.hsqldb.jdbc.Util.sqlException(Unknown Source)<br /> at org.hsqldb.jdbc.jdbcConnection.<init>(Unknown Source)<br /> at org.hsqldb.jdbcDriver.getConnection(Unknown Source)<br /> at org.hsqldb.jdbcDriver.connect(Unknown Source)<br /> at java.sql.DriverManager.getConnection(Unknown Source)<br /> at java.sql.DriverManager.getConnection(Unknown Source)<br /> at flex.samples.ConnectionHelper.getConnection(ConnectionHelper.java:27)<br /> at flex.samples.product.ProductService.getProducts(ProductService.java:18)<br /> at org.apache.jsp.testdrive_002dhttpservice.catalog_jsp._jspService(catalog_jsp.java:62)<br /> at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)<br /> at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)<br /> at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:393)<br /> at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:320)<br /> at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:266)<br /> at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)<br /> at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)<br /> at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)<br /> at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)<br /> at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)<br /> at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)<br /> at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)<br /> at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)<br /> at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:263)<br /> at org.apache.coyote.http11.Http11AprProcessor.process(Http11AprProcessor.java:852)<br /> at org.apache.coyote.http11.Http11AprProtocol$Http11ConnectionHandler.process(Http11AprProtocol.java:584)<br /> at org.apache.tomcat.util.net.AprEndpoint$Worker.run(AprEndpoint.java:1508)<br /> at java.lang.Thread.run(Unknown Source)<br /><br />I can't even begin to evaluate as the samples do not work. Any ideas?
0 Replies

Avatar

Not applicable
I figured out what is wrong. The instructions leave out an important

step...got to start the sampledb, i.e. \lcds\sampledb\startdb.bat



-Dave