Fix the signer issue, now the tomcat patch jar should be signed during the
build. I tested it locally, build team please confirm.

On Thu, Oct 6, 2011 at 10:31 AM, Afkham Azeez <az...@wso2.com> wrote:

>
>
> On Thu, Oct 6, 2011 at 10:28 AM, Dimuthu Leelarathne <dimut...@wso2.com>wrote:
>
>>
>>
>> On Thu, Oct 6, 2011 at 10:23 AM, Afkham Azeez <az...@wso2.com> wrote:
>>
>>> Hmm.... people have been asking this question many times. If the standard
>>> Tomcat jars have been signed with two keys, the patch jar also should be
>>> signed with the same two keys. If it is signed only with one of the keys,
>>> you could see this error.
>>>
>>
>> We need to fix this problem for the current build. Before copying the
>> patch we have to sign it.
>>
>
>
> Supun,
> Please fix this ASAP.
>
>>
>> tx,
>> dimuthu
>>
>>
>>
>>
>>>
>>> On Thu, Oct 6, 2011 at 10:18 AM, Dimuthu Leelarathne 
>>> <dimut...@wso2.com>wrote:
>>>
>>>>  Hi,
>>>>
>>>> The appserver pack is corrupted. I get error after error for this. This
>>>> is the first error [1] I tried signing the org.wso2.carbon.tomcat-3.2.0.jar
>>>> with the keystore inside the pack but then i run into a completely 
>>>> different
>>>> error.
>>>>
>>>> Shall we pack AppServer Serivce again and see?
>>>>
>>>> thanks,
>>>> dimuthul
>>>>
>>>> [1]
>>>> java.lang.SecurityException: class "org.apache.coyote.RequestInfo"'s
>>>> signer information does not match signer information of other classes in 
>>>> the
>>>> same package
>>>>  at java.lang.ClassLoader.checkCerts(ClassLoader.java:807)
>>>> at java.lang.ClassLoader.preDefineClass(ClassLoader.java:488)
>>>>  at java.lang.ClassLoader.defineClassCond(ClassLoader.java:626)
>>>> at java.lang.ClassLoader.defineClass(ClassLoader.java:616)
>>>>  at
>>>> java.security.SecureClassLoader.defineClass(SecureClassLoader.java:141)
>>>> at java.net.URLClassLoader.defineClass(URLClassLoader.java:283)
>>>>  at java.net.URLClassLoader.access$000(URLClassLoader.java:58)
>>>> at java.net.URLClassLoader$1.run(URLClassLoader.java:197)
>>>>  at java.security.AccessController.doPrivileged(Native Method)
>>>> at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
>>>>  at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
>>>> at java.lang.ClassLoader.loadClass(ClassLoader.java:248)
>>>>  at java.lang.Class.getDeclaredMethods0(Native Method)
>>>> at java.lang.Class.privateGetDeclaredMethods(Class.java:2427)
>>>>  at java.lang.Class.privateGetPublicMethods(Class.java:2547)
>>>> at java.lang.Class.getMethods(Class.java:1410)
>>>>  at
>>>> org.apache.tomcat.util.modeler.modules.MbeansDescriptorsIntrospectionSource.createManagedBean(MbeansDescriptorsIntrospectionSource.java:307)
>>>>  at
>>>> org.apache.tomcat.util.modeler.modules.MbeansDescriptorsIntrospectionSource.execute(MbeansDescriptorsIntrospectionSource.java:83)
>>>> at
>>>> org.apache.tomcat.util.modeler.modules.MbeansDescriptorsIntrospectionSource.loadDescriptors(MbeansDescriptorsIntrospectionSource.java:76)
>>>>  at org.apache.tomcat.util.modeler.Registry.load(Registry.java:696)
>>>> at
>>>> org.apache.tomcat.util.modeler.Registry.loadDescriptors(Registry.java:807)
>>>>  at
>>>> org.apache.tomcat.util.modeler.Registry.findManagedBean(Registry.java:595)
>>>> at
>>>> org.apache.tomcat.util.modeler.Registry.findManagedBean(Registry.java:885)
>>>>  at
>>>> org.apache.tomcat.util.modeler.Registry.registerComponent(Registry.java:737)
>>>> at
>>>> org.apache.coyote.AbstractProtocolHandler.init(AbstractProtocolHandler.java:348)
>>>>  at
>>>> org.apache.coyote.http11.AbstractHttp11JsseProtocol.init(AbstractHttp11JsseProtocol.java:119)
>>>> at
>>>> org.apache.catalina.connector.Connector.initInternal(Connector.java:910)
>>>>  at org.apache.catalina.util.LifecycleBase.init(LifecycleBase.java:101)
>>>> at
>>>> org.apache.catalina.core.StandardService.initInternal(StandardService.java:559)
>>>>  at org.apache.catalina.util.LifecycleBase.init(LifecycleBase.java:101)
>>>> at
>>>> org.apache.catalina.core.StandardServer.initInternal(StandardServer.java:781)
>>>>  at org.apache.catalina.util.LifecycleBase.init(LifecycleBase.java:101)
>>>> at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:136)
>>>>  at org.apache.catalina.startup.Tomcat.start(Tomcat.java:305)
>>>> at org.wso2.carbon.tomcat.BetterTomcat.start(BetterTomcat.java:68)
>>>>  at org.wso2.carbon.server.TomcatServer.start(TomcatServer.java:114)
>>>> at org.wso2.carbon.server.Main.startServer(Main.java:74)
>>>>  at org.wso2.carbon.server.Main.start(Main.java:192)
>>>> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>>>>  at
>>>> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
>>>> at
>>>> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>>>>  at java.lang.reflect.Method.invoke(Method.java:597)
>>>> at org.wso2.carbon.bootstrap.Bootstrap.loadClass(Bootstrap.java:62)
>>>>  at org.wso2.carbon.bootstrap.Bootstrap.main(Bootstrap.java:43)
>>>> [2011-10-06 09:54:22,478]  WARN
>>>> {org.apache.tomcat.util.modeler.Registry} -  No metadata found for
>>>> org.apache.coyote.RequestGroupInfo
>>>> [2011-10-06 09:54:22,479] ERROR
>>>> {org.apache.tomcat.util.modeler.Registry} -  Error registering
>>>> Tomcat:type=GlobalRequestProcessor,name="http-nio-9766"
>>>> java.lang.NullPointerException
>>>> at
>>>> org.apache.tomcat.util.modeler.Registry.registerComponent(Registry.java:740)
>>>>  at
>>>> org.apache.coyote.AbstractProtocolHandler.init(AbstractProtocolHandler.java:348)
>>>> at
>>>> org.apache.coyote.http11.AbstractHttp11JsseProtocol.init(AbstractHttp11JsseProtocol.java:119)
>>>>  at
>>>> org.apache.catalina.connector.Connector.initInternal(Connector.java:910)
>>>> at org.apache.catalina.util.LifecycleBase.init(LifecycleBase.java:101)
>>>>  at
>>>> org.apache.catalina.core.StandardService.initInternal(StandardService.java:559)
>>>> at org.apache.catalina.util.LifecycleBase.init(LifecycleBase.java:101)
>>>>  at
>>>> org.apache.catalina.core.StandardServer.initInternal(StandardServer.java:781)
>>>> at org.apache.catalina.util.LifecycleBase.init(LifecycleBase.java:101)
>>>>  at
>>>> org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:136)
>>>> at org.apache.catalina.startup.Tomcat.start(Tomcat.java:305)
>>>>  at org.wso2.carbon.tomcat.BetterTomcat.start(BetterTomcat.java:68)
>>>> at org.wso2.carbon.server.TomcatServer.start(TomcatServer.java:114)
>>>>  at org.wso2.carbon.server.Main.startServer(Main.java:74)
>>>> at org.wso2.carbon.server.Main.start(Main.java:192)
>>>>  at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>>>> at
>>>> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
>>>>  at
>>>> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>>>> at java.lang.reflect.Method.invoke(Method.java:597)
>>>>  at org.wso2.carbon.bootstrap.Bootstrap.loadClass(Bootstrap.java:62)
>>>> at org.wso2.carbon.bootstrap.Bootstrap.main(Bootstrap.java:43)
>>>> [2011-10-06 09:54:22,493] ERROR
>>>> {org.apache.catalina.core.StandardService} -  Failed to initialize 
>>>> connector
>>>> [Connector[org.apache.coyote.http11.Http11NioProtocol-9766]]
>>>> org.apache.catalina.LifecycleException: Protocol handler initialization
>>>> failed
>>>>  at
>>>> org.apache.catalina.connector.Connector.initInternal(Connector.java:912)
>>>> at org.apache.catalina.util.LifecycleBase.init(LifecycleBase.java:101)
>>>>  at
>>>> org.apache.catalina.core.StandardService.initInternal(StandardService.java:559)
>>>> at org.apache.catalina.util.LifecycleBase.init(LifecycleBase.java:101)
>>>>  at
>>>> org.apache.catalina.core.StandardServer.initInternal(StandardServer.java:781)
>>>> at org.apache.catalina.util.LifecycleBase.init(LifecycleBase.java:101)
>>>>  at
>>>> org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:136)
>>>> at org.apache.catalina.startup.Tomcat.start(Tomcat.java:305)
>>>>  at org.wso2.carbon.tomcat.BetterTomcat.start(BetterTomcat.java:68)
>>>> at org.wso2.carbon.server.TomcatServer.start(TomcatServer.java:114)
>>>>  at org.wso2.carbon.server.Main.startServer(Main.java:74)
>>>> at org.wso2.carbon.server.Main.start(Main.java:192)
>>>>  at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>>>> at
>>>> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
>>>>  at
>>>> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>>>> at java.lang.reflect.Method.invoke(Method.java:597)
>>>>  at org.wso2.carbon.bootstrap.Bootstrap.loadClass(Bootstrap.java:62)
>>>> at org.wso2.carbon.bootstrap.Bootstrap.main(Bootstrap.java:43)
>>>> Caused by: java.lang.NullPointerException
>>>> at
>>>> org.apache.tomcat.util.modeler.Registry.registerComponent(Registry.java:740)
>>>> at
>>>> org.apache.coyote.AbstractProtocolHandler.init(AbstractProtocolHandler.java:348)
>>>>  at
>>>> org.apache.coyote.http11.AbstractHttp11JsseProtocol.init(AbstractHttp11JsseProtocol.java:119)
>>>> at
>>>> org.apache.catalina.connector.Connector.initInternal(Connector.java:910)
>>>>  ... 17 more
>>>>
>>>>
>>>> On Thu, Sep 29, 2011 at 5:54 PM, Prabath Siriwardena 
>>>> <prab...@wso2.com>wrote:
>>>>
>>>>> Hi Sanjaya,
>>>>>
>>>>> Can you please do the $subject...
>>>>>
>>>>> Thanks & regards,
>>>>> -Prabath
>>>>>
>>>>> ---------- Forwarded message ----------
>>>>> From: Ranga Siriwardena <ra...@wso2.com>
>>>>> Date: Thu, Sep 29, 2011 at 4:34 PM
>>>>> Subject: Re: [Carbon-dev] Code frozen for Carbon 3.2.2 release
>>>>> To: support-dev-group <support-dev-gr...@wso2.com>
>>>>> Cc: Charitha Kankanamge <chari...@wso2.com>, Prabath Siriwardana <
>>>>> prab...@wso2.com>
>>>>>
>>>>>
>>>>> Hi,
>>>>>
>>>>> All the packs which were build with tests are hosted in [1].
>>>>>
>>>>> [1]
>>>>> http://192.168.0.21/~build/releases/carbon/3.2.2/2011-09-29_16-17-51/
>>>>>
>>>>>
>>>>>
>>>>>
>>>>> _______________________________________________
>>>>> Stratos-dev mailing list
>>>>> stratos-...@wso2.org
>>>>> https://wso2.org/cgi-bin/mailman/listinfo/stratos-dev
>>>>>
>>>>>
>>>>
>>>> _______________________________________________
>>>> Carbon-dev mailing list
>>>> Carbon-dev@wso2.org
>>>> http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
>>>>
>>>>
>>>
>>>
>>> --
>>> *Afkham Azeez*
>>> Director of Architecture; WSO2, Inc.; http://wso2.com
>>> Member; Apache Software Foundation; http://www.apache.org/
>>> * <http://www.apache.org/>**
>>> email: **az...@wso2.com* <az...@wso2.com>* cell: +94 77 3320919
>>> blog: **http://blog.afkham.org* <http://blog.afkham.org>*
>>> twitter: **http://twitter.com/afkham_azeez*<http://twitter.com/afkham_azeez>
>>> *
>>> linked-in: **http://lk.linkedin.com/in/afkhamazeez*
>>>
>>> *
>>> *
>>> *Lean . Enterprise . Middleware*
>>>
>>>
>>> _______________________________________________
>>> Carbon-dev mailing list
>>> Carbon-dev@wso2.org
>>> http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
>>>
>>>
>>
>> _______________________________________________
>> Carbon-dev mailing list
>> Carbon-dev@wso2.org
>> http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
>>
>>
>
>
> --
> *Afkham Azeez*
> Director of Architecture; WSO2, Inc.; http://wso2.com
> Member; Apache Software Foundation; http://www.apache.org/
> * <http://www.apache.org/>**
> email: **az...@wso2.com* <az...@wso2.com>* cell: +94 77 3320919
> blog: **http://blog.afkham.org* <http://blog.afkham.org>*
> twitter: **http://twitter.com/afkham_azeez*<http://twitter.com/afkham_azeez>
> *
> linked-in: **http://lk.linkedin.com/in/afkhamazeez*
> *
> *
> *Lean . Enterprise . Middleware*
>
>
> _______________________________________________
> Carbon-dev mailing list
> Carbon-dev@wso2.org
> http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
>
>


-- 
Thanks,
Shariq.
_______________________________________________
Carbon-dev mailing list
Carbon-dev@wso2.org
http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev

Reply via email to