|
I tried annotating the class with the scopetype APPLICATION and a method with the @Create, @Beg, but this doesn't seem to work.
What I want is to start an infinite loop right when the application starts.
Started by Diego Dias on
, 3 posts
by 3 people.
Answer Snippets (Read the full thread at stackoverflow):
If you want a method to be executed right after initialization you can use the folowing annotation:
@Observer("org.jboss.seam.postInitialization")
You can annotate your class with the @Startup annotation. .
|
|
I'd like to configure Tomcat 5.5 to fail to start if any of its webapps fail to start. Is that possible? I can't find any configuration element in the documentation that suggestions that this can be done.
Started by Deos on
, 3 posts
by 3 people.
Answer Snippets (Read the full thread at stackoverflow):
If you have no security manager running, you can simply call... .
Extend the script to check whether your site is up, and then stop tomcat if it isn't .
Tomcat is started with a script.
I suspect there's no way to do it with a configuration setting .
|
|
I have a Virtual Machine in Virtual PC 2007.
To start it from the desktop, I have the following command in a batch file:
"c:\program files\Microsoft Virtual PC\Virtual PC.exe" -pc "MY-PC" -launch
But that leaves a dos prompt on the host machine until ...
Started by JosephStyons on
, 6 posts
by 6 people.
Answer Snippets (Read the full thread at stackoverflow):
Have you tried:
start "c:\program files\Microsoft Virtual PC\Virtual PC.exe" "-pc JSTYONS-DELPHI this yet? (Move end quote to encapsulate parameters)
start "c:\program files\Microsoft Virtual PC\Virtual PC.exe -pc JSTYONS-DELPHI -launch"....
|
Ask your Facebook Friends
|
Hi all,
I'm using XenServer as a host for disposable QA machines for our application development. I'd like to write a script that automatically creates a new VM from a template, starts it, logs into it, fetches the latest application build and deploys...
Started by Electric Monk on
, 3 posts
by 3 people.
Answer Snippets (Read the full thread at serverfault):
But there are two ways to solve this:
Assume that your system is... .
Worth looking into using xen-tools and created a custom role for grabbing/installing packages
There is no way to tell if your machine has finished starting the OS from outside...
|
|
After rebooting my machine, I have found many services have stopped starting automatically. If I start them with their init scripts once the machine is booted, they start without any problems. Strangely enough, if I run sudo init 5 once logged in, most...
Started by michaelmior on
, 4 posts
by 4 people.
Answer Snippets (Read the full thread at serverfault):
Which services in question did not start?
This is a confirmed of /etc/init/rc-sysinit.conf from "start....
Update-rc.d [-n] <basename> disable manually, that's a different story.
Lt;basename> start|stop NN runlvl [runlvl] [...] .
|
|
I've a class that internally uses a worker thread. Currently the ctor starts the thread and the dtor stops (and waits for) it. Is this considered good code? I think it would be better to have separate start() / stop() functions for this purpose.
One of...
Started by Tom on
, 4 posts
by 4 people.
Answer Snippets (Read the full thread at stackoverflow):
I would probably not start the thread in the constructor, but rather have ....
Reuse threads dropped by a previous instance of the class .
If it needs a thread internally, it's good to start, i.e.
Depends a bit on the semantics of the class.
|
|
For some usrs, i'm installing a Debian 5.0 on their laptops. And when the system starts, they are scared of all the 'hacking-like' codes that the system notices.
It is useful for me, but not for them.
So my question is how can i hide those notices ? and...
Started by bgy on
, 4 posts
by 4 people.
Answer Snippets (Read the full thread at serverfault):
Ubuntu.
It's a little bit more user friendly on the desktop and has a splash start up screen.
|
|
I'm running Vista 64 bit.
For some reason, today when I click on a shortcut to my firefox installation, internet explorer is started, then a delay, then User Access Control window is launched with Register Server. Once I click through the UAC window, ...
Started by gambit on
, 3 posts
by 3 people.
Answer Snippets (Read the full thread at serverfault):
When you go into IE options (can you still get there through control panel in vista? or in IE it's under Tools -> Internet Options), under the Programs tab, there's a checkbox that says "tell... .
I avoid Vista like the black plague, but here's my suspect .
|
|
Is it possible to insert a javaagent after virtual machine start from within the same VM?
Lets say for example we have an agent in a jar myagent.jar with the appropriate meta data set-up and an agentmain method already implemented. Now the users program...
Started by Paul Keeble on
, 3 posts
by 3 people.
Answer Snippets (Read the full thread at stackoverflow):
You should.
Which can handle these operations.
By using daemon threads we can start a java agent.
|
|
Our application takes significantly more time to launch after a reboot (cold start) than if it was already opened once (warm start).
Most (if not all) the difference seems to come from loading DLLs, when the DLLs' are in cached memory pages they load ...
Started by Motti on
, 11 posts
by 10 people.
Answer Snippets (Read the full thread at stackoverflow):
Adobe reader, by loading some of the files on startup, thereby hiding the cold start....
One way to make apps start cold-start faster (sort of) is used by e.g.
To be reset, but the on-disk buffer on the drive? I don't know of a way .
|