TOMCAT is not working properly under Vista.

  

We look at the symptoms of tomcat error under Vista—— Warning: Unexpected exception resolving reference Java.io.FileNotFoundException: C:Program Filestomcat6conftomcat-users.XML .new (access denied.) at Java.io.FileOutputStream.open(Native Method) at Java.io.FileOutputStream. <init>(FileOutputStream.java:179) at Java.io.FileOutputStream. <init>(FileOutputStream .java:131) at org.Apache.catalina.users.MemoryUserDatabase.save(MemoryUserDatabase.Java:521) at org.Apache.catalina.users.MemoryUserDatabaseFactory.getObjectInstance(MemoryUserDatabaseFactory.Java:104) at org.Apache.naming. factory.ResourceFactory.getObjectInstance(ResourceFactory.Java:140) at Javax.naming.spi.NamingManager.getObjectInstance(NamingManager.java:304) at org.Apache.naming.NamingContext.lookup(NamingContext.Java:793) at org.Apache .naming.NamingContext.lookup(NamingContext.Java:140) at org.Apache.naming.NamingContextBindingsEnumeration.nextElementInternal(NamingContextBindingsEnumeration.Java:113) at org.Apache.naming.NamingContextBindingsEnumeration.next(NamingContextBindingsEnumeration.Java:71) at org.Apache.catalina.mbeans.GlobalResourcesLifecycleListener.createMBeans(GlobalResourcesLifecycleListener.Java: 137) at org.Apache.catalina.mbeans.GlobalResourcesLifecycleListener.createMBeans(GlobalResourcesLifecycleListener.Java:109) at org.Apache.catalina.mbeans.GlobalResourcesLifecycleListener.lifecycleEvent(GlobalResourcesLifecycleListener.Java:81) at org.Apache.catalina.util.LifecycleSupport .fireLifecycleEvent(LifecycleSupport.Java:117) at org.Apache.catalina.core.StandardServer.start(StandardServer.Java:703) at org.Apache.catalina.startup.Catalina.start(Catalina.Java:578) at sun. reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.Java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(De legatingMethodAccessorImpl.Java:25) at Java.lang.reflect.Method.invoke(Method.java:597) at org.Apache.catalina.startup.Bootstrap.start(Bootstrap.Java:288) at org.Apache.catalina.startup .Bootstrap.main(Bootstrap.Java:413) Critical: Exception looking up UserDatabase under key UserDatabase Javax.naming.NamingException: C:Program Filestomcat6conftomcat-users.XML.new (Access denied. At org.Apache.naming.NamingContext.lookup(NamingContext.Java:805) at org.Apache.naming.NamingContext.lookup(NamingContext.Java:153) at org.Apache.catalina.realm.UserDatabaseRealm.start(UserDatabaseRealm. Java: 253) at org.Apache.catalina.core.ContainerBase.start(ContainerBase.Java:1037) at org.Apache.catalina.core.StandardEngine.start(StandardEngine.Java:443) at org.Apache.catalina.core .StandardService.start(StandardService.Java:516) at org.Apache.catalina.core.StandardServer.start(StandardServer.Java:710) at org.Apache.catalina.startup.Catalina.start(Catalina.Java:578) 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:597) at org.Apache.catalina.startup.Bootstrap.start(Bootstrap.Java:288) at org.Apache.catalina.startup.Bootstrap.main(Bootstrap.Java:413) 2008- 10-30 13:04:17 org.Apache.catalina.startup.Catalina start Critical: Catalina.start: LifecycleException: No UserDatabase component found under key UserDatabase at org.Apache.catalina.realm.UserDatabaseRealm.start(UserDatabaseRealm.Java: 261) at org.Apache.catalina.core.ContainerBase.start(ContainerBase.Java:1037) at org.Apache.catalina.core.StandardEngine.start(StandardEngine.Java:443) at org.Apache.catalina.core.StandardService .start(StandardService.Java:516) at org.Apache.catalina.core.StandardServer.start(StandardServer.Java:710) at org.Apache.catalina.startup.Catalina.start(Catalina.Java:578) 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:597) at org.Apache.catalina.startup.Bootstrap.start(Bootstrap.Java:288) at org.Apache.catalina.startup.Bootstrap.main(Bo Otstrap.Java:413) 2008-10-30 13:04:17 org.Apache.catalina.startup.Catalina start Information: Server startup in 82 ms Cause analysis:

This problem has been encountered because of Under the Vista system, the c drive is write-protected to users. So, will Windows 7 also encounter this problem?

Workaround:

1, there is no problem when you install it on other disks.zh-CNzh-CN

Copyright © Windows knowledge All Rights Reserved