> On Jul 16, 2024, at 18:45, DdC <atlantisic...@yahoo.com.INVALID> wrote:
> 
> Link to catalina log is below


Which shows this error:

Caused by: java.lang.IllegalArgumentException: Invalid <url-pattern> 
[com.ZAjax] in servlet mapping


> Thanks for all your advice.Progress here.The port regards hck app (for 
> medical diagnosis) with 6.1Mb source ofwhich 4.6Mb java code.Have been able 
> to compile without using j2ee.jar (with a dos .batscript tackling 19 
> directories, etc.)Used instead in CLASSPATH files in lib: 
> servlet-api.jar,javax.mail.jar,javax.activation.jar. There IS a web.xml file 
> in WEB-INF with, among the others, forcom.ZAjax: 
>     <servlet>      <servlet-name>com.ZAjax</servlet-name>      
> <servlet-class>com.ZAjax</servlet-class>    </servlet>
>     <servlet-mapping>      <servlet-name>com.ZAjax</servlet-name>      
> <url-pattern>com.ZAjax</url-pattern>    </servlet-mapping>


(You really need to use an e-mail client that doesn’t destroy formatting.)

Refer to section 12.2 of the servlet spec to see what the valid patterns are:
https://javaee.github.io/servlet-spec/downloads/servlet-4.0/servlet-4_0_FINAL.pdf

If this is the only servlet in the app, you may want to use just a slash or an 
empty string for the URL pattern.

  - Chuck


> Starting up tomcat 9.0.88 still hiccups when hck is encountered.The catalina 
> log is at:
> https://www.ontooo.com/catalina.log

Reply via email to