[ 
https://issues.apache.org/jira/browse/AMQ-6624?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Timothy Bish closed AMQ-6624.
-----------------------------
    Resolution: Incomplete

> ActiveMQ Web Console 5.14.x doesn't work with Tomcat 7.0.65
> -----------------------------------------------------------
>
>                 Key: AMQ-6624
>                 URL: https://issues.apache.org/jira/browse/AMQ-6624
>             Project: ActiveMQ
>          Issue Type: Bug
>          Components: webconsole
>    Affects Versions: 5.14.3, 5.14.4
>         Environment: Tomcat 7.0.65, JDK 1.8_66
>            Reporter: Nikola Radic
>            Priority: Minor
>
> Running activemq-web-console-5.14.3.war under Tomcat gives the following 
> error when accessing home page:
> SEVERE: Servlet.service() for servlet [jsp] in context with path [/jms] threw 
> exception [/index.jsp (line: 1, column: 1) The absolute uri: 
> http://java.sun.com/jsp/jstl/core cannot be resolved in either web.xml or the 
> jar files deployed with this application] with root cause
> org.apache.jasper.JasperException: /index.jsp (line: 1, column: 1) The 
> absolute uri: http://java.sun.com/jsp/jstl/core cannot be resolved in either 
> web.xml or the jar files deployed with this application
> The same error appear for 5.14.4 as well as nightly build 
> activemq-web-console-5.15.0-20170309.041201-70.war.
> The last working version was 5.11.1.
> ==============================================
> The cause is missing TLD jars, *javax.servlet.jstl_1.1.2.jar* and 
> *taglibs.standard_1.1.2.jar*.
> I noticed that last commit in Web Console GIT repo possibly resolves the 
> issue, but haven't tried to build from source.
> ==============================================
> The workround:
> - added Maven dependencies
> - copied dependencies under WEB-INF/lib using  *maven-dependency-plugin*
> <plugin>
>                               <groupId>org.apache.maven.plugins</groupId>
>                               <artifactId>maven-dependency-plugin</artifactId>
>                               <executions>
>                                       <execution>
>                                               <id>copy-missing-jars</id>
>                                               <phase>prepare-package</phase>
>                                               <goals>
>                                                       
> <goal>copy-dependencies</goal>
>                                               </goals>
>                                               <configuration>
>                                                       
> <outputDirectory>${project.build.directory}/${project.build.finalName}/WEB-INF/lib</outputDirectory>
>                                                       <includeArtifactIds>
>                                                               jstl,
>                                                               standard
>                                                       </includeArtifactIds>
>                                               </configuration>
>                                       </execution>                            
>         
>                               </executions>
>                       </plugin>
> The web console is started using tomcat7-maven-plugin.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Reply via email to