https://issues.apache.org/bugzilla/show_bug.cgi?id=49016

           Summary: naming-common.jar not compatible with Tomcat 5.5.28
           Product: Tomcat 5
           Version: 5.5.28
          Platform: Other
        OS/Version: Linux
            Status: NEW
          Severity: critical
          Priority: P2
         Component: Catalina
        AssignedTo: dev@tomcat.apache.org
        ReportedBy: tdi...@tnsi.com


Created an attachment (id=25207)
 --> (https://issues.apache.org/bugzilla/attachment.cgi?id=25207)
catalina.log file excerpts

Description:

I'm working on a project that involves developing work on a web application
under Window XP, Sun Java1.5, Ant 1.6.5, and Tomcat 5.5.28
(apache-tomcat-5.5.28.zip).  This web application needs to be deployed to a Red
Hat Linux EL5, IBM Java5, Tomcat5.5.28 (apache-tomcat-5.5.28.jar.gz
Multiplatform binary) environment.

The project requires migrating a pre-existing Java1.4-19, Tomcat5.0 Web
Application.  While migrating found that the naming-common.jar file used by
Tomcat5.0 during class loading at startup, failed during startup of
Tomcat5.5.28 (see attached log file excerpts).   

Temporary solution:  Recompiled the
org.apache.naming.NamingContextBindingsEnumeration class (*) under Sun
Java1.5-19, and re-jarred the naming-common.jar as (naming_common.5.0.19.jar)
using Ant1.6.5, then used it to replace the naming-common.jar  file in the
CATALINA_HOME/common/lib directory.  This has temporarily resolved the issue,
Tomcat now successfully starts up under the deployment environment (Red Hat
Linux EL5, IBM Java5, Tomcat5.5.28) and the migrated web application is now
successfully running there.

(*)  Note: The recompiling of the NamingContextBindingsEnumeration class
required changing a class variable labeled as ‘enum’ to ‘Enum’ in order to
avoid ‘Reserved Word’ Java1.5-19 compilation error message.   

I need to locate the official Catalina Component Java 1.5 release of the
naming-common.jar file for deployment and replace the un-offical temporary
re-compiled re-jarred (naming_common.5.0.19.jar) version.  Is a Java 1.5
version of naming-common.jar available at this time?

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org

Reply via email to