Problems deploying ESB 2.1.1 and later versions on JBoss 5 GA

indi999_us.yahoo.com's picture

 Hello,

After following the exact steps per this blog entry : How to deploy WSO2 ESB 2.0.2 in JBoss 5.0.0 GA  I was able to get ESB 2.0.2 running on JBoss 5.0 GA. I tried using the same approach with both ESB 2.1.1  and ESB 2.1.2 and in both cases it failed with the following message:

FATAL - Cannot start User Manager Core bundle
java.lang.NullPointerException
at org.wso2.carbon.user.core.internal.Activator.start(Activator.java:62)
.................

Any help would be much appreciated

Thank you

Rahul

 

 

 

   

indi999_us.yahoo.com's picture

Problems deploying ESB 2.1.1 and later versions on JBoss 5 GA

After digging around in the code - in Activator.java Line 62 String url = dbelement.getFirstChildWithName( new QName(UserCoreConstants.UserMgtConfig.URL)).getText(); realized that it was looking for a 'URL' element while I had typed the element name as 'Url' in user-mgt.xml This case-sensitivity issue on the tag name was causing the NullPointerException. Thanks Rahul
indi999_us.yahoo.com's picture

Problems deploying ESB 2.1.2 and later on JBoss 5 GA

I am currently evaluating WSO2 ESB on JBoss My environment: JDK 1.6 , JBOSS 5.0 GA, ESB 2.1.2, Oracle 10g The registry is on a local Oracle 10g database I was able to get to a point where there were no errors except for this WARNING Message StartupFinalizerServiceComponent Waiting for required OSGi services: org.wso2.carbon.mediation.initializer.services.SynapseEnvironmentService, INFO - ServiceBusInitializer Starting ESB... Although I am not sure whether ESB ever started fully (?) I was able to login into the Admin console. This is where all the problems started - - Clicking on the 'services' Link throws errors: ERROR - ServiceAdminClient Cannot get all services. Backend service may be unavailable -Clicking on the 'synapse' link throws -'Serialization' errors: Unable to serialize synapse.xml - Clicking on the mediators, sequences menu items throws errors: ERROR - SequenceAdmin Couldn't get the Synapse Configuration to get the available sequences - Clicking on the 'statistics' link throws errors Looks like some path resolution issues. Where should I be looking at to fix these problems ? When deploying inside a App Server, does the ${carbon.home} parameter get resolved correctly or do we need to specify an absolute path ? I have the synapse path specified as Full Absolute path Please provide some pointers Thank you Rahul
indi999_us.yahoo.com's picture

Problems deploying ESB 2.1.2 and later on JBoss 5 GA

After spending hours on trying to get the Admin console working finally took these steps to resolve the problems - Removed the org.wso2.carbon.server-2.0.2.jar from the WEB-INF/lib folder in JBoss This step stopped the incessant warning message: StartupFinalizerServiceComponent Waiting for required OSGi services: org.wso2.carbon.mediation.initializer.services.SynapseEnvironmentService But gave me a single ClassNotFoundException for TransportManager. I can live with this for now- the Admin console works now. The jar was added to the WEB-INF/Lib folder based on this forum entry: https://wso2.org/jira/browse/CARBON-4881 WARNING: Adding the jar file prevents the ESB from starting properly. The stop-gap solution provided is not correct. Thanks Rahul
library project main code
Learn Cloud
Learn
Cloud

The WSO2 Application Server is a reliable application server that can host your enterprise web applications. The WSO2 Application Server as a Service is offered in StratosLive, the WSO2 Platform as a Service. This article explains how a simple web application can be developed and deployed from Carbon Studio to the WSO2 Application Server...

Latest Webinar
Different groups within an organization need to monitor different Key Performance Indicators (KPIs) - An operations team will be interested in the response times of business services and loads of each service,..
Thursday, February 9th 2012, 09.00 AM (PST)

Thursday, February 9th 2012, 10.00 AM (GMT)