Launch v3.1 from Eclipse (Windows 7)

396 views
Skip to first unread message

Nicolas Micoud

unread,
Nov 9, 2015, 4:14:19 AM11/9/15
to iDempiere
Hi,

I've setup a new environnement following instructions of http://wiki.idempiere.org/en/Installing_iDempiere
I've also migrating my database from 2.1 to 3.1.

And I'm facing issues when trying to launch Swing and Webui clients.

Swing :
A non blocking error : org.osgi.framework.BundleException: Could not find bundle: org.eclipse.equinox.console (see full log in attachment).
The login display and i'm able to log in and play.
Should I worry ?

Webui :
When trying to launch the client, Eclipse open a popup 'Validation' : The following problems were detected :
org.eclipse.equinox.launche.gtk.linux.x86_64
    Platform filter did not match: (&osgi.ws=gtk) (osgi.os=linux) (osgi.arch=x86_64))
   
I've ask Google and found some threads - i try to apply descibed fixes - but issue remains.
If i remove the plugin 'org.eclipse.equinox.launcher.gtk.linux.x86_64) from the selected plugin (Debug configuration), the program starts but... it seems to fail when starting Hazelcast
09:55:22.866-----------> Node: [192.168.1.31]:5701 [@ADEMPIERE_DB_USER@.@ADEMPIERE_DB_NAME@/@ADEMPIERE_DB_SERVER@] [3.5.3] No join method is enabled! Starting standalone. [25]

As i don't need Hazelcast, i try to remove the following VM argument :
-Dhazelcast.config=${workspace_loc}/org.adempiere.server-feature/hazelcast-template.xml


But it doesn't change things, the programs seems stopped at line :
[WARNING] com.mchange.v2.cfg.BasicMultiPropertiesConfig: Properties object found at resource path [system properties] contains a value that is not a String: null; Skipping...


Any idea where to look ?

Thanks,

Nicolas
log_webui.txt
log_swing.txt

Hiep Lq

unread,
Nov 9, 2015, 4:43:38 AM11/9/15
to Mohemmed Bilal Ilyas
Swing:org.eclipse.equinox.console.
you has some option:
   1. add org.eclipse.equinox.console to swing launch with full its requirement bundle (three gogo bundle)
   2. remove -console argument of swing launch
   3. run normal until you see anything strange.

Webui:
   1. org.eclipse.equinox.launche.gtk.linux.x86_64: correct solution is un-tick it.
   2. [@ADEMPIERE_DB_USER@.@ADEMPIERE_DB_NAME@/@ADEMPIERE_DB_SERVER@]
   because var not yet replace by value, it mean you don't run install in this server or run with not yet complete success
   just rerun install
   3. No join method is enabled! Starting standalone
   you can refer this ticket: IDEMPIERE-2868

--
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.
To view this discussion on the web visit https://groups.google.com/d/msgid/idempiere/c83a9581-b68d-4675-9583-3407089b4159%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

Nicolas Micoud

unread,
Nov 10, 2015, 3:18:55 AM11/10/15
to iDempiere
Hi Hiep,

Thanks for answering.

For Swing
, i've removed the -console from the VM argument and message is gone.
Question is : do you know why this argument is in the 'default' installation ?


For Webui
#1 : ok i've removed the plugin
#2, i launch the install.app again and the message has disappear !
#3 : ok

And i'm able to launch iDempiere. Now i have to migrate plugins and theme to be able to log in.

During the install.app, i select a jre6 and not a jre7. But i get a green tick
AFAIK, java7 is required for v3, so the install process should have been stopped ?


Thanks a lot,


Nicolas

Hiep Lq

unread,
Nov 10, 2015, 3:57:34 AM11/10/15
to Mohemmed Bilal Ilyas
On Tue, Nov 10, 2015 at 3:18 PM, Nicolas Micoud <nicolas...@gmail.com> wrote:
Hi Hiep,

Thanks for answering.

For Swing
, i've removed the -console from the VM argument and message is gone.
Question is : do you know why this argument is in the 'default' installation ?

in idempiere, maybe it for telnet connect.

For Webui
#1 : ok i've removed the plugin
#2, i launch the install.app again and the message has disappear !
#3 : ok

And i'm able to launch iDempiere. Now i have to migrate plugins and theme to be able to log in.

During the install.app, i select a jre6 and not a jre7. But i get a green tick
AFAIK, java7 is required for v3, so the install process should have been stopped ?


from v3, we will stop support java6, so some code (already has or future) will can't run with java6.
i don't remember why, but i always run idempiere with JDK not JRE (maybe for compile callout scrip)
  

For more options, visit https://groups.google.com/d/optout.
Reply all
Reply to author
Forward
0 new messages