Admin can start Polarion Server, User gets error

Description
danasi
Posts: 1
Joined: Mon Sep 08, 2008 2:07 pm

Admin can start Polarion Server, User gets error

Postby danasi » Mon Sep 08, 2008 2:20 pm

When I am logged on as an administrator, I can start the Polarion Server. But I get the following error when I am starting the server as a normal user or power user

Code: Select all

!SESSION 2008-09-08 09:45:20.791 -----------------------------------------------
eclipse.buildId=M20060118-1600
java.version=1.5.0_09
java.vendor=Sun Microsystems Inc.
BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=en_US
Command-line arguments:  -os win32 -ws win32 -arch x86 -data C:\Polarion\polarion\..\data\workspace
 
!ENTRY org.eclipse.osgi 2008-09-08 09:45:20.963
!MESSAGE Error reading configuration: C:\Polarion\polarion\..\data\workspace\.config\org.eclipse.osgi\.manager\.fileTableLock (Access is denied)
!STACK 0
java.io.FileNotFoundException: C:\Polarion\polarion\..\data\workspace\.config\org.eclipse.osgi\.manager\.fileTableLock (Access is denied)
            at java.io.FileOutputStream.openAppend(Native Method)
            at java.io.FileOutputStream.<init>(FileOutputStream.java:177)
            at org.eclipse.core.runtime.internal.adaptor.Locker_JavaNio.lock(Locker_JavaNio.java:34)
            at org.eclipse.core.runtime.adaptor.FileManager.lock(FileManager.java:361)
            at org.eclipse.core.runtime.adaptor.FileManager.open(FileManager.java:658)
            at org.eclipse.core.runtime.adaptor.EclipseAdaptor.initFileManager(EclipseAdaptor.java:818)
            at org.eclipse.core.runtime.adaptor.EclipseAdaptor.initialize(EclipseAdaptor.java:139)
            at org.eclipse.osgi.framework.internal.core.Framework.initialize(Framework.java:128)
            at org.eclipse.osgi.framework.internal.core.Framework.<init>(Framework.java:106)
            at org.eclipse.osgi.framework.internal.core.OSGi.createFramework(OSGi.java:90)
            at org.eclipse.osgi.framework.internal.core.OSGi.<init>(OSGi.java:31)
            at org.eclipse.core.runtime.adaptor.EclipseStarter.startup(EclipseStarter.java:272)
            at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:159)
            at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
            at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
            at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
            at java.lang.reflect.Method.invoke(Method.java:585)
            at org.eclipse.core.launcher.Main.invokeFramework(Main.java:334)
            at org.eclipse.core.launcher.Main.basicRun(Main.java:278)
            at org.eclipse.core.launcher.Main.run(Main.java:973)
            at org.eclipse.core.launcher.Main.main(Main.java:948)
 
!ENTRY initial@reference:file:plugins/org.eclipse.core.runtime_3.1.2.jar/ 0 0 2008-09-08 09:45:21.244
!MESSAGE FrameworkEvent.ERROR
!STACK 0
org.osgi.framework.BundleException: Exception in org.eclipse.core.internal.runtime.PlatformActivator.start() of bundle org.eclipse.core.runtime.
            at org.eclipse.osgi.framework.internal.core.BundleContextImpl.startActivator(BundleContextImpl.java:1013)
            at org.eclipse.osgi.framework.internal.core.BundleContextImpl.start(BundleContextImpl.java:969)
            at org.eclipse.osgi.framework.internal.core.BundleHost.startWorker(BundleHost.java:316)
            at org.eclipse.osgi.framework.internal.core.AbstractBundle.resume(AbstractBundle.java:337)
            at org.eclipse.osgi.framework.internal.core.Framework.resumeBundle(Framework.java:1024)
            at org.eclipse.osgi.framework.internal.core.StartLevelManager.resumeBundles(StartLevelManager.java:574)
            at org.eclipse.osgi.framework.internal.core.StartLevelManager.incFWSL(StartLevelManager.java:496)
            at org.eclipse.osgi.framework.internal.core.StartLevelManager.doSetStartLevel(StartLevelManager.java:275)
            at org.eclipse.osgi.framework.internal.core.StartLevelManager.dispatchEvent(StartLevelManager.java:456)
            at org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:189)
            at org.eclipse.osgi.framework.eventmgr.EventManager$EventThread.run(EventManager.java:291)
