Hi, "koba" wrote : What I do: | | 1. Install clear jboss-4.0.3SP1 | 2. Checkout today version of portal from cvs. | 3. Set JBOSS_HOME | 4. Use command 'set ANT_OPTS=-Xmx500M' | 5. Use command 'ant deploy' in /build dir -> got BUILD SUCCESSFUL | 6. Copy portal-hsqldb-ds.xml from '.../core/output/resources/setup' to '.../server/default/deploy' | 7. Start jboss and have this error in console: |
Just checked out the sources and run successfully on JBoss AS 4.0.3SP1 without any troubles. Here's what I did: 1. Installed JBAS 4.0.3SP1 (binary distro) 2. Copied server/default to server/portal to be able to wipe it out easily and not clattering the default directory 3. export ANT_OPTS=-Xmx640m (it was the tricky part on Cygwin when I followed your instructions ;)) 4. ant -Dportal.deploy.dir=portal -f build/build.xml clean deploy 5. Deployed portal-hsqldb-ds.xml (copied it to server/portal/deploy dir) | <?xml version="1.0" encoding="UTF-8"?> | <datasources> | <local-tx-datasource> | <jndi-name>PortalDS</jndi-name> | <connection-url>jdbc:hsqldb:${jboss.server.data.dir}${/}portal${/}hypersonic${/}database</connection-url> | <driver-class>org.hsqldb.jdbcDriver</driver-class> | <user-name>sa</user-name> | <password>[CDATA[]]</password> | </local-tx-datasource> | </datasources> | 6. ~/c/apps/jboss/bin/run.sh -c portal I work with Java 5 on Cygwin (MS Windows XP). With a minor exception about missing /images/bookmark.gif, it worked with no visible issues. Where should I put it as a reference for others - JBP Wiki? Jacek View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3904860#3904860 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3904860 ------------------------------------------------------- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php _______________________________________________ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user