Configuration webfigures in web.xml

3 views (last 30 days)
Marcel
Marcel on 25 May 2011
hello
I use webfigure and Tomcat application server. If I have one application, it is my web.xml
<servlet-name>
WebFigures </ servlet-name>
<servlet-class>
com.mathworks.toolbox.javabuilder.webfigures.WebFiguresServlet
</servlet-class>
<servlet-mapping>
<servlet-name> WebFigures </ servlet-name>
<url-pattern> / WebFigures / * </ url-pattern>
</ servlet-mapping>
But when I put this code in two applications, so as to run only one, the other not
Online source codes 1. Applications
http://matlabserver.ic.cz/files/aplikace/SimulaceModulaci/v1/servlet/build/WEB-INF/
Online source codes 2. Applications
http://matlabserver.ic.cz/files/aplikace/SpektrumSignalu/v1/servlet/build/WEB-INF/
applications are placed on the application server
CATALINA_HOME / webapps / SimulaceModulaci
CATALINA_HOME / webapps / SpektrumSignalu
Please, what could it be? Thank

Answers (1)

Michal
Michal on 13 Jun 2011
Hi Marcel, I try to run an application {http://matlabserver.ic.cz/files/aplikace/SimulaceModulaci/v1/servlet/build/} but there is no webfigure shown. Just try to change {<servlet-class> com.mathworks.toolbox.javabuilder.webfigures.jsp.WebFiguresServlet /servlet-class} and add a package to source packages {com.mathworks.toolbox.javabuilder.webfigures.jsp} I have the same problem. Did you solved this one?
Regards, Mike
  1 Comment
Marcel
Marcel on 13 Jun 2011
Hi, on the site are located just source code. On this site are not installed the MCR. For running, you should download the source code.
My problem was that it was not run two applications using WebFigures. File javabuilder.jar I recorded in each application separately (the application / WEB-INF / lib). The problem was that Tomcat (application server) has attempted to load a library twice. Solution: File javabuilder.jar must be loaded into the shared components directory. Then it goes okay.
Sorry for English, translated by Google Translator :-)

Sign in to comment.

Categories

Find more on Search Path in Help Center and File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!