Hi all,

Finally ensure that the name of your product is identical in the following
two files. If they are not identical then the tenant will face issues when
trying to login.

https://svn.wso2.org/repos/wso2/carbon/platform/trunk/products/your_product/modules/distribution/src/assembly/filter.properties
https://svn.wso2.org/repos/wso2/carbon/platform/trunk/features/stratos/common/org.wso2.carbon.stratos.common.server.feature/resources/conf/cloud-services-desc.xml



Diagnosis

[2012-05-25 12:30:44,723] @azeez.org [1] [wso2as] WARN
{org.wso2.carbon.activation.module.ActivationHandler} -  Failed attempt to
access wso2as by tenant 1
[2012-05-25 12:30:44,733] @azeez.org [1] [wso2as]ERROR
{org.wso2.carbon.redirector.servlet.ui.filters.AllPagesFilter} -  Error in
checking the existing of the tenant domain: azeez.org.
org.apache.axis2.AxisFault: The input stream for an incoming message is
null.
at
org.apache.axis2.transport.TransportUtils.createSOAPMessage(TransportUtils.java:92)
 at
org.apache.axis2.transport.TransportUtils.createSOAPMessage(TransportUtils.java:67)
at
org.apache.axis2.description.OutInAxisOperationClient.handleResponse(OutInAxisOperation.java:354)
 at
org.apache.axis2.description.OutInAxisOperationClient.send(OutInAxisOperation.java:421)
at
org.apache.axis2.description.OutInAxisOperationClient.executeImpl(OutInAxisOperation.java:229)
 at
org.apache.axis2.client.OperationClient.execute(OperationClient.java:165)
at
org.wso2.carbon.redirector.servlet.stub.RedirectorServletServiceStub.validateTenant(RedirectorServletServiceStub.java:190)
 at
org.wso2.carbon.redirector.servlet.ui.clients.RedirectorServletServiceClient.validateTenant(RedirectorServletServiceClient.java:88)
at
org.wso2.carbon.redirector.servlet.ui.filters.AllPagesFilter.doFilter(AllPagesFilter.java:86)
 at
org.eclipse.equinox.http.helper.FilterServletAdaptor.service(FilterServletAdaptor.java:37)
at
org.eclipse.equinox.http.servlet.internal.ServletRegistration.handleRequest(ServletRegistration.java:90)
 at
org.eclipse.equinox.http.servlet.internal.ProxyServlet.processAlias(ProxyServlet.java:111)
at
org.eclipse.equinox.http.servlet.internal.ProxyServlet.service(ProxyServlet.java:67)
 at javax.servlet.http.HttpServlet.service(HttpServlet.java:722)
at
org.wso2.carbon.tomcat.ext.servlet.DelegationServlet.service(DelegationServlet.java:45)
 at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
 at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:225)
at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:169)
 at
org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:472)
at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:168)
 at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:98)
at
org.wso2.carbon.tomcat.ext.valves.CompositeValve.invoke(CompositeValve.java:143)
 at
org.wso2.carbon.tomcat.ext.valves.CarbonStuckThreadDetectionValve.invoke(CarbonStuckThreadDetectionValve.java:156)
at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:927)
 at
org.wso2.carbon.tomcat.ext.valves.CarbonContextCreatorValve.invoke(CarbonContextCreatorValve.java:48)
at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118)
 at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:407)
at
org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:999)
 at
org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:565)
at
org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.run(NioEndpoint.java:1620)
 at
java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)




thanks,
dimuthu


On Wed, May 23, 2012 at 6:09 PM, Dimuthu Leelarathne <[email protected]>wrote:

>
> Hi all,
>
> Service and product merging guidelines. Tip - Modifying the service is
> much easier, we only need to add a limited amount of jars.
>
> 1) Fix the p2-profile-gen of the service
>
>     1.1) Move product specific jars to the service
>     1.2) Remove the following feature from the p2-profile-gen because we
> are going to use the normal login page.
> org.wso2.*:org.wso2.stratos.*.login.ui.feature
>     1.3) Sync up the versions between product and service
>
> 2) If you are a code hosting product remove the wso2server.sh that has
> secured entries. Usually bin.xml replace the old wso2server.sh with the new
> one. So find it and delete it and adjust bin.xml according to it.
>
> 3) Fix the theming. Check Shariq’s commit numbered - 127984.
>
> 4) Fix document generation. Add document generation tasks to the the
> maven-antrun-plugin
>
> 5) Get rid of product and service folders under p2-profile-gen and
> distribution in the build. We will only build the newly created merged
> product from now on. So the merged product pom.xmls should be right uner
> p2-profile-gen and distribution
>
> 6) Rename the service. Remove the name “stratos” from it’s name and do the
> necessary changes.
>
> 7) Finally modify the integration tests to use the newly created product.
> Right now we only need to have integration tests for super tenant. Later we
> will create a tenant and run the same set of integration tests for the
> tenant as well
>
> Finally pick and copy the samples.
>
> AppServer is at the 7th stage.
>
> We need to give a Carbon kernel build  + product builds to QA next week.
> So we will start the next QA buid on 29th 12 noon.
>
> thanks,
> dimuthu
>
> --
> Dimuthu Leelarathne
> Technical Lead
>
> WSO2, Inc. (http://wso2.com)
> email: [email protected]
>
> Lean . Enterprise . Middleware
>
>


-- 
Dimuthu Leelarathne
Technical Lead

WSO2, Inc. (http://wso2.com)
email: [email protected]

Lean . Enterprise . Middleware
_______________________________________________
Dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to