Blog

Set “ulimit” parameters to fix “Too Many Open Files” Error

If you ever run into the following errors with the below stacktrace, there’s a more than likely easy fix for it at the bottom of this article. java.lang.IllegalStateException: Failed to load ApplicationContext at org.springframework.test.context.TestContext.get ApplicationContext(TestContext.java:308) at org.springframework.test.context.support.DependencyInjection TestExecutionListener.injectDependencies (DependencyInjectionTestExecutionListener.java:109) at org.springframework.test.context.support.DependencyInjection TestExecutionListener.prepareTestInstance (DependencyInjectionTestExecutionListener.java:75) at org.springframework.test.context.TestContextManager.prepareTestInstance (TestContextManager.java:321) at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.createTest (SpringJUnit4ClassRunner.java:211) at org.springframework.test.context.junit4.SpringJUnit4ClassRunner$1. runReflectiveCall(SpringJUnit4ClassRunner.java:287) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:15) at [...]

Continue reading →

modprobe loop FATAL: Could not load /lib/modules/2.6.16-xenU/modules.dep: No such file or directory

Ever run into an error message like this? modprobe loop FATAL: Could not load /lib/modules/2.6.16-xenU/modules.dep: No such file or directory If you take a peek into the /lib/modules, what do you see? Do you just see this? 2.6.21-1.3194.fc7 You can just simply create a symlink of 2.6.16-xenU to that to stop the error messages: cd [...]

Continue reading →

/sbin/mingetty[1823]: tty2: No such file or directory

Did you ever get this similar error messages? Aug 12 12:46:39 ip-10-10-10-99 /sbin/mingetty[1736]: tty2: No such file or directory Aug 12 12:46:39 ip-10-10-10-99 /sbin/mingetty[1737]: tty3: No such file or directory Aug 12 12:46:39 ip-10-10-10-99 /sbin/mingetty[1738]: tty4: No such file or directory Aug 12 12:46:39 ip-10-10-10-99 /sbin/mingetty[1739]: tty5: No such file or directory Aug 12 12:46:39 [...]

Continue reading →

svn: The repository at ‘‘ has uuid ‘‘, but the WC has ‘

If you’ve ever tried to switch your current working copy to a new SVN URL with ‘svn switch –relocate [old_repo] [new_repo]‘ command you may run into an error message similar to this: svn: The repository at ‘[new_repo]‘ has uuid ‘[new_uuid]‘, but the WC has ‘[old_uuid]‘ The reason for this is that Subversion expects the same [...]

Continue reading →

Could not find com.google.gwt.dev.Compiler. Make sure you have it in your classpath

If you ever run into an exception similar to the following: Execution failed for task ‘:common:gwt-utils:gwtCompile’. at org.gradle.api.internal.tasks.DefaultTaskExecuter.executeActions (DefaultTaskExecuter.java:66) at org.gradle.api.internal.tasks.DefaultTaskExecuter.execute(DefaultTaskExecuter.java:43) at org.gradle.api.internal.project.taskfactory.PostExecutionAnalysisTaskExecuter.execute (PostExecutionAnalysisTaskExecuter.java:32) at org.gradle.api.internal.project.taskfactory.ExecutionShortCircuitTaskExecuter.execute (ExecutionShortCircuitTaskExecuter.java:50) at org.gradle.api.internal.tasks.SkipTaskExecuter.doExecute(SkipTaskExecuter.java:57) at org.gradle.api.internal.tasks.SkipTaskExecuter.execute(SkipTaskExecuter.java:35) at org.gradle.api.internal.tasks.ExecuteAtMostOnceTaskExecuter.execute (ExecuteAtMostOnceTaskExecuter.java:32) at org.gradle.api.internal.AbstractTask.execute(AbstractTask.java:231) at org.gradle.execution.DefaultTaskGraphExecuter.executeTask (DefaultTaskGraphExecuter.java:167) at org.gradle.execution.DefaultTaskGraphExecuter.doExecute (DefaultTaskGraphExecuter.java:160) at org.gradle.execution.DefaultTaskGraphExecuter.execute (DefaultTaskGraphExecuter.java:78) at org.gradle.execution.TaskNameResolvingBuildExecuter.execute (TaskNameResolvingBuildExecuter.java:113) at org.gradle.execution.DelegatingBuildExecuter.execute (DelegatingBuildExecuter.java:54) at org.gradle.execution.DelegatingBuildExecuter.execute (DelegatingBuildExecuter.java:54) at [...]

Continue reading →

svn: Failed to add directory ‘foo/foo’: an unversioned directory of the same name already exists

Ever gotten this Subversion checkout/update operation error message? svn: Failed to add directory ‘foo/foo’: an unversioned directory of the same name already exists You can fix this problem by applying an extra option of “–force” to the SVN’s checkout/update command.  This will mark the folder in question as updated and the subfolder files as versioned [...]

Continue reading →