being getting round to try SEAM - started just getting EJB 3 up and running with basic session bean and persistence test.
now moved onto try seam. unpacked the seam 2.0 beta and ran seam setup and answered the questions it prompts you for. heres the generated properties file - i told it to use my sql as the datasore. | #Sat Sep 08 12:34:21 BST 2007 | hibernate.connection.password=seam | workspace.home=C\:/Documents and Settings/Will/callisto eclipse workspace | model.package=com.seam | hibernate.default_catalog=seam | driver.jar=lib/mysql-connector-java-5.0.7-bin.jar | action.package=com.seam | test.package=com.seam.test | database.type=mysql | database.drop=n | hibernate.default_schema.null= | project.name=seamtest | hibernate.connection.username=seam | hibernate.connection.driver_class=com.mysql.jdbc.Driver | hibernate.cache.provider_class=org.hibernate.cache.HashtableCacheProvider | project.type=ear | database.exists=n | jboss.home=E\:/jboss/jboss-4.2.0.GA | hibernate.dialect=org.hibernate.dialect.MySQLDialect | hibernate.connection.url=jdbc\:mysql\://localhost\:3306/seam | Then i ran 'seam new-project' task, and went into eclipse and created the general java project and picked up the generated files. so far so good. I opened the build.xml file in eclipse - and try running the deploy target. it all seems okay till the end when i get the error anonymous wrote : | Buildfile: C:\Documents and Settings\Will\callisto eclipse workspace\seamtest\build.xml | init: | compile: | copyclasses: | jar: | [copy] Copying 1 file to C:\Documents and Settings\Will\callisto eclipse workspace\seamtest\exploded-archives\seamtest.jar\META-INF | [copy] Copying 1 file to C:\Documents and Settings\Will\callisto eclipse workspace\seamtest\exploded-archives\seamtest.jar | war: | ear: | archive: | [jar] Building jar: C:\Documents and Settings\Will\callisto eclipse workspace\seamtest\dist\seamtest.jar | [jar] Building jar: C:\Documents and Settings\Will\callisto eclipse workspace\seamtest\dist\seamtest.ear | datasource: | deploy: | [copy] Copying 1 file to C:\Applications\jboss-4.2.0.GA\server\default\deploy | | BUILD FAILED | C:\Documents and Settings\Will\callisto eclipse workspace\seamtest\build.xml:223: Failed to copy C:\Documents and Settings\Will\callisto eclipse workspace\seamtest\dist\seamtest.ear to C:\Applications\jboss-4.2.0.GA\server\default\deploy\seamtest.ear due to java.io.FileNotFoundException C:\Applications\jboss-4.2.0.GA\server\default\deploy\seamtest.ear (Access is denied) and I couldn't delete the corrupt C:\Applications\jboss-4.2.0.GA\server\default\deploy\seamtest.ear | | Total time: 1 second | when i look in the dist directory there is no ear file there and the deploy fails. when i login to via the browser - the seamtest pages cannot be accessed. Any one got an idea what i'm doing wrong ? I have run the AS up unside eclsipe and the JMX console is there just fine View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4082341#4082341 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4082341 _______________________________________________ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user