Tuesday, February 21, 2012

JBoss Trimming - remove JSF

If you are not using JSF, you can trim jboss and remove JSF from getting deployed!
You can do this by commenting everything in the deployers\jsf.deployer\META-INF\jsf-integration-deployer-jboss-beans.xml.
Just keep following lines.
<?xml version="1.0" encoding="UTF-8"?>
<!--
    JBoss JSF + JBossAS integration
-->
<deployment xmlns="urn:jboss:bean-deployer:2.0">
</deployment>

This will save a lot of time while starting jboss… the time jboss uses in JSF initialization.

Courtesy: Vishnu Gopal Singhal

Friday, February 10, 2012

Android installation issue

I was facing problem while downloading 3rd party plugins for Android SDK.
Following was the error I was facing –
“Failed to fetch URL https://dl-ssl.google.com/android/repository/addons_list-1.xml
reason: Connection to https://dl-ssl.google.com refused”

Following is the solution -
Go to the SDK Manager (Navigate to it on the computer, not from eclipse), then open it up and provide proxy. Also check the checkbox which says force http connection for https urls.
(I was behind a proxy.)