Hi,my config -alfresco 4.0e communityMy SQL DB.I tried to run FirstFoundationClient in eclipse and got OutOfMemoryError. I tried every possible way but the error persistseclipse jvm config --Xms1024M-Xmx1024M-XX:+UseParallelGC-XX
ermSize=256M-XX:MaxPermSize=512MMy machine -32 bitwin 7ram 2 GBerror trace -
2012-09-15 09:12:17,683 INFO [management.subsystems.ChildApplicationContextFactory] [main] Starting 'sysAdmin' subsystem, ID: [sysAdmin, default]
2012-09-15 09:12:17,762 INFO [management.subsystems.ChildApplicationContextFactory] [main] Startup of 'sysAdmin' subsystem, ID: [sysAdmin, default] complete
Sep 15, 2012 9:12:26 AM org.activiti.engine.impl.ProcessEngineImpl <init>
INFO: ProcessEngine default created
2012-09-15 09:12:27,643 WARN [alfresco.util.AbstractTriggerBean] [main] Job ehCacheTracerJob is not active/enabled
2012-09-15 09:12:31,357 INFO [domain.schema.SchemaBootstrap] [main] Schema managed by database dialect org.hibernate.dialect.MySQLInnoDBDialect.
Sep 15, 2012 9:12:36 AM org.activiti.engine.impl.ProcessEngineImpl <init>
INFO: ProcessEngine activitiBootstrapEngine created
2012-09-15 09:12:36,305 INFO [domain.schema.SchemaBootstrap] [main] No changes were made to the schema.
Sep 15, 2012 9:12:36 AM org.activiti.engine.impl.jobexecutor.JobAcquisitionThread run
INFO: JobAcquisitionThread starting to acquire jobs
2012-09-15 09:12:37,101 INFO [management.subsystems.ChildApplicationContextFactory] [main] Starting 'Search' subsystem, ID: [Search, managed, solr]
2012-09-15 09:12:37,304 INFO [management.subsystems.ChildApplicationContextFactory] [main] Startup of 'Search' subsystem, ID: [Search, managed, solr] complete
2012-09-15 09:12:38,100 INFO [management.subsystems.ChildApplicationContextFactory] [main] Starting 'thirdparty' subsystem, ID: [thirdparty, default]
2012-09-15 09:12:41,689 INFO [management.subsystems.ChildApplicationContextFactory] [main] Startup of 'thirdparty' subsystem, ID: [thirdparty, default] complete
2012-09-15 09:12:41,689 INFO [management.subsystems.ChildApplicationContextFactory] [main] Starting 'OOoDirect' subsystem, ID: [OOoDirect, default]
2012-09-15 09:12:43,515 INFO [management.subsystems.ChildApplicationContextFactory] [main] Startup of 'OOoDirect' subsystem, ID: [OOoDirect, default] complete
2012-09-15 09:12:43,601 INFO [repo.admin.ConfigurationChecker] [main] The Alfresco root data directory ('dir.root') is: D:\Alfresco\alf_data
2012-09-15 09:12:43,661 INFO [admin.patch.PatchExecuter] [main] Checking for patches to apply …
2012-09-15 09:12:44,492 INFO [admin.patch.PatchExecuter] [main] No patches were required.
2012-09-15 09:12:44,497 INFO [repo.module.ModuleServiceImpl] [main] Found 0 module(s).
2012-09-15 09:12:44,522 WARN [repo.module.ModuleServiceImpl] [main] A previously-installed module 'org.alfresco.module.vti' (version 1.2) is not present in your distribution.
2012-09-15 09:12:44,523 INFO [management.subsystems.ChildApplicationContextFactory] [main] Starting 'fileServers' subsystem, ID: [fileServers, default]
2012-09-15 09:12:47,732 INFO [management.subsystems.ChildApplicationContextFactory] [main] Starting 'Authentication' subsystem, ID: [Authentication, managed, alfrescoNtlm1]
2012-09-15 09:12:47,842 INFO [management.subsystems.ChildApplicationContextFactory] [main] Startup of 'Authentication' subsystem, ID: [Authentication, managed, alfrescoNtlm1] complete
2012-09-15 09:12:47,889 ERROR [org.alfresco.fileserver] [main] java.lang.UnsatisfiedLinkError: no Win32NetBIOS in java.library.path
2012-09-15 09:12:47,889 ERROR [org.alfresco.fileserver] [main] at java.lang.ClassLoader.loadLibrary(Unknown Source)
2012-09-15 09:12:47,889 ERROR [org.alfresco.fileserver] [main] at java.lang.Runtime.loadLibrary0(Unknown Source)
2012-09-15 09:12:47,889 ERROR [org.alfresco.fileserver] [main] at java.lang.System.loadLibrary(Unknown Source)
2012-09-15 09:12:47,889 ERROR [org.alfresco.fileserver] [main] at org.alfresco.jlan.netbios.win32.Win32NetBIOS.<clinit>(Win32NetBIOS.java:834)
2012-09-15 09:12:47,889 ERROR [org.alfresco.fileserver] [main] at org.alfresco.filesys.AbstractServerConfigurationBean.getLocalServerName(AbstractServerConfigurationBean.java:671)
2012-09-15 09:12:47,889 ERROR [org.alfresco.fileserver] [main] at org.alfresco.filesys.AbstractServerConfigurationBean.getLocalServerName(AbstractServerConfigurationBean.java:631)
2012-09-15 09:12:47,889 ERROR [org.alfresco.fileserver] [main] at org.alfresco.filesys.config.ServerConfigurationBean.processCIFSServerConfig(ServerConfigurationBean.java:260)
2012-09-15 09:12:47,889 ERROR [org.alfresco.fileserver] [main] at org.alfresco.filesys.AbstractServerConfigurationBean.init(AbstractServerConfigurationBean.java:473)
2012-09-15 09:12:47,889 ERROR [org.alfresco.fileserver] [main] at org.alfresco.filesys.AbstractServerConfigurationBean.onApplicationEvent(AbstractServerConfigurationBean.java:824)
2012-09-15 09:12:47,889 ERROR [org.alfresco.fileserver] [main] at org.springframework.context.event.SimpleApplicationEventMulticaster.multicastEvent(SimpleApplicationEventMulticaster.java:97)
2012-09-15 09:12:47,889 ERROR [org.alfresco.fileserver] [main] at org.alfresco.repo.management.subsystems.ChildApplicationContextFactory$ChildApplicationContext.publishEvent(ChildApplicationContextFactory.java:485)
2012-09-15 09:12:47,889 ERROR [org.alfresco.fileserver] [main] at org.springframework.context.support.AbstractApplicationContext.finishRefresh(AbstractApplicationContext.java:911)
2012-09-15 09:12:47,889 ERROR [org.alfresco.fileserver] [main] at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:428)
2012-09-15 09:12:47,889 ERROR [org.alfresco.fileserver] [main] at org.alfresco.repo.management.subsystems.ChildApplicationContextFactory$ApplicationContextState.start(ChildApplicationContextFactory.java:685)
2012-09-15 09:12:47,889 ERROR [org.alfresco.fileserver] [main] at org.alfresco.repo.management.subsystems.AbstractPropertyBackedBean.start(AbstractPropertyBackedBean.java:667)
2012-09-15 09:12:47,889 ERROR [org.alfresco.fileserver] [main] at org.alfresco.repo.management.subsystems.AbstractPropertyBackedBean.onApplicationEvent(AbstractPropertyBackedBean.java:473)
2012-09-15 09:12:47,889 ERROR [org.alfresco.fileserver] [main] at org.alfresco.repo.management.SafeApplicationEventMulticaster.multicastEventInternal(SafeApplicationEventMulticaster.java:209)
2012-09-15 09:12:47,889 ERROR [org.alfresco.fileserver] [main] at org.alfresco.repo.management.SafeApplicationEventMulticaster.multicastEvent(SafeApplicationEventMulticaster.java:180)
2012-09-15 09:12:47,889 ERROR [org.alfresco.fileserver] [main] at org.springframework.context.support.AbstractApplicationContext.publishEvent(AbstractApplicationContext.java:303)
2012-09-15 09:12:47,889 ERROR [org.alfresco.fileserver] [main] at org.springframework.context.support.AbstractApplicationContext.finishRefresh(AbstractApplicationContext.java:911)
2012-09-15 09:12:47,889 ERROR [org.alfresco.fileserver] [main] at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:428)
2012-09-15 09:12:47,889 ERROR [org.alfresco.fileserver] [main] at org.springframework.context.support.ClassPathXmlApplicationContext.<init>(ClassPathXmlApplicationContext.java:139)
2012-09-15 09:12:47,889 ERROR [org.alfresco.fileserver] [main] at org.springframework.context.support.ClassPathXmlApplicationContext.<init>(ClassPathXmlApplicationContext.java:93)
2012-09-15 09:12:47,889 ERROR [org.alfresco.fileserver] [main] at org.alfresco.util.BaseApplicationContextHelper.getApplicationContext(BaseApplicationContextHelper.java:67)
2012-09-15 09:12:47,889 ERROR [org.alfresco.fileserver] [main] at org.alfresco.util.ApplicationContextHelper.getApplicationContext(ApplicationContextHelper.java:46)
2012-09-15 09:12:47,889 ERROR [org.alfresco.fileserver] [main] at org.alfresco.sample.FirstFoundationClient.main(FirstFoundationClient.java:63)
2012-09-15 09:12:47,889 ERROR [org.alfresco.fileserver] [main] Error accessing Win32 NetBIOS, check DLL is on the path
2012-09-15 09:12:47,920 INFO [management.subsystems.ChildApplicationContextFactory] [main] Startup of 'fileServers' subsystem, ID: [fileServers, default] complete
2012-09-15 09:12:47,920 INFO [management.subsystems.ChildApplicationContextFactory] [main] Starting 'imap' subsystem, ID: [imap, default]
2012-09-15 09:12:48,091 INFO [management.subsystems.ChildApplicationContextFactory] [main] Startup of 'imap' subsystem, ID: [imap, default] complete
2012-09-15 09:12:48,091 INFO [management.subsystems.ChildApplicationContextFactory] [main] Starting 'email' subsystem, ID: [email, outbound]
2012-09-15 09:12:48,247 INFO [management.subsystems.ChildApplicationContextFactory] [main] Startup of 'email' subsystem, ID: [email, outbound] complete
2012-09-15 09:12:48,247 INFO [management.subsystems.ChildApplicationContextFactory] [main] Starting 'email' subsystem, ID: [email, inbound]
2012-09-15 09:12:48,372 INFO [management.subsystems.ChildApplicationContextFactory] [main] Startup of 'email' subsystem, ID: [email, inbound] complete
2012-09-15 09:12:48,372 INFO [management.subsystems.ChildApplicationContextFactory] [main] Starting 'googledocs' subsystem, ID: [googledocs, default]
2012-09-15 09:12:48,762 INFO [management.subsystems.ChildApplicationContextFactory] [main] Startup of 'googledocs' subsystem, ID: [googledocs, default] complete
2012-09-15 09:12:48,762 INFO [management.subsystems.ChildApplicationContextFactory] [main] Starting 'Subscriptions' subsystem, ID: [Subscriptions, default]
2012-09-15 09:12:48,793 INFO [management.subsystems.ChildApplicationContextFactory] [main] Startup of 'Subscriptions' subsystem, ID: [Subscriptions, default] complete
2012-09-15 09:12:48,793 INFO [repo.usage.UserUsageTrackingComponent] [main] Disabled - clear non-missing user usages …
2012-09-15 09:12:48,810 INFO [repo.usage.UserUsageTrackingComponent] [main] Found 0 users to clear
2012-09-15 09:12:48,810 INFO [repo.usage.UserUsageTrackingComponent] [main] … cleared non-missing usages for 0 users
2012-09-15 09:12:48,810 INFO [management.subsystems.ChildApplicationContextFactory] [main] Starting 'Synchronization' subsystem, ID: [Synchronization, default]
2012-09-15 09:12:49,247 INFO [management.subsystems.ChildApplicationContextFactory] [main] Startup of 'Synchronization' subsystem, ID: [Synchronization, default] complete
2012-09-15 09:12:49,309 INFO [service.descriptor.DescriptorService] [main] Alfresco JVM - v1.6.0_12-b04; maximum heap size 63.563MB
2012-09-15 09:12:49,309 WARN [service.descriptor.DescriptorService] [main] Alfresco JVM - WARNING - maximum heap size 63.563MB is less than recommended 512MB
2012-09-15 09:12:49,762 INFO [service.descriptor.DescriptorService] [main] Alfresco started (Community). Current version: 4.0.0 (4003) schema 5,025. Originally installed version: 4.0.0 (7) schema 5,025.
2012-09-15 09:12:49,762 INFO [management.subsystems.ChildApplicationContextFactory] [main] Starting 'ActivitiesFeed' subsystem, ID: [ActivitiesFeed, default]
2012-09-15 09:12:50,308 INFO [management.subsystems.ChildApplicationContextFactory] [main] Startup of 'ActivitiesFeed' subsystem, ID: [ActivitiesFeed, default] complete
2012-09-15 09:12:50,308 INFO [management.subsystems.ChildApplicationContextFactory] [main] Starting 'Replication' subsystem, ID: [Replication, default]
2012-09-15 09:12:51,073 INFO [management.subsystems.ChildApplicationContextFactory] [main] Startup of 'Replication' subsystem, ID: [Replication, default] complete
2012-09-15 09:13:34,555 WARN [extensions.webscripts.DeclarativeRegistry] [main] Unable to register script classpath:alfresco/webscripts/classpath/folder1/subfolder1/folder1_subfolder1_file2.desc.xml due to error: 08150005 Failed to parse web script description document classpath/folder1/subfolder1/folder1_subfolder1_file2.desc.xml ; 08150004 Unable to establish HTTP Method from web script description: naming convention must be <name>.<method>.desc.xml
2012-09-15 09:13:34,555 WARN [extensions.webscripts.DeclarativeRegistry] [main] Unable to register script classpath:alfresco/webscripts/classpath/folder1/subfolder2/folder1_subfolder2_file2.desc.xml due to error: 08150007 Failed to parse web script description document classpath/folder1/subfolder2/folder1_subfolder2_file2.desc.xml ; 08150006 Unable to establish HTTP Method from web script description: naming convention must be <name>.<method>.desc.xml
2012-09-15 09:13:34,555 WARN [extensions.webscripts.DeclarativeRegistry] [main] Unable to register script classpath:alfresco/webscripts/documents/samples2/sample3.get.desc.xml due to error: 08150009 Failed to parse web script description document documents/samples2/sample3.get.desc.xml ; 08150008 Invalid schema type reference samples.sample1.status1
2012-09-15 09:13:34,570 WARN [extensions.webscripts.DeclarativeRegistry] [main] Unable to register package description document classpath:alfresco/webscripts/documents/samples2/package-desc.xml due to error: 08150001 Failed to parse package description document documents/samples2/package-desc.xml ; 08150000 Expected <package> root element - found <package1>
2012-09-15 09:13:34,570 WARN [extensions.webscripts.DeclarativeRegistry] [main] Unable to register schema description document classpath:alfresco/webscripts/documents/schemas/samples.sample2.schema-desc.xml due to error: 08150003 Failed to parse schema description document documents/schemas/samples.sample2.schema-desc.xml ; 08150002 Expected <schema> root element - found <schema1>
2012-09-15 09:13:34,570 INFO [extensions.webscripts.DeclarativeRegistry] [main] Registered 39 Web Scripts (+3 failed), 41 URLs
2012-09-15 09:13:34,570 INFO [extensions.webscripts.DeclarativeRegistry] [main] Registered 2 Package Description Documents (+1 failed)
2012-09-15 09:13:34,570 INFO [extensions.webscripts.DeclarativeRegistry] [main] Registered 1 Schema Description Documents (+1 failed)
2012-09-15 09:13:34,570 INFO [extensions.webscripts.AbstractRuntimeContainer] [main] Initialised Spring Web Scripts Container Web Script Container (in 15615.337ms)
2012-09-15 09:13:37,130 INFO [extensions.webscripts.TemplateProcessorRegistry] [main] Registered template processor freemarker for extension ftl
2012-09-15 09:13:37,130 INFO [extensions.webscripts.ScriptProcessorRegistry] [main] Registered script processor javascript for extension js
Exception in thread "Store org.alfresco.cache.tagscopeSummaryCache Spool Thread" java.lang.OutOfMemoryError: Java heap space
at java.util.concurrent.ConcurrentHashMap.size(Unknown Source)
at net.sf.ehcache.store.DiskStore.throwableSafeFlushSpoolIfRequired(DiskStore.java:702)
at net.sf.ehcache.store.DiskStore.spoolAndExpiryThreadMain(DiskStore.java:675)
at net.sf.ehcache.store.DiskStore.access$900(DiskStore.java:74)
at net.sf.ehcache.store.DiskStore$SpoolAndExpiryThread.run(DiskStore.java:1170)
Exception in thread "JobAcquisitionThread" java.lang.OutOfMemoryError: Java heap space
at java.lang.AbstractStringBuilder.<init>(Unknown Source)
at java.lang.StringBuilder.<init>(Unknown Source)
at org.activiti.engine.impl.interceptor.LogInterceptor.execute(LogInterceptor.java:30)
at org.activiti.engine.impl.jobexecutor.JobAcquisitionThread.run(JobAcquisitionThread.java:63)
Exception in thread "main" java.lang.RuntimeException: Error during run as.
at org.alfresco.repo.security.authentication.AuthenticationUtil.runAs(AuthenticationUtil.java:531)
at org.alfresco.repo.security.authentication.AuthenticationComponentImpl$1.execute(AuthenticationComponentImpl.java:81)
at org.alfresco.repo.security.authentication.AuthenticationComponentImpl$1.execute(AuthenticationComponentImpl.java:78)
at org.alfresco.repo.transaction.RetryingTransactionHelper.doInTransaction(RetryingTransactionHelper.java:388)
at org.alfresco.repo.transaction.RetryingTransactionHelper.doInTransaction(RetryingTransactionHelper.java:278)
at org.alfresco.repo.security.authentication.AuthenticationComponentImpl.authenticateImpl(AuthenticationComponentImpl.java:76)
at org.alfresco.repo.security.authentication.AbstractAuthenticationComponent.authenticate(AbstractAuthenticationComponent.java:158)
at org.alfresco.repo.security.authentication.AuthenticationServiceImpl.authenticate(AuthenticationServiceImpl.java:65)
at org.alfresco.repo.security.authentication.AbstractChainingAuthenticationService.authenticate(AbstractChainingAuthenticationService.java:180)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:309)
at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:183)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:150)
at net.sf.acegisecurity.intercept.method.aopalliance.MethodSecurityInterceptor.invoke(MethodSecurityInterceptor.java:80)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
at org.alfresco.repo.security.permissions.impl.ExceptionTranslatorMethodInterceptor.invoke(ExceptionTranslatorMethodInterceptor.java:46)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
at org.alfresco.repo.audit.AuditMethodInterceptor.invoke(AuditMethodInterceptor.java:147)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:110)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:202)
at $Proxy58.authenticate(Unknown Source)
at org.alfresco.sample.FirstFoundationClient.doExample(FirstFoundationClient.java:88)
at org.alfresco.sample.FirstFoundationClient$1.execute(FirstFoundationClient.java:73)
at org.alfresco.repo.transaction.RetryingTransactionHelper.doInTransaction(RetryingTransactionHelper.java:388)
at org.alfresco.repo.transaction.RetryingTransactionHelper.doInTransaction(RetryingTransactionHelper.java:259)
at org.alfresco.sample.FirstFoundationClient.main(FirstFoundationClient.java:77)
Caused by: java.lang.OutOfMemoryError: Java heap space
at java.lang.StringCoding.decode(Unknown Source)
at java.lang.String.<init>(Unknown Source)
at java.util.jar.Attributes.read(Unknown Source)
at java.util.jar.Manifest.read(Unknown Source)
at java.util.jar.Manifest.<init>(Unknown Source)
at java.util.jar.JarFile.getManifestFromReference(Unknown Source)
at java.util.jar.JarFile.getManifest(Unknown Source)
at sun.misc.URLClassPath$JarLoader$2.getManifest(Unknown Source)
at java.net.URLClassLoader.defineClass(Unknown Source)
at java.net.URLClassLoader.access$000(Unknown Source)
at java.net.URLClassLoader$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at java.security.Provider$Service.getImplClass(Unknown Source)
at java.security.Provider$Service.newInstance(Unknown Source)
at sun.security.jca.GetInstance.getInstance(Unknown Source)
at sun.security.jca.GetInstance.getInstance(Unknown Source)
at java.security.Security.getImpl(Unknown Source)
at java.security.MessageDigest.getInstance(Unknown Source)
at org.alfresco.repo.security.authentication.MD4PasswordEncoderImpl.md4(MD4PasswordEncoderImpl.java:108)
at org.alfresco.repo.security.authentication.MD4PasswordEncoderImpl.encodeInternal(MD4PasswordEncoderImpl.java:89)
at org.alfresco.repo.security.authentication.MD4PasswordEncoderImpl.isPasswordValid(MD4PasswordEncoderImpl.java:75)
at net.sf.acegisecurity.providers.dao.DaoAuthenticationProvider.isPasswordCorrect(DaoAuthenticationProvider.java:347)
at net.sf.acegisecurity.providers.dao.DaoAuthenticationProvider.authenticate(DaoAuthenticationProvider.java:277)
at net.sf.acegisecurity.providers.ProviderManager.doAuthentication(ProviderManager.java:159)
at net.sf.acegisecurity.AbstractAuthenticationManager.authenticate(AbstractAuthenticationManager.java:49)
at org.alfresco.repo.security.authentication.AuthenticationComponentImpl$1$1.doWork(AuthenticationComponentImpl.java:88)
at org.alfresco.repo.security.authentication.AuthenticationComponentImpl$1$1.doWork(AuthenticationComponentImpl.java:82)
at org.alfresco.repo.security.authentication.AuthenticationUtil.runAs(AuthenticationUtil.java:519)
Exception in thread "DefaultScheduler_QuartzSchedulerThread" java.lang.OutOfMemoryError: Java heap space
2012-09-15 09:15:09,888 ERROR [quartz.core.JobRunShell] [SolrWatcherScheduler_Worker-1] Job Solr.SolrWatcher threw an unhandled Exception:
java.lang.OutOfMemoryError: Java heap space
2012-09-15 09:15:09,888 ERROR [quartz.core.ErrorLogger] [SolrWatcherScheduler_Worker-1] Job (Solr.SolrWatcher threw an exception.
org.quartz.SchedulerException: Job threw an unhandled exception. [See nested exception: java.lang.OutOfMemoryError: Java heap space]
at org.quartz.core.JobRunShell.run(JobRunShell.java:227)
at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:563)
Caused by: java.lang.OutOfMemoryError: Java heap space