This file contains 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
May 17, 2010 9:26:46 PM org.apache.catalina.core.AprLifecycleListener init | |
INFO: The APR based Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: .:/Library/Java/Extensions:/System/Library/Java/Extensions:/usr/lib/java | |
May 17, 2010 9:26:46 PM org.apache.catalina.startup.Catalina load | |
INFO: Initialization processed in 488 ms | |
May 17, 2010 9:26:46 PM org.apache.catalina.core.StandardService startInternal | |
INFO: Starting service Catalina | |
May 17, 2010 9:26:46 PM org.apache.catalina.core.StandardEngine startInternal | |
INFO: Starting Servlet Engine: Apache Tomcat/7.0.0-RC2 | |
May 17, 2010 9:26:46 PM org.apache.catalina.startup.HostConfig deployWAR | |
INFO: Deploying web application archive atmosphere-flickr.war |
This file contains 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
[WARNING] Deprecated API called - not org.apache.maven.doxia.sink.Sink instance and no SinkFactory available. Please update this plugin. | |
[INFO] ------------------------------------------------------------------------ | |
[ERROR] FATAL ERROR | |
[INFO] ------------------------------------------------------------------------ | |
[INFO] 1 | |
[INFO] ------------------------------------------------------------------------ | |
[INFO] Trace | |
java.lang.ArrayIndexOutOfBoundsException: 1 | |
at org.apache.maven.doxia.module.xhtml.XhtmlSink.tableCell(XhtmlSink.java:791) | |
at org.apache.maven.doxia.module.xhtml.XhtmlSink.tableHeaderCell(XhtmlSink.java:777) |
This file contains 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
@WebServlet(name="AsyncServlet", urlPatterns={"/AsyncServlet"}, asyncSupported=true) | |
public class AsyncServlet extends HttpServlet { | |
protected void doGet(HttpServletRequest request, HttpServletResponse response) | |
throws ServletException, IOException { | |
response.setContentType("text/html;charset=UTF-8"); | |
try { | |
System.out.println("Starting doGet"); | |
AsyncContext ac = request.startAsync(); | |
//<- Why doing that : HttpServletRequest.getAsyncContext() |
This file contains 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 AsyncServlet implements AtmosphereHandler<HttpServletRequest, HttpServletResponse> { | |
@Override | |
public void onRequest(AtmosphereResource<HttpServletRequest,HttpServletResponse> resource) | |
throws ServletException, IOException { | |
try { | |
System.out.println("Starting onRequest"); | |
resource.suspend(); | |
// Will be executed using a ScheduledThreadPool (can also use scheduleBroadcast) |
This file contains 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
T 127.0.0.1:9999 -> 127.0.0.1:51462 [AP] | |
HTTP/1.1 200 OK. | |
HTTP/1.1 200 OK. | |
Expires: -1-1. | |
S | |
JSESSIONID=e7vi41hyu0pf;Path=/. | |
Set-Cookierol: no-store, no-cache, must-r:validat Pragma: no-cache.JSETransfer-Encoding: chunked. | |
SServer: Jetty(6.1.22). | |
IONID=e7vi41hyu0pf;Path=/. | |
Cache-Control: no-store, no-cache, must-revalidate. |
This file contains 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
<servlet> | |
<servlet-name>AkkaServlet</servlet-name> | |
<servlet-class>se.scalablesolutions.akka.comet.AkkaServlet</servlet-class> | |
<init-param> | |
<param-name>org.atmosphere.useStream</param-name> | |
<param-value>true</param-value> | |
</init-param> | |
<init-param> | |
<param-name>com.sun.jersey.config.property.resourceConfigClass</param-name> |
This file contains 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
jfarcand:tmp jfarcand$ java -jar atmosphere-spade-server-0.7-20100628.152646-3.jar -a /atmosphere/samples/pubsub/target/atmosphere-pubsub.war | |
Jun 30, 2010 10:08:21 AM org.atmosphere.grizzly.AtmosphereDeployer init | |
INFO: DeployerServerConfiguration{, port=8080, waitToStart=false, libraryPath='null', webdefault='null', cometEnabled=true, ajpEnabled=false, websocketsEnabled=false, watchInterval=-1, watchFolder=null, applicationsList=[DeployableConfiguration{location='/atmosphere/samples/pubsub/target/atmosphere-pubsub.war', forcedContext='null', libraryPath='null', forceWarDeployment=false}]} | |
Jun 30, 2010 10:08:21 AM com.sun.grizzly.http.servlet.deployer.WarDeployer cleanup | |
INFO: cleaning folder : /private/tmp/work | |
Jun 30, 2010 10:08:22 AM com.sun.grizzly.http.servlet.deployer.WarDeployer fromURI | |
INFO: Skipping Annotation for this URI : file:/atmosphere/samples/pubsub/target/atmosphere-pubsub.war | |
Jun 30, 2010 10:08:24 AM org.atmosphere.cpr.AtmosphereServlet detectSupportedFramework | |
WARNING: Missing META-INF/atm |
This file contains 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
/** | |
* Inject a {@link Broadcaster} based on @Path | |
*/ | |
private @PathParam("tablename") Broadcaster tablename; | |
@GET | |
@Path("{tablename}") | |
@Suspend(resumeOnBroadcast=true, period=30, listeners={EventsLogger.class}) | |
public String getData(@PathParam("tablename") String tableName, |
This file contains 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
Response response = httpClient.prepareGet(path) | |
.setRealm(createRealm()) | |
.setProxyServer(createProxyServer()) | |
.execute(completionHandler).get(); | |
// TODO: Use the underlying ByteBuffer directly instead. Totally inneficient to loads the | |
// bytes in memory. | |
FileOutputStream fs = new FileOutputStream(tmp); | |
try { | |
final byte[] buffer = new byte[4 * 1024]; |
This file contains 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
(Fail) | |
T 127.0.0.1:60755 -> 127.0.0.1:60750 [AP] | |
GET /repo/org/apache/maven/its/mng4781/release/maven-metadata.xml HTTP/1.1. | |
Host: localhost:60750. | |
Pragma: no-cache. | |
Accept: text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2. | |
Connection: keep-alive. | |
User-Agent: Apache-Maven/3.0-beta-3 (Java 1.6.0_20; Mac OS X 10.6.4). | |
Accept-Encoding: gzip. |
OlderNewer