Caused by: java.io.FileNotFoundException: C:\Polarion\polarion\..\data\workspace\.config\org.eclipse.core.runtime\.manager\.fileTableLock (Access is denied)
            at java.io.FileOutputStream.openAppend(Native Method)
            at java.io.FileOutputStream.<init>(FileOutputStream.java:177)
            at org.eclipse.core.runtime.internal.adaptor.Locker_JavaNio.lock(Locker_JavaNio.java:34)
            at org.eclipse.core.runtime.adaptor.FileManager.lock(FileManager.java:361)
            at org.eclipse.core.runtime.adaptor.FileManager.open(FileManager.java:658)
            at org.eclipse.core.internal.runtime.InternalPlatform.initializeRuntimeFileManager(InternalPlatform.java:786)
            at org.eclipse.core.internal.runtime.InternalPlatform.start(InternalPlatform.java:1086)
            at org.eclipse.core.internal.runtime.PlatformActivator.startInternalPlatform(PlatformActivator.java:141)
            at org.eclipse.core.internal.runtime.PlatformActivator.start(PlatformActivator.java:57)
            at org.eclipse.osgi.framework.internal.core.BundleContextImpl$2.run(BundleContextImpl.java:994)
            at java.security.AccessController.doPrivileged(Native Method)
            at org.eclipse.osgi.framework.internal.core.BundleContextImpl.startActivator(BundleContextImpl.java:988)
            ... 10 more
Root exception:
java.io.FileNotFoundException: C:\Polarion\polarion\..\data\workspace\.config\org.eclipse.core.runtime\.manager\.fileTableLock (Access is denied)
            at java.io.FileOutputStream.openAppend(Native Method)
            at java.io.FileOutputStream.<init>(FileOutputStream.java:177)
            at org.eclipse.core.runtime.internal.adaptor.Locker_JavaNio.lock(Locker_JavaNio.java:34)
            at org.eclipse.core.runtime.adaptor.FileManager.lock(FileManager.java:361)
            at org.eclipse.core.runtime.adaptor.FileManager.open(FileManager.java:658)
            at org.eclipse.core.internal.runtime.InternalPlatform.initializeRuntimeFileManager(InternalPlatform.java:786)
            at org.eclipse.core.internal.runtime.InternalPlatform.start(InternalPlatform.java:1086)
            at org.eclipse.core.internal.runtime.PlatformActivator.startInternalPlatform(PlatformActivator.java:141)
            at org.eclipse.core.internal.runtime.PlatformActivator.start(PlatformActivator.java:57)
            at org.eclipse.osgi.framework.internal.core.BundleContextImpl$2.run(BundleContextImpl.java:994)
            at java.security.AccessController.doPrivileged(Native Method)
            at org.eclipse.osgi.framework.internal.core.BundleContextImpl.startActivator(BundleContextImpl.java:988)
            at org.eclipse.osgi.framework.internal.core.BundleContextImpl.start(BundleContextImpl.java:969)
            at org.eclipse.osgi.framework.internal.core.BundleHost.startWorker(BundleHost.java:316)
            at org.eclipse.osgi.framework.internal.core.AbstractBundle.resume(AbstractBundle.java:337)
            at org.eclipse.osgi.framework.internal.core.Framework.resumeBundle(Framework.java:1024)
            at org.eclipse.osgi.framework.internal.core.StartLevelManager.resumeBundles(StartLevelManager.java:574)
            at org.eclipse.osgi.framework.internal.core.StartLevelManager.incFWSL(StartLevelManager.java:496)
            at org.eclipse.osgi.framework.internal.core.StartLevelManager.doSetStartLevel(StartLevelManager.java:275)
            at org.eclipse.osgi.framework.internal.core.StartLevelManager.dispatchEvent(StartLevelManager.java:456)
            at org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:189)
            at org.eclipse.osgi.framework.eventmgr.EventManager$EventThread.run(EventManager.java:291)
 
!ENTRY initial@reference:file:plugins/org.eclipse.update.configurator_3.1.0.jar/ 0 0 2008-09-08 09:45:21.290
!MESSAGE FrameworkEvent.ERROR
!STACK 0
org.osgi.framework.BundleException: Exception in org.eclipse.update.internal.configurator.ConfigurationActivator.start() of bundle org.eclipse.update.configurator.
            at org.eclipse.osgi.framework.internal.core.BundleContextImpl.startActivator(BundleContextImpl.java:1013)
            at org.eclipse.osgi.framework.internal.core.BundleContextImpl.start(BundleContextImpl.java:969)
            at org.eclipse.osgi.framework.internal.core.BundleHost.startWorker(BundleHost.java:316)
            at org.eclipse.osgi.framework.internal.core.AbstractBundle.resume(AbstractBundle.java:337)
            at org.eclipse.osgi.framework.internal.core.Framework.resumeBundle(Framework.java:1024)
            at org.eclipse.osgi.framework.internal.core.StartLevelManager.resumeBundles(StartLevelManager.java:574)
            at org.eclipse.osgi.framework.internal.core.StartLevelManager.incFWSL(StartLevelManager.java:496)
            at org.eclipse.osgi.framework.internal.core.StartLevelManager.doSetStartLevel(StartLevelManager.java:275)
            at org.eclipse.osgi.framework.internal.core.StartLevelManager.dispatchEvent(StartLevelManager.java:456)
            at org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:189)
            at org.eclipse.osgi.framework.eventmgr.EventManager$EventThread.run(EventManager.java:291)
