cancel
Showing results for 
Search instead for 
Did you mean: 

MaxDB Database Studio is not launching

calin_crecea
Explorer
0 Kudos

Hi,

I had an old version of MaxDB Studio 7_9_08_01 which was running very well.

Since a couple of days, the studio desn't want to launch anymore. I can see the process coming up in Task Manager and it dissapears.

I have also tried using a newser version MaxDB Studio 7_9_08_32, but no change.

I have see some XServer in the services which is related to MaxDB, does it needs to be running?

Thanks for your help.

Accepted Solutions (1)

Accepted Solutions (1)

JamesZ
Advisor
Advisor
0 Kudos

Hi Calin,

You should also verify if java runtime has problem.

Best regards,
James

calin_crecea
Explorer
0 Kudos

Thanks for the tip.

There is a problem with Java.

I have reinstalled Java 7 (jre-7u79-windows-x64).

I have also unsintalled MaxDb Studio, erased all sdb folders from Program Files or ProgramData.

Reinstalled MaxDB Studio maxdb-studio-desktop-win-64bit-x86_64-7_9_08_32.

Now when I launch I get an error message to a log file.

Here's the content:

!SESSION 2015-09-02 11:01:27.701 -----------------------------------------------

eclipse.buildId=unknown

java.version=1.7.0_79

java.vendor=Oracle Corporation

BootLoader constants: OS=win32, ARCH=x86_64, WS=win32, NL=en_US

Command-line arguments:  -os win32 -ws win32 -arch x86_64

!ENTRY org.eclipse.core.runtime 4 0 2015-09-02 11:01:28.562

!MESSAGE

!STACK 0

org.osgi.framework.BundleException: The bundle could not be resolved. Reason: Missing Constraint: Require-Bundle: org.eclipse.core.jobs; bundle-version="[3.2.0,4.0.0)"

  at org.eclipse.osgi.framework.internal.core.AbstractBundle.getResolverError(AbstractBundle.java:1313)

  at org.eclipse.osgi.framework.internal.core.AbstractBundle.getResolutionFailureException(AbstractBundle.java:1297)

  at org.eclipse.osgi.framework.internal.core.BundleHost.startWorker(BundleHost.java:309)

  at org.eclipse.osgi.framework.internal.core.AbstractBundle.resume(AbstractBundle.java:370)

  at org.eclipse.osgi.framework.internal.core.Framework.resumeBundle(Framework.java:1068)

  at org.eclipse.osgi.framework.internal.core.StartLevelManager.resumeBundles(StartLevelManager.java:557)

  at org.eclipse.osgi.framework.internal.core.StartLevelManager.incFWSL(StartLevelManager.java:464)

  at org.eclipse.osgi.framework.internal.core.StartLevelManager.doSetStartLevel(StartLevelManager.java:248)

  at org.eclipse.osgi.framework.internal.core.StartLevelManager.dispatchEvent(StartLevelManager.java:445)

  at org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:227)

  at org.eclipse.osgi.framework.eventmgr.EventManager$EventThread.run(EventManager.java:337)

!ENTRY org.eclipse.osgi 4 0 2015-09-02 11:01:28.568

!MESSAGE Bundle initial@reference:file:plugins/org.eclipse.core.runtime_3.5.0.v20090525.jar/ was not resolved.

!ENTRY org.eclipse.osgi 4 0 2015-09-02 11:01:28.571

!MESSAGE Application error

!STACK 1

java.lang.IllegalStateException: Unable to acquire application service. Ensure that the org.eclipse.core.runtime bundle is resolved and started (see config.ini).

  at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:74)

  at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:368)

  at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179)

  at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

  at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)

  at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)

  at java.lang.reflect.Method.invoke(Unknown Source)

  at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:559)

  at org.eclipse.equinox.launcher.Main.basicRun(Main.java:514)

  at org.eclipse.equinox.launcher.Main.run(Main.java:1311)

  at org.eclipse.equinox.launcher.Main.main(Main.java:1287)

!ENTRY org.eclipse.osgi 2 0 2015-09-02 11:01:28.590

!MESSAGE One or more bundles are not resolved because the following root constraints are not resolved:

!SUBENTRY 1 org.eclipse.osgi 2 0 2015-09-02 11:01:28.591

!MESSAGE Bundle update@eclipse/plugins/com.sap.sdb.tools.databasestudio_7.9.8.v201507031829/ was not resolved.

!SUBENTRY 2 com.sap.sdb.tools.databasestudio 2 0 2015-09-02 11:01:28.591

