[Dev] Getting javax.activation from the JDK

2012-04-04 Thread Isuru Suriarachchi
Hi all,

Currently we get the javax.activation package from the following artifact
and it comes through axiom.


javax.activation
activation


But with the CXF integration, I found that this implementation of
javax.activation doesn't work for CXF and it only works with the API and
the implementation provided by the JDK. So I removed the javax.activation
export from axiom and took it from the JDK. And also I tested Axis2 MTOM
support after this change and it worked fine.

I'm going to commit this change and if you find any issue which is caused
by this change, please let me know. Basically if some bundle is in
INSTALLED state and when you try to start it if you see the following
error, please let me know..

osgi> start 156
org.osgi.framework.BundleException: The bundle
"org.wso2.carbon.dataservices.fileupload.stub_4.0.0.SNAPSHOT [156]" could
not be resolved. Reason: Missing Constraint: Import-Package:
javax.activation; version="[1.1.0,2.0.0)"
 at
org.eclipse.osgi.framework.internal.core.AbstractBundle.getResolverError(AbstractBundle.java:1327)
at
org.eclipse.osgi.framework.internal.core.AbstractBundle.getResolutionFailureException(AbstractBundle.java:1311)
 at
org.eclipse.osgi.framework.internal.core.BundleHost.startWorker(BundleHost.java:323)

You can get this fixed by adding the following config into the particular
bundle..


javax.activation.*;version="[0.0.0, 1.0.0)"


I fixed all such bundles I found. But there can be more..

Thanks,
~Isuru

-- 
Isuru Suriarachchi
Technical Lead
WSO2 Inc. http://wso2.com
email : is...@wso2.com
blog : http://isurues.wordpress.com/

lean . enterprise . middleware
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Getting javax.activation from the JDK

2012-04-04 Thread Afkham Azeez
This WILL break a lot of stuff. Please don't commit this at this stage. Can
you please delay this commit and run a full platform build first?

Thanks
Azeez

On Wed, Apr 4, 2012 at 8:36 PM, Isuru Suriarachchi  wrote:

> Hi all,
>
> Currently we get the javax.activation package from the following artifact
> and it comes through axiom.
>
> 
> javax.activation
> activation
> 
>
> But with the CXF integration, I found that this implementation of
> javax.activation doesn't work for CXF and it only works with the API and
> the implementation provided by the JDK. So I removed the javax.activation
> export from axiom and took it from the JDK. And also I tested Axis2 MTOM
> support after this change and it worked fine.
>
> I'm going to commit this change and if you find any issue which is caused
> by this change, please let me know. Basically if some bundle is in
> INSTALLED state and when you try to start it if you see the following
> error, please let me know..
>
> osgi> start 156
> org.osgi.framework.BundleException: The bundle
> "org.wso2.carbon.dataservices.fileupload.stub_4.0.0.SNAPSHOT [156]" could
> not be resolved. Reason: Missing Constraint: Import-Package:
> javax.activation; version="[1.1.0,2.0.0)"
>  at
> org.eclipse.osgi.framework.internal.core.AbstractBundle.getResolverError(AbstractBundle.java:1327)
> at
> org.eclipse.osgi.framework.internal.core.AbstractBundle.getResolutionFailureException(AbstractBundle.java:1311)
>  at
> org.eclipse.osgi.framework.internal.core.BundleHost.startWorker(BundleHost.java:323)
>
> You can get this fixed by adding the following config into the particular
> bundle..
>
> 
> javax.activation.*;version="[0.0.0, 1.0.0)"
> 
>
> I fixed all such bundles I found. But there can be more..
>
> Thanks,
> ~Isuru
>
> --
> Isuru Suriarachchi
> Technical Lead
> WSO2 Inc. http://wso2.com
> email : is...@wso2.com
> blog : http://isurues.wordpress.com/
>
> lean . enterprise . middleware
>
>
> ___
> Dev mailing list
> Dev@wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>


-- 
*Afkham Azeez*
Director of Architecture; WSO2, Inc.; http://wso2.com
Member; Apache Software Foundation; http://www.apache.org/
* **
email: **az...@wso2.com* * cell: +94 77 3320919
blog: **http://blog.afkham.org* *
twitter: **http://twitter.com/afkham_azeez*
*
linked-in: **http://lk.linkedin.com/in/afkhamazeez*
*
*
*Lean . Enterprise . Middleware*
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Getting javax.activation from the JDK