Caused by: java.lang.Exception: Cannot initialize the Update Configurator
            at org.eclipse.update.internal.configurator.ConfigurationActivator.initialize(ConfigurationActivator.java:89)
            at org.eclipse.update.internal.configurator.ConfigurationActivator.start(ConfigurationActivator.java:67)
            at org.eclipse.osgi.framework.internal.core.BundleContextImpl$2.run(BundleContextImpl.java:994)
            at java.security.AccessController.doPrivileged(Native Method)
            at org.eclipse.osgi.framework.internal.core.BundleContextImpl.startActivator(BundleContextImpl.java:988)
            ... 10 more
Root exception:
java.lang.Exception: Cannot initialize the Update Configurator
            at org.eclipse.update.internal.configurator.ConfigurationActivator.initialize(ConfigurationActivator.java:89)
            at org.eclipse.update.internal.configurator.ConfigurationActivator.start(ConfigurationActivator.java:67)
            at org.eclipse.osgi.framework.internal.core.BundleContextImpl$2.run(BundleContextImpl.java:994)
            at java.security.AccessController.doPrivileged(Native Method)
            at org.eclipse.osgi.framework.internal.core.BundleContextImpl.startActivator(BundleContextImpl.java:988)
            at org.eclipse.osgi.framework.internal.core.BundleContextImpl.start(BundleContextImpl.java:969)
            at org.eclipse.osgi.framework.internal.core.BundleHost.startWorker(BundleHost.java:316)
            at org.eclipse.osgi.framework.internal.core.AbstractBundle.resume(AbstractBundle.java:337)
            at org.eclipse.osgi.framework.internal.core.Framework.resumeBundle(Framework.java:1024)
            at org.eclipse.osgi.framework.internal.core.StartLevelManager.resumeBundles(StartLevelManager.java:574)
            at org.eclipse.osgi.framework.internal.core.StartLevelManager.incFWSL(StartLevelManager.java:496)
            at org.eclipse.osgi.framework.internal.core.StartLevelManager.doSetStartLevel(StartLevelManager.java:275)
            at org.eclipse.osgi.framework.internal.core.StartLevelManager.dispatchEvent(StartLevelManager.java:456)
            at org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:189)
            at org.eclipse.osgi.framework.eventmgr.EventManager$EventThread.run(EventManager.java:291)
 
!ENTRY org.eclipse.osgi 2008-09-08 09:45:21.306
!MESSAGE Startup error
!STACK 1
java.lang.IllegalStateException: Bundle initial@reference:file:plugins/org.eclipse.core.runtime_3.1.2.jar/ [1] is not active.
            at org.eclipse.core.runtime.adaptor.EclipseStarter.ensureBundlesActive(EclipseStarter.java:410)
            at org.eclipse.core.runtime.adaptor.EclipseStarter.startup(EclipseStarter.java:297)
            at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:159)
            at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
            at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
            at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
            at java.lang.reflect.Method.invoke(Method.java:585)
            at org.eclipse.core.launcher.Main.invokeFramework(Main.java:334)
            at org.eclipse.core.launcher.Main.basicRun(Main.java:278)
            at org.eclipse.core.launcher.Main.run(Main.java:973)
            at org.eclipse.core.launcher.Main.main(Main.java:948)



What can I do?

luca.balletta
Posts: 3
Joined: Fri Sep 10, 2010 12:14 pm
Location: Rome
Contact:

Re: Admin can start Polarion Server, User gets error

Postby luca.balletta » Thu Oct 14, 2010 9:13 am

Hi,

I've the same problem. Have you solved it?

Thanks.

luca.balletta
Posts: 3
Joined: Fri Sep 10, 2010 12:14 pm
Location: Rome
Contact:

Re: Admin can start Polarion Server, User gets error

Postby luca.balletta » Thu Oct 14, 2010 10:54 am

If you change permissions on /opt/polarion you solve it.
Have you before changed chown/chmod of that path?
I don't know if its correct for security reasons, but you solve it with:
chmod -R 777 /opt/polarion/


Return to “Polarion Application Lifecycle Management (ALM)”

Who is online

Users browsing this forum: Ariananap, Google [Bot] and 6 guests