help on using swing client version of idempiere

137 views
Skip to first unread message

Rheine Adithia

unread,
Aug 7, 2017, 9:30:16 PM8/7/17
to iDempiere
Hello, its me again

Today i want to ask on how to use swing client for idempiere.

from this guide : 
http://wiki.idempiere.org/en/Installing_from_Installers
i didn't find the proper way to initialize the client from my computer.

My idempiere server is running on Ubuntu 16.04 LTS, and from what i understand it is a non-graphical unit
so how do i use a swing client using the server data of idempiere?
do i use some kind of VMS like nomachine?

Thanks before for the help
Best,

Dirk Niemeyer

unread,
Aug 8, 2017, 1:00:11 AM8/8/17
to idem...@googlegroups.com
Hi,

can you give more information on where you got stuck?

As described on the page you mentioned you would normally just unzip the
client package on the client computer and run adempiere-client.sh or
.bat and on first start configure the server information. For this step
you may have a look at http://www.youtube.com/watch?v=sN5gCwFOUqc
Just ignore that it is showing how the client is started from eclipse
and watch how to set up the connection info and log on to the server.

Regards
Dirk Niemeyer

Rheine Adithia

unread,
Aug 8, 2017, 2:45:53 AM8/8/17
to iDempiere
Oh so you installed it in the client computer and not in the server? 
i thought i need to install it on the server folder and access it trough somekind of VM


but i encoutered a problem already, i couldn't connect to the DB on the server.
the data entered is according to the actual port and IP address, but i still can't connect to it..

do i need to install some app on the server? or do i need to setup the firewall or something?
sorry for the basic question, but i really am new to this server kinda thing

Best Regard,
Rheine Adithia




Rheine Adithia

unread,
Aug 8, 2017, 2:52:35 AM8/8/17
to iDempiere
here's the error message :


Dirk Niemeyer

unread,
Aug 8, 2017, 2:54:06 AM8/8/17
to idem...@googlegroups.com
Hi Rheine,

yes, the client should run on a client :)

On the server you have to ensure, that the database is accessible from
other computers in yor network. This may be an firewall issue or "just"
the configuration of the database.

Assumed that you are using postgresql you should ensure that it is
listening to all ip-adresses and not only to localhost (set
listen_addresses = '*' in postgresql.conf) and that in pg_hba.conf
clients from within your network are allowed to access the database.

Regards,
Dirk Niemeyer

Am 08.08.2017 um 08:45 schrieb Rheine Adithia:
> Oh so you installed it in the client computer and not in the server?
> i thought i need to install it on the server folder and access it trough
> somekind of VM
> <https://lh3.googleusercontent.com/-MwZGP72dc5o/WYldqTBeoMI/AAAAAAAAJ0w/-K7H04k6s3AKjwaZaKjypf2vxE1PPBxWQCLcBGAs/s1600/Capture1.PNG>

Dirk Niemeyer

unread,
Aug 8, 2017, 2:59:38 AM8/8/17
to idem...@googlegroups.com
Currently there is a problem to connect to the server as the server uses
a new way of connection and the swing client has not yet been updated
accordingly. Please just use "Test database" and see if that works. This
would be sufficient to use the swing client.

Regards,
Dirk Niemeyer

Am 08.08.2017 um 08:52 schrieb Rheine Adithia:
> here's the error message :
>
> <https://lh3.googleusercontent.com/-WeHbNEUStDo/WYlfh6YGSVI/AAAAAAAAJ08/hxUUzw2YRfEYvKaFpZ1MwC6-95t1gOdSwCLcBGAs/s1600/Capture.PNG>
>>>
>>
> <https://lh3.googleusercontent.com/-MwZGP72dc5o/WYldqTBeoMI/AAAAAAAAJ0w/-K7H04k6s3AKjwaZaKjypf2vxE1PPBxWQCLcBGAs/s1600/Capture1.PNG>
>

Rheine Adithia

unread,
Aug 8, 2017, 3:56:38 AM8/8/17
to iDempiere
wow i actually did it.. thank you so much on your help Mr.Niemeyer.

someone really need to add what you told me to the tutorial page,
cause what you've told me is essential to run the client right..

Thank you once again for the help ! :D

Best Regard,
Rheine Adithia

Hiep Lq

unread,
Aug 8, 2017, 4:24:10 AM8/8/17
to Mohemmed Bilal Ilyas
> Currently there is a problem to connect to the server as the server uses a new way of connection and the swing client has not yet been updated 

when run setup try to set "application server" to "0.0.0.0" so can connect to it from out server 

> someone really need to add what you told me to the tutorial page,
cause what you've told me is essential to run the client right..

you can create a wiki account and edit this page
remember to use link with "/en" like wiki.idempiere.org/en

--
You received this message because you are subscribed to the Google Groups "iDempiere" group.
To unsubscribe from this group and stop receiving emails from it, send an email to idempiere+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/idempiere/4cb496f4-7c59-4222-a9bf-aaa0fefa8e76%40googlegroups.com.

For more options, visit https://groups.google.com/d/optout.



--
Lê Quý Hiệp
Email: hie...@hasuvimex.vn
Skype: admin.hasuvimex

Company: Thanh Hoa Fishery Import - Export J.s.c  (HasuvimexDL 47
Add: Lot E, Le Mon Industrial Zone, Thanh Hoa, Vietnam

Dirk Niemeyer

unread,
Aug 8, 2017, 4:33:37 AM8/8/17
to iDempiere
Hi Hiep,

the problem is related to the use of ALPN on the server side. Currently the swing client can not use it. I am working on make them talk to each other again but it is not finished yet.

Regards,
Dirk Niemeyer

Hiep Lq

unread,
Aug 8, 2017, 5:26:50 AM8/8/17
to Mohemmed Bilal Ilyas
> What is not shown is that HTTP/1.1 is the default ALPN protocol, so that if a client connects that does not speak ALPN, then HTTP/1.1 will be assumed

from this link: http://www.eclipse.org/jetty/documentation/current/http2-enabling.html

so i don't think ALPN will stop swing.



For more options, visit https://groups.google.com/d/optout.

Rheine Adithia

unread,
Aug 8, 2017, 5:46:25 AM8/8/17
to iDempiere
the client is buggy i think? or is it only happening on my PC,,

sometime the form window didn't appear, 
and when i commit some insertion or update on a table it gave me a warning message saying :
"org.compiere.model.GridTab.hasPostIt()Z"

and some window can't be shown to the window :\

but at least the migration script do generate :)

Best Regard 
Rheine Adithia
To unsubscribe from this group and stop receiving emails from it, send an email to idempiere+...@googlegroups.com.
--
Lê Quý Hiệp
Email: hie...@hasuvimex.vn
Skype: admin.hasuvimex

Company: Thanh Hoa Fishery Import - Export J.s.c  (HasuvimexDL 47
Add: Lot E, Le Mon Industrial Zone, Thanh Hoa, Vietnam

--
You received this message because you are subscribed to the Google Groups "iDempiere" group.
To unsubscribe from this group and stop receiving emails from it, send an email to idempiere+...@googlegroups.com.
Reply all
Reply to author
Forward
0 new messages