It's all about the answers!

Ask a question

Access denied issue when running the IBM Rational Reporting Setup Server


0
1
Fabien Araktingi (151317) | asked Feb 11 '13, 6:56 a.m.
Hi,

I try to setup config for IBM rational Insight 1.1.1.1 but when I try to Start the IBM Rational Reporting Setup Server I get (config. Windows 2008 64 R2):

java.util.logging.ErrorManager: OPEN_FAILURE
Exception - java.io.FileNotFoundException: C:\Program Files\IBM\RRDI\setup\tool\JazzTeamServer\server\tomcat\logs\catalina.2013-02-11.log (Access is denied.)

java.util.logging.ErrorManager: OPEN_FAILURE
Exception - java.io.FileNotFoundException: C:\Program Files\IBM\RRDI\setup\tool\JazzTeamServer\server\tomcat\logs\localhost.2013-02-11.log (Access is denied.
)
java.util.logging.ErrorManager: OPEN_FAILURE
Exception - java.io.FileNotFoundException: C:\Program Files\IBM\RRDI\setup\tool\JazzTeamServer\server\tomcat\logs\manager.2013-02-11.log (Access is denied.)
java.util.logging.ErrorManager: OPEN_FAILURE
Exception - java.io.FileNotFoundException: C:\Program Files\IBM\RRDI\setup\tool\JazzTeamServer\server\tomcat\logs\host-manager.2013-02-11.log (Access is deni
ed.)
Feb 11, 2013 12:42:05 PM org.apache.catalina.core.AprLifecycleListener init
INFO: The APR based Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: C:\Progr
am Files\IBM\RRDI\setup\tool\JazzTeamServer\server\jre\bin\default;C:\Program Files\IBM\RRDI\setup\tool\JazzTeamServer\server\jre\bin;C:\Windows\system32;C:\
Windows;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\PROGRA~2\IBM\SQLLIB\BIN;C:\PROGRA~2\IBM\SQLLIB
\FUNCTION;C:\PROGRA~2\IBM\SQLLIB\SAMPLES\REPL;.
Feb 11, 2013 12:42:05 PM org.apache.coyote.AbstractProtocol init
INFO: Initializing ProtocolHandler ["http-bio-10080"]
Feb 11, 2013 12:42:05 PM org.apache.coyote.AbstractProtocol init
INFO: Initializing ProtocolHandler ["http-bio-10443"]
Feb 11, 2013 12:42:06 PM org.apache.coyote.AbstractProtocol init
INFO: Initializing ProtocolHandler ["ajp-bio-10009"]
Feb 11, 2013 12:42:06 PM org.apache.catalina.startup.Catalina load
INFO: Initialization processed in 2060 ms
Feb 11, 2013 12:42:06 PM org.apache.naming.NamingContext lookup
WARNING: Unexpected exception resolving reference
Throwable occurred: java.io.FileNotFoundException: C:\Program Files\IBM\RRDI\setup\tool\JazzTeamServer\server\tomcat\conf\tomcat-users.xml.new (Access is den
ied.)
        at java.io.FileOutputStream.open(Native Method)
        at java.io.FileOutputStream.<init>(FileOutputStream.java:194)
        at java.io.FileOutputStream.<init>(FileOutputStream.java:145)
        at org.apache.catalina.users.MemoryUserDatabase.save(MemoryUserDatabase.java:565)
        at org.apache.catalina.users.MemoryUserDatabaseFactory.getObjectInstance(MemoryUserDatabaseFactory.java:107)
        at org.apache.naming.factory.ResourceFactory.getObjectInstance(ResourceFactory.java:143)
        at javax.naming.spi.NamingManager.getObjectInstanceByFactoryInReference(NamingManager.java:490)
        at javax.naming.spi.NamingManager.getObjectInstance(NamingManager.java:354)
        at org.apache.naming.NamingContext.lookup(NamingContext.java:843)
        at org.apache.naming.NamingContext.lookup(NamingContext.java:154)
        at org.apache.naming.NamingContextBindingsEnumeration.nextElementInternal(NamingContextBindingsEnumeration.java:119)
        at org.apache.naming.NamingContextBindingsEnumeration.next(NamingContextBindingsEnumeration.java:73)
        at org.apache.naming.NamingContextBindingsEnumeration.next(NamingContextBindingsEnumeration.java:36)
        at org.apache.catalina.mbeans.GlobalResourcesLifecycleListener.createMBeans(GlobalResourcesLifecycleListener.java:140)
        at org.apache.catalina.mbeans.GlobalResourcesLifecycleListener.createMBeans(GlobalResourcesLifecycleListener.java:112)
        at org.apache.catalina.mbeans.GlobalResourcesLifecycleListener.lifecycleEvent(GlobalResourcesLifecycleListener.java:84)
        at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119)
        at org.apache.catalina.util.LifecycleBase.fireLifecycleEvent(LifecycleBase.java:90)
        at org.apache.catalina.util.LifecycleBase.setStateInternal(LifecycleBase.java:401)
        at org.apache.catalina.util.LifecycleBase.setState(LifecycleBase.java:346)
        at org.apache.catalina.core.StandardServer.startInternal(StandardServer.java:720)
        at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
        at org.apache.catalina.startup.Catalina.start(Catalina.java:646)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:48)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:600)
        at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:322)
        at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:450)
