I guess this is because the product name in the carbon.xml does not match with the corresponding entry in the cloud-services-desc.xml.
Thanks, Thilina On Tue, May 29, 2012 at 4:45 PM, Amila Suriarachchi <am...@wso2.com> wrote: > I created a tenant domain called amila.com and try to login with that. > > Got a JSP page with this exception. > > javax.servlet.ServletException: Error in checking the existing of the tenant > domain: amila.com. > > > org.wso2.carbon.redirector.servlet.ui.filters.AllPagesFilter.doFilter(AllPagesFilter.java:96) > > org.eclipse.equinox.http.helper.FilterServletAdaptor.service(FilterServletAdaptor.java:37) > > org.eclipse.equinox.http.servlet.internal.ServletRegistration.handleRequest(ServletRegistration.java:90) > > > > org.eclipse.equinox.http.servlet.internal.ProxyServlet.processAlias(ProxyServlet.java:111) > > org.eclipse.equinox.http.servlet.internal.ProxyServlet.service(ProxyServlet.java:67) > javax.servlet.http.HttpServlet.service(HttpServlet.java:722) > > > > org.wso2.carbon.tomcat.ext.servlet.DelegationServlet.service(DelegationServlet.java:45) > > *root cause* > > org.apache.axis2.AxisFault: The input stream for an incoming message is null. > > org.apache.axis2.transport.TransportUtils.createSOAPMessage(TransportUtils.java:92) > > > org.apache.axis2.transport.TransportUtils.createSOAPMessage(TransportUtils.java:67) > > org.apache.axis2.description.OutInAxisOperationClient.handleResponse(OutInAxisOperation.java:354) > > org.apache.axis2.description.OutInAxisOperationClient.send(OutInAxisOperation.java:421) > > > > org.apache.axis2.description.OutInAxisOperationClient.executeImpl(OutInAxisOperation.java:229) > > org.apache.axis2.client.OperationClient.execute(OperationClient.java:165) > > org.wso2.carbon.redirector.servlet.stub.RedirectorServletServiceStub.validateTenant(RedirectorServletServiceStub.java:190) > > > > org.wso2.carbon.redirector.servlet.ui.clients.RedirectorServletServiceClient.validateTenant(RedirectorServletServiceClient.java:88) > > org.wso2.carbon.redirector.servlet.ui.filters.AllPagesFilter.doFilter(AllPagesFilter.java:86) > > > > org.eclipse.equinox.http.helper.FilterServletAdaptor.service(FilterServletAdaptor.java:37) > > org.eclipse.equinox.http.servlet.internal.ServletRegistration.handleRequest(ServletRegistration.java:90) > > org.eclipse.equinox.http.servlet.internal.ProxyServlet.processAlias(ProxyServlet.java:111) > > > > org.eclipse.equinox.http.servlet.internal.ProxyServlet.service(ProxyServlet.java:67) > javax.servlet.http.HttpServlet.service(HttpServlet.java:722) > > > thanks, > Amila. > > org.wso2.carbon.tomcat.ext.servlet.DelegationServlet.service(DelegationServlet.java:45) > > > > On Mon, May 28, 2012 at 5:43 PM, Ramith Jayasinghe <ram...@wso2.com>wrote: > >> Hi, >> I re-arranged directories to merge merge CSG distributions into one. >> Regards >> Ramith. >> >> >> On Mon, May 28, 2012 at 12:13 PM, Amila Suriarachchi <am...@wso2.com> >> wrote: >> > >> > >> > On Mon, May 28, 2012 at 10:15 AM, Dimuthu Leelarathne < >> dimut...@wso2.com> >> > wrote: >> >> >> >> Hi, >> >> >> >> These are there already present if you use the service. >> > >> > >> > I used the service and BRS service did not have that. May be some >> missing >> > update. >> > Anyway Kasuns suggestion fixed the issue. >> > >> > thanks, >> > Amila. >> >> >> >> >> >> thanks, >> >> dimuthu >> >> >> >> >> >> On Mon, May 28, 2012 at 9:46 AM, Kasun Gajasinghe <kas...@wso2.com> >> wrote: >> >>> >> >>> >> >>> The sql files can be copied by adding following code segment to >> bin.xml >> >>> >> >>> <fileSet> >> >>> >> >>> >> <directory>../p2-profile-gen/target/wso2carbon-core-${wso2carbon.version}/dbscripts/identity/</directory> >> >>> >> >>> >> <outputDirectory>${pom.artifactId}-${pom.version}/dbscripts/identity</outputDirectory> >> >>> <includes> >> >>> <include>**/**.sql</include> >> >>> </includes> >> >>> </fileSet> >> >>> >> >>> The identity.xml should go to repository/conf. >> >>> >> >>> <fileSet> >> >>> <directory> >> >>> >> >>> >> ../p2-profile-gen/target/wso2carbon-core-${wso2carbon.version}/repository/conf/ >> >>> </directory> >> >>> >> >>> >> <outputDirectory>${pom.artifactId}-${pom.version}/repository/conf</outputDirectory> >> >>> <includes> >> >>> <include>**/identity.xml</include> >> >>> <!--include>**/eula.xml</include--> >> >>> <include>**/stratos.xml</include> >> >>> <include>**/multitenancy-packages.xml</include> >> >>> </includes> >> >>> </fileSet> >> >>> >> >>> --KasunG >> >>> >> >>> On Mon, May 28, 2012 at 7:57 AM, Amila Suriarachchi <am...@wso2.com> >> >>> wrote: >> >>>> >> >>>> >> >>>> >> >>>> On Mon, May 28, 2012 at 12:03 AM, Thilina Buddhika < >> thili...@wso2.com> >> >>>> wrote: >> >>>>> >> >>>>> Still there is a dependency to the Google Auth. feature which has a >> >>>>> dependency to identity.core. Identity Core requires identity.xml and >> >>>>> identity DB scripts. These files are available with the >> identity.core >> >>>>> feature. So it is required to add entries to bin.xml to copy them. >> >>>> >> >>>> >> >>>> Do they need to copy to repository/conf ? I did this manually and >> then >> >>>> there was an exception saying some .sql file is not there. >> >>>> >> >>>> In otherworks this means the steps that Dimuth has mention does not >> >>>> complete. Can someone please give the complete set of steps. That >> will save >> >>>> a lot of others time. >> >>>> >> >>>> thanks, >> >>>> Amila. >> >>>>> >> >>>>> >> >>>>> Thanks, >> >>>>> Thilina >> >>>>> >> >>>>> >> >>>>> On Sun, May 27, 2012 at 9:54 PM, Amila Suriarachchi <am...@wso2.com >> > >> >>>>> wrote: >> >>>>>> >> >>>>>> >> >>>>>> >> >>>>>> On Wed, May 23, 2012 at 6:09 PM, Dimuthu Leelarathne >> >>>>>> <dimut...@wso2.com> 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 >> >>>>>> >> >>>>>> >> >>>>>> getting this exception when starting the server. >> >>>>>> >> >>>>>> [2012-05-27 21:44:52,102] ERROR - IdentityConfigParser Error while >> >>>>>> loading Identity Configurations >> >>>>>> java.io.FileNotFoundException: Identity configuration not found. >> Cause >> >>>>>> - Identity core could not find resource identity.xml or user does >> not have >> >>>>>> sufficient permission to access the resource. >> >>>>>> at >> >>>>>> >> org.wso2.carbon.identity.core.util.IdentityConfigParser.buildConfiguration(IdentityConfigParser.java:132) >> >>>>>> at >> >>>>>> >> org.wso2.carbon.identity.core.util.IdentityConfigParser.<init>(IdentityConfigParser.java:53) >> >>>>>> at >> >>>>>> >> org.wso2.carbon.identity.core.util.IdentityConfigParser.getInstance(IdentityConfigParser.java:64) >> >>>>>> at >> >>>>>> >> org.wso2.carbon.identity.core.util.IdentityUtil.populateProperties(IdentityUtil.java:65) >> >>>>>> at >> >>>>>> >> org.wso2.carbon.identity.core.internal.IdentityCoreServiceComponent.activate(IdentityCoreServiceComponent.java:64) >> >>>>>> 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.eclipse.equinox.internal.ds.model.ServiceComponent.activate(ServiceComponent.java:252) >> >>>>>> at >> >>>>>> >> org.eclipse.equinox.internal.ds.model.ServiceComponentProp.activate(ServiceComponentProp.java:146) >> >>>>>> at >> >>>>>> >> org.eclipse.equinox.internal.ds.model.ServiceComponentProp.build(ServiceComponentProp.java:346) >> >>>>>> at >> >>>>>> >> org.eclipse.equinox.internal.ds.InstanceProcess.buildComponent(InstanceProcess.java:588) >> >>>>>> at >> >>>>>> >> org.eclipse.equinox.internal.ds.InstanceProcess.buildComponents(InstanceProcess.java:196) >> >>>>>> at >> >>>>>> >> org.eclipse.equinox.internal.ds.Resolver.getEligible(Resolver.java:328) >> >>>>>> at >> >>>>>> >> org.eclipse.equinox.internal.ds.SCRManager.serviceChanged(SCRManager.java:221) >> >>>>>> at >> >>>>>> >> org.eclipse.osgi.internal.serviceregistry.FilteredServiceListener.serviceChanged(FilteredServiceListener.java:104) >> >>>>>> at >> >>>>>> >> org.eclipse.osgi.framework.internal.core.BundleContextImpl.dispatchEvent(BundleContextImpl.java:861) >> >>>>>> at >> >>>>>> >> org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:230) >> >>>>>> at >> >>>>>> >> org.eclipse.osgi.framework.eventmgr.ListenerQueue.dispatchEventSynchronous(ListenerQueue.java:148) >> >>>>>> at >> >>>>>> >> org.eclipse.osgi.internal.serviceregistry.ServiceRegistry.publishServiceEventPrivileged(ServiceRegistry.java:819) >> >>>>>> at >> >>>>>> >> org.eclipse.osgi.internal.serviceregistry.ServiceRegistry.publishServiceEvent(ServiceRegistry.java:771) >> >>>>>> at >> >>>>>> >> org.eclipse.osgi.internal.serviceregistry.ServiceRegistrationImpl.register(ServiceRegistrationImpl.java:130) >> >>>>>> at >> >>>>>> >> org.eclipse.osgi.internal.serviceregistry.ServiceRegistry.registerService(ServiceRegistry.java:214) >> >>>>>> at >> >>>>>> >> org.eclipse.osgi.framework.internal.core.BundleContextImpl.registerService(BundleContextImpl.java:433) >> >>>>>> at >> >>>>>> >> org.eclipse.osgi.framework.internal.core.BundleContextImpl.registerService(BundleContextImpl.java:451) >> >>>>>> at >> >>>>>> >> org.wso2.carbon.security.internal.SecurityMgtServiceComponent.activate(SecurityMgtServiceComponent.java:62) >> >>>>>> 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) >> >>>>>> >> >>>>>> >> >>>>>> thanks, >> >>>>>> Amila. >> >>>>>>> >> >>>>>>> >> >>>>>>> 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: dimut...@wso2.com >> >>>>>>> >> >>>>>>> Lean . Enterprise . Middleware >> >>>>>>> >> >>>>>>> >> >>>>>>> _______________________________________________ >> >>>>>>> Dev mailing list >> >>>>>>> Dev@wso2.org >> >>>>>>> http://wso2.org/cgi-bin/mailman/listinfo/dev >> >>>>>>> >> >>>>>> >> >>>>>> >> >>>>>> >> >>>>>> -- >> >>>>>> Amila Suriarachchi >> >>>>>> >> >>>>>> Software Architect >> >>>>>> WSO2 Inc. ; http://wso2.com >> >>>>>> lean . enterprise . middleware >> >>>>>> >> >>>>>> phone : +94 71 3082805 >> >>>>>> >> >>>>>> >> >>>>>> _______________________________________________ >> >>>>>> Dev mailing list >> >>>>>> Dev@wso2.org >> >>>>>> http://wso2.org/cgi-bin/mailman/listinfo/dev >> >>>>>> >> >>>>> >> >>>>> >> >>>>> >> >>>>> -- >> >>>>> Thilina Buddhika >> >>>>> Associate Technical Lead >> >>>>> >> >>>>> WSO2 Inc. ; http://wso2.com >> >>>>> lean . enterprise . middleware >> >>>>> >> >>>>> phone : +94 77 44 88 727 >> >>>>> blog : http://blog.thilinamb.com >> >>>> >> >>>> >> >>>> >> >>>> >> >>>> -- >> >>>> Amila Suriarachchi >> >>>> >> >>>> Software Architect >> >>>> WSO2 Inc. ; http://wso2.com >> >>>> lean . enterprise . middleware >> >>>> >> >>>> phone : +94 71 3082805 >> >>>> >> >>>> >> >>>> _______________________________________________ >> >>>> Dev mailing list >> >>>> Dev@wso2.org >> >>>> http://wso2.org/cgi-bin/mailman/listinfo/dev >> >>>> >> >>> >> >>> >> >>> >> >>> -- >> >>> Kasun Gajasinghe >> >>> Software Engineer; >> >>> Development Technologies Team, WSO2 Inc.; http://wso2.com , >> >>> email: kasung AT spamfree wso2.com cell: +94 (77) 678-0813 >> >>> linked-in: http://lk.linkedin.com/in/gajasinghe >> >>> blog: http://blog.kasunbg.org >> >>> twitter: http://twitter.com/kasunbg >> >>> >> >>> >> >>> _______________________________________________ >> >>> Dev mailing list >> >>> Dev@wso2.org >> >>> http://wso2.org/cgi-bin/mailman/listinfo/dev >> >>> >> >> >> >> >> >> >> >> -- >> >> Dimuthu Leelarathne >> >> Technical Lead >> >> >> >> WSO2, Inc. (http://wso2.com) >> >> email: dimut...@wso2.com >> >> >> >> Lean . Enterprise . Middleware >> >> >> > >> > >> > >> > -- >> > Amila Suriarachchi >> > >> > Software Architect >> > WSO2 Inc. ; http://wso2.com >> > lean . enterprise . middleware >> > >> > phone : +94 71 3082805 >> > >> > >> > _______________________________________________ >> > Dev mailing list >> > Dev@wso2.org >> > http://wso2.org/cgi-bin/mailman/listinfo/dev >> > >> >> >> >> -- >> - Ramith >> _______________________________________________ >> Dev mailing list >> Dev@wso2.org >> http://wso2.org/cgi-bin/mailman/listinfo/dev >> > > > > -- > *Amila Suriarachchi* > > Software Architect > WSO2 Inc. ; http://wso2.com > lean . enterprise . middleware > > phone : +94 71 3082805 > > > _______________________________________________ > Dev mailing list > Dev@wso2.org > http://wso2.org/cgi-bin/mailman/listinfo/dev > > -- Thilina Buddhika Associate Technical Lead WSO2 Inc. ; http://wso2.com lean . enterprise . middleware phone : +94 77 44 88 727 blog : http://blog.thilinamb.com
_______________________________________________ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev