Azzera filtri
Azzera filtri

Configuration webfigures in web.xml

1 visualizzazione (ultimi 30 giorni)
Marcel
Marcel il 25 Mag 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

Risposte (1)

Michal
Michal il 13 Giu 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 Commento
Marcel
Marcel il 13 Giu 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 :-)

Accedi per commentare.

Categorie

Scopri di più su Search Path in Help Center e File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by