Hello everyone , i am new to servoy , I installed Servoy on my ubuntu 9.10 and when i start my Servoy Developer and look at my database server they are all marked with cross , when i check my servoy admin i get this error
2010-06-09 09:45 main ERROR com.servoy.j2db.persistence.Server java.sql.SQLException: JZ006: Caught IOException: java.net.ConnectException: Connection refused
2010-06-09 09:45 main ERROR com.servoy.j2db.persistence.Server java.sql.SQLException: JZ006: Caught IOException: java.net.ConnectException: Connection refused
2010-06-09 09:45 main ERROR com.servoy.j2db.persistence.Server java.sql.SQLException: JZ006: Caught IOException: java.net.ConnectException: Connection refused
2010-06-09 09:45 main ERROR com.servoy.j2db.persistence.Server java.sql.SQLException: JZ006: Caught IOException: java.net.ConnectException: Connection refused
2010-06-09 09:45 main ERROR com.servoy.j2db.persistence.Server java.sql.SQLException: JZ006: Caught IOException: java.net.ConnectException: Connection refused
I would really appreciate your help .
It seems sybase has not started for some reason.
You can check the log files /path/to/servoy/application_server/servoy_log.txt and /path/to/servoy_workspace/.metadata/.log
You can also try to start sybase manyally:
cd /path/to/servoy/application_server
LD_LIBRARY_PATH=sybase_db sybase_db/dbsrv11 @sybase_db/sybase.config
Rob
Hey Rob Thanks for the reply
This is the the log i saw in my Log file
2010-06-09 10:20:43,053 ERROR [http-8080-2] com.servoy.j2db.util.Debug - Throwable
java.lang.NullPointerException
at com.servoy.j2db.server.servlets.ConfigServlet.Zk(ConfigServlet.java:1945)
at com.servoy.j2db.server.servlets.ConfigServlet.service(ConfigServlet.java:3288)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:567)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:293)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:849)
at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)
at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:454)
at java.lang.Thread.run(Thread.java:619)
2010-06-09 10:21:10,883 ERROR [http-8080-2] com.servoy.j2db.persistence.Server - Final get connection failure for server bug_db in 1 times
2010-06-09 10:21:32,492 ERROR [http-8080-2] com.servoy.j2db.persistence.Server - Final get connection failure for server example_data in 1 times
2010-06-09 10:30:31,704 ERROR [main] com.servoy.j2db.persistence.Server - Final get connection failure for server example_data in 1 times
2010-06-09 10:44:39,679 ERROR [main] com.servoy.j2db.util.Debug - Cannot start repository: com.servoy.j2db.persistence.RepositoryException: Error checking repository
2010-06-09 10:44:39,681 ERROR [main] com.servoy.j2db.util.Debug - Do note Servoy server does not start any database!
2010-06-09 10:47:07,489 ERROR [main] com.servoy.j2db.util.Debug - Cannot start repository: com.servoy.j2db.persistence.RepositoryException: Error checking repository
2010-06-09 10:47:07,490 ERROR [main] com.servoy.j2db.util.Debug - Do note Servoy server does not start any database!
i AM TRYING TO RUN SERVOY ON A 64BIT MACHINE AND , WHEN I TRY TO RUN THE SYBASE SERVER FROM THE TERMINAL I GET THIS ERROR
/sybase_db/dbsrv11: No such file or directory
so is servoy compatible with 64 bit in Unbuntu
Hey i kind of solved this problem by downloading 32 bit lib for my 64 bit server ,And it worked out .
So i think so servoy is not 64 bit compiled .
nestrocuation:
/sybase_db/dbsrv11: No such file or directory
I guess you made a typo, try copy-paste the command I posted.
nestrocuation:
i kind of solved this problem by downloading 32 bit lib for my 64 bit server
Sybase bundled with Servoy runs fine on linux 64 bit on our systems.
Rob
Hey rob , thanks a lot for reply .
I dont think so there was a typo becuase i reached to that folder and did ./dbsrv11 , and it could not execute it .
but still here is the script for starting the sybase which i used
#servoy install
SERVOY_PATH=Mydir/application_server
export LD_LIBRARY_PATH=$SERVOY_PATH/sybase_db
export PATH=$PATH:$LD_LIBRARY_PATH
cd $SERVOY_PATH
$SERVOY_PATH/sybase_db/dbsrv11 @sybase_db/sybase.config &
sleep 3
$SERVOY_PATH/servoy_server.sh > /dev/null 2>&1 &
I eventually figured out from vartious forum what this error was and as i downloaded 32 bit lib .It worked out the same script no changes were done .
Well but plz do tell me if you find anything wrong that i should change to make it work for 64 bits.