command not found when starting Tomcat 7 from EWS 2.0.1

Solution Verified - Updated -

Issue

  • Starting Tomcat 7 from EWS 2.0.1 produces the following output:
$ ./catalina.sh start
./catalina.sh: line 267: +#JBPAPP-3749/6036/9724: No such file or directory
./catalina.sh: line 268: +#: command not found
./catalina.sh: line 269: +#: command not found
./catalina.sh: line 270: +#: command not found
./catalina.sh: line 271: +#: command not found
./catalina.sh: line 272: +#: command not found
./catalina.sh: line 273: +: command not found
  • Using the startup.sh in EWS 2.0.1 shows the following errors:
./startup.sh 
/path/to/jboss-ews-2.0/tomcat7/bin/catalina.sh: line 267: +#JBPAPP-3749/6036/9724: No such file or directory
/path/to/jboss-ews-2.0/tomcat7/bin/catalina.sh: line 268: +#: command not found
/path/to/jboss-ews-2.0/tomcat7/bin/catalina.sh: line 269: +#: command not found
/path/to/jboss-ews-2.0/tomcat7/bin/catalina.sh: line 270: +#: command not found
/path/to/jboss-ews-2.0/tomcat7/bin/catalina.sh: line 271: +#: command not found
/path/to/jboss-ews-2.0/tomcat7/bin/catalina.sh: line 272: +#: command not found
/path/to/jboss-ews-2.0/tomcat7/bin/catalina.sh: line 273: +: command not found

Environment

  • JBoss Enterprise Web Server (EWS) 2.0.1
    • Tomcat 7

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content