[Dev] Preferred JSON parser in Carbon
Hi, Is there a preferred JSON parser in Carbon? Is it Jettison? -Chintana -- Chintana Wilamuna Associate Technical Lead WSO2, Inc.; http://wso2.com lean.enterprise.middleware phone: +94 75 211 1106 blog: http://engwar.com/ photos: http://flickr.com/photos/chintana linkedin: http://www.linkedin.com/in/engwar twitter: twitter.com/std_err ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
Re: [Dev] Who understands the steps that need to be followed in running Emma with integration tests?
Hi, Could you please point me to the script? -Chintana On Tue, Mar 20, 2012 at 4:55 AM, Afkham Azeez wrote: > $subject > > Chintana, you seemed to have written the Ruby script which does the > instrumentation. Can you please explain how exactly this works with the > integration tests? The issue we are facing now is coverage.ec & > coverage.em files are not generated. > > -- > *Afkham Azeez* > Director of Architecture; WSO2, Inc.; http://wso2.com > Member; Apache Software Foundation; http://www.apache.org/ > * <http://www.apache.org/>** > email: **az...@wso2.com* * cell: +94 77 3320919 > blog: **http://blog.afkham.org* <http://blog.afkham.org>* > twitter: **http://twitter.com/afkham_azeez*<http://twitter.com/afkham_azeez> > * > linked-in: **http://lk.linkedin.com/in/afkhamazeez* > * > * > *Lean . Enterprise . Middleware* > > -- Chintana Wilamuna Associate Technical Lead WSO2, Inc.; http://wso2.com lean.enterprise.middleware phone: +94 75 211 1106 blog: http://engwar.com/ photos: http://flickr.com/photos/chintana linkedin: http://www.linkedin.com/in/engwar twitter: twitter.com/std_err ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
Re: [Dev] How does Emma instrumentation work?
>> file); >>>>>> } >>>>>> >>>>>> String temp; >>>>>> Process process = Runtime.getRuntime().exec(new >>>>>> String[]{"ruby", >>>>>> "gen_emma_coverage.rb", "instrument", >>>>>> System.getenv("JAVA_HOME")}, null, >>>>>> new File(carbonHome)); >>>>>> BufferedReader reader = new BufferedReader( >>>>>> new InputStreamReader(process.getInputStream())); >>>>>> try { >>>>>> while ((temp = reader.readLine()) != null) { >>>>>> System.out.println(temp); >>>>>> } >>>>>> } catch (IOException ignored) { >>>>>> } >>>>>> FileUtils.copyFileToDirectory(new File(carbonHome + >>>>>> File.separator + "coverage.em"), >>>>>> emmaOutput); >>>>>> } finally { >>>>>> System.setProperty("user.dir", workingDir); >>>>>> } >>>>>> } >>>>>> >>>>>> -- >>>>>> *Afkham Azeez* >>>>>> Director of Architecture; WSO2, Inc.; http://wso2.com >>>>>> Member; Apache Software Foundation; http://www.apache.org/ >>>>>> * <http://www.apache.org/>** >>>>>> email: **az...@wso2.com* * cell: +94 77 3320919 >>>>>> blog: **http://blog.afkham.org* <http://blog.afkham.org>* >>>>>> twitter: >>>>>> **http://twitter.com/afkham_azeez*<http://twitter.com/afkham_azeez> >>>>>> * >>>>>> linked-in: **http://lk.linkedin.com/in/afkhamazeez* >>>>>> * >>>>>> * >>>>>> *Lean . Enterprise . Middleware* >>>>>> >>>>>> >>>>> >>>>> >>>>> -- >>>>> *Regards* >>>>> >>>>> *Thilini Ishaka* >>>>> *WSO2 Inc. http://wso2.com >>>>> * >>>>> *Mobile: +94 71 840 8171 * >>>>> *+94 77 211 8797* >>>>> *Bolg: thiliniishaka.blogspot.com* >>>>> >>>>> >>>> >>>> >>>> -- >>>> *Afkham Azeez* >>>> Director of Architecture; WSO2, Inc.; http://wso2.com >>>> Member; Apache Software Foundation; http://www.apache.org/ >>>> * <http://www.apache.org/>** >>>> email: **az...@wso2.com* * cell: +94 77 3320919 >>>> blog: **http://blog.afkham.org* <http://blog.afkham.org>* >>>> twitter: >>>> **http://twitter.com/afkham_azeez*<http://twitter.com/afkham_azeez> >>>> * >>>> linked-in: **http://lk.linkedin.com/in/afkhamazeez* >>>> * >>>> * >>>> *Lean . Enterprise . Middleware* >>>> >>>> >>> >>> >>> -- >>> *Afkham Azeez* >>> Director of Architecture; WSO2, Inc.; http://wso2.com >>> Member; Apache Software Foundation; http://www.apache.org/ >>> * <http://www.apache.org/>** >>> email: **az...@wso2.com* * cell: +94 77 3320919 >>> blog: **http://blog.afkham.org* <http://blog.afkham.org>* >>> twitter: **http://twitter.com/afkham_azeez*<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 >>> >>> >> > > > -- > *Afkham Azeez* > Director of Architecture; WSO2, Inc.; http://wso2.com > Member; Apache Software Foundation; http://www.apache.org/ > * <http://www.apache.org/>** > email: **az...@wso2.com* * cell: +94 77 3320919 > blog: **http://blog.afkham.org* <http://blog.afkham.org>* > twitter: **http://twitter.com/afkham_azeez*<http://twitter.com/afkham_azeez> > * > linked-in: **http://lk.linkedin.com/in/afkhamazeez* > * > * > *Lean . Enterprise . Middleware* > > -- Chintana Wilamuna Associate Technical Lead WSO2, Inc.; http://wso2.com lean.enterprise.middleware phone: +94 75 211 1106 blog: http://engwar.com/ photos: http://flickr.com/photos/chintana linkedin: http://www.linkedin.com/in/engwar twitter: twitter.com/std_err ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
Re: [Dev] Replacing JSW with nohup
+1 to nohup. Also the wrapper I tried on Windows works great on Linux too. We can do some long running tests around it to make sure it doesn't eat memory etc... -Chintana On Tue, Mar 27, 2012 at 10:33 AM, Sameera Jayasoma wrote: > Hi Devs, > > We've been having many issues due to the JSW(Java Service Wrapper). > Therefore we thought of removing JSW from the Carbon 4.0.0. release. But we > will be adding the nohup[1] support. > > WDYT? > > If all agreed, following are the action items. > > * Remove JSW and all the related files. > * Improve wso2server.sh to support nohup (Sanjaya has already made the > changes, I guess) Sanjaya, can you please explain? > * For Windows, Chinthana has a solution. Can you please explain? > > > Thanks, > Sameera. > > [1] http://en.wikipedia.org/wiki/Nohup > -- > 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 > -- Chintana Wilamuna Associate Technical Lead WSO2, Inc.; http://wso2.com lean.enterprise.middleware phone: +94 75 211 1106 blog: http://engwar.com/ photos: http://flickr.com/photos/chintana linkedin: http://www.linkedin.com/in/engwar twitter: twitter.com/std_err ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
Re: [Dev] Do we need $JAVA_HOME on windows?
>>>> ___ >>>>>> Dev mailing list >>>>>> Dev@wso2.org >>>>>> http://wso2.org/cgi-bin/mailman/listinfo/dev >>>>>> >>>>>> >>>>> >>>>> >>>>> -- >>>>> Vijitha Kumara >>>>> Senior Software Engineer; WSO2, Inc.; http://wso2.com/ >>>>> email: viji...@wso2.com >>>>> >>>>> Lean . Enterprise . Middleware >>>>> >>>>> >>>>> ___ >>>>> Dev mailing list >>>>> Dev@wso2.org >>>>> http://wso2.org/cgi-bin/mailman/listinfo/dev >>>>> >>>>> >>>> >>>> >>>> -- >>>> Hiranya Jayathilaka >>>> Associate Technical Lead; >>>> WSO2 Inc.; http://wso2.org >>>> E-mail: hira...@wso2.com; Mobile: +94 77 633 3491 >>>> Blog: http://techfeast-hiranya.blogspot.com >>>> >>> >>> >>> >>> -- >>> Vijitha Kumara >>> Senior Software Engineer; WSO2, Inc.; http://wso2.com/ >>> email: viji...@wso2.com >>> >>> Lean . Enterprise . Middleware >>> >>> >>> ___ >>> 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 >> >> > > > -- > Regards, > > Tharindu > > blog: http://mackiemathew.com/ > M: +9459908 > > > ___ > Dev mailing list > Dev@wso2.org > http://wso2.org/cgi-bin/mailman/listinfo/dev > > -- Chintana Wilamuna Associate Technical Lead WSO2, Inc.; http://wso2.com lean.enterprise.middleware phone: +94 75 211 1106 blog: http://engwar.com/ photos: http://flickr.com/photos/chintana linkedin: http://www.linkedin.com/in/engwar twitter: twitter.com/std_err ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
Re: [Dev] Removing Java Service Wrapper from Carbon
Hi, Have a blog - http://engwar.com/post/678. Probably better to have a KB item as well. -Chintana On Monday, May 7, 2012, Sameera Jayasoma wrote: > Hi Chinthana, > > On Mon, Feb 27, 2012 at 12:12 PM, Chintana Wilamuna > > > wrote: > >> >> >> On Mon, Feb 27, 2012 at 11:49 AM, Sameera Jayasoma >> >> > wrote: >> >> Yeah 20MB is bit of a concern. Btw, we had an offline discussion with >>> Azeez and decided to remove Java Service Wrapper. >>> >>> Shall we go ahead with nohup thing? >>> >> >> Nohup works ok in Linux. Problem is running it as a service in Windows. >> >> For Windows, may be we can point to an OT article about how to download >> YAJSW and install/configure it as a service? >> > > We have removed JSW from Carbon. In Linux, we use nohup now. For Window, > we need something like YAJSW. Do we have an article or blog on how to > integrate YAJSW with Carbon? If not we might have to write one. > > Thanks, > Sameera. > > >> >> -Chintana >> >> -- >> Chintana Wilamuna >> Associate Technical Lead >> WSO2, Inc.; http://wso2.com >> lean.enterprise.middleware >> >> phone: +94 75 211 1106 >> blog: http://engwar.com/ >> photos: http://flickr.com/photos/chintana >> linkedin: http://www.linkedin.com/in/engwar >> twitter: twitter.com/std_err >> >> >> ___ >> Carbon-dev mailing list >> carbon-...@wso2.org >> http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev >> >> > > > -- > Sameera Jayasoma > Technical Lead > > WSO2, Inc. (http://wso2.com) > email: same...@wso2.com > blog: http://tech.jayasoma.org > > Lean . Enterprise . Middleware > -- Chintana Wilamuna Associate Technical Lead WSO2, Inc.; http://wso2.com lean.enterprise.middleware phone: +94 75 211 1106 blog: http://engwar.com/ photos: http://flickr.com/photos/chintana linkedin: http://www.linkedin.com/in/engwar twitter: twitter.com/std_err ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
[Dev] Build failure on trunk while compiling Hive
Hi, I get the following when compiling Hive in Winows. Looks like it tries to create a symlink with ln which doesn't exist in Windows. Any idea how to overcome this? [INFO] [INFO] BUILD FAILURE [INFO] [INFO] Total time: 36:52.595s [INFO] Finished at: Tue May 08 12:13:45 PDT 2012 [INFO] Final Memory: 872M/1988M [INFO] [ERROR] Failed to execute goal org.apache.maven.plugins:maven-antrun-plugin:1.7:run (default) on project hive-deploy: An Ant BuildException has occured: The following error occurred while executing this line: [ERROR] C:\src\wso2\carbon-trunk\platform\trunk\dependencies\hive\build.xml:520: Could not launch ln: java.io.IOException: Cannot run program "ln": CreateProcess error=2, The system cannot find the file specified [ERROR] around Ant part .. @ 4:113 in C:\src\wso2\carbon-trunk\platform\trunk\dependencies\hive\deploy\target\antrun\build-main.xml [ERROR] -> [Help 1] [ERROR] [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch. [ERROR] Re-run Maven using the -X switch to enable full debug logging. [ERROR] [ERROR] For more information about the errors and possible solutions, please read the following articles: [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException [ERROR] [ERROR] After correcting the problems, you can resume the build with the command [ERROR] mvn -rf :hive-deploy C:\src\wso2\carbon-trunk\platform\trunk> Thanks in advance, -Chintana -- Chintana Wilamuna Associate Technical Lead WSO2, Inc.; http://wso2.com lean.enterprise.middleware phone: +94 75 211 1106 blog: http://engwar.com/ photos: http://flickr.com/photos/chintana linkedin: http://www.linkedin.com/in/engwar twitter: twitter.com/std_err ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
Re: [Dev] Build failure on trunk while compiling Hive
Hi, I'm on revision 126930, I still get the following error when I try to build on Windows. [ERROR] Failed to execute goal org.apache.maven.plugins:maven-antrun-plugin:1.7:run (default) on project hive-deploy: An Ant BuildException has occured: The following error occurred while executing this line: [ERROR] C:\src\wso2\carbon-trunk\platform\trunk\dependencies\hive\build.xml:520: Could not launch ln: java.io.IOException: Cannot run program "ln": CreateProcess error=2, The system cannot find the file specified [ERROR] around Ant part .. @ 4:113 in C:\src\wso2\carbon-trunk\platform\trunk\dependencies\hive\deploy\target\antrun\build-main.xml [ERROR] -> [Help 1] [ERROR] [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch. [ERROR] Re-run Maven using the -X switch to enable full debug logging. This is a fresh checkout. Yes, I'm doing a mvn clean install. Any idea what I might be missing? -Chintana On Tue, May 8, 2012 at 10:54 PM, Waruna Ranasinghe wrote: > > > On Wed, May 9, 2012 at 11:15 AM, Denis Weerasiri wrote: > >> >> >> On Wed, May 9, 2012 at 11:11 AM, Waruna Ranasinghe wrote: >> >>> I also get the following error in Ubuntu. >>> >>> [javac] Compiling 7 source files to >>> /home/waruna/WSO2/projects/src/trunk/graphite/dependencies/hive/build/ql/classes >>> [javac] >>> /home/waruna/WSO2/projects/src/trunk/graphite/dependencies/hive/ql/src/java/org/apache/hadoop/hive/ql/parse/ParseDriver.java:317: >>> recoverFromMismatchedSet(org.antlr.runtime.IntStream,org.antlr.runtime.RecognitionException,org.antlr.runtime.BitSet) >>> in org.apache.hadoop.hive.ql.parse.ParseDriver.HiveParserX cannot override >>> recoverFromMismatchedSet(org.antlr.runtime.IntStream,org.antlr.runtime.RecognitionException,org.antlr.runtime.BitSet) >>> in org.antlr.runtime.BaseRecognizer; attempting to use incompatible return >>> type >>> [javac] found : java.lang.Object >>> [javac] required: void >>> [javac] public Object recoverFromMismatchedSet(IntStream input, >>> [javac] ^ >>> [javac] >>> /home/waruna/WSO2/projects/src/trunk/graphite/dependencies/hive/ql/src/java/org/apache/hadoop/hive/ql/parse/ParseDriver.java:316: >>> method does not override or implement a method from a supertype >>> [javac] @Override >>> [javac] ^ >>> [javac] 2 errors >>> >> Buddhika fixed a similar error in hive by adding a clean task to the >> build script. He'll be able to fix this issue as well. >> > I tried mvn clean install and it worked. adding a clean task should work. > > Thanks, > Waruna > > >> >>> >>> >>> Thanks, >>> Waruna >>> >>> On Wed, May 9, 2012 at 1:01 AM, Chintana Wilamuna wrote: >>> >>>> Hi, >>>> >>>> I get the following when compiling Hive in Winows. Looks like it tries >>>> to create a symlink with ln which doesn't exist in Windows. Any idea how to >>>> overcome this? >>>> >>>> [INFO] >>>> >>>> [INFO] BUILD FAILURE >>>> [INFO] >>>> >>>> [INFO] Total time: 36:52.595s >>>> [INFO] Finished at: Tue May 08 12:13:45 PDT 2012 >>>> [INFO] Final Memory: 872M/1988M >>>> [INFO] >>>> >>>> [ERROR] Failed to execute goal >>>> org.apache.maven.plugins:maven-antrun-plugin:1.7:run (default) on project >>>> hive-deploy: An Ant BuildException has occured: The following error >>>> occurred while executing this line: >>>> [ERROR] >>>> C:\src\wso2\carbon-trunk\platform\trunk\dependencies\hive\build.xml:520: >>>> Could not launch ln: java.io.IOException: Cannot run program "ln": >>>> CreateProcess error=2, The system cannot find the file specified >>>> [ERROR] around Ant part ...>>> antfile="C:\src\wso2\carbon-trunk\platform\trunk\dependencies\hive\deploy/../build.xml" >>>> target="package">... @ 4:113 in >>>> C:\src\wso2\carbon-trunk\platform\trunk\dependencies\hive\deploy\target\antrun\build-main.xml >>>> [ERROR] -> [Help 1] >>>> [ERROR] >>>> [ERROR] To see the full stack trace of the errors, re-run Maven with >>>> the -e switch. >>>> [ERROR] Re-run Ma
Re: [Dev] Hive build failure in windows
Hi, Easier way to fix this is to install MinGW (http://www.mingw.org/) in Windows. Then install MSYS (mingw-get install msys) which has ln and other Unix tools. -Chintana On Fri, May 11, 2012 at 1:26 AM, Thilina Buddhika wrote: > Hi Folks, > > This is not yet fixed and build remains broken for Windows users. Quick > resolution would be highly appreciated. > > Thanks, > Thilina > > > On Tue, May 8, 2012 at 8:26 AM, Selvaratnam Uthaiyashankar < > shan...@wso2.com> wrote: > >> On Tue, May 8, 2012 at 8:23 AM, Selvaratnam Uthaiyashankar >> wrote: >> > $subject. It tries to create a symlink with "ln". This is not valid in >> > windows. Please fix this. >> >> Note that ant symlink task can work only in unix based platforms[1]. >> >> >> [1] http://ant.apache.org/manual/Tasks/symlink.html >> >> >> > >> > [ERROR] Failed to execute goal >> > org.apache.maven.plugins:maven-antrun-plugin:1.7:run (default) on >> > project hive-deploy: An Ant BuildException has occured: The following >> > error occurred while executing th >> > is line: >> > [ERROR] >> E:\src\java\carbon_trunk\platform\dependencies\hive\build.xml:520: >> > Could not launch ln: java.io.IOException: Cannot run program "ln": >> > CreateProcess error=2, The system cannot find the file spe >> > cified >> > [ERROR] around Ant part ...> > >> antfile="E:\src\java\carbon_trunk\platform\dependencies\hive\deploy/../build.xml" >> > target="package">... @ 4:107 in >> > E:\src\java\carbon_trunk\platform\dependencies\hive\de >> > ploy\target\antrun\build-main.xml >> > [ERROR] -> [Help 1] >> > [ERROR] >> > [ERROR] To see the full stack trace of the errors, re-run Maven with >> > the -e switch. >> > [ERROR] Re-run Maven using the -X switch to enable full debug logging. >> > [ERROR] >> > [ERROR] For more information about the errors and possible solutions, >> > please read the following articles: >> > [ERROR] [Help 1] >> > http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException >> > >> > >> > -- >> > S.Uthaiyashankar >> > Senior Software Architect >> > Chair, Management Committee – Cloud Technologies >> > WSO2 Inc. >> > http://wso2.com/ - "lean . enterprise . middleware" >> > >> > Phone: +94 714897591 >> >> >> >> -- >> S.Uthaiyashankar >> Senior Software Architect >> Chair, Management Committee – Cloud Technologies >> WSO2 Inc. >> http://wso2.com/ - "lean . enterprise . middleware" >> >> Phone: +94 714897591 >> ___ >> 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 > > -- Chintana Wilamuna Associate Technical Lead WSO2, Inc.; http://wso2.com lean.enterprise.middleware phone: +94 75 211 1106 blog: http://engwar.com/ photos: http://flickr.com/photos/chintana linkedin: http://www.linkedin.com/in/engwar twitter: twitter.com/std_err ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
[Dev] Build failure on trunk when building Cassandra component
Hi, I'm getting the following error, [INFO] [INFO] BUILD FAILURE [INFO] [INFO] Total time: 2:30:17.297s [INFO] Finished at: Fri May 11 19:05:18 PDT 2012 [INFO] Final Memory: 3094M/3781M [INFO] [ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:2.3.2:compile (default-compile) on project org.wso2.carbon.cassandra.mgt.ui: Compilation failure: Compilation failure: [ERROR] \src\wso2\carbon-trunk\platform\trunk\components\cassandra\org.wso2.carbon.cassandra.mgt.ui\src\main\java\org\wso2\carbon\cassandra\mgt\ui\CassandraExplorerAdminClient.java:[159,32] cannot find symbol [ERROR] symbol : method paginate(java.lang.String,java.lang.String,java.lang.String,int,int) [ERROR] location: class org.wso2.carbon.cassandra.mgt.stub.explorer.CassandraExplorerAdminStub [ERROR] \src\wso2\carbon-trunk\platform\trunk\components\cassandra\org.wso2.carbon.cassandra.mgt.ui\src\main\java\org\wso2\carbon\cassandra\mgt\ui\CassandraExplorerAdminClient.java:[164,32] cannot find symbol [ERROR] symbol : method getNoOfColumns(java.lang.String,java.lang.String,java.lang.String) [ERROR] location: class org.wso2.carbon.cassandra.mgt.stub.explorer.CassandraExplorerAdminStub [ERROR] \src\wso2\carbon-trunk\platform\trunk\components\cassandra\org.wso2.carbon.cassandra.mgt.ui\src\main\java\org\wso2\carbon\cassandra\mgt\ui\CassandraExplorerAdminClient.java:[170,32] cannot find symbol [ERROR] symbol : method searchColumns(java.lang.String,java.lang.String,java.lang.String,java.lang.String,int,int) [ERROR] location: class org.wso2.carbon.cassandra.mgt.stub.explorer.CassandraExplorerAdminStub [ERROR] \src\wso2\carbon-trunk\platform\trunk\components\cassandra\org.wso2.carbon.cassandra.mgt.ui\src\main\java\org\wso2\carbon\cassandra\mgt\ui\CassandraExplorerAdminClient.java:[177,32] cannot find symbol [ERROR] symbol : method getNoSearchResults(java.lang.String,java.lang.String,java.lang.String,java.lang.String) [ERROR] location: class org.wso2.carbon.cassandra.mgt.stub.explorer.CassandraExplorerAdminStub [ERROR] -> [Help 1] [ERROR] [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch. [ERROR] Re-run Maven using the -X switch to enable full debug logging. [ERROR] [ERROR] For more information about the errors and possible solutions, please read the following articles: [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException [ERROR] [ERROR] After correcting the problems, you can resume the build with the command [ERROR] mvn -rf :org.wso2.carbon.cassandra.mgt.ui C:\src\wso2\carbon-trunk\platform\trunk> -Chintana -- Chintana Wilamuna Associate Technical Lead WSO2, Inc.; http://wso2.com lean.enterprise.middleware phone: +94 75 211 1106 blog: http://engwar.com/ photos: http://flickr.com/photos/chintana linkedin: http://www.linkedin.com/in/engwar twitter: twitter.com/std_err ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
Re: [Dev] Error when trying to do an svn up
Got it fixed after deleting everything inside resources/dataservices and taking an up. -Chintana On Mon, May 21, 2012 at 1:21 PM, Kasun Weranga wrote: > Hi Chintana, > > I checked this by getting svn up in > trunk/features/bam/org.wso2.carbon.bam.server.feature. But I didn't get > that error. > > Thanks, > KasunW. > > > On Mon, May 21, 2012 at 8:17 PM, Chintana Wilamuna wrote: > >> Hi, >> >> I'm consistently getting the following error (screenshot attached) >> message when trying to do an svn up. Am I the only one getting this error? >> I'm on a fairly fast connection. >> >> -Chintana >> >> -- >> Chintana Wilamuna >> Associate Technical Lead >> WSO2, Inc.; http://wso2.com >> lean.enterprise.middleware >> >> phone: +94 75 211 1106 >> blog: http://engwar.com/ >> photos: http://flickr.com/photos/chintana >> linkedin: http://www.linkedin.com/in/engwar >> twitter: twitter.com/std_err >> >> >> ___ >> Dev mailing list >> Dev@wso2.org >> http://wso2.org/cgi-bin/mailman/listinfo/dev >> >> > > -- Chintana Wilamuna Associate Technical Lead WSO2, Inc.; http://wso2.com lean.enterprise.middleware phone: +94 75 211 1106 blog: http://engwar.com/ photos: http://flickr.com/photos/chintana linkedin: http://www.linkedin.com/in/engwar twitter: twitter.com/std_err ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
[Dev] Multiple errors when starting up G-Reg - trunk build
(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) 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.core.init.CarbonServerManager.initializeCarbon(CarbonServerManager.java:499) at org.wso2.carbon.core.init.CarbonServerManager.removePendingItem(CarbonServerManager.java:288) at org.wso2.carbon.core.init.PreAxis2ConfigItemListener.bundleChanged(PreAxis2ConfigItemListener.java:118) at org.eclipse.osgi.framework.internal.core.BundleContextImpl.dispatchEvent(BundleContextImpl.java:847) at org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:230) at org.eclipse.osgi.framework.eventmgr.EventManager$EventThread.run(EventManager.java:340) Caused by: 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.(IdentityConfigParser.java:53) ... 52 more I'm starting with offset 1. -Chintana -- Chintana Wilamuna Associate Technical Lead WSO2, Inc.; http://wso2.com lean.enterprise.middleware phone: +94 75 211 1106 blog: http://engwar.com/ photos: http://flickr.com/photos/chintana linkedin: http://www.linkedin.com/in/engwar twitter: twitter.com/std_err ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
Re: [Dev] Multiple errors when starting up G-Reg - trunk build
Sorry I didn't see the mail Nuwan has sent about the same error. -Chintana On Mon, May 21, 2012 at 7:12 PM, Sameera Jayasoma wrote: > Hi Chinthana, > > On Mon, May 21, 2012 at 9:32 PM, Chintana Wilamuna wrote: > >> Hi, >> >> When I start G-Reg built from trunk I see the following error, >> >> [2012-05-21 17:24:37,803] ERROR >> {org.wso2.carbon.utils.deployment.Axis2ServiceRegistry} - Error building >> service from bundle : Symbolic Name: org.wso2.carbon.core.services,Bundle >> Version: 4.0.0.SNAPSHOT, ID: 157 >> org.apache.axis2.deployment.DeploymentException: The system cannot find >> the axis2.xml file. >> at >> org.apache.axis2.deployment.ServiceGroupBuilder.populateServiceGroup(ServiceGroupBuilder.java:106) >> at >> org.wso2.carbon.utils.deployment.Axis2ServiceRegistry.addServices(Axis2ServiceRegistry.java:217) >> at >> org.wso2.carbon.utils.deployment.Axis2ServiceRegistry.register(Axis2ServiceRegistry.java:102) >> at >> org.wso2.carbon.utils.deployment.Axis2ServiceRegistry.register(Axis2ServiceRegistry.java:89) >> at >> org.wso2.carbon.core.init.CarbonServerManager.initializeCarbon(CarbonServerManager.java:465) >> at >> org.wso2.carbon.core.init.CarbonServerManager.removePendingItem(CarbonServerManager.java:288) >> at >> org.wso2.carbon.core.init.PreAxis2ConfigItemListener.bundleChanged(PreAxis2ConfigItemListener.java:118) >> at >> org.eclipse.osgi.framework.internal.core.BundleContextImpl.dispatchEvent(BundleContextImpl.java:847) >> at >> org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:230) >> at >> org.eclipse.osgi.framework.eventmgr.EventManager$EventThread.run(EventManager.java:340) >> Caused by: org.apache.axis2.deployment.DeploymentException: The system >> cannot find the axis2.xml file. >> at >> org.apache.axis2.deployment.ServiceBuilder.populateService(ServiceBuilder.java:441) >> at >> org.apache.axis2.deployment.ServiceGroupBuilder.populateServiceGroup(ServiceGroupBuilder.java:101) >> ... 9 more >> Caused by: org.apache.axis2.deployment.DeploymentException: The system >> cannot find the axis2.xml file. >> at >> org.apache.axis2.deployment.DescriptionBuilder.processParameters(DescriptionBuilder.java:555) >> at >> org.apache.axis2.deployment.ServiceBuilder.populateService(ServiceBuilder.java:124) >> ... 10 more >> >> > This is a known error. Pradeep is working on this. Following issue is > seems to be a similar one. All the issues are related to config file > reading. Look like these are due to recent security fixes. > > Thanks, > Sameera. > > > > >> Then later on following is thrown, >> [2012-05-21 17:24:45,584] ERROR >> {org.wso2.carbon.identity.core.util.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.(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.equin
Re: [Dev] JAVA_HOME problem while running integration tests
If you're using Ubuntu the recommended place to put user environment variables is ~/.pam_environment - https://help.ubuntu.com/community/EnvironmentVariables Probably your integration tests are spawned using another shell than bash. Can you try to put JAVA_HOME into ~/.pam_environment like below, JAVA_HOME DEFAULT=/home/chamara/Programs/Java1.6/jdk1.6.0_45 PATH DEFAULT=${JAVA_HOME}/bin:${PATH} -Chintana On Wed, Nov 6, 2013 at 12:50 AM, Chamara Ariyarathne wrote: > I have set JAVA_HOME in my machine as following in the ~/.bashrc > > export JAVA_HOME=/home/chamara/Programs/Java1.6/jdk1.6.0_45 > export PATH=$PATH:$JAVA_HOME/bin > > And variables set in the machine are; > > $ echo $JAVA_HOME > /home/chamara/Programs/Java1.6/jdk1.6.0_45 > > $ echo $PATH > > /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/home/chamara/Programs/Java1.6/jdk1.6.0_45/bin > > In the ESB_HOME/bin/wso2server.sh when the following configuration is > present > > echo $JAVA_HOME > if [ -z "$JAVACMD" ] ; then > if [ -n "$JAVA_HOME" ] ; then > if [ -x "$JAVA_HOME/jre/sh/java" ] ; then > # IBM's JDK on AIX uses strange locations for the executables > JAVACMD="$JAVA_HOME/jre/sh/java" > else > JAVACMD="$JAVA_HOME/bin/java"; LINE 117 > fi > else > JAVACMD=java > fi > fi > > if [ ! -x "$JAVACMD" ] ; then > echo "Error: JAVA_HOME is not defined correctly." > echo " CARBON cannot execute $JAVACMD" > exit 1 > fi > > I can start the esb server without any error. But when I try to run > integration tests the following error comes > > [2013-11-06 05:40:44,488] INFO > {org.wso2.carbon.automation.core.utils.coreutils.InputStreamHandler} - > /home/chamara/Programs/Java1.6/jdk1.6.0_45/bin/java > [2013-11-06 05:40:44,490] INFO > {org.wso2.carbon.automation.core.utils.coreutils.InputStreamHandler} - > Error: JAVA_HOME is not defined correctly. > [2013-11-06 05:40:44,490] INFO > {org.wso2.carbon.automation.core.utils.coreutils.InputStreamHandler} - > CARBON cannot execute > /home/chamara/Programs/Java1.6/jdk1.6.0_45/bin/java/bin/java > > But if I modify the wso2server.sh as following; in the line 117; > > JAVACMD="$JAVA_HOME" > > Then I can run the integration tests. > > What is the problem here? Is it due to some wrong java related > configuration in my machine? > > -- > *Chamara Ariyarathne* > Senior Software Engineer - QA; > WSO2 Inc; http://www.wso2.com/. > Mobile; *+94772786766 <%2B94772786766>* > > ___ > Dev mailing list > Dev@wso2.org > http://wso2.org/cgi-bin/mailman/listinfo/dev > > -- Chintana Wilamuna Architect - Solution Architecture WSO2, Inc.; http://wso2.com lean.enterprise.middleware phone: +94 72 145 4545 blog: http://engwar.com/ photos: http://flickr.com/photos/chintana linkedin: http://www.linkedin.com/in/engwar twitter: twitter.com/std_err ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
Re: [Dev] Developer Studio 3.3.0 Alpha 3 Released!
t;>while deserializing HTTP endpoint >>>>>- [TOOLS-2093 <https://wso2.org/jira/browse/TOOLS-2093>] - DevS >>>>>removes the target sequence from the Iterate mediator >>>>>- [TOOLS-2094 <https://wso2.org/jira/browse/TOOLS-2094>] - Remove >>>>>Create New Synapse Config option in wizard since new editor does not >>>>>support >>>>>- [TOOLS-2103 <https://wso2.org/jira/browse/TOOLS-2103>] - AF >>>>>perspective should close if user cancel the login window >>>>>- [TOOLS-2108 <https://wso2.org/jira/browse/TOOLS-2108>] - Save >>>>>credential option does not functioning properly >>>>>- [TOOLS-2110 <https://wso2.org/jira/browse/TOOLS-2110>] - >>>>>Null-Pointer Exception while open proxy-services >>>>> >>>>> Task >>>>> >>>>>- [TOOLS-2081 <https://wso2.org/jira/browse/TOOLS-2081>] - Rename >>>>>Carbon Applications to Composite Applications >>>>> >>>>> Sub-task >>>>> >>>>>- [TOOLS-1227 <https://wso2.org/jira/browse/TOOLS-1227>] - Can not >>>>>configure target related configs via UI in iterate mediator and dose >>>>> not >>>>>serialize the target attributes. >>>>>- [TOOLS-1715 <https://wso2.org/jira/browse/TOOLS-1715>] - Support >>>>>for HTTP Endpoint >>>>>- [TOOLS-1891 <https://wso2.org/jira/browse/TOOLS-1891>] - require >>>>>statement >>>>>- [TOOLS-2069 <https://wso2.org/jira/browse/TOOLS-2069>] - list of >>>>>statement when press ctrl + space >>>>>- [TOOLS-2070 <https://wso2.org/jira/browse/TOOLS-2070>] - list >>>>>down the jaggery Built-ins variables >>>>>- [TOOLS-2071 <https://wso2.org/jira/browse/TOOLS-2071>] - Syntax >>>>>Coloring to special keywords >>>>>- [TOOLS-2077 <https://wso2.org/jira/browse/TOOLS-2077>] - list >>>>>down the Built-ins methods >>>>>- [TOOLS-2079 <https://wso2.org/jira/browse/TOOLS-2079>] - Code >>>>>assistance Doc for Built-ins variables >>>>>- [TOOLS-2080 <https://wso2.org/jira/browse/TOOLS-2080>] - Code >>>>>Assistance doc for built-ins methods >>>>> >>>>> Wish >>>>> >>>>>- [TOOLS-1916 <https://wso2.org/jira/browse/TOOLS-1916>] - Out of >>>>>the box IntelliJ support >>>>> >>>>> Your feedbacks are most welcome. Please report issues at [3] and >>>>> specify the affect version as 3.3.0 Alpha 3. >>>>> >>>>> [1] >>>>> http://builder1.us1.wso2.org/~developerstudio/developer-studio/3.3.0/Alpha3/wso2-developer-studio_3.3.0.zip >>>>> [2] >>>>> http://builder1.us1.wso2.org/~developerstudio/developer-studio/3.3.0/Alpha3/installed-distributions/ >>>>> [3] https://wso2.org/jira/browse/TOOLS >>>>> >>>>> >>>>> Thanks and Regards, >>>>> WSO2 Developer Studio Team. >>>>> >>>>> >>>>> -- >>>>> *Asanka Sanjeewa* >>>>> Senior Software Engineer >>>>> Mobile: +94772532924 >>>>> WSO2 Inc. http://wso2.com/ >>>>> Blog: http://asanka-tech-blog.blogspot.com/ >>>>> >>>>> >>>>> ___ >>>>> Dev mailing list >>>>> Dev@wso2.org >>>>> http://wso2.org/cgi-bin/mailman/listinfo/dev >>>>> >>>>> >>>> >>>> ___ >>>> Dev mailing list >>>> Dev@wso2.org >>>> http://wso2.org/cgi-bin/mailman/listinfo/dev >>>> >>>> >>> >>> >>> -- >>> >>> Harshana Martin >>> Associate Technical Lead >>> WSO2 Inc. : http://wso2.com >>> >>> Mobile: +94 775 998 115 >>> Profile: https://www.google.com/profiles/harshana05 >>> Blog: http://harshana05.blogspot.com >>> Twitter: http://twitter.com/harshana05 >>> >>> >> > > > -- > > Harshana Martin > Associate Technical Lead > WSO2 Inc. : http://wso2.com > > Mobile: +94 775 998 115 > Profile: https://www.google.com/profiles/harshana05 > Blog: http://harshana05.blogspot.com > Twitter: http://twitter.com/harshana05 > > > ___ > Dev mailing list > Dev@wso2.org > http://wso2.org/cgi-bin/mailman/listinfo/dev > > -- Chintana Wilamuna Architect - Solution Architecture WSO2, Inc.; http://wso2.com lean.enterprise.middleware phone: +94 72 145 4545 blog: http://engwar.com/ photos: http://flickr.com/photos/chintana linkedin: http://www.linkedin.com/in/engwar twitter: twitter.com/std_err ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
[Dev] org.wso2.carbon.context 4.2.0 JAR missing in Nexus
Hi, Can we please publish the org.wso2.carbon.context 4.2.0 JAR to nexus? Seems the JAR is not there in http://maven.wso2.org/nexus/content/groups/wso2-public/org/wso2/carbon/org.wso2.carbon.context/ -Chintana -- Chintana Wilamuna Architect - Solution Architecture WSO2, Inc.; http://wso2.com lean.enterprise.middleware phone: +94 72 145 4545 blog: http://engwar.com/ photos: http://flickr.com/photos/chintana linkedin: http://www.linkedin.com/in/engwar twitter: twitter.com/std_err ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
Re: [Dev] Configuration location for jaggery apps
First of all I think the subject of the mail is a bit misleading or my understanding of Jaggery is incomplete. Jaggery, to me should always be like PHP or NodeJS. There shouldn't be any impose from the platform for rigid config locations. This comes from the Java app server mindset. Application developer should have the freedom to have any config file in any format anywhere. Is it not? -Chintana On Fri, Apr 18, 2014 at 10:37 AM, Manuranga Perera wrote: > *Current Implementation* > We currently keep configuration files for jaggery apps within the app > itself (eg: site.json). > > *Issue with Current Implementation* > But this is creating some difficulties in multi environment deployments. > Since the configuration files will contain some environment specific > information (eg: SSO IDP URL), this makes the artifacts un-portable across > environments. > > *Suggested Solution* > We can implement a mechanism where the configuration is read from an > outside location (eg: repository/conf) at deployment time and keep it in > the application context and reuse it. > > > Let's discuss the feasibility of this solution. alternative solutions are > welcome. > > -- > With regards, > *Manu*ranga Perera. > > phone : 071 7 70 20 50 > mail : m...@wso2.com > > ___ > Dev mailing list > Dev@wso2.org > http://wso2.org/cgi-bin/mailman/listinfo/dev > > -- Chintana Wilamuna Architect - Solutions Architecture WSO2, Inc.; http://wso2.com lean.enterprise.middleware phone: +94 72 145 4545 blog: http://engwar.com/ photos: http://flickr.com/photos/chintana linkedin: http://www.linkedin.com/in/engwar twitter: twitter.com/std_err ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
[Dev] API Manager build error
Hi, I'm trying to build 4.0.7 patch release of API Manager. I've built all components and features. I'm getting the following error when I'm building the patch release, Installation failed.Cannot complete the install because one or more required items could not be found. Software being installed: WSO2 Carbon - Mediation Tracer Feature 4.0.0 (org.wso2.carbon.mediation.tracer.feature.group 4.0.0) Missing requirement: org.wso2.carbon.mediation.tracer 4.0.0 (org.wso2.carbon.mediation.tracer 4.0.0) requires 'package org.apache.log4j [4.0.0,5.0.0)' but it could not be found Cannot satisfy dependency: From: WSO2 Carbon - Mediation Tracer Feature 4.0.0 (org.wso2.carbon.mediation.tracer.feature.group 4.0.0) To: org.wso2.carbon.mediation.tracer.server.feature.group [4.0.0] Cannot satisfy dependency: From: WSO2 Carbon - Mediation Tracer Core Feature 4.0.0 (org.wso2.carbon.mediation.tracer.server.feature.group 4.0.0) To: org.wso2.carbon.mediation.tracer [4.0.0] Application failed, log file location: C:\Users\Chintana\.m2\repository\org\eclipse\tycho\tycho-p2-runtime\0.13.0\eclipse\configuration\1360733084954.log Attaching the 1360733084954.log file. Any idea what's wrong? I tried to delete mediation tracer features from .m2 but it gives the same result. -Chintana -- Chintana Wilamuna Senior Technical Lead WSO2, Inc.; http://wso2.com lean.enterprise.middleware phone: +94 72 145 4545 blog: http://engwar.com/ photos: http://flickr.com/photos/chintana linkedin: http://www.linkedin.com/in/engwar twitter: twitter.com/std_err 1360733084954.log Description: Binary data ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
Re: [Dev] Does the XSLT mediator in ESB support XPath 2.0
gt;>>>>>> On Thu, Jun 21, 2012 at 3:46 PM, Nipuni Perera wrote: >>>>>>> >>>>>>>> Hi All, >>>>>>>> >>>>>>>> I have tried xml transformation in ESB. But it gave me the >>>>>>>> following error for xslt function "distinct-values" >>>>>>>> >>>>>>>> ERROR - XSLTMediator Fatal error occurred in stylesheet parsing : >>>>>>>> javax.xml.transform.TransformerException: Could not find function: >>>>>>>> distinct-values >>>>>>>> >>>>>>>> Thanks, >>>>>>>> Nipuni >>>>>>>> >>>>>>>> ___ >>>>>>>> Dev mailing list >>>>>>>> Dev@wso2.org >>>>>>>> http://wso2.org/cgi-bin/mailman/listinfo/dev >>>>>>>> >>>>>>>> >>>>>>> >>>>>> >>>>> >>>>> ___ >>>>> 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/ >>>> * <http://www.apache.org/>** >>>> email: **az...@wso2.com* * cell: +94 77 3320919 >>>> blog: **http://blog.afkham.org* <http://blog.afkham.org>* >>>> twitter: >>>> **http://twitter.com/afkham_azeez*<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 >>>> >>>> >>> >>> >>> -- >>> Achala Aponso >>> Software Engineer; WSO2 Inc.; http://wso2.com, >>> Email: ach...@wso2.com Mobile: +94 (77) 5234925 >>> Blog: http://achala11.blogspot.com/ >>> >>> >>> >>> ___ >>> Dev mailing list >>> Dev@wso2.org >>> http://wso2.org/cgi-bin/mailman/listinfo/dev >>> >>> >> > > ___ > Dev mailing list > Dev@wso2.org > http://wso2.org/cgi-bin/mailman/listinfo/dev > > -- Chintana Wilamuna Senior Technical Lead WSO2, Inc.; http://wso2.com lean.enterprise.middleware phone: +94 75 211 1106 blog: http://engwar.com/ photos: http://flickr.com/photos/chintana linkedin: http://www.linkedin.com/in/engwar twitter: twitter.com/std_err ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
Re: [Dev] [Architecture] [ANN] WSO2 API Manager 1.0.0-Beta2 Released
is not working on newly added APIs >- [APISTORE-509 <https://wso2.org/jira/browse/APISTORE-509>] - Error >when generating keys >- [APISTORE-515 <https://wso2.org/jira/browse/APISTORE-515>] - Unable >to add APIs when the registry is mounted (JDBC mounts) >- [APISTORE-516 <https://wso2.org/jira/browse/APISTORE-516>] - Error >with Replicated Caching > > Improvement > >- [APISTORE-425 <https://wso2.org/jira/browse/APISTORE-425>] - >Implement Endpoint URL Validation, Sandbox URL Validation, WSDL Validation >and WADL Validation for Add New API >- [APISTORE-429 <https://wso2.org/jira/browse/APISTORE-429>] - >Oracle/mysql script for oauth2 tables >- [APISTORE-430 <https://wso2.org/jira/browse/APISTORE-430>] - Confirm >statistics functionality working with BAM-2.0.0-M6 release >- [APISTORE-440 <https://wso2.org/jira/browse/APISTORE-440>] - >org.wso2.carbon.apimgt.handlers.security.APIAuthenticationHandler directly >accesses the API Manager DB for Key verification >- [APISTORE-461 <https://wso2.org/jira/browse/APISTORE-461>] - Add >500/404 error pages to both APIStore/APIProvider apps >- [APISTORE-462 <https://wso2.org/jira/browse/APISTORE-462>] - Keep >user permissions in session >- [APISTORE-490 <https://wso2.org/jira/browse/APISTORE-490>] - >Improvemet to Oracle Database Script- [Login to APIStore as a subscriber >fails with Oracle] >- [APISTORE-493 <https://wso2.org/jira/browse/APISTORE-493>] - >[API-Store] - The Application list is not ordered > > New Feature > >- [APISTORE-502 <https://wso2.org/jira/browse/APISTORE-502>] - Support >MySQL as API Manager's database >- [APISTORE-503 <https://wso2.org/jira/browse/APISTORE-503>] - Support >Oracle for API Manager database > > > -- > Hiranya Jayathilaka > Senior Technical Lead; > WSO2 Inc.; http://wso2.org > E-mail: hira...@wso2.com; Mobile: +94 77 633 3491 > Blog: http://techfeast-hiranya.blogspot.com > > ___ > Architecture mailing list > architect...@wso2.org > https://mail.wso2.org/cgi-bin/mailman/listinfo/architecture > > -- Chintana Wilamuna Senior Technical Lead WSO2, Inc.; http://wso2.com lean.enterprise.middleware phone: +94 75 211 1106 blog: http://engwar.com/ photos: http://flickr.com/photos/chintana linkedin: http://www.linkedin.com/in/engwar twitter: twitter.com/std_err ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
Re: [Dev] [Architecture] [ANN] WSO2 API Manager 1.0.0-Beta2 Released
Didn't knew I need to run ant inside bin dir. Works fine after that. May be we can add it to the README? -Chintana On Tue, Jul 24, 2012 at 10:04 AM, Chintana Wilamuna wrote: > I'm trying to run the TwitterSearch sample on this. When I try to run ant > inside /samples/Data it says, > > BUILD FAILED > /home/chintana/wso2am-1.0.0-Beta2/samples/Data/build.xml:49: > /home/chintana/wso2am-1.0.0-Beta2/repository/lib does not exist. > > There's no directory called lib inside repository. > > -Chintana > > On Fri, Jul 20, 2012 at 10:24 PM, Hiranya Jayathilaka wrote: > >> WSO2 API Manager team is pleased to announce the 1.0.0-Beta2 release of >> the world's first open source API management platform. This release is now >> available for download at >> http://dist.wso2.org/products/api-manager/1.0.0-beta-2/wso2am-1.0.0-Beta2.zip. >> This distribution contains several improvements over the Beta1 release >> including support for latest BAM analytics features, remote registry >> integration and support for database engines like Oracle and MySQL. >> >> WSO2 API Manager is a platform for creating, managing, consuming and >> monitoring APIs. It employs tried and tested SOA best practices to solve >> a wide range of API management challenges such as API provisioning, API >> governance and API security. WSO2 API Manager combines some of the most >> powerful and mature components of the WSO2 Carbon platform to deliver a >> smooth and end-to-end API management experience while catering to both API >> publisher and API consumer needs. WSO2 API Manager is released under the >> Apache >> Software License 2.0 <http://www.apache.org/licenses/LICENSE-2.0>. >> >> *Key Features* >> >> For API authors and publishers: >> >>- Publish APIs to external consumers and partners, as well as >>internal users; SOAP and REST services are supported >>- Manage API versions (several versions can be deployed in parallel) >>- Govern the API lifecycle (publish, deprecate, retire) >>- Attach documentation (files, external URLs) to APIs >>- Apply Security policies to APIs (authentication, authorization) >>- Attach SLAs >>- Track consumers per API >>- Monitor API usage, performance and SLA compliance >> >> For API consumers: >> >>- Find useful APIs by browsing or searching through the API Store: >>view top rated, top used and featured APIs >>- Explore API documentation >>- Register applications and obtain API keys >>- Evaluate APIs, rate APIs, and share comments >>- OAuth2 support for API access >> >> *Installing* >> * >> * >> The only prerequisite required to try this release out is an installation >> of JDK 1.6 (Sun/Oracle JDK 1.6.0_23 or higher recommended) >> >>- Download the WSO2 API Manager 1.0.0-Beta2 release from >> >> http://dist.wso2.org/products/api-manager/1.0.0-beta-2/wso2am-1.0.0-Beta2.zip >>- Extract the downloaded archive >>- Go to the 'bin' directory and execute wso2server.sh (Unix/Linux) or >>wso2server.bat (Windows) >>- Point your web browser to https://localhost:9443/publisher or >>https://localhost:9443/store to get started >> >> *How to Run Samples?* >> * >> * >> This release of the WSO2 API Manager comes with 3 complete samples. >> Following steps explain how to get these samples up and running: >> >> 1. Download and extract wso2am-1.0.0-Beta2.zip >> 2. Go to 'samples' folder. >> 3. README.txt inside each of the sample folder provides complete >> instructions on deploying & testing sample scenarios. >> 4. To learn how to configure statistics monitoring, read >> /statistics/README.txt >> >> You need to have Apache Ant 1.8 or higher to run the samples. >> >> *Known Issues* >> >> All the known issues related this release are reported in the WSO2 API >> Manager >> JIRA<https://wso2.org/jira/secure/IssueNavigator.jspa?requestId=10682> >> . >> >> *Bug Fixes and New Features in this Release* >> >> Bug >> >>- [APISTORE-138 <https://wso2.org/jira/browse/APISTORE-138>] - Tier >>Availability drop down does not get populated correctly >>- [APISTORE-327 <https://wso2.org/jira/browse/APISTORE-327>] - >>StatClient BAM initialization script doesn't end process >>- [APISTORE-329 <https://wso2.org/jira/browse/APISTORE-329>] - BAM >>Statistics not available >>- [APISTORE-428 <h
[Dev] Validating AudienceRestriction element in a SAML request using Identity Server
Hi, Can anyone point me where we validate, whether the Identity Server (IdP) is the correct audience for the SP? If you look into org.wso2.carbon.identity.authenticator.saml2.sso.SAML2SSOAuthenticator we only validate the signature. Don't we have to have a mapping where we store for me (the IdP) these are the set of SPs that I know of kinda thing? -Chintana -- Chintana Wilamuna Senior Technical Lead WSO2, Inc.; http://wso2.com lean.enterprise.middleware phone: +94 72 145 4545 blog: http://engwar.com/ photos: http://flickr.com/photos/chintana linkedin: http://www.linkedin.com/in/engwar twitter: twitter.com/std_err ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
Re: [Dev] Compilation failure -org.wso2.carbon.identity.oauth/4.0.2/
re: >>> [ERROR] >>> /home/ajithn/wso2/build/branches/releases/4.0.2/platform/4.0.0/components/identity/org.wso2.carbon.identity.oauth/4.0.2/src/main/java/org/wso2/carbon/identity/oauth2/token/AccessTokenIssuer.java:[81,40] >>> cannot find symbol >>> [ERROR] symbol : variable SAML20_BEARER_ASSERTION >>> [ERROR] location: class >>> org.apache.amber.oauth2.common.message.types.GrantType >>> [ERROR] >>> /home/ajithn/wso2/build/branches/releases/4.0.2/platform/4.0.0/components/identity/org.wso2.carbon.identity.oauth/4.0.2/src/main/java/org/wso2/carbon/identity/oauth/config/OAuthServerConfiguration.java:[450,37] >>> cannot find symbol >>> [ERROR] symbol : variable SAML20_BEARER_ASSERTION >>> [ERROR] location: class >>> org.apache.amber.oauth2.common.message.types.GrantType >>> [ERROR] -> [Help 1] >>> [ERROR] >>> [ERROR] To see the full stack trace of the errors, re-run Maven with the >>> -e switch. >>> [ERROR] Re-run Maven using the -X switch to enable full debug logging. >>> [ERROR] >>> [ERROR] For more information about the errors and possible solutions, >>> please read the following articles: >>> [ERROR] [Help 1] >>> http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException >>> [ERROR] >>> [ERROR] After correcting the problems, you can resume the build with the >>> command >>> [ERROR] mvn -rf :org.wso2.carbon.identity.oauth >>> >>> >>> Thanks >>> Ajithn >>> >>> >>> -- >>> Ajith Vitharana. >>> WSO2 Inc. - http://wso2.org >>> Email : aji...@wso2.com >>> Mobile : +94714631794 >>> >>> >>> >>> ___ >>> Dev mailing list >>> Dev@wso2.org >>> http://wso2.org/cgi-bin/mailman/listinfo/dev >>> >>> >> >> >> -- >> Lalaji Sureshika >> Software Engineer; Development Technologies Team;WSO2, Inc.; >> http://wso2.com/ >> email: lal...@wso2.com; cell: +94 71 608 6811 >> blog: http://lalajisureshika.blogspot.com >> >> >> >> >> ___ >> Dev mailing list >> Dev@wso2.org >> http://wso2.org/cgi-bin/mailman/listinfo/dev >> >> > > > -- > Thanks & Regards, > Prabath > > Mobile : +94 71 809 6732 > > http://blog.facilelogin.com > http://RampartFAQ.com > > > ___ > Dev mailing list > Dev@wso2.org > http://wso2.org/cgi-bin/mailman/listinfo/dev > > -- Chintana Wilamuna Senior Technical Lead WSO2, Inc.; http://wso2.com lean.enterprise.middleware phone: +94 72 145 4545 blog: http://engwar.com/ photos: http://flickr.com/photos/chintana linkedin: http://www.linkedin.com/in/engwar twitter: twitter.com/std_err ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
Re: [Dev] Getting Summary Data out of BAM
Since it's an RDBMS thing, you can slap a DSS in front of it if you need to access through services. Mobile clients? No problem, DSS can do JSON. Are you talking about a Java API? -Chintana On Sat, Oct 20, 2012 at 10:14 AM, Senaka Fernando wrote: > Hi Tharindu, > > No, that is too abstract. "You can write Java-code and build your > integration around BAM" is not an acceptable answer for a user or an > integrator working with the BAM product. If we have standardized a way to > build gadgets to display the data, the same should be repeatable to produce > some APIs to access this data. I see a lot of usefulness in doing this. For > example, > > 1. If I want to correlate statistics reported on BAM with services or > other assets in the repository I can do that if I had some access to the > runtime data. > 2. If I wanted to build some mobile applications that consumes these data, > I need not build my own data harvesting layer. > > We might not need an immediate solution to address this problem, but IMHO > we should not consider that everything in BAM boils down to mechanisms to > build some gadgets that end up on a portal. As per the current trends, most > organizations would be interested in building and publicizing APIs compared > to building dashboards. Mobile and/or other application developers will > think about how to create UIs out of them. > > Thanks, > Senaka. > > On Sat, Oct 20, 2012 at 3:44 PM, Tharindu Mathew wrote: > >> We've found a great new API for this. I think it's called jdbc. ;-) >> On Oct 20, 2012 3:02 AM, "Senaka Fernando" wrote: >> >>> Hi Kasun, >>> >>> Well in that case, we seem to have a gap there. You can access the >>> database means we don't have an API for it. While we can develop extensions >>> to get the job done on a case-by-case basis, I don't think this is a >>> compelling answer. >>> >>> Thanks, >>> Senaka. >>> >>> On Sat, Oct 20, 2012 at 3:21 PM, Kasun Weranga wrote: >>> >>>> >>>> On Sat, Oct 20, 2012 at 2:59 PM, Senaka Fernando wrote: >>>> >>>>> Hi all, >>>>> >>>>> Say I've write a BAM toolbox which does everything from collecting, >>>>> summarizing and displaying on dashboard. Now, is there an API I can use to >>>>> access this data (what gets displayed in the gadgets) so that I can use it >>>>> outside of BAM? For example, in small Java Client or a Validation in a >>>>> G-Reg lifecycle. >>>>> >>>> >>>> We store summarized data in RDBMS, then the gadgets will collect those >>>> data from the database. So If you want, you can directly access the >>>> database to get the summarized data. >>>> >>>> Thanks, >>>> KasunW. >>>> >>>> >>>>> Thanks, >>>>> Senaka. >>>>> >>>>> -- >>>>> *Senaka Fernando* >>>>> Member - Integration Technologies Management Committee; >>>>> Technical Lead; WSO2 Inc.; http://wso2.com* >>>>> Member; Apache Software Foundation; http://apache.org >>>>> >>>>> E-mail: senaka AT wso2.com >>>>> **P: +1 408 754 7388; ext: 51736*; *M: +94 77 322 1818 >>>>> Linked-In: http://linkedin.com/in/senakafernando >>>>> >>>>> *Lean . Enterprise . Middleware >>>>> >>>>> >>>> >>>> >>>> -- >>>> *Kasun Weranga* >>>> Software Engineer >>>> ** >>>> *WSO2, Inc. >>>> *lean.enterprise.middleware. >>>> mobile : +94 772314602 >>>> <http://sanjeewamalalgoda.blogspot.com/>blog >>>> :<http://sanjeewamalalgoda.blogspot.com/> >>>> http://kasunweranga.blogspot.com/ >>>> >>> >>> >>> >>> -- >>> *Senaka Fernando* >>> Member - Integration Technologies Management Committee; >>> Technical Lead; WSO2 Inc.; http://wso2.com* >>> Member; Apache Software Foundation; http://apache.org >>> >>> E-mail: senaka AT wso2.com >>> **P: +1 408 754 7388; ext: 51736*; *M: +94 77 322 1818 >>> Linked-In: http://linkedin.com/in/senakafernando >>> >>> *Lean . Enterprise . Middleware >>> >>> > > > -- > *Senaka Fernando* > Member - Integration Technologies Management Committee; > Technical Lead; WSO2 Inc.; http://wso2.com* > Member; Apache Software Foundation; http://apache.org > > E-mail: senaka AT wso2.com > **P: +1 408 754 7388; ext: 51736*; *M: +94 77 322 1818 > Linked-In: http://linkedin.com/in/senakafernando > > *Lean . Enterprise . Middleware > > > ___ > Dev mailing list > Dev@wso2.org > http://wso2.org/cgi-bin/mailman/listinfo/dev > > -- Chintana Wilamuna Senior Technical Lead WSO2, Inc.; http://wso2.com lean.enterprise.middleware phone: +94 72 145 4545 blog: http://engwar.com/ photos: http://flickr.com/photos/chintana linkedin: http://www.linkedin.com/in/engwar twitter: twitter.com/std_err ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
[Dev] Why tenant idle time doesn't have a corresponding entry in carbon.xml?
Hi, When you want to pass the tenant idle time, you have to pass it on the command line at server startup like -Dtenant.idle.time. Why is this a startup parameter and not an entry in carbon.xml? -Chintana -- Chintana Wilamuna Senior Technical Lead WSO2, Inc.; http://wso2.com lean.enterprise.middleware phone: +94 72 145 4545 blog: http://engwar.com/ photos: http://flickr.com/photos/chintana linkedin: http://www.linkedin.com/in/engwar twitter: twitter.com/std_err ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
[Dev] Inconsistent class name - ApiMgtDAO.java, should be APIMgtDAO.java
Hi, Shall we rename ApiMgtDAO.java to be consistent with the naming? It's in org.wso2.carbon.apimgt.impl/1.0.0/src/main/java/org/wso2/carbon/apimgt/impl/dao/ApiMgtDAO.java May be in 1.0.2? -Chintana -- Chintana Wilamuna Senior Technical Lead WSO2, Inc.; http://wso2.com lean.enterprise.middleware phone: +94 72 145 4545 blog: http://engwar.com/ photos: http://flickr.com/photos/chintana linkedin: http://www.linkedin.com/in/engwar twitter: twitter.com/std_err ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
[Dev] Have to change CF names generated from data-bridge
Hi, We need to do $subject. As names like this "log.0.Stratos.Application.Server.2012.10.25" exceed the annoying 48 char limit. -Chintana -- Chintana Wilamuna Senior Technical Lead WSO2, Inc.; http://wso2.com lean.enterprise.middleware phone: +94 72 145 4545 blog: http://engwar.com/ photos: http://flickr.com/photos/chintana linkedin: http://www.linkedin.com/in/engwar twitter: twitter.com/std_err ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
Re: [Dev] Have to change CF names generated from data-bridge
Yeah. We need to have shorter names when we create CFs. -Chintana On Thu, Oct 25, 2012 at 4:25 PM, Tharindu Mathew wrote: > Why? This is done to avoid a limitation imposed by Cassandra due to a > limitation of file name length in Windows. You can blame Windows ;) > > On Thu, Oct 25, 2012 at 3:55 PM, Chintana Wilamuna wrote: > >> Hi, >> >> We need to do $subject. As names like this >> "log.0.Stratos.Application.Server.2012.10.25" exceed the annoying 48 char >> limit. >> >> -Chintana >> >> -- >> Chintana Wilamuna >> Senior Technical Lead >> WSO2, Inc.; http://wso2.com >> lean.enterprise.middleware >> >> phone: +94 72 145 4545 >> blog: http://engwar.com/ >> photos: http://flickr.com/photos/chintana >> linkedin: http://www.linkedin.com/in/engwar >> twitter: twitter.com/std_err >> >> >> ___ >> Dev mailing list >> Dev@wso2.org >> http://wso2.org/cgi-bin/mailman/listinfo/dev >> >> > > > -- > Regards, > > Tharindu > > blog: http://mackiemathew.com/ > M: +9459908 > > -- Chintana Wilamuna Senior Technical Lead WSO2, Inc.; http://wso2.com lean.enterprise.middleware phone: +94 72 145 4545 blog: http://engwar.com/ photos: http://flickr.com/photos/chintana linkedin: http://www.linkedin.com/in/engwar twitter: twitter.com/std_err ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
Re: [Dev] Have to change CF names generated from data-bridge
Sorry, not the data-bridge but the LogAppender. -Chintana On Thu, Oct 25, 2012 at 5:13 PM, Chintana Wilamuna wrote: > Yeah. We need to have shorter names when we create CFs. > > -Chintana > > On Thu, Oct 25, 2012 at 4:25 PM, Tharindu Mathew wrote: > >> Why? This is done to avoid a limitation imposed by Cassandra due to a >> limitation of file name length in Windows. You can blame Windows ;) >> >> On Thu, Oct 25, 2012 at 3:55 PM, Chintana Wilamuna wrote: >> >>> Hi, >>> >>> We need to do $subject. As names like this >>> "log.0.Stratos.Application.Server.2012.10.25" exceed the annoying 48 char >>> limit. >>> >>> -Chintana >>> >>> -- >>> Chintana Wilamuna >>> Senior Technical Lead >>> WSO2, Inc.; http://wso2.com >>> lean.enterprise.middleware >>> >>> phone: +94 72 145 4545 >>> blog: http://engwar.com/ >>> photos: http://flickr.com/photos/chintana >>> linkedin: http://www.linkedin.com/in/engwar >>> twitter: twitter.com/std_err >>> >>> >>> _______ >>> Dev mailing list >>> Dev@wso2.org >>> http://wso2.org/cgi-bin/mailman/listinfo/dev >>> >>> >> >> >> -- >> Regards, >> >> Tharindu >> >> blog: http://mackiemathew.com/ >> M: +9459908 >> >> > > > -- > Chintana Wilamuna > Senior Technical Lead > WSO2, Inc.; http://wso2.com > lean.enterprise.middleware > > phone: +94 72 145 4545 > blog: http://engwar.com/ > photos: http://flickr.com/photos/chintana > linkedin: http://www.linkedin.com/in/engwar > twitter: twitter.com/std_err > > -- Chintana Wilamuna Senior Technical Lead WSO2, Inc.; http://wso2.com lean.enterprise.middleware phone: +94 72 145 4545 blog: http://engwar.com/ photos: http://flickr.com/photos/chintana linkedin: http://www.linkedin.com/in/engwar twitter: twitter.com/std_err ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
[Dev] How to write integration tests?
Hi, Does anyone know $subject. Do we not have unit tests now? Can I please get some pointers how to do so? Thanks, -Chintana -- Chintana Wilamuna Senior Technical Lead WSO2, Inc.; http://wso2.com lean.enterprise.middleware phone: +94 72 145 4545 blog: http://engwar.com/ photos: http://flickr.com/photos/chintana linkedin: http://www.linkedin.com/in/engwar twitter: twitter.com/std_err ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
[Dev] IS 5.0.0 travelocity sample not building [was Re: [IS] IS 4.6.0 SSO sample not building]
Hi, Shall we commit this fix to pom.xml in the sample please? Just got bitten by the same and found this out after an hour or so. -Chintana On Fri, May 2, 2014 at 12:46 AM, Shani Ranasinghe wrote: > Hi Johann/Pulasthi, > > Thanks a lot for the information. I think I got it wrong when Ishara gave > me the information offline. Thank you for the help. > > @Pulasthi, thanks for the quick workaround suggested. > > > On Fri, May 2, 2014 at 12:44 AM, Shani Ranasinghe wrote: > >> [Response from Johann] >> >> Please find the built samples from [1]. >> >> If you want to build from source you might have to build the >> org.wso2.carbon.identity.sso.agent jar manually and then build the sample. >> The agent jar 1.1.0 is not hosted in the repo. >> >> [1] https://svn.wso2.org/repos/wso2/people/johann/SSOAgentSampleBinaries/ >> >> >> On Fri, May 2, 2014 at 12:23 AM, Pulasthi Mahawithana > > wrote: >> >>> Hi, >>> >>> It's because of missing parent pom. It's available at the parent >>> directory from there (in svn repo), but it also depends on the its parent, >>> and so on. >>> >>> As a workaround to get the sample build, I removed the parent entry from >>> the pom.xml, and added the groupID and version separately. So the Final pom >>> will be, >>> >>> http://maven.apache.org/POM/4.0.0"; >>> xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; >>> xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 >>> http://maven.apache.org/maven-v4_0_0.xsd";> >>> >>> >>> >>> org.wso2.identity >>> 4.6.0 >>> 4.0.0 >>> wso2is-identity-samples-sso >>> pom >>> Identity Server : SSO Samples >>> >>> >>> SSOAgentSample >>> >>> >>> >>> >>> >>> >>> >>> On Fri, May 2, 2014 at 12:27 PM, Shani Ranasinghe >>> wrote: >>> >>>> Hi, >>>> I am getting the following error when trying to build 4.6.0 travelocity >>>> SSO sample. >>>> >>>> [INFO] Scanning for projects... >>>> [ERROR] The build could not read 1 project -> [Help 1] >>>> [ERROR] >>>> [ERROR] The project >>>> org.wso2.identity:org.wso2.sample.is.sso.agent:1.1.0 >>>> (/customCode/sso/SSOAgentSample/pom.xml) has 1 error >>>> [ERROR] Non-resolvable parent POM for >>>> org.wso2.identity:wso2is-identity-samples-sso:4.6.0: Failure to find >>>> org.wso2.identity:wso2is-identity-samples:pom:4.6.0 in >>>> http://maven.wso2.org/nexus/content/groups/wso2-public/ was cached in >>>> the local repository, resolution will not be reattempted until the update >>>> interval of wso2-nexus has elapsed or updates are forced and >>>> 'parent.relativePath' points at wrong local POM @ >>>> org.wso2.identity:wso2is-identity-samples-sso:4.6.0, >>>> /customCode/sso/pom.xml, line 22, column 13 -> [Help 2] >>>> [ERROR] >>>> [ERROR] To see the full stack trace of the errors, re-run Maven with >>>> the -e switch. >>>> [ERROR] Re-run Maven using the -X switch to enable full debug logging. >>>> [ERROR] >>>> [ERROR] For more information about the errors and possible solutions, >>>> please read the following articles: >>>> [ERROR] [Help 1] >>>> http://cwiki.apache.org/confluence/display/MAVEN/ProjectBuildingException >>>> [ERROR] [Help 2] >>>> http://cwiki.apache.org/confluence/display/MAVEN/UnresolvableModelException >>>> >>>> -- >>>> Thanks and Regards >>>> *,Shani Ranasinghe* >>>> Software Engineer >>>> WSO2 Inc.; http://wso2.com >>>> lean.enterprise.middleware >>>> >>>> mobile: +94 77 2273555 >>>> linked in: lk.linkedin.com/pub/shani-ranasinghe/34/111/ab >>>> >>>> ___ >>>> Dev mailing list >>>> Dev@wso2.org >>>> http://wso2.org/cgi-bin/mailman/listinfo/dev >>>> >>>> >>> >>> >>> -- >>> *Pulasthi Mahawithana* >>> Software Engineer >>> WSO2 Inc., http://wso2.com/ >>> Mobile: +94-71-5179022 >>> >> >> >> >> -- >> Thanks and Regards >> *,Shani Ranasinghe* >> Software Engineer >> WSO2 Inc.; http://wso2.com >> lean.enterprise.middleware >> >> mobile: +94 77 2273555 >> linked in: lk.linkedin.com/pub/shani-ranasinghe/34/111/ab >> > > > > -- > Thanks and Regards > *,Shani Ranasinghe* > Software Engineer > WSO2 Inc.; http://wso2.com > lean.enterprise.middleware > > mobile: +94 77 2273555 > linked in: lk.linkedin.com/pub/shani-ranasinghe/34/111/ab > > ___ > Dev mailing list > Dev@wso2.org > http://wso2.org/cgi-bin/mailman/listinfo/dev > > -- Chintana Wilamuna | Solutions Architect | WSO2 <http://wso2.com/> Inc. 408 429 3321 | http://engwar.com/ ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev