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/09/01 13:23:11 UTC

DO NOT REPLY [Bug 49857] New: the bootstrap.jar's manifest.mf file need tomcat-juli.jar item for command line start

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

           Summary: the bootstrap.jar's manifest.mf file need
                    tomcat-juli.jar item for command line start
           Product: Tomcat 7
           Version: unspecified
          Platform: PC
        OS/Version: Windows XP
            Status: NEW
          Severity: critical
          Priority: P2
         Component: Servlet & JSP API
        AssignedTo: dev@tomcat.apache.org
        ReportedBy: ye_yanzhao@foxmail.com


there is no tomcat-juli.jar item in the class-path line of the manifest.mf file
of bootstrap.jar file. and i can not start the tomcat with command line 
java -jar bootstrap.jar -cp ./tomcat-juli.jar 
and has the error like below:
Exception in thread "main" java.lang.NoClassDefFoundError:
org/apache/juli/loggi
ng/LogFactory
        at org.apache.catalina.startup.Bootstrap.<clinit>(Bootstrap.java:55)
Caused by: java.lang.ClassNotFoundException: org.apache.juli.logging.LogFactory
        at java.net.URLClassLoader$1.run(Unknown Source)
        at java.security.AccessController.doPrivileged(Native Method)
        at java.net.URLClassLoader.findClass(Unknown Source)
        at java.lang.ClassLoader.loadClass(Unknown Source)
        at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
        at java.lang.ClassLoader.loadClass(Unknown Source)
        ... 1 more
Could not find the main class: org.apache.catalina.startup.Bootstrap. Program
wi
ll exit.

I report this error and want to know why cann't it start while I give the -cp
argument.

-- 
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 49857] the bootstrap.jar's manifest.mf file need tomcat-juli.jar item for command line start

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

yyz <ye...@foxmail.com> changed:

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

-- 
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 49857] the bootstrap.jar's manifest.mf file need tomcat-juli.jar item for command line start

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

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

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

-- 
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 49857] the bootstrap.jar's manifest.mf file need tomcat-juli.jar item for command line start

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

Konstantin Kolinko <kn...@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |WONTFIX
           Severity|critical                    |minor

--- Comment #1 from Konstantin Kolinko <kn...@gmail.com> 2010-09-01 08:32:43 EDT ---
Re: the bootstrap.jar's manifest.mf file need tomcat-juli.jar item for command
line start

That was a deliberate change, and it WONT be fixed. For reference:
http://markmail.org/message/meon7xii26lq5elc



Re: java -jar bootstrap.jar -cp ./tomcat-juli.jar

AFAIK, you cannot combine "-jar" and "-cp" when running Oracle's java launcher.
See JDK docs for details.

-- 
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 49857] the bootstrap.jar's manifest.mf file need tomcat-juli.jar item for command line start

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

--- Comment #2 from yyz <ye...@foxmail.com> 2010-09-01 23:35:17 EDT ---
thx for your reply,but the address cannot be access for me. can you give some
other material? thx a lot!
(In reply to comment #1)
> Re: the bootstrap.jar's manifest.mf file need tomcat-juli.jar item for command
> line start
> That was a deliberate change, and it WONT be fixed. For reference:
> http://markmail.org/message/meon7xii26lq5elc
> Re: java -jar bootstrap.jar -cp ./tomcat-juli.jar
> AFAIK, you cannot combine "-jar" and "-cp" when running Oracle's java launcher.
> See JDK docs for details.

-- 
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 49857] the bootstrap.jar's manifest.mf file need tomcat-juli.jar item for command line start

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

Konstantin Kolinko <kn...@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |antonio@compleasy.com

--- Comment #3 from Konstantin Kolinko <kn...@gmail.com> 2010-10-27 17:45:02 EDT ---
*** Bug 50165 has been marked as a duplicate of this bug. ***

-- 
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