Skip to content

Commit

Permalink
add the vm arguments when running the demo.
Browse files Browse the repository at this point in the history
  • Loading branch information
lixyou committed Jan 11, 2019
1 parent 4e95a4c commit 2f831d6
Show file tree
Hide file tree
Showing 4 changed files with 24 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,12 @@
import org.springframework.context.support.ClassPathXmlApplicationContext;
import org.springframework.jdbc.core.JdbcTemplate;

/**
* Please add the follow VM arguments:
* <pre>
* -Djava.net.preferIPv4Stack=true
* </pre>
*/
public class AccountServiceImpl implements AccountService {

private static final Logger LOGGER = LoggerFactory.getLogger(OrderService.class);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,12 @@
import org.slf4j.LoggerFactory;
import org.springframework.context.support.ClassPathXmlApplicationContext;

/**
* Please add the follow VM arguments:
* <pre>
* -Djava.net.preferIPv4Stack=true
* </pre>
*/
public class BusinessServiceImpl implements BusinessService {

private static final Logger LOGGER = LoggerFactory.getLogger(BusinessService.class);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,12 @@
import org.springframework.jdbc.support.GeneratedKeyHolder;
import org.springframework.jdbc.support.KeyHolder;

/**
* Please add the follow VM arguments:
* <pre>
* -Djava.net.preferIPv4Stack=true
* </pre>
*/
public class OrderServiceImpl implements OrderService {

private static final Logger LOGGER = LoggerFactory.getLogger(OrderService.class);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,12 @@
import org.springframework.context.support.ClassPathXmlApplicationContext;
import org.springframework.jdbc.core.JdbcTemplate;

/**
* Please add the follow VM arguments:
* <pre>
* -Djava.net.preferIPv4Stack=true
* </pre>
*/
public class StorageServiceImpl implements StorageService {

private static final Logger LOGGER = LoggerFactory.getLogger(StorageService.class);
Expand Down

0 comments on commit 2f831d6

Please sign in to comment.