always fail running server.product idempiere in eclipse

964 views
Skip to first unread message

indra.g...@gmail.com

unread,
Sep 28, 2013, 1:52:21 AM9/28/13
to idem...@googlegroups.com
Dear all,

I was trying to run idempiere in eclipse. I followed the steps as follows :

1. Java SDK 6 , JRE 6 and postgresql installed , windows 7

2. Download the code - cloning idempiere from bitbucket.org/idempiere/idempiere- successful

3. Setting up eclipse as 
    A.  Switch Workspace
    B.  Target Platform
    C.  Plugins Buckminster, Core , Maven and PDE.
all step numer 3 was successful

4.  Materializing iDempiere ,--> successful

5.  Import database idempiere --> successful

6.  Run idempiere on eclipse until install.app  --> successful
     Application server  :  localhost
     web port :  8080
     SSL  :  8443
     Database type : postgresql 
     Mail server : my computer name
     DB admin password : mypassword
     Database password  : adempiere

step number 6 was successful

But when i tried run server.product  ---->  always fail
Even i have tried with eclipse indigo 3.7, eclipse kepler 4.3 and eclipse helios 3.6, with the appropriate plugins.

I have tried plugins Equinox Target Component. 
I have tried set server tomcat too.

But same error always appear as follow :

osgi> SLF4J: Class path contains multiple SLF4J bindings.
SLF4J: Found binding in [bundleresource://28.fwk11025290:1/org/slf4j/impl/StaticLoggerBinder.class]
SLF4J: Found binding in [bundleresource://28.fwk11025290:2/org/slf4j/impl/StaticLoggerBinder.class]
Sep 28, 2013 12:43:48 PM org.slf4j.impl.JCLLoggerAdapter info
INFO: Configuring Tomcat from fragment entry 'bundleentry://55.fwk11025290/META-INF/tomcat/server.xml'
Sep 28, 2013 12:43:48 PM org.apache.catalina.startup.SetAllPropertiesRule begin
WARNING: [SetAllPropertiesRule]{Server/Service/Connector} Setting property 'maxSpareThreads' to '75' did not find a matching property.
Sep 28, 2013 12:43:48 PM org.apache.catalina.startup.SetAllPropertiesRule begin
WARNING: [SetAllPropertiesRule]{Server/Service/Connector} Setting property 'maxSpareThreads' to '75' did not find a matching property.
Sep 28, 2013 12:43:48 PM org.apache.tomcat.util.digester.SetPropertiesRule begin
WARNING: [SetPropertiesRule]{Server/Service/Engine/Host} Setting property 'xmlValidation' to 'false' did not find a matching property.
Sep 28, 2013 12:43:48 PM org.apache.tomcat.util.digester.SetPropertiesRule begin
WARNING: [SetPropertiesRule]{Server/Service/Engine/Host} Setting property 'xmlNamespaceAware' to 'false' did not find a matching property.
Sep 28, 2013 12:43:49 PM org.apache.coyote.AbstractProtocol init
INFO: Initializing ProtocolHandler ["http-bio-8080"]
Sep 28, 2013 12:43:49 PM org.apache.coyote.AbstractProtocol init
INFO: Initializing ProtocolHandler ["http-bio-8443"]
Sep 28, 2013 12:43:49 PM org.apache.coyote.AbstractProtocol init
INFO: Initializing ProtocolHandler ["ajp-bio-8009"]
Sep 28, 2013 12:43:49 PM org.apache.catalina.core.StandardService startInternal
INFO: Starting service Catalina
Sep 28, 2013 12:43:49 PM org.apache.catalina.core.StandardEngine startInternal
INFO: Starting Servlet Engine: Apache Tomcat/7.0.21
Sep 28, 2013 12:43:49 PM org.apache.coyote.AbstractProtocol start
INFO: Starting ProtocolHandler ["http-bio-8080"]
Sep 28, 2013 12:43:49 PM org.apache.coyote.AbstractProtocol start
INFO: Starting ProtocolHandler ["http-bio-8443"]
Sep 28, 2013 12:43:49 PM org.apache.coyote.AbstractProtocol start
INFO: Starting ProtocolHandler ["ajp-bio-8009"]
Sep 28, 2013 12:43:49 PM org.apache.catalina.realm.JAASRealm setContainer
INFO: Set JAAS app name Catalina
Sep 28, 2013 12:43:50 PM org.compiere.web.AdempiereMonitorFilter init
INFO: 
12:43:50.161 Adempiere.startup: iDempiere(r) Release 1.0c_2013-06-27 -Smart Suite ERP, CRM and SCM- (c) 1999-2013 iDempiere(r); Implementation: iDempiere - Supported by iDempiere community [11]
12:43:50.166 Ini.loadProperties: D:\ouridempiere\idempiere.properties #28 [11]
[INFO] MLog clients using com.mchange.v2.log.FallbackMLog logging.
[INFO] Initializing c3p0-0.9.2 [built 09-February-2013 02:13:17 +0000; 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 -> iDempiereDS, debugUnreturnedConnectionStackTraces -> false, description -> null, driverClass -> org.postgresql.Driver, factoryClassLocation -> null, forceIgnoreUnresolvedTransactions -> false, identityToken -> 1hge14q8xrhtqzgcr2xa7|feecca, idleConnectionTestPeriod -> 1200, initialPoolSize -> 10, jdbcUrl -> jdbc:postgresql://localhost:5432/idempiere?encoding=UNICODE, maxAdministrativeTaskTime -> 0, maxConnectionAge -> 0, maxIdleTime -> 1200, maxIdleTimeExcessConnections -> 1200, maxPoolSize -> 90, maxStatements -> 0, maxStatementsPerConnection -> 30, minPoolSize -> 5, numHelperThreads -> 3, preferredTestQuery -> SELECT Version FROM AD_System, properties -> {user=******, password=******}, propertyCycle -> 0, statementCacheNumDeferredCloseThreads -> 0, testConnectionOnCheckin -> false, testConnectionOnCheckout -> false, unreturnedConnectionTimeout -> 0, userOverrides -> {}, usesTraditionalReflectiveProxies -> false ]
12:43:53.549 Language.getLanguage: Adding Language=en, Country=US, Locale=en_US [11]
12:43:53.556 Language.getLanguage: Adding Language=en, Country=US, Locale=en_US [11]
12:43:54.499 WebEnv.initWeb: Servlet Context Init Parameters: iDempiere Root
ServerRoot=1 [11]
12:43:54.527-----------> EMail.setFrom: you @ company.org: javax.mail.internet.AddressException: Local address contains control or whitespace in string ``you @ company.org'' [11]
12:43:54.616-----------> EMail.addTo: you @ company.org: javax.mail.internet.AddressException: Local address contains control or whitespace in string ``you @ company.org'' [11]
12:43:54.617-----------> EMail.isValid: From is invalid=null [11]
12:43:54.618-----------> EMail.isValid: From is invalid=null [11]
12:43:54.618-----------> MClient.sendEMail: Could NOT Send Email: Server started: ? to you @ company.org: Invalid Data (System) [11]
12:43:54.619 WebEnv.initWeb: Servlet Init Parameter: idempiereMonitor [11]
12:43:54.619 AdempiereMonitor.init:  [11]
12:44:10.660-----------> zkoss.parse:446: Ingored. Use the library property called org.zkoss.util.logging.config.file instead [12]
12:44:11.505           WebUIServlet.init: iDempiere Web Client started successfully [12]
!SESSION 2013-09-28 12:43:47.009 -----------------------------------------------
eclipse.buildId=unknown
java.version=1.6.0_43
java.vendor=Sun Microsystems Inc.
BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=en_US
Framework arguments:  -product org.adempiere.server.server_product
Command-line arguments:  -product org.adempiere.server.server_product -data D:\ouridempiere/../runtime-server.product -dev file:D:/ouridempiere/.metadata/.plugins/org.eclipse.pde.core/server.product/dev.properties -os win32 -arch x86 -consoleLog -console

!ENTRY org.eclipse.osgi 2 0 2013-09-28 12:44:14.076
!MESSAGE The following is a complete list of bundles which are not resolved, see the prior log entry for the root cause if it exists:
!SUBENTRY 1 org.eclipse.osgi 2 0 2013-09-28 12:44:14.076
!MESSAGE Bundle org.eclipse.equinox.launcher.gtk.linux.x86_64_1.1.100.v20110505 [112] was not resolved.
!SUBENTRY 2 org.eclipse.equinox.launcher.gtk.linux.x86_64 2 0 2013-09-28 12:44:14.076
!MESSAGE Platform filter did not match: (& (osgi.ws=gtk) (osgi.os=linux) (osgi.arch=x86_64))


How can i solve this ?  Does anyone willing to help me?  
I would be very grateful .
Thank you

regards,

Indra


indra sanjaya

unread,
Sep 28, 2013, 2:11:22 AM9/28/13
to idem...@googlegroups.com
Oh ....I also have added the RequestValidator. Java , edit MRequest. Java and edit  RequestSendEmailEventData.java   --> successful

Carlos Antonio Ruiz Gomez

unread,
Sep 28, 2013, 10:50:22 AM9/28/13
to idem...@googlegroups.com
Hi, in my installation there is a folder created on materialization at:
targetPlatform/plugins/org.eclipse.equinox.launcher.gtk.linux.x86_64_1.1.100.v20110505

Seems like your installation cannot find it?

Regards,

Carlos Ruiz



On 28/09/13 01:17, indra sanjaya wrote:
I mean after Materializing iDempiere...... I also have added the RequestValidator. Java , edit MRequest. Java and edit  RequestSendEmailEventData.java   --> successful, ......but when i tried run server.product  ---->  always fail as above. Thanks.



Pada Sabtu, 28 September 2013 12:52:21 UTC+7, indra sanjaya menulis:

indra sanjaya

unread,
Sep 28, 2013, 1:09:50 PM9/28/13
to idem...@googlegroups.com
Hi Carlos, thank you for your attention.

Yes, there is targetPlatform/plugins/org.eclipse.equinox.launcher.gtk.linux.x86_64_1.1.100.v20110505 and

targetPlatform/plugins/org.eclipse.equinox.launcher.win32.win32.x86_64_1.1.100.v20110502

Then what can i do ?


Pada Sabtu, 28 September 2013 12:52:21 UTC+7, indra sanjaya menulis:

Edwin Ang

unread,
Sep 28, 2013, 8:13:57 PM9/28/13
to idem...@googlegroups.com
Hi Indra,

Go to Debug / Run Configuration for server.product, click on tab Plug-ins. Then click on button Add Required Plug-ins and then click on button Validate Plug-ins.
My guess is you are running under Windows hence you  need to remove plugin org.eclipse.equinox.launcher.gtk.linux.x86_64


Regards,

Edwin Ang



--
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.
For more options, visit https://groups.google.com/groups/opt_out.

indra sanjaya

unread,
Sep 28, 2013, 2:17:48 AM9/28/13
to idem...@googlegroups.com
I mean after Materializing iDempiere...... I also have added the RequestValidator. Java , edit MRequest. Java and edit  RequestSendEmailEventData.java   --> successful, ......but when i tried run server.product  ---->  always fail as above. Thanks.



Pada Sabtu, 28 September 2013 12:52:21 UTC+7, indra sanjaya menulis:
Reply all
Reply to author
Forward
0 new messages