2012-04-04 Thread Isuru Suriarachchi
On Wed, Apr 4, 2012 at 9:50 PM, Afkham Azeez  wrote:

> This WILL break a lot of stuff. Please don't commit this at this stage.
> Can you please delay this commit and run a full platform build first?


No I fixed all breaks. I've already ran a full build up to AS without any
issue. Even if we find issues related to this, it will be very easy to fix.
So I think this won't cause any problems. WDYT??

Thanks,
~Isuru


>
> Thanks
> Azeez
>
> On Wed, Apr 4, 2012 at 8:36 PM, Isuru Suriarachchi  wrote:
>
>> Hi all,
>>
>> Currently we get the javax.activation package from the following artifact
>> and it comes through axiom.
>>
>> 
>> javax.activation
>> activation
>> 
>>
>> But with the CXF integration, I found that this implementation of
>> javax.activation doesn't work for CXF and it only works with the API and
>> the implementation provided by the JDK. So I removed the javax.activation
>> export from axiom and took it from the JDK. And also I tested Axis2 MTOM
>> support after this change and it worked fine.
>>
>> I'm going to commit this change and if you find any issue which is caused
>> by this change, please let me know. Basically if some bundle is in
>> INSTALLED state and when you try to start it if you see the following
>> error, please let me know..
>>
>> osgi> start 156
>> org.osgi.framework.BundleException: The bundle
>> "org.wso2.carbon.dataservices.fileupload.stub_4.0.0.SNAPSHOT [156]" could
>> not be resolved. Reason: Missing Constraint: Import-Package:
>> javax.activation; version="[1.1.0,2.0.0)"
>>  at
>> org.eclipse.osgi.framework.internal.core.AbstractBundle.getResolverError(AbstractBundle.java:1327)
>> at
>> org.eclipse.osgi.framework.internal.core.AbstractBundle.getResolutionFailureException(AbstractBundle.java:1311)
>>  at
>> org.eclipse.osgi.framework.internal.core.BundleHost.startWorker(BundleHost.java:323)
>>
>> You can get this fixed by adding the following config into the particular
>> bundle..
>>
>> 
>> javax.activation.*;version="[0.0.0, 1.0.0)"
>> 
>>
>> I fixed all such bundles I found. But there can be more..
>>
>> Thanks,
>> ~Isuru
>>
>> --
>> Isuru Suriarachchi
>> Technical Lead
>> WSO2 Inc. http://wso2.com
>> email : is...@wso2.com
>> blog : http://isurues.wordpress.com/
>>
>> lean . enterprise . middleware
>>
>>
>> ___
>> Dev mailing list
>> Dev@wso2.org
>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>
>>
>
>
> --
> *Afkham Azeez*
> Director of Architecture; WSO2, Inc.; http://wso2.com
> Member; Apache Software Foundation; http://www.apache.org/
> * **
> email: **az...@wso2.com* * cell: +94 77 3320919
> blog: **http://blog.afkham.org* *
> twitter: **http://twitter.com/afkham_azeez*
> *
> linked-in: **http://lk.linkedin.com/in/afkhamazeez*
> *
> *
> *Lean . Enterprise . Middleware*
>
>


-- 
Isuru Suriarachchi
Technical Lead
WSO2 Inc. http://wso2.com
email : is...@wso2.com
blog : http://isurues.wordpress.com/

lean . enterprise . middleware
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Getting javax.activation from the JDK

2012-04-04 Thread Afkham Azeez
Please run all product builds with integration tests. We have just one more
day before the break

--
Afkham Azeez
Sent from my phone
On Apr 4, 2012 10:39 PM, "Isuru Suriarachchi"  wrote:

>
>
> On Wed, Apr 4, 2012 at 9:50 PM, Afkham Azeez  wrote:
>
>> This WILL break a lot of stuff. Please don't commit this at this stage.
>> Can you please delay this commit and run a full platform build first?
>
>
> No I fixed all breaks. I've already ran a full build up to AS without any
> issue. Even if we find issues related to this, it will be very easy to fix.
> So I think this won't cause any problems. WDYT??
>
> Thanks,
> ~Isuru
>
>
>>
>> Thanks
>> Azeez
>>
>> On Wed, Apr 4, 2012 at 8:36 PM, Isuru Suriarachchi wrote:
>>
>>> Hi all,
>>>
>>> Currently we get the javax.activation package from the following
>>> artifact and it comes through axiom.
>>>
>>> 
>>> javax.activation
>>> activation
>>> 
>>>
>>> But with the CXF integration, I found that this implementation of
>>> javax.activation doesn't work for CXF and it only works with the API and
>>> the implementation provided by the JDK. So I removed the javax.activation
>>> export from axiom and took it from the JDK. And also I tested Axis2 MTOM
>>> support after this change and it worked fine.
>>>
>>> I'm going to commit this change and if you find any issue which is
>>> caused by this change, please let me know. Basically if some bundle is in
>>> INSTALLED state and when you try to start it if you see the following
>>> error, please let me know..
>>>
>>> osgi> start 156
>>> org.osgi.framework.BundleException: The bundle
>>> "org.wso2.carbon.dataservices.fileupload.stub_4.0.0.SNAPSHOT [156]" could
>>> not be resolved. Reason: Missing Constraint: Import-Package:
>>> javax.activation; version="[1.1.0,2.0.0)"
>>>  at
>>> org.eclipse.osgi.framework.internal.core.AbstractBundle.getResolverError(AbstractBundle.java:1327)
>>> at
>>> org.eclipse.osgi.framework.internal.core.AbstractBundle.getResolutionFailureException(AbstractBundle.java:1311)
>>>  at
>>> org.eclipse.osgi.framework.internal.core.BundleHost.startWorker(BundleHost.java:323)
>>>
>>> You can get this fixed by adding the following config into the
>>> particular bundle..
>>>
>>> 
>>> javax.activation.*;version="[0.0.0, 1.0.0)"
>>> 
>>>
>>> I fixed all such bundles I found. But there can be more..
>>>
>>> Thanks,
>>> ~Isuru
>>>
>>> --
>>> Isuru Suriarachchi
>>> Technical Lead
>>> WSO2 Inc. http://wso2.com
>>> email : is...@wso2.com
>>> blog : http://isurues.wordpress.com/
>>>
>>> lean . enterprise . middleware
>>>
>>>
>>> ___
>>> Dev mailing list
>>> Dev@wso2.org
>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>
>>>
>>
>>
>> --
>> *Afkham Azeez*
>> Director of Architecture; WSO2, Inc.; http://wso2.com
>> Member; Apache Software Foundation; http://www.apache.org/
>> * **
>> email: **az...@wso2.com* * cell: +94 77 3320919
>> blog: **http://blog.afkham.org* *
>> twitter: **http://twitter.com/afkham_azeez*
>> *
>> linked-in: **http://lk.linkedin.com/in/afkhamazeez*
>> *
>> *
>> *Lean . Enterprise . Middleware*
>>
>>
>
>
> --
> Isuru Suriarachchi
> Technical Lead
> WSO2 Inc. http://wso2.com
> email : is...@wso2.com
> blog : http://isurues.wordpress.com/
>
> lean . enterprise . middleware
>
>
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Getting javax.activation from the JDK

2012-04-04 Thread Sameera Jayasoma
HI Azeez,

We had an offline discussion on this. This is the best solution for the
problem that Isuru is facing. We should have done the same thing for the
javax.xml.soap packages.

Thanks,
Sameera.

On Thu, Apr 5, 2012 at 12:12 AM, Afkham Azeez  wrote:

> Please run all product builds with integration tests. We have just one
> more day before the break
>
> --
> Afkham Azeez
> Sent from my phone
> On Apr 4, 2012 10:39 PM, "Isuru Suriarachchi"  wrote:
>
>>
>>
>> On Wed, Apr 4, 2012 at 9:50 PM, Afkham Azeez  wrote:
>>
>>> This WILL break a lot of stuff. Please don't commit this at this stage.
>>> Can you please delay this commit and run a full platform build first?
>>
>>
>> No I fixed all breaks. I've already ran a full build up to AS without any
>> issue. Even if we find issues related to this, it will be very easy to fix.
>> So I think this won't cause any problems. WDYT??
>>
>> Thanks,
>> ~Isuru
>>
>>
>>>
>>> Thanks
>>> Azeez
>>>
>>> On Wed, Apr 4, 2012 at 8:36 PM, Isuru Suriarachchi wrote:
>>>
 Hi all,

 Currently we get the javax.activation package from the following
 artifact and it comes through axiom.

 
 javax.activation
 activation
 

 But with the CXF integration, I found that this implementation of
 javax.activation doesn't work for CXF and it only works with the API and
 the implementation provided by the JDK. So I removed the javax.activation
 export from axiom and took it from the JDK. And also I tested Axis2 MTOM
 support after this change and it worked fine.

 I'm going to commit this change and if you find any issue which is
 caused by this change, please let me know. Basically if some bundle is in
 INSTALLED state and when you try to start it if you see the following
 error, please let me know..

 osgi> start 156
 org.osgi.framework.BundleException: The bundle
 "org.wso2.carbon.dataservices.fileupload.stub_4.0.0.SNAPSHOT [156]" could
 not be resolved. Reason: Missing Constraint: Import-Package:
 javax.activation; version="[1.1.0,2.0.0)"
  at
 org.eclipse.osgi.framework.internal.core.AbstractBundle.getResolverError(AbstractBundle.java:1327)
 at
 org.eclipse.osgi.framework.internal.core.AbstractBundle.getResolutionFailureException(AbstractBundle.java:1311)
  at
 org.eclipse.osgi.framework.internal.core.BundleHost.startWorker(BundleHost.java:323)

 You can get this fixed by adding the following config into the
 particular bundle..

 
 javax.activation.*;version="[0.0.0, 1.0.0)"
 

 I fixed all such bundles I found. But there can be more..

 Thanks,
 ~Isuru

 --
 Isuru Suriarachchi
 Technical Lead
 WSO2 Inc. http://wso2.com
 email : is...@wso2.com
 blog : http://isurues.wordpress.com/

 lean . enterprise . middleware


 ___
 Dev mailing list
 Dev@wso2.org
 http://wso2.org/cgi-bin/mailman/listinfo/dev