Feb 11, 2013 12:42:06 PM org.apache.catalina.mbeans.GlobalResourcesLifecycleListener createMBeans
SEVERE: Exception processing Global JNDI Resources
Throwable occurred: javax.naming.NamingException: C:\Program Files\IBM\RRDI\setup\tool\JazzTeamServer\server\tomcat\conf\tomcat-users.xml.new (Access is deni
ed.)
        at org.apache.naming.NamingContext.lookup(NamingContext.java:860)
        at org.apache.naming.NamingContext.lookup(NamingContext.java:154)
        at org.apache.naming.NamingContextBindingsEnumeration.nextElementInternal(NamingContextBindingsEnumeration.java:119)
        at org.apache.naming.NamingContextBindingsEnumeration.next(NamingContextBindingsEnumeration.java:73)
        at org.apache.naming.NamingContextBindingsEnumeration.next(NamingContextBindingsEnumeration.java:36)
        at org.apache.catalina.mbeans.GlobalResourcesLifecycleListener.createMBeans(GlobalResourcesLifecycleListener.java:140)
        at org.apache.catalina.mbeans.GlobalResourcesLifecycleListener.createMBeans(GlobalResourcesLifecycleListener.java:112)
        at org.apache.catalina.mbeans.GlobalResourcesLifecycleListener.lifecycleEvent(GlobalResourcesLifecycleListener.java:84)
        at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119)
        at org.apache.catalina.util.LifecycleBase.fireLifecycleEvent(LifecycleBase.java:90)
        at org.apache.catalina.util.LifecycleBase.setStateInternal(LifecycleBase.java:401)
        at org.apache.catalina.util.LifecycleBase.setState(LifecycleBase.java:346)
        at org.apache.catalina.core.StandardServer.startInternal(StandardServer.java:720)
        at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
        at org.apache.catalina.startup.Catalina.start(Catalina.java:646)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:48)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:600)
        at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:322)
        at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:450)
Feb 11, 2013 12:42:06 PM org.apache.catalina.core.StandardService startInternal
INFO: Starting service Catalina
Feb 11, 2013 12:42:06 PM org.apache.catalina.core.StandardEngine startInternal
INFO: Starting Servlet Engine: Apache Tomcat/7.0.25
Feb 11, 2013 12:42:06 PM org.apache.naming.NamingContext lookup
WARNING: Unexpected exception resolving reference
Throwable occurred: java.io.FileNotFoundException: C:\Program Files\IBM\RRDI\setup\tool\JazzTeamServer\server\tomcat\conf\tomcat-users.xml.new (Access is den
ied.)
        at java.io.FileOutputStream.<init>(FileOutputStream.java:194)
        at java.io.FileOutputStream.<init>(FileOutputStream.java:145)
        at org.apache.catalina.users.MemoryUserDatabase.save(MemoryUserDatabase.java:565)
        at org.apache.catalina.users.MemoryUserDatabaseFactory.getObjectInstance(MemoryUserDatabaseFactory.java:107)
        at org.apache.naming.factory.ResourceFactory.getObjectInstance(ResourceFactory.java:143)
        at javax.naming.spi.NamingManager.getObjectInstanceByFactoryInReference(NamingManager.java:490)
        at javax.naming.spi.NamingManager.getObjectInstance(NamingManager.java:354)
        at org.apache.naming.NamingContext.lookup(NamingContext.java:843)
        at org.apache.naming.NamingContext.lookup(NamingContext.java:168)
        at org.apache.catalina.realm.UserDatabaseRealm.startInternal(UserDatabaseRealm.java:255)
        at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
        at org.apache.catalina.realm.CombinedRealm.startInternal(CombinedRealm.java:201)
        at org.apache.catalina.realm.LockOutRealm.startInternal(LockOutRealm.java:120)
        at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
        at org.apache.catalina.core.ContainerBase.startInternal(ContainerBase.java:1116)
        at org.apache.catalina.core.StandardEngine.startInternal(StandardEngine.java:293)
        at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
        at org.apache.catalina.core.StandardService.startInternal(StandardService.java:443)
        at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
        at org.apache.catalina.core.StandardServer.startInternal(StandardServer.java:727)
        at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
        at org.apache.catalina.startup.Catalina.start(Catalina.java:646)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:48)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:600)
        at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:322)
        at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:450)
