You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by bu...@apache.org on 2010/03/29 16:20:18 UTC

DO NOT REPLY [Bug 49016] New: naming-common.jar not compatible with Tomcat 5.5.28

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: tdixon@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-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org


DO NOT REPLY [Bug 49016] naming-common.jar not compatible with Tomcat 5.5.28

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=49016

Terry Dixon <td...@tnsi.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|REOPENED                    |RESOLVED
         Resolution|                            |WORKSFORME

-- 
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-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org


DO NOT REPLY [Bug 49016] naming-common.jar not compatible with Tomcat 5.5.28

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=49016

Terry Dixon <td...@tnsi.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |REOPENED
         Resolution|INVALID                     |

-- 
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-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org


DO NOT REPLY [Bug 49016] naming-common.jar not compatible with Tomcat 5.5.28

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=49016

--- Comment #4 from Terry Dixon <td...@tnsi.com> 2010-04-01 21:48:40 UTC ---
Confirmed that by not including the naming-common.jar file in the
CATALINA_HOME/common/lib directory, tomcat5.5.28 will startup without error.

I think that it would be a worth while effort to add a note regarding the
merging of the naming-common.jar and naming-resources.jar files as part of the
tomcat5.5 Release-Notes so that others who are migrating from tomcat5 to
tomcat5.5 will know not to bring the naming-common.jar forward to the tomcat5.5
installation.  

As of the current tomcat5.5.28 core download file, the Releaes-Notes still list
naming-common.jar as part of the Bundled APIs. 

Thanks for the assistance.

-- 
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-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org


DO NOT REPLY [Bug 49016] naming-common.jar not compatible with Tomcat 5.5.28

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=49016

Mark Thomas <ma...@apache.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|WORKSFORME                  |INVALID

--- Comment #5 from Mark Thomas <ma...@apache.org> 2010-04-01 22:09:15 UTC ---
Correcting resolution.

-- 
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-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org


DO NOT REPLY [Bug 49016] naming-common.jar not compatible with Tomcat 5.5.28

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=49016

--- Comment #3 from Konstantin Kolinko <kn...@gmail.com> 2010-04-01 20:27:43 UTC ---
There is no "naming-common.jar" in Tomcat 5.5.28 release.
The NamingContextBindingsEnumeration class is in
$CATALINA_HOME\common\lib\naming-resources.jar

-- 
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-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org


DO NOT REPLY [Bug 49016] naming-common.jar not compatible with Tomcat 5.5.28

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=49016

Mark Thomas <ma...@apache.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |INVALID

--- Comment #1 from Mark Thomas <ma...@apache.org> 2010-03-29 14:32:22 UTC ---
Bugzilla is not a support forum. Please use the users mailing list.

-- 
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-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org


DO NOT REPLY [Bug 49016] naming-common.jar not compatible with Tomcat 5.5.28

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=49016

--- Comment #2 from Terry Dixon <td...@tnsi.com> 2010-04-01 18:43:52 UTC ---
Further research of this issue shows that it was the re-jarring step that
acutally solved the issue.  That is to say that in was not necessary to
re-compile the actual class objects within the naming-common.jar file, only to
un-jar and re-jar the jar file using Ant1.6.5., this was the only step needed
to have the naming-common.jar file successfully run during the classloading
step of the tomcat5.5 startup, running under Red Hat Linux EL5, IBM's Java5 and
Ant1.6.5. Still hoping for a offically updated version of the naming-common.jar
file from catalina/apache/tomcat community.

-- 
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-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org