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
For Vista, most people know the cool features of Aero, Flip 3D, etc. In fact, Vista is quite connota
Many people know how to modify the Windows Vista rating. Do you want to know how Vista scor
Windows Vista product version classificationIn various Windows Vista versions, it can be divided int
VMware is the most widely used virtualization software. Lets talk about how to install W
Vista Resource Manager Features Analysis (1)
How to install Windows Vista operating system in VMware
Vista sidebar installation and configuration
Microsoft released Windows Installer 4.5
Vista can access the Internet Can not Ping problem
Solve the modification of the hosts file under Vista system is invalid
There is no sound in the Vista system.
Desktop Virtual Technology Vista's Secret Weapon
Vista Resource Manager Features Analysis (2)
Notebook Vista power saving program
Vista system firewall settings
Windows Vista Simplified Chinese version installation diagram
How to import JPG images into CAD
Pptv network TV full screen after black screen solution
Win8 system IE11 browser saves the page to the reading list What is the method
Steps to add PIN code to Win10
How do win10 enterprise users manage WiFi automatic connection?
Factory-packaged Windows you can also do