Feb 11, 2013 12:42:06 PM org.apache.catalina.realm.UserDatabaseRealm startInternal
SEVERE: Exception looking up UserDatabase under key UserDatabase
Throwable occurred: javax.naming.NamingException: C:\Program Files\IBM\RRDI\setup\tool\JazzTeamServer\server\tomcat\conf\tomcat-users.xml.new (Access is deni
ed.)
        at org.apache.naming.NamingContext.lookup(NamingContext.java:860)
        at org.apache.naming.NamingContext.lookup(NamingContext.java:168)
        at org.apache.catalina.realm.UserDatabaseRealm.startInternal(UserDatabaseRealm.java:255)
        at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
        at org.apache.catalina.realm.CombinedRealm.startInternal(CombinedRealm.java:201)
        at org.apache.catalina.realm.LockOutRealm.startInternal(LockOutRealm.java:120)
        at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
        at org.apache.catalina.core.ContainerBase.startInternal(ContainerBase.java:1116)
        at org.apache.catalina.core.StandardEngine.startInternal(StandardEngine.java:293)
        at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
        at org.apache.catalina.core.StandardService.startInternal(StandardService.java:443)
        at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
        at org.apache.catalina.core.StandardServer.startInternal(StandardServer.java:727)
        at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
        at org.apache.catalina.startup.Catalina.start(Catalina.java:646)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:48)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:600)
        at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:322)
        at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:450)
Feb 11, 2013 12:42:06 PM org.apache.catalina.realm.CombinedRealm startInternal
SEVERE: Failed to start "org.apache.catalina.realm.UserDatabaseRealm/1.0" realm
Throwable occurred: org.apache.catalina.LifecycleException: Failed to start component [Realm[UserDatabaseRealm]]
        at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:154)
        at org.apache.catalina.realm.CombinedRealm.startInternal(CombinedRealm.java:201)
        at org.apache.catalina.realm.LockOutRealm.startInternal(LockOutRealm.java:120)
        at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
        at org.apache.catalina.core.ContainerBase.startInternal(ContainerBase.java:1116)
        at org.apache.catalina.core.StandardEngine.startInternal(StandardEngine.java:293)
        at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
        at org.apache.catalina.core.StandardService.startInternal(StandardService.java:443)
        at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
        at org.apache.catalina.core.StandardServer.startInternal(StandardServer.java:727)
        at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
        at org.apache.catalina.startup.Catalina.start(Catalina.java:646)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:48)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:600)
        at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:322)
        at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:450)
Caused by: org.apache.catalina.LifecycleException: No UserDatabase component found under key UserDatabase
        at org.apache.catalina.realm.UserDatabaseRealm.startInternal(UserDatabaseRealm.java:264)
        at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
        ... 17 more
Feb 11, 2013 12:42:06 PM org.apache.catalina.startup.HostConfig deployWAR
INFO: Deploying web application archive C:\Program Files\IBM\RRDI\setup\tool\JazzTeamServer\server\tomcat\webapps\jts.war
!SESSION 2013-02-11 12:42:07.667 -----------------------------------------------
eclipse.buildId=unknown
java.fullversion=JRE 1.6.0 IBM J9 2.4 Windows Server 2008 R2 amd64-64 jvmwa6460sr10fp1-20120202_101568 (JIT enabled, AOT enabled)
J9VM - 20120202_101568
JIT  - r9_20111107_21307ifx1
GC   - 20120202_AA
BootLoader constants: OS=win32, ARCH=x86_64, WS=win32, NL=en_US