>>>
>>>
>>> --
>>> *Afkham Azeez*
>>> Director of Architecture; WSO2, Inc.; http://wso2.com
>>> Member; Apache Software Foundation; http://www.apache.org/
>>> * **
>>> email: **az...@wso2.com* * cell: +94 77 3320919
>>> blog: **http://blog.afkham.org* *
>>> twitter: **http://twitter.com/afkham_azeez*
>>> *
>>> linked-in: **http://lk.linkedin.com/in/afkhamazeez*
>>> *
>>> *
>>> *Lean . Enterprise . Middleware*
>>>
>>>
>>
>>
>> --
>> Isuru Suriarachchi
>> Technical Lead
>> WSO2 Inc. http://wso2.com
>> email : is...@wso2.com
>> blog : http://isurues.wordpress.com/
>>
>> lean . enterprise . middleware
>>
>>
> ___
> Dev mailing list
> Dev@wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>


-- 
Sameera Jayasoma
Technical Lead and Product Manager, WSO2 Carbon

WSO2, Inc. (http://wso2.com)
email: same...@wso2.com
blog: http://tech.jayasoma.org

Lean . Enterprise . Middleware
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Getting javax.activation from the JDK

2012-04-05 Thread Isuru Suriarachchi
Ran all product builds with my changes. All products passes with tests
expect BPS in which I found the following error. Not sure whether this is
related to this change or not. Anyone from BPS team has an idea?

Thanks,
~Isuru

[2012-04-05 14:56:06,253]  INFO
{org.wso2.carbon.integration.framework.utils.InputStreamHandler} -
 [2012-04-05 14:56:06,253]  INFO - CarbonAuthenticationUtil - 'admin'
logged in at [2012-04-05 14:56:06,0253] from IP address 10.100.3.147
[2012-04-05 14:56:06,260]  INFO
{org.wso2.carbon.integration.framework.LoginLogoutUtil} -  Successfully
logged in : JSESSIONID=129BA841FE34D07B74FCD21DEBEB28DC; Path=/;
Secure=null; HttpOnly=null
[2012-04-05 14:56:06,277]  INFO
{org.apache.axis2.deployment.ModuleDeployer} -  Deploying module: rampart -
file:/home/isuru/.m2/repository/org/apache/rampart/wso2/rampart-core/1.6.1.wso2v4/rampart-core-1.6.1.wso2v4.jar
[2012-04-05 14:56:06,277]  INFO
{org.apache.axis2.deployment.ModuleDeployer} -  Deploying module: rampart -
file:/home/isuru/.m2/repository/org/apache/rampart/wso2/rampart-core/1.6.1.wso2v4/rampart-core-1.6.1.wso2v4.jar
[2012-04-05 14:56:06,281]  INFO
{org.apache.axis2.deployment.ModuleDeployer} -  Deploying module: rahas -
file:/home/isuru/.m2/repository/org/apache/rampart/wso2/rampart-trust/1.6.1.wso2v4/rampart-trust-1.6.1.wso2v4.jar
[2012-04-05 14:56:06,281]  INFO
{org.apache.axis2.deployment.ModuleDeployer} -  Deploying module: rahas -
file:/home/isuru/.m2/repository/org/apache/rampart/wso2/rampart-trust/1.6.1.wso2v4/rampart-trust-1.6.1.wso2v4.jar
[2012-04-05 14:56:07,318]  INFO
{org.wso2.carbon.integration.framework.utils.InputStreamHandler} -
 [2012-04-05 14:56:07,318]  INFO - CarbonServerManager - Gracefully
shutting down WSO2 BPS...
[2012-04-05 14:56:07,321]  INFO
{org.wso2.carbon.integration.framework.utils.InputStreamHandler} -
 [2012-04-05 14:56:07,321]  INFO - ServerManagement - Starting to switch to
maintenance mode...
[2012-04-05 14:56:09,632]  INFO
{org.wso2.carbon.integration.framework.utils.InputStreamHandler} -
 [2012-04-05 14:56:09,632]  INFO - ServerManagement - Stopped all transport
listeners
[2012-04-05 14:56:09,632]  INFO
{org.wso2.carbon.integration.framework.utils.InputStreamHandler} -
 [2012-04-05 14:56:09,632]  INFO - ServerManagement - Waiting for request
service completion...
[2012-04-05 14:56:09,634]  INFO
{org.wso2.carbon.integration.framework.utils.InputStreamHandler} -
 [2012-04-05 14:56:09,634]  INFO - ServerManagement - All requests have
been served.
[2012-04-05 14:56:09,634]  INFO
{org.wso2.carbon.integration.framework.utils.InputStreamHandler} -
 [2012-04-05 14:56:09,634]  INFO - ServerManagement - Waiting for
deployment completion...
[2012-04-05 14:56:09,635]  INFO
{org.wso2.carbon.integration.framework.utils.InputStreamHandler} -
 [2012-04-05 14:56:09,635]  INFO - ServerManagement - All deployment tasks
have been completed.
[2012-04-05 14:56:09,635]  INFO
{org.wso2.carbon.integration.framework.utils.InputStreamHandler} -
 [2012-04-05 14:56:09,635]  INFO - CarbonServerManager - Shutting down WSO2
BPS...
[2012-04-05 14:56:09,637]  INFO
{org.wso2.carbon.integration.framework.utils.InputStreamHandler} -
 [2012-04-05 14:56:09,637]  WARN - HttpConnection - HttpConnectionManager
is null.  Connection cannot be released.
[2012-04-05 14:56:09,637]  INFO
{org.wso2.carbon.integration.framework.utils.InputStreamHandler} -
 [2012-04-05 14:56:09,637]  INFO - TCPTransportSender - TCP Sender Shutdown
[2012-04-05 14:56:09,638]  INFO
{org.wso2.carbon.integration.framework.utils.InputStreamHandler} -
 [2012-04-05 14:56:09,638]  INFO - CarbonServerManager - Shutting down OSGi
framework...
[2012-04-05 14:56:09,638]  INFO
{org.wso2.carbon.integration.framework.utils.InputStreamHandler} -
 [2012-04-05 14:56:09,638]  INFO - CarbonServerManager - Shutdown complete
[2012-04-05 14:56:09,638]  INFO
{org.wso2.carbon.integration.framework.utils.InputStreamHandler} -
 [2012-04-05 14:56:09,638]  INFO - CarbonServerManager - Halting JVM
[2012-04-05 14:56:09,638]  INFO
{org.wso2.carbon.integration.framework.utils.ServerUtils} -  Server stopped
successfully...
Problem reading the inputStream
java.io.IOException: Stream closed
at java.io.BufferedInputStream.getBufIfOpen(BufferedInputStream.java:145)
at java.io.BufferedInputStream.read1(BufferedInputStream.java:255)
at java.io.BufferedInputStream.read(BufferedInputStream.java:317)
at sun.nio.cs.StreamDecoder.readBytes(StreamDecoder.java:264)
at sun.nio.cs.StreamDecoder.implRead(StreamDecoder.java:306)
at sun.nio.cs.StreamDecoder.read(StreamDecoder.java:158)
at java.io.InputStreamReader.read(InputStreamReader.java:167)
at java.io.BufferedReader.fill(BufferedReader.java:136)
at java.io.BufferedReader.readLine(BufferedReader.java:299)
at java.io.BufferedReader.readLine(BufferedReader.java:362)
at
org.wso2.carbon.integration.framework.utils.InputStreamHandler.run(InputStreamHandler.java:59)
at java.lang.Thread.run(Thread.java:619)
[2012-04-05 14:56:09,953]  INFO
{org.wso2.carbon.integration.fram

Re: [Dev] Getting javax.activation from the JDK

2012-04-05 Thread Waruna Ranasinghe
Please attach the surefire reports.

Thanks,
Waruna

On Thu, Apr 5, 2012 at 10:29 AM, Isuru Suriarachchi  wrote:

> Ran all product builds with my changes. All products passes with tests
> expect BPS in which I found the following error. Not sure whether this is
> related to this change or not. Anyone from BPS team has an idea?
>
> Thanks,
> ~Isuru
>
> [2012-04-05 14:56:06,253]  INFO
> {org.wso2.carbon.integration.framework.utils.InputStreamHandler} -
>  [2012-04-05 14:56:06,253]  INFO - CarbonAuthenticationUtil - 'admin'
> logged in at [2012-04-05 14:56:06,0253] from IP address 10.100.3.147
> [2012-04-05 14:56:06,260]  INFO
> {org.wso2.carbon.integration.framework.LoginLogoutUtil} -  Successfully
> logged in : JSESSIONID=129BA841FE34D07B74FCD21DEBEB28DC; Path=/;
> Secure=null; HttpOnly=null
> [2012-04-05 14:56:06,277]  INFO
> {org.apache.axis2.deployment.ModuleDeployer} -  Deploying module: rampart -
> file:/home/isuru/.m2/repository/org/apache/rampart/wso2/rampart-core/1.6.1.wso2v4/rampart-core-1.6.1.wso2v4.jar
> [2012-04-05 14:56:06,277]  INFO
> {org.apache.axis2.deployment.ModuleDeployer} -  Deploying module: rampart -
> file:/home/isuru/.m2/repository/org/apache/rampart/wso2/rampart-core/1.6.1.wso2v4/rampart-core-1.6.1.wso2v4.jar
> [2012-04-05 14:56:06,281]  INFO
> {org.apache.axis2.deployment.ModuleDeployer} -  Deploying module: rahas -
> file:/home/isuru/.m2/repository/org/apache/rampart/wso2/rampart-trust/1.6.1.wso2v4/rampart-trust-1.6.1.wso2v4.jar
> [2012-04-05 14:56:06,281]  INFO
> {org.apache.axis2.deployment.ModuleDeployer} -  Deploying module: rahas -
> file:/home/isuru/.m2/repository/org/apache/rampart/wso2/rampart-trust/1.6.1.wso2v4/rampart-trust-1.6.1.wso2v4.jar
> [2012-04-05 14:56:07,318]  INFO
> {org.wso2.carbon.integration.framework.utils.InputStreamHandler} -
>  [2012-04-05 14:56:07,318]  INFO - CarbonServerManager - Gracefully
> shutting down WSO2 BPS...
> [2012-04-05 14:56:07,321]  INFO
> {org.wso2.carbon.integration.framework.utils.InputStreamHandler} -
>  [2012-04-05 14:56:07,321]  INFO - ServerManagement - Starting to switch to
> maintenance mode...
> [2012-04-05 14:56:09,632]  INFO
> {org.wso2.carbon.integration.framework.utils.InputStreamHandler} -
>  [2012-04-05 14:56:09,632]  INFO - ServerManagement - Stopped all transport
> listeners
> [2012-04-05 14:56:09,632]  INFO
> {org.wso2.carbon.integration.framework.utils.InputStreamHandler} -
>  [2012-04-05 14:56:09,632]  INFO - ServerManagement - Waiting for request
> service completion...
> [2012-04-05 14:56:09,634]  INFO
> {org.wso2.carbon.integration.framework.utils.InputStreamHandler} -
>  [2012-04-05 14:56:09,634]  INFO - ServerManagement - All requests have
> been served.
> [2012-04-05 14:56:09,634]  INFO
> {org.wso2.carbon.integration.framework.utils.InputStreamHandler} -
>  [2012-04-05 14:56:09,634]  INFO - ServerManagement - Waiting for
> deployment completion...
> [2012-04-05 14:56:09,635]  INFO
> {org.wso2.carbon.integration.framework.utils.InputStreamHandler} -
>  [2012-04-05 14:56:09,635]  INFO - ServerManagement - All deployment tasks
> have been completed.
> [2012-04-05 14:56:09,635]  INFO
> {org.wso2.carbon.integration.framework.utils.InputStreamHandler} -
>  [2012-04-05 14:56:09,635]  INFO - CarbonServerManager - Shutting down WSO2
> BPS...
> [2012-04-05 14:56:09,637]  INFO
> {org.wso2.carbon.integration.framework.utils.InputStreamHandler} -
>  [2012-04-05 14:56:09,637]  WARN - HttpConnection - HttpConnectionManager
> is null.  Connection cannot be released.
> [2012-04-05 14:56:09,637]  INFO
> {org.wso2.carbon.integration.framework.utils.InputStreamHandler} -
>  [2012-04-05 14:56:09,637]  INFO - TCPTransportSender - TCP Sender Shutdown
> [2012-04-05 14:56:09,638]  INFO
> {org.wso2.carbon.integration.framework.utils.InputStreamHandler} -
>  [2012-04-05 14:56:09,638]  INFO - CarbonServerManager - Shutting down OSGi
> framework...
> [2012-04-05 14:56:09,638]  INFO
> {org.wso2.carbon.integration.framework.utils.InputStreamHandler} -
>  [2012-04-05 14:56:09,638]  INFO - CarbonServerManager - Shutdown complete
> [2012-04-05 14:56:09,638]  INFO
> {org.wso2.carbon.integration.framework.utils.InputStreamHandler} -
>  [2012-04-05 14:56:09,638]  INFO - CarbonServerManager - Halting JVM
> [2012-04-05 14:56:09,638]  INFO
> {org.wso2.carbon.integration.framework.utils.ServerUtils} -  Server stopped
> successfully...
> Problem reading the inputStream
> java.io.IOException: Stream closed
>  at java.io.BufferedInputStream.getBufIfOpen(BufferedInputStream.java:145)
> at java.io.BufferedInputStream.read1(BufferedInputStream.java:255)
>  at java.io.BufferedInputStream.read(BufferedInputStream.java:317)
> at sun.nio.cs.StreamDecoder.readBytes(StreamDecoder.java:264)
>  at sun.nio.cs.StreamDecoder.implRead(StreamDecoder.java:306)
> at sun.nio.cs.StreamDecoder.read(StreamDecoder.java:158)
>  at java.io.InputStreamReader.read(InputStreamReader.java:167)
> at java.io.BufferedReader.fill(BufferedReader.java:136)
>  at java.io.BufferedReader.r

Re: [Dev] Getting javax.activation from the JDK

2012-04-05 Thread Isuru Suriarachchi
attached.. it's a read timeout..

On Thu, Apr 5, 2012 at 3:10 PM, Waruna Ranasinghe  wrote:

> Please attach the surefire reports.
>
> Thanks,
> Waruna
>
>
> On Thu, Apr 5, 2012 at 10:29 AM, Isuru Suriarachchi wrote:
>
>> Ran all product builds with my changes. All products passes with tests
>> expect BPS in which I found the following error. Not sure whether this is
>> related to this change or not. Anyone from BPS team has an idea?
>>
>> Thanks,
>> ~Isuru
>>
>> [2012-04-05 14:56:06,253]  INFO
>> {org.wso2.carbon.integration.framework.utils.InputStreamHandler} -
>>  [2012-04-05 14:56:06,253]  INFO - CarbonAuthenticationUtil - 'admin'
>> logged in at [2012-04-05 14:56:06,0253] from IP address 10.100.3.147
>> [2012-04-05 14:56:06,260]  INFO
>> {org.wso2.carbon.integration.framework.LoginLogoutUtil} -  Successfully
>> logged in : JSESSIONID=129BA841FE34D07B74FCD21DEBEB28DC; Path=/;
>> Secure=null; HttpOnly=null
>> [2012-04-05 14:56:06,277]  INFO
>> {org.apache.axis2.deployment.ModuleDeployer} -  Deploying module: rampart -
>> file:/home/isuru/.m2/repository/org/apache/rampart/wso2/rampart-core/1.6.1.wso2v4/rampart-core-1.6.1.wso2v4.jar
>> [2012-04-05 14:56:06,277]  INFO
>> {org.apache.axis2.deployment.ModuleDeployer} -  Deploying module: rampart -
>> file:/home/isuru/.m2/repository/org/apache/rampart/wso2/rampart-core/1.6.1.wso2v4/rampart-core-1.6.1.wso2v4.jar
>> [2012-04-05 14:56:06,281]  INFO
>> {org.apache.axis2.deployment.ModuleDeployer} -  Deploying module: rahas -
>> file:/home/isuru/.m2/repository/org/apache/rampart/wso2/rampart-trust/1.6.1.wso2v4/rampart-trust-1.6.1.wso2v4.jar
>> [2012-04-05 14:56:06,281]  INFO
>> {org.apache.axis2.deployment.ModuleDeployer} -  Deploying module: rahas -
>> file:/home/isuru/.m2/repository/org/apache/rampart/wso2/rampart-trust/1.6.1.wso2v4/rampart-trust-1.6.1.wso2v4.jar
>> [2012-04-05 14:56:07,318]  INFO
>> {org.wso2.carbon.integration.framework.utils.InputStreamHandler} -
>>  [2012-04-05 14:56:07,318]  INFO - CarbonServerManager - Gracefully
>> shutting down WSO2 BPS...
>> [2012-04-05 14:56:07,321]  INFO
>> {org.wso2.carbon.integration.framework.utils.InputStreamHandler} -
>>  [2012-04-05 14:56:07,321]  INFO - ServerManagement - Starting to switch to
>> maintenance mode...
>> [2012-04-05 14:56:09,632]  INFO
>> {org.wso2.carbon.integration.framework.utils.InputStreamHandler} -
>>  [2012-04-05 14:56:09,632]  INFO - ServerManagement - Stopped all transport
>> listeners
>> [2012-04-05 14:56:09,632]  INFO
>> {org.wso2.carbon.integration.framework.utils.InputStreamHandler} -
>>  [2012-04-05 14:56:09,632]  INFO - ServerManagement - Waiting for request
>> service completion...
>> [2012-04-05 14:56:09,634]  INFO
>> {org.wso2.carbon.integration.framework.utils.InputStreamHandler} -
>>  [2012-04-05 14:56:09,634]  INFO - ServerManagement - All requests have
>> been served.
>> [2012-04-05 14:56:09,634]  INFO
>> {org.wso2.carbon.integration.framework.utils.InputStreamHandler} -
>>  [2012-04-05 14:56:09,634]  INFO - ServerManagement - Waiting for
>> deployment completion...
>> [2012-04-05 14:56:09,635]  INFO
>> {org.wso2.carbon.integration.framework.utils.InputStreamHandler} -
>>  [2012-04-05 14:56:09,635]  INFO - ServerManagement - All deployment tasks
>> have been completed.
>> [2012-04-05 14:56:09,635]  INFO
>> {org.wso2.carbon.integration.framework.utils.InputStreamHandler} -
>>  [2012-04-05 14:56:09,635]  INFO - CarbonServerManager - Shutting down WSO2
>> BPS...
>> [2012-04-05 14:56:09,637]  INFO
>> {org.wso2.carbon.integration.framework.utils.InputStreamHandler} -
>>  [2012-04-05 14:56:09,637]  WARN - HttpConnection - HttpConnectionManager
>> is null.  Connection cannot be released.
>> [2012-04-05 14:56:09,637]  INFO
>> {org.wso2.carbon.integration.framework.utils.InputStreamHandler} -
>>  [2012-04-05 14:56:09,637]  INFO - TCPTransportSender - TCP Sender Shutdown
>> [2012-04-05 14:56:09,638]  INFO
>> {org.wso2.carbon.integration.framework.utils.InputStreamHandler} -
>>  [2012-04-05 14:56:09,638]  INFO - CarbonServerManager - Shutting down OSGi
>> framework...
>> [2012-04-05 14:56:09,638]  INFO
>> {org.wso2.carbon.integration.framework.utils.InputStreamHandler} -
>>  [2012-04-05 14:56:09,638]  INFO - CarbonServerManager - Shutdown complete
>> [2012-04-05 14:56:09,638]  INFO
>> {org.wso2.carbon.integration.framework.utils.InputStreamHandler} -
>>  [2012-04-05 14:56:09,638]  INFO - CarbonServerManager - Halting JVM
>> [2012-04-05 14:56:09,638]  INFO
>> {org.wso2.carbon.integration.framework.utils.ServerUtils} -  Server stopped
>> successfully...
>> Problem reading the inputStream
>> java.io.IOException: Stream closed
>>  at
>> java.io.BufferedInputStream.getBufIfOpen(BufferedInputStream.java:145)
>> at java.io.BufferedInputStream.read1(BufferedInputStream.java:255)
>>  at java.io.BufferedInputStream.read(BufferedInputStream.java:317)
>> at sun.nio.cs.StreamDecoder.readBytes(StreamDecoder.java:264)
>>  at sun.nio.cs.StreamDecoder.implRead(StreamDecoder.java:306)
>> at sun.nio.cs.S