startup

Eclipse workspace crashes on startup

淺唱寂寞╮ 提交于 2019-11-27 06:37:53
问题 I am using Spring Tool Suite(STS) 3.0.0 release (eclipse.buildId=3.0.0.201208091018-RELEASE-e42). It was running fine for a couple of months but lately my main workspace is crashing on splash screen with error as shown in last part of this post. I have tried 'STS.exe -clean' and reverting installation(via new workbench) to a earlier configuration .. but nothing seems to work. I was driving it as a single tool (i.e. almost all dev. related tasks even like connecting to server, database) so

iOS Present modal view controller on startup without flash

回眸只為那壹抹淺笑 提交于 2019-11-27 05:21:47
问题 I'd like to present modally, at first startup, a tutorial wizard to the user. Is there a way to present a modal UIViewController on application startup, without seeing, at least for a millisecond, the rootViewController behind it? Now I'm doing something like this (omitting first-launch checks for clarity): - (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions { // ... UIStoryboard *storyboard = self.window.rootViewController.storyboard;

启动Tomcat6.x时manager does not exist or is not a readable directory

早过忘川 提交于 2019-11-27 04:18:02
转载: http://blog.sina.com.cn/s/blog_6ce299970100xqfe.html 重: Error in resourceStart() 2011-9-19 11:36:28 org.apache.catalina.core.StandardContext start 严重: Error getConfigured 2011-9-19 11:36:28 org.apache.catalina.core.StandardContext start 严重: Context [/host-manager] startup failed due to previous errors 2011-9-19 11:36:28 org.apache.catalina.core.StandardContext stop 信息: Container org.apache.catalina.core.ContainerBase.[Catalina].[localhost].[/host-manager] has not been started 2011-9-19 11:36:28 org.apache.catalina.startup.HostConfig deployDescriptor 信息: Deploying configuration descriptor

MyEclipse使用指南(精简版) (转)

依然范特西╮ 提交于 2019-11-27 04:16:31
转自: http://blog.163.com/magicc_love/blog/static/185853662201111101210847/ 1、安装 2、注册 3、配置 window ----> preferences (1)配置 JDK java--->Installed JREs --> Add ---> JRE name ---> JRE home directory ---> <ok> (2)配置字符编码 General --> Workspace --> Text file encoding --> other ---> UTF-8 --><Apply> General --> ContentTypes --> 所有的 文档类型全部设置为 UTF-8 --> <Update> MyEclipse Enterprise... ---> Files and Editors ---> 所有的子项,都改成 UTF-8 ---> <Apply> (3)配置字体、颜色、大小 General --> Appearance ---> Colors and Fonts --> Basic --> TextFont---><Change>--> (4)配置代码提示快捷键 Alt+/ eclipse 中通用的 代码提示键 General --> keys --> content

C# Run application MINIMIZED at windows startup

馋奶兔 提交于 2019-11-27 03:39:38
问题 I got the following code to run the application at windows startup: private void SetStartup(string AppName, bool enable) { string runKey = "SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\Run"; Microsoft.Win32.RegistryKey startupKey = Microsoft.Win32.Registry.LocalMachine.OpenSubKey(runKey); if (enable) { if (startupKey.GetValue(AppName) == null) { startupKey.Close(); startupKey = Microsoft.Win32.Registry.LocalMachine.OpenSubKey(runKey, true); startupKey.SetValue(AppName, Application

How to make my program run at startup?

大城市里の小女人 提交于 2019-11-27 03:38:58
问题 I'm programming a desktop application similar to Google desktop but with my own gadget with vb.net 2008 how can i make my application when the user install it on their computer to run at the time of start up? Let assume that my application name is windowsAplication1 and I'm using windows XP and the program will be installed on C drive? 回答1: You can add it to registry with the following code My.Computer.Registry.LocalMachine.OpenSubKey("SOFTWARE\Microsoft\Windows\CurrentVersion\Run", True)

Any way to boost JVM Startup Speed?

廉价感情. 提交于 2019-11-27 03:15:31
问题 It is said that Java is 10x faster than python in terms of performance. That's what I see from benchmarks too. But what really brings down Java is the JVM startup time. This is a test I made: $time xlsx2csv.py Types\ of\ ESI\ v2.doc-emb-Package-9 ... <output skipped> real 0m0.085s user 0m0.072s sys 0m0.013s $time java -jar -client /usr/local/bin/tika-app-0.7.jar -m Types\ of\ ESI\ v2.doc-emb-Package-9 real 0m2.055s user 0m2.433s sys 0m0.078s Same file , a 12 KB ms XLSX embedded file inside

How do I perform an action on server startup in the Scala Play Framework?

北城余情 提交于 2019-11-27 02:09:18
问题 I have a config file servers.conf in my conf/ directory that is read by my ServerController whenever the route /servers is hit. This isn't performant because it requires a re-read of the configuration file on each successive hit when the file won't change. Further if there are problems with the config file, I can tell the user ASAP rather than throw an exception on a page hit. Currently I have this in my ServerController.scala : case class Server(ip: String, port: String) /** * This

What makes WPF application startup slow?

為{幸葍}努か 提交于 2019-11-27 01:23:17
问题 I noticed that WPF application startup is sometimes pretty slow. Does anybody know if the the cause is the elements initialization or DLLs loading or something else? 回答1: The text below was extracted from this MSDN article on Improving WPF applications startup time (Edit: now merged into WPF Application Startup Time) Application Startup Time The amount of time that is required for a WPF application to start can vary greatly. This topic describes various techniques for reducing the perceived

Speed up application start by adding own application classes to classes.jsa

匆匆过客 提交于 2019-11-27 01:09:01
问题 To speed up the startup time of the JVM, the Sun developers decided it is a good idea to precompile the standard runtime classes for a platform during installation of the JVM. These precompiled classes can be found e.g. at: $JAVA_HOME\jre\bin\client\classes.jsa My company currently develops a Java standalone application which brings its own JRE, so it would be a fantastic option to speed up our application start time by adding our own application classes to this jsa file, too. I don't believe