!ENTRY org.eclipse.osgi 4 0 2013-02-11 12:42:07.667
!MESSAGE Error reading configuration: C:\Program Files\IBM\RRDI\setup\tool\JazzTeamServer\server\tomcat\work\Catalina\localhost\jts\eclipse\configuration\org
.eclipse.osgi\.manager\.fileTableLock (Access is denied.)
!STACK 0
java.io.FileNotFoundException: C:\Program Files\IBM\RRDI\setup\tool\JazzTeamServer\server\tomcat\work\Catalina\localhost\jts\eclipse\configuration\org.eclips
e.osgi\.manager\.fileTableLock (Access is denied.)
        at java.io.RandomAccessFile.open(Native Method)
        at java.io.RandomAccessFile.<init>(RandomAccessFile.java:222)
        at org.eclipse.core.runtime.internal.adaptor.Locker_JavaNio.lock(Locker_JavaNio.java:33)
        at org.eclipse.osgi.storagemanager.StorageManager.lock(StorageManager.java:387)
        at org.eclipse.osgi.storagemanager.StorageManager.open(StorageManager.java:688)
        at org.eclipse.osgi.internal.baseadaptor.BaseStorage.initFileManager(BaseStorage.java:213)
        at org.eclipse.osgi.internal.baseadaptor.BaseStorage.initialize(BaseStorage.java:147)
        at org.eclipse.osgi.baseadaptor.BaseAdaptor.initializeStorage(BaseAdaptor.java:114)
        at org.eclipse.osgi.framework.internal.core.Framework.initialize(Framework.java:185)
        at org.eclipse.osgi.framework.internal.core.Framework.<init>(Framework.java:157)
        at org.eclipse.core.runtime.adaptor.EclipseStarter.startup(EclipseStarter.java:286)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:48)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:600)
        at org.eclipse.equinox.servletbridge.FrameworkLauncher.start(FrameworkLauncher.java:387)
        at org.eclipse.equinox.servletbridge.BridgeServlet.init(BridgeServlet.java:65)
        at javax.servlet.GenericServlet.init(GenericServlet.java:160)
        at com.ibm.team.repository.server.servletbridge.JazzServlet.init(JazzServlet.java:44)
        at org.apache.catalina.core.StandardWrapper.initServlet(StandardWrapper.java:1266)
        at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1185)
        at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:1080)
        at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:5015)
        at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5302)
        at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
        at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:897)
        at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:873)
        at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:615)
        at org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:958)
        at org.apache.catalina.startup.HostConfig$DeployWar.run(HostConfig.java:1599)
        at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)
        at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
        at java.util.concurrent.FutureTask.run(FutureTask.java:138)
        at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
        at java.lang.Thread.run(Thread.java:736)


Thanks for any feedback.

Accepted answer


permanent link
Francesco Chiossi (5.7k11119) | answered Feb 11 '13, 8:45 a.m.
Hello Fabien,

at first glance it would seems like a Windows security issue.
Maybe you try with an user that is local administrator of the machine and installing to a folder outside C:\Program Files, like for example C:\IBM\RRDI.
Ralph Schoon selected this answer as the correct answer

Comments
Fabien Araktingi commented Feb 11 '13, 8:51 a.m. | edited Feb 11 '13, 9:59 a.m.

I'm running with my user who is in the local administrators group.

And the startup script is located at this location: C:\Program Files\IBM\RRDI\setup\tool\JazzTeamServer\server

Thanks for your help


2
Ralph Schoon commented Feb 11 '13, 9:01 a.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER

On windows sometimes running as a user who has administrative rights is not necessarily enough permission if you have something installed in C:\Program Files. You can try to use Run As. Administrator to get full permission. I have seen this many times on my Windows 7 Machine. Just be logged in as administration user does not give me full permission in Program Files. For example I have seen tomcat's installed that way not being able to create required files and folders.

So, general suggestion is to NOT install in Program Files. If you did, please try to run e.g. the shell to start the server etc. with Run As, administrator.


Fabien Araktingi commented Feb 11 '13, 9:17 a.m.

Many thanks Ralph,

Your last suggestion fixed the issue.

Thanks to all of you.
Fabien

2 other answers



permanent link
Ali Manji (59147) | answered Feb 11 '13, 8:44 a.m.
JAZZ DEVELOPER
Hi Fabien,

Are you running the Insight Setup Server with a user account that has Administrator privileges/authority?

Regards,
Ali

permanent link
Fabien Araktingi (151317) | answered Feb 11 '13, 10:40 a.m.
Hi Ali,

Yes I was running it with a user account that has Administrator privileges permission.

I have resolved the issue with Ralph's suggestion by opening a command line as Administrator and starting the startup script.

Best,
Fabien.

Your answer


Register or to post your answer.


Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.