jrdc2

  1. M

    B4J Question jRDC2 (EofException) org.eclipse.jetty.io.EofException: Closed

    What would be the best way of handling this error in the jRDC2 server when a clients connection is interrupted to the server?. I have the usual try/catch on the outputstream.writebytes but still seems to be happening, it's intermittent with connections and then is normally followed by...
  2. aspi

    Spanish [Solucionado] Conexión a SQL SERVER con jRDC2

    Hola a todos. Siguiendo el tutotal de José Aguilar (https://www.b4x.com/android/forum/threads/tutorial-acceder-a-base-de-datos-con-jrdc2.130278/), he conseguido hacer funcionar el ejemplo con mis consultas desde B4A a un servidor sql server a través de B4J. Hasta aquí todo bien. El problema...
  3. Alex.Gi

    Android Question [Solved] jRDC2 problem with date parameter

    Hello guys, I have a Firebird DB on my server, all runs OK, all querys run OK, but I have a little problem when I try to set a string parameter tha contains a date. This is the error message: Error 500 org.firebirdsql.jdbc.field.TypeConversionException: Error converting to object. in...
  4. amorosik

    B4J Question How to protect communication from mobile device to jRdc2 server?

    I would like to create a system for taking orders from customers at home to pizzerias The app used by the individual customer runs on a smartphone or tablet and uses a jRdc2-type system for reading/writing information on the 'orders' database The 'orders' database physically resides on a...
  5. mmieher

    B4J Question [SOLVED] jRDC Noob Binding Puzzler - Failed to bind to 0.0.0.0/0.0.0.0:17178

    Years ago, I made RDC work in B4A with an insecure Windows server. Today, more confident UBUNTU server is resisting connection. I do not know why I get this in DEBUG? Where is "0.0.0.0" coming from? 2023-01-25 08:42:03.104:INFO :oejss.DefaultSessionIdManager:main: Session workerName=node0...
  6. B

    Android Question RDC conector not take database specified in config.properties file

    Hi, I've running RDC server and works fine, but the test URL always shows this RemoteServer is running (10/25/2022 13:44:24) Error fetching connection. In config.properties file I've this config #DATABASE CONFIGURATION DriverClass=com.mysql.jdbc.Driver...
  7. J

    B4J Question [B4X] jRDC2 - Issues with sql command not found

    Hello I'm experimenting with the jRDC2 tool, but at this point, I'm receiving a weird issue. I created a sql query, just like in this tutorial, but for some queries I receive the message that the command could not be found out of the config.properties file. jRDC2 server: #SQL COMMANDS #...
  8. J

    B4J Question [B4X] jRDC2 - How to use multiple databases and add basic authentication and TLS

    Hello I tested out the functionalities of jRDC2 and I want to implement this in new software we're going to develop. But with the library I got from this tutorial, all connections to the jRDC2 webservice are plain text http (no TLS) and there's also no basic authentication implemented. How can...
  9. P

    B4J Question How do I use the JRDC when the database and JRDC are on different servers?

    I rented a cloud database, so my database and JRDC are located in different servers. I can connect to my cloud database using Navicat, but I can't connect to the WEBSITE using JRDC, I don't know what the problem is. I changed the JdbcUrl of the config file to < database external IP >: database...
  10. I

    iOS Question Accessing a database residing on a Local Network Pi Server

    Hi All, I have a requirement to use a Raspberry PI as a Local DB server, but I need to support both Android and iOS clients. I was looking at this post: https://www.b4x.com/android/forum/threads/mariadb-does-not-wait-for-query-results.132054/post-833507, and it seems to be straightforward with...
  11. W

    B4J Question Timestamp in INSERT error

    I have timestamp column in my postgres db. When I want insert record, there is an error: "PSQLException: ERROR: syntax error at or near $2" This is my sql: INSERT INTO table (name, "date") VALUES (?, TIMESTAMP ?) Column type: name - varchar, date - timestamp
  12. S

    B4J Question total rows from db table via jRDC

    Hello, in PDO you can use one liner(almost) to get the total nr of rows of your DB table $nRows = $pdo->query('select count(*) from blah')->fetchColumn(); echo $nRows; is there something similar for jRDC, so I do not need to fetch all data and then count it in my program, but let the server...
  13. Ryan Pigeon

    Android Question MSACCESS & jRDC2: SOLVED!!

    HI ALL! BEEN AN AWESOME 3 WEEKS, BUT I FINALLY HAVE A B4A SOLUTION FOR ACCESSING A MSACCESS FILE ON A NETWORK (AT THIS STAGE WITH NO PASSWORD.. NEED YELP) USING B4J AS THE SERVER AND B4A FOR THE CLIENT. DUE TO POSTING SIZES I CAN'T SHARE ON THIS GROUP, BUT IF YOU WANT THE SOLUTION, PLS EMAIL...
  14. S

    B4J Question jRDC and SSL Let's Encrypt

    Hello, is this old threads still valid? https://www.b4x.com/android/forum/threads/server-ssl-connections.40130/#content if so then where should these scripts be put? in jRDC server project created in B4J or in the B4A project which is requesting the data? For me it is not clear in that thread...
  15. S

    B4J Question What type should the variable be, when importing Date from DB?

    Hello, it's looks that importing data from mariadb with jRDC is very very strict, causing errors which take a lot of time to understand. (no offence, no doubt I'm the biggest cause) If I import via Select a row from DB and a column has date like yyyy-mm-dd, should the variable where this data...
  16. S

    B4J Question Get error when request data from jRDC server

    Hello, Some strange is happening, I can't figure out what, it must be something very small or it is a bug. I have a few buttons,which are to do something else, but I misuse them for now to figure something out. Strange thing is that I get errors depending on who knows what. I'm just testing...
  17. S

    B4J Question Error connect B4J via 2nd jRDC on Linux

    Hello, I have 1 jRDC.jar running on linux as server. Work ok with B4A test app. I did not understand the description for using 1 server for 2 database. I looked for similar other questions in forum. Then I use same jRDC for 2nd DB but changed this line in Main sub appstart to...
  18. N

    B4J Question JRDC2 Warning/Error

    Hello, So I connected to my remote database successfully, but sometimes I get this warning/error. How can I avoid it? Full warning/error line: 2021-09-23 07:27:31.112:WARN:oejh.HttpParser:qtp902919927-1723: Illegal character 0x3 in state=START for buffer...
  19. Batman_

    Android Question [Solved] JRDC2 and SQL Server: B4A client issue or SQL server or firewall?

    I am going through the tutorial from this post: https://www.b4x.com/android/forum/threads/tutorial-of-connecting-android-to-ms-sql-server-using-jrdc2.114856/ From the tutorial I have managed to start the webserver and can confirm the connection to the SQL server database is working. I get the...
  20. Mashiane

    BANanoVuetifyAD3 - Contact Manager WebApp featuring MySQL + jRDC2 (no PHP)

    Ola First, thanks to everyone and each of our sponsors and donators who has made this possible. This would not be possible without B4X and BANano. Many thanks to those intellects. Over the past few months we have been attempting to ensure BANanoVuetifyAD3 works very well with jRDC2. We have...
Top