This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # database properties | |
| app.jdbc.driverClassName=com.mysql.jdbc.Driver | |
| app.jdbc.url=jdbc:mysql://localhost/eventdb | |
| app.jdbc.username=root | |
| app.jdbc.password= |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <plugin> | |
| <groupId>org.mortbay.jetty</groupId> | |
| <artifactId>jetty-maven-plugin</artifactId> | |
| </plugin> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <plugin> | |
| <groupId>org.apache.tomcat.maven</groupId> | |
| <artifactId>tomcat-maven-plugin</artifactId> | |
| <version>2.0-SNAPSHOT</version> | |
| </plugin> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <plugin> | |
| <groupId>org.codehaus.mojo</groupId> | |
| <artifactId>tomcat-maven-plugin</artifactId> | |
| </plugin> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <plugin> | |
| <groupId>com.goldin.plugins</groupId> | |
| <artifactId>maven-copy-plugin</artifactId> | |
| <version>0.2.3</version> | |
| <executions> | |
| <execution> | |
| <id>create-archive</id> | |
| <!-- Select compile phase so that resources are copied first before being | |
| packaged! --> | |
| <phase>compile</phase> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 1. Modify shutdown port from | |
| <Server port="8005" shutdown="SHUTDOWN"> | |
| to | |
| <Server port="8105" shutdown="SHUTDOWN"> | |
| 2. Modify HTTP port from | |
| <Connector port="8080" protocol="HTTP/1.1" | |
| connectionTimeout="20000" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| $ wget http://haproxy.1wt.eu/download/1.4/src/haproxy-1.4.18.tar.gz | |
| $ tar -zxf haproxy-1.4.18.tar.gz | |
| $ cd haproxy-1.4.18 | |
| $ make install |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| global | |
| log 127.0.0.1 local0 | |
| log 127.0.0.1 local1 notice | |
| maxconn 4096 | |
| daemon | |
| defaults | |
| log global | |
| mode http | |
| option httplog |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /* | |
| * Licensed to the Apache Software Foundation (ASF) under one or more | |
| * contributor license agreements. See the NOTICE file distributed with | |
| * this work for additional information regarding copyright ownership. | |
| * The ASF licenses this file to You under the Apache License, Version 2.0 | |
| * (the "License"); you may not use this file except in compliance with | |
| * the License. You may obtain a copy of the License at | |
| * | |
| * http://www.apache.org/licenses/LICENSE-2.0 | |
| * |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| public class DummyCart implements Serializable { | |
| Vector<String> v = new Vector<String>(); | |
| String submit = null; | |
| String item = null; | |
| ... | |
| } |