Chintana, I'm not sure if they are related, but I've increased the Memory on my VM to 1.5GB and I'm still getting an OutOfMemory exception running 'mvn clean install'. Is there something I'm missing or some switch to allow for more memory on the command window. Below is my log [1]:
What's also odd is that a lot of my .pom files are coming in as 301 html pages instead of pom xmls. [2] Thanks, Ben Dewey [1] ... Downloading: http://repo1.maven.org/maven2/org/apache/santuario/xmlsec/1.4.1/xml sec-1.4.1.pom [INFO] Unable to find resource 'org.apache.santuario:xmlsec:pom:1.4.1' in reposi tory central (http://repo1.maven.org/maven2) [WARNING] POM for 'com.ibm.icu:icu4j:pom:3.4.1:compile' is invalid. Its dependencies (if any) will NOT be available to the current build. [WARNING] Overriding profile: 'null' (source: pom) with new instance from source : pom [INFO] [compiler:compile] Compiling 2 source files to D:\StockTrader\stocktrader\wsas\identity\org.wso2.ca rbon.identity.stonehenge.attributeservice\target\classes [INFO] ------------------------------------------------------------------------ [ERROR] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Compilation failure Failure executing javac, but could not parse the error: The system is out of resources. Consult the following stack trace for details. java.lang.OutOfMemoryError: Java heap space at java.nio.CharBuffer.wrap(CharBuffer.java:350) at java.nio.CharBuffer.wrap(CharBuffer.java:373) at java.lang.StringCoding$StringDecoder.decode(StringCoding.java:138) at java.lang.StringCoding.decode(StringCoding.java:173) at java.lang.String.<init>(String.java:443) at com.sun.tools.javac.zip.ZipFileIndex$ZipDirectory.readEntry(ZipFileIn dex.java:805) at com.sun.tools.javac.zip.ZipFileIndex$ZipDirectory.buildIndex(ZipFileI ndex.java:720) at com.sun.tools.javac.zip.ZipFileIndex$ZipDirectory.access$000(ZipFileI ndex.java:652) at com.sun.tools.javac.zip.ZipFileIndex.checkIndex(ZipFileIndex.java:261 ) at com.sun.tools.javac.zip.ZipFileIndex.<init>(ZipFileIndex.java:209) at com.sun.tools.javac.zip.ZipFileIndex.getZipFileIndex(ZipFileIndex.jav a:115) at com.sun.tools.javac.util.DefaultFileManager.openArchive(DefaultFileMa nager.java:636) at com.sun.tools.javac.util.DefaultFileManager.listDirectory(DefaultFile Manager.java:325) at com.sun.tools.javac.util.DefaultFileManager.list(DefaultFileManager.j ava:872) at com.sun.tools.javac.jvm.ClassReader.fillIn(ClassReader.java:2130) at com.sun.tools.javac.jvm.ClassReader.complete(ClassReader.java:1781) at com.sun.tools.javac.code.Symbol.complete(Symbol.java:386) at com.sun.tools.javac.comp.Enter.visitTopLevel(Enter.java:272) at com.sun.tools.javac.tree.JCTree$JCCompilationUnit.accept(JCTree.java: 446) at com.sun.tools.javac.comp.Enter.classEnter(Enter.java:236) at com.sun.tools.javac.comp.Enter.classEnter(Enter.java:250) at com.sun.tools.javac.comp.Enter.complete(Enter.java:444) at com.sun.tools.javac.comp.Enter.main(Enter.java:429) at com.sun.tools.javac.main.JavaCompiler.enterTrees(JavaCompiler.java:81 9) at com.sun.tools.javac.main.JavaCompiler.compile(JavaCompiler.java:727) at com.sun.tools.javac.main.Main.compile(Main.java:353) at com.sun.tools.javac.main.Main.compile(Main.java:279) at com.sun.tools.javac.main.Main.compile(Main.java:270) at com.sun.tools.javac.Main.compile(Main.java:87) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl. java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces sorImpl.java:25) [INFO] ------------------------------------------------------------------------ [INFO] For more information, run Maven with the -e switch [INFO] ------------------------------------------------------------------------ [INFO] Total time: 1 minute 38 seconds [INFO] Finished at: Tue Dec 01 09:39:04 EST 2009 [INFO] Final Memory: 80M/81M [INFO] ------------------------------------------------------------------------ [2] ---------------------------- <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN"> <html><head> <title>301 Moved Permanently</title> </head><body> <h1>Moved Permanently</h1> <p>The document has moved <a href="http://download.java.net/maven/1/com.ibm.icu/poms/icu4j-3.4.1.pom">here</a>.</p> <hr> <address>Apache Server at maven-repository.dev.java.net Port 443</address> </body></html> -----Original Message----- From: Chintana Wilamuna [mailto:chinta...@gmail.com] Sent: Thursday, November 26, 2009 1:50 AM To: stonehenge-dev@incubator.apache.org Subject: Configuring .Net client to talk to WSAS business services Hi, For the moment I'm sending this to the list rather than editing the wiki until we solve some minor issues. Pretty much the same content in a previous mail, just with a title to make it stand out. 1) Open SQL Management Studio 2) Connect to your StockTraderDB database 3) Open up ClientToBs table and make sure DOTNET_CLIENT is using DOTNET_BS 4) Open up Service table and change the URL of DOTNET_BS to http://localhost:9763/services/TradeServiceWsas 5) Open Web.config in <stocktrader>\dotnet\trader_client\Trade and add requireSignatureConfirmation="false" to line 99. After the change the line should look like the following, messageSecurityVersion="WSSecurity11WSTrust13WSSecureConversation13WSSecurityPolicy12BasicSecurityProfile10" requireSignatureConfirmation="false"> 6) Build WSAS trunk according to - http://cwiki.apache.org/STONEHENGE/stonehenge-php-and-wsas-stocktrader-installation-guide.html#StonehengePHPandWSASStocktraderInstallationGuide-wsas 7) Start WSAS by running <WSAS dir>/bin/wso2server.bat 8) Start .Net services by running RunServices.bat 9) Login to .Net trader client by going to http://localhost/trade and tryout the various operations Please do holler if something doesn't work. Bye, -Chintana -- http://engwar.com/