DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=13014>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=13014

OS/390/USS - Invalid <url-pattern>  in servlet mapping





------- Additional Comments From [EMAIL PROTECTED]  2002-10-24 10:02 -------
Hi all
I wrote the detailed instructions for using binary fixes for tomact 4.0.6
in response to someone ask me in OE mailing list which appended below,and the 
attachments are also attached to bug 13014.
and about the source of problem :
It is created by URLDecode method,i mean everywhere this method
is called without specifying the 8859_1 encoding it assumes the defult
encoding that on OS/390 is IBM-1047 so I searched the entire source
and found that it must be changed to URLDecode(----,"8859_1") in the 
following source files:

org.apache.catalina.core.StandardContext.java
org.apache.catalina.core.StandardContextMapper.java
org.apache.catalina.authenticator.AuthenticatorBase.java 
org.apache.catalina.deploy.ErrorPage.java
org.apache.catalina.deploy.SecurityCollection.java
org.apache.catalina.deploy.FilterMap.java
org.apache.catalina.deploy.LoginConfig.java


>>>>>>>>>>>>>>>>Detailed instructions for binary fix >>>>>>>>>

> 1.  Download and unpack the < jakarta-tomat-4.0.6.zip>  from :
>
http://jakarta.apache.org/builds/jakarta-tomcat-4.0/release/v4.0.6/bin/
>     (The <jakarta-tomcat-4.0.6.tar.gz> is defective and should not be
       used)
> 2. You should have JAVA 1.3 or greater on your system installed and
>     the <JAVA_HOME> environment variable point to its installation path.
> 3. Using <oeditascii> utility (can get from IBM OS390 unix system services
>     <tools and toys> home page) change the <server.xml> file in <conf>
>     directory and set the port that tomcat listen for incomming requests
      on it,if you do not change this port the default will be 8080.
> 4. There are two attachments to this email ,you should ftp them to USS
>     in binary format.
> 5. Remove the <bin> directory in the path you have installed Tomcat,
>     and then untar the first attachment file <bindir.tar> for example
>     if i installed the tomcat in </home/jakarta-tomcat-4.0.6> directory
>     and also have ftpied the <bindir.tar> attachment file to this directory,
>     i should run the following commands in OMVS shell:
>    > cd   /home/jakarta-tomcat-4.0.6
>    > pwd
>         (ensure that you are in your tomcat installation path,to not
           delete system </bin> directory accidentally)
>    > rm  -rf   bin
>    > tar   xvf   bindir.tar
> 6. Replace the <catalina.jar>  file with the second attachment file ,
>     the <catalina.jar> file located in <server/lib> directory in your
>     catalina installation path.
>    (for example in /home/jakarta- tomcat-4.0.6/server/lib)
> 7. Export the environment variable CATALINA_HOME pointing to
>     your tomcat  installation directory .
>    (for example:  > export CATALINA_HOME= /home/jakarta-tomcat-4.0.6)
> 8. change current directory to <bin> and run <startup.sh> shell script.
>     for example:
>     >  cd   /home/jakarta-tomcat-4.0.6/bin
>     > ./startup.sh
> 9.  you can then check tomcat with entering the following url in your
>     browser:
>     http://<your- host- ip- address>:8080
> 10. In the case of any problem refer to log files in logs directory in
       your installation path.(for example : /home/jakarta-tomcat-4.0.6/logs)
>
> I hope it would be useful.
> Thanks
> Ali Madani
>

--
To unsubscribe, e-mail:   <mailto:tomcat-dev-unsubscribe@;jakarta.apache.org>
For additional commands, e-mail: <mailto:tomcat-dev-help@;jakarta.apache.org>

Reply via email to