iDempiere does not launch when using Eclipse on Mac OS

793 views
Skip to first unread message

redhuan d. oon

unread,
Oct 27, 2012, 7:23:37 PM10/27/12
to idem...@googlegroups.com
I like to know if anyone else uses MacBook to debug iDempiere. I mainly do at the moment and face some recent issue with the server.product.launch. (and also swing.product.launch)
I could get the <IdempiereHome>:<port> but not the /webui nor wstore/index.jsp nor /wstore/request.jsp
I check with 'ss' and see that org.eclipse.gemini.web.tomcat plugin remains in STARTING mode.

This is the console display:

osgi> SLF4J: Class path contains multiple SLF4J bindings.
SLF4J: Found binding in [bundleresource://28.fwk1352618001:1/org/slf4j/impl/StaticLoggerBinder.class]
SLF4J: Found binding in [bundleresource://28.fwk1352618001:2/org/slf4j/impl/StaticLoggerBinder.class]
SLF4J: See http://www.slf4j.org/codes.html#multiple_bindings for an explanation.
Oct 28, 2012 6:39:34 AM org.slf4j.impl.JCLLoggerAdapter info
INFO: Configuring Tomcat from fragment entry 'bundleentry://55.fwk1352618001/META-INF/tomcat/server.xml'
Oct 28, 2012 6:39:34 AM org.apache.coyote.AbstractProtocol init
INFO: Initializing ProtocolHandler ["http-bio-8080"]
Oct 28, 2012 6:39:34 AM org.apache.coyote.AbstractProtocol init
INFO: Initializing ProtocolHandler ["http-bio-8443"]
Oct 28, 2012 6:39:35 AM org.apache.coyote.AbstractProtocol init
INFO: Initializing ProtocolHandler ["ajp-bio-8009"]
Oct 28, 2012 6:39:35 AM org.apache.catalina.core.StandardService startInternal
INFO: Starting service Catalina
Oct 28, 2012 6:39:35 AM org.apache.catalina.core.StandardEngine startInternal
INFO: Starting Servlet Engine: Apache Tomcat/7.0.21
Oct 28, 2012 6:39:35 AM org.apache.coyote.AbstractProtocol start
INFO: Starting ProtocolHandler ["http-bio-8080"]
Oct 28, 2012 6:39:35 AM org.apache.coyote.AbstractProtocol start
INFO: Starting ProtocolHandler ["http-bio-8443"]
Oct 28, 2012 6:39:35 AM org.apache.coyote.AbstractProtocol start
INFO: Starting ProtocolHandler ["ajp-bio-8009"]
Oct 28, 2012 6:39:35 AM org.apache.catalina.realm.JAASRealm setContainer
INFO: Set JAAS app name Catalina
Oct 28, 2012 6:39:36 AM org.compiere.web.AdempiereMonitorFilter init
INFO:
06:39:36.746 Adempiere.startup: ADempiere(r) Release 3.6.0LTS_2010-06-14 -Smart Suite ERP,CRM and SCM- (c) 1999-2010 ADempiere(r); Implementation: iDempiere - Supported by iDempiere community [11]
06:39:36.764 Ini.loadProperties: /Users/redhuan/Documents/workspace/idempiere/idempiere.properties #29 [11]
Started service locator: org.adempiere.base.equinox.EquinoxServiceLocator@420253af
[INFO] MLog clients using com.mchange.v2.log.FallbackMLog logging.
[INFO] Initializing c3p0-0.9.1.2 [built 21-May-2007 15:04:56; debug? true; trace: 10]
[INFO] Initializing c3p0 pool... com.mchange.v2.c3p0.ComboPooledDataSource [ acquireIncrement -> 3, acquireRetryAttempts -> 2, acquireRetryDelay -> 1000, autoCommitOnClose -> false, automaticTestTable -> null, breakAfterAcquireFailure -> false, checkoutTimeout -> 0, connectionCustomizerClassName -> null, connectionTesterClassName -> com.mchange.v2.c3p0.impl.DefaultConnectionTester, dataSourceName -> AdempiereDS, debugUnreturnedConnectionStackTraces -> false, description -> null, driverClass -> org.postgresql.Driver, factoryClassLocation -> null, forceIgnoreUnresolvedTransactions -> false, identityToken -> 1hge1378q19ly7mb1pznwft|31734b48, idleConnectionTestPeriod -> 1200, initialPoolSize -> 10, jdbcUrl -> jdbc:postgresql://localhost:5432/adempiere?encoding=UNICODE, maxAdministrativeTaskTime -> 0, maxConnectionAge -> 0, maxIdleTime -> 1200, maxIdleTimeExcessConnections -> 1200, maxPoolSize -> 150, maxStatements -> 0, maxStatementsPerConnection -> 0, minPoolSize -> 5, numHelperThreads -> 3, numThreadsAwaitingCheckoutDefaultUser -> 0, preferredTestQuery -> SELECT Version FROM AD_System, properties -> {user=******, password=******}, propertyCycle -> 0, testConnectionOnCheckin -> false, testConnectionOnCheckout -> false, unreturnedConnectionTimeout -> 0, usesTraditionalReflectiveProxies -> false ]
06:39:37.810 WebEnv.initWeb: Servlet Context Init Parameters: ADempiere Root
ServerRoot=1 [11]
06:39:37.836-----------> EMail.setFrom: you @ company.org: javax.mail.internet.AddressException: Local address contains control or whitespace in string ``you @ company.org'' [11]
06:39:37.861-----------> EMail.addTo: you @ company.org: javax.mail.internet.AddressException: Local address contains control or whitespace in string ``you @ company.org'' [11]
06:39:37.861-----------> EMail.isValid: From is invalid=null [11]
06:39:37.861-----------> EMail.isValid: From is invalid=null [11]
06:39:37.862-----------> MClient.sendEMail: Could NOT Send Email: Server started: ? to you @ company.org: Invalid Data (System) [11]
06:39:37.862 WebEnv.initWeb: Servlet Init Parameter: AdempiereMonitor [11]
06:39:37.862 AdempiereMonitor.init:  [11]

For Swing product launch i got:
osgi> Oct 28, 2012 6:55:55 AM org.adempiere.client.Application start
INFO: Starting client
Oct 28, 2012 6:55:55 AM org.restlet.ext.net.HttpClientHelper start
INFO: Starting the HTTP client

But no swing client pops up. I have checked to make more plugins active but no result.

Henrique Meira

unread,
Oct 29, 2012, 8:03:14 AM10/29/12
to idem...@googlegroups.com
I have the same problem, but with Dell / Intel Core i7 / Ubuntu.

I did think it was my fault, but if you have the same... I don't know.

I can't debug server mode, just swing mode.

henrique.



2012/10/27 redhuan d. oon <red...@gmail.com>

redhuan d. oon

unread,
Nov 4, 2012, 8:29:06 PM11/4/12
to idem...@googlegroups.com
On Mac they used to work, now both Client and Server don't. I now debug via a virtual windows machine in the mac which works pretty well. I suspect it is some memory allocation but increasing at arguments tab to 256M still has not worked. You try that and see.

redhuan d. oon

unread,
Nov 21, 2012, 7:43:05 AM11/21/12
to idem...@googlegroups.com
Today i managed to make it work with Eclipse 4 Juno edition, but you have to update GEF and then upgrade Mercurial 2.4 in Mac OSX, then MercurialEclipse, then Buckminster.

redhuan d. oon

unread,
Dec 23, 2012, 3:09:48 PM12/23/12
to idem...@googlegroups.com
Then it does not work again and after many attempts seems to work by setting the priorities of gemini plugins to 3 and placing an XStartOnFirstThread argument in the launch and particularly tweaking server.xml by removing such as MaxThread statements.

Mauro Chiarugi

unread,
Mar 7, 2013, 4:40:38 PM3/7/13
to idem...@googlegroups.com
Hi Redhuan,
I have the same problem (I'm using Mac OS X Mountain Lion). Did you resolve it? How?

Mauro

redhuan d. oon

unread,
Mar 27, 2013, 7:23:01 AM3/27/13
to idem...@googlegroups.com
Solved as stated above for Server-side, but client side still not yet.

Hesham Ahmed

unread,
Jun 18, 2013, 7:28:35 PM6/18/13
to idem...@googlegroups.com
Change the program arguments as follows in the swingclient.product configuration:
  1. change -arch ${target.arch} to -arch x86
  2. add --launcher.secondThread
This is a known bug with Eclipse + Swing + OS X

Regards,

Hesham S. Ahmed

Tomáš Švikruha

unread,
Mar 26, 2015, 2:11:59 AM3/26/15
to idem...@googlegroups.com
Hi,

I have little bit different issue.

My arguments in eclipse are:
-os ${target.os} -arch ${target.arch} -nl ${target.nl} -consoleLog -console --launcher.secondThread

When I am trying to run server.product, below dialog appears:

Tried also change -arch to x86 but didn't help.

Any ideas how to fix it?

This e-mail is confidential and may contain legally privileged information. It is intended only for the addressees and may not be reviewed or used in any way by other recipients. If you have received this e-mail in error, kindly notify us immediately by telephone or e-mail and delete the message and any attachments thereto from your system.

Carlos Antonio Ruiz Gomez

unread,
Mar 27, 2015, 9:48:06 AM3/27/15
to idem...@googlegroups.com
You need to open the launcher definition and uncheck the offending plugin - not sure if is necessary but we marked the macos plugin instead.



On 26/03/15 a las 01:11, Tomáš Švikruha wrote:
Hi,

I have little bit different issue.

My arguments in eclipse are:
-os ${target.os} -arch ${target.arch} -nl ${target.nl} -consoleLog -console --launcher.secondThread

When I am trying to run server.product, below dialog appears:


Tomáš Švikruha

unread,
Mar 27, 2015, 10:26:48 AM3/27/15
to idem...@googlegroups.com
Thanks it helps :)

Dne pátek 27. března 2015 14:48:06 UTC+1 Carlos Antonio Ruiz Gómez napsal(a):

redhuan d. oon

unread,
Mar 28, 2015, 2:34:50 AM3/28/15
to idem...@googlegroups.com
I found out what Carlos suggested by always pressing the Validate Plug-ins button at the ..Run/Debug As Configuration. Then press Add Required Plug-ins. This also helps for other cases.

redhuan d. oon

unread,
May 22, 2015, 4:02:04 AM5/22/15
to idem...@googlegroups.com, hsa...@gmail.com
Syukran jazeelah Hesham! I always hit this failure again and again on my Mac each time i install new Eclipse but finally just one touch solves it convincingly: -arch x86 (just that!)
Reply all
Reply to author
Forward
0 new messages