text stringlengths 1 330k |
|---|
• Clearing land. |
• Planting vegetation. |
• Building dams. |
The anthroposphere is one of the many "spheres" of the planet Earth. The Anthroposphere is the people on our Earth. The Earth is home for many humans. (Over 6 billion.) |
The population on Earth increases at a dangerous rate. Imagine the construction workers and the architects all over the world who have to make and sell houses to most of them! That would be very stressful, don't you think? Well, soon we will out grow our Earth, and the world will be too small! Scientists are trying to ... |
The cryosphere is a very important part in the world. The cryosphere is all of the ice on planet Earth. The hydrosphere has a huge impact on the cryosphere, because without water, you can't have ice! Ice plays a huge role on our environment's health. The ice is home for many animals such as the penguin, the seal, the w... |
Why is planet Earth nicknamed “The Blue Planet”? Well, that all has to do with the hydrosphere. |
The hydrosphere is all the water on planet Earth. Not in the water bottles, but all the water in lakes, rivers, oceans, and all other water sources in the ground. The hydrosphere takes up 71% of Earth. The other 26% is land, or as we call them, continents. Then there is only 3% of fresh water on earth. |
The water on Earth stays in its liquid state because of sun. We are close to the sun, so we have a good climate for water. Most of our water is not frozen, except near the North and South Poles. |
On other planets where scientist “claimed” there is water on, is frozen. We are 3rd in line of the sun, so other planets are much colder than us, which makes Earth a perfect place to live at (temperature/climate-wise.) |
Some people just say that the lithospere is the Earth crust, and it is, but it is more than that! |
Last modified on 19 August 2010, at 19:57 |
Tell me more × |
Hello I have a server at rackspace cloud running Ubuntu Karmic Koala |
I was trying to do something until I accidently removed the server ip and name from the file /etc/hosts/ and rebooted. After reboot I am not able to connect to the server using putty although I added the missing line back using webmin file manager. |
In webmin when I go to SSH Login. It says There is no SSH server running on my ip port 22. |
Can any one help |
share|improve this question |
add comment |
migrated from Feb 13 '10 at 23:50 |
This question came from our site for professional and enthusiast programmers. |
3 Answers |
If Webmin is up and running you can issue commands to the server. Run /etc/init.d/sshd start and see if that fixes the issue. Also, you should have access to a package manager through webmin as well so you can re-install ssh if needed. |
share|improve this answer |
add comment |
I think you have accidently removed something other, too. SSH server is AFAIK not so dependant on /etc/hosts. |
BTW. from /etc/hosts you have probably deleted the first line (if we don't count the comments). Have you put it back there, or at the end of file? |
share|improve this answer |
add comment |
start the sshd daemon, either from webmin or have somebody at the hosting company support do it |
in /etc/hosts should be also the hostname and the external ip address, after - localhost |
share|improve this answer |
add comment |
Your Answer |
For more inspiration, follow us |
Green trends |
Green - creative and cultural |
Greens are becoming both calmer and cooler reflecting our concern for family and the environment. |
Cool jades and green teas are key, with a serene and sophisticated quality. They add an extra dimension to your home that is both creative and nurturing. The blue based greens like Soft Fauna 3 encourage a peaceful atmosphere that allows us to relax and feel at home. |
In previous years we saw sharp modern greens which gave a creative and cultural edge to a sustainable and eco influenced palette. |
Whilst subtle, architectural greens like Gooseberry Fool 4 remind us of the earths natural building materials like clay, timber, stone and thatch - eco friendly colours that are understated but create a contemporary space. |
Botanical yellow-based greens add a touch of futuristic energy which are reminiscent of both jungle and the laboratory. Whether they are soft and gentle (Forest Lake 3) or bright and advancing (Indian Ivy 5), both shades will add radiance to your room. |
ONJava.com -- The Independent Source for Enterprise Java |
oreilly.comSafari Books Online.Conferences. |
AddThis Social Bookmark Button |
Aspect-Oriented Annotations |
Pages: 1, 2, 3 |
Dependency Injection |
First, we must again define our annotation. |
package org.jboss.aspects; |
import java.lang.annotation.ElementType; |
import java.lang.annotation.Target; |
public @interface Inject {} |
package org.jboss.aspects; |
import org.jboss.aop.joinpoint.*; |
import java.lang.reflect.Field; |
import javax.transaction.TransactionManager; |
import org.jboss.tm.TxManager; |
public InjectTMAspect |
private TransactionManager tm = TxManager.getInstance(); |
public Object access(FieldReadInvocation invocation) |
throws Throwable |
return tm; |
public Object access(FieldWriteInvocation invocation) |
throws Throwable |
throw new RuntimeException( |
"Setting an @Injected variable is illegal"); |
<aspect class="org.jboss.aspects.InjectTMAspect"/> |
<advice name="access" |
import javax.transaction.TransactionManager; |
import org.jboss.aspects.Inject; |
public class MyTransactionalCache |
@Inject private TransactionManager tm; |
More Pre-Packaged Examples |
JBoss AOP is not just about an AOP framework. It also has a rich library of aspects that you can use directly within your applications. Within this library is a set of annotated aspects that are a bit more complex than the examples we've shown in this article. Some of these aspects include asynchronous invocations, tra... |
Asynchronous Aspect |
The JBoss AOP asynchronous aspect allows you to define any method as asynchronous so that it can be fired off in the background. It is a bit different from our @Oneway example, in that it uses the Executor facilities in the Oswego concurrent package, as well as providing a way to receive responses back asynchronously f... |
public Foo |
@Asynchronous public int someMethod(int someArg) {...} |
The application of the @Asynchronous tag does a few things. As in the @Oneway example in this article, it applies an aspect that runs the method in the background. Also, with the @Asynchronous tag, you are not limited to void methods and may interact with methods that actually return a value. When the @Asynchronous tag... |
Foo foo = new Foo(); |
someMethod(555); // executes in background |
AsynchronousFacade facade = (AsynchronousFacade)foo; |
AsynchronousResponse response = facde.waitForResponse(); |
You can fire off multiple invocations to multiple different methods of multiple different objects, and asynchronously accumulate their responses. |
Transaction Locking |
Sometimes it may be useful to synchronize an object or class for the duration of a J2EE transaction rather than for just the duration of a method call, constructor invocation, or synchronized block. For this type of transactional synchronization/locking, JBoss AOP has invented the @TxSynchronized keyword. You can use @... |
import org.jboss.aspects.txlock.TxSynchronized; |
public FooBar |
@TxSynchronized public FooBar() {} |
@TxSynchronized static void staticMethod() {} |
@TxSynchronized public memberMethod() {} |
If a constructor or static method that is tagged as @TxSynchronized is invoked, the lock monitor for the class will be held for the duration of the transaction. If a member method tagged as @TxSynchronized is called, the lock monitor for the particular object instance will be held until the current transaction commits ... |
J2EE a la Carte: Transaction Demarcation |
EJB 3.0 has defined some annotations to do transaction demarcation. JBoss AOP builds on this so that you can apply transaction demarcation to any method (static or member) and any constructor of any Java class by specifying an annotation. |
import org.jboss.aspects.tx.*; |
public class Foo |
@Tx(TxType.REQUIRED) public Foo {} |
@Tx(TxType.REQUIRESNEW) public static createFoo() { |
return new Foo(); |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.