I saw some warning when start the web application, not sure what it means:
2010-05-20 08:53:45.750:WARN::Skipping PostConstruct annotation on org.apache.activemq.broker.BrokerService.start:
throws checked exceptions
2010-05-20 08:53:45.750:WARN::Skipping PreDestroy annotation on org.apache.activemq.broker.BrokerService.stop:
throws checked exceptions
2010-05-20 08:53:46.000:WARN::Skipping PostConstruct annotation on org.apache.activemq.broker.util.CommandAgent.start:
throws checked exceptions
2010-05-20 08:53:46.000:WARN::Skipping PreDestroy annotation on org.apache.activemq.broker.util.CommandAgent.stop:
throws checked exceptions
2010-05-20 08:53:46.015:WARN::Skipping PostConstruct annotation on org.apache.activemq.broker.util.LoggingBrokerPlugin.afterPropertiesSet:
throws checked exceptions
2010-05-20 08:53:46.093:WARN::Skipping PostConstruct annotation on org.apache.activemq.filter.DestinationMapEntry.afterPropertiesSet:
throws checked exceptions
2010-05-20 08:53:46.687:WARN::Skipping PostConstruct annotation on org.apache.activemq.spring.ActiveMQConnectionFactory.afterPropertiesSet:
throws checked exceptions
2010-05-20 08:53:46.687:WARN::Skipping PostConstruct annotation on org.apache.activemq.spring.ActiveMQXAConnectionFactory.afterPropertiesSet:
throws checked exceptions
2010-05-20 08:53:46.687:WARN::Skipping PostConstruct annotation on org.apache.activemq.spring.SpringSslContext.afterPropertiesSet:
throws checked exceptions
2010-05-20 08:53:47.062:WARN::Skipping PostConstruct annotation on org.apache.activemq.xbean.XBeanBrokerService.afterPropertiesSet:
throws checked exceptions
2010-05-20 08:53:47.062:WARN::Skipping PreDestroy annotation on org.apache.activemq.xbean.XBeanBrokerService.destroy:
throws checked exceptions
2010-05-20 08:53:47.156:WARN::Skipping PostConstruct annotation on org.apache.activemq.broker.BrokerService.start:
throws checked exceptions
2010-05-20 08:53:47.156:WARN::Skipping PreDestroy annotation on org.apache.activemq.broker.BrokerService.stop:
throws checked exceptions
2010-05-20 08:53:47.343:WARN::Skipping PostConstruct annotation on org.apache.activemq.broker.util.CommandAgent.start:
throws checked exceptions
2010-05-20 08:53:47.343:WARN::Skipping PreDestroy annotation on org.apache.activemq.broker.util.CommandAgent.stop:
throws checked exceptions
2010-05-20 08:53:47.343:WARN::Skipping PostConstruct annotation on org.apache.activemq.broker.util.LoggingBrokerPlugin.afterPropertiesSet:
throws checked exceptions
2010-05-20 08:53:47.359:WARN::Skipping PostConstruct annotation on org.apache.activemq.camel.component.CamelEndpointLoader.afterPropertiesSet:
throws checked exceptions
2010-05-20 08:53:47.359:WARN::Skipping PreDestroy annotation on org.apache.activemq.camel.component.CamelEndpointLoader.destroy:
throws checked exceptions
2010-05-20 08:53:47.437:WARN::Skipping PostConstruct annotation on org.apache.activemq.filter.DestinationMapEntry.afterPropertiesSet:
throws checked exceptions
2010-05-20 08:53:47.984:WARN::Skipping PostConstruct annotation on org.apache.activemq.spring.ActiveMQConnectionFactory.afterPropertiesSet:
throws checked exceptions
2010-05-20 08:53:47.984:WARN::Skipping PostConstruct annotation on org.apache.activemq.spring.ActiveMQXAConnectionFactory.afterPropertiesSet:
throws checked exceptions
2010-05-20 08:53:47.984:WARN::Skipping PostConstruct annotation on org.apache.activemq.spring.SpringSslContext.afterPropertiesSet:
throws checked exceptions
2010-05-20 08:53:48.390:WARN::Skipping PostConstruct annotation on org.apache.activemq.xbean.XBeanBrokerService.afterPropertiesSet:
throws checked exceptions
2010-05-20 08:53:48.390:WARN::Skipping PreDestroy annotation on org.apache.activemq.xbean.XBeanBrokerService.destroy:
throws checked exceptions
2010-05-20 08:53:50.187:WARN::Skipping PostConstruct annotation on org.springframework.ejb.interceptor.SpringBeanAutowiringInterceptor.autowireBean:
has parameters
2010-05-20 08:53:50.187:WARN::Skipping PreDestroy annotation on org.springframework.ejb.interceptor.SpringBeanAutowiringInterceptor.releaseBean:
has parameters
rgds,
canal
________________________________
From: go canal <gocanal@yahoo.com>
To: users@activemq.apache.org
Sent: Thu, May 20, 2010 8:43:01 AM
Subject: timeout is not being used ?
Hi,
I have a very basic configuration and did a quick test.
I am using Spring 3.0, ActiveMQ 5.4, Jetty 7.0.2.
web.xml
======
<servlet>
<servlet-name>SpringAMQ</servlet-name>
<servlet-class>org.springframework.web.servlet.DispatcherServlet</servlet-class>
<init-param>
<param-name>contextConfigLocation</param-name>
<param-value>
/WEB-INF/spring/app-config.xml
</param-value>
</init-param>
<load-on-startup>1</load-on-startup>
</servlet>
<servlet-mapping>
<servlet-name>SpringAMQ</servlet-name>
<url-pattern>/app/*</url-pattern>
</servlet-mapping>
<!-- for ActiveMQ -->
<context-param>
<param-name>org.apache.activemq.brokerURL</param-name>
<param-value>vm://localhost</param-value>
</context-param>
<context-param>
<param-name>org.apache.activemq.embeddedBroker</param-name>
<param-value>true</param-value>
</context-param>
<servlet>
<servlet-name>AjaxServlet</servlet-name>
<servlet-class>org.apache.activemq.web.AjaxServlet</servlet-class>
</servlet>
<servlet-mapping>
<servlet-name>AjaxServlet</servlet-name>
<url-pattern>/app/amq/*</url-pattern>
</servlet-mapping>
sample.jsp
========
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<script type="text/javascript" src="amq/amq.js"></script>
<script type="text/javascript">amq.uri='amq';</script>
<title>Insert title here</title>
</head>
<body>
<h2>This is my page!</h2>
</body>
</html>
The jsp file only include ActiveMQ, did not do anything.
When I display this page, it shows different issues in different browsers:
- IE
stackoverflow
- Chrome
can not call method 'getElementsbyTagName' of null
- FireFox
FireBug shows that the the client keeps sending request to the server without waiting.
the server log shows:
08:40:10,718 DEBUG MessageListenerServlet:238 - GET client=org.apache.activemq.web.WebClient@1b94ea2
session=kxu5qo9f1nnk uri=/SpringAMQ/app/amq query=null
08:40:10,718 DEBUG MessageListenerServlet:263 - doMessage timeout=25000
25sec is the default timeout value. Wondering why there is no-wait and what error in Chrome
mean ?
thanks,
canal
|