Problem
Are you getting the following error when you start your dynamo server ?
**** Error Thu Mar 19 23:49:57 CST 2009 1237528197078 / Unable to start service "/atg/dynamo/service/j2ee/JarFileCache": atg.nucleus.ServiceException: Could not create directory servers\devserver\j2ee\runtime\jar-cache
**** Error Thu Mar 19 23:49:57 CST 2009 1237528197187 / Unable to resolve component /atg/dynamo/service/j2ee/J2EEContainer java.lang.NullPointerException
**** Error Thu Mar 19 23:49:57 CST 2009 1237528197187 /at atg.j2ee.service.jarcache.JarFileCachingService.getZipFileSystem(JarFileCachingService.java:172)
**** Error Thu Mar 19 23:49:57 CST 2009 1237528197187 /at atg.j2ee.configuration.ConfigVirtualFileOpener.createZipFileSystem(ConfigVirtualFileOpener.java:115)
**** Error Thu Mar 19 23:49:57 CST 2009 1237528197187 /at atg.vfs.VirtualFileOpenerImpl.getVFSFromFile(VirtualFileOpenerImpl.java:166)
**** Error Thu Mar 19 23:49:57 CST 2009 1237528197187 /at atg.vfs.VirtualFileOpenerImpl.openVirtualFileFromFile(VirtualFileOpenerImpl.java:185)
**** Error Thu Mar 19 23:49:57 CST 2009 1237528197187 /at atg.j2ee.configuration.ConfigurationImpl.getClassLoaderVirtualFileForFile(ConfigurationImpl.java:702)
**** Error Thu Mar 19 23:49:57 CST 2009 1237528197187 /at atg.j2ee.configuration.WebModuleConfigurationBuilder.createRootModuleClassLoader(WebModuleConfigurationBuilder.java:219)
**** Error Thu Mar 19 23:49:57 CST 2009 1237528197187 /at atg.j2ee.configuration.ModuleConfigurationBuilderImpl.setRootClassPathAndLoader(ModuleConfigurationBuilderImpl.java:437)
**** Error Thu Mar 19 23:49:57 CST 2009 1237528197187 /at atg.j2ee.configuration.ModuleConfigurationBuilderImpl.initializeModuleConfiguration(ModuleConfigurationBuilderImpl.java:414)
**** Error Thu Mar 19 23:49:57 CST 2009 1237528197187 /at atg.j2ee.configuration.ModuleConfigurationBuilderImpl.parseModule(ModuleConfigurationBuilderImpl.java:257)
**** Error Thu Mar 19 23:49:57 CST 2009 1237528197187 / ....stack trace CROPPED after 10 lines.
**** Error Thu Mar 19 23:49:57 CST 2009 1237528197187 /
**** Error Thu Mar 19 23:49:57 CST 2009 1237528197296 / Unable to set configured property "/atg/dynamo/service/Initial.initialServices" atg.nucleus.ConfigurationException: Unable to resolve component /atg/dynamo/service/j2ee/J2EEContainer
Solution
I had created dynamo server folder by name devserver and just had localconfig folder and some contents in it nothing else. I had to create the required folder structure and it worked. Make sure you already have this directory structure under dynamo_home/servers/devserver - j2ee\runtime\jar-cache. If not just go ahead and create the directory tree and bounce the server. The error should go away.
Are you getting the following error when you start your dynamo server ?
**** Error Thu Mar 19 23:49:57 CST 2009 1237528197078 / Unable to start service "/atg/dynamo/service/j2ee/JarFileCache": atg.nucleus.ServiceException: Could not create directory servers\devserver\j2ee\runtime\jar-cache
**** Error Thu Mar 19 23:49:57 CST 2009 1237528197187 / Unable to resolve component /atg/dynamo/service/j2ee/J2EEContainer java.lang.NullPointerException
**** Error Thu Mar 19 23:49:57 CST 2009 1237528197187 /at atg.j2ee.service.jarcache.JarFileCachingService.getZipFileSystem(JarFileCachingService.java:172)
**** Error Thu Mar 19 23:49:57 CST 2009 1237528197187 /at atg.j2ee.configuration.ConfigVirtualFileOpener.createZipFileSystem(ConfigVirtualFileOpener.java:115)
**** Error Thu Mar 19 23:49:57 CST 2009 1237528197187 /at atg.vfs.VirtualFileOpenerImpl.getVFSFromFile(VirtualFileOpenerImpl.java:166)
**** Error Thu Mar 19 23:49:57 CST 2009 1237528197187 /at atg.vfs.VirtualFileOpenerImpl.openVirtualFileFromFile(VirtualFileOpenerImpl.java:185)
**** Error Thu Mar 19 23:49:57 CST 2009 1237528197187 /at atg.j2ee.configuration.ConfigurationImpl.getClassLoaderVirtualFileForFile(ConfigurationImpl.java:702)
**** Error Thu Mar 19 23:49:57 CST 2009 1237528197187 /at atg.j2ee.configuration.WebModuleConfigurationBuilder.createRootModuleClassLoader(WebModuleConfigurationBuilder.java:219)
**** Error Thu Mar 19 23:49:57 CST 2009 1237528197187 /at atg.j2ee.configuration.ModuleConfigurationBuilderImpl.setRootClassPathAndLoader(ModuleConfigurationBuilderImpl.java:437)
**** Error Thu Mar 19 23:49:57 CST 2009 1237528197187 /at atg.j2ee.configuration.ModuleConfigurationBuilderImpl.initializeModuleConfiguration(ModuleConfigurationBuilderImpl.java:414)
**** Error Thu Mar 19 23:49:57 CST 2009 1237528197187 /at atg.j2ee.configuration.ModuleConfigurationBuilderImpl.parseModule(ModuleConfigurationBuilderImpl.java:257)
**** Error Thu Mar 19 23:49:57 CST 2009 1237528197187 / ....stack trace CROPPED after 10 lines.
**** Error Thu Mar 19 23:49:57 CST 2009 1237528197187 /
**** Error Thu Mar 19 23:49:57 CST 2009 1237528197296 / Unable to set configured property "/atg/dynamo/service/Initial.initialServices" atg.nucleus.ConfigurationException: Unable to resolve component /atg/dynamo/service/j2ee/J2EEContainer
Solution
I had created dynamo server folder by name devserver and just had localconfig folder and some contents in it nothing else. I had to create the required folder structure and it worked. Make sure you already have this directory structure under dynamo_home/servers/devserver - j2ee\runtime\jar-cache. If not just go ahead and create the directory tree and bounce the server. The error should go away.
sir iam getting this error ?
ReplyDelete[nucleusNamespace.] Unable to set configured property "/atg/dynamo/Initial.initialServices" atg.nucleus.ConfigurationException: Unable to resolve component /com/Regnant/Person
Do you have a Person.properties inside your modules config/com/Regnant folder? And it points to a valid $class ?
Delete