!MESSAGE Missing required bundle org.eclipse.jface_0.0.0.

!SUBENTRY 2 com.sap.sdb.tools.databasestudio 2 0 2015-09-02 11:01:28.591

!MESSAGE Missing required bundle org.eclipse.swt_0.0.0.

!SUBENTRY 2 com.sap.sdb.tools.databasestudio 2 0 2015-09-02 11:01:28.591

!MESSAGE Missing required bundle org.eclipse.ui.workbench_0.0.0.

!SUBENTRY 2 com.sap.sdb.tools.databasestudio 2 0 2015-09-02 11:01:28.591

!MESSAGE Missing required bundle org.eclipse.ui.ide.application_0.0.0.

!SUBENTRY 2 com.sap.sdb.tools.databasestudio 2 0 2015-09-02 11:01:28.591

!MESSAGE Missing required bundle org.eclipse.ui.intro.universal_0.0.0.

!SUBENTRY 2 com.sap.sdb.tools.databasestudio 2 0 2015-09-02 11:01:28.591

!MESSAGE Missing required bundle org.eclipse.ui.intro_0.0.0.

!SUBENTRY 2 com.sap.sdb.tools.databasestudio 2 0 2015-09-02 11:01:28.591

!MESSAGE Missing required bundle org.eclipse.ui_0.0.0.

!SUBENTRY 1 org.eclipse.osgi 2 0 2015-09-02 11:01:28.591

!MESSAGE Bundle update@eclipse/plugins/com.sap.sdb.tools.resources.base_7.9.8.v201507031829/ was not resolved.

!SUBENTRY 2 com.sap.sdb.tools.resources.base 2 0 2015-09-02 11:01:28.591

!MESSAGE Missing required bundle org.eclipse.ui.workbench_0.0.0.

!SUBENTRY 1 org.eclipse.osgi 2 0 2015-09-02 11:01:28.591

!MESSAGE Bundle update@eclipse/plugins/com.sap.sdb.tools.ui.sqlstudio_7.9.8.v201507031829/ was not resolved.

the log continues with endless lines like the last ones...

JamesZ
Advisor
Advisor
0 Kudos

Hi Calin,


You may need to check if java related environment variables are rightly set. Because right now it is eclipse cannot be started.

Best regards,
James

calin_crecea
Explorer
0 Kudos

I have a JAVA_HOME in the environment variables (Windows), if I change it it doesn't seem to bother, the dbstudio.exe gives the same error.

Is there any other env var that should be declared?

Normally a clean installation of Java and MaxDB should setup all necessary variables by themselves right?

When I look into the error lines the jar files it's looking for are correctly placed in the /plugins folder inside "DatabaseStudio" folder.

0 Kudos

Hi Calin,

How do you start the db studio? Please open a command prompt as administrator (right click -> run as adminstrator) and then go to the directory where dbstudio.exe located and then

dbstudio.exe -vm  "C:\Program Files\Java\jre1.8.0_45\bin"

Certainly you have to adjust the path so that it is the bin directory of the java installation on your computer.

Cheers,

Péter

calin_crecea
Explorer
0 Kudos

Did what you suggested.Same error.

opened a command prompt admin, gone to 

c:\sapdb\clients\DatabaseStudio\

then

dbstudio -vm "c:\Program Files\Java\jre7\bin"

the splash screen appears shortly, then closes and popup error invites me to see the log file in

c:\Users\myUserxxx\sdb\DatabaseStudio\.configuration\    folder

does it need the jdk maybe?

calin_crecea
Explorer
0 Kudos

I have installed java 1.8, same error.

0 Kudos

Hi Calin,

If now java is 1.8 and the bin directory is in the path , then it is likely not a java problem.

There are some configuration files stored in the C:\users\myUserxxx\sdb\DatabaseStudio\.configuration

directory and from the error message it looks like something can not be found.

Please rename the whole DatabaseStudio directory to DatabaseStudio_rem, so that

database studio does not find it on startup. In this case it will create the directory again on startup.

Do you get the same error message after renaming the directory?

Cheers, Péter

calin_crecea
Explorer
0 Kudos

The trick worked. Now I can launch MaxDB. Thanks a lot.

It's very strange as when I reinstalled MaxDB I erased that folder.

More, there is a password that maxDB Studio is asking when you launch it, and it kept the old password. This makes me think there are some settings stored in the registry or somewhere else.

Answers (1)

Answers (1)

former_member188883
Active Contributor
0 Kudos

Hi Calin,

Yes the XServer should be running to launch the Database Studio.

Regards,

Deepak Kori