[kepler-dev] Unable to start kepler.

Derik Barseghian barseghian at nceas.ucsb.edu
Thu Mar 15 13:35:30 PDT 2012


Hi Vijaykumar,
Kepler was unable to start its cache database on port 9001. Are you sure you don't have another instance of Kepler running, or some other service using that port, or rules in place blocking that port from yourself?

Trying again after a restart of your computer and:
cd build-area
ant clean-all
svn update
ant update
ant run

may be worthwhile.

You could also resort to configuring Kepler to not use server mode for its databases. You do this by setting empty the values of url and port in kepler/common/resources/configuration/configuration.xml, like this:
  <sqlEngines>  
    <sqlEngine>
      <sqlEngineName>hsql</sqlEngineName>
      <userName>sa</userName>
      <password> </password>
      <url></url>
      <port></port>
      <dbName>hsqldb</dbName>

If (and only if) it exists (it most likely won't) you must then overwrite the copy of this file in KeplerData, i.e. copy kepler/common/resources/configuration/configuration.xml to KeplerData/modules/common/configuration/

Derik

On Mar 15, 2012, at 12:49 AM, Vijaykumar Ghadage wrote:

>  
> Hi,
>  
>  
>                 I am using Kepler 2.3 version but I am unable to start it.
>  
> When I click on it , after some time it shows error “Failed to parse "-kepler" ”
> So could you please solve the issue. I have attached Stack Trace below
>  
> I have also tried to run using command line with ANT 7.0
>  
> [ cd build-area
>   ant change-to -Dsuite=kepler
>     ant run
> ]
>  
> Still it shows same error. So please help me out in solving the issue.
>  
> StackTrace:
> java.lang.Exception: Failed to parse "-kepler"
>                 at ptolemy.actor.gui.ConfigurationApplication.throwArgsException(ConfigurationApplication.java:791)
>                 at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:320)
>                 at ptolemy.actor.gui.MoMLApplication.<init>(MoMLApplication.java:80)
>                 at ptolemy.vergil.VergilApplication.<init>(VergilApplication.java:111)
>                 at ptolemy.vergil.VergilApplication$1.run(VergilApplication.java:239)
>                 at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209)
>                 at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:641)
>                 at java.awt.EventQueue.access$000(EventQueue.java:84)
>                 at java.awt.EventQueue$1.run(EventQueue.java:602)
>                 at java.awt.EventQueue$1.run(EventQueue.java:600)
>                 at java.security.AccessController.doPrivileged(Native Method)
>                 at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:87)
>                 at java.awt.EventQueue.dispatchEvent(EventQueue.java:611)
>                 at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:269)
>                 at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:184)
>                 at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:174)
>                 at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:169)
>                 at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:161)
>                 at java.awt.EventDispatchThread.run(EventDispatchThread.java:122)
> Caused by: java.lang.Exception: Failed to read configuration 'file:/D:/kepler/common/configs/ptolemy/configs/kepler/configuration.xml'
>                 at ptolemy.vergil.VergilApplication._createDefaultConfiguration(VergilApplication.java:331)
>                 at ptolemy.vergil.VergilApplication._createEmptyConfiguration(VergilApplication.java:367)
>                 at ptolemy.actor.gui.ConfigurationApplication._parseArgs(ConfigurationApplication.java:1273)
>                 at ptolemy.vergil.VergilApplication._parseArgs(VergilApplication.java:497)
>                 at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:244)
>                 ... 17 more
> Caused by: java.lang.Exception: Failed to call application initializer class "org.kepler.gui.KeplerInitializer".  Perhaps the configuration file "file:/D:/kepler/common/configs/ptolemy/configs/kepler/configuration.xml" has a problem?
>                 at ptolemy.actor.gui.ConfigurationApplication.readConfiguration(ConfigurationApplication.java:632)
>                 at ptolemy.vergil.VergilApplication._createDefaultConfiguration(VergilApplication.java:329)
>                 ... 21 more
> Caused by: java.sql.SQLException: Unable to start HSQL server for jdbc:hsqldb:hsql://127.0.0.1:9001/hsqldb
>                 at org.kepler.util.sql.HSQL._getConnection(HSQL.java:471)
>                 at org.kepler.util.sql.DatabaseFactory.getDBConnection(DatabaseFactory.java:140)
>                 at org.kepler.gui.KeplerInitializer.initializeSystem(KeplerInitializer.java:169)
>                 at org.kepler.gui.KeplerInitializer.<init>(KeplerInitializer.java:96)
>                 at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
>                 at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
>                 at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
>                 at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
>                 at java.lang.Class.newInstance0(Class.java:355)
>                 at java.lang.Class.newInstance(Class.java:308)
>                 at ptolemy.actor.gui.ConfigurationApplication.readConfiguration(ConfigurationApplication.java:630)
>                 ... 22 more
>  
> Thanks.
>  
> Regards,
>  
> Vijaykumar Ghadage  |  Software Engineer - LABS
> vijaykumar_ghadage at persistent.co.in| Cell: +91 9552617817 | Tel: +91-20-302 34258
> Persistent Systems Ltd. | Partners in Innovation | www.persistentsys.com
> <image001.gif>
>  
>  
>  
> DISCLAIMER ========== This e-mail may contain privileged and confidential information which is the property of Persistent Systems Ltd. It is intended only for the use of the individual or entity to which it is addressed. If you are not the intended recipient, you are not authorized to read, retain, copy, print, distribute or use this message. If you have received this communication in error, please notify the sender and delete all copies of this message. Persistent Systems Ltd. does not accept any liability for virus infected mails.
> 
> _______________________________________________
> Kepler-dev mailing list
> Kepler-dev at kepler-project.org
> http://lists.nceas.ucsb.edu/kepler/mailman/listinfo/kepler-dev



More information about the Kepler-dev mailing list